@stanterprise/protobuf 0.0.13 → 0.0.15

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.
@@ -10,17 +10,20 @@ import {
10
10
  var entities_exports = {};
11
11
  __export(entities_exports, {
12
12
  StepRun: () => StepRun,
13
+ SuiteType: () => SuiteType,
13
14
  TestCaseRun: () => TestCaseRun,
14
15
  TestSuiteRun: () => TestSuiteRun
15
16
  });
16
17
  var TestCaseRun = testsystem.v1.entities.TestCaseRun;
17
18
  var StepRun = testsystem.v1.entities.StepRun;
18
19
  var TestSuiteRun = testsystem2.v1.entities.TestSuiteRun;
20
+ var SuiteType = testsystem2.v1.entities.SuiteType;
19
21
 
20
22
  export {
21
23
  TestCaseRun,
22
24
  StepRun,
23
25
  TestSuiteRun,
26
+ SuiteType,
24
27
  entities_exports
25
28
  };
26
- //# sourceMappingURL=chunk-JOH5DJAY.mjs.map
29
+ //# sourceMappingURL=chunk-O6ANB3BZ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../testsystem/v1/entities/index.ts"],"sourcesContent":["// Re-export individual classes for pattern: import { TestCaseRun } from \"@stanterprise/protobuf/testsystem/v1/entities\"\nimport { testsystem as testCaseNS } from '../../../lib/testsystem/v1/entities/test_case';\nimport { testsystem as testSuiteNS } from '../../../lib/testsystem/v1/entities/test_suite';\n\n// Export individual classes from test_case\nexport type TestCaseRun = testCaseNS.v1.entities.TestCaseRun;\nexport const TestCaseRun = testCaseNS.v1.entities.TestCaseRun;\n\nexport type StepRun = testCaseNS.v1.entities.StepRun;\nexport const StepRun = testCaseNS.v1.entities.StepRun;\n\n// Export individual classes from test_suite\nexport type TestSuiteRun = testSuiteNS.v1.entities.TestSuiteRun;\nexport const TestSuiteRun = testSuiteNS.v1.entities.TestSuiteRun;\n"],"mappings":";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,IAAM,cAAc,WAAW,GAAG,SAAS;AAG3C,IAAM,UAAU,WAAW,GAAG,SAAS;AAIvC,IAAM,eAAeA,YAAY,GAAG,SAAS;","names":["testsystem"]}
1
+ {"version":3,"sources":["../testsystem/v1/entities/index.ts"],"sourcesContent":["// Re-export individual classes for pattern: import { TestCaseRun } from \"@stanterprise/protobuf/testsystem/v1/entities\"\nimport { testsystem as testCaseNS } from '../../../lib/testsystem/v1/entities/test_case';\nimport { testsystem as testSuiteNS } from '../../../lib/testsystem/v1/entities/test_suite';\n\n// Export individual classes from test_case\nexport type TestCaseRun = testCaseNS.v1.entities.TestCaseRun;\nexport const TestCaseRun = testCaseNS.v1.entities.TestCaseRun;\n\nexport type StepRun = testCaseNS.v1.entities.StepRun;\nexport const StepRun = testCaseNS.v1.entities.StepRun;\n\n// Export individual classes from test_suite\nexport type TestSuiteRun = testSuiteNS.v1.entities.TestSuiteRun;\nexport const TestSuiteRun = testSuiteNS.v1.entities.TestSuiteRun;\n\nexport type SuiteType = testSuiteNS.v1.entities.SuiteType;\nexport const SuiteType = testSuiteNS.v1.entities.SuiteType;\n"],"mappings":";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,IAAM,cAAc,WAAW,GAAG,SAAS;AAG3C,IAAM,UAAU,WAAW,GAAG,SAAS;AAIvC,IAAM,eAAeA,YAAY,GAAG,SAAS;AAG7C,IAAM,YAAYA,YAAY,GAAG,SAAS;","names":["testsystem"]}
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-S5P2S67H.mjs";
4
4
  import {
5
5
  entities_exports
6
- } from "./chunk-JOH5DJAY.mjs";
6
+ } from "./chunk-O6ANB3BZ.mjs";
7
7
  import {
8
8
  events_exports
9
9
  } from "./chunk-OYBN67JW.mjs";
@@ -26,4 +26,4 @@ __export(v1_exports, {
26
26
  export {
27
27
  v1_exports
28
28
  };
29
- //# sourceMappingURL=chunk-BS6UMTC7.mjs.map
29
+ //# sourceMappingURL=chunk-VZMKFXBH.mjs.map
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./lib";
1
+ export * from './lib';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,cAAc,OAAO,CAAC"}
package/dist/index.js CHANGED
@@ -3184,14 +3184,34 @@ var testsystem5;
3184
3184
  })(testsystem5 || (testsystem5 = {}));
3185
3185
 
3186
3186
  // lib/index.ts
3187
- var testsystem6 = Object.assign(
3188
- {},
3189
- testsystem,
3190
- testsystem2,
3191
- testsystem3,
3192
- testsystem4,
3193
- testsystem5
3194
- );
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);
3195
3215
  // Annotate the CommonJS export names for ESM import in node:
3196
3216
  0 && (module.exports = {
3197
3217
  common,