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
| Property | Modifier | Type | Defined in |
|---|---|---|---|
description? | readonly | string | packages/sessions/src/migrations/index.ts:25 |
fromVersion | readonly | string | packages/sessions/src/migrations/index.ts:23 |
toVersion | readonly | string | packages/sessions/src/migrations/index.ts:24 |
Methods
migrate()
ts
migrate(records): readonly SessionExportRecord[];Defined in: packages/sessions/src/migrations/index.ts:26
Parameters
| Parameter | Type |
|---|---|
records | readonly SessionExportParsedRecord[] |
Returns
readonly SessionExportRecord[]