@chevre/domain 23.1.0-alpha.22 → 23.1.0-alpha.23
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.
|
@@ -62,9 +62,9 @@ class EventOfferRepo {
|
|
|
62
62
|
if (typeof availableAtOrFromIdentifierEq === 'string') {
|
|
63
63
|
andConditions.push({ 'availableAtOrFrom.identifier': { $eq: availableAtOrFromIdentifierEq } });
|
|
64
64
|
}
|
|
65
|
-
const
|
|
66
|
-
if (typeof
|
|
67
|
-
andConditions.push({ 'offeredBy.
|
|
65
|
+
const offeredByIdentifierEq = (_o = (_m = params.offeredBy) === null || _m === void 0 ? void 0 : _m.identifier) === null || _o === void 0 ? void 0 : _o.$eq;
|
|
66
|
+
if (typeof offeredByIdentifierEq === 'string') {
|
|
67
|
+
andConditions.push({ 'offeredBy.identifier': { $exists: true, $eq: offeredByIdentifierEq } });
|
|
68
68
|
}
|
|
69
69
|
const sellerByIdEq = (_q = (_p = params.seller) === null || _p === void 0 ? void 0 : _p.id) === null || _q === void 0 ? void 0 : _q.$eq;
|
|
70
70
|
if (typeof sellerByIdEq === 'string') {
|
|
@@ -82,6 +82,15 @@ const indexes = [
|
|
|
82
82
|
[
|
|
83
83
|
{ 'availableAtOrFrom.identifier': 1, validFrom: 1 },
|
|
84
84
|
{ name: 'availableAtOrFrom' }
|
|
85
|
+
],
|
|
86
|
+
[
|
|
87
|
+
{ 'offeredBy.identifier': 1, validFrom: 1 },
|
|
88
|
+
{
|
|
89
|
+
name: 'offeredByIdentifier',
|
|
90
|
+
partialFilterExpression: {
|
|
91
|
+
'offeredBy.identifier': { $exists: true }
|
|
92
|
+
}
|
|
93
|
+
}
|
|
85
94
|
]
|
|
86
95
|
];
|
|
87
96
|
exports.indexes = indexes;
|
package/package.json
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
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": "5.
|
|
15
|
-
"@cinerino/sdk": "12.
|
|
14
|
+
"@chevre/factory": "5.4.0-alpha.0",
|
|
15
|
+
"@cinerino/sdk": "12.11.0-alpha.0",
|
|
16
16
|
"@motionpicture/coa-service": "9.6.0",
|
|
17
17
|
"@motionpicture/gmo-service": "5.4.0-alpha.1",
|
|
18
18
|
"@sendgrid/client": "8.1.4",
|
|
@@ -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": "23.1.0-alpha.
|
|
118
|
+
"version": "23.1.0-alpha.23"
|
|
119
119
|
}
|