From 93c0e263d4c412c25e6436a484521a5f647508d9 Mon Sep 17 00:00:00 2001 From: Stephanie Ahart Date: Wed, 18 Nov 2026 13:54:42 -0800 Subject: [PATCH] Remove leftover brev scale request types --- pkg/entity/entity.go | 14 -------------- pkg/store/workspace.go | 13 ------------- 2 files changed, 27 deletions(-) diff --git a/pkg/entity/entity.go b/pkg/entity/entity.go index 08e68354..5b910e67 100644 --- a/pkg/entity/entity.go +++ b/pkg/entity/entity.go @@ -546,17 +546,3 @@ func (u User) GetOnboardingData() (*OnboardingData, error) { } return x, nil } - -type ModifyWorkspaceRequest struct { - WorkspaceClass string `json:"workspaceClassId"` - IsStoppable *bool `json:"isStoppable"` - StartupScriptPath string `json:"startupScriptPath"` - Name string `json:"name"` - Description string `json:"description"` - IDEConfig IDEConfig `json:"ideConfig"` - Repos ReposV0 `json:"repos"` - Execs ExecsV0 `json:"execs"` - ReposV1 *ReposV1 `json:"reposV1"` - ExecsV1 *ExecsV1 `json:"execsV1"` - InstanceType string `json:"instanceType"` -} diff --git a/pkg/store/workspace.go b/pkg/store/workspace.go index d29a0a64..61d4a2a4 100644 --- a/pkg/store/workspace.go +++ b/pkg/store/workspace.go @@ -22,19 +22,6 @@ var ( workspaceOrgPath = fmt.Sprintf(workspaceOrgPathPattern, fmt.Sprintf("{%s}", orgIDParamName)) ) -type ModifyWorkspaceRequest struct { - WorkspaceClassID string `json:"workspaceClassId,omitempty"` - IsStoppable *bool `json:"isStoppable,omitempty"` - StartupScriptPath string `json:"startupScriptPath,omitempty"` - Name string `json:"name,omitempty"` - IDEConfig *entity.IDEConfig `json:"ideConfig,omitempty"` - Repos entity.ReposV0 `json:"repos,omitempty"` - Execs entity.ExecsV0 `json:"execs,omitempty"` - ReposV1 *entity.ReposV1 `json:"reposV1,omitempty"` - ExecsV1 *entity.ExecsV1 `json:"execsV1,omitempty"` - InstanceType string `json:"instanceType,omitempty"` -} - // LifeCycleScriptAttr holds the lifecycle script configuration type LifeCycleScriptAttr struct { Script string `json:"script,omitempty"`