@superblocksteam/types 0.1976.0 → 0.1978.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.
@@ -158,388 +158,3 @@ export class ExecuteResponse extends Message<ExecuteResponse> {
158
158
  }
159
159
  }
160
160
 
161
- /**
162
- * Variable operations
163
- *
164
- * @generated from message worker.v1.GetVariableRequest
165
- */
166
- export class GetVariableRequest extends Message<GetVariableRequest> {
167
- /**
168
- * @generated from field: string execution_id = 1;
169
- */
170
- executionId = "";
171
-
172
- /**
173
- * @generated from field: string key = 2;
174
- */
175
- key = "";
176
-
177
- constructor(data?: PartialMessage<GetVariableRequest>) {
178
- super();
179
- proto3.util.initPartial(data, this);
180
- }
181
-
182
- static readonly runtime: typeof proto3 = proto3;
183
- static readonly typeName = "worker.v1.GetVariableRequest";
184
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
185
- { no: 1, name: "execution_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
186
- { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
- ]);
188
-
189
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVariableRequest {
190
- return new GetVariableRequest().fromBinary(bytes, options);
191
- }
192
-
193
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVariableRequest {
194
- return new GetVariableRequest().fromJson(jsonValue, options);
195
- }
196
-
197
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVariableRequest {
198
- return new GetVariableRequest().fromJsonString(jsonString, options);
199
- }
200
-
201
- static equals(a: GetVariableRequest | PlainMessage<GetVariableRequest> | undefined, b: GetVariableRequest | PlainMessage<GetVariableRequest> | undefined): boolean {
202
- return proto3.util.equals(GetVariableRequest, a, b);
203
- }
204
- }
205
-
206
- /**
207
- * @generated from message worker.v1.GetVariableResponse
208
- */
209
- export class GetVariableResponse extends Message<GetVariableResponse> {
210
- /**
211
- * JSON-encoded value
212
- *
213
- * @generated from field: string value = 1;
214
- */
215
- value = "";
216
-
217
- /**
218
- * @generated from field: bool found = 2;
219
- */
220
- found = false;
221
-
222
- constructor(data?: PartialMessage<GetVariableResponse>) {
223
- super();
224
- proto3.util.initPartial(data, this);
225
- }
226
-
227
- static readonly runtime: typeof proto3 = proto3;
228
- static readonly typeName = "worker.v1.GetVariableResponse";
229
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
230
- { no: 1, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
231
- { no: 2, name: "found", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
232
- ]);
233
-
234
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVariableResponse {
235
- return new GetVariableResponse().fromBinary(bytes, options);
236
- }
237
-
238
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVariableResponse {
239
- return new GetVariableResponse().fromJson(jsonValue, options);
240
- }
241
-
242
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVariableResponse {
243
- return new GetVariableResponse().fromJsonString(jsonString, options);
244
- }
245
-
246
- static equals(a: GetVariableResponse | PlainMessage<GetVariableResponse> | undefined, b: GetVariableResponse | PlainMessage<GetVariableResponse> | undefined): boolean {
247
- return proto3.util.equals(GetVariableResponse, a, b);
248
- }
249
- }
250
-
251
- /**
252
- * @generated from message worker.v1.SetVariableRequest
253
- */
254
- export class SetVariableRequest extends Message<SetVariableRequest> {
255
- /**
256
- * @generated from field: string execution_id = 1;
257
- */
258
- executionId = "";
259
-
260
- /**
261
- * @generated from field: string key = 2;
262
- */
263
- key = "";
264
-
265
- /**
266
- * JSON-encoded value
267
- *
268
- * @generated from field: string value = 3;
269
- */
270
- value = "";
271
-
272
- constructor(data?: PartialMessage<SetVariableRequest>) {
273
- super();
274
- proto3.util.initPartial(data, this);
275
- }
276
-
277
- static readonly runtime: typeof proto3 = proto3;
278
- static readonly typeName = "worker.v1.SetVariableRequest";
279
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
280
- { no: 1, name: "execution_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
281
- { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
282
- { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
283
- ]);
284
-
285
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVariableRequest {
286
- return new SetVariableRequest().fromBinary(bytes, options);
287
- }
288
-
289
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVariableRequest {
290
- return new SetVariableRequest().fromJson(jsonValue, options);
291
- }
292
-
293
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVariableRequest {
294
- return new SetVariableRequest().fromJsonString(jsonString, options);
295
- }
296
-
297
- static equals(a: SetVariableRequest | PlainMessage<SetVariableRequest> | undefined, b: SetVariableRequest | PlainMessage<SetVariableRequest> | undefined): boolean {
298
- return proto3.util.equals(SetVariableRequest, a, b);
299
- }
300
- }
301
-
302
- /**
303
- * @generated from message worker.v1.SetVariableResponse
304
- */
305
- export class SetVariableResponse extends Message<SetVariableResponse> {
306
- /**
307
- * @generated from field: bool success = 1;
308
- */
309
- success = false;
310
-
311
- constructor(data?: PartialMessage<SetVariableResponse>) {
312
- super();
313
- proto3.util.initPartial(data, this);
314
- }
315
-
316
- static readonly runtime: typeof proto3 = proto3;
317
- static readonly typeName = "worker.v1.SetVariableResponse";
318
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
319
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
320
- ]);
321
-
322
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVariableResponse {
323
- return new SetVariableResponse().fromBinary(bytes, options);
324
- }
325
-
326
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVariableResponse {
327
- return new SetVariableResponse().fromJson(jsonValue, options);
328
- }
329
-
330
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVariableResponse {
331
- return new SetVariableResponse().fromJsonString(jsonString, options);
332
- }
333
-
334
- static equals(a: SetVariableResponse | PlainMessage<SetVariableResponse> | undefined, b: SetVariableResponse | PlainMessage<SetVariableResponse> | undefined): boolean {
335
- return proto3.util.equals(SetVariableResponse, a, b);
336
- }
337
- }
338
-
339
- /**
340
- * @generated from message worker.v1.GetVariablesRequest
341
- */
342
- export class GetVariablesRequest extends Message<GetVariablesRequest> {
343
- /**
344
- * @generated from field: string execution_id = 1;
345
- */
346
- executionId = "";
347
-
348
- /**
349
- * @generated from field: repeated string keys = 2;
350
- */
351
- keys: string[] = [];
352
-
353
- constructor(data?: PartialMessage<GetVariablesRequest>) {
354
- super();
355
- proto3.util.initPartial(data, this);
356
- }
357
-
358
- static readonly runtime: typeof proto3 = proto3;
359
- static readonly typeName = "worker.v1.GetVariablesRequest";
360
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
361
- { no: 1, name: "execution_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
362
- { no: 2, name: "keys", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
363
- ]);
364
-
365
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVariablesRequest {
366
- return new GetVariablesRequest().fromBinary(bytes, options);
367
- }
368
-
369
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVariablesRequest {
370
- return new GetVariablesRequest().fromJson(jsonValue, options);
371
- }
372
-
373
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVariablesRequest {
374
- return new GetVariablesRequest().fromJsonString(jsonString, options);
375
- }
376
-
377
- static equals(a: GetVariablesRequest | PlainMessage<GetVariablesRequest> | undefined, b: GetVariablesRequest | PlainMessage<GetVariablesRequest> | undefined): boolean {
378
- return proto3.util.equals(GetVariablesRequest, a, b);
379
- }
380
- }
381
-
382
- /**
383
- * @generated from message worker.v1.GetVariablesResponse
384
- */
385
- export class GetVariablesResponse extends Message<GetVariablesResponse> {
386
- /**
387
- * JSON-encoded values (same order as keys)
388
- *
389
- * @generated from field: repeated string values = 1;
390
- */
391
- values: string[] = [];
392
-
393
- constructor(data?: PartialMessage<GetVariablesResponse>) {
394
- super();
395
- proto3.util.initPartial(data, this);
396
- }
397
-
398
- static readonly runtime: typeof proto3 = proto3;
399
- static readonly typeName = "worker.v1.GetVariablesResponse";
400
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
401
- { no: 1, name: "values", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
402
- ]);
403
-
404
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVariablesResponse {
405
- return new GetVariablesResponse().fromBinary(bytes, options);
406
- }
407
-
408
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVariablesResponse {
409
- return new GetVariablesResponse().fromJson(jsonValue, options);
410
- }
411
-
412
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVariablesResponse {
413
- return new GetVariablesResponse().fromJsonString(jsonString, options);
414
- }
415
-
416
- static equals(a: GetVariablesResponse | PlainMessage<GetVariablesResponse> | undefined, b: GetVariablesResponse | PlainMessage<GetVariablesResponse> | undefined): boolean {
417
- return proto3.util.equals(GetVariablesResponse, a, b);
418
- }
419
- }
420
-
421
- /**
422
- * @generated from message worker.v1.SetVariablesRequest
423
- */
424
- export class SetVariablesRequest extends Message<SetVariablesRequest> {
425
- /**
426
- * @generated from field: string execution_id = 1;
427
- */
428
- executionId = "";
429
-
430
- /**
431
- * @generated from field: repeated worker.v1.KeyValue kvs = 2;
432
- */
433
- kvs: KeyValue[] = [];
434
-
435
- constructor(data?: PartialMessage<SetVariablesRequest>) {
436
- super();
437
- proto3.util.initPartial(data, this);
438
- }
439
-
440
- static readonly runtime: typeof proto3 = proto3;
441
- static readonly typeName = "worker.v1.SetVariablesRequest";
442
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
443
- { no: 1, name: "execution_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
444
- { no: 2, name: "kvs", kind: "message", T: KeyValue, repeated: true },
445
- ]);
446
-
447
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVariablesRequest {
448
- return new SetVariablesRequest().fromBinary(bytes, options);
449
- }
450
-
451
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVariablesRequest {
452
- return new SetVariablesRequest().fromJson(jsonValue, options);
453
- }
454
-
455
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVariablesRequest {
456
- return new SetVariablesRequest().fromJsonString(jsonString, options);
457
- }
458
-
459
- static equals(a: SetVariablesRequest | PlainMessage<SetVariablesRequest> | undefined, b: SetVariablesRequest | PlainMessage<SetVariablesRequest> | undefined): boolean {
460
- return proto3.util.equals(SetVariablesRequest, a, b);
461
- }
462
- }
463
-
464
- /**
465
- * @generated from message worker.v1.KeyValue
466
- */
467
- export class KeyValue extends Message<KeyValue> {
468
- /**
469
- * @generated from field: string key = 1;
470
- */
471
- key = "";
472
-
473
- /**
474
- * JSON-encoded value
475
- *
476
- * @generated from field: string value = 2;
477
- */
478
- value = "";
479
-
480
- constructor(data?: PartialMessage<KeyValue>) {
481
- super();
482
- proto3.util.initPartial(data, this);
483
- }
484
-
485
- static readonly runtime: typeof proto3 = proto3;
486
- static readonly typeName = "worker.v1.KeyValue";
487
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
488
- { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
489
- { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
490
- ]);
491
-
492
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KeyValue {
493
- return new KeyValue().fromBinary(bytes, options);
494
- }
495
-
496
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KeyValue {
497
- return new KeyValue().fromJson(jsonValue, options);
498
- }
499
-
500
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KeyValue {
501
- return new KeyValue().fromJsonString(jsonString, options);
502
- }
503
-
504
- static equals(a: KeyValue | PlainMessage<KeyValue> | undefined, b: KeyValue | PlainMessage<KeyValue> | undefined): boolean {
505
- return proto3.util.equals(KeyValue, a, b);
506
- }
507
- }
508
-
509
- /**
510
- * @generated from message worker.v1.SetVariablesResponse
511
- */
512
- export class SetVariablesResponse extends Message<SetVariablesResponse> {
513
- /**
514
- * @generated from field: bool success = 1;
515
- */
516
- success = false;
517
-
518
- constructor(data?: PartialMessage<SetVariablesResponse>) {
519
- super();
520
- proto3.util.initPartial(data, this);
521
- }
522
-
523
- static readonly runtime: typeof proto3 = proto3;
524
- static readonly typeName = "worker.v1.SetVariablesResponse";
525
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
526
- { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
527
- ]);
528
-
529
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetVariablesResponse {
530
- return new SetVariablesResponse().fromBinary(bytes, options);
531
- }
532
-
533
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetVariablesResponse {
534
- return new SetVariablesResponse().fromJson(jsonValue, options);
535
- }
536
-
537
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetVariablesResponse {
538
- return new SetVariablesResponse().fromJsonString(jsonString, options);
539
- }
540
-
541
- static equals(a: SetVariablesResponse | PlainMessage<SetVariablesResponse> | undefined, b: SetVariablesResponse | PlainMessage<SetVariablesResponse> | undefined): boolean {
542
- return proto3.util.equals(SetVariablesResponse, a, b);
543
- }
544
- }
545
-