Skip to content

oracular / DeserializeOptions

Interface: DeserializeOptions ​

Defined in: types.ts:369

Options for deserialize.

Example ​

ts
deserialize(saved, { config: currentConfig, migrate });

Properties ​

PropertyTypeDescriptionDefined in
config?EngineConfigThe app's current config. Validated, swapped in, and used to prune signals and intents no longer declared.types.ts:371
migrate?MigrateCalled 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

Released under the MIT License.