@chevre/domain 20.9.0-alpha.0 → 20.9.0-alpha.1

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.
@@ -17,7 +17,6 @@ export declare class MongoRepository {
17
17
  findById(params: {
18
18
  id: string;
19
19
  }, projection?: any): Promise<IOwnershipInfo>;
20
- count(params: factory.ownershipInfo.ISearchConditions): Promise<number>;
21
20
  /**
22
21
  * 所有権を検索する
23
22
  */
@@ -277,14 +277,12 @@ class MongoRepository {
277
277
  return doc.toObject();
278
278
  });
279
279
  }
280
- count(params) {
281
- return __awaiter(this, void 0, void 0, function* () {
282
- const conditions = MongoRepository.CREATE_MONGO_CONDITIONS(params);
283
- return this.ownershipInfoModel.countDocuments((conditions.length > 0) ? { $and: conditions } : {})
284
- .setOptions({ maxTimeMS: 10000 })
285
- .exec();
286
- });
287
- }
280
+ // public async count(params: factory.ownershipInfo.ISearchConditions): Promise<number> {
281
+ // const conditions = MongoRepository.CREATE_MONGO_CONDITIONS(params);
282
+ // return this.ownershipInfoModel.countDocuments((conditions.length > 0) ? { $and: conditions } : {})
283
+ // .setOptions({ maxTimeMS: 10000 })
284
+ // .exec();
285
+ // }
288
286
  /**
289
287
  * 所有権を検索する
290
288
  */
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "dependencies": {
12
12
  "@chevre/factory": "4.302.0",
13
- "@cinerino/sdk": "3.149.0",
13
+ "@cinerino/sdk": "3.150.0",
14
14
  "@motionpicture/coa-service": "9.2.0",
15
15
  "@motionpicture/gmo-service": "5.2.0",
16
16
  "@sendgrid/mail": "6.4.0",
@@ -120,5 +120,5 @@
120
120
  "postversion": "git push origin --tags",
121
121
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
122
122
  },
123
- "version": "20.9.0-alpha.0"
123
+ "version": "20.9.0-alpha.1"
124
124
  }