Skip to main content

Interface: ConfigStore


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:19open in new window


name

name: string

name of store

Defined in

core/ConfigStore/types/ConfigStore.ts:12open in new window


removeConfig

removeConfig: ConfigDeleteFunction

delete a config value

Param

name of config

Throws

UnhandledError

Defined in

core/ConfigStore/types/ConfigStore.ts:34open in new window


setConfig

setConfig: ConfigSetterFunction

set a config value

Param

name of config

Param

value of config

Throws

UnhandledError

Defined in

core/ConfigStore/types/ConfigStore.ts:27open in new window

Methods

destroy

destroy(): Promise<void>

disconnects and shuts down the config store

Returns

Promise<void>

Defined in

core/ConfigStore/types/ConfigStore.ts:39open in new window

Last update:
Contributors: Sebastian Wessel