Skip to main content

Interface: LoadedConfig<T>

Defined in: packages/config/src/load.ts:67

A loaded, validated, frozen configuration.

Type Parameters​

T​

T

Properties​

environment​

readonly environment: "staging" | "development" | "ci" | "integration" | "production"

Defined in: packages/config/src/load.ts:71

The environment class this process was told it is in.


values​

readonly values: Resolved<T>

Defined in: packages/config/src/load.ts:69

The configuration, with every secret reference resolved to a Secret.

Methods​

describe()​

describe(): unknown

Defined in: packages/config/src/load.ts:77

The resolved configuration as plain JSON, safe to log or serve from a diagnostics endpoint: a secret appears as [redacted] plus the reference it came from, and no value is ever present.

Returns​

unknown