Skip to content

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

ParameterType
recordsreadonly SessionExportParsedRecord[]
fromVersionstring
toVersionstring

Returns

readonly SessionExportRecord[]

Stable