PURISTA API / Modules / @purista/core / ConfigStore
Interface: ConfigStore
@purista/core.ConfigStore
Interface definition for config store adapters
Implemented by
Table of contents
Properties
Methods
Properties
getConfig
• getConfig: ConfigGetterFunction
get a config value
Param
name of config
Throws
UnhandledError
Defined in
core/ConfigStore/types/ConfigStore.ts:19
name
• name: string
name of store
Defined in
core/ConfigStore/types/ConfigStore.ts:12
removeConfig
• removeConfig: ConfigDeleteFunction
delete a config value
Param
name of config
Throws
UnhandledError
Defined in
core/ConfigStore/types/ConfigStore.ts:34
setConfig
• setConfig: ConfigSetterFunction
set a config value
Param
name of config
Param
value of config
Throws
UnhandledError
Defined in
core/ConfigStore/types/ConfigStore.ts:27
Methods
destroy
▸ destroy(): Promise
<void
>
disconnects and shuts down the config store
Returns
Promise
<void
>