@gitpod/supervisor-api-grpc 0.1.5-patch-1-fork.0 → 0.1.5-port-description-3059-fork.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,6 @@
5
5
  /* eslint-disable */
6
6
 
7
7
  import * as grpc from "@grpc/grpc-js";
8
- import {handleClientStreamingCall} from "@grpc/grpc-js/build/src/server-call";
9
8
  import * as token_pb from "./token_pb";
10
9
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
11
10
 
package/lib/token_pb.d.ts CHANGED
@@ -10,19 +10,15 @@ import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/t
10
10
  export class GetTokenRequest extends jspb.Message {
11
11
  getHost(): string;
12
12
  setHost(value: string): GetTokenRequest;
13
-
14
13
  clearScopeList(): void;
15
14
  getScopeList(): Array<string>;
16
15
  setScopeList(value: Array<string>): GetTokenRequest;
17
16
  addScope(value: string, index?: number): string;
18
-
19
17
  getDescription(): string;
20
18
  setDescription(value: string): GetTokenRequest;
21
-
22
19
  getKind(): string;
23
20
  setKind(value: string): GetTokenRequest;
24
21
 
25
-
26
22
  serializeBinary(): Uint8Array;
27
23
  toObject(includeInstance?: boolean): GetTokenRequest.AsObject;
28
24
  static toObject(includeInstance: boolean, msg: GetTokenRequest): GetTokenRequest.AsObject;
@@ -45,10 +41,12 @@ export namespace GetTokenRequest {
45
41
  export class GetTokenResponse extends jspb.Message {
46
42
  getToken(): string;
47
43
  setToken(value: string): GetTokenResponse;
48
-
49
44
  getUser(): string;
50
45
  setUser(value: string): GetTokenResponse;
51
-
46
+ clearScopeList(): void;
47
+ getScopeList(): Array<string>;
48
+ setScopeList(value: Array<string>): GetTokenResponse;
49
+ addScope(value: string, index?: number): string;
52
50
 
53
51
  serializeBinary(): Uint8Array;
54
52
  toObject(includeInstance?: boolean): GetTokenResponse.AsObject;
@@ -64,34 +62,29 @@ export namespace GetTokenResponse {
64
62
  export type AsObject = {
65
63
  token: string,
66
64
  user: string,
65
+ scopeList: Array<string>,
67
66
  }
68
67
  }
69
68
 
70
69
  export class SetTokenRequest extends jspb.Message {
71
70
  getHost(): string;
72
71
  setHost(value: string): SetTokenRequest;
73
-
74
72
  clearScopeList(): void;
75
73
  getScopeList(): Array<string>;
76
74
  setScopeList(value: Array<string>): SetTokenRequest;
77
75
  addScope(value: string, index?: number): string;
78
-
79
76
  getToken(): string;
80
77
  setToken(value: string): SetTokenRequest;
81
78
 
82
-
83
79
  hasExpiryDate(): boolean;
84
80
  clearExpiryDate(): void;
85
81
  getExpiryDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
86
82
  setExpiryDate(value?: google_protobuf_timestamp_pb.Timestamp): SetTokenRequest;
87
-
88
83
  getReuse(): TokenReuse;
89
84
  setReuse(value: TokenReuse): SetTokenRequest;
90
-
91
85
  getKind(): string;
92
86
  setKind(value: string): SetTokenRequest;
93
87
 
94
-
95
88
  serializeBinary(): Uint8Array;
96
89
  toObject(includeInstance?: boolean): SetTokenRequest.AsObject;
97
90
  static toObject(includeInstance: boolean, msg: SetTokenRequest): SetTokenRequest.AsObject;
@@ -137,16 +130,13 @@ export class ClearTokenRequest extends jspb.Message {
137
130
  getValue(): string;
138
131
  setValue(value: string): ClearTokenRequest;
139
132
 
140
-
141
133
  hasAll(): boolean;
142
134
  clearAll(): void;
143
135
  getAll(): boolean;
144
136
  setAll(value: boolean): ClearTokenRequest;
145
-
146
137
  getKind(): string;
147
138
  setKind(value: string): ClearTokenRequest;
148
139
 
149
-
150
140
  getTokenCase(): ClearTokenRequest.TokenCase;
151
141
 
152
142
  serializeBinary(): Uint8Array;
@@ -168,11 +158,8 @@ export namespace ClearTokenRequest {
168
158
 
169
159
  export enum TokenCase {
170
160
  TOKEN_NOT_SET = 0,
171
-
172
- VALUE = 1,
173
-
174
- ALL = 2,
175
-
161
+ VALUE = 1,
162
+ ALL = 2,
176
163
  }
177
164
 
178
165
  }
@@ -201,13 +188,11 @@ export class ProvideTokenRequest extends jspb.Message {
201
188
  getRegistration(): ProvideTokenRequest.RegisterProvider | undefined;
202
189
  setRegistration(value?: ProvideTokenRequest.RegisterProvider): ProvideTokenRequest;
203
190
 
204
-
205
191
  hasAnswer(): boolean;
206
192
  clearAnswer(): void;
207
193
  getAnswer(): SetTokenRequest | undefined;
208
194
  setAnswer(value?: SetTokenRequest): ProvideTokenRequest;
209
195
 
210
-
211
196
  getMessageCase(): ProvideTokenRequest.MessageCase;
212
197
 
213
198
  serializeBinary(): Uint8Array;
@@ -231,7 +216,6 @@ export namespace ProvideTokenRequest {
231
216
  getKind(): string;
232
217
  setKind(value: string): RegisterProvider;
233
218
 
234
-
235
219
  serializeBinary(): Uint8Array;
236
220
  toObject(includeInstance?: boolean): RegisterProvider.AsObject;
237
221
  static toObject(includeInstance: boolean, msg: RegisterProvider): RegisterProvider.AsObject;
@@ -251,11 +235,8 @@ export namespace ProvideTokenRequest {
251
235
 
252
236
  export enum MessageCase {
253
237
  MESSAGE_NOT_SET = 0,
254
-
255
- REGISTRATION = 1,
256
-
257
- ANSWER = 2,
258
-
238
+ REGISTRATION = 1,
239
+ ANSWER = 2,
259
240
  }
260
241
 
261
242
  }
@@ -267,7 +248,6 @@ export class ProvideTokenResponse extends jspb.Message {
267
248
  getRequest(): GetTokenRequest | undefined;
268
249
  setRequest(value?: GetTokenRequest): ProvideTokenResponse;
269
250
 
270
-
271
251
  serializeBinary(): Uint8Array;
272
252
  toObject(includeInstance?: boolean): ProvideTokenResponse.AsObject;
273
253
  static toObject(includeInstance: boolean, msg: ProvideTokenResponse): ProvideTokenResponse.AsObject;