@mocanvas/editor · function
declare function toMigrationSequence(target: PropsMigrationTarget, migrations: PropsMigrations): MigrationSequenceTurn a props migration sequence into the record-scoped
MigrationSequence the store applies.
Each step is wrapped so that it only sees records of the right typeName
and type, and only ever touches their props. A record whose props is
missing or not an object is left alone rather than crashing the load: the
validator downstream is the right place for that complaint.
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.