feat: add template version creator (#2991)

This commit is contained in:
Abhineet Jain
2022-07-14 20:44:33 +00:00
committed by GitHub
parent 6ef8a625d5
commit aea3b3b83e
14 changed files with 106 additions and 16 deletions
+2
View File
@@ -20,6 +20,8 @@ type TemplateVersion struct {
Name string `json:"name"`
Job ProvisionerJob `json:"job"`
Readme string `json:"readme"`
CreatedByID uuid.UUID `json:"created_by_id"`
CreatedByName string `json:"created_by_name"`
}
// TemplateVersion returns a template version by ID.