@mocanvas/store · interface

SerializedSchemaV1

interface SerializedSchemaV1

The persisted schema shape used before migration sequences: a version number per record type, and one for the store as a whole.

Read-only as far as mocanvas is concerned. A snapshot carrying one is treated as knowing none of today's sequences, so every retroactive sequence runs from the beginning — which is right, because none of them existed when the file was written.


Properties · 3

recordVersions: Record<string, {
schemaVersion: 1
storeVersion: number

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.