@infrab4a/connect 4.1.1 → 4.1.2-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.1.1",
3
+ "version": "4.1.2-beta.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -2,6 +2,7 @@ export * from './banner.type';
2
2
  export * from './benefit.type';
3
3
  export * from './campaign-page';
4
4
  export * from './home-data.type';
5
+ export * from './landing-page';
5
6
  export * from './menu-nav.type';
6
7
  export * from './sections.type';
7
8
  export * from './shop-banner.type';
@@ -9,6 +10,7 @@ export * from './shop-brands.type';
9
10
  export * from './shop-carousel.type';
10
11
  export * from './shop-collection.type';
11
12
  export * from './shop-gift.type';
13
+ export * from './shop-home';
12
14
  export * from './shop-post.type';
13
15
  export * from './shop-section.type';
14
16
  export * from './sub-menu.type';
@@ -0,0 +1,8 @@
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,3 +1,4 @@
1
+ import { LandingPage } from './landing-page';
1
2
  import { ShopBanner } from './shop-banner.type';
2
3
  import { ShopCarousel } from './shop-carousel.type';
3
4
  import { ShopGift } from './shop-gift.type';
@@ -17,6 +18,7 @@ export type GlampointsVitrineShopSection = [ShopBanner];
17
18
  export type SimpleLPShopSection = [(ShopBanner & {
18
19
  carouselColor?: string;
19
20
  })[]];
21
+ export type LandingPageSection = [LandingPage<any>];
20
22
  export type SectionList = {
21
23
  HomeSection: HomeSection;
22
24
  LPClubeShopSection: LPClubeShopSection;
@@ -27,5 +29,6 @@ export type SectionList = {
27
29
  PostsShopSection: PostsShopSection;
28
30
  GlampointsVitrineShopSection: GlampointsVitrineShopSection;
29
31
  SimpleLPShopSection: SimpleLPShopSection;
32
+ LandingPageSection: LandingPageSection;
30
33
  };
31
34
  export type Section<T extends keyof SectionList> = SectionList[T];