Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/sessions / migrations / migrateExport
Function: migrateExport()
ts
function migrateExport(
records,
fromVersion,
toVersion): readonly SessionExportRecord[];Defined in: packages/sessions/src/migrations/index.ts:60
Walk the registered migrators to advance records from fromVersion to toVersion. Throws when no chain exists.
Parameters
| Parameter | Type |
|---|---|
records | readonly SessionExportParsedRecord[] |
fromVersion | string |
toVersion | string |
Returns
readonly SessionExportRecord[]