@infrab4a/connect 4.1.5-beta.1 → 4.1.5-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 +7 -3
- package/index.esm.js +7 -3
- package/package.json +1 -1
- package/src/domain/catalog/models/types/shop-description.type.d.ts +1 -0
- package/src/domain/shop-settings/models/types/index.d.ts +0 -3
- package/src/domain/shop-settings/models/types/sections.type.d.ts +0 -6
- package/src/domain/shop-settings/models/types/brands-carousel.type.d.ts +0 -3
- package/src/domain/shop-settings/models/types/landing-page.d.ts +0 -8
- package/src/domain/shop-settings/models/types/promotion-page.d.ts +0 -10
package/index.cjs.js
CHANGED
|
@@ -4792,9 +4792,10 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
4792
4792
|
howToUse: data.how_to_use,
|
|
4793
4793
|
brand: data.brand_description,
|
|
4794
4794
|
ingredients: data.ingredients,
|
|
4795
|
+
purpose: data.purpose,
|
|
4795
4796
|
}),
|
|
4796
4797
|
bindFindFilter: (filters) => {
|
|
4797
|
-
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 && {
|
|
4798
|
+
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 && {
|
|
4798
4799
|
who_must_use: filters.whoMustUse,
|
|
4799
4800
|
})), (filters.howToUse && {
|
|
4800
4801
|
how_to_use: filters.howToUse,
|
|
@@ -4802,11 +4803,13 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
4802
4803
|
brand_description: filters.brand,
|
|
4803
4804
|
})), (filters.ingredients && {
|
|
4804
4805
|
ingredients: filters.ingredients,
|
|
4806
|
+
})), (filters.purpose && {
|
|
4807
|
+
purpose: filters.purpose,
|
|
4805
4808
|
}));
|
|
4806
4809
|
},
|
|
4807
|
-
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 && {
|
|
4810
|
+
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 && {
|
|
4808
4811
|
who_must_use: descriptionData.whoMustUse,
|
|
4809
|
-
})), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients }))),
|
|
4812
|
+
})), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients })), (descriptionData.purpose && { ingredients: descriptionData.purpose }))),
|
|
4810
4813
|
},
|
|
4811
4814
|
},
|
|
4812
4815
|
{ differentials: { columnName: 'differentials' } },
|
|
@@ -4814,6 +4817,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
4814
4817
|
{ howToUse: { columnName: 'how_to_use' } },
|
|
4815
4818
|
{ brandDescription: { columnName: 'brand_description' } },
|
|
4816
4819
|
{ ingredients: { columnName: 'ingredients' } },
|
|
4820
|
+
{ purpose: { columnName: 'purpose' } },
|
|
4817
4821
|
{ hasVariants: { columnName: 'has_variants' } },
|
|
4818
4822
|
{
|
|
4819
4823
|
images: {
|
package/index.esm.js
CHANGED
|
@@ -4768,9 +4768,10 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
4768
4768
|
howToUse: data.how_to_use,
|
|
4769
4769
|
brand: data.brand_description,
|
|
4770
4770
|
ingredients: data.ingredients,
|
|
4771
|
+
purpose: data.purpose,
|
|
4771
4772
|
}),
|
|
4772
4773
|
bindFindFilter: (filters) => {
|
|
4773
|
-
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 && {
|
|
4774
|
+
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 && {
|
|
4774
4775
|
who_must_use: filters.whoMustUse,
|
|
4775
4776
|
})), (filters.howToUse && {
|
|
4776
4777
|
how_to_use: filters.howToUse,
|
|
@@ -4778,11 +4779,13 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
4778
4779
|
brand_description: filters.brand,
|
|
4779
4780
|
})), (filters.ingredients && {
|
|
4780
4781
|
ingredients: filters.ingredients,
|
|
4782
|
+
})), (filters.purpose && {
|
|
4783
|
+
purpose: filters.purpose,
|
|
4781
4784
|
}));
|
|
4782
4785
|
},
|
|
4783
|
-
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 && {
|
|
4786
|
+
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 && {
|
|
4784
4787
|
who_must_use: descriptionData.whoMustUse,
|
|
4785
|
-
})), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients }))),
|
|
4788
|
+
})), (descriptionData.howToUse && { how_to_use: descriptionData.howToUse })), (descriptionData.brand && { brand_description: descriptionData.brand })), (descriptionData.ingredients && { ingredients: descriptionData.ingredients })), (descriptionData.purpose && { ingredients: descriptionData.purpose }))),
|
|
4786
4789
|
},
|
|
4787
4790
|
},
|
|
4788
4791
|
{ differentials: { columnName: 'differentials' } },
|
|
@@ -4790,6 +4793,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
|
|
|
4790
4793
|
{ howToUse: { columnName: 'how_to_use' } },
|
|
4791
4794
|
{ brandDescription: { columnName: 'brand_description' } },
|
|
4792
4795
|
{ ingredients: { columnName: 'ingredients' } },
|
|
4796
|
+
{ purpose: { columnName: 'purpose' } },
|
|
4793
4797
|
{ hasVariants: { columnName: 'has_variants' } },
|
|
4794
4798
|
{
|
|
4795
4799
|
images: {
|
package/package.json
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export * from './banner.type';
|
|
2
2
|
export * from './benefit.type';
|
|
3
|
-
export * from './brands-carousel.type';
|
|
4
3
|
export * from './campaign-page';
|
|
5
4
|
export * from './home-data.type';
|
|
6
|
-
export * from './landing-page';
|
|
7
5
|
export * from './menu-nav.type';
|
|
8
6
|
export * from './sections.type';
|
|
9
7
|
export * from './shop-banner.type';
|
|
@@ -11,7 +9,6 @@ export * from './shop-brands.type';
|
|
|
11
9
|
export * from './shop-carousel.type';
|
|
12
10
|
export * from './shop-collection.type';
|
|
13
11
|
export * from './shop-gift.type';
|
|
14
|
-
export * from './shop-home';
|
|
15
12
|
export * from './shop-post.type';
|
|
16
13
|
export * from './shop-section.type';
|
|
17
14
|
export * from './sub-menu.type';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { LandingPage } from './landing-page';
|
|
2
|
-
import { PromotionPage } from './promotion-page';
|
|
3
1
|
import { ShopBanner } from './shop-banner.type';
|
|
4
2
|
import { ShopCarousel } from './shop-carousel.type';
|
|
5
3
|
import { ShopGift } from './shop-gift.type';
|
|
@@ -19,8 +17,6 @@ export type GlampointsVitrineShopSection = [ShopBanner];
|
|
|
19
17
|
export type SimpleLPShopSection = [(ShopBanner & {
|
|
20
18
|
carouselColor?: string;
|
|
21
19
|
})[]];
|
|
22
|
-
export type LandingPageSection = [LandingPage<any>];
|
|
23
|
-
export type PromotionPageSection = [PromotionPage<any>];
|
|
24
20
|
export type SectionList = {
|
|
25
21
|
HomeSection: HomeSection;
|
|
26
22
|
LPClubeShopSection: LPClubeShopSection;
|
|
@@ -31,7 +27,5 @@ export type SectionList = {
|
|
|
31
27
|
PostsShopSection: PostsShopSection;
|
|
32
28
|
GlampointsVitrineShopSection: GlampointsVitrineShopSection;
|
|
33
29
|
SimpleLPShopSection: SimpleLPShopSection;
|
|
34
|
-
LandingPageSection: LandingPageSection;
|
|
35
|
-
PromotionPageSection: PromotionPageSection;
|
|
36
30
|
};
|
|
37
31
|
export type Section<T extends keyof SectionList> = SectionList[T];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ShopBanner } from './shop-banner.type';
|
|
2
|
-
import { ShopCarousel } from './shop-carousel.type';
|
|
3
|
-
import { ShopSection } from './shop-section.type';
|
|
4
|
-
export type LandingPageList = {
|
|
5
|
-
ShopCarousel: ShopCarousel;
|
|
6
|
-
ShopBanner: ShopBanner;
|
|
7
|
-
};
|
|
8
|
-
export type LandingPage<T extends keyof LandingPageList> = LandingPageList[T] & ShopSection;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BrandsCarousel } from './brands-carousel.type';
|
|
2
|
-
import { ShopBanner } from './shop-banner.type';
|
|
3
|
-
import { ShopGift } from './shop-gift.type';
|
|
4
|
-
import { ShopSection } from './shop-section.type';
|
|
5
|
-
export type PromotionPageList = {
|
|
6
|
-
ShopBanner: ShopBanner;
|
|
7
|
-
BrandsCarousel: BrandsCarousel;
|
|
8
|
-
ShopGift: ShopGift;
|
|
9
|
-
};
|
|
10
|
-
export type PromotionPage<T extends keyof PromotionPageList> = PromotionPageList[T] & ShopSection;
|