@infrab4a/connect 4.2.3-beta.4 → 4.2.3-beta.6
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 +2 -1
- package/index.esm.js +2 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -4461,7 +4461,8 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4461
4461
|
type: 'category_product_bool_exp',
|
|
4462
4462
|
required: true,
|
|
4463
4463
|
value: {
|
|
4464
|
-
category_id: {
|
|
4464
|
+
category_id: { _eq: categoryId },
|
|
4465
|
+
product_id: { _in: category.products.filter((productId) => !plainData.products.includes(productId)) },
|
|
4465
4466
|
},
|
|
4466
4467
|
},
|
|
4467
4468
|
});
|
package/index.esm.js
CHANGED
|
@@ -4455,7 +4455,8 @@ class CategoryHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGr
|
|
|
4455
4455
|
type: 'category_product_bool_exp',
|
|
4456
4456
|
required: true,
|
|
4457
4457
|
value: {
|
|
4458
|
-
category_id: {
|
|
4458
|
+
category_id: { _eq: categoryId },
|
|
4459
|
+
product_id: { _in: category.products.filter((productId) => !plainData.products.includes(productId)) },
|
|
4459
4460
|
},
|
|
4460
4461
|
},
|
|
4461
4462
|
});
|