-
Notifications
You must be signed in to change notification settings - Fork 881
feat: add template description #1489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
fec05fc
0bc518a
40b4d4a
fc2ad7b
bde9117
73186a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE templates DROP COLUMN description; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ALTER TABLE templates ADD COLUMN description VARCHAR(8192) NOT NULL DEFAULT ''; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,6 +62,7 @@ export interface CreateParameterRequest { | |
// From codersdk/organizations.go:38:6 | ||
export interface CreateTemplateRequest { | ||
readonly name: string | ||
readonly description: string | ||
readonly template_version_id: string | ||
readonly parameter_values?: CreateParameterRequest[] | ||
} | ||
|
@@ -94,7 +95,7 @@ export interface CreateWorkspaceBuildRequest { | |
readonly state?: string | ||
} | ||
|
||
// From codersdk/organizations.go:52:6 | ||
// From codersdk/organizations.go:56:6 | ||
export interface CreateWorkspaceRequest { | ||
readonly template_id: string | ||
readonly name: string | ||
|
@@ -219,6 +220,7 @@ export interface Template { | |
readonly provisioner: string | ||
readonly active_version_id: string | ||
readonly workspace_owner_count: number | ||
readonly description: string | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! Here too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The backend will always return a description, but it can be an empty string. |
||
} | ||
|
||
// From codersdk/templateversions.go:17:6 | ||
|
@@ -263,12 +265,12 @@ export interface TemplateVersionParameterSchema { | |
readonly validation_value_type: string | ||
} | ||
|
||
// From codersdk/templates.go:74:6 | ||
// From codersdk/templates.go:75:6 | ||
export interface TemplateVersionsByTemplateRequest extends Pagination { | ||
readonly template_id: string | ||
} | ||
|
||
// From codersdk/templates.go:28:6 | ||
// From codersdk/templates.go:29:6 | ||
export interface UpdateActiveTemplateVersion { | ||
readonly id: string | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is
description
required?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not