@stanterprise/protobuf 0.1.2 → 0.1.3

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.
Files changed (44) hide show
  1. package/dist/{chunk-CXXQBC7L.mjs → chunk-5Q7PEW7T.mjs} +4 -4
  2. package/dist/{chunk-SKWN4PET.mjs → chunk-5TUCVYG3.mjs} +122 -2
  3. package/dist/chunk-5TUCVYG3.mjs.map +1 -0
  4. package/dist/{chunk-YCV7GOOQ.mjs → chunk-7T4DREEB.mjs} +61 -1
  5. package/dist/chunk-7T4DREEB.mjs.map +1 -0
  6. package/dist/{chunk-NYHT7SLS.mjs → chunk-GXV2FWLZ.mjs} +2 -2
  7. package/dist/{chunk-UNDYBCII.mjs → chunk-QENINSQL.mjs} +2 -2
  8. package/dist/{chunk-GWOJPJ3V.mjs → chunk-RRKAEIBJ.mjs} +2 -2
  9. package/dist/{chunk-JV43EC5A.mjs → chunk-ZLJNJSRC.mjs} +2 -2
  10. package/dist/index.js +180 -0
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.mjs +3 -3
  13. package/dist/lib/testsystem/v1/entities/test_case.d.ts +10 -0
  14. package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
  15. package/dist/lib/testsystem/v1/entities/test_suite.d.ts +5 -0
  16. package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -1
  17. package/dist/lib/testsystem/v1/events/events.d.ts +30 -0
  18. package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
  19. package/dist/testsystem/index.js +180 -0
  20. package/dist/testsystem/index.js.map +1 -1
  21. package/dist/testsystem/index.mjs +7 -7
  22. package/dist/testsystem/v1/entities/index.js +60 -0
  23. package/dist/testsystem/v1/entities/index.js.map +1 -1
  24. package/dist/testsystem/v1/entities/index.mjs +2 -2
  25. package/dist/testsystem/v1/events/index.js +180 -0
  26. package/dist/testsystem/v1/events/index.js.map +1 -1
  27. package/dist/testsystem/v1/events/index.mjs +3 -3
  28. package/dist/testsystem/v1/index.js +180 -0
  29. package/dist/testsystem/v1/index.js.map +1 -1
  30. package/dist/testsystem/v1/index.mjs +7 -7
  31. package/dist/testsystem/v1/observer/index.js +180 -0
  32. package/dist/testsystem/v1/observer/index.js.map +1 -1
  33. package/dist/testsystem/v1/observer/index.mjs +4 -4
  34. package/lib/testsystem/v1/entities/test_case.ts +46 -0
  35. package/lib/testsystem/v1/entities/test_suite.ts +23 -0
  36. package/lib/testsystem/v1/events/events.ts +138 -0
  37. package/package.json +1 -1
  38. package/dist/chunk-SKWN4PET.mjs.map +0 -1
  39. package/dist/chunk-YCV7GOOQ.mjs.map +0 -1
  40. /package/dist/{chunk-CXXQBC7L.mjs.map → chunk-5Q7PEW7T.mjs.map} +0 -0
  41. /package/dist/{chunk-NYHT7SLS.mjs.map → chunk-GXV2FWLZ.mjs.map} +0 -0
  42. /package/dist/{chunk-UNDYBCII.mjs.map → chunk-QENINSQL.mjs.map} +0 -0
  43. /package/dist/{chunk-GWOJPJ3V.mjs.map → chunk-RRKAEIBJ.mjs.map} +0 -0
  44. /package/dist/{chunk-JV43EC5A.mjs.map → chunk-ZLJNJSRC.mjs.map} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AckResponse,
3
3
  TestEventCollectorClient
4
- } from "../../../chunk-UNDYBCII.mjs";
5
- import "../../../chunk-JV43EC5A.mjs";
6
- import "../../../chunk-SKWN4PET.mjs";
7
- import "../../../chunk-YCV7GOOQ.mjs";
4
+ } from "../../../chunk-QENINSQL.mjs";
5
+ import "../../../chunk-ZLJNJSRC.mjs";
6
+ import "../../../chunk-5TUCVYG3.mjs";
7
+ import "../../../chunk-7T4DREEB.mjs";
8
8
  import "../../../chunk-EMALOWTT.mjs";
9
9
  export {
10
10
  AckResponse,
@@ -30,6 +30,7 @@ export namespace testsystem.v1.entities {
30
30
  retry_count?: number;
31
31
  retry_index?: number;
32
32
  timeout?: number;
33
+ execution_id?: string;
33
34
  }) {
34
35
  super();
35
36
  pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [10, 13, 15], this.#one_of_decls);
@@ -91,6 +92,9 @@ export namespace testsystem.v1.entities {
91
92
  if ("timeout" in data && data.timeout != undefined) {
92
93
  this.timeout = data.timeout;
93
94
  }
95
+ if ("execution_id" in data && data.execution_id != undefined) {
96
+ this.execution_id = data.execution_id;
97
+ }
94
98
  }
95
99
  if (!this.metadata)
96
100
  this.metadata = new Map();
@@ -218,6 +222,12 @@ export namespace testsystem.v1.entities {
218
222
  set timeout(value: number) {
219
223
  pb_1.Message.setField(this, 19, value);
220
224
  }
225
+ get execution_id() {
226
+ return pb_1.Message.getFieldWithDefault(this, 20, "") as string;
227
+ }
228
+ set execution_id(value: string) {
229
+ pb_1.Message.setField(this, 20, value);
230
+ }
221
231
  static fromObject(data: {
222
232
  id?: string;
223
233
  name?: string;
@@ -240,6 +250,7 @@ export namespace testsystem.v1.entities {
240
250
  retry_count?: number;
241
251
  retry_index?: number;
242
252
  timeout?: number;
253
+ execution_id?: string;
243
254
  }): TestCaseRun {
244
255
  const message = new TestCaseRun({});
245
256
  if (data.id != null) {
@@ -299,6 +310,9 @@ export namespace testsystem.v1.entities {
299
310
  if (data.timeout != null) {
300
311
  message.timeout = data.timeout;
301
312
  }
313
+ if (data.execution_id != null) {
314
+ message.execution_id = data.execution_id;
315
+ }
302
316
  return message;
303
317
  }
304
318
  toObject() {
@@ -324,6 +338,7 @@ export namespace testsystem.v1.entities {
324
338
  retry_count?: number;
325
339
  retry_index?: number;
326
340
  timeout?: number;
341
+ execution_id?: string;
327
342
  } = {};
328
343
  if (this.id != null) {
329
344
  data.id = this.id;
@@ -382,6 +397,9 @@ export namespace testsystem.v1.entities {
382
397
  if (this.timeout != null) {
383
398
  data.timeout = this.timeout;
384
399
  }
400
+ if (this.execution_id != null) {
401
+ data.execution_id = this.execution_id;
402
+ }
385
403
  return data;
386
404
  }
387
405
  serialize(): Uint8Array;
@@ -430,6 +448,8 @@ export namespace testsystem.v1.entities {
430
448
  writer.writeInt32(18, this.retry_index);
431
449
  if (this.timeout != 0)
432
450
  writer.writeInt32(19, this.timeout);
451
+ if (this.execution_id.length)
452
+ writer.writeString(20, this.execution_id);
433
453
  if (!w)
434
454
  return writer.getResultBuffer();
435
455
  }
@@ -496,6 +516,9 @@ export namespace testsystem.v1.entities {
496
516
  case 19:
497
517
  message.timeout = reader.readInt32();
498
518
  break;
519
+ case 20:
520
+ message.execution_id = reader.readString();
521
+ break;
499
522
  default: reader.skipField();
500
523
  }
501
524
  }
@@ -529,6 +552,7 @@ export namespace testsystem.v1.entities {
529
552
  category?: string;
530
553
  retry_index?: number;
531
554
  attachments?: dependency_1.testsystem.v1.common.Attachment[];
555
+ execution_id?: string;
532
556
  }) {
533
557
  super();
534
558
  pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14, 18], this.#one_of_decls);
@@ -587,6 +611,9 @@ export namespace testsystem.v1.entities {
587
611
  if ("attachments" in data && data.attachments != undefined) {
588
612
  this.attachments = data.attachments;
589
613
  }
614
+ if ("execution_id" in data && data.execution_id != undefined) {
615
+ this.execution_id = data.execution_id;
616
+ }
590
617
  }
591
618
  if (!this.metadata)
592
619
  this.metadata = new Map();
@@ -705,6 +732,12 @@ export namespace testsystem.v1.entities {
705
732
  set attachments(value: dependency_1.testsystem.v1.common.Attachment[]) {
706
733
  pb_1.Message.setRepeatedWrapperField(this, 18, value);
707
734
  }
735
+ get execution_id() {
736
+ return pb_1.Message.getFieldWithDefault(this, 19, "") as string;
737
+ }
738
+ set execution_id(value: string) {
739
+ pb_1.Message.setField(this, 19, value);
740
+ }
708
741
  static fromObject(data: {
709
742
  id?: string;
710
743
  run_id?: string;
@@ -726,6 +759,7 @@ export namespace testsystem.v1.entities {
726
759
  category?: string;
727
760
  retry_index?: number;
728
761
  attachments?: ReturnType<typeof dependency_1.testsystem.v1.common.Attachment.prototype.toObject>[];
762
+ execution_id?: string;
729
763
  }): StepRun {
730
764
  const message = new StepRun({});
731
765
  if (data.id != null) {
@@ -782,6 +816,9 @@ export namespace testsystem.v1.entities {
782
816
  if (data.attachments != null) {
783
817
  message.attachments = data.attachments.map(item => dependency_1.testsystem.v1.common.Attachment.fromObject(item));
784
818
  }
819
+ if (data.execution_id != null) {
820
+ message.execution_id = data.execution_id;
821
+ }
785
822
  return message;
786
823
  }
787
824
  toObject() {
@@ -806,6 +843,7 @@ export namespace testsystem.v1.entities {
806
843
  category?: string;
807
844
  retry_index?: number;
808
845
  attachments?: ReturnType<typeof dependency_1.testsystem.v1.common.Attachment.prototype.toObject>[];
846
+ execution_id?: string;
809
847
  } = {};
810
848
  if (this.id != null) {
811
849
  data.id = this.id;
@@ -861,6 +899,9 @@ export namespace testsystem.v1.entities {
861
899
  if (this.attachments != null) {
862
900
  data.attachments = this.attachments.map((item: dependency_1.testsystem.v1.common.Attachment) => item.toObject());
863
901
  }
902
+ if (this.execution_id != null) {
903
+ data.execution_id = this.execution_id;
904
+ }
864
905
  return data;
865
906
  }
866
907
  serialize(): Uint8Array;
@@ -907,6 +948,8 @@ export namespace testsystem.v1.entities {
907
948
  writer.writeInt32(17, this.retry_index);
908
949
  if (this.attachments.length)
909
950
  writer.writeRepeatedMessage(18, this.attachments, (item: dependency_1.testsystem.v1.common.Attachment) => item.serialize(writer));
951
+ if (this.execution_id.length)
952
+ writer.writeString(19, this.execution_id);
910
953
  if (!w)
911
954
  return writer.getResultBuffer();
912
955
  }
@@ -970,6 +1013,9 @@ export namespace testsystem.v1.entities {
970
1013
  case 18:
971
1014
  reader.readMessage(message.attachments, () => pb_1.Message.addToRepeatedWrapperField(message, 18, dependency_1.testsystem.v1.common.Attachment.deserialize(reader), dependency_1.testsystem.v1.common.Attachment));
972
1015
  break;
1016
+ case 19:
1017
+ message.execution_id = reader.readString();
1018
+ break;
973
1019
  default: reader.skipField();
974
1020
  }
975
1021
  }
@@ -38,6 +38,7 @@ export namespace testsystem.v1.entities {
38
38
  owner?: string;
39
39
  test_cases?: dependency_2.testsystem.v1.entities.TestCaseRun[];
40
40
  sub_suites?: TestSuiteRun[];
41
+ execution_id?: string;
41
42
  }) {
42
43
  super();
43
44
  pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [13, 14, 19, 20], this.#one_of_decls);
@@ -102,6 +103,9 @@ export namespace testsystem.v1.entities {
102
103
  if ("sub_suites" in data && data.sub_suites != undefined) {
103
104
  this.sub_suites = data.sub_suites;
104
105
  }
106
+ if ("execution_id" in data && data.execution_id != undefined) {
107
+ this.execution_id = data.execution_id;
108
+ }
105
109
  }
106
110
  if (!this.metadata)
107
111
  this.metadata = new Map();
@@ -235,6 +239,12 @@ export namespace testsystem.v1.entities {
235
239
  set sub_suites(value: TestSuiteRun[]) {
236
240
  pb_1.Message.setRepeatedWrapperField(this, 20, value);
237
241
  }
242
+ get execution_id() {
243
+ return pb_1.Message.getFieldWithDefault(this, 21, "") as string;
244
+ }
245
+ set execution_id(value: string) {
246
+ pb_1.Message.setField(this, 21, value);
247
+ }
238
248
  static fromObject(data: {
239
249
  id?: string;
240
250
  name?: string;
@@ -258,6 +268,7 @@ export namespace testsystem.v1.entities {
258
268
  owner?: string;
259
269
  test_cases?: ReturnType<typeof dependency_2.testsystem.v1.entities.TestCaseRun.prototype.toObject>[];
260
270
  sub_suites?: ReturnType<typeof TestSuiteRun.prototype.toObject>[];
271
+ execution_id?: string;
261
272
  }): TestSuiteRun {
262
273
  const message = new TestSuiteRun({});
263
274
  if (data.id != null) {
@@ -320,6 +331,9 @@ export namespace testsystem.v1.entities {
320
331
  if (data.sub_suites != null) {
321
332
  message.sub_suites = data.sub_suites.map(item => TestSuiteRun.fromObject(item));
322
333
  }
334
+ if (data.execution_id != null) {
335
+ message.execution_id = data.execution_id;
336
+ }
323
337
  return message;
324
338
  }
325
339
  toObject() {
@@ -346,6 +360,7 @@ export namespace testsystem.v1.entities {
346
360
  owner?: string;
347
361
  test_cases?: ReturnType<typeof dependency_2.testsystem.v1.entities.TestCaseRun.prototype.toObject>[];
348
362
  sub_suites?: ReturnType<typeof TestSuiteRun.prototype.toObject>[];
363
+ execution_id?: string;
349
364
  } = {};
350
365
  if (this.id != null) {
351
366
  data.id = this.id;
@@ -407,6 +422,9 @@ export namespace testsystem.v1.entities {
407
422
  if (this.sub_suites != null) {
408
423
  data.sub_suites = this.sub_suites.map((item: TestSuiteRun) => item.toObject());
409
424
  }
425
+ if (this.execution_id != null) {
426
+ data.execution_id = this.execution_id;
427
+ }
410
428
  return data;
411
429
  }
412
430
  serialize(): Uint8Array;
@@ -457,6 +475,8 @@ export namespace testsystem.v1.entities {
457
475
  writer.writeRepeatedMessage(19, this.test_cases, (item: dependency_2.testsystem.v1.entities.TestCaseRun) => item.serialize(writer));
458
476
  if (this.sub_suites.length)
459
477
  writer.writeRepeatedMessage(20, this.sub_suites, (item: TestSuiteRun) => item.serialize(writer));
478
+ if (this.execution_id.length)
479
+ writer.writeString(21, this.execution_id);
460
480
  if (!w)
461
481
  return writer.getResultBuffer();
462
482
  }
@@ -526,6 +546,9 @@ export namespace testsystem.v1.entities {
526
546
  case 20:
527
547
  reader.readMessage(message.sub_suites, () => pb_1.Message.addToRepeatedWrapperField(message, 20, TestSuiteRun.deserialize(reader), TestSuiteRun));
528
548
  break;
549
+ case 21:
550
+ message.execution_id = reader.readString();
551
+ break;
529
552
  default: reader.skipField();
530
553
  }
531
554
  }