ManagerState
Defined in: packages/core/src/types.ts:42
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:44
The current configuration object.
hasBeenHydrated
Section titled “hasBeenHydrated”
readonlyhasBeenHydrated:boolean
Defined in: packages/core/src/types.ts:48
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:62
True if load status is ‘error’.
isLoadInitial
Section titled “isLoadInitial”
readonlyisLoadInitial:boolean
Defined in: packages/core/src/types.ts:56
True if load status is ‘initial’.
isLoadPending
Section titled “isLoadPending”
readonlyisLoadPending:boolean
Defined in: packages/core/src/types.ts:58
True if load status is ‘pending’.
isLoadSuccess
Section titled “isLoadSuccess”
readonlyisLoadSuccess:boolean
Defined in: packages/core/src/types.ts:60
True if load status is ‘success’.
isSaveError
Section titled “isSaveError”
readonlyisSaveError:boolean
Defined in: packages/core/src/types.ts:76
True if save status is ‘error’.
isSaveInitial
Section titled “isSaveInitial”
readonlyisSaveInitial:boolean
Defined in: packages/core/src/types.ts:70
True if save status is ‘initial’.
isSavePending
Section titled “isSavePending”
readonlyisSavePending:boolean
Defined in: packages/core/src/types.ts:72
True if save status is ‘pending’.
isSaveSuccess
Section titled “isSaveSuccess”
readonlyisSaveSuccess:boolean
Defined in: packages/core/src/types.ts:74
True if save status is ‘success’.
loadError
Section titled “loadError”
readonlyloadError:unknown
Defined in: packages/core/src/types.ts:54
The error object if the load operation failed. null if successful, idle or pending.
loadStatus
Section titled “loadStatus”
readonlyloadStatus:ManagerRequestStatus
Defined in: packages/core/src/types.ts:52
The specific status of the load operation.
metadata
Section titled “metadata”
readonlymetadata:ManagerMetadata
Defined in: packages/core/src/types.ts:46
Metadata regarding data versions and schema versions.
saveError
Section titled “saveError”
readonlysaveError:unknown
Defined in: packages/core/src/types.ts:68
The error object if the save operation failed. null if successful, idle or pending.
saveStatus
Section titled “saveStatus”
readonlysaveStatus:ManagerRequestStatus
Defined in: packages/core/src/types.ts:66
The specific status of the save operation.