feat: dialog to change template metadata in editor

This commit is contained in:
2024-12-03 18:34:23 +00:00
parent 4e34570792
commit e5bbd15837
10 changed files with 369 additions and 72 deletions

View File

@@ -20,7 +20,7 @@ type template struct {
IsBuilt bool `json:"isBuilt"`
Files []*templateFile `bun:"rel:has-many,join:id=template_id" json:"-"`
FileMap map[string]*templateFile `bun:"-" json:"files"`
FileMap map[string]*templateFile `bun:"-" json:"files,omitempty"`
}
type templateFile struct {