rune-langium / visual-editor/src / EnumFormProps
Interface: EnumFormProps
Defined in: packages/visual-editor/src/components/editors/EnumForm.tsx:80
Extends
InspectorHostProps
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
actions | EnumFormActions | Enum-specific editor form action callbacks. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:90 |
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:96 |
allNodes? | TypeGraphNode[] | All graph nodes for inherited member resolution. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:92 |
availableTypes | TypeOption[] | Available type options for selectors. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:86 |
data | AnyDomain | Data payload for the selected enum node (AnyGraphNode with $type='RosettaEnumeration'). | - | packages/visual-editor/src/components/editors/EnumForm.tsx:84 |
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/EnumForm.tsx:113 |
nodeId | string | Node ID of the Enum being edited. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:82 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:94 |
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/EnumForm.tsx:101 |
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/EnumForm.tsx:107 |
registerCommitFlush? | (flush) => () => void | - | InspectorHostProps.registerCommitFlush | packages/visual-editor/src/components/forms/metadata/useInspectorTargets.ts:23 |
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 |
synonymSourceOptions? | SourceRefOption[] | Available synonym source options for the source-ref picker. | - | packages/visual-editor/src/components/editors/EnumForm.tsx:88 |