@chevre/domain 22.9.0-alpha.2 → 22.9.0-alpha.3
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.
|
@@ -134,13 +134,13 @@ class ProjectRepo {
|
|
|
134
134
|
}
|
|
135
135
|
updateById(params) {
|
|
136
136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
137
|
-
var _a, _b, _c, _d, _e, _f
|
|
137
|
+
var _a, _b, _c, _d, _e, _f;
|
|
138
138
|
let hasMerchantReturnPolicy;
|
|
139
139
|
if (typeof ((_a = params.hasMerchantReturnPolicy) === null || _a === void 0 ? void 0 : _a.sameAs) === 'string') {
|
|
140
140
|
hasMerchantReturnPolicy = Object.assign({ sameAs: params.hasMerchantReturnPolicy.sameAs, typeOf: 'MerchantReturnPolicy' }, (typeof params.hasMerchantReturnPolicy.identifier === 'string')
|
|
141
141
|
? { identifier: params.hasMerchantReturnPolicy.identifier } : undefined);
|
|
142
142
|
}
|
|
143
|
-
yield this.projectModel.findOneAndUpdate({ _id: { $eq: params.id } }, Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(
|
|
143
|
+
yield this.projectModel.findOneAndUpdate({ _id: { $eq: params.id } }, Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (typeof params.alternateName === 'string' && params.alternateName.length > 0)
|
|
144
144
|
? { alternateName: params.alternateName }
|
|
145
145
|
: undefined), (typeof params.name === 'string' && params.name.length > 0) ? { name: params.name } : undefined), (typeof params.logo === 'string' && params.logo.length > 0) ? { logo: params.logo } : undefined), (typeof ((_d = (_c = (_b = params.settings) === null || _b === void 0 ? void 0 : _b.sendEmailMessage) === null || _c === void 0 ? void 0 : _c.sender) === null || _d === void 0 ? void 0 : _d.email) === 'string')
|
|
146
146
|
? {
|
|
@@ -150,9 +150,7 @@ class ProjectRepo {
|
|
|
150
150
|
}
|
|
151
151
|
: undefined), (typeof ((_e = params.settings) === null || _e === void 0 ? void 0 : _e.sendgridApiKey) === 'string')
|
|
152
152
|
? { 'settings.sendgridApiKey': params.settings.sendgridApiKey }
|
|
153
|
-
: undefined), (
|
|
154
|
-
? { 'settings.tokenIssuers': (_g = params.settings) === null || _g === void 0 ? void 0 : _g.tokenIssuers }
|
|
155
|
-
: undefined), (typeof ((_h = params.subscription) === null || _h === void 0 ? void 0 : _h.useEventServiceAsProduct) === 'boolean')
|
|
153
|
+
: undefined), (typeof ((_f = params.subscription) === null || _f === void 0 ? void 0 : _f.useEventServiceAsProduct) === 'boolean')
|
|
156
154
|
? { 'subscription.useEventServiceAsProduct': params.subscription.useEventServiceAsProduct }
|
|
157
155
|
: undefined), (hasMerchantReturnPolicy !== undefined) ? { hasMerchantReturnPolicy } : undefined), { $unset: {
|
|
158
156
|
'settings.cognito': 1 // 廃止(2023-11-10~)
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aws-sdk/client-cognito-identity-provider": "3.600.0",
|
|
13
13
|
"@aws-sdk/credential-providers": "3.600.0",
|
|
14
|
-
"@chevre/factory": "4.393.0-alpha.
|
|
14
|
+
"@chevre/factory": "4.393.0-alpha.1",
|
|
15
15
|
"@cinerino/sdk": "10.21.0-alpha.1",
|
|
16
16
|
"@motionpicture/coa-service": "9.6.0",
|
|
17
17
|
"@motionpicture/gmo-service": "5.3.0",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"postversion": "git push origin --tags",
|
|
113
113
|
"prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
|
|
114
114
|
},
|
|
115
|
-
"version": "22.9.0-alpha.
|
|
115
|
+
"version": "22.9.0-alpha.3"
|
|
116
116
|
}
|