@mocanvas/editor · function

createCustomRecordMigrationSequences

declare function createCustomRecordMigrationSequences(records: Readonly<Record<string, CustomRecordInfo<string>>> | undefined): MigrationSequence[]

The migration sequences for a set of custom record declarations.

A declaration with no migrations contributes nothing; one whose migrations is already a full store MigrationSequence is passed through, so a record type that needs to migrate more than its own props still can.

Mentioned here

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.