@infrab4a/connect 4.0.0-beta.30 → 4.0.0-beta.31
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/domain/catalog/models/types/shop-description.type.d.ts +1 -0
- package/esm2020/domain/catalog/models/types/shop-description.type.mjs +1 -1
- package/esm2020/infra/hasura-graphql/models/product-hasura-graphql.mjs +1 -1
- package/esm2020/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.mjs +7 -1
- package/fesm2015/infrab4a-connect.mjs +7 -3
- package/fesm2015/infrab4a-connect.mjs.map +1 -1
- package/fesm2020/infrab4a-connect.mjs +6 -0
- package/fesm2020/infrab4a-connect.mjs.map +1 -1
- package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3860,6 +3860,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
3860
3860
|
whoMustUse: data.who_must_use,
|
|
3861
3861
|
howToUse: data.how_to_use,
|
|
3862
3862
|
brand: data.brand_description,
|
|
3863
|
+
ingredients: data.ingredients,
|
|
3863
3864
|
}),
|
|
3864
3865
|
bindFindFilter: (sentence) => {
|
|
3865
3866
|
const filters = Object.values(sentence).shift();
|
|
@@ -3875,6 +3876,9 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
3875
3876
|
...(filters.brand && {
|
|
3876
3877
|
brand_description: filters.brand,
|
|
3877
3878
|
}),
|
|
3879
|
+
...(filters.ingredients && {
|
|
3880
|
+
ingredients: filters.ingredients,
|
|
3881
|
+
}),
|
|
3878
3882
|
};
|
|
3879
3883
|
},
|
|
3880
3884
|
bindPersistData: (descriptionData) => ({
|
|
@@ -3885,6 +3889,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
3885
3889
|
}),
|
|
3886
3890
|
...(descriptionData.howToUse && { how_to_use: descriptionData.howToUse }),
|
|
3887
3891
|
...(descriptionData.brand && { brand_description: descriptionData.brand }),
|
|
3892
|
+
...(descriptionData.ingredients && { ingredients: descriptionData.ingredients }),
|
|
3888
3893
|
}),
|
|
3889
3894
|
},
|
|
3890
3895
|
},
|
|
@@ -3892,6 +3897,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
3892
3897
|
{ whoMustUse: { columnName: 'who_must_use' } },
|
|
3893
3898
|
{ howToUse: { columnName: 'how_to_use' } },
|
|
3894
3899
|
{ brandDescription: { columnName: 'brand_description' } },
|
|
3900
|
+
{ ingredients: { columnName: 'ingredients' } },
|
|
3895
3901
|
{ hasVariants: { columnName: 'has_variants' } },
|
|
3896
3902
|
{
|
|
3897
3903
|
images: {
|