rune-langium / visual-editor/src / AttributeRowProps
Interface: AttributeRowProps
Defined in: packages/visual-editor/src/components/editors/AttributeRow.tsx:64
Extends
InspectorRowProps
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
allNodeIds? | string[] | All loaded graph node IDs for resolving type name to node ID. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:100 |
availableTypes | TypeOption[] | Available type options for the TypeSelector. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:79 |
committedName | string | Last-committed attribute name (for graph action diffing). | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:77 |
disabled? | boolean | Whether the form is read-only. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:96 |
fieldArrayName? | string | Name of the useFieldArray field (form path prefix). Defaults to 'attributes'; pass 'inputs' for function input rows. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:71 |
fieldPath? | string | Canonical path for a singleton Attribute, such as function output. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:73 |
index | number | Index position of this member in the useFieldArray. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:66 |
isOverride? | boolean | Whether this attribute overrides an inherited member. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:102 |
nameLabel? | string | Accessible name label; defaults to Attribute. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:75 |
onNavigateToNode? | NavigateToNodeCallback | Callback to navigate to a type's graph node. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:98 |
onRemove? | (index) => void | Remove this attribute by index. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:92 |
onRename? | (name) => void | Optional name-only commit using the host's current canonical member identity. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:90 |
onReorder? | (fromIndex, toIndex) => void | Reorder (drag) callback; fromIndex → toIndex. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:94 |
onRevert? | () => void | Callback to revert an override (remove local, restore inherited). | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:104 |
onSelect? | () => void | - | InspectorRowProps.onSelect | packages/visual-editor/src/components/editors/inspector/inspector-row.ts:12 |
onUpdate | (index, oldName, newName, typeName, cardinality, targetTypeId?) => void | Commit attribute changes to the graph. | - | packages/visual-editor/src/components/editors/AttributeRow.tsx:81 |
selected? | boolean | - | InspectorRowProps.selected | packages/visual-editor/src/components/editors/inspector/inspector-row.ts:11 |