Skip to content

Commit 599627c

Browse files
committed
chore: expose use_classic_parameter_flow on workspace response
1 parent 1314dbd commit 599627c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

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
TemplateAllowUserCancelWorkspaceJobs bool `json:"template_allow_user_cancel_workspace_jobs"`
4242
TemplateActiveVersionID uuid.UUID `json:"template_active_version_id" format:"uuid"`
4343
TemplateRequireActiveVersion bool `json:"template_require_active_version"`
44+
TemplateUseClassicParameterFlow bool `json:"template_use_classic_parameter_flow"`
4445
LatestBuild WorkspaceBuild `json:"latest_build"`
4546
LatestAppStatus *WorkspaceAppStatus `json:"latest_app_status"`
4647
Outdated bool `json:"outdated"`

site/src/api/typesGenerated.ts

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

0 commit comments

Comments
 (0)