rune-langium / codegen/src/export / FormPreviewSchema
Interface: FormPreviewSchema
Defined in: packages/codegen/src/types.ts:340
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
choiceArmPaths? | string[] | fields[].path values that are Choice-ancestor-derived arms requiring "exactly one present" enforcement (a Data-extends-Choice or typeAlias-extends-Choice schema's own top-level kind stays undefined/'typeAlias' — only a genuine choice-kind schema's kind is 'choice' — so this field is what lets a consumer like validatePreviewSample generalize the enforcement without relying on kind). Omitted (not an empty array) when there's no Choice ancestor. | packages/codegen/src/types.ts:370 |
definitions? | Record<string, Pick<FormPreviewSchema, "fields" | "choiceArmPaths" | "sourceMap">> | Finite, namespace-qualified bodies for recursive and deep object fields. | packages/codegen/src/types.ts:348 |
executionUnavailable? | string | Execution capability from the same normalized function facts used by the emitter. | packages/codegen/src/types.ts:356 |
fields | PreviewField[] | - | packages/codegen/src/types.ts:346 |
functionOutput? | FunctionPreviewOutput | The resolved result type for a function. This remains available when the function belongs to a lazily hydrated curated bundle instead of the local workspace model list. | packages/codegen/src/types.ts:354 |
kind? | FormPreviewKind | - | packages/codegen/src/types.ts:344 |
result? | PreviewField | Declared output field, including scalar results and the Rune return name. | packages/codegen/src/types.ts:358 |
schemaVersion | 1 | - | packages/codegen/src/types.ts:341 |
sourceMap? | PreviewSourceMapEntry[] | - | packages/codegen/src/types.ts:360 |
status | "unsupported" | "ready" | - | packages/codegen/src/types.ts:345 |
targetId | string | - | packages/codegen/src/types.ts:342 |
title | string | - | packages/codegen/src/types.ts:343 |
unsupportedFeatures? | string[] | - | packages/codegen/src/types.ts:359 |