Skip to content

RawConfigValidationResult

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/schema.d.ts:3108

Schema-owned types that a consumer of this barrel would otherwise be unable to NAME: each one is the declared type of something already reachable here, so leaving it out lets a caller assign a value it cannot type.

These stay declared in config/schema.ts on purpose: config/types.ts importing the rung from the Zod schema is what keeps the type and the validator a single source of truth rather than a hand-written twin. The re-export is type-only, so it erases at emit and adds no runtime edge.

The schema’s runtime surface — rawGthConfigSchema, generateConfigJsonSchema, validateRawGthConfig, the deprecation scanners, KNOWN_TOP_LEVEL_KEYS — is deliberately NOT re-exported: it is validator internals, reachable at your own risk via the @gaunt-sloth/core/config/schema.js deep path.

optional errorMessage?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/schema.d.ts:3114

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


ok: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/schema.d.ts:3110

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


warnings: string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/schema.d.ts:3112

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