Skip to content

rune-langium / visual-editor/src / MetadataSectionProps

Interface: MetadataSectionProps

Defined in: packages/visual-editor/src/components/editors/MetadataSection.tsx:39

Properties

PropertyTypeDescriptionDefined in
fields?string[]z2f-host-supplied list of field paths this section groups (declarative path). Optional and intentionally unused at render time per section-component.md §3 — the section knows its field set.packages/visual-editor/src/components/editors/MetadataSection.tsx:55
onCommentsCommit?(comments) => voidCalled when comments change (debounced commit to graph).packages/visual-editor/src/components/editors/MetadataSection.tsx:45
onDefinitionCommit?(definition) => voidCalled when definition changes (debounced commit to graph).packages/visual-editor/src/components/editors/MetadataSection.tsx:43
onSynonymAdd?(synonym) => voidCalled when a synonym is added (immediate commit to graph).packages/visual-editor/src/components/editors/MetadataSection.tsx:47
onSynonymRemove?(index) => voidCalled when a synonym is removed by index (immediate commit to graph).packages/visual-editor/src/components/editors/MetadataSection.tsx:49
readOnly?booleanWhether the metadata section is read-only.packages/visual-editor/src/components/editors/MetadataSection.tsx:41

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