Skip to main content

Interface: ArtifactNode

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

A single node in a normalized artifact AST.

Indexable​

[key: string]: unknown

Arbitrary extra fields produced by adapters.

Properties​

children?​

readonly optional children?: readonly ArtifactNode[]

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


label?​

readonly optional label?: string

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


level?​

readonly optional level?: number

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

Present on markdown section nodes.


ordered?​

readonly optional ordered?: boolean

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

Present on markdown list nodes.


type​

readonly type: string

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


value?​

readonly optional value?: string | number | boolean | null

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