Skip to content

Interface: ClientStateMigrationState ​

Defined in: fate/src/client-state-migration.ts:10

Methods ​

mapRecords() ​

mapRecords(type, map): void

Defined in: fate/src/client-state-migration.ts:12

Replace saved fields on each record of this type. The record's identity must stay the same.

Parameters ​

type ​

string

map ​

(record, id) => FateRecord

Returns ​

void


renameField() ​

renameField(type, from, to): void

Defined in: fate/src/client-state-migration.ts:14

Rename a stored field, including its list membership and argument variants.

Parameters ​

type ​

string

from ​

string

to ​

string

Returns ​

void

Released under the MIT License