@chevre/domain 21.2.0-alpha.11 → 21.2.0-alpha.12

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.
@@ -88,7 +88,6 @@ export declare class MongoRepository {
88
88
  id: string;
89
89
  object?: {
90
90
  name?: string;
91
- dateOnTransactionStatusChangedEmitted?: Date;
92
91
  };
93
92
  }): Promise<void>;
94
93
  /**
@@ -384,16 +384,14 @@ class MongoRepository {
384
384
  * 注文名称など
385
385
  */
386
386
  updateObject(params) {
387
- var _a, _b;
387
+ var _a;
388
388
  return __awaiter(this, void 0, void 0, function* () {
389
389
  const doc = yield this.transactionModel.findOneAndUpdate({
390
390
  _id: params.id,
391
391
  typeOf: params.typeOf,
392
392
  status: factory.transactionStatusType.InProgress
393
393
  }, {
394
- $set: Object.assign(Object.assign({}, (typeof ((_a = params.object) === null || _a === void 0 ? void 0 : _a.name) === 'string') ? { 'object.name': params.object.name } : undefined), (((_b = params.object) === null || _b === void 0 ? void 0 : _b.dateOnTransactionStatusChangedEmitted) instanceof Date)
395
- ? { 'object.dateOnTransactionStatusChangedEmitted': params.object.dateOnTransactionStatusChangedEmitted }
396
- : undefined)
394
+ $set: Object.assign({}, (typeof ((_a = params.object) === null || _a === void 0 ? void 0 : _a.name) === 'string') ? { 'object.name': params.object.name } : undefined)
397
395
  }, {
398
396
  projection: { _id: 1 }
399
397
  })
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as factory from '../factory';
5
5
  import { MongoRepository as AssetTransactionRepo } from '../repo/assetTransaction';
6
- import { MongoRepository as ProjectRepo } from '../repo/project';
7
6
  import { MongoRepository as TaskRepo } from '../repo/task';
8
7
  import * as CancelReservationTransactionService from './assetTransaction/cancelReservation';
9
8
  import * as MoneyTransferTransactionService from './assetTransaction/moneyTransfer';
@@ -30,7 +29,6 @@ export declare function exportTasks<T extends factory.assetTransactionType>(para
30
29
  $in: T[];
31
30
  };
32
31
  }): (repos: {
33
- project: ProjectRepo;
34
32
  task: TaskRepo;
35
33
  assetTransaction: AssetTransactionRepo;
36
34
  }) => Promise<{
@@ -32,7 +32,6 @@ exports.reserve = ReserveTransactionService;
32
32
  function exportTasks(params) {
33
33
  return (repos) => __awaiter(this, void 0, void 0, function* () {
34
34
  const transaction = yield repos.assetTransaction.startExportTasks({
35
- // project: params.project,
36
35
  typeOf: params.typeOf,
37
36
  status: params.status
38
37
  });
package/package.json CHANGED
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.2.0-alpha.11"
120
+ "version": "21.2.0-alpha.12"
121
121
  }