rune-langium / visual-editor/src / FunctionFormProps
Interface: FunctionFormProps
Defined in: packages/visual-editor/src/components/editors/FunctionForm.tsx:182
Extends
InspectorHostProps
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
actions | FuncFormActions | Function-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 |
availableTypes | TypeOption[] | Available type options for selectors. | - | packages/visual-editor/src/components/editors/FunctionForm.tsx:190 |
data | AnyDomain | Data 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 |
meta | GraphNodeMeta | UI/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 |
nodeId | string | Node ID of the Function being edited. | - | packages/visual-editor/src/components/editors/FunctionForm.tsx:186 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | - | packages/visual-editor/src/components/editors/FunctionForm.tsx:207 |
parseEpoch? | number | - | InspectorHostProps.parseEpoch | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:21 |
readOnly? | boolean | Panel-level read-only override. ORed with the node metadata's isReadOnly flag. | - | packages/visual-editor/src/components/editors/FunctionForm.tsx:214 |
refOnly? | boolean | True 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.registerCommitFlush | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:23 |
renderExpressionEditor? | (props) => ReactNode | Optional 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.saveStatus | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:22 |
scopeKey? | string | - | InspectorHostProps.scopeKey | packages/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 |