@infrab4a/connect 1.0.0-beta.33 → 1.0.0-beta.35
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/bundles/infrab4a-connect.umd.js +4 -5
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/domain/catalog/repositories/product.repository.d.ts +2 -2
- package/esm2015/domain/catalog/repositories/product.repository.js +1 -1
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +4 -4
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +3 -4
- package/fesm2015/infrab4a-connect.js +4 -5
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +2 -2
- package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2452,7 +2452,7 @@
|
|
|
2452
2452
|
_this.model = Product;
|
|
2453
2453
|
return _this;
|
|
2454
2454
|
}
|
|
2455
|
-
ProductFirestoreRepository.prototype.getBySlug = function (slug
|
|
2455
|
+
ProductFirestoreRepository.prototype.getBySlug = function (slug) {
|
|
2456
2456
|
var _a;
|
|
2457
2457
|
return __awaiter(this, void 0, void 0, function () {
|
|
2458
2458
|
var result;
|
|
@@ -2461,7 +2461,7 @@
|
|
|
2461
2461
|
case 0: return [4 /*yield*/, this.find({
|
|
2462
2462
|
filters: {
|
|
2463
2463
|
slug: { operator: exports.Where.EQUALS, value: slug },
|
|
2464
|
-
shopAvailability: { operator:
|
|
2464
|
+
// shopAvailability: { operator: Where.IN, value: [shop] },
|
|
2465
2465
|
},
|
|
2466
2466
|
})];
|
|
2467
2467
|
case 1:
|
|
@@ -3882,7 +3882,7 @@
|
|
|
3882
3882
|
});
|
|
3883
3883
|
});
|
|
3884
3884
|
};
|
|
3885
|
-
ProductHasuraGraphQLRepository.prototype.getBySlug = function (slug
|
|
3885
|
+
ProductHasuraGraphQLRepository.prototype.getBySlug = function (slug) {
|
|
3886
3886
|
var _a;
|
|
3887
3887
|
return __awaiter(this, void 0, void 0, function () {
|
|
3888
3888
|
var result, product, _c;
|
|
@@ -3890,8 +3890,7 @@
|
|
|
3890
3890
|
switch (_d.label) {
|
|
3891
3891
|
case 0: return [4 /*yield*/, this.find({
|
|
3892
3892
|
filters: {
|
|
3893
|
-
slug: slug
|
|
3894
|
-
shopAvailability: [shop],
|
|
3893
|
+
slug: slug
|
|
3895
3894
|
},
|
|
3896
3895
|
})];
|
|
3897
3896
|
case 1:
|