feat: add template version creator (#2991)

This commit is contained in:
Abhineet Jain
2022-07-14 13:44:33 -07:00
committed by GitHub
parent 6ef8a625d5
commit aea3b3b83e
14 changed files with 106 additions and 16 deletions

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.