Skip to main content

Interface: DeltaApplicationResult

Defined in: packages/core/src/application/ports/artifact-parser.ts:29

Result of applying a delta, containing the modified AST and any warnings produced during semantic validation.

Callers MUST check warnings for ambiguity warnings on hybrid node types (e.g. a JSON property that accepts both content and value).

Properties

ast

readonly ast: ArtifactAST

Defined in: packages/core/src/application/ports/artifact-parser.ts:31

The AST after all delta operations have been applied.


warnings

readonly warnings: readonly string[]

Defined in: packages/core/src/application/ports/artifact-parser.ts:37

Semantic validation warnings. Non-fatal messages about ambiguous operations on hybrid nodes (e.g. "this node accepts both content and value — verify you chose the correct one"). Empty when no issues detected.