@gitpod/public-api 0.1.5-tar-sh-active-users-new.0 → 0.1.5-tar-sh-active-users-new.5
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/index.d.ts +9 -0
- package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/index.js +21 -0
- package/lib/gitpod/experimental/v1/index.js.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.d.ts +2 -2
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/pagination_pb.js +2 -2
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +93 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +100 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +401 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +613 -0
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.d.ts +88 -218
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/{v1 → experimental/v1}/workspaces_pb.js +83 -321
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +4 -3
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/pagination_pb.js.map +0 -1
- package/lib/gitpod/v1/pagination_pb.ts +0 -60
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts +0 -65
- package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.js +0 -72
- package/lib/gitpod/v1/prebuilds_connectweb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_connectweb.ts +0 -71
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -281
- package/lib/gitpod/v1/prebuilds_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.js +0 -435
- package/lib/gitpod/v1/prebuilds_pb.js.map +0 -1
- package/lib/gitpod/v1/prebuilds_pb.ts +0 -540
- package/lib/gitpod/v1/workspaces_connectweb.d.ts +0 -134
- package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_connectweb.js +0 -141
- package/lib/gitpod/v1/workspaces_connectweb.js.map +0 -1
- package/lib/gitpod/v1/workspaces_connectweb.ts +0 -140
- package/lib/gitpod/v1/workspaces_pb.d.ts.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.js.map +0 -1
- package/lib/gitpod/v1/workspaces_pb.ts +0 -1509
@@ -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"}
|