@stanterprise/protobuf 0.0.16 → 0.0.17
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-ZQTVNKCI.mjs → chunk-2XDGK4PE.mjs} +2 -2
- package/dist/{chunk-O6ANB3BZ.mjs → chunk-3VVXARSH.mjs} +2 -2
- package/dist/{chunk-OJ7GAR77.mjs → chunk-HQ5G6E3D.mjs} +4 -4
- package/dist/{chunk-OGQKS5OT.mjs → chunk-LJC4OR2K.mjs} +14 -2
- package/dist/chunk-LJC4OR2K.mjs.map +1 -0
- package/dist/{chunk-4NKV5THZ.mjs → chunk-NAR56EZC.mjs} +2 -1
- package/dist/{chunk-AUREWCVS.mjs → chunk-OCVNUP7T.mjs} +2 -2
- package/dist/{chunk-3RZUJDZJ.mjs → chunk-VZW7JSLB.mjs} +133 -3
- package/dist/chunk-VZW7JSLB.mjs.map +1 -0
- package/dist/index.js +142 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/lib/testsystem/v1/events/events.d.ts +37 -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.js +142 -1
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +7 -7
- package/dist/testsystem/v1/entities/index.mjs +2 -2
- package/dist/testsystem/v1/events/index.js +130 -1
- package/dist/testsystem/v1/events/index.js.map +1 -1
- package/dist/testsystem/v1/events/index.mjs +3 -3
- package/dist/testsystem/v1/index.js +142 -1
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +7 -7
- package/dist/testsystem/v1/observer/index.js +142 -1
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +4 -4
- package/lib/testsystem/v1/events/events.ts +143 -0
- package/lib/testsystem/v1/observer/observer.ts +13 -0
- package/package.json +1 -1
- package/dist/chunk-3RZUJDZJ.mjs.map +0 -1
- package/dist/chunk-OGQKS5OT.mjs.map +0 -1
- /package/dist/{chunk-ZQTVNKCI.mjs.map → chunk-2XDGK4PE.mjs.map} +0 -0
- /package/dist/{chunk-O6ANB3BZ.mjs.map → chunk-3VVXARSH.mjs.map} +0 -0
- /package/dist/{chunk-OJ7GAR77.mjs.map → chunk-HQ5G6E3D.mjs.map} +0 -0
- /package/dist/{chunk-4NKV5THZ.mjs.map → chunk-NAR56EZC.mjs.map} +0 -0
- /package/dist/{chunk-AUREWCVS.mjs.map → chunk-OCVNUP7T.mjs.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
v1_exports
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-HQ5G6E3D.mjs";
|
|
4
4
|
import "../chunk-S5P2S67H.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-3VVXARSH.mjs";
|
|
6
|
+
import "../chunk-OCVNUP7T.mjs";
|
|
7
|
+
import "../chunk-2XDGK4PE.mjs";
|
|
8
|
+
import "../chunk-LJC4OR2K.mjs";
|
|
9
|
+
import "../chunk-VZW7JSLB.mjs";
|
|
10
|
+
import "../chunk-NAR56EZC.mjs";
|
|
11
11
|
import "../chunk-VBR2HXFF.mjs";
|
|
12
12
|
export {
|
|
13
13
|
v1_exports as v1
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
SuiteType,
|
|
4
4
|
TestCaseRun,
|
|
5
5
|
TestSuiteRun
|
|
6
|
-
} from "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
} from "../../../chunk-3VVXARSH.mjs";
|
|
7
|
+
import "../../../chunk-NAR56EZC.mjs";
|
|
8
8
|
import "../../../chunk-VBR2HXFF.mjs";
|
|
9
9
|
export {
|
|
10
10
|
StepRun,
|
|
@@ -1708,7 +1708,7 @@ var testsystem4;
|
|
|
1708
1708
|
((v12) => {
|
|
1709
1709
|
let events;
|
|
1710
1710
|
((events2) => {
|
|
1711
|
-
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
|
+
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, _one_of_decls13;
|
|
1712
1712
|
const _TestBeginEventRequest = class _TestBeginEventRequest extends pb_16.Message {
|
|
1713
1713
|
constructor(data) {
|
|
1714
1714
|
super();
|
|
@@ -2964,6 +2964,135 @@ var testsystem4;
|
|
|
2964
2964
|
_one_of_decls12 = new WeakMap();
|
|
2965
2965
|
let MapTestRunEventRequest2 = _MapTestRunEventRequest;
|
|
2966
2966
|
events2.MapTestRunEventRequest = _MapTestRunEventRequest;
|
|
2967
|
+
const _TestRunEndEventRequest = class _TestRunEndEventRequest extends pb_16.Message {
|
|
2968
|
+
constructor(data) {
|
|
2969
|
+
super();
|
|
2970
|
+
__privateAdd(this, _one_of_decls13, []);
|
|
2971
|
+
pb_16.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], __privateGet(this, _one_of_decls13));
|
|
2972
|
+
if (!Array.isArray(data) && typeof data == "object") {
|
|
2973
|
+
if ("run_id" in data && data.run_id != void 0) {
|
|
2974
|
+
this.run_id = data.run_id;
|
|
2975
|
+
}
|
|
2976
|
+
if ("final_status" in data && data.final_status != void 0) {
|
|
2977
|
+
this.final_status = data.final_status;
|
|
2978
|
+
}
|
|
2979
|
+
if ("start_time" in data && data.start_time != void 0) {
|
|
2980
|
+
this.start_time = data.start_time;
|
|
2981
|
+
}
|
|
2982
|
+
if ("duration" in data && data.duration != void 0) {
|
|
2983
|
+
this.duration = data.duration;
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
}
|
|
2987
|
+
get run_id() {
|
|
2988
|
+
return pb_16.Message.getFieldWithDefault(this, 1, "");
|
|
2989
|
+
}
|
|
2990
|
+
set run_id(value) {
|
|
2991
|
+
pb_16.Message.setField(this, 1, value);
|
|
2992
|
+
}
|
|
2993
|
+
get final_status() {
|
|
2994
|
+
return pb_16.Message.getFieldWithDefault(this, 2, testsystem.v1.common.TestStatus.UNKNOWN);
|
|
2995
|
+
}
|
|
2996
|
+
set final_status(value) {
|
|
2997
|
+
pb_16.Message.setField(this, 2, value);
|
|
2998
|
+
}
|
|
2999
|
+
get start_time() {
|
|
3000
|
+
return pb_16.Message.getWrapperField(this, google.protobuf.Timestamp, 3);
|
|
3001
|
+
}
|
|
3002
|
+
set start_time(value) {
|
|
3003
|
+
pb_16.Message.setWrapperField(this, 3, value);
|
|
3004
|
+
}
|
|
3005
|
+
get has_start_time() {
|
|
3006
|
+
return pb_16.Message.getField(this, 3) != null;
|
|
3007
|
+
}
|
|
3008
|
+
get duration() {
|
|
3009
|
+
return pb_16.Message.getWrapperField(this, google2.protobuf.Duration, 4);
|
|
3010
|
+
}
|
|
3011
|
+
set duration(value) {
|
|
3012
|
+
pb_16.Message.setWrapperField(this, 4, value);
|
|
3013
|
+
}
|
|
3014
|
+
get has_duration() {
|
|
3015
|
+
return pb_16.Message.getField(this, 4) != null;
|
|
3016
|
+
}
|
|
3017
|
+
static fromObject(data) {
|
|
3018
|
+
const message = new _TestRunEndEventRequest({});
|
|
3019
|
+
if (data.run_id != null) {
|
|
3020
|
+
message.run_id = data.run_id;
|
|
3021
|
+
}
|
|
3022
|
+
if (data.final_status != null) {
|
|
3023
|
+
message.final_status = data.final_status;
|
|
3024
|
+
}
|
|
3025
|
+
if (data.start_time != null) {
|
|
3026
|
+
message.start_time = google.protobuf.Timestamp.fromObject(data.start_time);
|
|
3027
|
+
}
|
|
3028
|
+
if (data.duration != null) {
|
|
3029
|
+
message.duration = google2.protobuf.Duration.fromObject(data.duration);
|
|
3030
|
+
}
|
|
3031
|
+
return message;
|
|
3032
|
+
}
|
|
3033
|
+
toObject() {
|
|
3034
|
+
const data = {};
|
|
3035
|
+
if (this.run_id != null) {
|
|
3036
|
+
data.run_id = this.run_id;
|
|
3037
|
+
}
|
|
3038
|
+
if (this.final_status != null) {
|
|
3039
|
+
data.final_status = this.final_status;
|
|
3040
|
+
}
|
|
3041
|
+
if (this.start_time != null) {
|
|
3042
|
+
data.start_time = this.start_time.toObject();
|
|
3043
|
+
}
|
|
3044
|
+
if (this.duration != null) {
|
|
3045
|
+
data.duration = this.duration.toObject();
|
|
3046
|
+
}
|
|
3047
|
+
return data;
|
|
3048
|
+
}
|
|
3049
|
+
serialize(w) {
|
|
3050
|
+
const writer = w || new pb_16.BinaryWriter();
|
|
3051
|
+
if (this.run_id.length)
|
|
3052
|
+
writer.writeString(1, this.run_id);
|
|
3053
|
+
if (this.final_status != testsystem.v1.common.TestStatus.UNKNOWN)
|
|
3054
|
+
writer.writeEnum(2, this.final_status);
|
|
3055
|
+
if (this.has_start_time)
|
|
3056
|
+
writer.writeMessage(3, this.start_time, () => this.start_time.serialize(writer));
|
|
3057
|
+
if (this.has_duration)
|
|
3058
|
+
writer.writeMessage(4, this.duration, () => this.duration.serialize(writer));
|
|
3059
|
+
if (!w)
|
|
3060
|
+
return writer.getResultBuffer();
|
|
3061
|
+
}
|
|
3062
|
+
static deserialize(bytes) {
|
|
3063
|
+
const reader = bytes instanceof pb_16.BinaryReader ? bytes : new pb_16.BinaryReader(bytes), message = new _TestRunEndEventRequest();
|
|
3064
|
+
while (reader.nextField()) {
|
|
3065
|
+
if (reader.isEndGroup())
|
|
3066
|
+
break;
|
|
3067
|
+
switch (reader.getFieldNumber()) {
|
|
3068
|
+
case 1:
|
|
3069
|
+
message.run_id = reader.readString();
|
|
3070
|
+
break;
|
|
3071
|
+
case 2:
|
|
3072
|
+
message.final_status = reader.readEnum();
|
|
3073
|
+
break;
|
|
3074
|
+
case 3:
|
|
3075
|
+
reader.readMessage(message.start_time, () => message.start_time = google.protobuf.Timestamp.deserialize(reader));
|
|
3076
|
+
break;
|
|
3077
|
+
case 4:
|
|
3078
|
+
reader.readMessage(message.duration, () => message.duration = google2.protobuf.Duration.deserialize(reader));
|
|
3079
|
+
break;
|
|
3080
|
+
default:
|
|
3081
|
+
reader.skipField();
|
|
3082
|
+
}
|
|
3083
|
+
}
|
|
3084
|
+
return message;
|
|
3085
|
+
}
|
|
3086
|
+
serializeBinary() {
|
|
3087
|
+
return this.serialize();
|
|
3088
|
+
}
|
|
3089
|
+
static deserializeBinary(bytes) {
|
|
3090
|
+
return _TestRunEndEventRequest.deserialize(bytes);
|
|
3091
|
+
}
|
|
3092
|
+
};
|
|
3093
|
+
_one_of_decls13 = new WeakMap();
|
|
3094
|
+
let TestRunEndEventRequest = _TestRunEndEventRequest;
|
|
3095
|
+
events2.TestRunEndEventRequest = _TestRunEndEventRequest;
|
|
2967
3096
|
})(events = v12.events || (v12.events = {}));
|
|
2968
3097
|
})(v1 = testsystem5.v1 || (testsystem5.v1 = {}));
|
|
2969
3098
|
})(testsystem4 || (testsystem4 = {}));
|