@infrab4a/connect 4.10.0-beta.1 → 4.10.0-beta.2
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.
- package/index.cjs.js +5 -1
- package/index.esm.js +5 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -6101,7 +6101,11 @@ class WishlistHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
6101
6101
|
return data;
|
|
6102
6102
|
}
|
|
6103
6103
|
async findBfluOrGlamgirlWishlists(params, shops) {
|
|
6104
|
-
|
|
6104
|
+
var _a;
|
|
6105
|
+
return this.find(Object.assign(Object.assign({}, params), { filters: Object.assign(Object.assign({}, params.filters), { published: true, shops: { operator: exports.Where.LIKE, value: shops }, personType: (_a = params.filters.personType) !== null && _a !== void 0 ? _a : {
|
|
6106
|
+
operator: exports.Where.IN,
|
|
6107
|
+
value: [exports.PersonTypes.BFLU, exports.PersonTypes.GLAMGIRL],
|
|
6108
|
+
} }), orderBy: Object.assign({ personHasPhoto: 'desc' }, lodash.omit(params.orderBy, ['personHasPhoto'])) }));
|
|
6105
6109
|
}
|
|
6106
6110
|
getCategoriesForHome(categoryIds, limit, gender) {
|
|
6107
6111
|
return;
|
package/index.esm.js
CHANGED
|
@@ -6095,7 +6095,11 @@ class WishlistHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
6095
6095
|
return data;
|
|
6096
6096
|
}
|
|
6097
6097
|
async findBfluOrGlamgirlWishlists(params, shops) {
|
|
6098
|
-
|
|
6098
|
+
var _a;
|
|
6099
|
+
return this.find(Object.assign(Object.assign({}, params), { filters: Object.assign(Object.assign({}, params.filters), { published: true, shops: { operator: Where.LIKE, value: shops }, personType: (_a = params.filters.personType) !== null && _a !== void 0 ? _a : {
|
|
6100
|
+
operator: Where.IN,
|
|
6101
|
+
value: [PersonTypes.BFLU, PersonTypes.GLAMGIRL],
|
|
6102
|
+
} }), orderBy: Object.assign({ personHasPhoto: 'desc' }, omit(params.orderBy, ['personHasPhoto'])) }));
|
|
6099
6103
|
}
|
|
6100
6104
|
getCategoriesForHome(categoryIds, limit, gender) {
|
|
6101
6105
|
return;
|