@mocanvas/editor · interface

PropsMigrations

interface PropsMigrations

A shape's or binding's props migrations, in version order. This is what static migrations on a util holds.


Properties · 2

readonly retroactive?: boolean | undefined

Whether data saved before this sequence existed should have every migration applied to it (true, the default) or be assumed up to date. Backfilling a prop onto boards saved before the prop existed is the whole point, so the default is what you want.

readonly sequence: readonly PropsMigration[]

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.