0dc0587bea
This PR adds `getSnapshot` and `loadSnapshot` to the `Store`, sanding down a rough corner that existed when persisting and loading data. Avoids learning about stores vs schemas vs migrations until a little later. ### Change Type - [x] `minor` — New Feature ### Test Plan - [x] Unit Tests ### Release Notes - [tlstore] adds `getSnapshot` and `loadSnapshot`
13 lines
381 B
JSON
13 lines
381 B
JSON
{
|
|
"extends": "../../config/tsconfig.base.json",
|
|
"include": ["src", "e2e", "./vite.config.ts"],
|
|
"exclude": ["node_modules", "dist", "**/*.css", ".tsbuild*", "./scripts/legacy-translations"],
|
|
"compilerOptions": {
|
|
"outDir": "./.tsbuild"
|
|
},
|
|
"references": [
|
|
{ "path": "../../packages/tldraw" },
|
|
{ "path": "../../packages/utils" },
|
|
{ "path": "../../packages/assets" }
|
|
]
|
|
}
|