Section
Section =
BaseNode&object
Defined in: packages/speculator/src/types/ast.generated.ts:10
AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
Generated from: schema/spec-ast.schema.json Generated at: 2026-02-17T12:07:40.739Z
Regenerate with: npx ts-node scripts/generate-types.ts
Type Declaration
Section titled “Type Declaration”children
Section titled “children”children: (
Section|Block)[]
dataCopConcept?
Section titled “dataCopConcept?”
optionaldataCopConcept:string
Optional Class of Products (COP) identifier for this section scope.
heading?
Section titled “heading?”
optionalheading:BaseNode&object
Optional section heading
Type Declaration
Section titled “Type Declaration”children
Section titled “children”children:
Inline[]
dataCopConcept?
Section titled “dataCopConcept?”
optionaldataCopConcept:string
Optional Class of Products (COP) identifier for this heading/section scope.
depth:
number
optionalid:string
Optional explicit heading ID
type:
"heading"
unnumbered?
Section titled “unnumbered?”
optionalunnumbered:boolean
If true, the section created from this heading will be unnumbered.
optionalid:string
Optional explicit section identifier
type:
"section"
unnumbered?
Section titled “unnumbered?”
optionalunnumbered:boolean
If true, this section and its descendants do not increment the TOC counter at this level.