@stanterprise/protobuf 0.0.18 → 0.0.20
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.
- package/dist/{chunk-2XDGK4PE.mjs → chunk-4SR4H5H3.mjs} +3 -3
- package/dist/{chunk-NAR56EZC.mjs → chunk-6LZLCU56.mjs} +45 -24
- package/dist/chunk-6LZLCU56.mjs.map +1 -0
- package/dist/{chunk-AOE34GC6.mjs → chunk-7ZKHPRD4.mjs} +6 -6
- package/dist/{chunk-LJC4OR2K.mjs → chunk-AEDC4CB5.mjs} +8 -8
- package/dist/chunk-AEDC4CB5.mjs.map +1 -0
- package/dist/{chunk-5DJKNU7K.mjs → chunk-B3U6NKBI.mjs} +6 -6
- package/dist/{chunk-5DJKNU7K.mjs.map → chunk-B3U6NKBI.mjs.map} +1 -1
- package/dist/{chunk-VZW7JSLB.mjs → chunk-ULRGJR5R.mjs} +9 -9
- package/dist/{chunk-VZW7JSLB.mjs.map → chunk-ULRGJR5R.mjs.map} +1 -1
- package/dist/{chunk-S5P2S67H.mjs → chunk-WYXRRQPZ.mjs} +2 -2
- package/dist/{chunk-3VVXARSH.mjs → chunk-XWJCF6BO.mjs} +3 -3
- package/dist/{chunk-VBR2HXFF.mjs → chunk-YUDCZY2W.mjs} +3 -1
- package/dist/chunk-YUDCZY2W.mjs.map +1 -0
- package/dist/index.js +56 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/lib/testsystem/v1/common/common.d.ts +3 -1
- package/dist/lib/testsystem/v1/common/common.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +15 -10
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +2 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +4 -4
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/observer/observer.d.ts +5 -5
- package/dist/lib/testsystem/v1/observer/observer.d.ts.map +1 -1
- package/dist/testsystem/index.js +58 -35
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +9 -9
- package/dist/testsystem/v1/common/index.js +2 -0
- package/dist/testsystem/v1/common/index.js.map +1 -1
- package/dist/testsystem/v1/common/index.mjs +2 -2
- package/dist/testsystem/v1/entities/index.js +45 -22
- package/dist/testsystem/v1/entities/index.js.map +1 -1
- package/dist/testsystem/v1/entities/index.mjs +3 -3
- package/dist/testsystem/v1/events/index.d.ts +2 -2
- package/dist/testsystem/v1/events/index.d.ts.map +1 -1
- package/dist/testsystem/v1/events/index.js +54 -31
- package/dist/testsystem/v1/events/index.js.map +1 -1
- package/dist/testsystem/v1/events/index.mjs +6 -6
- package/dist/testsystem/v1/index.js +58 -35
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +9 -9
- package/dist/testsystem/v1/observer/index.js +56 -33
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +5 -5
- package/lib/testsystem/v1/common/common.ts +3 -1
- package/lib/testsystem/v1/entities/test_case.ts +51 -28
- package/lib/testsystem/v1/entities/test_suite.ts +2 -1
- package/lib/testsystem/v1/events/events.ts +7 -7
- package/lib/testsystem/v1/observer/observer.ts +7 -7
- package/package.json +1 -1
- package/dist/chunk-LJC4OR2K.mjs.map +0 -1
- package/dist/chunk-NAR56EZC.mjs.map +0 -1
- package/dist/chunk-VBR2HXFF.mjs.map +0 -1
- /package/dist/{chunk-2XDGK4PE.mjs.map → chunk-4SR4H5H3.mjs.map} +0 -0
- /package/dist/{chunk-AOE34GC6.mjs.map → chunk-7ZKHPRD4.mjs.map} +0 -0
- /package/dist/{chunk-S5P2S67H.mjs.map → chunk-WYXRRQPZ.mjs.map} +0 -0
- /package/dist/{chunk-3VVXARSH.mjs.map → chunk-XWJCF6BO.mjs.map} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-7ZKHPRD4.mjs";
|
|
2
2
|
import {
|
|
3
3
|
common_exports
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-WYXRRQPZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
entities_exports
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-XWJCF6BO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
events_exports
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-B3U6NKBI.mjs";
|
|
11
11
|
import {
|
|
12
12
|
observer_exports
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-4SR4H5H3.mjs";
|
|
14
|
+
import "../../chunk-AEDC4CB5.mjs";
|
|
15
|
+
import "../../chunk-ULRGJR5R.mjs";
|
|
16
|
+
import "../../chunk-6LZLCU56.mjs";
|
|
17
|
+
import "../../chunk-YUDCZY2W.mjs";
|
|
18
18
|
export {
|
|
19
19
|
common_exports as common,
|
|
20
20
|
entities_exports as entities,
|
|
@@ -152,6 +152,8 @@ var testsystem;
|
|
|
152
152
|
TestStatus2[TestStatus2["BROKEN"] = 4] = "BROKEN";
|
|
153
153
|
TestStatus2[TestStatus2["TIMEDOUT"] = 5] = "TIMEDOUT";
|
|
154
154
|
TestStatus2[TestStatus2["INTERRUPTED"] = 6] = "INTERRUPTED";
|
|
155
|
+
TestStatus2[TestStatus2["RUNNING"] = 7] = "RUNNING";
|
|
156
|
+
TestStatus2[TestStatus2["NOT_RUN"] = 8] = "NOT_RUN";
|
|
155
157
|
})(TestStatus = common2.TestStatus || (common2.TestStatus = {}));
|
|
156
158
|
const _Attachment = class _Attachment extends pb_12.Message {
|
|
157
159
|
constructor(data) {
|
|
@@ -414,8 +416,8 @@ var testsystem2;
|
|
|
414
416
|
if ("run_id" in data && data.run_id != void 0) {
|
|
415
417
|
this.run_id = data.run_id;
|
|
416
418
|
}
|
|
417
|
-
if ("
|
|
418
|
-
this.
|
|
419
|
+
if ("test_suite_id" in data && data.test_suite_id != void 0) {
|
|
420
|
+
this.test_suite_id = data.test_suite_id;
|
|
419
421
|
}
|
|
420
422
|
if ("status" in data && data.status != void 0) {
|
|
421
423
|
this.status = data.status;
|
|
@@ -487,10 +489,10 @@ var testsystem2;
|
|
|
487
489
|
set run_id(value) {
|
|
488
490
|
pb_14.Message.setField(this, 4, value);
|
|
489
491
|
}
|
|
490
|
-
get
|
|
492
|
+
get test_suite_id() {
|
|
491
493
|
return pb_14.Message.getFieldWithDefault(this, 5, "");
|
|
492
494
|
}
|
|
493
|
-
set
|
|
495
|
+
set test_suite_id(value) {
|
|
494
496
|
pb_14.Message.setField(this, 5, value);
|
|
495
497
|
}
|
|
496
498
|
get status() {
|
|
@@ -600,8 +602,8 @@ var testsystem2;
|
|
|
600
602
|
if (data.run_id != null) {
|
|
601
603
|
message.run_id = data.run_id;
|
|
602
604
|
}
|
|
603
|
-
if (data.
|
|
604
|
-
message.
|
|
605
|
+
if (data.test_suite_id != null) {
|
|
606
|
+
message.test_suite_id = data.test_suite_id;
|
|
605
607
|
}
|
|
606
608
|
if (data.status != null) {
|
|
607
609
|
message.status = data.status;
|
|
@@ -661,8 +663,8 @@ var testsystem2;
|
|
|
661
663
|
if (this.run_id != null) {
|
|
662
664
|
data.run_id = this.run_id;
|
|
663
665
|
}
|
|
664
|
-
if (this.
|
|
665
|
-
data.
|
|
666
|
+
if (this.test_suite_id != null) {
|
|
667
|
+
data.test_suite_id = this.test_suite_id;
|
|
666
668
|
}
|
|
667
669
|
if (this.status != null) {
|
|
668
670
|
data.status = this.status;
|
|
@@ -718,8 +720,8 @@ var testsystem2;
|
|
|
718
720
|
writer.writeString(3, this.description);
|
|
719
721
|
if (this.run_id.length)
|
|
720
722
|
writer.writeString(4, this.run_id);
|
|
721
|
-
if (this.
|
|
722
|
-
writer.writeString(5, this.
|
|
723
|
+
if (this.test_suite_id.length)
|
|
724
|
+
writer.writeString(5, this.test_suite_id);
|
|
723
725
|
if (this.status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
724
726
|
writer.writeEnum(6, this.status);
|
|
725
727
|
if (this.has_start_time)
|
|
@@ -774,7 +776,7 @@ var testsystem2;
|
|
|
774
776
|
message.run_id = reader.readString();
|
|
775
777
|
break;
|
|
776
778
|
case 5:
|
|
777
|
-
message.
|
|
779
|
+
message.test_suite_id = reader.readString();
|
|
778
780
|
break;
|
|
779
781
|
case 6:
|
|
780
782
|
message.status = reader.readEnum();
|
|
@@ -846,8 +848,8 @@ var testsystem2;
|
|
|
846
848
|
if ("run_id" in data && data.run_id != void 0) {
|
|
847
849
|
this.run_id = data.run_id;
|
|
848
850
|
}
|
|
849
|
-
if ("
|
|
850
|
-
this.
|
|
851
|
+
if ("test_case_id" in data && data.test_case_id != void 0) {
|
|
852
|
+
this.test_case_id = data.test_case_id;
|
|
851
853
|
}
|
|
852
854
|
if ("title" in data && data.title != void 0) {
|
|
853
855
|
this.title = data.title;
|
|
@@ -888,6 +890,9 @@ var testsystem2;
|
|
|
888
890
|
if ("category" in data && data.category != void 0) {
|
|
889
891
|
this.category = data.category;
|
|
890
892
|
}
|
|
893
|
+
if ("retry_index" in data && data.retry_index != void 0) {
|
|
894
|
+
this.retry_index = data.retry_index;
|
|
895
|
+
}
|
|
891
896
|
}
|
|
892
897
|
if (!this.metadata)
|
|
893
898
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -904,10 +909,10 @@ var testsystem2;
|
|
|
904
909
|
set run_id(value) {
|
|
905
910
|
pb_14.Message.setField(this, 2, value);
|
|
906
911
|
}
|
|
907
|
-
get
|
|
912
|
+
get test_case_id() {
|
|
908
913
|
return pb_14.Message.getFieldWithDefault(this, 3, "");
|
|
909
914
|
}
|
|
910
|
-
set
|
|
915
|
+
set test_case_id(value) {
|
|
911
916
|
pb_14.Message.setField(this, 3, value);
|
|
912
917
|
}
|
|
913
918
|
get title() {
|
|
@@ -994,6 +999,12 @@ var testsystem2;
|
|
|
994
999
|
set category(value) {
|
|
995
1000
|
pb_14.Message.setField(this, 16, value);
|
|
996
1001
|
}
|
|
1002
|
+
get retry_index() {
|
|
1003
|
+
return pb_14.Message.getFieldWithDefault(this, 17, 0);
|
|
1004
|
+
}
|
|
1005
|
+
set retry_index(value) {
|
|
1006
|
+
pb_14.Message.setField(this, 17, value);
|
|
1007
|
+
}
|
|
997
1008
|
static fromObject(data) {
|
|
998
1009
|
const message = new _StepRun({});
|
|
999
1010
|
if (data.id != null) {
|
|
@@ -1002,8 +1013,8 @@ var testsystem2;
|
|
|
1002
1013
|
if (data.run_id != null) {
|
|
1003
1014
|
message.run_id = data.run_id;
|
|
1004
1015
|
}
|
|
1005
|
-
if (data.
|
|
1006
|
-
message.
|
|
1016
|
+
if (data.test_case_id != null) {
|
|
1017
|
+
message.test_case_id = data.test_case_id;
|
|
1007
1018
|
}
|
|
1008
1019
|
if (data.title != null) {
|
|
1009
1020
|
message.title = data.title;
|
|
@@ -1044,6 +1055,9 @@ var testsystem2;
|
|
|
1044
1055
|
if (data.category != null) {
|
|
1045
1056
|
message.category = data.category;
|
|
1046
1057
|
}
|
|
1058
|
+
if (data.retry_index != null) {
|
|
1059
|
+
message.retry_index = data.retry_index;
|
|
1060
|
+
}
|
|
1047
1061
|
return message;
|
|
1048
1062
|
}
|
|
1049
1063
|
toObject() {
|
|
@@ -1054,8 +1068,8 @@ var testsystem2;
|
|
|
1054
1068
|
if (this.run_id != null) {
|
|
1055
1069
|
data.run_id = this.run_id;
|
|
1056
1070
|
}
|
|
1057
|
-
if (this.
|
|
1058
|
-
data.
|
|
1071
|
+
if (this.test_case_id != null) {
|
|
1072
|
+
data.test_case_id = this.test_case_id;
|
|
1059
1073
|
}
|
|
1060
1074
|
if (this.title != null) {
|
|
1061
1075
|
data.title = this.title;
|
|
@@ -1096,6 +1110,9 @@ var testsystem2;
|
|
|
1096
1110
|
if (this.category != null) {
|
|
1097
1111
|
data.category = this.category;
|
|
1098
1112
|
}
|
|
1113
|
+
if (this.retry_index != null) {
|
|
1114
|
+
data.retry_index = this.retry_index;
|
|
1115
|
+
}
|
|
1099
1116
|
return data;
|
|
1100
1117
|
}
|
|
1101
1118
|
serialize(w) {
|
|
@@ -1104,8 +1121,8 @@ var testsystem2;
|
|
|
1104
1121
|
writer.writeString(1, this.id);
|
|
1105
1122
|
if (this.run_id.length)
|
|
1106
1123
|
writer.writeString(2, this.run_id);
|
|
1107
|
-
if (this.
|
|
1108
|
-
writer.writeString(3, this.
|
|
1124
|
+
if (this.test_case_id.length)
|
|
1125
|
+
writer.writeString(3, this.test_case_id);
|
|
1109
1126
|
if (this.title.length)
|
|
1110
1127
|
writer.writeString(4, this.title);
|
|
1111
1128
|
if (this.description.length)
|
|
@@ -1136,6 +1153,8 @@ var testsystem2;
|
|
|
1136
1153
|
writer.writeString(15, this.location);
|
|
1137
1154
|
if (this.category.length)
|
|
1138
1155
|
writer.writeString(16, this.category);
|
|
1156
|
+
if (this.retry_index != 0)
|
|
1157
|
+
writer.writeInt32(17, this.retry_index);
|
|
1139
1158
|
if (!w)
|
|
1140
1159
|
return writer.getResultBuffer();
|
|
1141
1160
|
}
|
|
@@ -1152,7 +1171,7 @@ var testsystem2;
|
|
|
1152
1171
|
message.run_id = reader.readString();
|
|
1153
1172
|
break;
|
|
1154
1173
|
case 3:
|
|
1155
|
-
message.
|
|
1174
|
+
message.test_case_id = reader.readString();
|
|
1156
1175
|
break;
|
|
1157
1176
|
case 4:
|
|
1158
1177
|
message.title = reader.readString();
|
|
@@ -1193,6 +1212,9 @@ var testsystem2;
|
|
|
1193
1212
|
case 16:
|
|
1194
1213
|
message.category = reader.readString();
|
|
1195
1214
|
break;
|
|
1215
|
+
case 17:
|
|
1216
|
+
message.retry_index = reader.readInt32();
|
|
1217
|
+
break;
|
|
1196
1218
|
default:
|
|
1197
1219
|
reader.skipField();
|
|
1198
1220
|
}
|
|
@@ -1227,6 +1249,7 @@ var testsystem3;
|
|
|
1227
1249
|
SuiteType2[SuiteType2["ROOT"] = 0] = "ROOT";
|
|
1228
1250
|
SuiteType2[SuiteType2["PROJECT"] = 1] = "PROJECT";
|
|
1229
1251
|
SuiteType2[SuiteType2["SUBSUITE"] = 2] = "SUBSUITE";
|
|
1252
|
+
SuiteType2[SuiteType2["FILE"] = 3] = "FILE";
|
|
1230
1253
|
})(SuiteType = entities2.SuiteType || (entities2.SuiteType = {}));
|
|
1231
1254
|
const _TestSuiteRun = class _TestSuiteRun extends pb_15.Message {
|
|
1232
1255
|
constructor(data) {
|
|
@@ -2805,7 +2828,7 @@ var testsystem4;
|
|
|
2805
2828
|
_one_of_decls11 = new WeakMap();
|
|
2806
2829
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2807
2830
|
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2808
|
-
const
|
|
2831
|
+
const _ReportRunStartEventRequest = class _ReportRunStartEventRequest extends pb_16.Message {
|
|
2809
2832
|
constructor(data) {
|
|
2810
2833
|
super();
|
|
2811
2834
|
__privateAdd(this, _one_of_decls12, []);
|
|
@@ -2861,7 +2884,7 @@ var testsystem4;
|
|
|
2861
2884
|
pb_16.Message.setField(this, 5, value);
|
|
2862
2885
|
}
|
|
2863
2886
|
static fromObject(data) {
|
|
2864
|
-
const message = new
|
|
2887
|
+
const message = new _ReportRunStartEventRequest({});
|
|
2865
2888
|
if (data.run_id != null) {
|
|
2866
2889
|
message.run_id = data.run_id;
|
|
2867
2890
|
}
|
|
@@ -2918,7 +2941,7 @@ var testsystem4;
|
|
|
2918
2941
|
return writer.getResultBuffer();
|
|
2919
2942
|
}
|
|
2920
2943
|
static deserialize(bytes) {
|
|
2921
|
-
const reader = bytes instanceof pb_16.BinaryReader ? bytes : new pb_16.BinaryReader(bytes), message = new
|
|
2944
|
+
const reader = bytes instanceof pb_16.BinaryReader ? bytes : new pb_16.BinaryReader(bytes), message = new _ReportRunStartEventRequest();
|
|
2922
2945
|
while (reader.nextField()) {
|
|
2923
2946
|
if (reader.isEndGroup())
|
|
2924
2947
|
break;
|
|
@@ -2948,12 +2971,12 @@ var testsystem4;
|
|
|
2948
2971
|
return this.serialize();
|
|
2949
2972
|
}
|
|
2950
2973
|
static deserializeBinary(bytes) {
|
|
2951
|
-
return
|
|
2974
|
+
return _ReportRunStartEventRequest.deserialize(bytes);
|
|
2952
2975
|
}
|
|
2953
2976
|
};
|
|
2954
2977
|
_one_of_decls12 = new WeakMap();
|
|
2955
|
-
let
|
|
2956
|
-
events2.
|
|
2978
|
+
let ReportRunStartEventRequest = _ReportRunStartEventRequest;
|
|
2979
|
+
events2.ReportRunStartEventRequest = _ReportRunStartEventRequest;
|
|
2957
2980
|
const _TestRunEndEventRequest = class _TestRunEndEventRequest extends pb_16.Message {
|
|
2958
2981
|
constructor(data) {
|
|
2959
2982
|
super();
|
|
@@ -3213,12 +3236,12 @@ var testsystem5;
|
|
|
3213
3236
|
class UnimplementedTestEventCollectorService {
|
|
3214
3237
|
}
|
|
3215
3238
|
UnimplementedTestEventCollectorService.definition = {
|
|
3216
|
-
|
|
3217
|
-
path: "/testsystem.v1.observer.TestEventCollector/
|
|
3239
|
+
ReportRunStart: {
|
|
3240
|
+
path: "/testsystem.v1.observer.TestEventCollector/ReportRunStart",
|
|
3218
3241
|
requestStream: false,
|
|
3219
3242
|
responseStream: false,
|
|
3220
3243
|
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
3221
|
-
requestDeserialize: (bytes) => testsystem4.v1.events.
|
|
3244
|
+
requestDeserialize: (bytes) => testsystem4.v1.events.ReportRunStartEventRequest.deserialize(new Uint8Array(bytes)),
|
|
3222
3245
|
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
3223
3246
|
responseDeserialize: (bytes) => AckResponse2.deserialize(new Uint8Array(bytes))
|
|
3224
3247
|
},
|
|
@@ -3335,8 +3358,8 @@ var testsystem5;
|
|
|
3335
3358
|
class TestEventCollectorClient2 extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
3336
3359
|
constructor(address, credentials, options) {
|
|
3337
3360
|
super(address, credentials, options);
|
|
3338
|
-
this.
|
|
3339
|
-
return super.
|
|
3361
|
+
this.ReportRunStart = (message, metadata, options, callback) => {
|
|
3362
|
+
return super.ReportRunStart(message, metadata, options, callback);
|
|
3340
3363
|
};
|
|
3341
3364
|
this.ReportSuiteBegin = (message, metadata, options, callback) => {
|
|
3342
3365
|
return super.ReportSuiteBegin(message, metadata, options, callback);
|