Documentation / @agentick/gateway / ConfigStore
Interface: ConfigStore
Defined in: gateway/src/config.ts:47
Methods
get()
get<
K>(key):FileConfig[K]
Defined in: gateway/src/config.ts:49
Get a top-level config section
Type Parameters
K
K extends keyof FileConfig
Parameters
key
K
Returns
FileConfig[K]
onChange()
onChange(
handler): () =>void
Defined in: gateway/src/config.ts:58
Subscribe to changes (hot-reload ready, noop initially)
Parameters
handler
(config) => void
Returns
():
void
Returns
void
redacted()
redacted():
Readonly<FileConfig>
Defined in: gateway/src/config.ts:55
Get the config with secret values replaced by "***"
Returns
Readonly<FileConfig>
resolved()
resolved():
Readonly<FileConfig>
Defined in: gateway/src/config.ts:52
Get the fully resolved config snapshot
Returns
Readonly<FileConfig>