Skip to content

Commit 014b39b

Browse files
committed
update proto
1 parent 35dcd58 commit 014b39b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

components/public-api/gitpod/v1/workspace.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,26 +114,26 @@ message CreateAndStartWorkspaceRequest {
114114

115115
// workspace_class is the class of the workspace we ought to start
116116
string workspace_class = 2;
117+
118+
// editor specifies the editor that will be used with this workspace.
119+
EditorReference editor = 3;
117120
}
118121

119122
// metadata is data associated with this workspace that's required for other parts of Gitpod to function
120-
WorkspaceMetadata metadata = 2;
123+
WorkspaceMetadata metadata = 1;
121124

122125
oneof source {
123126
// context_url is the URL from which the workspace is created
124-
ContextURL context_url = 3;
127+
ContextURL context_url = 2;
125128

126129
// spec is the configuration of the workspace that's required for the to start the workspace
127-
WorkspaceSpec spec = 4;
130+
WorkspaceSpec spec = 3;
128131
}
129132

130-
// editor specifies the editor that will be used with this workspace.
131-
EditorReference editor = 5;
132-
133133
// force_default_config indicates that the workspace should be created with
134134
// the default configuration instead of the configuration provided in
135135
// `.gitpod.yml` file
136-
bool force_default_config = 7 [deprecated = true];
136+
bool force_default_config = 4 [deprecated = true];
137137
}
138138

139139
message CreateAndStartWorkspaceResponse {

0 commit comments

Comments
 (0)