Skip to content

PluginDataHandlerConstructorOptions.recoveryStore?

PluginDataHandlerConstructorOptions › recoveryStore?

Type: null | SettingsRecoveryStore

Where recovery copies of data.json are kept. Defaults to a device-local LocalSettingsRecoveryStore for the plugin. Pass null to keep none: an unparseable file is then still reported and never overwritten, so a settings component built on this handler fails its load rather than run on defaults, and a first save that drops or changes a stored value is written with no copy kept, as before recovery copies existed.