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/document.ts Normal file
View File

@@ -0,0 +1,11 @@
import type { Artboard } from "./artboard";
import type { Asset } from "./asset";
import type { DocumentId } from "./id";
export type ImageDocument = {
id: DocumentId;
name: string;
version: number;
artboards: Artboard[];
assets: Asset[];
};