IDataAdapterOptions
Defined in: store/adapters/DataAdapter.ts:12
Interface for the options of the LocalStorageAdapter.
Type Parameters
Section titled “Type Parameters”D
extends DataSchema
= DataSchema
Properties
Section titled “Properties”backupAll
Section titled “backupAll”backupAll:
boolean
Defined in: store/adapters/DataAdapter.ts:25
Whether to backup all data to local storage.
backupKeys
Section titled “backupKeys”backupKeys: keyof
D
[]
Defined in: store/adapters/DataAdapter.ts:29
The keys to backup to local storage.
initial
Section titled “initial”initial:
Partial
<D
>
Defined in: store/adapters/DataAdapter.ts:13
namespace
Section titled “namespace”namespace:
string
Defined in: store/adapters/DataAdapter.ts:17
The namespace to use for the keys in the local storage.
overrideWithLocalStorage
Section titled “overrideWithLocalStorage”overrideWithLocalStorage:
boolean
Defined in: store/adapters/DataAdapter.ts:21
Whether to override the data with the data from local stor age.