ManagerState
Defined in: packages/core/src/types.ts:20
The internal state of the ConfigManager, exposed via a Zustand store. This interface contains the stored config, metadata, and granular loading/saving status flags.
Type Parameters
Section titled “Type Parameters”TConfig
Section titled “TConfig”TConfig
The shape of the configuration object.
Properties
Section titled “Properties”config
Section titled “config”
readonlyconfig:TConfig
Defined in: packages/core/src/types.ts:22
The current configuration object.
hasBeenHydrated
Section titled “hasBeenHydrated”
readonlyhasBeenHydrated:boolean
Defined in: packages/core/src/types.ts:26
Indicates if the store has been populated with data from the adapter at least once.
isLoadError
Section titled “isLoadError”
readonlyisLoadError:boolean
Defined in: packages/core/src/types.ts:40
True if load status is ‘error’.
isLoadInitial
Section titled “isLoadInitial”
readonlyisLoadInitial:boolean
Defined in: packages/core/src/types.ts:34
True if load status is ‘initial’.
isLoadPending
Section titled “isLoadPending”
readonlyisLoadPending:boolean
Defined in: packages/core/src/types.ts:36
True if load status is ‘pending’.
isLoadSuccess
Section titled “isLoadSuccess”
readonlyisLoadSuccess:boolean
Defined in: packages/core/src/types.ts:38
True if load status is ‘success’.
isSaveError
Section titled “isSaveError”
readonlyisSaveError:boolean
Defined in: packages/core/src/types.ts:54
True if save status is ‘error’.
isSaveInitial
Section titled “isSaveInitial”
readonlyisSaveInitial:boolean
Defined in: packages/core/src/types.ts:48
True if save status is ‘initial’.
isSavePending
Section titled “isSavePending”
readonlyisSavePending:boolean
Defined in: packages/core/src/types.ts:50
True if save status is ‘pending’.
isSaveSuccess
Section titled “isSaveSuccess”
readonlyisSaveSuccess:boolean
Defined in: packages/core/src/types.ts:52
True if save status is ‘success’.
loadError
Section titled “loadError”
readonlyloadError:unknown
Defined in: packages/core/src/types.ts:32
The error object if the load operation failed. null if successful, idle or pending.
loadStatus
Section titled “loadStatus”
readonlyloadStatus:ManagerStatus
Defined in: packages/core/src/types.ts:30
The specific status of the load operation.
metadata
Section titled “metadata”
readonlymetadata:ManagerMetadata
Defined in: packages/core/src/types.ts:24
Metadata regarding data versions and schema versions.
saveError
Section titled “saveError”
readonlysaveError:unknown
Defined in: packages/core/src/types.ts:46
The error object if the save operation failed. null if successful, idle or pending.
saveStatus
Section titled “saveStatus”
readonlysaveStatus:ManagerStatus
Defined in: packages/core/src/types.ts:44
The specific status of the save operation.