@chevre/domain 21.20.0-alpha.22 → 21.20.0-alpha.24
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.
|
@@ -558,7 +558,10 @@ class MongoRepository {
|
|
|
558
558
|
_id: { $eq: params.id },
|
|
559
559
|
actionStatus: { $eq: factory.actionStatusType.CompletedActionStatus }
|
|
560
560
|
}, {
|
|
561
|
-
$set: {
|
|
561
|
+
$set: {
|
|
562
|
+
actionStatus: factory.actionStatusType.ActiveActionStatus,
|
|
563
|
+
startDate: new Date()
|
|
564
|
+
},
|
|
562
565
|
$unset: { endDate: 1 }
|
|
563
566
|
}, { new: false, projection: { _id: 1 } })
|
|
564
567
|
.exec();
|
|
@@ -50,7 +50,7 @@ function creteOrder4inform(order) {
|
|
|
50
50
|
// 冗長な個人情報をmask
|
|
51
51
|
return Object.assign({
|
|
52
52
|
// whitelistで作成する(2022-07-19~)
|
|
53
|
-
project: order.project, typeOf: order.typeOf, seller: order.seller, price: order.price, priceCurrency: order.priceCurrency, confirmationNumber: order.confirmationNumber, orderNumber: order.orderNumber, acceptedOffers: order.acceptedOffers, orderStatus: order.orderStatus, orderDate: order.orderDate,
|
|
53
|
+
project: order.project, typeOf: order.typeOf, seller: order.seller, price: order.price, priceCurrency: order.priceCurrency, confirmationNumber: order.confirmationNumber, orderNumber: order.orderNumber, acceptedOffers: order.acceptedOffers, numAcceptedOffers: order.acceptedOffers.length, orderStatus: order.orderStatus, orderDate: order.orderDate,
|
|
54
54
|
// mask
|
|
55
55
|
customer: Object.assign(Object.assign({}, (0, order_1.createMaskedCustomer)(order, { noProfile: false })), { additionalProperty: (Array.isArray(order.customer.additionalProperty)) ? order.customer.additionalProperty : [],
|
|
56
56
|
// identifierは必要
|
package/package.json
CHANGED