| 1 | export type GenerationRunStatus = 'queued' | 'running' | 'completed' | 'failed' | 'cancelled' |
| 2 | |
| 3 | export type GenerationPageStatus = 'pending' | 'generating' | 'completed' | 'failed' |
| 4 | |
| 5 | export type GenerationPreviewPage = { |
| 6 | id: string |
| 7 | pageNumber: number |
| 8 | title: string |
| 9 | htmlPath?: string |
| 10 | pageId?: string |
| 11 | sourceUrl?: string |
| 12 | status: GenerationPageStatus |
| 13 | previewVersion?: number |
| 14 | } |
| 15 | |
| 16 | export type GenerationLogEvent = { |
| 17 | text: string |
| 18 | time?: string |
| 19 | } |
| 20 | |
| 21 | export type GenerationStageKey = 'preflight' | 'planning' | 'rendering' | 'validation' |
| 22 |