import type { SceneType } from '@/lib/types/stage'; /** * The narration timeline (ActionsBar) is decoupled from the canvas editor * surface. It applies wherever a spoken script makes sense: scene types with a * registered editor surface (slide/quiz), PLUS view-only-canvas scenes that * still carry narration (interactive/pbl). */ const NARRATION_ONLY_TYPES: ReadonlySet = new Set(['interactive', 'pbl']); export function supportsNarrationTimeline( sceneType: SceneType, hasRegisteredSurface: boolean, ): boolean { return hasRegisteredSurface || NARRATION_ONLY_TYPES.has(sceneType); }