Skip to content

IDataAdapterOptions

Defined in: store/adapters/DataAdapter.ts:12

Interface for the options of the LocalStorageAdapter.

D extends DataSchema = DataSchema

backupAll: boolean

Defined in: store/adapters/DataAdapter.ts:25

Whether to backup all data to local storage.


backupKeys: keyof D[]

Defined in: store/adapters/DataAdapter.ts:29

The keys to backup to local storage.


initial: Partial<D>

Defined in: store/adapters/DataAdapter.ts:13


namespace: string

Defined in: store/adapters/DataAdapter.ts:17

The namespace to use for the keys in the local storage.


overrideWithLocalStorage: boolean

Defined in: store/adapters/DataAdapter.ts:21

Whether to override the data with the data from local stor age.