rune-langium / visual-editor/src / MetadataSectionProps
Interface: MetadataSectionProps
Defined in: packages/visual-editor/src/components/editors/MetadataSection.tsx:39
Properties
| Property | Type | Description | Defined 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) => void | Called when comments change (debounced commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:45 |
onDefinitionCommit? | (definition) => void | Called when definition changes (debounced commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:43 |
onSynonymAdd? | (synonym) => void | Called when a synonym is added (immediate commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:47 |
onSynonymRemove? | (index) => void | Called when a synonym is removed by index (immediate commit to graph). | packages/visual-editor/src/components/editors/MetadataSection.tsx:49 |
readOnly? | boolean | Whether the metadata section is read-only. | packages/visual-editor/src/components/editors/MetadataSection.tsx:41 |