Skip to content

@burnmark-io/designer-core


@burnmark-io/designer-core / migrateDocument

Function: migrateDocument() ​

migrateDocument(input): LabelDocument

Defined in: packages/core/src/migration.ts:32

Apply migrations sequentially until doc.version === CURRENT_DOCUMENT_VERSION. Throws DocumentMigrationError if the document's version is newer than the current runtime or if an intermediate migration is missing.

Parameters ​

input ​

unknown

Returns ​

LabelDocument

Not affiliated with Dymo, Brother, Avery, or any hardware vendor.