diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-09-01 16:17:06 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-09-01 16:17:06 +0200 |
| commit | 350b55081cde3a4332c982ea5c53b7d359029f6b (patch) | |
| tree | f63b66635d2a13a0a43c622a9bea25d9b9822960 /apps/web/src/types | |
| parent | 2b700b7474ffc728f5318c178244e035c93716b5 (diff) | |
| download | opencut-350b55081cde3a4332c982ea5c53b7d359029f6b.tar.gz | |
refactor(core): switch to scene-based architecture
Diffstat (limited to 'apps/web/src/types')
| -rw-r--r-- | apps/web/src/types/project.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/web/src/types/project.ts b/apps/web/src/types/project.ts index 66de858a..f182653d 100644 --- a/apps/web/src/types/project.ts +++ b/apps/web/src/types/project.ts @@ -2,12 +2,22 @@ import { CanvasSize } from "./editor"; export type BlurIntensity = 4 | 8 | 18; +export interface Scene { + id: string; + name: string; + isMain: boolean; + createdAt: Date; + updatedAt: Date; +} + export interface TProject { id: string; name: string; thumbnail: string; createdAt: Date; updatedAt: Date; + scenes: Scene[]; + currentSceneId: string; mediaItems?: string[]; backgroundColor?: string; backgroundType?: "color" | "blur"; |
