@mocanvas/mocanvas · type
type ParseTldrawJsonFileResult = {
ok: true;
value: {
schema: TldrawFile["schema"];
records: TldrawFile["records"];
};
} | {
ok: false;
error: TldrawFileParseError;
}Either the records a file held, or why it could not be read.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.