- Notifications
You must be signed in to change notification settings - Fork928
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
fec05fc
0bc518a
40b4d4a
fc2ad7b
bde9117
73186a7
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
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(128) NOT NULL DEFAULT ''; |
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
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: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 alwaysreturn 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:75:6 | ||
export interface TemplateVersionsByTemplateRequest extends Pagination { | ||
readonly template_id: string | ||
} | ||
// From codersdk/templates.go:29:6 | ||
export interface UpdateActiveTemplateVersion { | ||
readonly id: string | ||
} | ||