// pg-boss queue names. One queue per concern; the generation queue triggers the // pipeline orchestrator for a course. export const QUEUES = { hello: 'hello', generateCourse: 'course-generation', renderCourse: 'course-render', } as const; export type QueueName = (typeof QUEUES)[keyof typeof QUEUES]; // Pacing for the ~1-minute video constraint. Used to budget narration scripts // and validate rendered durations. export const WORDS_PER_MINUTE = 150; export const TARGET_SEGMENT_SECONDS = 60; export const MAX_SEGMENT_SECONDS = 75;