ParseResult
Defined in: packages/core/src/parser/yaml-parser.ts:364
Result object returned by safeParse operations
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T | RootConfig |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
data? | T | Validated configuration object (only present if success is true) | packages/core/src/parser/yaml-parser.ts:366 |
errors | ParseError[] | Array of errors (only present if success is false) | packages/core/src/parser/yaml-parser.ts:367 |
success | boolean | Whether parsing and validation succeeded | packages/core/src/parser/yaml-parser.ts:365 |
warnings | ValidationWarning[] | Non-fatal findings (unknown keys, deprecations, bounded expression checks). Present on both success and failure; always an array. | packages/core/src/parser/yaml-parser.ts:368 |