@stanterprise/protobuf 0.0.11 → 0.0.14
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/README.md +24 -0
- package/dist/chunk-4NKV5THZ.mjs +1507 -0
- package/dist/chunk-4NKV5THZ.mjs.map +1 -0
- package/dist/chunk-BS6UMTC7.mjs +29 -0
- package/dist/chunk-BS6UMTC7.mjs.map +1 -0
- package/dist/chunk-F6CKBSG3.mjs +294 -0
- package/dist/chunk-F6CKBSG3.mjs.map +1 -0
- package/dist/chunk-JOH5DJAY.mjs +26 -0
- package/dist/chunk-JOH5DJAY.mjs.map +1 -0
- package/dist/chunk-OYBN67JW.mjs +52 -0
- package/dist/chunk-OYBN67JW.mjs.map +1 -0
- package/dist/chunk-S5P2S67H.mjs +20 -0
- package/dist/chunk-S5P2S67H.mjs.map +1 -0
- package/dist/chunk-TJOHFA2M.mjs +1217 -0
- package/dist/chunk-TJOHFA2M.mjs.map +1 -0
- package/dist/chunk-VBR2HXFF.mjs +179 -0
- package/dist/chunk-VBR2HXFF.mjs.map +1 -0
- package/dist/chunk-YYTEIJXG.mjs +22 -0
- package/dist/chunk-YYTEIJXG.mjs.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +204 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -2981
- package/dist/index.mjs.map +1 -1
- package/dist/lib/index.d.ts +2 -7
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +44 -0
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/observer/observer.d.ts +11 -0
- package/dist/lib/testsystem/v1/observer/observer.d.ts.map +1 -1
- package/dist/testsystem/index.d.ts +2 -0
- package/dist/testsystem/index.d.ts.map +1 -0
- package/dist/testsystem/index.js +3252 -0
- package/dist/testsystem/index.js.map +1 -0
- package/dist/testsystem/index.mjs +15 -0
- package/dist/testsystem/index.mjs.map +1 -0
- package/dist/testsystem/v1/common/index.d.ts +6 -0
- package/dist/testsystem/v1/common/index.d.ts.map +1 -0
- package/dist/testsystem/v1/common/index.js +212 -0
- package/dist/testsystem/v1/common/index.js.map +1 -0
- package/dist/testsystem/v1/common/index.mjs +10 -0
- package/dist/testsystem/v1/common/index.mjs.map +1 -0
- package/dist/testsystem/v1/entities/index.d.ts +9 -0
- package/dist/testsystem/v1/entities/index.d.ts.map +1 -0
- package/dist/testsystem/v1/entities/index.js +1704 -0
- package/dist/testsystem/v1/entities/index.js.map +1 -0
- package/dist/testsystem/v1/entities/index.mjs +13 -0
- package/dist/testsystem/v1/entities/index.mjs.map +1 -0
- package/dist/testsystem/v1/events/index.d.ts +26 -0
- package/dist/testsystem/v1/events/index.d.ts.map +1 -0
- package/dist/testsystem/v1/events/index.js +2933 -0
- package/dist/testsystem/v1/events/index.js.map +1 -0
- package/dist/testsystem/v1/events/index.mjs +32 -0
- package/dist/testsystem/v1/events/index.mjs.map +1 -0
- package/dist/testsystem/v1/index.d.ts +5 -0
- package/dist/testsystem/v1/index.d.ts.map +1 -0
- package/dist/testsystem/v1/index.js +3249 -0
- package/dist/testsystem/v1/index.js.map +1 -0
- package/dist/testsystem/v1/index.mjs +24 -0
- package/dist/testsystem/v1/index.mjs.map +1 -0
- package/dist/testsystem/v1/observer/index.d.ts +6 -0
- package/dist/testsystem/v1/observer/index.d.ts.map +1 -0
- package/dist/testsystem/v1/observer/index.js +3185 -0
- package/dist/testsystem/v1/observer/index.js.map +1 -0
- package/dist/testsystem/v1/observer/index.mjs +13 -0
- package/dist/testsystem/v1/observer/index.mjs.map +1 -0
- package/lib/index.ts +44 -17
- package/lib/testsystem/v1/events/events.ts +182 -0
- package/lib/testsystem/v1/observer/observer.ts +13 -0
- package/package.json +34 -2
package/dist/index.js
CHANGED
|
@@ -1707,7 +1707,7 @@ var testsystem4;
|
|
|
1707
1707
|
((v12) => {
|
|
1708
1708
|
let events;
|
|
1709
1709
|
((events2) => {
|
|
1710
|
-
var _one_of_decls, _one_of_decls2, _one_of_decls3, _one_of_decls4, _one_of_decls5, _one_of_decls6, _one_of_decls7, _one_of_decls8, _one_of_decls9, _one_of_decls10, _one_of_decls11;
|
|
1710
|
+
var _one_of_decls, _one_of_decls2, _one_of_decls3, _one_of_decls4, _one_of_decls5, _one_of_decls6, _one_of_decls7, _one_of_decls8, _one_of_decls9, _one_of_decls10, _one_of_decls11, _one_of_decls12;
|
|
1711
1711
|
const _TestBeginEventRequest = class _TestBeginEventRequest extends pb_16.Message {
|
|
1712
1712
|
constructor(data) {
|
|
1713
1713
|
super();
|
|
@@ -1993,6 +1993,9 @@ var testsystem4;
|
|
|
1993
1993
|
if ("attachments" in data && data.attachments != void 0) {
|
|
1994
1994
|
this.attachments = data.attachments;
|
|
1995
1995
|
}
|
|
1996
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
1997
|
+
this.run_id = data.run_id;
|
|
1998
|
+
}
|
|
1996
1999
|
}
|
|
1997
2000
|
}
|
|
1998
2001
|
get test_id() {
|
|
@@ -2028,6 +2031,12 @@ var testsystem4;
|
|
|
2028
2031
|
set attachments(value) {
|
|
2029
2032
|
pb_16.Message.setRepeatedWrapperField(this, 5, value);
|
|
2030
2033
|
}
|
|
2034
|
+
get run_id() {
|
|
2035
|
+
return pb_16.Message.getFieldWithDefault(this, 6, "");
|
|
2036
|
+
}
|
|
2037
|
+
set run_id(value) {
|
|
2038
|
+
pb_16.Message.setField(this, 6, value);
|
|
2039
|
+
}
|
|
2031
2040
|
static fromObject(data) {
|
|
2032
2041
|
const message = new _TestFailureEventRequest({});
|
|
2033
2042
|
if (data.test_id != null) {
|
|
@@ -2045,6 +2054,9 @@ var testsystem4;
|
|
|
2045
2054
|
if (data.attachments != null) {
|
|
2046
2055
|
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
2047
2056
|
}
|
|
2057
|
+
if (data.run_id != null) {
|
|
2058
|
+
message.run_id = data.run_id;
|
|
2059
|
+
}
|
|
2048
2060
|
return message;
|
|
2049
2061
|
}
|
|
2050
2062
|
toObject() {
|
|
@@ -2064,6 +2076,9 @@ var testsystem4;
|
|
|
2064
2076
|
if (this.attachments != null) {
|
|
2065
2077
|
data.attachments = this.attachments.map((item) => item.toObject());
|
|
2066
2078
|
}
|
|
2079
|
+
if (this.run_id != null) {
|
|
2080
|
+
data.run_id = this.run_id;
|
|
2081
|
+
}
|
|
2067
2082
|
return data;
|
|
2068
2083
|
}
|
|
2069
2084
|
serialize(w) {
|
|
@@ -2078,6 +2093,8 @@ var testsystem4;
|
|
|
2078
2093
|
writer.writeMessage(4, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2079
2094
|
if (this.attachments.length)
|
|
2080
2095
|
writer.writeRepeatedMessage(5, this.attachments, (item) => item.serialize(writer));
|
|
2096
|
+
if (this.run_id.length)
|
|
2097
|
+
writer.writeString(6, this.run_id);
|
|
2081
2098
|
if (!w)
|
|
2082
2099
|
return writer.getResultBuffer();
|
|
2083
2100
|
}
|
|
@@ -2102,6 +2119,9 @@ var testsystem4;
|
|
|
2102
2119
|
case 5:
|
|
2103
2120
|
reader.readMessage(message.attachments, () => pb_16.Message.addToRepeatedWrapperField(message, 5, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
2104
2121
|
break;
|
|
2122
|
+
case 6:
|
|
2123
|
+
message.run_id = reader.readString();
|
|
2124
|
+
break;
|
|
2105
2125
|
default:
|
|
2106
2126
|
reader.skipField();
|
|
2107
2127
|
}
|
|
@@ -2139,6 +2159,9 @@ var testsystem4;
|
|
|
2139
2159
|
if ("attachments" in data && data.attachments != void 0) {
|
|
2140
2160
|
this.attachments = data.attachments;
|
|
2141
2161
|
}
|
|
2162
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
2163
|
+
this.run_id = data.run_id;
|
|
2164
|
+
}
|
|
2142
2165
|
}
|
|
2143
2166
|
}
|
|
2144
2167
|
get test_id() {
|
|
@@ -2174,6 +2197,12 @@ var testsystem4;
|
|
|
2174
2197
|
set attachments(value) {
|
|
2175
2198
|
pb_16.Message.setRepeatedWrapperField(this, 5, value);
|
|
2176
2199
|
}
|
|
2200
|
+
get run_id() {
|
|
2201
|
+
return pb_16.Message.getFieldWithDefault(this, 6, "");
|
|
2202
|
+
}
|
|
2203
|
+
set run_id(value) {
|
|
2204
|
+
pb_16.Message.setField(this, 6, value);
|
|
2205
|
+
}
|
|
2177
2206
|
static fromObject(data) {
|
|
2178
2207
|
const message = new _TestErrorEventRequest({});
|
|
2179
2208
|
if (data.test_id != null) {
|
|
@@ -2191,6 +2220,9 @@ var testsystem4;
|
|
|
2191
2220
|
if (data.attachments != null) {
|
|
2192
2221
|
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
2193
2222
|
}
|
|
2223
|
+
if (data.run_id != null) {
|
|
2224
|
+
message.run_id = data.run_id;
|
|
2225
|
+
}
|
|
2194
2226
|
return message;
|
|
2195
2227
|
}
|
|
2196
2228
|
toObject() {
|
|
@@ -2210,6 +2242,9 @@ var testsystem4;
|
|
|
2210
2242
|
if (this.attachments != null) {
|
|
2211
2243
|
data.attachments = this.attachments.map((item) => item.toObject());
|
|
2212
2244
|
}
|
|
2245
|
+
if (this.run_id != null) {
|
|
2246
|
+
data.run_id = this.run_id;
|
|
2247
|
+
}
|
|
2213
2248
|
return data;
|
|
2214
2249
|
}
|
|
2215
2250
|
serialize(w) {
|
|
@@ -2224,6 +2259,8 @@ var testsystem4;
|
|
|
2224
2259
|
writer.writeMessage(4, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2225
2260
|
if (this.attachments.length)
|
|
2226
2261
|
writer.writeRepeatedMessage(5, this.attachments, (item) => item.serialize(writer));
|
|
2262
|
+
if (this.run_id.length)
|
|
2263
|
+
writer.writeString(6, this.run_id);
|
|
2227
2264
|
if (!w)
|
|
2228
2265
|
return writer.getResultBuffer();
|
|
2229
2266
|
}
|
|
@@ -2248,6 +2285,9 @@ var testsystem4;
|
|
|
2248
2285
|
case 5:
|
|
2249
2286
|
reader.readMessage(message.attachments, () => pb_16.Message.addToRepeatedWrapperField(message, 5, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
2250
2287
|
break;
|
|
2288
|
+
case 6:
|
|
2289
|
+
message.run_id = reader.readString();
|
|
2290
|
+
break;
|
|
2251
2291
|
default:
|
|
2252
2292
|
reader.skipField();
|
|
2253
2293
|
}
|
|
@@ -2282,6 +2322,9 @@ var testsystem4;
|
|
|
2282
2322
|
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2283
2323
|
this.test_case_run_id = data.test_case_run_id;
|
|
2284
2324
|
}
|
|
2325
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
2326
|
+
this.run_id = data.run_id;
|
|
2327
|
+
}
|
|
2285
2328
|
}
|
|
2286
2329
|
}
|
|
2287
2330
|
get test_id() {
|
|
@@ -2311,6 +2354,12 @@ var testsystem4;
|
|
|
2311
2354
|
set test_case_run_id(value) {
|
|
2312
2355
|
pb_16.Message.setField(this, 4, value);
|
|
2313
2356
|
}
|
|
2357
|
+
get run_id() {
|
|
2358
|
+
return pb_16.Message.getFieldWithDefault(this, 5, "");
|
|
2359
|
+
}
|
|
2360
|
+
set run_id(value) {
|
|
2361
|
+
pb_16.Message.setField(this, 5, value);
|
|
2362
|
+
}
|
|
2314
2363
|
static fromObject(data) {
|
|
2315
2364
|
const message = new _StdErrorEventRequest({});
|
|
2316
2365
|
if (data.test_id != null) {
|
|
@@ -2325,6 +2374,9 @@ var testsystem4;
|
|
|
2325
2374
|
if (data.test_case_run_id != null) {
|
|
2326
2375
|
message.test_case_run_id = data.test_case_run_id;
|
|
2327
2376
|
}
|
|
2377
|
+
if (data.run_id != null) {
|
|
2378
|
+
message.run_id = data.run_id;
|
|
2379
|
+
}
|
|
2328
2380
|
return message;
|
|
2329
2381
|
}
|
|
2330
2382
|
toObject() {
|
|
@@ -2341,6 +2393,9 @@ var testsystem4;
|
|
|
2341
2393
|
if (this.test_case_run_id != null) {
|
|
2342
2394
|
data.test_case_run_id = this.test_case_run_id;
|
|
2343
2395
|
}
|
|
2396
|
+
if (this.run_id != null) {
|
|
2397
|
+
data.run_id = this.run_id;
|
|
2398
|
+
}
|
|
2344
2399
|
return data;
|
|
2345
2400
|
}
|
|
2346
2401
|
serialize(w) {
|
|
@@ -2353,6 +2408,8 @@ var testsystem4;
|
|
|
2353
2408
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2354
2409
|
if (this.test_case_run_id.length)
|
|
2355
2410
|
writer.writeString(4, this.test_case_run_id);
|
|
2411
|
+
if (this.run_id.length)
|
|
2412
|
+
writer.writeString(5, this.run_id);
|
|
2356
2413
|
if (!w)
|
|
2357
2414
|
return writer.getResultBuffer();
|
|
2358
2415
|
}
|
|
@@ -2374,6 +2431,9 @@ var testsystem4;
|
|
|
2374
2431
|
case 4:
|
|
2375
2432
|
message.test_case_run_id = reader.readString();
|
|
2376
2433
|
break;
|
|
2434
|
+
case 5:
|
|
2435
|
+
message.run_id = reader.readString();
|
|
2436
|
+
break;
|
|
2377
2437
|
default:
|
|
2378
2438
|
reader.skipField();
|
|
2379
2439
|
}
|
|
@@ -2408,6 +2468,9 @@ var testsystem4;
|
|
|
2408
2468
|
if ("test_case_run_id" in data && data.test_case_run_id != void 0) {
|
|
2409
2469
|
this.test_case_run_id = data.test_case_run_id;
|
|
2410
2470
|
}
|
|
2471
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
2472
|
+
this.run_id = data.run_id;
|
|
2473
|
+
}
|
|
2411
2474
|
}
|
|
2412
2475
|
}
|
|
2413
2476
|
get test_id() {
|
|
@@ -2437,6 +2500,12 @@ var testsystem4;
|
|
|
2437
2500
|
set test_case_run_id(value) {
|
|
2438
2501
|
pb_16.Message.setField(this, 4, value);
|
|
2439
2502
|
}
|
|
2503
|
+
get run_id() {
|
|
2504
|
+
return pb_16.Message.getFieldWithDefault(this, 5, "");
|
|
2505
|
+
}
|
|
2506
|
+
set run_id(value) {
|
|
2507
|
+
pb_16.Message.setField(this, 5, value);
|
|
2508
|
+
}
|
|
2440
2509
|
static fromObject(data) {
|
|
2441
2510
|
const message = new _StdOutputEventRequest({});
|
|
2442
2511
|
if (data.test_id != null) {
|
|
@@ -2451,6 +2520,9 @@ var testsystem4;
|
|
|
2451
2520
|
if (data.test_case_run_id != null) {
|
|
2452
2521
|
message.test_case_run_id = data.test_case_run_id;
|
|
2453
2522
|
}
|
|
2523
|
+
if (data.run_id != null) {
|
|
2524
|
+
message.run_id = data.run_id;
|
|
2525
|
+
}
|
|
2454
2526
|
return message;
|
|
2455
2527
|
}
|
|
2456
2528
|
toObject() {
|
|
@@ -2467,6 +2539,9 @@ var testsystem4;
|
|
|
2467
2539
|
if (this.test_case_run_id != null) {
|
|
2468
2540
|
data.test_case_run_id = this.test_case_run_id;
|
|
2469
2541
|
}
|
|
2542
|
+
if (this.run_id != null) {
|
|
2543
|
+
data.run_id = this.run_id;
|
|
2544
|
+
}
|
|
2470
2545
|
return data;
|
|
2471
2546
|
}
|
|
2472
2547
|
serialize(w) {
|
|
@@ -2479,6 +2554,8 @@ var testsystem4;
|
|
|
2479
2554
|
writer.writeMessage(3, this.timestamp, () => this.timestamp.serialize(writer));
|
|
2480
2555
|
if (this.test_case_run_id.length)
|
|
2481
2556
|
writer.writeString(4, this.test_case_run_id);
|
|
2557
|
+
if (this.run_id.length)
|
|
2558
|
+
writer.writeString(5, this.run_id);
|
|
2482
2559
|
if (!w)
|
|
2483
2560
|
return writer.getResultBuffer();
|
|
2484
2561
|
}
|
|
@@ -2500,6 +2577,9 @@ var testsystem4;
|
|
|
2500
2577
|
case 4:
|
|
2501
2578
|
message.test_case_run_id = reader.readString();
|
|
2502
2579
|
break;
|
|
2580
|
+
case 5:
|
|
2581
|
+
message.run_id = reader.readString();
|
|
2582
|
+
break;
|
|
2503
2583
|
default:
|
|
2504
2584
|
reader.skipField();
|
|
2505
2585
|
}
|
|
@@ -2734,6 +2814,89 @@ var testsystem4;
|
|
|
2734
2814
|
_one_of_decls11 = new WeakMap();
|
|
2735
2815
|
let HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2736
2816
|
events2.HeartbeatEventRequest = _HeartbeatEventRequest;
|
|
2817
|
+
const _MapTestRunEventRequest = class _MapTestRunEventRequest extends pb_16.Message {
|
|
2818
|
+
constructor(data) {
|
|
2819
|
+
super();
|
|
2820
|
+
__privateAdd(this, _one_of_decls12, []);
|
|
2821
|
+
pb_16.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2], __privateGet(this, _one_of_decls12));
|
|
2822
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
2823
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
2824
|
+
this.run_id = data.run_id;
|
|
2825
|
+
}
|
|
2826
|
+
if ("test_suites" in data && data.test_suites != void 0) {
|
|
2827
|
+
this.test_suites = data.test_suites;
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
get run_id() {
|
|
2832
|
+
return pb_16.Message.getFieldWithDefault(this, 1, "");
|
|
2833
|
+
}
|
|
2834
|
+
set run_id(value) {
|
|
2835
|
+
pb_16.Message.setField(this, 1, value);
|
|
2836
|
+
}
|
|
2837
|
+
get test_suites() {
|
|
2838
|
+
return pb_16.Message.getRepeatedWrapperField(this, testsystem3.v1.entities.TestSuiteRun, 2);
|
|
2839
|
+
}
|
|
2840
|
+
set test_suites(value) {
|
|
2841
|
+
pb_16.Message.setRepeatedWrapperField(this, 2, value);
|
|
2842
|
+
}
|
|
2843
|
+
static fromObject(data) {
|
|
2844
|
+
const message = new _MapTestRunEventRequest({});
|
|
2845
|
+
if (data.run_id != null) {
|
|
2846
|
+
message.run_id = data.run_id;
|
|
2847
|
+
}
|
|
2848
|
+
if (data.test_suites != null) {
|
|
2849
|
+
message.test_suites = data.test_suites.map((item) => testsystem3.v1.entities.TestSuiteRun.fromObject(item));
|
|
2850
|
+
}
|
|
2851
|
+
return message;
|
|
2852
|
+
}
|
|
2853
|
+
toObject() {
|
|
2854
|
+
const data = {};
|
|
2855
|
+
if (this.run_id != null) {
|
|
2856
|
+
data.run_id = this.run_id;
|
|
2857
|
+
}
|
|
2858
|
+
if (this.test_suites != null) {
|
|
2859
|
+
data.test_suites = this.test_suites.map((item) => item.toObject());
|
|
2860
|
+
}
|
|
2861
|
+
return data;
|
|
2862
|
+
}
|
|
2863
|
+
serialize(w) {
|
|
2864
|
+
const writer = w || new pb_16.BinaryWriter();
|
|
2865
|
+
if (this.run_id.length)
|
|
2866
|
+
writer.writeString(1, this.run_id);
|
|
2867
|
+
if (this.test_suites.length)
|
|
2868
|
+
writer.writeRepeatedMessage(2, this.test_suites, (item) => item.serialize(writer));
|
|
2869
|
+
if (!w)
|
|
2870
|
+
return writer.getResultBuffer();
|
|
2871
|
+
}
|
|
2872
|
+
static deserialize(bytes) {
|
|
2873
|
+
const reader = bytes instanceof pb_16.BinaryReader ? bytes : new pb_16.BinaryReader(bytes), message = new _MapTestRunEventRequest();
|
|
2874
|
+
while (reader.nextField()) {
|
|
2875
|
+
if (reader.isEndGroup())
|
|
2876
|
+
break;
|
|
2877
|
+
switch (reader.getFieldNumber()) {
|
|
2878
|
+
case 1:
|
|
2879
|
+
message.run_id = reader.readString();
|
|
2880
|
+
break;
|
|
2881
|
+
case 2:
|
|
2882
|
+
reader.readMessage(message.test_suites, () => pb_16.Message.addToRepeatedWrapperField(message, 2, testsystem3.v1.entities.TestSuiteRun.deserialize(reader), testsystem3.v1.entities.TestSuiteRun));
|
|
2883
|
+
break;
|
|
2884
|
+
default:
|
|
2885
|
+
reader.skipField();
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
return message;
|
|
2889
|
+
}
|
|
2890
|
+
serializeBinary() {
|
|
2891
|
+
return this.serialize();
|
|
2892
|
+
}
|
|
2893
|
+
static deserializeBinary(bytes) {
|
|
2894
|
+
return _MapTestRunEventRequest.deserialize(bytes);
|
|
2895
|
+
}
|
|
2896
|
+
};
|
|
2897
|
+
_one_of_decls12 = new WeakMap();
|
|
2898
|
+
let MapTestRunEventRequest = _MapTestRunEventRequest;
|
|
2899
|
+
events2.MapTestRunEventRequest = _MapTestRunEventRequest;
|
|
2737
2900
|
})(events = v12.events || (v12.events = {}));
|
|
2738
2901
|
})(v1 = testsystem7.v1 || (testsystem7.v1 = {}));
|
|
2739
2902
|
})(testsystem4 || (testsystem4 = {}));
|
|
@@ -2864,6 +3027,15 @@ var testsystem5;
|
|
|
2864
3027
|
class UnimplementedTestEventCollectorService {
|
|
2865
3028
|
}
|
|
2866
3029
|
UnimplementedTestEventCollectorService.definition = {
|
|
3030
|
+
MapTestRun: {
|
|
3031
|
+
path: "/testsystem.v1.observer.TestEventCollector/MapTestRun",
|
|
3032
|
+
requestStream: false,
|
|
3033
|
+
responseStream: false,
|
|
3034
|
+
requestSerialize: (message) => Buffer.from(message.serialize()),
|
|
3035
|
+
requestDeserialize: (bytes) => testsystem4.v1.events.MapTestRunEventRequest.deserialize(new Uint8Array(bytes)),
|
|
3036
|
+
responseSerialize: (message) => Buffer.from(message.serialize()),
|
|
3037
|
+
responseDeserialize: (bytes) => AckResponse.deserialize(new Uint8Array(bytes))
|
|
3038
|
+
},
|
|
2867
3039
|
ReportSuiteBegin: {
|
|
2868
3040
|
path: "/testsystem.v1.observer.TestEventCollector/ReportSuiteBegin",
|
|
2869
3041
|
requestStream: false,
|
|
@@ -2968,6 +3140,9 @@ var testsystem5;
|
|
|
2968
3140
|
class TestEventCollectorClient extends grpc_1.makeGenericClientConstructor(UnimplementedTestEventCollectorService.definition, "TestEventCollector", {}) {
|
|
2969
3141
|
constructor(address, credentials, options) {
|
|
2970
3142
|
super(address, credentials, options);
|
|
3143
|
+
this.MapTestRun = (message, metadata, options, callback) => {
|
|
3144
|
+
return super.MapTestRun(message, metadata, options, callback);
|
|
3145
|
+
};
|
|
2971
3146
|
this.ReportSuiteBegin = (message, metadata, options, callback) => {
|
|
2972
3147
|
return super.ReportSuiteBegin(message, metadata, options, callback);
|
|
2973
3148
|
};
|
|
@@ -3009,14 +3184,34 @@ var testsystem5;
|
|
|
3009
3184
|
})(testsystem5 || (testsystem5 = {}));
|
|
3010
3185
|
|
|
3011
3186
|
// lib/index.ts
|
|
3012
|
-
|
|
3013
|
-
{
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
)
|
|
3187
|
+
function isPlainObject(value) {
|
|
3188
|
+
if (value === null || typeof value !== "object") {
|
|
3189
|
+
return false;
|
|
3190
|
+
}
|
|
3191
|
+
const proto = Object.getPrototypeOf(value);
|
|
3192
|
+
return proto === Object.prototype || proto === null;
|
|
3193
|
+
}
|
|
3194
|
+
function deepMerge(target, ...sources) {
|
|
3195
|
+
for (const source of sources) {
|
|
3196
|
+
for (const key of Object.keys(source)) {
|
|
3197
|
+
const sourceValue = source[key];
|
|
3198
|
+
if (isPlainObject(sourceValue)) {
|
|
3199
|
+
const targetValue = target[key];
|
|
3200
|
+
if (!isPlainObject(targetValue)) {
|
|
3201
|
+
target[key] = {};
|
|
3202
|
+
}
|
|
3203
|
+
deepMerge(
|
|
3204
|
+
target[key],
|
|
3205
|
+
sourceValue
|
|
3206
|
+
);
|
|
3207
|
+
} else {
|
|
3208
|
+
target[key] = sourceValue;
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
return target;
|
|
3213
|
+
}
|
|
3214
|
+
var testsystem6 = deepMerge({}, testsystem, testsystem2, testsystem3, testsystem4, testsystem5);
|
|
3020
3215
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3021
3216
|
0 && (module.exports = {
|
|
3022
3217
|
common,
|