Skip to content

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.

TConfig

The shape of the configuration object.

readonly config: TConfig

Defined in: packages/core/src/types.ts:44

The current configuration object.


readonly hasBeenHydrated: boolean

Defined in: packages/core/src/types.ts:48

Indicates if the store has been populated with data from the adapter at least once.


readonly isLoadError: boolean

Defined in: packages/core/src/types.ts:62

True if load status is ‘error’.


readonly isLoadInitial: boolean

Defined in: packages/core/src/types.ts:56

True if load status is ‘initial’.


readonly isLoadPending: boolean

Defined in: packages/core/src/types.ts:58

True if load status is ‘pending’.


readonly isLoadSuccess: boolean

Defined in: packages/core/src/types.ts:60

True if load status is ‘success’.


readonly isSaveError: boolean

Defined in: packages/core/src/types.ts:76

True if save status is ‘error’.


readonly isSaveInitial: boolean

Defined in: packages/core/src/types.ts:70

True if save status is ‘initial’.


readonly isSavePending: boolean

Defined in: packages/core/src/types.ts:72

True if save status is ‘pending’.


readonly isSaveSuccess: boolean

Defined in: packages/core/src/types.ts:74

True if save status is ‘success’.


readonly loadError: unknown

Defined in: packages/core/src/types.ts:54

The error object if the load operation failed. null if successful, idle or pending.


readonly loadStatus: ManagerRequestStatus

Defined in: packages/core/src/types.ts:52

The specific status of the load operation.


readonly metadata: ManagerMetadata

Defined in: packages/core/src/types.ts:46

Metadata regarding data versions and schema versions.


readonly saveError: unknown

Defined in: packages/core/src/types.ts:68

The error object if the save operation failed. null if successful, idle or pending.


readonly saveStatus: ManagerRequestStatus

Defined in: packages/core/src/types.ts:66

The specific status of the save operation.