mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
feat: add new required slug property to coder_app, use in URLs (#4573)
This commit is contained in:
@ -23,9 +23,11 @@ const (
|
||||
|
||||
type WorkspaceApp struct {
|
||||
ID uuid.UUID `json:"id"`
|
||||
// Name is a unique identifier attached to an agent.
|
||||
Name string `json:"name"`
|
||||
Command string `json:"command,omitempty"`
|
||||
// Slug is a unique identifier within the agent.
|
||||
Slug string `json:"slug"`
|
||||
// DisplayName is a friendly name for the app.
|
||||
DisplayName string `json:"display_name"`
|
||||
Command string `json:"command,omitempty"`
|
||||
// Icon is a relative path or external URL that specifies
|
||||
// an icon to be displayed in the dashboard.
|
||||
Icon string `json:"icon,omitempty"`
|
||||
|
Reference in New Issue
Block a user