init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
export type ScenePayload = {
|
||||
elements: unknown[];
|
||||
appState: Record<string, unknown>;
|
||||
files: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export type DrawingMeta = {
|
||||
id: string;
|
||||
title: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type DrawingRecord = DrawingMeta & {
|
||||
scene: ScenePayload;
|
||||
};
|
||||
|
||||
export const DEFAULT_TITLE = "Untitled";
|
||||
Reference in New Issue
Block a user