@stanterprise/protobuf 0.1.1 → 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-BR7Z6N5S.mjs → chunk-5Q7PEW7T.mjs} +6 -6
  2. package/dist/{chunk-XIP55YQC.mjs → chunk-5TUCVYG3.mjs} +122 -2
  3. package/dist/chunk-5TUCVYG3.mjs.map +1 -0
  4. package/dist/{chunk-WBCHUWL7.mjs → chunk-7T4DREEB.mjs} +82 -2
  5. package/dist/chunk-7T4DREEB.mjs.map +1 -0
  6. package/dist/{chunk-XYL4P7DJ.mjs → chunk-GXV2FWLZ.mjs} +2 -2
  7. package/dist/{chunk-FBR2J74U.mjs → chunk-QENINSQL.mjs} +2 -2
  8. package/dist/{chunk-34GQCWQN.mjs → chunk-RRKAEIBJ.mjs} +2 -2
  9. package/dist/{chunk-4YJNHYW7.mjs → chunk-ZLJNJSRC.mjs} +2 -2
  10. package/dist/index.js +201 -1
  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 +15 -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 +201 -1
  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 +81 -1
  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 +201 -1
  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 +201 -1
  29. package/dist/testsystem/v1/index.js.map +1 -1
  30. package/dist/testsystem/v1/index.mjs +9 -9
  31. package/dist/testsystem/v1/observer/index.js +201 -1
  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 +70 -1
  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-WBCHUWL7.mjs.map +0 -1
  39. package/dist/chunk-XIP55YQC.mjs.map +0 -1
  40. /package/dist/{chunk-BR7Z6N5S.mjs.map → chunk-5Q7PEW7T.mjs.map} +0 -0
  41. /package/dist/{chunk-XYL4P7DJ.mjs.map → chunk-GXV2FWLZ.mjs.map} +0 -0
  42. /package/dist/{chunk-FBR2J74U.mjs.map → chunk-QENINSQL.mjs.map} +0 -0
  43. /package/dist/{chunk-34GQCWQN.mjs.map → chunk-RRKAEIBJ.mjs.map} +0 -0
  44. /package/dist/{chunk-4YJNHYW7.mjs.map → chunk-ZLJNJSRC.mjs.map} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  v1_exports
3
- } from "../chunk-BR7Z6N5S.mjs";
4
- import "../chunk-34GQCWQN.mjs";
3
+ } from "../chunk-5Q7PEW7T.mjs";
5
4
  import "../chunk-WHGMBNCF.mjs";
6
- import "../chunk-XYL4P7DJ.mjs";
7
- import "../chunk-FBR2J74U.mjs";
8
- import "../chunk-4YJNHYW7.mjs";
9
- import "../chunk-XIP55YQC.mjs";
10
- import "../chunk-WBCHUWL7.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
  }
@@ -842,7 +862,7 @@ var testsystem2;
842
862
  constructor(data) {
843
863
  super();
844
864
  __privateAdd(this, _one_of_decls2, []);
845
- pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls2));
865
+ pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14, 18], __privateGet(this, _one_of_decls2));
846
866
  if (!Array.isArray(data) && typeof data == "object") {
847
867
  if ("id" in data && data.id != void 0) {
848
868
  this.id = data.id;
@@ -895,6 +915,12 @@ var testsystem2;
895
915
  if ("retry_index" in data && data.retry_index != void 0) {
896
916
  this.retry_index = data.retry_index;
897
917
  }
918
+ if ("attachments" in data && data.attachments != void 0) {
919
+ this.attachments = data.attachments;
920
+ }
921
+ if ("execution_id" in data && data.execution_id != void 0) {
922
+ this.execution_id = data.execution_id;
923
+ }
898
924
  }
899
925
  if (!this.metadata)
900
926
  this.metadata = /* @__PURE__ */ new Map();
@@ -1007,6 +1033,18 @@ var testsystem2;
1007
1033
  set retry_index(value) {
1008
1034
  pb_14.Message.setField(this, 17, value);
1009
1035
  }
1036
+ get attachments() {
1037
+ return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 18);
1038
+ }
1039
+ set attachments(value) {
1040
+ pb_14.Message.setRepeatedWrapperField(this, 18, value);
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
+ }
1010
1048
  static fromObject(data) {
1011
1049
  const message = new _StepRun({});
1012
1050
  if (data.id != null) {
@@ -1060,6 +1098,12 @@ var testsystem2;
1060
1098
  if (data.retry_index != null) {
1061
1099
  message.retry_index = data.retry_index;
1062
1100
  }
1101
+ if (data.attachments != null) {
1102
+ message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
1103
+ }
1104
+ if (data.execution_id != null) {
1105
+ message.execution_id = data.execution_id;
1106
+ }
1063
1107
  return message;
1064
1108
  }
1065
1109
  toObject() {
@@ -1115,6 +1159,12 @@ var testsystem2;
1115
1159
  if (this.retry_index != null) {
1116
1160
  data.retry_index = this.retry_index;
1117
1161
  }
1162
+ if (this.attachments != null) {
1163
+ data.attachments = this.attachments.map((item) => item.toObject());
1164
+ }
1165
+ if (this.execution_id != null) {
1166
+ data.execution_id = this.execution_id;
1167
+ }
1118
1168
  return data;
1119
1169
  }
1120
1170
  serialize(w) {
@@ -1157,6 +1207,10 @@ var testsystem2;
1157
1207
  writer.writeString(16, this.category);
1158
1208
  if (this.retry_index != 0)
1159
1209
  writer.writeInt32(17, this.retry_index);
1210
+ if (this.attachments.length)
1211
+ writer.writeRepeatedMessage(18, this.attachments, (item) => item.serialize(writer));
1212
+ if (this.execution_id.length)
1213
+ writer.writeString(19, this.execution_id);
1160
1214
  if (!w)
1161
1215
  return writer.getResultBuffer();
1162
1216
  }
@@ -1217,6 +1271,12 @@ var testsystem2;
1217
1271
  case 17:
1218
1272
  message.retry_index = reader.readInt32();
1219
1273
  break;
1274
+ case 18:
1275
+ reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 18, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
1276
+ break;
1277
+ case 19:
1278
+ message.execution_id = reader.readString();
1279
+ break;
1220
1280
  default:
1221
1281
  reader.skipField();
1222
1282
  }
@@ -1319,6 +1379,9 @@ var testsystem3;
1319
1379
  if ("sub_suites" in data && data.sub_suites != void 0) {
1320
1380
  this.sub_suites = data.sub_suites;
1321
1381
  }
1382
+ if ("execution_id" in data && data.execution_id != void 0) {
1383
+ this.execution_id = data.execution_id;
1384
+ }
1322
1385
  }
1323
1386
  if (!this.metadata)
1324
1387
  this.metadata = /* @__PURE__ */ new Map();
@@ -1452,6 +1515,12 @@ var testsystem3;
1452
1515
  set sub_suites(value) {
1453
1516
  pb_15.Message.setRepeatedWrapperField(this, 20, value);
1454
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
+ }
1455
1524
  static fromObject(data) {
1456
1525
  const message = new _TestSuiteRun({});
1457
1526
  if (data.id != null) {
@@ -1514,6 +1583,9 @@ var testsystem3;
1514
1583
  if (data.sub_suites != null) {
1515
1584
  message.sub_suites = data.sub_suites.map((item) => _TestSuiteRun.fromObject(item));
1516
1585
  }
1586
+ if (data.execution_id != null) {
1587
+ message.execution_id = data.execution_id;
1588
+ }
1517
1589
  return message;
1518
1590
  }
1519
1591
  toObject() {
@@ -1578,6 +1650,9 @@ var testsystem3;
1578
1650
  if (this.sub_suites != null) {
1579
1651
  data.sub_suites = this.sub_suites.map((item) => item.toObject());
1580
1652
  }
1653
+ if (this.execution_id != null) {
1654
+ data.execution_id = this.execution_id;
1655
+ }
1581
1656
  return data;
1582
1657
  }
1583
1658
  serialize(w) {
@@ -1626,6 +1701,8 @@ var testsystem3;
1626
1701
  writer.writeRepeatedMessage(19, this.test_cases, (item) => item.serialize(writer));
1627
1702
  if (this.sub_suites.length)
1628
1703
  writer.writeRepeatedMessage(20, this.sub_suites, (item) => item.serialize(writer));
1704
+ if (this.execution_id.length)
1705
+ writer.writeString(21, this.execution_id);
1629
1706
  if (!w)
1630
1707
  return writer.getResultBuffer();
1631
1708
  }
@@ -1695,6 +1772,9 @@ var testsystem3;
1695
1772
  case 20:
1696
1773
  reader.readMessage(message.sub_suites, () => pb_15.Message.addToRepeatedWrapperField(message, 20, _TestSuiteRun.deserialize(reader), _TestSuiteRun));
1697
1774
  break;
1775
+ case 21:
1776
+ message.execution_id = reader.readString();
1777
+ break;
1698
1778
  default:
1699
1779
  reader.skipField();
1700
1780
  }