Skip to main content

Interface: IStorageOptions

Hierarchy​

  • Partial<PersistConfig<any>>

    ↳ IStorageOptions

Properties​

blacklist​

• Optional blacklist: string[]

Inherited from​

Partial.blacklist

Defined in​

node_modules/redux-persist/types/types.d.ts:34


debug​

• Optional debug: boolean

Inherited from​

Partial.debug

Defined in​

node_modules/redux-persist/types/types.d.ts:44


getStoredState​

• Optional getStoredState: (config: PersistConfig<any, any, any, any>) => Promise<PersistedState>

Type declaration​

▸ (config): Promise<PersistedState>

Desc

Used for migrations.

Parameters​
NameType
configPersistConfig<any, any, any, any>
Returns​

Promise<PersistedState>

Inherited from​

Partial.getStoredState

Defined in​

node_modules/redux-persist/types/types.d.ts:43


key​

• Optional key: string

Inherited from​

Partial.key

Defined in​

node_modules/redux-persist/types/types.d.ts:29


keyPrefix​

• Optional keyPrefix: string

Deprecated

keyPrefix is going to be removed in v6.

Inherited from​

Partial.keyPrefix

Defined in​

node_modules/redux-persist/types/types.d.ts:33


loading​

• Optional loading: ReactNode

define storage loading UI

Defined in​

packages/reactant-storage/src/storage.tsx:45


migrate​

• Optional migrate: PersistMigrate

Inherited from​

Partial.migrate

Defined in​

node_modules/redux-persist/types/types.d.ts:38


serialize​

• Optional serialize: boolean

Inherited from​

Partial.serialize

Defined in​

node_modules/redux-persist/types/types.d.ts:45


stateReconciler​

• Optional stateReconciler: false | StateReconciler<any>

Inherited from​

Partial.stateReconciler

Defined in​

node_modules/redux-persist/types/types.d.ts:39


storage​

• storage: Storage

define storage container

Overrides​

Partial.storage

Defined in​

packages/reactant-storage/src/storage.tsx:41


throttle​

• Optional throttle: number

Inherited from​

Partial.throttle

Defined in​

node_modules/redux-persist/types/types.d.ts:37


timeout​

• Optional timeout: number

Inherited from​

Partial.timeout

Defined in​

node_modules/redux-persist/types/types.d.ts:46


transforms​

• Optional transforms: Transform<any, any, any, any>[]

Inherited from​

Partial.transforms

Defined in​

node_modules/redux-persist/types/types.d.ts:36


version​

• Optional version: number

Inherited from​

Partial.version

Defined in​

node_modules/redux-persist/types/types.d.ts:27


whitelist​

• Optional whitelist: string[]

Inherited from​

Partial.whitelist

Defined in​

node_modules/redux-persist/types/types.d.ts:35


writeFailHandler​

• Optional writeFailHandler: (err: Error) => void

Type declaration​

▸ (err): void

Parameters​
NameType
errError
Returns​

void

Inherited from​

Partial.writeFailHandler

Defined in​

node_modules/redux-persist/types/types.d.ts:47