Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9c00046

Browse files
authored
chore: expose use_classic_parameter_flow on workspace response (#17925)
1 parentcc53c4d commit9c00046

File tree

9 files changed

+20
-0
lines changed

9 files changed

+20
-0
lines changed

‎cli/testdata/coder_list_--output_json.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"template_allow_user_cancel_workspace_jobs": false,
1616
"template_active_version_id": "============[version ID]============",
1717
"template_require_active_version": false,
18+
"template_use_classic_parameter_flow": false,
1819
"latest_build": {
1920
"id": "========[workspace build ID]========",
2021
"created_at": "====[timestamp]=====",

‎coderd/apidoc/docs.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/workspaces.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,6 +2259,7 @@ func convertWorkspace(
22592259
TemplateAllowUserCancelWorkspaceJobs:template.AllowUserCancelWorkspaceJobs,
22602260
TemplateActiveVersionID:template.ActiveVersionID,
22612261
TemplateRequireActiveVersion:template.RequireActiveVersion,
2262+
TemplateUseClassicParameterFlow:template.UseClassicParameterFlow,
22622263
Outdated:workspaceBuild.TemplateVersionID.String()!=template.ActiveVersionID.String(),
22632264
Name:workspace.Name,
22642265
AutostartSchedule:autostartSchedule,

‎codersdk/workspaces.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ type Workspace struct {
4141
TemplateAllowUserCancelWorkspaceJobsbool`json:"template_allow_user_cancel_workspace_jobs"`
4242
TemplateActiveVersionID uuid.UUID`json:"template_active_version_id" format:"uuid"`
4343
TemplateRequireActiveVersionbool`json:"template_require_active_version"`
44+
TemplateUseClassicParameterFlowbool`json:"template_use_classic_parameter_flow"`
4445
LatestBuildWorkspaceBuild`json:"latest_build"`
4546
LatestAppStatus*WorkspaceAppStatus`json:"latest_app_status"`
4647
Outdatedbool`json:"outdated"`

‎docs/reference/api/schemas.md

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/reference/api/workspaces.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/api/typesGenerated.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎site/src/testHelpers/entities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,7 @@ export const MockWorkspace: TypesGen.Workspace = {
14101410
MockTemplate.allow_user_cancel_workspace_jobs,
14111411
template_active_version_id:MockTemplate.active_version_id,
14121412
template_require_active_version:MockTemplate.require_active_version,
1413+
template_use_classic_parameter_flow:false,
14131414
outdated:false,
14141415
owner_id:MockUserOwner.id,
14151416
organization_id:MockOrganization.id,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp