mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: Add icon to templates (#3561)
This commit is contained in:
@ -52,6 +52,9 @@ type CreateTemplateRequest struct {
|
||||
// Description is a description of what the template contains. It must be
|
||||
// less than 128 bytes.
|
||||
Description string `json:"description,omitempty" validate:"lt=128"`
|
||||
// Icon is a relative path or external URL that specifies
|
||||
// an icon to be displayed in the dashboard.
|
||||
Icon string `json:"icon,omitempty"`
|
||||
|
||||
// VersionID is an in-progress or completed job to use as an initial version
|
||||
// of the template.
|
||||
|
Reference in New Issue
Block a user