@stanterprise/protobuf 0.1.0 → 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-RGAFE2QL.mjs → chunk-CXXQBC7L.mjs} +4 -4
- 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.d.ts +2 -0
- package/dist/index.d.ts.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/google/protobuf/duration.d.ts +33 -0
- package/dist/lib/google/protobuf/duration.d.ts.map +1 -0
- package/dist/lib/google/protobuf/timestamp.d.ts +33 -0
- package/dist/lib/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/lib/index.d.ts +9 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/common/common.d.ts +61 -0
- package/dist/lib/testsystem/v1/common/common.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +238 -0
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +140 -0
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/events/events.d.ts +437 -0
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -0
- package/dist/lib/testsystem/v1/observer/observer.d.ts +202 -0
- package/dist/lib/testsystem/v1/observer/observer.d.ts.map +1 -0
- package/dist/testsystem/index.d.ts +2 -0
- package/dist/testsystem/index.d.ts.map +1 -0
- 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/common/index.d.ts +6 -0
- package/dist/testsystem/v1/common/index.d.ts.map +1 -0
- package/dist/testsystem/v1/entities/index.d.ts +11 -0
- package/dist/testsystem/v1/entities/index.d.ts.map +1 -0
- 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.d.ts +28 -0
- package/dist/testsystem/v1/events/index.d.ts.map +1 -0
- 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.d.ts +5 -0
- package/dist/testsystem/v1/index.d.ts.map +1 -0
- package/dist/testsystem/v1/index.js +21 -1
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +7 -7
- 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 +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-RGAFE2QL.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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
v1_exports
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CXXQBC7L.mjs";
|
|
4
4
|
import "../chunk-WHGMBNCF.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-GWOJPJ3V.mjs";
|
|
6
|
+
import "../chunk-NYHT7SLS.mjs";
|
|
7
|
+
import "../chunk-UNDYBCII.mjs";
|
|
8
|
+
import "../chunk-JV43EC5A.mjs";
|
|
9
|
+
import "../chunk-SKWN4PET.mjs";
|
|
10
|
+
import "../chunk-YCV7GOOQ.mjs";
|
|
11
11
|
import "../chunk-EMALOWTT.mjs";
|
|
12
12
|
export {
|
|
13
13
|
v1_exports as v1
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { testsystem as commonNS } from '../../../lib/testsystem/v1/common/common';
|
|
2
|
+
export type TestStatus = commonNS.v1.common.TestStatus;
|
|
3
|
+
export declare const TestStatus: typeof commonNS.v1.common.TestStatus;
|
|
4
|
+
export type Attachment = commonNS.v1.common.Attachment;
|
|
5
|
+
export declare const Attachment: typeof commonNS.v1.common.Attachment;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../testsystem/v1/common/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAGlF,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC;AACvD,eAAO,MAAM,UAAU,sCAAgC,CAAC;AAGxD,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC;AACvD,eAAO,MAAM,UAAU,sCAAgC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { testsystem as testCaseNS } from '../../../lib/testsystem/v1/entities/test_case';
|
|
2
|
+
import { testsystem as testSuiteNS } from '../../../lib/testsystem/v1/entities/test_suite';
|
|
3
|
+
export type TestCaseRun = testCaseNS.v1.entities.TestCaseRun;
|
|
4
|
+
export declare const TestCaseRun: typeof testCaseNS.v1.entities.TestCaseRun;
|
|
5
|
+
export type StepRun = testCaseNS.v1.entities.StepRun;
|
|
6
|
+
export declare const StepRun: typeof testCaseNS.v1.entities.StepRun;
|
|
7
|
+
export type TestSuiteRun = testSuiteNS.v1.entities.TestSuiteRun;
|
|
8
|
+
export declare const TestSuiteRun: typeof testSuiteNS.v1.entities.TestSuiteRun;
|
|
9
|
+
export type SuiteType = testSuiteNS.v1.entities.SuiteType;
|
|
10
|
+
export declare const SuiteType: typeof testSuiteNS.v1.entities.SuiteType;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../testsystem/v1/entities/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,UAAU,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAG3F,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC;AAC7D,eAAO,MAAM,WAAW,2CAAqC,CAAC;AAE9D,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC;AACrD,eAAO,MAAM,OAAO,uCAAiC,CAAC;AAGtD,MAAM,MAAM,YAAY,GAAG,WAAW,CAAC,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;AAChE,eAAO,MAAM,YAAY,6CAAuC,CAAC;AAEjE,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC;AAC1D,eAAO,MAAM,SAAS,0CAAoC,CAAC"}
|
|
@@ -842,7 +842,7 @@ var testsystem2;
|
|
|
842
842
|
constructor(data) {
|
|
843
843
|
super();
|
|
844
844
|
__privateAdd(this, _one_of_decls2, []);
|
|
845
|
-
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], __privateGet(this, _one_of_decls2));
|
|
845
|
+
pb_14.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14, 18], __privateGet(this, _one_of_decls2));
|
|
846
846
|
if (!Array.isArray(data) && typeof data == "object") {
|
|
847
847
|
if ("id" in data && data.id != void 0) {
|
|
848
848
|
this.id = data.id;
|
|
@@ -895,6 +895,9 @@ var testsystem2;
|
|
|
895
895
|
if ("retry_index" in data && data.retry_index != void 0) {
|
|
896
896
|
this.retry_index = data.retry_index;
|
|
897
897
|
}
|
|
898
|
+
if ("attachments" in data && data.attachments != void 0) {
|
|
899
|
+
this.attachments = data.attachments;
|
|
900
|
+
}
|
|
898
901
|
}
|
|
899
902
|
if (!this.metadata)
|
|
900
903
|
this.metadata = /* @__PURE__ */ new Map();
|
|
@@ -1007,6 +1010,12 @@ var testsystem2;
|
|
|
1007
1010
|
set retry_index(value) {
|
|
1008
1011
|
pb_14.Message.setField(this, 17, value);
|
|
1009
1012
|
}
|
|
1013
|
+
get attachments() {
|
|
1014
|
+
return pb_14.Message.getRepeatedWrapperField(this, testsystem.v1.common.Attachment, 18);
|
|
1015
|
+
}
|
|
1016
|
+
set attachments(value) {
|
|
1017
|
+
pb_14.Message.setRepeatedWrapperField(this, 18, value);
|
|
1018
|
+
}
|
|
1010
1019
|
static fromObject(data) {
|
|
1011
1020
|
const message = new _StepRun({});
|
|
1012
1021
|
if (data.id != null) {
|
|
@@ -1060,6 +1069,9 @@ var testsystem2;
|
|
|
1060
1069
|
if (data.retry_index != null) {
|
|
1061
1070
|
message.retry_index = data.retry_index;
|
|
1062
1071
|
}
|
|
1072
|
+
if (data.attachments != null) {
|
|
1073
|
+
message.attachments = data.attachments.map((item) => testsystem.v1.common.Attachment.fromObject(item));
|
|
1074
|
+
}
|
|
1063
1075
|
return message;
|
|
1064
1076
|
}
|
|
1065
1077
|
toObject() {
|
|
@@ -1115,6 +1127,9 @@ var testsystem2;
|
|
|
1115
1127
|
if (this.retry_index != null) {
|
|
1116
1128
|
data.retry_index = this.retry_index;
|
|
1117
1129
|
}
|
|
1130
|
+
if (this.attachments != null) {
|
|
1131
|
+
data.attachments = this.attachments.map((item) => item.toObject());
|
|
1132
|
+
}
|
|
1118
1133
|
return data;
|
|
1119
1134
|
}
|
|
1120
1135
|
serialize(w) {
|
|
@@ -1157,6 +1172,8 @@ var testsystem2;
|
|
|
1157
1172
|
writer.writeString(16, this.category);
|
|
1158
1173
|
if (this.retry_index != 0)
|
|
1159
1174
|
writer.writeInt32(17, this.retry_index);
|
|
1175
|
+
if (this.attachments.length)
|
|
1176
|
+
writer.writeRepeatedMessage(18, this.attachments, (item) => item.serialize(writer));
|
|
1160
1177
|
if (!w)
|
|
1161
1178
|
return writer.getResultBuffer();
|
|
1162
1179
|
}
|
|
@@ -1217,6 +1234,9 @@ var testsystem2;
|
|
|
1217
1234
|
case 17:
|
|
1218
1235
|
message.retry_index = reader.readInt32();
|
|
1219
1236
|
break;
|
|
1237
|
+
case 18:
|
|
1238
|
+
reader.readMessage(message.attachments, () => pb_14.Message.addToRepeatedWrapperField(message, 18, testsystem.v1.common.Attachment.deserialize(reader), testsystem.v1.common.Attachment));
|
|
1239
|
+
break;
|
|
1220
1240
|
default:
|
|
1221
1241
|
reader.skipField();
|
|
1222
1242
|
}
|