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

13 lines
265 B
TypeScript

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