export interface ChapterOutcome { label: string value: string } export interface Chapter { name: string status: 'active' | 'finished' uptime: string /** Active chapters: how often the workload recovered on its own. */ rebounds?: number /** Finished chapters: what closed the chapter and when. */ outcome?: ChapterOutcome } // Mockup data. Replaced by GET /api/chapters once the gateway exists. export const chapters: Chapter[] = [ { name: 'prezero', status: 'active', uptime: '99.98%', rebounds: 14 }, { name: 'dreambit', status: 'active', uptime: '99.95%', rebounds: 8 }, { name: 'ongoing-studies', status: 'active', uptime: '99.91%', rebounds: 5 }, { name: '42-school', status: 'finished', uptime: '100.0%', outcome: { label: 'graduated', value: '2023' } }, { name: 'apprenticeship', status: 'finished', uptime: '100.0%', outcome: { label: 'certified', value: '2021' } }, ]