@gitpod/public-api 0.1.5-sefftinge-make-usage-attribution-13460.13 → 0.1.5-sefftinge-incremental-workspaces-12582.2
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 +27 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +34 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +155 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +229 -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,9 @@
|
|
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
|
+
export * from "./pagination_pb";
|
7
|
+
export * from "./workspaces_pb";
|
8
|
+
export * from "./workspaces_connectweb";
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
8
|
+
if (k2 === undefined) k2 = k;
|
9
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
10
|
+
}) : (function(o, m, k, k2) {
|
11
|
+
if (k2 === undefined) k2 = k;
|
12
|
+
o[k2] = m[k];
|
13
|
+
}));
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
16
|
+
};
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
__exportStar(require("./pagination_pb"), exports);
|
19
|
+
__exportStar(require("./workspaces_pb"), exports);
|
20
|
+
__exportStar(require("./workspaces_connectweb"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAEH,kDAAgC;AAChC,kDAAgC;AAChC,0DAAwC"}
|
@@ -6,7 +6,7 @@
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
7
7
|
import { Message } from "@bufbuild/protobuf";
|
8
8
|
/**
|
9
|
-
* @generated from message gitpod.v1.Pagination
|
9
|
+
* @generated from message gitpod.experimental.v1.Pagination
|
10
10
|
*/
|
11
11
|
export declare class Pagination extends Message<Pagination> {
|
12
12
|
/**
|
@@ -23,7 +23,7 @@ export declare class Pagination extends Message<Pagination> {
|
|
23
23
|
pageToken: string;
|
24
24
|
constructor(data?: PartialMessage<Pagination>);
|
25
25
|
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
26
|
-
static readonly typeName = "gitpod.v1.Pagination";
|
26
|
+
static readonly typeName = "gitpod.experimental.v1.Pagination";
|
27
27
|
static readonly fields: FieldList;
|
28
28
|
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
|
29
29
|
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
|
@@ -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"}
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.Pagination = void 0;
|
9
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
10
10
|
/**
|
11
|
-
* @generated from message gitpod.v1.Pagination
|
11
|
+
* @generated from message gitpod.experimental.v1.Pagination
|
12
12
|
*/
|
13
13
|
class Pagination extends protobuf_1.Message {
|
14
14
|
constructor(data) {
|
@@ -42,7 +42,7 @@ class Pagination extends protobuf_1.Message {
|
|
42
42
|
}
|
43
43
|
exports.Pagination = Pagination;
|
44
44
|
Pagination.runtime = protobuf_1.proto3;
|
45
|
-
Pagination.typeName = "gitpod.v1.Pagination";
|
45
|
+
Pagination.typeName = "gitpod.experimental.v1.Pagination";
|
46
46
|
Pagination.fields = protobuf_1.proto3.util.newFieldList(() => [
|
47
47
|
{ no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
48
48
|
{ no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
@@ -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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1,27 @@
|
|
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 { CreateTeamRequest, CreateTeamResponse } from "./teams_pb.js";
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
8
|
+
/**
|
9
|
+
* @generated from service gitpod.experimental.v1.TeamsService
|
10
|
+
*/
|
11
|
+
export declare const TeamsService: {
|
12
|
+
readonly typeName: "gitpod.experimental.v1.TeamsService";
|
13
|
+
readonly methods: {
|
14
|
+
/**
|
15
|
+
* CreateTeam creates a new Team.
|
16
|
+
*
|
17
|
+
* @generated from rpc gitpod.experimental.v1.TeamsService.CreateTeam
|
18
|
+
*/
|
19
|
+
readonly createTeam: {
|
20
|
+
readonly name: "CreateTeam";
|
21
|
+
readonly I: typeof CreateTeamRequest;
|
22
|
+
readonly O: typeof CreateTeamResponse;
|
23
|
+
readonly kind: MethodKind.Unary;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
};
|
27
|
+
//# sourceMappingURL=teams_connectweb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"teams_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/teams_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,YAAY;;;QAGrB;;;;WAIG;;;;;;;;CAQG,CAAC"}
|
@@ -0,0 +1,34 @@
|
|
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.TeamsService = void 0;
|
9
|
+
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
|
10
|
+
// @generated from file gitpod/experimental/v1/teams.proto (package gitpod.experimental.v1, syntax proto3)
|
11
|
+
/* eslint-disable */
|
12
|
+
/* @ts-nocheck */
|
13
|
+
const teams_pb_js_1 = require("./teams_pb.js");
|
14
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
15
|
+
/**
|
16
|
+
* @generated from service gitpod.experimental.v1.TeamsService
|
17
|
+
*/
|
18
|
+
exports.TeamsService = {
|
19
|
+
typeName: "gitpod.experimental.v1.TeamsService",
|
20
|
+
methods: {
|
21
|
+
/**
|
22
|
+
* CreateTeam creates a new Team.
|
23
|
+
*
|
24
|
+
* @generated from rpc gitpod.experimental.v1.TeamsService.CreateTeam
|
25
|
+
*/
|
26
|
+
createTeam: {
|
27
|
+
name: "CreateTeam",
|
28
|
+
I: teams_pb_js_1.CreateTeamRequest,
|
29
|
+
O: teams_pb_js_1.CreateTeamResponse,
|
30
|
+
kind: protobuf_1.MethodKind.Unary,
|
31
|
+
},
|
32
|
+
}
|
33
|
+
};
|
34
|
+
//# sourceMappingURL=teams_connectweb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"teams_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/teams_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,0GAA0G;AAC1G,oBAAoB;AACpB,iBAAiB;AAEjB,+CAAoE;AACpE,iDAA8C;AAE9C;;GAEG;AACU,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,qCAAqC;IAC/C,OAAO,EAAE;QACP;;;;WAIG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,+BAAiB;YACpB,CAAC,EAAE,gCAAkB;YACrB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
@@ -0,0 +1,155 @@
|
|
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 enum gitpod.experimental.v1.TeamRole
|
10
|
+
*/
|
11
|
+
export declare enum TeamRole {
|
12
|
+
/**
|
13
|
+
* TEAM_ROLE_UNKNOWN is the unkwnon state.
|
14
|
+
*
|
15
|
+
* @generated from enum value: TEAM_ROLE_UNSPECIFIED = 0;
|
16
|
+
*/
|
17
|
+
UNSPECIFIED = 0,
|
18
|
+
/**
|
19
|
+
* TEAM_ROLE_OWNER is the owner of the team.
|
20
|
+
* A team can have multiple owners, but there must always be at least one owner.
|
21
|
+
*
|
22
|
+
* @generated from enum value: TEAM_ROLE_OWNER = 1;
|
23
|
+
*/
|
24
|
+
OWNER = 1,
|
25
|
+
/**
|
26
|
+
* TEAM_ROLE_MEMBER is a regular member of a team.
|
27
|
+
*
|
28
|
+
* @generated from enum value: TEAM_ROLE_MEMBER = 2;
|
29
|
+
*/
|
30
|
+
MEMBER = 2
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* @generated from message gitpod.experimental.v1.Team
|
34
|
+
*/
|
35
|
+
export declare class Team extends Message<Team> {
|
36
|
+
/**
|
37
|
+
* id is a UUID of the Team
|
38
|
+
*
|
39
|
+
* @generated from field: string id = 1;
|
40
|
+
*/
|
41
|
+
id: string;
|
42
|
+
/**
|
43
|
+
* name is the name of the Team
|
44
|
+
*
|
45
|
+
* @generated from field: string name = 2;
|
46
|
+
*/
|
47
|
+
name: string;
|
48
|
+
/**
|
49
|
+
* slug is the short version of the Team name
|
50
|
+
*
|
51
|
+
* @generated from field: string slug = 3;
|
52
|
+
*/
|
53
|
+
slug: string;
|
54
|
+
/**
|
55
|
+
* members are the team members of this Team
|
56
|
+
*
|
57
|
+
* @generated from field: repeated gitpod.experimental.v1.TeamMember members = 4;
|
58
|
+
*/
|
59
|
+
members: TeamMember[];
|
60
|
+
/**
|
61
|
+
* team_invitation is the team invitation.
|
62
|
+
*
|
63
|
+
* @generated from field: gitpod.experimental.v1.TeamInvitation team_invitation = 5;
|
64
|
+
*/
|
65
|
+
teamInvitation?: TeamInvitation;
|
66
|
+
constructor(data?: PartialMessage<Team>);
|
67
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
68
|
+
static readonly typeName = "gitpod.experimental.v1.Team";
|
69
|
+
static readonly fields: FieldList;
|
70
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Team;
|
71
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Team;
|
72
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Team;
|
73
|
+
static equals(a: Team | PlainMessage<Team> | undefined, b: Team | PlainMessage<Team> | undefined): boolean;
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* @generated from message gitpod.experimental.v1.TeamMember
|
77
|
+
*/
|
78
|
+
export declare class TeamMember extends Message<TeamMember> {
|
79
|
+
/**
|
80
|
+
* user_id is the identifier of the user
|
81
|
+
*
|
82
|
+
* @generated from field: string user_id = 1;
|
83
|
+
*/
|
84
|
+
userId: string;
|
85
|
+
/**
|
86
|
+
* role is the role this member is assigned
|
87
|
+
*
|
88
|
+
* @generated from field: gitpod.experimental.v1.TeamRole role = 2;
|
89
|
+
*/
|
90
|
+
role: TeamRole;
|
91
|
+
constructor(data?: PartialMessage<TeamMember>);
|
92
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
93
|
+
static readonly typeName = "gitpod.experimental.v1.TeamMember";
|
94
|
+
static readonly fields: FieldList;
|
95
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TeamMember;
|
96
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TeamMember;
|
97
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TeamMember;
|
98
|
+
static equals(a: TeamMember | PlainMessage<TeamMember> | undefined, b: TeamMember | PlainMessage<TeamMember> | undefined): boolean;
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* @generated from message gitpod.experimental.v1.TeamInvitation
|
102
|
+
*/
|
103
|
+
export declare class TeamInvitation extends Message<TeamInvitation> {
|
104
|
+
/**
|
105
|
+
* id is the invitation ID.
|
106
|
+
*
|
107
|
+
* @generated from field: string id = 1;
|
108
|
+
*/
|
109
|
+
id: string;
|
110
|
+
constructor(data?: PartialMessage<TeamInvitation>);
|
111
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
112
|
+
static readonly typeName = "gitpod.experimental.v1.TeamInvitation";
|
113
|
+
static readonly fields: FieldList;
|
114
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TeamInvitation;
|
115
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TeamInvitation;
|
116
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TeamInvitation;
|
117
|
+
static equals(a: TeamInvitation | PlainMessage<TeamInvitation> | undefined, b: TeamInvitation | PlainMessage<TeamInvitation> | undefined): boolean;
|
118
|
+
}
|
119
|
+
/**
|
120
|
+
* @generated from message gitpod.experimental.v1.CreateTeamRequest
|
121
|
+
*/
|
122
|
+
export declare class CreateTeamRequest extends Message<CreateTeamRequest> {
|
123
|
+
/**
|
124
|
+
* name is the team name
|
125
|
+
*
|
126
|
+
* @generated from field: string name = 1;
|
127
|
+
*/
|
128
|
+
name: string;
|
129
|
+
constructor(data?: PartialMessage<CreateTeamRequest>);
|
130
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
131
|
+
static readonly typeName = "gitpod.experimental.v1.CreateTeamRequest";
|
132
|
+
static readonly fields: FieldList;
|
133
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamRequest;
|
134
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamRequest;
|
135
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamRequest;
|
136
|
+
static equals(a: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined, b: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined): boolean;
|
137
|
+
}
|
138
|
+
/**
|
139
|
+
* @generated from message gitpod.experimental.v1.CreateTeamResponse
|
140
|
+
*/
|
141
|
+
export declare class CreateTeamResponse extends Message<CreateTeamResponse> {
|
142
|
+
/**
|
143
|
+
* @generated from field: gitpod.experimental.v1.Team team = 1;
|
144
|
+
*/
|
145
|
+
team?: Team;
|
146
|
+
constructor(data?: PartialMessage<CreateTeamResponse>);
|
147
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
148
|
+
static readonly typeName = "gitpod.experimental.v1.CreateTeamResponse";
|
149
|
+
static readonly fields: FieldList;
|
150
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamResponse;
|
151
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamResponse;
|
152
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamResponse;
|
153
|
+
static equals(a: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined, b: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined): boolean;
|
154
|
+
}
|
155
|
+
//# sourceMappingURL=teams_pb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
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AE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/J;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IACjE;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;gBAEA,IAAI,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC;IAKrD,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,+CAA+C;IACvE,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAE9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,kBAAkB;IAI9F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAI7F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAIjG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"}
|
@@ -0,0 +1,229 @@
|
|
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.CreateTeamResponse = exports.CreateTeamRequest = exports.TeamInvitation = exports.TeamMember = exports.Team = exports.TeamRole = void 0;
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
10
|
+
/**
|
11
|
+
* @generated from enum gitpod.experimental.v1.TeamRole
|
12
|
+
*/
|
13
|
+
var TeamRole;
|
14
|
+
(function (TeamRole) {
|
15
|
+
/**
|
16
|
+
* TEAM_ROLE_UNKNOWN is the unkwnon state.
|
17
|
+
*
|
18
|
+
* @generated from enum value: TEAM_ROLE_UNSPECIFIED = 0;
|
19
|
+
*/
|
20
|
+
TeamRole[TeamRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
21
|
+
/**
|
22
|
+
* TEAM_ROLE_OWNER is the owner of the team.
|
23
|
+
* A team can have multiple owners, but there must always be at least one owner.
|
24
|
+
*
|
25
|
+
* @generated from enum value: TEAM_ROLE_OWNER = 1;
|
26
|
+
*/
|
27
|
+
TeamRole[TeamRole["OWNER"] = 1] = "OWNER";
|
28
|
+
/**
|
29
|
+
* TEAM_ROLE_MEMBER is a regular member of a team.
|
30
|
+
*
|
31
|
+
* @generated from enum value: TEAM_ROLE_MEMBER = 2;
|
32
|
+
*/
|
33
|
+
TeamRole[TeamRole["MEMBER"] = 2] = "MEMBER";
|
34
|
+
})(TeamRole = exports.TeamRole || (exports.TeamRole = {}));
|
35
|
+
// Retrieve enum metadata with: proto3.getEnumType(TeamRole)
|
36
|
+
protobuf_1.proto3.util.setEnumType(TeamRole, "gitpod.experimental.v1.TeamRole", [
|
37
|
+
{ no: 0, name: "TEAM_ROLE_UNSPECIFIED" },
|
38
|
+
{ no: 1, name: "TEAM_ROLE_OWNER" },
|
39
|
+
{ no: 2, name: "TEAM_ROLE_MEMBER" },
|
40
|
+
]);
|
41
|
+
/**
|
42
|
+
* @generated from message gitpod.experimental.v1.Team
|
43
|
+
*/
|
44
|
+
class Team extends protobuf_1.Message {
|
45
|
+
constructor(data) {
|
46
|
+
super();
|
47
|
+
/**
|
48
|
+
* id is a UUID of the Team
|
49
|
+
*
|
50
|
+
* @generated from field: string id = 1;
|
51
|
+
*/
|
52
|
+
this.id = "";
|
53
|
+
/**
|
54
|
+
* name is the name of the Team
|
55
|
+
*
|
56
|
+
* @generated from field: string name = 2;
|
57
|
+
*/
|
58
|
+
this.name = "";
|
59
|
+
/**
|
60
|
+
* slug is the short version of the Team name
|
61
|
+
*
|
62
|
+
* @generated from field: string slug = 3;
|
63
|
+
*/
|
64
|
+
this.slug = "";
|
65
|
+
/**
|
66
|
+
* members are the team members of this Team
|
67
|
+
*
|
68
|
+
* @generated from field: repeated gitpod.experimental.v1.TeamMember members = 4;
|
69
|
+
*/
|
70
|
+
this.members = [];
|
71
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
72
|
+
}
|
73
|
+
static fromBinary(bytes, options) {
|
74
|
+
return new Team().fromBinary(bytes, options);
|
75
|
+
}
|
76
|
+
static fromJson(jsonValue, options) {
|
77
|
+
return new Team().fromJson(jsonValue, options);
|
78
|
+
}
|
79
|
+
static fromJsonString(jsonString, options) {
|
80
|
+
return new Team().fromJsonString(jsonString, options);
|
81
|
+
}
|
82
|
+
static equals(a, b) {
|
83
|
+
return protobuf_1.proto3.util.equals(Team, a, b);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
exports.Team = Team;
|
87
|
+
Team.runtime = protobuf_1.proto3;
|
88
|
+
Team.typeName = "gitpod.experimental.v1.Team";
|
89
|
+
Team.fields = protobuf_1.proto3.util.newFieldList(() => [
|
90
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
91
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
92
|
+
{ no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
93
|
+
{ no: 4, name: "members", kind: "message", T: TeamMember, repeated: true },
|
94
|
+
{ no: 5, name: "team_invitation", kind: "message", T: TeamInvitation },
|
95
|
+
]);
|
96
|
+
/**
|
97
|
+
* @generated from message gitpod.experimental.v1.TeamMember
|
98
|
+
*/
|
99
|
+
class TeamMember extends protobuf_1.Message {
|
100
|
+
constructor(data) {
|
101
|
+
super();
|
102
|
+
/**
|
103
|
+
* user_id is the identifier of the user
|
104
|
+
*
|
105
|
+
* @generated from field: string user_id = 1;
|
106
|
+
*/
|
107
|
+
this.userId = "";
|
108
|
+
/**
|
109
|
+
* role is the role this member is assigned
|
110
|
+
*
|
111
|
+
* @generated from field: gitpod.experimental.v1.TeamRole role = 2;
|
112
|
+
*/
|
113
|
+
this.role = TeamRole.UNSPECIFIED;
|
114
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
115
|
+
}
|
116
|
+
static fromBinary(bytes, options) {
|
117
|
+
return new TeamMember().fromBinary(bytes, options);
|
118
|
+
}
|
119
|
+
static fromJson(jsonValue, options) {
|
120
|
+
return new TeamMember().fromJson(jsonValue, options);
|
121
|
+
}
|
122
|
+
static fromJsonString(jsonString, options) {
|
123
|
+
return new TeamMember().fromJsonString(jsonString, options);
|
124
|
+
}
|
125
|
+
static equals(a, b) {
|
126
|
+
return protobuf_1.proto3.util.equals(TeamMember, a, b);
|
127
|
+
}
|
128
|
+
}
|
129
|
+
exports.TeamMember = TeamMember;
|
130
|
+
TeamMember.runtime = protobuf_1.proto3;
|
131
|
+
TeamMember.typeName = "gitpod.experimental.v1.TeamMember";
|
132
|
+
TeamMember.fields = protobuf_1.proto3.util.newFieldList(() => [
|
133
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
134
|
+
{ no: 2, name: "role", kind: "enum", T: protobuf_1.proto3.getEnumType(TeamRole) },
|
135
|
+
]);
|
136
|
+
/**
|
137
|
+
* @generated from message gitpod.experimental.v1.TeamInvitation
|
138
|
+
*/
|
139
|
+
class TeamInvitation extends protobuf_1.Message {
|
140
|
+
constructor(data) {
|
141
|
+
super();
|
142
|
+
/**
|
143
|
+
* id is the invitation ID.
|
144
|
+
*
|
145
|
+
* @generated from field: string id = 1;
|
146
|
+
*/
|
147
|
+
this.id = "";
|
148
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
149
|
+
}
|
150
|
+
static fromBinary(bytes, options) {
|
151
|
+
return new TeamInvitation().fromBinary(bytes, options);
|
152
|
+
}
|
153
|
+
static fromJson(jsonValue, options) {
|
154
|
+
return new TeamInvitation().fromJson(jsonValue, options);
|
155
|
+
}
|
156
|
+
static fromJsonString(jsonString, options) {
|
157
|
+
return new TeamInvitation().fromJsonString(jsonString, options);
|
158
|
+
}
|
159
|
+
static equals(a, b) {
|
160
|
+
return protobuf_1.proto3.util.equals(TeamInvitation, a, b);
|
161
|
+
}
|
162
|
+
}
|
163
|
+
exports.TeamInvitation = TeamInvitation;
|
164
|
+
TeamInvitation.runtime = protobuf_1.proto3;
|
165
|
+
TeamInvitation.typeName = "gitpod.experimental.v1.TeamInvitation";
|
166
|
+
TeamInvitation.fields = protobuf_1.proto3.util.newFieldList(() => [
|
167
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
168
|
+
]);
|
169
|
+
/**
|
170
|
+
* @generated from message gitpod.experimental.v1.CreateTeamRequest
|
171
|
+
*/
|
172
|
+
class CreateTeamRequest extends protobuf_1.Message {
|
173
|
+
constructor(data) {
|
174
|
+
super();
|
175
|
+
/**
|
176
|
+
* name is the team name
|
177
|
+
*
|
178
|
+
* @generated from field: string name = 1;
|
179
|
+
*/
|
180
|
+
this.name = "";
|
181
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
182
|
+
}
|
183
|
+
static fromBinary(bytes, options) {
|
184
|
+
return new CreateTeamRequest().fromBinary(bytes, options);
|
185
|
+
}
|
186
|
+
static fromJson(jsonValue, options) {
|
187
|
+
return new CreateTeamRequest().fromJson(jsonValue, options);
|
188
|
+
}
|
189
|
+
static fromJsonString(jsonString, options) {
|
190
|
+
return new CreateTeamRequest().fromJsonString(jsonString, options);
|
191
|
+
}
|
192
|
+
static equals(a, b) {
|
193
|
+
return protobuf_1.proto3.util.equals(CreateTeamRequest, a, b);
|
194
|
+
}
|
195
|
+
}
|
196
|
+
exports.CreateTeamRequest = CreateTeamRequest;
|
197
|
+
CreateTeamRequest.runtime = protobuf_1.proto3;
|
198
|
+
CreateTeamRequest.typeName = "gitpod.experimental.v1.CreateTeamRequest";
|
199
|
+
CreateTeamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
200
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
201
|
+
]);
|
202
|
+
/**
|
203
|
+
* @generated from message gitpod.experimental.v1.CreateTeamResponse
|
204
|
+
*/
|
205
|
+
class CreateTeamResponse extends protobuf_1.Message {
|
206
|
+
constructor(data) {
|
207
|
+
super();
|
208
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
209
|
+
}
|
210
|
+
static fromBinary(bytes, options) {
|
211
|
+
return new CreateTeamResponse().fromBinary(bytes, options);
|
212
|
+
}
|
213
|
+
static fromJson(jsonValue, options) {
|
214
|
+
return new CreateTeamResponse().fromJson(jsonValue, options);
|
215
|
+
}
|
216
|
+
static fromJsonString(jsonString, options) {
|
217
|
+
return new CreateTeamResponse().fromJsonString(jsonString, options);
|
218
|
+
}
|
219
|
+
static equals(a, b) {
|
220
|
+
return protobuf_1.proto3.util.equals(CreateTeamResponse, a, b);
|
221
|
+
}
|
222
|
+
}
|
223
|
+
exports.CreateTeamResponse = CreateTeamResponse;
|
224
|
+
CreateTeamResponse.runtime = protobuf_1.proto3;
|
225
|
+
CreateTeamResponse.typeName = "gitpod.experimental.v1.CreateTeamResponse";
|
226
|
+
CreateTeamResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
227
|
+
{ no: 1, name: "team", kind: "message", T: Team },
|
228
|
+
]);
|
229
|
+
//# sourceMappingURL=teams_pb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"teams_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/teams_pb.ts"],"names":[],"mappings":";A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QACtE,OAAO,IAAI,kBAAkB,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,kBAAkB,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAAoE,EAAE,CAAoE;QACtJ,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC;;AA/BH,gDAgCC;AArBiB,0BAAO,GAAG,iBAAM,CAAC;AACjB,2BAAQ,GAAG,2CAA2C,CAAC;AACvD,yBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE;CAClD,CAAC,CAAC"}
|
@@ -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"}
|