oracular / DeserializeOptions
Interface: DeserializeOptions
Defined in: types.ts:369
Options for deserialize.
Example
ts
deserialize(saved, { config: currentConfig, migrate });Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
config? | EngineConfig | The app's current config. Validated, swapped in, and used to prune signals and intents no longer declared. | types.ts:371 |
migrate? | Migrate | Called when the stored version is neither STATE_VERSION, nor one this library migrates itself (states from oracular 0.1.0 to 0.5.x are upgraded without it), nor the next version, which it reads as its own. | types.ts:377 |