@gitpod/public-api 0.1.5-sje-installer-proxy-config-backup.0 → 0.1.5-sje-kots-db-migration-logger.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +33 -0
  2. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/pagination_pb.js +50 -0
  4. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/pagination_pb.ts +60 -0
  6. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
  7. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  8. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
  9. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  10. package/lib/gitpod/experimental/v1/workspaces_connectweb.ts +80 -0
  11. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +695 -0
  12. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  13. package/lib/gitpod/experimental/v1/workspaces_pb.js +945 -0
  14. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  15. package/lib/gitpod/experimental/v1/workspaces_pb.ts +1219 -0
  16. package/package.json +6 -10
  17. package/pkg-yarn.lock +5 -5
  18. package/provenance-bundle.jsonl +2 -2
  19. package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
  20. package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
  21. package/lib/gitpod/v1/pagination_pb.js +0 -206
  22. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  23. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  24. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
  25. package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
  26. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  27. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
  28. package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
  29. package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from message gitpod.experimental.v1.Pagination
10
+ */
11
+ export declare class Pagination extends Message<Pagination> {
12
+ /**
13
+ * page_size is the maximum number of results we expect
14
+ *
15
+ * @generated from field: int32 page_size = 1;
16
+ */
17
+ pageSize: number;
18
+ /**
19
+ * page_token points to a specific page of the results
20
+ *
21
+ * @generated from field: string page_token = 2;
22
+ */
23
+ pageToken: string;
24
+ constructor(data?: PartialMessage<Pagination>);
25
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
26
+ static readonly typeName = "gitpod.experimental.v1.Pagination";
27
+ static readonly fields: FieldList;
28
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
29
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
30
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
31
+ static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
32
+ }
33
+ //# sourceMappingURL=pagination_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/pagination_pb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAC,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC/H,OAAO,EAAC,OAAO,EAAS,MAAM,oBAAoB,CAAC;AAEnD;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,UAAU,CAAC;IACjD;;;;OAIG;IACH,QAAQ,SAAK;IAEb;;;;OAIG;IACH,SAAS,SAAM;gBAEH,IAAI,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC;IAK7C,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,uCAAuC;IAC/D,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAG9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,UAAU;IAItF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIrF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIzF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnI"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
+ * Licensed under the GNU Affero General Public License (AGPL).
5
+ * See License-AGPL.txt in the project root for license information.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.Pagination = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ /**
11
+ * @generated from message gitpod.experimental.v1.Pagination
12
+ */
13
+ class Pagination extends protobuf_1.Message {
14
+ constructor(data) {
15
+ super();
16
+ /**
17
+ * page_size is the maximum number of results we expect
18
+ *
19
+ * @generated from field: int32 page_size = 1;
20
+ */
21
+ this.pageSize = 0;
22
+ /**
23
+ * page_token points to a specific page of the results
24
+ *
25
+ * @generated from field: string page_token = 2;
26
+ */
27
+ this.pageToken = "";
28
+ protobuf_1.proto3.util.initPartial(data, this);
29
+ }
30
+ static fromBinary(bytes, options) {
31
+ return new Pagination().fromBinary(bytes, options);
32
+ }
33
+ static fromJson(jsonValue, options) {
34
+ return new Pagination().fromJson(jsonValue, options);
35
+ }
36
+ static fromJsonString(jsonString, options) {
37
+ return new Pagination().fromJsonString(jsonString, options);
38
+ }
39
+ static equals(a, b) {
40
+ return protobuf_1.proto3.util.equals(Pagination, a, b);
41
+ }
42
+ }
43
+ exports.Pagination = Pagination;
44
+ Pagination.runtime = protobuf_1.proto3;
45
+ Pagination.typeName = "gitpod.experimental.v1.Pagination";
46
+ Pagination.fields = protobuf_1.proto3.util.newFieldList(() => [
47
+ { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
48
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ ]);
50
+ //# sourceMappingURL=pagination_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/pagination_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,MAAa,UAAW,SAAQ,kBAAmB;IAejD,YAAY,IAAiC;QAC3C,KAAK,EAAE,CAAC;QAfV;;;;WAIG;QACH,aAAQ,GAAG,CAAC,CAAC;QAEb;;;;WAIG;QACH,cAAS,GAAG,EAAE,CAAC;QAIb,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IASD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,UAAU,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,UAAU,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,UAAU,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAAoD,EAAE,CAAoD;QACtH,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;;AAzCH,gCA0CC;AAtBiB,kBAAO,GAAG,iBAAM,CAAC;AACjB,mBAAQ,GAAG,mCAAmC,CAAC;AAC/C,iBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,sBAAsB,EAAE;IACzE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,uBAAuB,EAAE;CAC5E,CAAC,CAAC"}
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+
7
+ // @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
8
+ // @generated from file gitpod/experimental/v1/pagination.proto (package gitpod.experimental.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ /* @ts-nocheck */
11
+
12
+ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf";
13
+ import {Message, proto3} from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * @generated from message gitpod.experimental.v1.Pagination
17
+ */
18
+ export class Pagination extends Message<Pagination> {
19
+ /**
20
+ * page_size is the maximum number of results we expect
21
+ *
22
+ * @generated from field: int32 page_size = 1;
23
+ */
24
+ pageSize = 0;
25
+
26
+ /**
27
+ * page_token points to a specific page of the results
28
+ *
29
+ * @generated from field: string page_token = 2;
30
+ */
31
+ pageToken = "";
32
+
33
+ constructor(data?: PartialMessage<Pagination>) {
34
+ super();
35
+ proto3.util.initPartial(data, this);
36
+ }
37
+
38
+ static readonly runtime = proto3;
39
+ static readonly typeName = "gitpod.experimental.v1.Pagination";
40
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
41
+ { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
42
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
+ ]);
44
+
45
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination {
46
+ return new Pagination().fromBinary(bytes, options);
47
+ }
48
+
49
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination {
50
+ return new Pagination().fromJson(jsonValue, options);
51
+ }
52
+
53
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination {
54
+ return new Pagination().fromJsonString(jsonString, options);
55
+ }
56
+
57
+ static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean {
58
+ return proto3.util.equals(Pagination, a, b);
59
+ }
60
+ }
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+ import { CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse } from "./workspaces_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from service gitpod.experimental.v1.WorkspacesService
10
+ */
11
+ export declare const WorkspacesService: {
12
+ readonly typeName: "gitpod.experimental.v1.WorkspacesService";
13
+ readonly methods: {
14
+ /**
15
+ * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
16
+ *
17
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.ListWorkspaces
18
+ */
19
+ readonly listWorkspaces: {
20
+ readonly name: "ListWorkspaces";
21
+ readonly I: typeof ListWorkspacesRequest;
22
+ readonly O: typeof ListWorkspacesResponse;
23
+ readonly kind: MethodKind.Unary;
24
+ };
25
+ /**
26
+ * GetWorkspace returns a single workspace.
27
+ *
28
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetWorkspace
29
+ */
30
+ readonly getWorkspace: {
31
+ readonly name: "GetWorkspace";
32
+ readonly I: typeof GetWorkspaceRequest;
33
+ readonly O: typeof GetWorkspaceResponse;
34
+ readonly kind: MethodKind.Unary;
35
+ };
36
+ /**
37
+ * GetOwnerToken returns an owner token.
38
+ *
39
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
40
+ */
41
+ readonly getOwnerToken: {
42
+ readonly name: "GetOwnerToken";
43
+ readonly I: typeof GetOwnerTokenRequest;
44
+ readonly O: typeof GetOwnerTokenResponse;
45
+ readonly kind: MethodKind.Unary;
46
+ };
47
+ /**
48
+ * CreateAndStartWorkspace creates a new workspace and starts it.
49
+ *
50
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
51
+ */
52
+ readonly createAndStartWorkspace: {
53
+ readonly name: "CreateAndStartWorkspace";
54
+ readonly I: typeof CreateAndStartWorkspaceRequest;
55
+ readonly O: typeof CreateAndStartWorkspaceResponse;
56
+ readonly kind: MethodKind.Unary;
57
+ };
58
+ /**
59
+ * StopWorkspace stops a running workspace (instance).
60
+ * Errors:
61
+ * NOT_FOUND: the workspace_id is unkown
62
+ * FAILED_PRECONDITION: if there's no running instance
63
+ *
64
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
65
+ */
66
+ readonly stopWorkspace: {
67
+ readonly name: "StopWorkspace";
68
+ readonly I: typeof StopWorkspaceRequest;
69
+ readonly O: typeof StopWorkspaceResponse;
70
+ readonly kind: MethodKind.ServerStreaming;
71
+ };
72
+ };
73
+ };
74
+ //# sourceMappingURL=workspaces_connectweb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,8BAA8B,EAAE,+BAA+B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AACvR,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;;CAQG,CAAC"}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
4
+ * Licensed under the GNU Affero General Public License (AGPL).
5
+ * See License-AGPL.txt in the project root for license information.
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.WorkspacesService = void 0;
9
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
10
+ // @generated from file gitpod/experimental/v1/workspaces.proto (package gitpod.experimental.v1, syntax proto3)
11
+ /* eslint-disable */
12
+ /* @ts-nocheck */
13
+ const workspaces_pb_js_1 = require("./workspaces_pb.js");
14
+ const protobuf_1 = require("@bufbuild/protobuf");
15
+ /**
16
+ * @generated from service gitpod.experimental.v1.WorkspacesService
17
+ */
18
+ exports.WorkspacesService = {
19
+ typeName: "gitpod.experimental.v1.WorkspacesService",
20
+ methods: {
21
+ /**
22
+ * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
23
+ *
24
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.ListWorkspaces
25
+ */
26
+ listWorkspaces: {
27
+ name: "ListWorkspaces",
28
+ I: workspaces_pb_js_1.ListWorkspacesRequest,
29
+ O: workspaces_pb_js_1.ListWorkspacesResponse,
30
+ kind: protobuf_1.MethodKind.Unary,
31
+ },
32
+ /**
33
+ * GetWorkspace returns a single workspace.
34
+ *
35
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetWorkspace
36
+ */
37
+ getWorkspace: {
38
+ name: "GetWorkspace",
39
+ I: workspaces_pb_js_1.GetWorkspaceRequest,
40
+ O: workspaces_pb_js_1.GetWorkspaceResponse,
41
+ kind: protobuf_1.MethodKind.Unary,
42
+ },
43
+ /**
44
+ * GetOwnerToken returns an owner token.
45
+ *
46
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
47
+ */
48
+ getOwnerToken: {
49
+ name: "GetOwnerToken",
50
+ I: workspaces_pb_js_1.GetOwnerTokenRequest,
51
+ O: workspaces_pb_js_1.GetOwnerTokenResponse,
52
+ kind: protobuf_1.MethodKind.Unary,
53
+ },
54
+ /**
55
+ * CreateAndStartWorkspace creates a new workspace and starts it.
56
+ *
57
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
58
+ */
59
+ createAndStartWorkspace: {
60
+ name: "CreateAndStartWorkspace",
61
+ I: workspaces_pb_js_1.CreateAndStartWorkspaceRequest,
62
+ O: workspaces_pb_js_1.CreateAndStartWorkspaceResponse,
63
+ kind: protobuf_1.MethodKind.Unary,
64
+ },
65
+ /**
66
+ * StopWorkspace stops a running workspace (instance).
67
+ * Errors:
68
+ * NOT_FOUND: the workspace_id is unkown
69
+ * FAILED_PRECONDITION: if there's no running instance
70
+ *
71
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
72
+ */
73
+ stopWorkspace: {
74
+ name: "StopWorkspace",
75
+ I: workspaces_pb_js_1.StopWorkspaceRequest,
76
+ O: workspaces_pb_js_1.StopWorkspaceResponse,
77
+ kind: protobuf_1.MethodKind.ServerStreaming,
78
+ },
79
+ }
80
+ };
81
+ //# sourceMappingURL=workspaces_connectweb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspaces_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,+GAA+G;AAC/G,oBAAoB;AACpB,iBAAiB;AAEjB,yDAAuR;AACvR,iDAA8C;AAE9C;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,QAAQ,EAAE,0CAA0C;IACpD,OAAO,EAAE;QACP;;;;WAIG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,wCAAqB;YACxB,CAAC,EAAE,yCAAsB;YACzB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,sCAAmB;YACtB,CAAC,EAAE,uCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,uCAAoB;YACvB,CAAC,EAAE,wCAAqB;YACxB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,uBAAuB,EAAE;YACvB,IAAI,EAAE,yBAAyB;YAC/B,CAAC,EAAE,iDAA8B;YACjC,CAAC,EAAE,kDAA+B;YAClC,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,uCAAoB;YACvB,CAAC,EAAE,wCAAqB;YACxB,IAAI,EAAE,qBAAU,CAAC,eAAe;SACjC;KACF;CACO,CAAC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
3
+ * Licensed under the GNU Affero General Public License (AGPL).
4
+ * See License-AGPL.txt in the project root for license information.
5
+ */
6
+
7
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
8
+ // @generated from file gitpod/experimental/v1/workspaces.proto (package gitpod.experimental.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ /* @ts-nocheck */
11
+
12
+ import {CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StopWorkspaceRequest, StopWorkspaceResponse} from "./workspaces_pb.js";
13
+ import {MethodKind} from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * @generated from service gitpod.experimental.v1.WorkspacesService
17
+ */
18
+ export const WorkspacesService = {
19
+ typeName: "gitpod.experimental.v1.WorkspacesService",
20
+ methods: {
21
+ /**
22
+ * ListWorkspaces enumerates all workspaces belonging to the authenticated user.
23
+ *
24
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.ListWorkspaces
25
+ */
26
+ listWorkspaces: {
27
+ name: "ListWorkspaces",
28
+ I: ListWorkspacesRequest,
29
+ O: ListWorkspacesResponse,
30
+ kind: MethodKind.Unary,
31
+ },
32
+ /**
33
+ * GetWorkspace returns a single workspace.
34
+ *
35
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetWorkspace
36
+ */
37
+ getWorkspace: {
38
+ name: "GetWorkspace",
39
+ I: GetWorkspaceRequest,
40
+ O: GetWorkspaceResponse,
41
+ kind: MethodKind.Unary,
42
+ },
43
+ /**
44
+ * GetOwnerToken returns an owner token.
45
+ *
46
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.GetOwnerToken
47
+ */
48
+ getOwnerToken: {
49
+ name: "GetOwnerToken",
50
+ I: GetOwnerTokenRequest,
51
+ O: GetOwnerTokenResponse,
52
+ kind: MethodKind.Unary,
53
+ },
54
+ /**
55
+ * CreateAndStartWorkspace creates a new workspace and starts it.
56
+ *
57
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.CreateAndStartWorkspace
58
+ */
59
+ createAndStartWorkspace: {
60
+ name: "CreateAndStartWorkspace",
61
+ I: CreateAndStartWorkspaceRequest,
62
+ O: CreateAndStartWorkspaceResponse,
63
+ kind: MethodKind.Unary,
64
+ },
65
+ /**
66
+ * StopWorkspace stops a running workspace (instance).
67
+ * Errors:
68
+ * NOT_FOUND: the workspace_id is unkown
69
+ * FAILED_PRECONDITION: if there's no running instance
70
+ *
71
+ * @generated from rpc gitpod.experimental.v1.WorkspacesService.StopWorkspace
72
+ */
73
+ stopWorkspace: {
74
+ name: "StopWorkspace",
75
+ I: StopWorkspaceRequest,
76
+ O: StopWorkspaceResponse,
77
+ kind: MethodKind.ServerStreaming,
78
+ },
79
+ }
80
+ } as const;