@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,13 +1,13 @@
1
1
  import {
2
2
  v1_exports
3
- } from "../chunk-CXXQBC7L.mjs";
3
+ } from "../chunk-5Q7PEW7T.mjs";
4
4
  import "../chunk-WHGMBNCF.mjs";
5
- import "../chunk-GWOJPJ3V.mjs";
6
- import "../chunk-NYHT7SLS.mjs";
7
- import "../chunk-UNDYBCII.mjs";
8
- import "../chunk-JV43EC5A.mjs";
9
- import "../chunk-SKWN4PET.mjs";
10
- import "../chunk-YCV7GOOQ.mjs";
5
+ import "../chunk-RRKAEIBJ.mjs";
6
+ import "../chunk-GXV2FWLZ.mjs";
7
+ import "../chunk-QENINSQL.mjs";
8
+ import "../chunk-ZLJNJSRC.mjs";
9
+ import "../chunk-5TUCVYG3.mjs";
10
+ import "../chunk-7T4DREEB.mjs";
11
11
  import "../chunk-EMALOWTT.mjs";
12
12
  export {
13
13
  v1_exports as v1
@@ -463,6 +463,9 @@ var testsystem2;
463
463
  if ("timeout" in data && data.timeout != void 0) {
464
464
  this.timeout = data.timeout;
465
465
  }
466
+ if ("execution_id" in data && data.execution_id != void 0) {
467
+ this.execution_id = data.execution_id;
468
+ }
466
469
  }
467
470
  if (!this.metadata)
468
471
  this.metadata = /* @__PURE__ */ new Map();
@@ -590,6 +593,12 @@ var testsystem2;
590
593
  set timeout(value) {
591
594
  pb_14.Message.setField(this, 19, value);
592
595
  }
596
+ get execution_id() {
597
+ return pb_14.Message.getFieldWithDefault(this, 20, "");
598
+ }
599
+ set execution_id(value) {
600
+ pb_14.Message.setField(this, 20, value);
601
+ }
593
602
  static fromObject(data) {
594
603
  const message = new _TestCaseRun({});
595
604
  if (data.id != null) {
@@ -649,6 +658,9 @@ var testsystem2;
649
658
  if (data.timeout != null) {
650
659
  message.timeout = data.timeout;
651
660
  }
661
+ if (data.execution_id != null) {
662
+ message.execution_id = data.execution_id;
663
+ }
652
664
  return message;
653
665
  }
654
666
  toObject() {
@@ -710,6 +722,9 @@ var testsystem2;
710
722
  if (this.timeout != null) {
711
723
  data.timeout = this.timeout;
712
724
  }
725
+ if (this.execution_id != null) {
726
+ data.execution_id = this.execution_id;
727
+ }
713
728
  return data;
714
729
  }
715
730
  serialize(w) {
@@ -756,6 +771,8 @@ var testsystem2;
756
771
  writer.writeInt32(18, this.retry_index);
757
772
  if (this.timeout != 0)
758
773
  writer.writeInt32(19, this.timeout);
774
+ if (this.execution_id.length)
775
+ writer.writeString(20, this.execution_id);
759
776
  if (!w)
760
777
  return writer.getResultBuffer();
761
778
  }
@@ -822,6 +839,9 @@ var testsystem2;
822
839
  case 19:
823
840
  message.timeout = reader.readInt32();
824
841
  break;
842
+ case 20:
843
+ message.execution_id = reader.readString();
844
+ break;
825
845
  default:
826
846
  reader.skipField();
827
847
  }
@@ -898,6 +918,9 @@ var testsystem2;
898
918
  if ("attachments" in data && data.attachments != void 0) {
899
919
  this.attachments = data.attachments;
900
920
  }
921
+ if ("execution_id" in data && data.execution_id != void 0) {
922
+ this.execution_id = data.execution_id;
923
+ }
901
924
  }
902
925
  if (!this.metadata)
903
926
  this.metadata = /* @__PURE__ */ new Map();
@@ -1016,6 +1039,12 @@ var testsystem2;
1016
1039
  set attachments(value) {
1017
1040
  pb_14.Message.setRepeatedWrapperField(this, 18, value);
1018
1041
  }
1042
+ get execution_id() {
1043
+ return pb_14.Message.getFieldWithDefault(this, 19, "");
1044
+ }
1045
+ set execution_id(value) {
1046
+ pb_14.Message.setField(this, 19, value);
1047
+ }
1019
1048
  static fromObject(data) {
1020
1049
  const message = new _StepRun({});
1021
1050
  if (data.id != null) {
@@ -1072,6 +1101,9 @@ var testsystem2;
1072
1101
  if (data.attachments != null) {
1073
1102
  message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
1074
1103
  }
1104
+ if (data.execution_id != null) {
1105
+ message.execution_id = data.execution_id;
1106
+ }
1075
1107
  return message;
1076
1108
  }
1077
1109
  toObject() {
@@ -1130,6 +1162,9 @@ var testsystem2;
1130
1162
  if (this.attachments != null) {
1131
1163
  data.attachments = this.attachments.map((item) => item.toObject());
1132
1164
  }
1165
+ if (this.execution_id != null) {
1166
+ data.execution_id = this.execution_id;
1167
+ }
1133
1168
  return data;
1134
1169
  }
1135
1170
  serialize(w) {
@@ -1174,6 +1209,8 @@ var testsystem2;
1174
1209
  writer.writeInt32(17, this.retry_index);
1175
1210
  if (this.attachments.length)
1176
1211
  writer.writeRepeatedMessage(18, this.attachments, (item) => item.serialize(writer));
1212
+ if (this.execution_id.length)
1213
+ writer.writeString(19, this.execution_id);
1177
1214
  if (!w)
1178
1215
  return writer.getResultBuffer();
1179
1216
  }
@@ -1237,6 +1274,9 @@ var testsystem2;
1237
1274
  case 18:
1238
1275
  reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 18, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
1239
1276
  break;
1277
+ case 19:
1278
+ message.execution_id = reader.readString();
1279
+ break;
1240
1280
  default:
1241
1281
  reader.skipField();
1242
1282
  }
@@ -1339,6 +1379,9 @@ var testsystem3;
1339
1379
  if ("sub_suites" in data && data.sub_suites != void 0) {
1340
1380
  this.sub_suites = data.sub_suites;
1341
1381
  }
1382
+ if ("execution_id" in data && data.execution_id != void 0) {
1383
+ this.execution_id = data.execution_id;
1384
+ }
1342
1385
  }
1343
1386
  if (!this.metadata)
1344
1387
  this.metadata = /* @__PURE__ */ new Map();
@@ -1472,6 +1515,12 @@ var testsystem3;
1472
1515
  set sub_suites(value) {
1473
1516
  pb_15.Message.setRepeatedWrapperField(this, 20, value);
1474
1517
  }
1518
+ get execution_id() {
1519
+ return pb_15.Message.getFieldWithDefault(this, 21, "");
1520
+ }
1521
+ set execution_id(value) {
1522
+ pb_15.Message.setField(this, 21, value);
1523
+ }
1475
1524
  static fromObject(data) {
1476
1525
  const message = new _TestSuiteRun({});
1477
1526
  if (data.id != null) {
@@ -1534,6 +1583,9 @@ var testsystem3;
1534
1583
  if (data.sub_suites != null) {
1535
1584
  message.sub_suites = data.sub_suites.map((item) => _TestSuiteRun.fromObject(item));
1536
1585
  }
1586
+ if (data.execution_id != null) {
1587
+ message.execution_id = data.execution_id;
1588
+ }
1537
1589
  return message;
1538
1590
  }
1539
1591
  toObject() {
@@ -1598,6 +1650,9 @@ var testsystem3;
1598
1650
  if (this.sub_suites != null) {
1599
1651
  data.sub_suites = this.sub_suites.map((item) => item.toObject());
1600
1652
  }
1653
+ if (this.execution_id != null) {
1654
+ data.execution_id = this.execution_id;
1655
+ }
1601
1656
  return data;
1602
1657
  }
1603
1658
  serialize(w) {
@@ -1646,6 +1701,8 @@ var testsystem3;
1646
1701
  writer.writeRepeatedMessage(19, this.test_cases, (item) => item.serialize(writer));
1647
1702
  if (this.sub_suites.length)
1648
1703
  writer.writeRepeatedMessage(20, this.sub_suites, (item) => item.serialize(writer));
1704
+ if (this.execution_id.length)
1705
+ writer.writeString(21, this.execution_id);
1649
1706
  if (!w)
1650
1707
  return writer.getResultBuffer();
1651
1708
  }
@@ -1715,6 +1772,9 @@ var testsystem3;
1715
1772
  case 20:
1716
1773
  reader.readMessage(message.sub_suites, () => pb_15.Message.addToRepeatedWrapperField(message, 20, _TestSuiteRun.deserialize(reader), _TestSuiteRun));
1717
1774
  break;
1775
+ case 21:
1776
+ message.execution_id = reader.readString();
1777
+ break;
1718
1778
  default:
1719
1779
  reader.skipField();
1720
1780
  }