Skip to content

rune-langium / visual-editor/src / FunctionFormProps

Interface: FunctionFormProps ​

Defined in: packages/visual-editor/src/components/editors/FunctionForm.tsx:182

Extends ​

  • InspectorHostProps

Properties ​

PropertyTypeDescriptionInherited fromDefined in
actionsFuncFormActionsFunction-specific editor form action callbacks.-packages/visual-editor/src/components/editors/FunctionForm.tsx:192
allNodeIds?string[]All loaded graph node IDs for resolving type name to node ID.-packages/visual-editor/src/components/editors/FunctionForm.tsx:209
allNodes?TypeGraphNode[]--packages/visual-editor/src/components/editors/FunctionForm.tsx:183
availableTypesTypeOption[]Available type options for selectors.-packages/visual-editor/src/components/editors/FunctionForm.tsx:190
dataAnyDomainData payload for the selected function node (AnyGraphNode with $type='RosettaFunction').-packages/visual-editor/src/components/editors/FunctionForm.tsx:188
inheritedGroups?InheritedGroup[]Inherited member groups from super-function (if any).-packages/visual-editor/src/components/editors/FunctionForm.tsx:194
metaGraphNodeMetaUI/editor metadata for the node (namespace, isReadOnly, errors, comments, ...). Required — data is the pure domain payload and no longer carries any UI metadata (Phase 3 step 3).-packages/visual-editor/src/components/editors/FunctionForm.tsx:226
nodeIdstringNode ID of the Function being edited.-packages/visual-editor/src/components/editors/FunctionForm.tsx:186
onNavigateToNode?NavigateToNodeCallbackCallback to navigate to a type's graph node.-packages/visual-editor/src/components/editors/FunctionForm.tsx:207
parseEpoch?number-InspectorHostProps.parseEpochpackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:21
readOnly?booleanPanel-level read-only override. ORed with the node metadata's isReadOnly flag.-packages/visual-editor/src/components/editors/FunctionForm.tsx:214
refOnly?booleanTrue when the node's source file is a refOnly curated reference. Surfaces a "Reference Only" pill in the header, matching OtherForm's treatment.-packages/visual-editor/src/components/editors/FunctionForm.tsx:220
registerCommitFlush?(flush) => () => void-InspectorHostProps.registerCommitFlushpackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:23
renderExpressionEditor?(props) => ReactNodeOptional render-prop for a rich expression editor (e.g. CodeMirror). When omitted, a plain <Textarea> is rendered as fallback. Per FR-010 / R10, this slot is preserved verbatim through the z2f migration: the bespoke expression-builder UX is owned by the studio app and remains a controlled override.-packages/visual-editor/src/components/editors/FunctionForm.tsx:203
renderFunctionBodyEditor?(props) => ReactNode--packages/visual-editor/src/components/editors/FunctionForm.tsx:204
saveStatus?string-InspectorHostProps.saveStatuspackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:22
scopeKey?string-InspectorHostProps.scopeKeypackages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:20
structuralEditsDisabled?boolean--packages/visual-editor/src/components/editors/FunctionForm.tsx:205
synonymSourceOptions?SourceRefOption[]--packages/visual-editor/src/components/editors/FunctionForm.tsx:184

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