@chevre/domain 21.18.0-alpha.13 → 21.18.0-alpha.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.
@@ -625,7 +625,7 @@ class MongoRepository {
625
625
  }
626
626
  // tslint:disable-next-line:cyclomatic-complexity max-func-body-length
627
627
  searchScreeningRoomSections(searchConditions) {
628
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
628
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
629
629
  return __awaiter(this, void 0, void 0, function* () {
630
630
  const matchStages = [{ $match: { typeOf: { $eq: factory.placeType.ScreeningRoom } } }];
631
631
  const projectIdEq = (_b = (_a = searchConditions.project) === null || _a === void 0 ? void 0 : _a.id) === null || _b === void 0 ? void 0 : _b.$eq;
@@ -722,17 +722,21 @@ class MongoRepository {
722
722
  { $unwind: '$containsPlace' },
723
723
  ...matchStages,
724
724
  {
725
- $project: Object.assign({ _id: 0, typeOf: '$containsPlace.typeOf', branchCode: '$containsPlace.branchCode', name: '$containsPlace.name', containedInPlace: {
726
- typeOf: '$typeOf',
727
- branchCode: '$branchCode',
728
- name: '$name',
725
+ $project: Object.assign(Object.assign({ _id: 0, typeOf: '$containsPlace.typeOf', branchCode: '$containsPlace.branchCode', name: '$containsPlace.name', additionalProperty: '$containsPlace.additionalProperty' }, (((_p = searchConditions.$projection) === null || _p === void 0 ? void 0 : _p.containedInPlace) === 1)
726
+ ? {
729
727
  containedInPlace: {
730
- id: '$containedInPlace.id',
731
- typeOf: '$containedInPlace.typeOf',
732
- branchCode: '$containedInPlace.branchCode',
733
- name: '$containedInPlace.name'
728
+ typeOf: '$typeOf',
729
+ branchCode: '$branchCode',
730
+ name: '$name',
731
+ containedInPlace: {
732
+ id: '$containedInPlace.id',
733
+ typeOf: '$containedInPlace.typeOf',
734
+ branchCode: '$containedInPlace.branchCode',
735
+ name: '$containedInPlace.name'
736
+ }
734
737
  }
735
- }, additionalProperty: '$containsPlace.additionalProperty' }, (((_p = searchConditions.$projection) === null || _p === void 0 ? void 0 : _p.seatCount) === 1)
738
+ }
739
+ : undefined), (((_q = searchConditions.$projection) === null || _q === void 0 ? void 0 : _q.seatCount) === 1)
736
740
  ? {
737
741
  seatCount: {
738
742
  $cond: {
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "dependencies": {
12
12
  "@aws-sdk/credential-providers": "3.433.0",
13
- "@chevre/factory": "4.344.0",
13
+ "@chevre/factory": "4.345.0",
14
14
  "@cinerino/sdk": "5.3.0",
15
15
  "@motionpicture/coa-service": "9.2.0",
16
16
  "@motionpicture/gmo-service": "5.2.0",
@@ -115,5 +115,5 @@
115
115
  "postversion": "git push origin --tags",
116
116
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
117
117
  },
118
- "version": "21.18.0-alpha.13"
118
+ "version": "21.18.0-alpha.14"
119
119
  }