Skip to content

Graphorin API reference v0.1.0


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

Interface: ExportMigrator

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

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

Stable

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[]