@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
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-WHGMBNCF.mjs";
4
4
  import {
5
5
  entities_exports
6
- } from "./chunk-GWOJPJ3V.mjs";
6
+ } from "./chunk-RRKAEIBJ.mjs";
7
7
  import {
8
8
  events_exports
9
- } from "./chunk-NYHT7SLS.mjs";
9
+ } from "./chunk-GXV2FWLZ.mjs";
10
10
  import {
11
11
  observer_exports
12
- } from "./chunk-UNDYBCII.mjs";
12
+ } from "./chunk-QENINSQL.mjs";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-EMALOWTT.mjs";
@@ -26,4 +26,4 @@ __export(v1_exports, {
26
26
  export {
27
27
  v1_exports
28
28
  };
29
- //# sourceMappingURL=chunk-CXXQBC7L.mjs.map
29
+ //# sourceMappingURL=chunk-5Q7PEW7T.mjs.map
@@ -3,7 +3,7 @@ import {
3
3
  google2,
4
4
  testsystem as testsystem2,
5
5
  testsystem2 as testsystem3
6
- } from "./chunk-YCV7GOOQ.mjs";
6
+ } from "./chunk-7T4DREEB.mjs";
7
7
  import {
8
8
  __privateAdd,
9
9
  __privateGet,
@@ -310,6 +310,9 @@ var testsystem4;
310
310
  if ("retry_index" in data && data.retry_index != void 0) {
311
311
  this.retry_index = data.retry_index;
312
312
  }
313
+ if ("execution_id" in data && data.execution_id != void 0) {
314
+ this.execution_id = data.execution_id;
315
+ }
313
316
  }
314
317
  }
315
318
  get test_id() {
@@ -357,6 +360,12 @@ var testsystem4;
357
360
  set retry_index(value) {
358
361
  pb_1.Message.setField(this, 7, value);
359
362
  }
363
+ get execution_id() {
364
+ return pb_1.Message.getFieldWithDefault(this, 8, "");
365
+ }
366
+ set execution_id(value) {
367
+ pb_1.Message.setField(this, 8, value);
368
+ }
360
369
  static fromObject(data) {
361
370
  const message = new _TestFailureEventRequest({});
362
371
  if (data.test_id != null) {
@@ -380,6 +389,9 @@ var testsystem4;
380
389
  if (data.retry_index != null) {
381
390
  message.retry_index = data.retry_index;
382
391
  }
392
+ if (data.execution_id != null) {
393
+ message.execution_id = data.execution_id;
394
+ }
383
395
  return message;
384
396
  }
385
397
  toObject() {
@@ -405,6 +417,9 @@ var testsystem4;
405
417
  if (this.retry_index != null) {
406
418
  data.retry_index = this.retry_index;
407
419
  }
420
+ if (this.execution_id != null) {
421
+ data.execution_id = this.execution_id;
422
+ }
408
423
  return data;
409
424
  }
410
425
  serialize(w) {
@@ -423,6 +438,8 @@ var testsystem4;
423
438
  writer.writeString(6, this.run_id);
424
439
  if (this.retry_index != 0)
425
440
  writer.writeInt32(7, this.retry_index);
441
+ if (this.execution_id.length)
442
+ writer.writeString(8, this.execution_id);
426
443
  if (!w)
427
444
  return writer.getResultBuffer();
428
445
  }
@@ -453,6 +470,9 @@ var testsystem4;
453
470
  case 7:
454
471
  message.retry_index = reader.readInt32();
455
472
  break;
473
+ case 8:
474
+ message.execution_id = reader.readString();
475
+ break;
456
476
  default:
457
477
  reader.skipField();
458
478
  }
@@ -496,6 +516,9 @@ var testsystem4;
496
516
  if ("retry_index" in data && data.retry_index != void 0) {
497
517
  this.retry_index = data.retry_index;
498
518
  }
519
+ if ("execution_id" in data && data.execution_id != void 0) {
520
+ this.execution_id = data.execution_id;
521
+ }
499
522
  }
500
523
  }
501
524
  get test_id() {
@@ -543,6 +566,12 @@ var testsystem4;
543
566
  set retry_index(value) {
544
567
  pb_1.Message.setField(this, 7, value);
545
568
  }
569
+ get execution_id() {
570
+ return pb_1.Message.getFieldWithDefault(this, 8, "");
571
+ }
572
+ set execution_id(value) {
573
+ pb_1.Message.setField(this, 8, value);
574
+ }
546
575
  static fromObject(data) {
547
576
  const message = new _TestErrorEventRequest({});
548
577
  if (data.test_id != null) {
@@ -566,6 +595,9 @@ var testsystem4;
566
595
  if (data.retry_index != null) {
567
596
  message.retry_index = data.retry_index;
568
597
  }
598
+ if (data.execution_id != null) {
599
+ message.execution_id = data.execution_id;
600
+ }
569
601
  return message;
570
602
  }
571
603
  toObject() {
@@ -591,6 +623,9 @@ var testsystem4;
591
623
  if (this.retry_index != null) {
592
624
  data.retry_index = this.retry_index;
593
625
  }
626
+ if (this.execution_id != null) {
627
+ data.execution_id = this.execution_id;
628
+ }
594
629
  return data;
595
630
  }
596
631
  serialize(w) {
@@ -609,6 +644,8 @@ var testsystem4;
609
644
  writer.writeString(6, this.run_id);
610
645
  if (this.retry_index != 0)
611
646
  writer.writeInt32(7, this.retry_index);
647
+ if (this.execution_id.length)
648
+ writer.writeString(8, this.execution_id);
612
649
  if (!w)
613
650
  return writer.getResultBuffer();
614
651
  }
@@ -639,6 +676,9 @@ var testsystem4;
639
676
  case 7:
640
677
  message.retry_index = reader.readInt32();
641
678
  break;
679
+ case 8:
680
+ message.execution_id = reader.readString();
681
+ break;
642
682
  default:
643
683
  reader.skipField();
644
684
  }
@@ -679,6 +719,9 @@ var testsystem4;
679
719
  if ("retry_index" in data && data.retry_index != void 0) {
680
720
  this.retry_index = data.retry_index;
681
721
  }
722
+ if ("execution_id" in data && data.execution_id != void 0) {
723
+ this.execution_id = data.execution_id;
724
+ }
682
725
  }
683
726
  }
684
727
  get test_id() {
@@ -720,6 +763,12 @@ var testsystem4;
720
763
  set retry_index(value) {
721
764
  pb_1.Message.setField(this, 6, value);
722
765
  }
766
+ get execution_id() {
767
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
768
+ }
769
+ set execution_id(value) {
770
+ pb_1.Message.setField(this, 7, value);
771
+ }
723
772
  static fromObject(data) {
724
773
  const message = new _StdErrorEventRequest({});
725
774
  if (data.test_id != null) {
@@ -740,6 +789,9 @@ var testsystem4;
740
789
  if (data.retry_index != null) {
741
790
  message.retry_index = data.retry_index;
742
791
  }
792
+ if (data.execution_id != null) {
793
+ message.execution_id = data.execution_id;
794
+ }
743
795
  return message;
744
796
  }
745
797
  toObject() {
@@ -762,6 +814,9 @@ var testsystem4;
762
814
  if (this.retry_index != null) {
763
815
  data.retry_index = this.retry_index;
764
816
  }
817
+ if (this.execution_id != null) {
818
+ data.execution_id = this.execution_id;
819
+ }
765
820
  return data;
766
821
  }
767
822
  serialize(w) {
@@ -778,6 +833,8 @@ var testsystem4;
778
833
  writer.writeString(5, this.run_id);
779
834
  if (this.retry_index != 0)
780
835
  writer.writeInt32(6, this.retry_index);
836
+ if (this.execution_id.length)
837
+ writer.writeString(7, this.execution_id);
781
838
  if (!w)
782
839
  return writer.getResultBuffer();
783
840
  }
@@ -805,6 +862,9 @@ var testsystem4;
805
862
  case 6:
806
863
  message.retry_index = reader.readInt32();
807
864
  break;
865
+ case 7:
866
+ message.execution_id = reader.readString();
867
+ break;
808
868
  default:
809
869
  reader.skipField();
810
870
  }
@@ -845,6 +905,9 @@ var testsystem4;
845
905
  if ("retry_index" in data && data.retry_index != void 0) {
846
906
  this.retry_index = data.retry_index;
847
907
  }
908
+ if ("execution_id" in data && data.execution_id != void 0) {
909
+ this.execution_id = data.execution_id;
910
+ }
848
911
  }
849
912
  }
850
913
  get test_id() {
@@ -886,6 +949,12 @@ var testsystem4;
886
949
  set retry_index(value) {
887
950
  pb_1.Message.setField(this, 6, value);
888
951
  }
952
+ get execution_id() {
953
+ return pb_1.Message.getFieldWithDefault(this, 7, "");
954
+ }
955
+ set execution_id(value) {
956
+ pb_1.Message.setField(this, 7, value);
957
+ }
889
958
  static fromObject(data) {
890
959
  const message = new _StdOutputEventRequest({});
891
960
  if (data.test_id != null) {
@@ -906,6 +975,9 @@ var testsystem4;
906
975
  if (data.retry_index != null) {
907
976
  message.retry_index = data.retry_index;
908
977
  }
978
+ if (data.execution_id != null) {
979
+ message.execution_id = data.execution_id;
980
+ }
909
981
  return message;
910
982
  }
911
983
  toObject() {
@@ -928,6 +1000,9 @@ var testsystem4;
928
1000
  if (this.retry_index != null) {
929
1001
  data.retry_index = this.retry_index;
930
1002
  }
1003
+ if (this.execution_id != null) {
1004
+ data.execution_id = this.execution_id;
1005
+ }
931
1006
  return data;
932
1007
  }
933
1008
  serialize(w) {
@@ -944,6 +1019,8 @@ var testsystem4;
944
1019
  writer.writeString(5, this.run_id);
945
1020
  if (this.retry_index != 0)
946
1021
  writer.writeInt32(6, this.retry_index);
1022
+ if (this.execution_id.length)
1023
+ writer.writeString(7, this.execution_id);
947
1024
  if (!w)
948
1025
  return writer.getResultBuffer();
949
1026
  }
@@ -971,6 +1048,9 @@ var testsystem4;
971
1048
  case 6:
972
1049
  message.retry_index = reader.readInt32();
973
1050
  break;
1051
+ case 7:
1052
+ message.execution_id = reader.readString();
1053
+ break;
974
1054
  default:
975
1055
  reader.skipField();
976
1056
  }
@@ -1226,6 +1306,9 @@ var testsystem4;
1226
1306
  if ("metadata" in data && data.metadata != void 0) {
1227
1307
  this.metadata = data.metadata;
1228
1308
  }
1309
+ if ("execution_id" in data && data.execution_id != void 0) {
1310
+ this.execution_id = data.execution_id;
1311
+ }
1229
1312
  }
1230
1313
  if (!this.metadata)
1231
1314
  this.metadata = /* @__PURE__ */ new Map();
@@ -1260,6 +1343,12 @@ var testsystem4;
1260
1343
  set metadata(value) {
1261
1344
  pb_1.Message.setField(this, 5, value);
1262
1345
  }
1346
+ get execution_id() {
1347
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
1348
+ }
1349
+ set execution_id(value) {
1350
+ pb_1.Message.setField(this, 6, value);
1351
+ }
1263
1352
  static fromObject(data) {
1264
1353
  const message = new _ReportRunStartEventRequest({});
1265
1354
  if (data.run_id != null) {
@@ -1277,6 +1366,9 @@ var testsystem4;
1277
1366
  if (typeof data.metadata == "object") {
1278
1367
  message.metadata = new Map(Object.entries(data.metadata));
1279
1368
  }
1369
+ if (data.execution_id != null) {
1370
+ message.execution_id = data.execution_id;
1371
+ }
1280
1372
  return message;
1281
1373
  }
1282
1374
  toObject() {
@@ -1296,6 +1388,9 @@ var testsystem4;
1296
1388
  if (this.metadata != null) {
1297
1389
  data.metadata = Object.fromEntries(this.metadata);
1298
1390
  }
1391
+ if (this.execution_id != null) {
1392
+ data.execution_id = this.execution_id;
1393
+ }
1299
1394
  return data;
1300
1395
  }
1301
1396
  serialize(w) {
@@ -1314,6 +1409,8 @@ var testsystem4;
1314
1409
  writer.writeString(2, value);
1315
1410
  });
1316
1411
  }
1412
+ if (this.execution_id.length)
1413
+ writer.writeString(6, this.execution_id);
1317
1414
  if (!w)
1318
1415
  return writer.getResultBuffer();
1319
1416
  }
@@ -1338,6 +1435,9 @@ var testsystem4;
1338
1435
  case 5:
1339
1436
  reader.readMessage(message, () => pb_1.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
1340
1437
  break;
1438
+ case 6:
1439
+ message.execution_id = reader.readString();
1440
+ break;
1341
1441
  default:
1342
1442
  reader.skipField();
1343
1443
  }
@@ -1375,6 +1475,9 @@ var testsystem4;
1375
1475
  if ("metadata" in data && data.metadata != void 0) {
1376
1476
  this.metadata = data.metadata;
1377
1477
  }
1478
+ if ("execution_id" in data && data.execution_id != void 0) {
1479
+ this.execution_id = data.execution_id;
1480
+ }
1378
1481
  }
1379
1482
  if (!this.metadata)
1380
1483
  this.metadata = /* @__PURE__ */ new Map();
@@ -1415,6 +1518,12 @@ var testsystem4;
1415
1518
  set metadata(value) {
1416
1519
  pb_1.Message.setField(this, 5, value);
1417
1520
  }
1521
+ get execution_id() {
1522
+ return pb_1.Message.getFieldWithDefault(this, 6, "");
1523
+ }
1524
+ set execution_id(value) {
1525
+ pb_1.Message.setField(this, 6, value);
1526
+ }
1418
1527
  static fromObject(data) {
1419
1528
  const message = new _TestRunEndEventRequest({});
1420
1529
  if (data.run_id != null) {
@@ -1432,6 +1541,9 @@ var testsystem4;
1432
1541
  if (typeof data.metadata == "object") {
1433
1542
  message.metadata = new Map(Object.entries(data.metadata));
1434
1543
  }
1544
+ if (data.execution_id != null) {
1545
+ message.execution_id = data.execution_id;
1546
+ }
1435
1547
  return message;
1436
1548
  }
1437
1549
  toObject() {
@@ -1451,6 +1563,9 @@ var testsystem4;
1451
1563
  if (this.metadata != null) {
1452
1564
  data.metadata = Object.fromEntries(this.metadata);
1453
1565
  }
1566
+ if (this.execution_id != null) {
1567
+ data.execution_id = this.execution_id;
1568
+ }
1454
1569
  return data;
1455
1570
  }
1456
1571
  serialize(w) {
@@ -1469,6 +1584,8 @@ var testsystem4;
1469
1584
  writer.writeString(2, value);
1470
1585
  });
1471
1586
  }
1587
+ if (this.execution_id.length)
1588
+ writer.writeString(6, this.execution_id);
1472
1589
  if (!w)
1473
1590
  return writer.getResultBuffer();
1474
1591
  }
@@ -1493,6 +1610,9 @@ var testsystem4;
1493
1610
  case 5:
1494
1611
  reader.readMessage(message, () => pb_1.Map.deserializeBinary(message.metadata, reader, reader.readString, reader.readString));
1495
1612
  break;
1613
+ case 6:
1614
+ message.execution_id = reader.readString();
1615
+ break;
1496
1616
  default:
1497
1617
  reader.skipField();
1498
1618
  }
@@ -1516,4 +1636,4 @@ var testsystem4;
1516
1636
  export {
1517
1637
  testsystem4 as testsystem
1518
1638
  };
1519
- //# sourceMappingURL=chunk-SKWN4PET.mjs.map
1639
+ //# sourceMappingURL=chunk-5TUCVYG3.mjs.map