Files
paseo/packages/app/src/utils/status-loader.ts
T

8 lines
253 B
TypeScript

export type StatusLoaderBucket = "needs_input" | "failed" | "running" | "attention" | "done";
export function shouldRenderSyncedStatusLoader(input: {
bucket: StatusLoaderBucket | null | undefined;
}): boolean {
return input.bucket === "running";
}