FormatSpec
Defined in: extract/spec.ts:37
Unified extraction spec for all formats.
Captures format-specific navigation steps and a terminal extraction type.
All formats — JSON, XLSX, CSV, YAML, HTML, Markdown, TOML — produce this
same shape. The format field determines which executor handles it at runtime.
Type Parameters
Section titled “Type Parameters”S = unknown
Step type for navigation (e.g., JsonStep, XlsxStep)
E = unknown
Extract type for terminal extraction (e.g., JsonExtract, XlsxExtract)
Properties
Section titled “Properties”default?
Section titled “default?”
readonlyoptionaldefault:unknown
Defined in: extract/spec.ts:43
extract
Section titled “extract”
readonlyextract:E
Defined in: extract/spec.ts:41
format
Section titled “format”
readonlyformat:string
Defined in: extract/spec.ts:39
readonlykind:"extract"
Defined in: extract/spec.ts:38
optional?
Section titled “optional?”
readonlyoptionaloptional:boolean
Defined in: extract/spec.ts:42
readonlysteps: readonlyS[]
Defined in: extract/spec.ts:40