Skip to content

ConfigLayerValidationReport

Defined in: core/dist/config/loader.d.ts:165

One config LAYER’s validation outcome inside a ConfigValidationReport: the pure read-side result (validateRawGthConfig) plus the source label so a consumer can name WHICH file carried a warning/error (the project path, or "<name> (global)").

optional errorMessage?: string

Defined in: core/dist/config/schema.d.ts:2986

Present only when ok is false: the path-scoped, multi-line validation message.

RawConfigValidationResult.errorMessage


ok: boolean

Defined in: core/dist/config/schema.d.ts:2982

True when the config parses against the schema (unknown keys do NOT make it false).

RawConfigValidationResult.ok


sourceLabel: string

Defined in: core/dist/config/loader.d.ts:167

The resolved config path (project layer) or "<name> (global)" (global layer).


warnings: string[]

Defined in: core/dist/config/schema.d.ts:2984

Non-fatal advisories: unknown top-level keys (likely typos). Deprecated shapes are hard errors, not warnings.

RawConfigValidationResult.warnings