@mocanvas/store · interface

StoreMigration

interface StoreMigration

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 4

readonly down?: ((store: SerializedStore<UnknownRecord>) => void | SerializedStore<UnknownRecord>) | undefined
readonly id: MigrationId
readonly scope: "store"
readonly up: (store: SerializedStore<UnknownRecord>) => void | SerializedStore<UnknownRecord>

Mutate the store in place, or return a replacement.

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.