本文へ移動

@eightkk/vue-weave / core / ParseWeaveSnapshotOptions

Interface: ParseWeaveSnapshotOptions ​

Defined in: src/core/snapshot.ts:316

Properties ​

migrations? ​

optional migrations?: Readonly<Record<number, SnapshotMigration>>

Defined in: src/core/snapshot.ts:322

Migrations by the schema version they start from. The parser applies them one after another until the document reaches the current version (1). There is no global registry; pass what your application needs. Without a migration for a document's version, parsing fails.

MIT ライセンスで公開しています。