@mocanvas/store · interface

LegacyMigration

interface LegacyMigration<Before = any, After = any>

One numbered step of a LegacyMigrations table.


Properties · 2

down: (newState: After) => Before
up: (oldState: Before) => After

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.