feat: add core domain model foundations

This commit is contained in:
syntaxbullet
2026-07-02 23:11:14 +02:00
parent 5f767a6688
commit 02df52c978
14 changed files with 133 additions and 1 deletions

11
core/artboard.ts Normal file
View File

@@ -0,0 +1,11 @@
import type { Rect } from "./geometry";
import type { ArtboardId } from "./id";
import type { Layer } from "./layer";
export type Artboard = {
id: ArtboardId;
name: string;
bounds: Rect;
backgroundColor: string;
layers: Layer[];
};