Interface: Diagnostic
Defined in: src/batteries/dev_tools/types.ts:37
A diagnostic returned by the pipeline.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
column? | number | Optional one-based start column; requires a valid line. | RawDiagnostic.column | src/batteries/dev_tools/types.ts:30 |
endColumn? | number | Optional one-based range end column. | RawDiagnostic.endColumn | src/batteries/dev_tools/types.ts:34 |
endLine? | number | Optional one-based range end line. | RawDiagnostic.endLine | src/batteries/dev_tools/types.ts:32 |
engineId | string | null | Engine id stamped by dispatch; null identifies diagnostics produced by the runtime. | - | src/batteries/dev_tools/types.ts:39 |
line? | number | Optional one-based start line; invalid values are removed during normalization. | RawDiagnostic.line | src/batteries/dev_tools/types.ts:28 |
message | string | Human-readable finding text; it remains useful even when invalid coordinates are removed. | RawDiagnostic.message | src/batteries/dev_tools/types.ts:24 |
outOfScope | boolean | True when the normalized file path is absent from the post-step workspace; always false for null paths. | - | src/batteries/dev_tools/types.ts:41 |
path | string | null | Workspace-relative file path; null identifies a workspace-level diagnostic with no single file. | RawDiagnostic.path | src/batteries/dev_tools/types.ts:20 |
rule? | string | Optional engine rule identifier. | RawDiagnostic.rule | src/batteries/dev_tools/types.ts:26 |
severity | Severity | Diagnostic severity; only error makes a plan unsuccessful. | RawDiagnostic.severity | src/batteries/dev_tools/types.ts:22 |