feat(builtin_templates): add description field for text snippets

This commit is contained in:
Elian Doran 2025-06-17 18:45:06 +03:00
parent 9687a9d8ff
commit 47eaee8b70
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,11 @@ export default function buildHiddenSubtreeTemplates() {
{
name: "textSnippet",
type: "label"
},
{
name: "label:textSnippetDescription",
type: "label",
value: "promoted,alias=Description,single,text"
}
]
}

View File

@ -12,7 +12,7 @@ enum Command {
}
export interface HiddenSubtreeAttribute {
type: AttributeType;
type: "label" | "relation";
name: string;
isInheritable?: boolean;
value?: string;