forked from 77media/video-flow
26 lines
488 B
TypeScript
26 lines
488 B
TypeScript
export interface ScriptBlock {
|
|
id: string;
|
|
title: string;
|
|
content: ScriptContent[];
|
|
type: 'core' | 'scene' | 'summary';
|
|
sceneNumber?: number;
|
|
}
|
|
|
|
export interface ScriptContent {
|
|
type: 'paragraph' | 'bold' | 'italic' | 'heading';
|
|
text: string;
|
|
}
|
|
|
|
export interface ScriptData {
|
|
blocks: ScriptBlock[];
|
|
translation?: {
|
|
language: string;
|
|
content: string;
|
|
};
|
|
}
|
|
|
|
export interface NavigationItem {
|
|
id: string;
|
|
title: string;
|
|
type: 'core' | 'scene' | 'summary';
|
|
} |