diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-09-03 00:02:07 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-09-03 00:02:07 +0200 |
| commit | 60debe2ce52a73dc554a0daa0a127fc836ca123a (patch) | |
| tree | 9c334f5de4211d0bb7893929ea63c86280679705 /apps/web/src/types | |
| parent | 37d40148087fc7c3497fba31e82bc7c7496bde8d (diff) | |
| parent | 167e2b83dc072f5d80ab0bf0d3f786a993248c70 (diff) | |
| download | opencut-60debe2ce52a73dc554a0daa0a127fc836ca123a.tar.gz | |
Merge branch 'staging'
Diffstat (limited to 'apps/web/src/types')
| -rw-r--r-- | apps/web/src/types/project.ts | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/web/src/types/project.ts b/apps/web/src/types/project.ts index bf510942..f182653d 100644 --- a/apps/web/src/types/project.ts +++ b/apps/web/src/types/project.ts @@ -1,15 +1,27 @@ 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"; - blurIntensity?: number; // in pixels (4, 8, 18) + blurIntensity?: BlurIntensity; fps?: number; bookmarks?: number[]; canvasSize: CanvasSize; |
