refactor: extract timeline model types

Move project entity shapes into the model layer so sibling domains no longer depend on timeline for core data types.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Maze Winther
2026-05-03 03:49:52 +02:00
co-authored by Cursor
parent 79cc7d2159
commit 6ac2116daa
177 changed files with 661 additions and 676 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { Effect } from "@/effects/types";
import type { Mask } from "@/masks/types";
import type { BlendMode, Transform } from "@/rendering";
import type { BaseTimelineElement } from "./base";
export interface ImageElement extends BaseTimelineElement {
type: "image";
mediaId: string;
hidden?: boolean;
transform: Transform;
opacity: number;
blendMode?: BlendMode;
effects?: Effect[];
masks?: Mask[];
}