refactor: extract decoration model types

Move animation, effect, mask, and param value shapes into model decorations so element data no longer depends on decoration domains.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Maze Winther
2026-05-03 03:58:21 +02:00
co-authored by Cursor
parent 6ac2116daa
commit ab982b888e
102 changed files with 633 additions and 659 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import type { Effect } from "@/effects/types";
import type { Mask } from "@/masks/types";
import type { Effect } from "@/model/decorations/effect";
import type { Mask } from "@/model/decorations/mask";
import type { BlendMode, Transform } from "@/rendering";
import type { BaseTimelineElement } from "./base";