@stanterprise/protobuf 0.1.1 → 0.1.2
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-BR7Z6N5S.mjs → chunk-CXXQBC7L.mjs} +6 -6
- package/dist/{chunk-34GQCWQN.mjs → chunk-GWOJPJ3V.mjs} +2 -2
- package/dist/{chunk-4YJNHYW7.mjs → chunk-JV43EC5A.mjs} +2 -2
- package/dist/{chunk-XYL4P7DJ.mjs → chunk-NYHT7SLS.mjs} +2 -2
- package/dist/{chunk-XIP55YQC.mjs → chunk-SKWN4PET.mjs} +2 -2
- package/dist/{chunk-FBR2J74U.mjs → chunk-UNDYBCII.mjs} +2 -2
- package/dist/{chunk-WBCHUWL7.mjs → chunk-YCV7GOOQ.mjs} +22 -2
- package/dist/chunk-YCV7GOOQ.mjs.map +1 -0
- package/dist/index.js +21 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +5 -0
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/testsystem/index.js +21 -1
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +7 -7
- package/dist/testsystem/v1/entities/index.js +21 -1
- package/dist/testsystem/v1/entities/index.js.map +1 -1
- package/dist/testsystem/v1/entities/index.mjs +2 -2
- package/dist/testsystem/v1/events/index.js +21 -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 +21 -1
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +9 -9
- package/dist/testsystem/v1/observer/index.js +21 -1
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +4 -4
- package/lib/testsystem/v1/entities/test_case.ts +24 -1
- package/package.json +1 -1
- package/dist/chunk-WBCHUWL7.mjs.map +0 -1
- /package/dist/{chunk-BR7Z6N5S.mjs.map → chunk-CXXQBC7L.mjs.map} +0 -0
- /package/dist/{chunk-34GQCWQN.mjs.map → chunk-GWOJPJ3V.mjs.map} +0 -0
- /package/dist/{chunk-4YJNHYW7.mjs.map → chunk-JV43EC5A.mjs.map} +0 -0
- /package/dist/{chunk-XYL4P7DJ.mjs.map → chunk-NYHT7SLS.mjs.map} +0 -0
- /package/dist/{chunk-XIP55YQC.mjs.map → chunk-SKWN4PET.mjs.map} +0 -0
- /package/dist/{chunk-FBR2J74U.mjs.map → chunk-UNDYBCII.mjs.map} +0 -0
|
@@ -851,7 +851,7 @@ var testsystem2;
|
|
|
851
851
|
constructor(data) {
|
|
852
852
|
super();
|
|
853
853
|
__privateAdd(this, _one_of_decls2, []);
|
|
854
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls2));
|
|
854
|
+
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14, 18], __privateGet(this, _one_of_decls2));
|
|
855
855
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
856
856
|
if ("id" in data && data.id != void 0) {
|
|
857
857
|
this.id = data.id;
|
|
@@ -904,6 +904,9 @@ var testsystem2;
|
|
|
904
904
|
if ("retry_index" in data && data.retry_index != void 0) {
|
|
905
905
|
this.retry_index = data.retry_index;
|
|
906
906
|
}
|
|
907
|
+
if ("attachments" in data && data.attachments != void 0) {
|
|
908
|
+
this.attachments = data.attachments;
|
|
909
|
+
}
|
|
907
910
|
}
|
|
908
911
|
if (!this.metadata)
|
|
909
912
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1016,6 +1019,12 @@ var testsystem2;
|
|
|
1016
1019
|
set retry_index(value) {
|
|
1017
1020
|
pb_14.Message.setField(this, 17, value);
|
|
1018
1021
|
}
|
|
1022
|
+
get attachments() {
|
|
1023
|
+
return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 18);
|
|
1024
|
+
}
|
|
1025
|
+
set attachments(value) {
|
|
1026
|
+
pb_14.Message.setRepeatedWrapperField(this, 18, value);
|
|
1027
|
+
}
|
|
1019
1028
|
static fromObject(data) {
|
|
1020
1029
|
const message = new _StepRun({});
|
|
1021
1030
|
if (data.id != null) {
|
|
@@ -1069,6 +1078,9 @@ var testsystem2;
|
|
|
1069
1078
|
if (data.retry_index != null) {
|
|
1070
1079
|
message.retry_index = data.retry_index;
|
|
1071
1080
|
}
|
|
1081
|
+
if (data.attachments != null) {
|
|
1082
|
+
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
1083
|
+
}
|
|
1072
1084
|
return message;
|
|
1073
1085
|
}
|
|
1074
1086
|
toObject() {
|
|
@@ -1124,6 +1136,9 @@ var testsystem2;
|
|
|
1124
1136
|
if (this.retry_index != null) {
|
|
1125
1137
|
data.retry_index = this.retry_index;
|
|
1126
1138
|
}
|
|
1139
|
+
if (this.attachments != null) {
|
|
1140
|
+
data.attachments = this.attachments.map((item) => item.toObject());
|
|
1141
|
+
}
|
|
1127
1142
|
return data;
|
|
1128
1143
|
}
|
|
1129
1144
|
serialize(w) {
|
|
@@ -1166,6 +1181,8 @@ var testsystem2;
|
|
|
1166
1181
|
writer.writeString(16, this.category);
|
|
1167
1182
|
if (this.retry_index != 0)
|
|
1168
1183
|
writer.writeInt32(17, this.retry_index);
|
|
1184
|
+
if (this.attachments.length)
|
|
1185
|
+
writer.writeRepeatedMessage(18, this.attachments, (item) => item.serialize(writer));
|
|
1169
1186
|
if (!w)
|
|
1170
1187
|
return writer.getResultBuffer();
|
|
1171
1188
|
}
|
|
@@ -1226,6 +1243,9 @@ var testsystem2;
|
|
|
1226
1243
|
case 17:
|
|
1227
1244
|
message.retry_index = reader.readInt32();
|
|
1228
1245
|
break;
|
|
1246
|
+
case 18:
|
|
1247
|
+
reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 18, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
1248
|
+
break;
|
|
1229
1249
|
default:
|
|
1230
1250
|
reader.skipField();
|
|
1231
1251
|
}
|