Skip to content

rune-langium / codegen/src/export / FormPreviewSchema

Interface: FormPreviewSchema ​

Defined in: packages/codegen/src/types.ts:340

Properties ​

PropertyTypeDescriptionDefined 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?stringExecution capability from the same normalized function facts used by the emitter.packages/codegen/src/types.ts:356
fieldsPreviewField[]-packages/codegen/src/types.ts:346
functionOutput?FunctionPreviewOutputThe 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?PreviewFieldDeclared output field, including scalar results and the Rune return name.packages/codegen/src/types.ts:358
schemaVersion1-packages/codegen/src/types.ts:341
sourceMap?PreviewSourceMapEntry[]-packages/codegen/src/types.ts:360
status"unsupported" | "ready"-packages/codegen/src/types.ts:345
targetIdstring-packages/codegen/src/types.ts:342
titlestring-packages/codegen/src/types.ts:343
unsupportedFeatures?string[]-packages/codegen/src/types.ts:359

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.