@chevre/domain 21.18.0-alpha.22 → 21.18.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.
|
@@ -151,9 +151,7 @@ export declare class MongoRepository {
|
|
|
151
151
|
}[]>;
|
|
152
152
|
count(params: Omit<factory.unitPriceOffer.ISearchConditions, 'limit' | 'page' | 'sort'>): Promise<number>;
|
|
153
153
|
search(params: factory.unitPriceOffer.ISearchConditions, projection?: IProjection): Promise<IUnitPriceOfferFromAggregateOffer[]>;
|
|
154
|
-
save(params: factory.unitPriceOffer.IUnitPriceOffer & {
|
|
155
|
-
$unset?: any;
|
|
156
|
-
}): Promise<factory.unitPriceOffer.IUnitPriceOffer>;
|
|
154
|
+
save(params: factory.unitPriceOffer.IUnitPriceOffer & {}): Promise<factory.unitPriceOffer.IUnitPriceOffer>;
|
|
157
155
|
/**
|
|
158
156
|
* sskts専用オファー保管
|
|
159
157
|
*/
|
package/lib/chevre/repo/offer.js
CHANGED
|
@@ -757,7 +757,8 @@ class MongoRepository {
|
|
|
757
757
|
save(params) {
|
|
758
758
|
return __awaiter(this, void 0, void 0, function* () {
|
|
759
759
|
let doc;
|
|
760
|
-
const { $unset
|
|
760
|
+
// const { $unset, ...paramsWithoutUnset } = params;
|
|
761
|
+
const paramsWithoutUnset = __rest(params, []);
|
|
761
762
|
let savedUnitPriceOffer;
|
|
762
763
|
if (params.id === '') {
|
|
763
764
|
const uniqid = yield Promise.resolve().then(() => require('uniqid'));
|
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aws-sdk/credential-providers": "3.433.0",
|
|
13
|
-
"@chevre/factory": "4.347.0-alpha.
|
|
14
|
-
"@cinerino/sdk": "5.
|
|
13
|
+
"@chevre/factory": "4.347.0-alpha.2",
|
|
14
|
+
"@cinerino/sdk": "5.4.0-alpha.1",
|
|
15
15
|
"@motionpicture/coa-service": "9.2.0",
|
|
16
16
|
"@motionpicture/gmo-service": "5.2.0",
|
|
17
17
|
"@sendgrid/mail": "6.4.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.
|
|
118
|
+
"version": "21.18.0-alpha.24"
|
|
119
119
|
}
|