@pvh-afl/graphql 1.2.73 → 1.2.75

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.
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CatListFrontRowSection = exports.CatListFrontRowSettings = exports.CatListLookbookGridSection = exports.CatListLookbookGridSettings = exports.CatListEditorialTextSection = exports.CatListEditorialTextSettings = exports.CatListHeroSection = exports.CatListHeroSettings = exports.CatListLinkBlock = exports.CatListLinkSettings = exports.AppCategoryCollectionsSection = exports.AppCategoryCollectionsSettings = exports.AppCategoryTabsSection = exports.AppCategoryTabsSettings = exports.AppCategoryTabBlock = exports.AppCategoryTabSettings = exports.AppCategoryCollectionBlock = exports.AppCategoryCollectionSettings = exports.LoginScreenSection = exports.LoginScreenSettings = exports.SplashScreenSection = exports.SplashScreenSettings = exports.IndexLoyaltySection = exports.IndexLoyaltySettings = exports.AppHomeProductCarouselSection = exports.AppHomeProductCarouselSettings = exports.IndexCollectionTilesSection = exports.IndexCollectionTilesSettings = exports.IndexCollectionTileBlock = exports.IndexCollectionTileSettings = exports.IndexHeroSection = exports.IndexHeroSettings = exports.IndexHeroSlideBlock = exports.IndexHeroSlideSettings = exports.IndexHeroLinkBlock = exports.IndexHeroLinkSettings = exports.ImageWithButtonsSection = exports.ImageWithButtonsSettings = exports.ImageWithButtonsButtonBlock = exports.ImageWithButtonsButtonSettings = exports.PromoBannerSection = exports.PromoBannerSettings = exports.PromoBannerButtonBlock = exports.PromoBannerButtonSettings = exports.BannerSection = exports.BannerSectionSettings = exports.BannerSlideBlock = exports.BannerSlideSettings = exports.BannerButtonBlock = exports.BannerButtonBlockSettings = void 0;
4
4
  exports.FeatureGridBlockSettings = exports.FeatureGridButtonBlock = exports.FeatureGridButtonBlockSettings = exports.FeaturedCollectionSection = exports.FeaturedCollectionSectionSettings = exports.RecentlyViewedProductsSection = exports.RecentlyViewedProductsSectionSettings = exports.CategoryGridSection = exports.CategoryGridSectionSettings = exports.CategoryGridCardBlock = exports.CategoryGridCardBlockSettings = exports.CategoryGridButtonBlock = exports.CategoryGridButtonBlockSettings = exports.CategoryTilesSection = exports.CategoryTilesSectionSettings = exports.CategoryTileBlock = exports.CategoryTileBlockSettings = exports.NewsletterSection = exports.NewsletterSettings = exports.ShopByCategorySection = exports.ShopByCategorySettings = exports.CategoryCardBlock = exports.CategoryCardSettings = exports.FeaturedProductsSection = exports.FeaturedProductsSettings = exports.FitGuideTilesSection = exports.FitGuideTilesSettings = exports.FitGuideTileBlock = exports.FitGuideTileSettings = exports.FitGuideHeroSection = exports.FitGuideHeroSettings = exports.DenimGuideSeoTextSection = exports.DenimGuideSeoTextSettings = exports.DenimGuideFitGuideSection = exports.DenimGuideFitGuideSettings = exports.DenimGuideFitGuideBlock = exports.DenimGuideFitGuideBlockSettings = exports.DenimGuideFitRailSection = exports.DenimGuideFitRailSettings = exports.DenimGuideTileBlock = exports.DenimGuideTileSettings = exports.DenimGuideHeroSection = exports.DenimGuideHeroSettings = exports.DenimGuideAudienceBlock = exports.DenimGuideAudienceSettings = exports.CatListCategoryCardsSection = exports.CatListCategoryCardsSettings = exports.CatListCategoryCard = exports.CatListBackstageSection = exports.CatListBackstageSettings = void 0;
5
- exports.PageSection = exports.THClubSection = exports.THClubSectionSettings = exports.THClubBenefitBlock = exports.THClubBenefitBlockSettings = exports.AppCategorySection = exports.AppCategorySectionSettings = exports.AppCategoryBlock = exports.AppCategoryBlockSettings = exports.CategoryMenuItem = exports.AppCategoryItemBlock = exports.AppCategoryItemBlockSettings = exports.FaqsSection = exports.FaqHelpCard = exports.FaqCategory = exports.FaqItem = exports.ContactSection = exports.ContactLinkCard = exports.ContactCard = exports.ContactDetail = exports.FaqButton = exports.ImageCardCarouselSection = exports.ImageCardCarouselSectionSettings = exports.ImageCardCarouselCardBlock = exports.ImageCardCarouselCardBlockSettings = exports.LinkCardBlock = exports.LinkCardBlockSettings = exports.ButtonBlock = exports.ButtonBlockSettings = exports.ImageCardGridSection = exports.ImageCardGridSectionSettings = exports.ImageCardBlock = exports.ImageCardBlockSettings = exports.FeatureGridSection = exports.FeatureGridSectionSettings = exports.FeatureGridBlock = void 0;
5
+ exports.CollectionRecentlyViewedSection = exports.CollectionRecentlyViewedSettings = exports.CollectionProductCarouselSection = exports.CollectionProductCarouselSettings = exports.CollectionProductGridSection = exports.CollectionProductGridSettings = exports.CollectionFitRailSection = exports.CollectionFitRailSettings = exports.CollectionHeaderSection = exports.CollectionHeaderSettings = exports.CollectionHeroSection = exports.CollectionHeroSettings = exports.CollectionGridTile = exports.CollectionFitTile = exports.CollectionLink = exports.THClubSection = exports.THClubSectionSettings = exports.THClubBenefitBlock = exports.THClubBenefitBlockSettings = exports.AppCategorySection = exports.AppCategorySectionSettings = exports.AppCategoryBlock = exports.AppCategoryBlockSettings = exports.CategoryMenuItem = exports.AppCategoryItemBlock = exports.AppCategoryItemBlockSettings = exports.FaqsSection = exports.FaqHelpCard = exports.FaqCategory = exports.FaqItem = exports.ContactSection = exports.ContactLinkCard = exports.ContactCard = exports.ContactDetail = exports.FaqButton = exports.ImageCardCarouselSection = exports.ImageCardCarouselSectionSettings = exports.ImageCardCarouselCardBlock = exports.ImageCardCarouselCardBlockSettings = exports.LinkCardBlock = exports.LinkCardBlockSettings = exports.ButtonBlock = exports.ButtonBlockSettings = exports.ImageCardGridSection = exports.ImageCardGridSectionSettings = exports.ImageCardBlock = exports.ImageCardBlockSettings = exports.FeatureGridSection = exports.FeatureGridSectionSettings = exports.FeatureGridBlock = void 0;
6
+ exports.PageSection = exports.CollectionExploreMoreSection = exports.CollectionExploreMoreSettings = exports.CollectionPromoSection = exports.CollectionPromoSettings = exports.CollectionSeoTextSection = exports.CollectionSeoTextSettings = void 0;
6
7
  const tslib_1 = require("tslib");
7
8
  const graphql_1 = require("@nestjs/graphql");
8
9
  const common_types_1 = require("./common.types");
@@ -4495,6 +4496,664 @@ tslib_1.__decorate([
4495
4496
  exports.THClubSection = THClubSection = tslib_1.__decorate([
4496
4497
  (0, graphql_1.ObjectType)()
4497
4498
  ], THClubSection);
4499
+ // ============ Collection Page Section Types ============
4500
+ // templates/collection.json, content from the collection's custom.plp_* metafields
4501
+ let CollectionLink = class CollectionLink {
4502
+ label;
4503
+ url;
4504
+ };
4505
+ exports.CollectionLink = CollectionLink;
4506
+ tslib_1.__decorate([
4507
+ (0, graphql_1.Field)({ nullable: true }),
4508
+ tslib_1.__metadata("design:type", String)
4509
+ ], CollectionLink.prototype, "label", void 0);
4510
+ tslib_1.__decorate([
4511
+ (0, graphql_1.Field)({ nullable: true }),
4512
+ tslib_1.__metadata("design:type", String)
4513
+ ], CollectionLink.prototype, "url", void 0);
4514
+ exports.CollectionLink = CollectionLink = tslib_1.__decorate([
4515
+ (0, graphql_1.ObjectType)()
4516
+ ], CollectionLink);
4517
+ let CollectionFitTile = class CollectionFitTile {
4518
+ label;
4519
+ image;
4520
+ link_url;
4521
+ };
4522
+ exports.CollectionFitTile = CollectionFitTile;
4523
+ tslib_1.__decorate([
4524
+ (0, graphql_1.Field)({ nullable: true }),
4525
+ tslib_1.__metadata("design:type", String)
4526
+ ], CollectionFitTile.prototype, "label", void 0);
4527
+ tslib_1.__decorate([
4528
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
4529
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
4530
+ ], CollectionFitTile.prototype, "image", void 0);
4531
+ tslib_1.__decorate([
4532
+ (0, graphql_1.Field)({ nullable: true }),
4533
+ tslib_1.__metadata("design:type", String)
4534
+ ], CollectionFitTile.prototype, "link_url", void 0);
4535
+ exports.CollectionFitTile = CollectionFitTile = tslib_1.__decorate([
4536
+ (0, graphql_1.ObjectType)()
4537
+ ], CollectionFitTile);
4538
+ let CollectionGridTile = class CollectionGridTile {
4539
+ // 1-based product position across the whole collection, not per page
4540
+ position;
4541
+ span;
4542
+ layout;
4543
+ image_desktop;
4544
+ image_mobile;
4545
+ image_secondary;
4546
+ gallery;
4547
+ caption_prefix;
4548
+ caption_highlight;
4549
+ headline;
4550
+ subheading;
4551
+ body;
4552
+ cta_label;
4553
+ link_url;
4554
+ };
4555
+ exports.CollectionGridTile = CollectionGridTile;
4556
+ tslib_1.__decorate([
4557
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4558
+ tslib_1.__metadata("design:type", Number)
4559
+ ], CollectionGridTile.prototype, "position", void 0);
4560
+ tslib_1.__decorate([
4561
+ (0, graphql_1.Field)({ nullable: true }),
4562
+ tslib_1.__metadata("design:type", String)
4563
+ ], CollectionGridTile.prototype, "span", void 0);
4564
+ tslib_1.__decorate([
4565
+ (0, graphql_1.Field)({ nullable: true }),
4566
+ tslib_1.__metadata("design:type", String)
4567
+ ], CollectionGridTile.prototype, "layout", void 0);
4568
+ tslib_1.__decorate([
4569
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
4570
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
4571
+ ], CollectionGridTile.prototype, "image_desktop", void 0);
4572
+ tslib_1.__decorate([
4573
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
4574
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
4575
+ ], CollectionGridTile.prototype, "image_mobile", void 0);
4576
+ tslib_1.__decorate([
4577
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
4578
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
4579
+ ], CollectionGridTile.prototype, "image_secondary", void 0);
4580
+ tslib_1.__decorate([
4581
+ (0, graphql_1.Field)(() => [common_types_1.CMSImage], { nullable: true }),
4582
+ tslib_1.__metadata("design:type", Array)
4583
+ ], CollectionGridTile.prototype, "gallery", void 0);
4584
+ tslib_1.__decorate([
4585
+ (0, graphql_1.Field)({ nullable: true }),
4586
+ tslib_1.__metadata("design:type", String)
4587
+ ], CollectionGridTile.prototype, "caption_prefix", void 0);
4588
+ tslib_1.__decorate([
4589
+ (0, graphql_1.Field)({ nullable: true }),
4590
+ tslib_1.__metadata("design:type", String)
4591
+ ], CollectionGridTile.prototype, "caption_highlight", void 0);
4592
+ tslib_1.__decorate([
4593
+ (0, graphql_1.Field)({ nullable: true }),
4594
+ tslib_1.__metadata("design:type", String)
4595
+ ], CollectionGridTile.prototype, "headline", void 0);
4596
+ tslib_1.__decorate([
4597
+ (0, graphql_1.Field)({ nullable: true }),
4598
+ tslib_1.__metadata("design:type", String)
4599
+ ], CollectionGridTile.prototype, "subheading", void 0);
4600
+ tslib_1.__decorate([
4601
+ (0, graphql_1.Field)({ nullable: true }),
4602
+ tslib_1.__metadata("design:type", String)
4603
+ ], CollectionGridTile.prototype, "body", void 0);
4604
+ tslib_1.__decorate([
4605
+ (0, graphql_1.Field)({ nullable: true }),
4606
+ tslib_1.__metadata("design:type", String)
4607
+ ], CollectionGridTile.prototype, "cta_label", void 0);
4608
+ tslib_1.__decorate([
4609
+ (0, graphql_1.Field)({ nullable: true }),
4610
+ tslib_1.__metadata("design:type", String)
4611
+ ], CollectionGridTile.prototype, "link_url", void 0);
4612
+ exports.CollectionGridTile = CollectionGridTile = tslib_1.__decorate([
4613
+ (0, graphql_1.ObjectType)()
4614
+ ], CollectionGridTile);
4615
+ let CollectionHeroSettings = class CollectionHeroSettings {
4616
+ color_scheme;
4617
+ section_height;
4618
+ scrim_opacity;
4619
+ title;
4620
+ image_desktop;
4621
+ image_mobile;
4622
+ caption;
4623
+ cta_label;
4624
+ link_url;
4625
+ };
4626
+ exports.CollectionHeroSettings = CollectionHeroSettings;
4627
+ tslib_1.__decorate([
4628
+ (0, graphql_1.Field)({ nullable: true }),
4629
+ tslib_1.__metadata("design:type", String)
4630
+ ], CollectionHeroSettings.prototype, "color_scheme", void 0);
4631
+ tslib_1.__decorate([
4632
+ (0, graphql_1.Field)({ nullable: true }),
4633
+ tslib_1.__metadata("design:type", String)
4634
+ ], CollectionHeroSettings.prototype, "section_height", void 0);
4635
+ tslib_1.__decorate([
4636
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4637
+ tslib_1.__metadata("design:type", Number)
4638
+ ], CollectionHeroSettings.prototype, "scrim_opacity", void 0);
4639
+ tslib_1.__decorate([
4640
+ (0, graphql_1.Field)({ nullable: true }),
4641
+ tslib_1.__metadata("design:type", String)
4642
+ ], CollectionHeroSettings.prototype, "title", void 0);
4643
+ tslib_1.__decorate([
4644
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
4645
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
4646
+ ], CollectionHeroSettings.prototype, "image_desktop", void 0);
4647
+ tslib_1.__decorate([
4648
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
4649
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
4650
+ ], CollectionHeroSettings.prototype, "image_mobile", void 0);
4651
+ tslib_1.__decorate([
4652
+ (0, graphql_1.Field)({ nullable: true }),
4653
+ tslib_1.__metadata("design:type", String)
4654
+ ], CollectionHeroSettings.prototype, "caption", void 0);
4655
+ tslib_1.__decorate([
4656
+ (0, graphql_1.Field)({ nullable: true }),
4657
+ tslib_1.__metadata("design:type", String)
4658
+ ], CollectionHeroSettings.prototype, "cta_label", void 0);
4659
+ tslib_1.__decorate([
4660
+ (0, graphql_1.Field)({ nullable: true }),
4661
+ tslib_1.__metadata("design:type", String)
4662
+ ], CollectionHeroSettings.prototype, "link_url", void 0);
4663
+ exports.CollectionHeroSettings = CollectionHeroSettings = tslib_1.__decorate([
4664
+ (0, graphql_1.ObjectType)()
4665
+ ], CollectionHeroSettings);
4666
+ let CollectionHeroSection = class CollectionHeroSection {
4667
+ type;
4668
+ settings;
4669
+ };
4670
+ exports.CollectionHeroSection = CollectionHeroSection;
4671
+ tslib_1.__decorate([
4672
+ (0, graphql_1.Field)(),
4673
+ tslib_1.__metadata("design:type", String)
4674
+ ], CollectionHeroSection.prototype, "type", void 0);
4675
+ tslib_1.__decorate([
4676
+ (0, graphql_1.Field)(() => CollectionHeroSettings),
4677
+ tslib_1.__metadata("design:type", CollectionHeroSettings)
4678
+ ], CollectionHeroSection.prototype, "settings", void 0);
4679
+ exports.CollectionHeroSection = CollectionHeroSection = tslib_1.__decorate([
4680
+ (0, graphql_1.ObjectType)()
4681
+ ], CollectionHeroSection);
4682
+ let CollectionHeaderSettings = class CollectionHeaderSettings {
4683
+ color_scheme;
4684
+ padding_top;
4685
+ padding_bottom;
4686
+ title;
4687
+ category_links;
4688
+ };
4689
+ exports.CollectionHeaderSettings = CollectionHeaderSettings;
4690
+ tslib_1.__decorate([
4691
+ (0, graphql_1.Field)({ nullable: true }),
4692
+ tslib_1.__metadata("design:type", String)
4693
+ ], CollectionHeaderSettings.prototype, "color_scheme", void 0);
4694
+ tslib_1.__decorate([
4695
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4696
+ tslib_1.__metadata("design:type", Number)
4697
+ ], CollectionHeaderSettings.prototype, "padding_top", void 0);
4698
+ tslib_1.__decorate([
4699
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4700
+ tslib_1.__metadata("design:type", Number)
4701
+ ], CollectionHeaderSettings.prototype, "padding_bottom", void 0);
4702
+ tslib_1.__decorate([
4703
+ (0, graphql_1.Field)({ nullable: true }),
4704
+ tslib_1.__metadata("design:type", String)
4705
+ ], CollectionHeaderSettings.prototype, "title", void 0);
4706
+ tslib_1.__decorate([
4707
+ (0, graphql_1.Field)(() => [CollectionLink], { nullable: true }),
4708
+ tslib_1.__metadata("design:type", Array)
4709
+ ], CollectionHeaderSettings.prototype, "category_links", void 0);
4710
+ exports.CollectionHeaderSettings = CollectionHeaderSettings = tslib_1.__decorate([
4711
+ (0, graphql_1.ObjectType)()
4712
+ ], CollectionHeaderSettings);
4713
+ let CollectionHeaderSection = class CollectionHeaderSection {
4714
+ type;
4715
+ settings;
4716
+ };
4717
+ exports.CollectionHeaderSection = CollectionHeaderSection;
4718
+ tslib_1.__decorate([
4719
+ (0, graphql_1.Field)(),
4720
+ tslib_1.__metadata("design:type", String)
4721
+ ], CollectionHeaderSection.prototype, "type", void 0);
4722
+ tslib_1.__decorate([
4723
+ (0, graphql_1.Field)(() => CollectionHeaderSettings),
4724
+ tslib_1.__metadata("design:type", CollectionHeaderSettings)
4725
+ ], CollectionHeaderSection.prototype, "settings", void 0);
4726
+ exports.CollectionHeaderSection = CollectionHeaderSection = tslib_1.__decorate([
4727
+ (0, graphql_1.ObjectType)()
4728
+ ], CollectionHeaderSection);
4729
+ let CollectionFitRailSettings = class CollectionFitRailSettings {
4730
+ color_scheme;
4731
+ // "rail" or "grid"
4732
+ tile_layout;
4733
+ tiles;
4734
+ };
4735
+ exports.CollectionFitRailSettings = CollectionFitRailSettings;
4736
+ tslib_1.__decorate([
4737
+ (0, graphql_1.Field)({ nullable: true }),
4738
+ tslib_1.__metadata("design:type", String)
4739
+ ], CollectionFitRailSettings.prototype, "color_scheme", void 0);
4740
+ tslib_1.__decorate([
4741
+ (0, graphql_1.Field)({ nullable: true }),
4742
+ tslib_1.__metadata("design:type", String)
4743
+ ], CollectionFitRailSettings.prototype, "tile_layout", void 0);
4744
+ tslib_1.__decorate([
4745
+ (0, graphql_1.Field)(() => [CollectionFitTile], { nullable: true }),
4746
+ tslib_1.__metadata("design:type", Array)
4747
+ ], CollectionFitRailSettings.prototype, "tiles", void 0);
4748
+ exports.CollectionFitRailSettings = CollectionFitRailSettings = tslib_1.__decorate([
4749
+ (0, graphql_1.ObjectType)()
4750
+ ], CollectionFitRailSettings);
4751
+ let CollectionFitRailSection = class CollectionFitRailSection {
4752
+ type;
4753
+ settings;
4754
+ };
4755
+ exports.CollectionFitRailSection = CollectionFitRailSection;
4756
+ tslib_1.__decorate([
4757
+ (0, graphql_1.Field)(),
4758
+ tslib_1.__metadata("design:type", String)
4759
+ ], CollectionFitRailSection.prototype, "type", void 0);
4760
+ tslib_1.__decorate([
4761
+ (0, graphql_1.Field)(() => CollectionFitRailSettings),
4762
+ tslib_1.__metadata("design:type", CollectionFitRailSettings)
4763
+ ], CollectionFitRailSection.prototype, "settings", void 0);
4764
+ exports.CollectionFitRailSection = CollectionFitRailSection = tslib_1.__decorate([
4765
+ (0, graphql_1.ObjectType)()
4766
+ ], CollectionFitRailSection);
4767
+ let CollectionProductGridSettings = class CollectionProductGridSettings {
4768
+ color_scheme;
4769
+ products_per_page;
4770
+ columns_desktop;
4771
+ columns_mobile;
4772
+ image_ratio;
4773
+ image_shape;
4774
+ show_secondary_image;
4775
+ show_vendor;
4776
+ show_rating;
4777
+ quick_add;
4778
+ enable_filtering;
4779
+ filter_type;
4780
+ enable_sorting;
4781
+ pagination_style;
4782
+ padding_top;
4783
+ padding_bottom;
4784
+ // The app's in-grid tiles (plp_app_grid_tiles)
4785
+ app_tiles;
4786
+ };
4787
+ exports.CollectionProductGridSettings = CollectionProductGridSettings;
4788
+ tslib_1.__decorate([
4789
+ (0, graphql_1.Field)({ nullable: true }),
4790
+ tslib_1.__metadata("design:type", String)
4791
+ ], CollectionProductGridSettings.prototype, "color_scheme", void 0);
4792
+ tslib_1.__decorate([
4793
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4794
+ tslib_1.__metadata("design:type", Number)
4795
+ ], CollectionProductGridSettings.prototype, "products_per_page", void 0);
4796
+ tslib_1.__decorate([
4797
+ (0, graphql_1.Field)({ nullable: true }),
4798
+ tslib_1.__metadata("design:type", String)
4799
+ ], CollectionProductGridSettings.prototype, "columns_desktop", void 0);
4800
+ tslib_1.__decorate([
4801
+ (0, graphql_1.Field)({ nullable: true }),
4802
+ tslib_1.__metadata("design:type", String)
4803
+ ], CollectionProductGridSettings.prototype, "columns_mobile", void 0);
4804
+ tslib_1.__decorate([
4805
+ (0, graphql_1.Field)({ nullable: true }),
4806
+ tslib_1.__metadata("design:type", String)
4807
+ ], CollectionProductGridSettings.prototype, "image_ratio", void 0);
4808
+ tslib_1.__decorate([
4809
+ (0, graphql_1.Field)({ nullable: true }),
4810
+ tslib_1.__metadata("design:type", String)
4811
+ ], CollectionProductGridSettings.prototype, "image_shape", void 0);
4812
+ tslib_1.__decorate([
4813
+ (0, graphql_1.Field)({ nullable: true }),
4814
+ tslib_1.__metadata("design:type", Boolean)
4815
+ ], CollectionProductGridSettings.prototype, "show_secondary_image", void 0);
4816
+ tslib_1.__decorate([
4817
+ (0, graphql_1.Field)({ nullable: true }),
4818
+ tslib_1.__metadata("design:type", Boolean)
4819
+ ], CollectionProductGridSettings.prototype, "show_vendor", void 0);
4820
+ tslib_1.__decorate([
4821
+ (0, graphql_1.Field)({ nullable: true }),
4822
+ tslib_1.__metadata("design:type", Boolean)
4823
+ ], CollectionProductGridSettings.prototype, "show_rating", void 0);
4824
+ tslib_1.__decorate([
4825
+ (0, graphql_1.Field)({ nullable: true }),
4826
+ tslib_1.__metadata("design:type", String)
4827
+ ], CollectionProductGridSettings.prototype, "quick_add", void 0);
4828
+ tslib_1.__decorate([
4829
+ (0, graphql_1.Field)({ nullable: true }),
4830
+ tslib_1.__metadata("design:type", Boolean)
4831
+ ], CollectionProductGridSettings.prototype, "enable_filtering", void 0);
4832
+ tslib_1.__decorate([
4833
+ (0, graphql_1.Field)({ nullable: true }),
4834
+ tslib_1.__metadata("design:type", String)
4835
+ ], CollectionProductGridSettings.prototype, "filter_type", void 0);
4836
+ tslib_1.__decorate([
4837
+ (0, graphql_1.Field)({ nullable: true }),
4838
+ tslib_1.__metadata("design:type", Boolean)
4839
+ ], CollectionProductGridSettings.prototype, "enable_sorting", void 0);
4840
+ tslib_1.__decorate([
4841
+ (0, graphql_1.Field)({ nullable: true }),
4842
+ tslib_1.__metadata("design:type", String)
4843
+ ], CollectionProductGridSettings.prototype, "pagination_style", void 0);
4844
+ tslib_1.__decorate([
4845
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4846
+ tslib_1.__metadata("design:type", Number)
4847
+ ], CollectionProductGridSettings.prototype, "padding_top", void 0);
4848
+ tslib_1.__decorate([
4849
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4850
+ tslib_1.__metadata("design:type", Number)
4851
+ ], CollectionProductGridSettings.prototype, "padding_bottom", void 0);
4852
+ tslib_1.__decorate([
4853
+ (0, graphql_1.Field)(() => [CollectionGridTile], { nullable: true }),
4854
+ tslib_1.__metadata("design:type", Array)
4855
+ ], CollectionProductGridSettings.prototype, "app_tiles", void 0);
4856
+ exports.CollectionProductGridSettings = CollectionProductGridSettings = tslib_1.__decorate([
4857
+ (0, graphql_1.ObjectType)()
4858
+ ], CollectionProductGridSettings);
4859
+ let CollectionProductGridSection = class CollectionProductGridSection {
4860
+ type;
4861
+ settings;
4862
+ };
4863
+ exports.CollectionProductGridSection = CollectionProductGridSection;
4864
+ tslib_1.__decorate([
4865
+ (0, graphql_1.Field)(),
4866
+ tslib_1.__metadata("design:type", String)
4867
+ ], CollectionProductGridSection.prototype, "type", void 0);
4868
+ tslib_1.__decorate([
4869
+ (0, graphql_1.Field)(() => CollectionProductGridSettings),
4870
+ tslib_1.__metadata("design:type", CollectionProductGridSettings)
4871
+ ], CollectionProductGridSection.prototype, "settings", void 0);
4872
+ exports.CollectionProductGridSection = CollectionProductGridSection = tslib_1.__decorate([
4873
+ (0, graphql_1.ObjectType)()
4874
+ ], CollectionProductGridSection);
4875
+ let CollectionProductCarouselSettings = class CollectionProductCarouselSettings {
4876
+ color_scheme;
4877
+ heading;
4878
+ products_to_show;
4879
+ collection;
4880
+ source;
4881
+ padding_top;
4882
+ padding_bottom;
4883
+ };
4884
+ exports.CollectionProductCarouselSettings = CollectionProductCarouselSettings;
4885
+ tslib_1.__decorate([
4886
+ (0, graphql_1.Field)({ nullable: true }),
4887
+ tslib_1.__metadata("design:type", String)
4888
+ ], CollectionProductCarouselSettings.prototype, "color_scheme", void 0);
4889
+ tslib_1.__decorate([
4890
+ (0, graphql_1.Field)({ nullable: true }),
4891
+ tslib_1.__metadata("design:type", String)
4892
+ ], CollectionProductCarouselSettings.prototype, "heading", void 0);
4893
+ tslib_1.__decorate([
4894
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4895
+ tslib_1.__metadata("design:type", Number)
4896
+ ], CollectionProductCarouselSettings.prototype, "products_to_show", void 0);
4897
+ tslib_1.__decorate([
4898
+ (0, graphql_1.Field)({ nullable: true }),
4899
+ tslib_1.__metadata("design:type", String)
4900
+ ], CollectionProductCarouselSettings.prototype, "collection", void 0);
4901
+ tslib_1.__decorate([
4902
+ (0, graphql_1.Field)({ nullable: true }),
4903
+ tslib_1.__metadata("design:type", String)
4904
+ ], CollectionProductCarouselSettings.prototype, "source", void 0);
4905
+ tslib_1.__decorate([
4906
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4907
+ tslib_1.__metadata("design:type", Number)
4908
+ ], CollectionProductCarouselSettings.prototype, "padding_top", void 0);
4909
+ tslib_1.__decorate([
4910
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4911
+ tslib_1.__metadata("design:type", Number)
4912
+ ], CollectionProductCarouselSettings.prototype, "padding_bottom", void 0);
4913
+ exports.CollectionProductCarouselSettings = CollectionProductCarouselSettings = tslib_1.__decorate([
4914
+ (0, graphql_1.ObjectType)()
4915
+ ], CollectionProductCarouselSettings);
4916
+ let CollectionProductCarouselSection = class CollectionProductCarouselSection {
4917
+ type;
4918
+ settings;
4919
+ // Resolved by core from settings.collection
4920
+ products;
4921
+ };
4922
+ exports.CollectionProductCarouselSection = CollectionProductCarouselSection;
4923
+ tslib_1.__decorate([
4924
+ (0, graphql_1.Field)(),
4925
+ tslib_1.__metadata("design:type", String)
4926
+ ], CollectionProductCarouselSection.prototype, "type", void 0);
4927
+ tslib_1.__decorate([
4928
+ (0, graphql_1.Field)(() => CollectionProductCarouselSettings),
4929
+ tslib_1.__metadata("design:type", CollectionProductCarouselSettings)
4930
+ ], CollectionProductCarouselSection.prototype, "settings", void 0);
4931
+ tslib_1.__decorate([
4932
+ (0, graphql_1.Field)(() => [common_types_1.PageProduct], { nullable: true }),
4933
+ tslib_1.__metadata("design:type", Array)
4934
+ ], CollectionProductCarouselSection.prototype, "products", void 0);
4935
+ exports.CollectionProductCarouselSection = CollectionProductCarouselSection = tslib_1.__decorate([
4936
+ (0, graphql_1.ObjectType)()
4937
+ ], CollectionProductCarouselSection);
4938
+ let CollectionRecentlyViewedSettings = class CollectionRecentlyViewedSettings {
4939
+ color_scheme;
4940
+ heading;
4941
+ products_to_show;
4942
+ padding_top;
4943
+ padding_bottom;
4944
+ };
4945
+ exports.CollectionRecentlyViewedSettings = CollectionRecentlyViewedSettings;
4946
+ tslib_1.__decorate([
4947
+ (0, graphql_1.Field)({ nullable: true }),
4948
+ tslib_1.__metadata("design:type", String)
4949
+ ], CollectionRecentlyViewedSettings.prototype, "color_scheme", void 0);
4950
+ tslib_1.__decorate([
4951
+ (0, graphql_1.Field)({ nullable: true }),
4952
+ tslib_1.__metadata("design:type", String)
4953
+ ], CollectionRecentlyViewedSettings.prototype, "heading", void 0);
4954
+ tslib_1.__decorate([
4955
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4956
+ tslib_1.__metadata("design:type", Number)
4957
+ ], CollectionRecentlyViewedSettings.prototype, "products_to_show", void 0);
4958
+ tslib_1.__decorate([
4959
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4960
+ tslib_1.__metadata("design:type", Number)
4961
+ ], CollectionRecentlyViewedSettings.prototype, "padding_top", void 0);
4962
+ tslib_1.__decorate([
4963
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
4964
+ tslib_1.__metadata("design:type", Number)
4965
+ ], CollectionRecentlyViewedSettings.prototype, "padding_bottom", void 0);
4966
+ exports.CollectionRecentlyViewedSettings = CollectionRecentlyViewedSettings = tslib_1.__decorate([
4967
+ (0, graphql_1.ObjectType)()
4968
+ ], CollectionRecentlyViewedSettings);
4969
+ let CollectionRecentlyViewedSection = class CollectionRecentlyViewedSection {
4970
+ type;
4971
+ settings;
4972
+ };
4973
+ exports.CollectionRecentlyViewedSection = CollectionRecentlyViewedSection;
4974
+ tslib_1.__decorate([
4975
+ (0, graphql_1.Field)(),
4976
+ tslib_1.__metadata("design:type", String)
4977
+ ], CollectionRecentlyViewedSection.prototype, "type", void 0);
4978
+ tslib_1.__decorate([
4979
+ (0, graphql_1.Field)(() => CollectionRecentlyViewedSettings),
4980
+ tslib_1.__metadata("design:type", CollectionRecentlyViewedSettings)
4981
+ ], CollectionRecentlyViewedSection.prototype, "settings", void 0);
4982
+ exports.CollectionRecentlyViewedSection = CollectionRecentlyViewedSection = tslib_1.__decorate([
4983
+ (0, graphql_1.ObjectType)()
4984
+ ], CollectionRecentlyViewedSection);
4985
+ let CollectionSeoTextSettings = class CollectionSeoTextSettings {
4986
+ color_scheme;
4987
+ padding_top;
4988
+ padding_bottom;
4989
+ heading;
4990
+ // Shopify rich text JSON, as a string
4991
+ body_json;
4992
+ };
4993
+ exports.CollectionSeoTextSettings = CollectionSeoTextSettings;
4994
+ tslib_1.__decorate([
4995
+ (0, graphql_1.Field)({ nullable: true }),
4996
+ tslib_1.__metadata("design:type", String)
4997
+ ], CollectionSeoTextSettings.prototype, "color_scheme", void 0);
4998
+ tslib_1.__decorate([
4999
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5000
+ tslib_1.__metadata("design:type", Number)
5001
+ ], CollectionSeoTextSettings.prototype, "padding_top", void 0);
5002
+ tslib_1.__decorate([
5003
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5004
+ tslib_1.__metadata("design:type", Number)
5005
+ ], CollectionSeoTextSettings.prototype, "padding_bottom", void 0);
5006
+ tslib_1.__decorate([
5007
+ (0, graphql_1.Field)({ nullable: true }),
5008
+ tslib_1.__metadata("design:type", String)
5009
+ ], CollectionSeoTextSettings.prototype, "heading", void 0);
5010
+ tslib_1.__decorate([
5011
+ (0, graphql_1.Field)({ nullable: true }),
5012
+ tslib_1.__metadata("design:type", String)
5013
+ ], CollectionSeoTextSettings.prototype, "body_json", void 0);
5014
+ exports.CollectionSeoTextSettings = CollectionSeoTextSettings = tslib_1.__decorate([
5015
+ (0, graphql_1.ObjectType)()
5016
+ ], CollectionSeoTextSettings);
5017
+ let CollectionSeoTextSection = class CollectionSeoTextSection {
5018
+ type;
5019
+ settings;
5020
+ };
5021
+ exports.CollectionSeoTextSection = CollectionSeoTextSection;
5022
+ tslib_1.__decorate([
5023
+ (0, graphql_1.Field)(),
5024
+ tslib_1.__metadata("design:type", String)
5025
+ ], CollectionSeoTextSection.prototype, "type", void 0);
5026
+ tslib_1.__decorate([
5027
+ (0, graphql_1.Field)(() => CollectionSeoTextSettings),
5028
+ tslib_1.__metadata("design:type", CollectionSeoTextSettings)
5029
+ ], CollectionSeoTextSection.prototype, "settings", void 0);
5030
+ exports.CollectionSeoTextSection = CollectionSeoTextSection = tslib_1.__decorate([
5031
+ (0, graphql_1.ObjectType)()
5032
+ ], CollectionSeoTextSection);
5033
+ let CollectionPromoSettings = class CollectionPromoSettings {
5034
+ color_scheme;
5035
+ section_height;
5036
+ scrim_opacity;
5037
+ padding_top;
5038
+ padding_bottom;
5039
+ image_desktop;
5040
+ image_mobile;
5041
+ heading;
5042
+ body;
5043
+ cta_label;
5044
+ link_url;
5045
+ };
5046
+ exports.CollectionPromoSettings = CollectionPromoSettings;
5047
+ tslib_1.__decorate([
5048
+ (0, graphql_1.Field)({ nullable: true }),
5049
+ tslib_1.__metadata("design:type", String)
5050
+ ], CollectionPromoSettings.prototype, "color_scheme", void 0);
5051
+ tslib_1.__decorate([
5052
+ (0, graphql_1.Field)({ nullable: true }),
5053
+ tslib_1.__metadata("design:type", String)
5054
+ ], CollectionPromoSettings.prototype, "section_height", void 0);
5055
+ tslib_1.__decorate([
5056
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5057
+ tslib_1.__metadata("design:type", Number)
5058
+ ], CollectionPromoSettings.prototype, "scrim_opacity", void 0);
5059
+ tslib_1.__decorate([
5060
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5061
+ tslib_1.__metadata("design:type", Number)
5062
+ ], CollectionPromoSettings.prototype, "padding_top", void 0);
5063
+ tslib_1.__decorate([
5064
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5065
+ tslib_1.__metadata("design:type", Number)
5066
+ ], CollectionPromoSettings.prototype, "padding_bottom", void 0);
5067
+ tslib_1.__decorate([
5068
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
5069
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
5070
+ ], CollectionPromoSettings.prototype, "image_desktop", void 0);
5071
+ tslib_1.__decorate([
5072
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
5073
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
5074
+ ], CollectionPromoSettings.prototype, "image_mobile", void 0);
5075
+ tslib_1.__decorate([
5076
+ (0, graphql_1.Field)({ nullable: true }),
5077
+ tslib_1.__metadata("design:type", String)
5078
+ ], CollectionPromoSettings.prototype, "heading", void 0);
5079
+ tslib_1.__decorate([
5080
+ (0, graphql_1.Field)({ nullable: true }),
5081
+ tslib_1.__metadata("design:type", String)
5082
+ ], CollectionPromoSettings.prototype, "body", void 0);
5083
+ tslib_1.__decorate([
5084
+ (0, graphql_1.Field)({ nullable: true }),
5085
+ tslib_1.__metadata("design:type", String)
5086
+ ], CollectionPromoSettings.prototype, "cta_label", void 0);
5087
+ tslib_1.__decorate([
5088
+ (0, graphql_1.Field)({ nullable: true }),
5089
+ tslib_1.__metadata("design:type", String)
5090
+ ], CollectionPromoSettings.prototype, "link_url", void 0);
5091
+ exports.CollectionPromoSettings = CollectionPromoSettings = tslib_1.__decorate([
5092
+ (0, graphql_1.ObjectType)()
5093
+ ], CollectionPromoSettings);
5094
+ let CollectionPromoSection = class CollectionPromoSection {
5095
+ type;
5096
+ settings;
5097
+ };
5098
+ exports.CollectionPromoSection = CollectionPromoSection;
5099
+ tslib_1.__decorate([
5100
+ (0, graphql_1.Field)(),
5101
+ tslib_1.__metadata("design:type", String)
5102
+ ], CollectionPromoSection.prototype, "type", void 0);
5103
+ tslib_1.__decorate([
5104
+ (0, graphql_1.Field)(() => CollectionPromoSettings),
5105
+ tslib_1.__metadata("design:type", CollectionPromoSettings)
5106
+ ], CollectionPromoSection.prototype, "settings", void 0);
5107
+ exports.CollectionPromoSection = CollectionPromoSection = tslib_1.__decorate([
5108
+ (0, graphql_1.ObjectType)()
5109
+ ], CollectionPromoSection);
5110
+ let CollectionExploreMoreSettings = class CollectionExploreMoreSettings {
5111
+ color_scheme;
5112
+ heading;
5113
+ padding_top;
5114
+ padding_bottom;
5115
+ explore_links;
5116
+ };
5117
+ exports.CollectionExploreMoreSettings = CollectionExploreMoreSettings;
5118
+ tslib_1.__decorate([
5119
+ (0, graphql_1.Field)({ nullable: true }),
5120
+ tslib_1.__metadata("design:type", String)
5121
+ ], CollectionExploreMoreSettings.prototype, "color_scheme", void 0);
5122
+ tslib_1.__decorate([
5123
+ (0, graphql_1.Field)({ nullable: true }),
5124
+ tslib_1.__metadata("design:type", String)
5125
+ ], CollectionExploreMoreSettings.prototype, "heading", void 0);
5126
+ tslib_1.__decorate([
5127
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5128
+ tslib_1.__metadata("design:type", Number)
5129
+ ], CollectionExploreMoreSettings.prototype, "padding_top", void 0);
5130
+ tslib_1.__decorate([
5131
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
5132
+ tslib_1.__metadata("design:type", Number)
5133
+ ], CollectionExploreMoreSettings.prototype, "padding_bottom", void 0);
5134
+ tslib_1.__decorate([
5135
+ (0, graphql_1.Field)(() => [CollectionLink], { nullable: true }),
5136
+ tslib_1.__metadata("design:type", Array)
5137
+ ], CollectionExploreMoreSettings.prototype, "explore_links", void 0);
5138
+ exports.CollectionExploreMoreSettings = CollectionExploreMoreSettings = tslib_1.__decorate([
5139
+ (0, graphql_1.ObjectType)()
5140
+ ], CollectionExploreMoreSettings);
5141
+ let CollectionExploreMoreSection = class CollectionExploreMoreSection {
5142
+ type;
5143
+ settings;
5144
+ };
5145
+ exports.CollectionExploreMoreSection = CollectionExploreMoreSection;
5146
+ tslib_1.__decorate([
5147
+ (0, graphql_1.Field)(),
5148
+ tslib_1.__metadata("design:type", String)
5149
+ ], CollectionExploreMoreSection.prototype, "type", void 0);
5150
+ tslib_1.__decorate([
5151
+ (0, graphql_1.Field)(() => CollectionExploreMoreSettings),
5152
+ tslib_1.__metadata("design:type", CollectionExploreMoreSettings)
5153
+ ], CollectionExploreMoreSection.prototype, "settings", void 0);
5154
+ exports.CollectionExploreMoreSection = CollectionExploreMoreSection = tslib_1.__decorate([
5155
+ (0, graphql_1.ObjectType)()
5156
+ ], CollectionExploreMoreSection);
4498
5157
  // ============ Union Type for All Page Sections ============
4499
5158
  exports.PageSection = (0, graphql_1.createUnionType)({
4500
5159
  name: 'PageSection',
@@ -4536,6 +5195,15 @@ exports.PageSection = (0, graphql_1.createUnionType)({
4536
5195
  DenimGuideSeoTextSection,
4537
5196
  FitGuideHeroSection,
4538
5197
  FitGuideTilesSection,
5198
+ CollectionHeroSection,
5199
+ CollectionHeaderSection,
5200
+ CollectionFitRailSection,
5201
+ CollectionProductGridSection,
5202
+ CollectionProductCarouselSection,
5203
+ CollectionRecentlyViewedSection,
5204
+ CollectionSeoTextSection,
5205
+ CollectionPromoSection,
5206
+ CollectionExploreMoreSection,
4539
5207
  ],
4540
5208
  resolveType(value) {
4541
5209
  switch (value.type) {
@@ -4613,6 +5281,24 @@ exports.PageSection = (0, graphql_1.createUnionType)({
4613
5281
  return FitGuideHeroSection;
4614
5282
  case 'fit-guide-tiles':
4615
5283
  return FitGuideTilesSection;
5284
+ case 'collection-hero':
5285
+ return CollectionHeroSection;
5286
+ case 'collection-header':
5287
+ return CollectionHeaderSection;
5288
+ case 'collection-fit-rail':
5289
+ return CollectionFitRailSection;
5290
+ case 'main-collection-product-grid':
5291
+ return CollectionProductGridSection;
5292
+ case 'collection-product-carousel':
5293
+ return CollectionProductCarouselSection;
5294
+ case 'collection-recently-viewed':
5295
+ return CollectionRecentlyViewedSection;
5296
+ case 'collection-seo-text':
5297
+ return CollectionSeoTextSection;
5298
+ case 'collection-promo':
5299
+ return CollectionPromoSection;
5300
+ case 'collection-explore-more':
5301
+ return CollectionExploreMoreSection;
4616
5302
  default:
4617
5303
  console.error(`Unknown section type: ${value.type}`, value);
4618
5304
  return null;