Skip to content

IDataAdapterOptions

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

Interface for the options of the LocalStorageAdapter.

Type Parameters

D extends DataSchema = DataSchema

Properties

backupAll

backupAll: boolean

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

Whether to backup all data to local storage.


backupKeys

backupKeys: keyof D[]

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

The keys to backup to local storage.


initial

initial: Partial<D>

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


namespace

namespace: string

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

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


overrideWithLocalStorage

overrideWithLocalStorage: boolean

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

Whether to override the data with the data from local storage.