Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/sessions / migrations / ExportMigrator

Interface: ExportMigrator ​

Defined in: packages/sessions/src/migrations/index.ts:22

Stable

Migrator entry. Both sides of the version pair are 'MAJOR.MINOR' strings.

Properties ​

PropertyModifierTypeDefined in
description?readonlystringpackages/sessions/src/migrations/index.ts:25
fromVersionreadonlystringpackages/sessions/src/migrations/index.ts:23
toVersionreadonlystringpackages/sessions/src/migrations/index.ts:24

Methods ​

migrate() ​

ts
migrate(records): readonly SessionExportRecord[];

Defined in: packages/sessions/src/migrations/index.ts:26

Parameters ​

ParameterType
recordsreadonly SessionExportParsedRecord[]

Returns ​

readonly SessionExportRecord[]