Headers type
Params type
State type
Headers type
Params type
State type
Get a deep clone of all options or a specific nested value.
Returns a cloned copy to prevent external mutations. All return types are properly inferred from EngineConfig.
Set options by path-value or by partial object merge.
Emits 'options-change' event after successful update. All values are type-checked against EngineConfig.
Set options by path-value or by partial object merge.
Emits 'options-change' event after successful update. All values are type-checked against EngineConfig.
Set options by path-value or by partial object merge.
Emits 'options-change' event after successful update. All values are type-checked against EngineConfig.
Manages configuration options for FetchEngine with deep path access.
Provides a clean API for getting and setting nested configuration values with type-safe paths and automatic event emission on mutations. ConfigStore is the single source of truth for ALL configuration.
The store is fully typed with EngineConfig, ensuring:
get('baseUrl')returnsstringget('retry.maxAttempts')returnsnumberget('dedupePolicy')returns the correct policy typeset('timeout', value)validates value is a numberExample