Add descriptions to template functions

This commit is contained in:
Gregory Schier committed 2024-10-09 11:25:51 -07:00
1 parent 0eb98a3882
commit 4a81818d05
7 files changed
+24 -10

No files matched your search

@@ -294,6 +294,8 @@ pub struct GetTemplateFunctionsResponse {
#[ts(export, export_to = "events.ts")]
pub struct TemplateFunction {
pub name: String,
#[ts(optional)]
pub description: Option<String>,
/// Also support alternative names. This is useful for not breaking existing
/// tags when changing the `name` property