@mocanvas/store · interface
interface RecordMigrationThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 5
readonly down?: ((record: UnknownRecord) => void | UnknownRecord) | undefinedreadonly filter?: ((record: UnknownRecord) => boolean) | undefinedOnly records for which this returns true are migrated. Defaults to all records.
readonly id: MigrationIdreadonly scope: "record"readonly up: (record: UnknownRecord) => void | UnknownRecordMutate the record 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.