| 9 | // ─── Types ──────────────────────────────────────────────────────────────────── |
| 10 | |
| 11 | export interface WorkflowRunState { |
| 12 | status: 'idle' | 'running' | 'paused' | 'done' | 'error' |
| 13 | blockIndex: number |
| 14 | blockTotal: number |
| 15 | blockProgress: number |
| 16 | blockStep: string |
| 17 | outputUrl?: string |
| 18 | outputPath?: string |
| 19 | error?: string |
| 20 | } |
| 21 | |
| 22 | export type WaitState = 'blocked' | 'pending' | 'running' | 'done' | 'error' |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected