@infrab4a/connect 4.1.6-beta-0 → 4.1.6-beta.3

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 CHANGED
@@ -4798,9 +4798,10 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4798
4798
  howToUse: data.how_to_use,
4799
4799
  brand: data.brand_description,
4800
4800
  ingredients: data.ingredients,
4801
+ purpose: data.purpose,
4801
4802
  }),
4802
4803
  bindFindFilter: (filters) => {
4803
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((filters === null || filters === void 0 ? void 0 : filters.description) && { description: filters.description })), (filters.differentials && { differentials: filters.differentials })), (filters.whoMustUse && {
4804
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((filters === null || filters === void 0 ? void 0 : filters.description) && { description: filters.description })), (filters.differentials && { differentials: filters.differentials })), (filters.whoMustUse && {
4804
4805
  who_must_use: filters.whoMustUse,
4805
4806
  })), (filters.howToUse && {
4806
4807
  how_to_use: filters.howToUse,
@@ -4808,11 +4809,13 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4808
4809
  brand_description: filters.brand,
4809
4810
  })), (filters.ingredients && {
4810
4811
  ingredients: filters.ingredients,
4812
+ })), (filters.purpose && {
4813
+ purpose: filters.purpose,
4811
4814
  }));
4812
4815
  },
4813
- bindPersistData: (descriptionData) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((descriptionData === null || descriptionData === void 0 ? void 0 : descriptionData.description) && { description: descriptionData.description })), (descriptionData.differentials && { differentials: descriptionData.differentials })), (descriptionData.whoMustUse && {
4816
+ bindPersistData: (descriptionData) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((descriptionData === null || descriptionData === void 0 ? void 0 : descriptionData.description) && { description: descriptionData.description })), (descriptionData.differentials && { differentials: descriptionData.differentials })), (descriptionData.whoMustUse && {
4814
4817
  who_must_use: descriptionData.whoMustUse,
4815
- })), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients }))),
4818
+ })), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients })), (descriptionData.purpose && { purpose: descriptionData.purpose }))),
4816
4819
  },
4817
4820
  },
4818
4821
  { differentials: { columnName: 'differentials' } },
@@ -4820,6 +4823,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4820
4823
  { howToUse: { columnName: 'how_to_use' } },
4821
4824
  { brandDescription: { columnName: 'brand_description' } },
4822
4825
  { ingredients: { columnName: 'ingredients' } },
4826
+ { purpose: { columnName: 'purpose' } },
4823
4827
  { hasVariants: { columnName: 'has_variants' } },
4824
4828
  {
4825
4829
  images: {
package/index.esm.js CHANGED
@@ -4774,9 +4774,10 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4774
4774
  howToUse: data.how_to_use,
4775
4775
  brand: data.brand_description,
4776
4776
  ingredients: data.ingredients,
4777
+ purpose: data.purpose,
4777
4778
  }),
4778
4779
  bindFindFilter: (filters) => {
4779
- return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((filters === null || filters === void 0 ? void 0 : filters.description) && { description: filters.description })), (filters.differentials && { differentials: filters.differentials })), (filters.whoMustUse && {
4780
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((filters === null || filters === void 0 ? void 0 : filters.description) && { description: filters.description })), (filters.differentials && { differentials: filters.differentials })), (filters.whoMustUse && {
4780
4781
  who_must_use: filters.whoMustUse,
4781
4782
  })), (filters.howToUse && {
4782
4783
  how_to_use: filters.howToUse,
@@ -4784,11 +4785,13 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4784
4785
  brand_description: filters.brand,
4785
4786
  })), (filters.ingredients && {
4786
4787
  ingredients: filters.ingredients,
4788
+ })), (filters.purpose && {
4789
+ purpose: filters.purpose,
4787
4790
  }));
4788
4791
  },
4789
- bindPersistData: (descriptionData) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((descriptionData === null || descriptionData === void 0 ? void 0 : descriptionData.description) && { description: descriptionData.description })), (descriptionData.differentials && { differentials: descriptionData.differentials })), (descriptionData.whoMustUse && {
4792
+ bindPersistData: (descriptionData) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, ((descriptionData === null || descriptionData === void 0 ? void 0 : descriptionData.description) && { description: descriptionData.description })), (descriptionData.differentials && { differentials: descriptionData.differentials })), (descriptionData.whoMustUse && {
4790
4793
  who_must_use: descriptionData.whoMustUse,
4791
- })), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients }))),
4794
+ })), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients })), (descriptionData.purpose && { purpose: descriptionData.purpose }))),
4792
4795
  },
4793
4796
  },
4794
4797
  { differentials: { columnName: 'differentials' } },
@@ -4796,6 +4799,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
4796
4799
  { howToUse: { columnName: 'how_to_use' } },
4797
4800
  { brandDescription: { columnName: 'brand_description' } },
4798
4801
  { ingredients: { columnName: 'ingredients' } },
4802
+ { purpose: { columnName: 'purpose' } },
4799
4803
  { hasVariants: { columnName: 'has_variants' } },
4800
4804
  {
4801
4805
  images: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.1.6-beta-0",
3
+ "version": "4.1.6-beta.3",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -5,4 +5,5 @@ export type ShopDescription = {
5
5
  howToUse?: string;
6
6
  brand?: string;
7
7
  ingredients?: string;
8
+ purpose?: string;
8
9
  };