Skip to content

rune-langium / visual-editor/src / AttributeRowProps

Interface: AttributeRowProps ​

Defined in: packages/visual-editor/src/components/editors/AttributeRow.tsx:64

Extends ​

  • InspectorRowProps

Properties ​

PropertyTypeDescriptionInherited fromDefined in
allNodeIds?string[]All loaded graph node IDs for resolving type name to node ID.-packages/visual-editor/src/components/editors/AttributeRow.tsx:100
availableTypesTypeOption[]Available type options for the TypeSelector.-packages/visual-editor/src/components/editors/AttributeRow.tsx:79
committedNamestringLast-committed attribute name (for graph action diffing).-packages/visual-editor/src/components/editors/AttributeRow.tsx:77
disabled?booleanWhether the form is read-only.-packages/visual-editor/src/components/editors/AttributeRow.tsx:96
fieldArrayName?stringName 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?stringCanonical path for a singleton Attribute, such as function output.-packages/visual-editor/src/components/editors/AttributeRow.tsx:73
indexnumberIndex position of this member in the useFieldArray.-packages/visual-editor/src/components/editors/AttributeRow.tsx:66
isOverride?booleanWhether this attribute overrides an inherited member.-packages/visual-editor/src/components/editors/AttributeRow.tsx:102
nameLabel?stringAccessible name label; defaults to Attribute.-packages/visual-editor/src/components/editors/AttributeRow.tsx:75
onNavigateToNode?NavigateToNodeCallbackCallback to navigate to a type's graph node.-packages/visual-editor/src/components/editors/AttributeRow.tsx:98
onRemove?(index) => voidRemove this attribute by index.-packages/visual-editor/src/components/editors/AttributeRow.tsx:92
onRename?(name) => voidOptional name-only commit using the host's current canonical member identity.-packages/visual-editor/src/components/editors/AttributeRow.tsx:90
onReorder?(fromIndex, toIndex) => voidReorder (drag) callback; fromIndex → toIndex.-packages/visual-editor/src/components/editors/AttributeRow.tsx:94
onRevert?() => voidCallback to revert an override (remove local, restore inherited).-packages/visual-editor/src/components/editors/AttributeRow.tsx:104
onSelect?() => void-InspectorRowProps.onSelectpackages/visual-editor/src/components/editors/inspector/inspector-row.ts:12
onUpdate(index, oldName, newName, typeName, cardinality, targetTypeId?) => voidCommit attribute changes to the graph.-packages/visual-editor/src/components/editors/AttributeRow.tsx:81
selected?boolean-InspectorRowProps.selectedpackages/visual-editor/src/components/editors/inspector/inspector-row.ts:11

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