@mocanvas/editor · interface

TLStoreSchemaOptions

interface TLStoreSchemaOptions

The schema half: what record types this store may contain.


Properties · 4

bindingUtils?: readonly PropsMigrationSource[]

Binding utils, for the same reason.

migrations?: MigrationSequence[]

Further migration sequences to register.

records?: Readonly<Record<string, CustomRecordInfo<string>>>

The app's own top-level record types, beyond shapes and bindings.

shapeUtils?: readonly PropsMigrationSource[]

The shape utils the document will be read with; their static migrations join the schema.

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.