Skip to content

IDataAdapterOptions

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

Interface for the options of the LocalStorageAdapter.

Type Parameters

D extends DataSchema = DataSchema

Properties

backupAll

backupAll: boolean

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

Whether to backup all data to local storage.


backupKeys

backupKeys: keyof D[]

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

The keys to backup to local storage.


initial

initial: Partial<D>

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


namespace

namespace: string

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

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


overrideWithLocalStorage

overrideWithLocalStorage: boolean

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

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