@pvh-afl/graphql 1.0.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.
Files changed (202) hide show
  1. package/README.md +135 -0
  2. package/dist/cart/cart.hooks.d.ts +66 -0
  3. package/dist/cart/cart.hooks.d.ts.map +1 -0
  4. package/dist/cart/cart.hooks.js +12 -0
  5. package/dist/cart/cart.hooks.js.map +1 -0
  6. package/dist/cart/cart.module.d.ts +25 -0
  7. package/dist/cart/cart.module.d.ts.map +1 -0
  8. package/dist/cart/cart.module.js +44 -0
  9. package/dist/cart/cart.module.js.map +1 -0
  10. package/dist/cart/cart.resolver.d.ts +23 -0
  11. package/dist/cart/cart.resolver.d.ts.map +1 -0
  12. package/dist/cart/cart.resolver.js +153 -0
  13. package/dist/cart/cart.resolver.js.map +1 -0
  14. package/dist/cart/cart.service.d.ts +31 -0
  15. package/dist/cart/cart.service.d.ts.map +1 -0
  16. package/dist/cart/cart.service.js +305 -0
  17. package/dist/cart/cart.service.js.map +1 -0
  18. package/dist/cart/cart.types.d.ts +144 -0
  19. package/dist/cart/cart.types.d.ts.map +1 -0
  20. package/dist/cart/cart.types.js +629 -0
  21. package/dist/cart/cart.types.js.map +1 -0
  22. package/dist/cart/index.d.ts +6 -0
  23. package/dist/cart/index.d.ts.map +1 -0
  24. package/dist/cart/index.js +9 -0
  25. package/dist/cart/index.js.map +1 -0
  26. package/dist/cms/cms.module.d.ts +3 -0
  27. package/dist/cms/cms.module.d.ts.map +1 -0
  28. package/dist/cms/cms.module.js +18 -0
  29. package/dist/cms/cms.module.js.map +1 -0
  30. package/dist/cms/cms.resolver.d.ts +15 -0
  31. package/dist/cms/cms.resolver.d.ts.map +1 -0
  32. package/dist/cms/cms.resolver.js +44 -0
  33. package/dist/cms/cms.resolver.js.map +1 -0
  34. package/dist/cms/cms.service.d.ts +14 -0
  35. package/dist/cms/cms.service.d.ts.map +1 -0
  36. package/dist/cms/cms.service.js +111 -0
  37. package/dist/cms/cms.service.js.map +1 -0
  38. package/dist/cms/cms.types.d.ts +20 -0
  39. package/dist/cms/cms.types.d.ts.map +1 -0
  40. package/dist/cms/cms.types.js +89 -0
  41. package/dist/cms/cms.types.js.map +1 -0
  42. package/dist/cms/index.d.ts +5 -0
  43. package/dist/cms/index.d.ts.map +1 -0
  44. package/dist/cms/index.js +8 -0
  45. package/dist/cms/index.js.map +1 -0
  46. package/dist/collection/collection.module.d.ts +3 -0
  47. package/dist/collection/collection.module.d.ts.map +1 -0
  48. package/dist/collection/collection.module.js +19 -0
  49. package/dist/collection/collection.module.js.map +1 -0
  50. package/dist/collection/collection.resolver.d.ts +15 -0
  51. package/dist/collection/collection.resolver.d.ts.map +1 -0
  52. package/dist/collection/collection.resolver.js +45 -0
  53. package/dist/collection/collection.resolver.js.map +1 -0
  54. package/dist/collection/collection.service.d.ts +19 -0
  55. package/dist/collection/collection.service.d.ts.map +1 -0
  56. package/dist/collection/collection.service.js +132 -0
  57. package/dist/collection/collection.service.js.map +1 -0
  58. package/dist/collection/collection.types.d.ts +18 -0
  59. package/dist/collection/collection.types.d.ts.map +1 -0
  60. package/dist/collection/collection.types.js +75 -0
  61. package/dist/collection/collection.types.js.map +1 -0
  62. package/dist/collection/index.d.ts +5 -0
  63. package/dist/collection/index.d.ts.map +1 -0
  64. package/dist/collection/index.js +8 -0
  65. package/dist/collection/index.js.map +1 -0
  66. package/dist/common/index.d.ts +8 -0
  67. package/dist/common/index.d.ts.map +1 -0
  68. package/dist/common/index.js +16 -0
  69. package/dist/common/index.js.map +1 -0
  70. package/dist/graphql.module.d.ts +3 -0
  71. package/dist/graphql.module.d.ts.map +1 -0
  72. package/dist/graphql.module.js +46 -0
  73. package/dist/graphql.module.js.map +1 -0
  74. package/dist/header/header.module.d.ts +9 -0
  75. package/dist/header/header.module.d.ts.map +1 -0
  76. package/dist/header/header.module.js +21 -0
  77. package/dist/header/header.module.js.map +1 -0
  78. package/dist/header/header.resolver.d.ts +18 -0
  79. package/dist/header/header.resolver.d.ts.map +1 -0
  80. package/dist/header/header.resolver.js +42 -0
  81. package/dist/header/header.resolver.js.map +1 -0
  82. package/dist/header/index.d.ts +4 -0
  83. package/dist/header/index.d.ts.map +1 -0
  84. package/dist/header/index.js +7 -0
  85. package/dist/header/index.js.map +1 -0
  86. package/dist/header/types/header.types.d.ts +36 -0
  87. package/dist/header/types/header.types.d.ts.map +1 -0
  88. package/dist/header/types/header.types.js +154 -0
  89. package/dist/header/types/header.types.js.map +1 -0
  90. package/dist/header/types/index.d.ts +3 -0
  91. package/dist/header/types/index.d.ts.map +1 -0
  92. package/dist/header/types/index.js +6 -0
  93. package/dist/header/types/index.js.map +1 -0
  94. package/dist/header/types/response.types.d.ts +13 -0
  95. package/dist/header/types/response.types.d.ts.map +1 -0
  96. package/dist/header/types/response.types.js +54 -0
  97. package/dist/header/types/response.types.js.map +1 -0
  98. package/dist/index.d.ts +16 -0
  99. package/dist/index.d.ts.map +1 -0
  100. package/dist/index.js +29 -0
  101. package/dist/index.js.map +1 -0
  102. package/dist/page-content/index.d.ts +5 -0
  103. package/dist/page-content/index.d.ts.map +1 -0
  104. package/dist/page-content/index.js +8 -0
  105. package/dist/page-content/index.js.map +1 -0
  106. package/dist/page-content/page-content.module.d.ts +9 -0
  107. package/dist/page-content/page-content.module.d.ts.map +1 -0
  108. package/dist/page-content/page-content.module.js +25 -0
  109. package/dist/page-content/page-content.module.js.map +1 -0
  110. package/dist/page-content/page-content.resolver.d.ts +18 -0
  111. package/dist/page-content/page-content.resolver.d.ts.map +1 -0
  112. package/dist/page-content/page-content.resolver.js +42 -0
  113. package/dist/page-content/page-content.resolver.js.map +1 -0
  114. package/dist/page-content/page-content.service.d.ts +59 -0
  115. package/dist/page-content/page-content.service.d.ts.map +1 -0
  116. package/dist/page-content/page-content.service.js +253 -0
  117. package/dist/page-content/page-content.service.js.map +1 -0
  118. package/dist/page-content/types/common.types.d.ts +49 -0
  119. package/dist/page-content/types/common.types.d.ts.map +1 -0
  120. package/dist/page-content/types/common.types.js +217 -0
  121. package/dist/page-content/types/common.types.js.map +1 -0
  122. package/dist/page-content/types/index.d.ts +4 -0
  123. package/dist/page-content/types/index.d.ts.map +1 -0
  124. package/dist/page-content/types/index.js +7 -0
  125. package/dist/page-content/types/index.js.map +1 -0
  126. package/dist/page-content/types/response.types.d.ts +8 -0
  127. package/dist/page-content/types/response.types.d.ts.map +1 -0
  128. package/dist/page-content/types/response.types.js +29 -0
  129. package/dist/page-content/types/response.types.js.map +1 -0
  130. package/dist/page-content/types/section.types.d.ts +276 -0
  131. package/dist/page-content/types/section.types.d.ts.map +1 -0
  132. package/dist/page-content/types/section.types.js +1252 -0
  133. package/dist/page-content/types/section.types.js.map +1 -0
  134. package/dist/product/index.d.ts +5 -0
  135. package/dist/product/index.d.ts.map +1 -0
  136. package/dist/product/index.js +8 -0
  137. package/dist/product/index.js.map +1 -0
  138. package/dist/product/product.module.d.ts +3 -0
  139. package/dist/product/product.module.d.ts.map +1 -0
  140. package/dist/product/product.module.js +19 -0
  141. package/dist/product/product.module.js.map +1 -0
  142. package/dist/product/product.resolver.d.ts +15 -0
  143. package/dist/product/product.resolver.d.ts.map +1 -0
  144. package/dist/product/product.resolver.js +45 -0
  145. package/dist/product/product.resolver.js.map +1 -0
  146. package/dist/product/product.service.d.ts +38 -0
  147. package/dist/product/product.service.d.ts.map +1 -0
  148. package/dist/product/product.service.js +337 -0
  149. package/dist/product/product.service.js.map +1 -0
  150. package/dist/product/product.types.d.ts +63 -0
  151. package/dist/product/product.types.d.ts.map +1 -0
  152. package/dist/product/product.types.js +276 -0
  153. package/dist/product/product.types.js.map +1 -0
  154. package/dist/product-content/index.d.ts +5 -0
  155. package/dist/product-content/index.d.ts.map +1 -0
  156. package/dist/product-content/index.js +8 -0
  157. package/dist/product-content/index.js.map +1 -0
  158. package/dist/product-content/product-content.module.d.ts +3 -0
  159. package/dist/product-content/product-content.module.d.ts.map +1 -0
  160. package/dist/product-content/product-content.module.js +27 -0
  161. package/dist/product-content/product-content.module.js.map +1 -0
  162. package/dist/product-content/product-content.resolver.d.ts +20 -0
  163. package/dist/product-content/product-content.resolver.d.ts.map +1 -0
  164. package/dist/product-content/product-content.resolver.js +44 -0
  165. package/dist/product-content/product-content.resolver.js.map +1 -0
  166. package/dist/product-content/product-content.service.d.ts +40 -0
  167. package/dist/product-content/product-content.service.d.ts.map +1 -0
  168. package/dist/product-content/product-content.service.js +239 -0
  169. package/dist/product-content/product-content.service.js.map +1 -0
  170. package/dist/product-content/types/common.types.d.ts +85 -0
  171. package/dist/product-content/types/common.types.d.ts.map +1 -0
  172. package/dist/product-content/types/common.types.js +384 -0
  173. package/dist/product-content/types/common.types.js.map +1 -0
  174. package/dist/product-content/types/index.d.ts +3 -0
  175. package/dist/product-content/types/index.d.ts.map +1 -0
  176. package/dist/product-content/types/index.js +6 -0
  177. package/dist/product-content/types/index.js.map +1 -0
  178. package/dist/product-content/types/response.types.d.ts +10 -0
  179. package/dist/product-content/types/response.types.d.ts.map +1 -0
  180. package/dist/product-content/types/response.types.js +39 -0
  181. package/dist/product-content/types/response.types.js.map +1 -0
  182. package/dist/serviceability/index.d.ts +5 -0
  183. package/dist/serviceability/index.d.ts.map +1 -0
  184. package/dist/serviceability/index.js +8 -0
  185. package/dist/serviceability/index.js.map +1 -0
  186. package/dist/serviceability/serviceability.module.d.ts +3 -0
  187. package/dist/serviceability/serviceability.module.d.ts.map +1 -0
  188. package/dist/serviceability/serviceability.module.js +18 -0
  189. package/dist/serviceability/serviceability.module.js.map +1 -0
  190. package/dist/serviceability/serviceability.resolver.d.ts +19 -0
  191. package/dist/serviceability/serviceability.resolver.d.ts.map +1 -0
  192. package/dist/serviceability/serviceability.resolver.js +40 -0
  193. package/dist/serviceability/serviceability.resolver.js.map +1 -0
  194. package/dist/serviceability/serviceability.service.d.ts +42 -0
  195. package/dist/serviceability/serviceability.service.d.ts.map +1 -0
  196. package/dist/serviceability/serviceability.service.js +169 -0
  197. package/dist/serviceability/serviceability.service.js.map +1 -0
  198. package/dist/serviceability/serviceability.types.d.ts +42 -0
  199. package/dist/serviceability/serviceability.types.d.ts.map +1 -0
  200. package/dist/serviceability/serviceability.types.js +184 -0
  201. package/dist/serviceability/serviceability.types.js.map +1 -0
  202. package/package.json +67 -0
@@ -0,0 +1,1252 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PageSection = exports.ImageCardGridSection = exports.ImageCardGridSectionSettings = exports.ImageCardBlock = exports.ImageCardBlockSettings = exports.FeatureGridSection = exports.FeatureGridSectionSettings = exports.FeatureGridBlock = 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.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
+ const tslib_1 = require("tslib");
5
+ const graphql_1 = require("@nestjs/graphql");
6
+ const common_types_1 = require("./common.types");
7
+ // ============ Banner Section Types ============
8
+ // Button block settings (used inside banner slides)
9
+ let BannerButtonBlockSettings = class BannerButtonBlockSettings {
10
+ cta_label;
11
+ cta_url;
12
+ cta_variant;
13
+ };
14
+ exports.BannerButtonBlockSettings = BannerButtonBlockSettings;
15
+ tslib_1.__decorate([
16
+ (0, graphql_1.Field)({ nullable: true }),
17
+ tslib_1.__metadata("design:type", String)
18
+ ], BannerButtonBlockSettings.prototype, "cta_label", void 0);
19
+ tslib_1.__decorate([
20
+ (0, graphql_1.Field)({ nullable: true }),
21
+ tslib_1.__metadata("design:type", String)
22
+ ], BannerButtonBlockSettings.prototype, "cta_url", void 0);
23
+ tslib_1.__decorate([
24
+ (0, graphql_1.Field)({ nullable: true }),
25
+ tslib_1.__metadata("design:type", String)
26
+ ], BannerButtonBlockSettings.prototype, "cta_variant", void 0);
27
+ exports.BannerButtonBlockSettings = BannerButtonBlockSettings = tslib_1.__decorate([
28
+ (0, graphql_1.ObjectType)()
29
+ ], BannerButtonBlockSettings);
30
+ let BannerButtonBlock = class BannerButtonBlock {
31
+ type;
32
+ settings;
33
+ };
34
+ exports.BannerButtonBlock = BannerButtonBlock;
35
+ tslib_1.__decorate([
36
+ (0, graphql_1.Field)(),
37
+ tslib_1.__metadata("design:type", String)
38
+ ], BannerButtonBlock.prototype, "type", void 0);
39
+ tslib_1.__decorate([
40
+ (0, graphql_1.Field)(() => BannerButtonBlockSettings),
41
+ tslib_1.__metadata("design:type", BannerButtonBlockSettings)
42
+ ], BannerButtonBlock.prototype, "settings", void 0);
43
+ exports.BannerButtonBlock = BannerButtonBlock = tslib_1.__decorate([
44
+ (0, graphql_1.ObjectType)()
45
+ ], BannerButtonBlock);
46
+ let BannerSlideSettings = class BannerSlideSettings {
47
+ video;
48
+ video_web;
49
+ video_mweb;
50
+ video_mobile;
51
+ image;
52
+ image_web;
53
+ image_mweb;
54
+ image_mobile;
55
+ heading;
56
+ title;
57
+ subheading;
58
+ cta_label;
59
+ cta_url;
60
+ cta_variant;
61
+ content_layout;
62
+ content_position;
63
+ content_spacing;
64
+ mobile_layout;
65
+ cta_style;
66
+ cta_style_mweb;
67
+ text_color;
68
+ content_color;
69
+ show_overlay;
70
+ };
71
+ exports.BannerSlideSettings = BannerSlideSettings;
72
+ tslib_1.__decorate([
73
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
74
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
75
+ ], BannerSlideSettings.prototype, "video", void 0);
76
+ tslib_1.__decorate([
77
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
78
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
79
+ ], BannerSlideSettings.prototype, "video_web", void 0);
80
+ tslib_1.__decorate([
81
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
82
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
83
+ ], BannerSlideSettings.prototype, "video_mweb", void 0);
84
+ tslib_1.__decorate([
85
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
86
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
87
+ ], BannerSlideSettings.prototype, "video_mobile", void 0);
88
+ tslib_1.__decorate([
89
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
90
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
91
+ ], BannerSlideSettings.prototype, "image", void 0);
92
+ tslib_1.__decorate([
93
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
94
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
95
+ ], BannerSlideSettings.prototype, "image_web", void 0);
96
+ tslib_1.__decorate([
97
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
98
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
99
+ ], BannerSlideSettings.prototype, "image_mweb", void 0);
100
+ tslib_1.__decorate([
101
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
102
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
103
+ ], BannerSlideSettings.prototype, "image_mobile", void 0);
104
+ tslib_1.__decorate([
105
+ (0, graphql_1.Field)({ nullable: true }),
106
+ tslib_1.__metadata("design:type", String)
107
+ ], BannerSlideSettings.prototype, "heading", void 0);
108
+ tslib_1.__decorate([
109
+ (0, graphql_1.Field)({ nullable: true }),
110
+ tslib_1.__metadata("design:type", String)
111
+ ], BannerSlideSettings.prototype, "title", void 0);
112
+ tslib_1.__decorate([
113
+ (0, graphql_1.Field)({ nullable: true }),
114
+ tslib_1.__metadata("design:type", String)
115
+ ], BannerSlideSettings.prototype, "subheading", void 0);
116
+ tslib_1.__decorate([
117
+ (0, graphql_1.Field)({ nullable: true }),
118
+ tslib_1.__metadata("design:type", String)
119
+ ], BannerSlideSettings.prototype, "cta_label", void 0);
120
+ tslib_1.__decorate([
121
+ (0, graphql_1.Field)({ nullable: true }),
122
+ tslib_1.__metadata("design:type", String)
123
+ ], BannerSlideSettings.prototype, "cta_url", void 0);
124
+ tslib_1.__decorate([
125
+ (0, graphql_1.Field)({ nullable: true }),
126
+ tslib_1.__metadata("design:type", String)
127
+ ], BannerSlideSettings.prototype, "cta_variant", void 0);
128
+ tslib_1.__decorate([
129
+ (0, graphql_1.Field)({ nullable: true }),
130
+ tslib_1.__metadata("design:type", String)
131
+ ], BannerSlideSettings.prototype, "content_layout", void 0);
132
+ tslib_1.__decorate([
133
+ (0, graphql_1.Field)({ nullable: true }),
134
+ tslib_1.__metadata("design:type", String)
135
+ ], BannerSlideSettings.prototype, "content_position", void 0);
136
+ tslib_1.__decorate([
137
+ (0, graphql_1.Field)({ nullable: true }),
138
+ tslib_1.__metadata("design:type", String)
139
+ ], BannerSlideSettings.prototype, "content_spacing", void 0);
140
+ tslib_1.__decorate([
141
+ (0, graphql_1.Field)({ nullable: true }),
142
+ tslib_1.__metadata("design:type", String)
143
+ ], BannerSlideSettings.prototype, "mobile_layout", void 0);
144
+ tslib_1.__decorate([
145
+ (0, graphql_1.Field)({ nullable: true }),
146
+ tslib_1.__metadata("design:type", String)
147
+ ], BannerSlideSettings.prototype, "cta_style", void 0);
148
+ tslib_1.__decorate([
149
+ (0, graphql_1.Field)({ nullable: true }),
150
+ tslib_1.__metadata("design:type", String)
151
+ ], BannerSlideSettings.prototype, "cta_style_mweb", void 0);
152
+ tslib_1.__decorate([
153
+ (0, graphql_1.Field)({ nullable: true }),
154
+ tslib_1.__metadata("design:type", String)
155
+ ], BannerSlideSettings.prototype, "text_color", void 0);
156
+ tslib_1.__decorate([
157
+ (0, graphql_1.Field)({ nullable: true }),
158
+ tslib_1.__metadata("design:type", String)
159
+ ], BannerSlideSettings.prototype, "content_color", void 0);
160
+ tslib_1.__decorate([
161
+ (0, graphql_1.Field)({ nullable: true }),
162
+ tslib_1.__metadata("design:type", Boolean)
163
+ ], BannerSlideSettings.prototype, "show_overlay", void 0);
164
+ exports.BannerSlideSettings = BannerSlideSettings = tslib_1.__decorate([
165
+ (0, graphql_1.ObjectType)()
166
+ ], BannerSlideSettings);
167
+ let BannerSlideBlock = class BannerSlideBlock {
168
+ type;
169
+ settings;
170
+ // Nested blocks (buttons) inside the slide
171
+ blocks;
172
+ };
173
+ exports.BannerSlideBlock = BannerSlideBlock;
174
+ tslib_1.__decorate([
175
+ (0, graphql_1.Field)(),
176
+ tslib_1.__metadata("design:type", String)
177
+ ], BannerSlideBlock.prototype, "type", void 0);
178
+ tslib_1.__decorate([
179
+ (0, graphql_1.Field)(() => BannerSlideSettings),
180
+ tslib_1.__metadata("design:type", BannerSlideSettings)
181
+ ], BannerSlideBlock.prototype, "settings", void 0);
182
+ tslib_1.__decorate([
183
+ (0, graphql_1.Field)(() => [BannerButtonBlock], { nullable: true }),
184
+ tslib_1.__metadata("design:type", Array)
185
+ ], BannerSlideBlock.prototype, "blocks", void 0);
186
+ exports.BannerSlideBlock = BannerSlideBlock = tslib_1.__decorate([
187
+ (0, graphql_1.ObjectType)()
188
+ ], BannerSlideBlock);
189
+ let BannerSectionSettings = class BannerSectionSettings {
190
+ visibility;
191
+ layout_style;
192
+ show_overlay;
193
+ enable_spacing;
194
+ };
195
+ exports.BannerSectionSettings = BannerSectionSettings;
196
+ tslib_1.__decorate([
197
+ (0, graphql_1.Field)({ nullable: true }),
198
+ tslib_1.__metadata("design:type", String)
199
+ ], BannerSectionSettings.prototype, "visibility", void 0);
200
+ tslib_1.__decorate([
201
+ (0, graphql_1.Field)({ nullable: true }),
202
+ tslib_1.__metadata("design:type", String)
203
+ ], BannerSectionSettings.prototype, "layout_style", void 0);
204
+ tslib_1.__decorate([
205
+ (0, graphql_1.Field)({ nullable: true }),
206
+ tslib_1.__metadata("design:type", Boolean)
207
+ ], BannerSectionSettings.prototype, "show_overlay", void 0);
208
+ tslib_1.__decorate([
209
+ (0, graphql_1.Field)({ nullable: true }),
210
+ tslib_1.__metadata("design:type", Boolean)
211
+ ], BannerSectionSettings.prototype, "enable_spacing", void 0);
212
+ exports.BannerSectionSettings = BannerSectionSettings = tslib_1.__decorate([
213
+ (0, graphql_1.ObjectType)()
214
+ ], BannerSectionSettings);
215
+ let BannerSection = class BannerSection {
216
+ type;
217
+ blocks;
218
+ settings;
219
+ };
220
+ exports.BannerSection = BannerSection;
221
+ tslib_1.__decorate([
222
+ (0, graphql_1.Field)(),
223
+ tslib_1.__metadata("design:type", String)
224
+ ], BannerSection.prototype, "type", void 0);
225
+ tslib_1.__decorate([
226
+ (0, graphql_1.Field)(() => [BannerSlideBlock]),
227
+ tslib_1.__metadata("design:type", Array)
228
+ ], BannerSection.prototype, "blocks", void 0);
229
+ tslib_1.__decorate([
230
+ (0, graphql_1.Field)(() => BannerSectionSettings),
231
+ tslib_1.__metadata("design:type", BannerSectionSettings)
232
+ ], BannerSection.prototype, "settings", void 0);
233
+ exports.BannerSection = BannerSection = tslib_1.__decorate([
234
+ (0, graphql_1.ObjectType)()
235
+ ], BannerSection);
236
+ // ============ Promo Banner Section Types ============
237
+ let PromoBannerButtonSettings = class PromoBannerButtonSettings {
238
+ cta_label;
239
+ cta_url;
240
+ cta_variant;
241
+ cta_style;
242
+ cta_style_mweb;
243
+ };
244
+ exports.PromoBannerButtonSettings = PromoBannerButtonSettings;
245
+ tslib_1.__decorate([
246
+ (0, graphql_1.Field)({ nullable: true }),
247
+ tslib_1.__metadata("design:type", String)
248
+ ], PromoBannerButtonSettings.prototype, "cta_label", void 0);
249
+ tslib_1.__decorate([
250
+ (0, graphql_1.Field)({ nullable: true }),
251
+ tslib_1.__metadata("design:type", String)
252
+ ], PromoBannerButtonSettings.prototype, "cta_url", void 0);
253
+ tslib_1.__decorate([
254
+ (0, graphql_1.Field)({ nullable: true }),
255
+ tslib_1.__metadata("design:type", String)
256
+ ], PromoBannerButtonSettings.prototype, "cta_variant", void 0);
257
+ tslib_1.__decorate([
258
+ (0, graphql_1.Field)({ nullable: true }),
259
+ tslib_1.__metadata("design:type", String)
260
+ ], PromoBannerButtonSettings.prototype, "cta_style", void 0);
261
+ tslib_1.__decorate([
262
+ (0, graphql_1.Field)({ nullable: true }),
263
+ tslib_1.__metadata("design:type", String)
264
+ ], PromoBannerButtonSettings.prototype, "cta_style_mweb", void 0);
265
+ exports.PromoBannerButtonSettings = PromoBannerButtonSettings = tslib_1.__decorate([
266
+ (0, graphql_1.ObjectType)()
267
+ ], PromoBannerButtonSettings);
268
+ let PromoBannerButtonBlock = class PromoBannerButtonBlock {
269
+ type;
270
+ settings;
271
+ };
272
+ exports.PromoBannerButtonBlock = PromoBannerButtonBlock;
273
+ tslib_1.__decorate([
274
+ (0, graphql_1.Field)(),
275
+ tslib_1.__metadata("design:type", String)
276
+ ], PromoBannerButtonBlock.prototype, "type", void 0);
277
+ tslib_1.__decorate([
278
+ (0, graphql_1.Field)(() => PromoBannerButtonSettings),
279
+ tslib_1.__metadata("design:type", PromoBannerButtonSettings)
280
+ ], PromoBannerButtonBlock.prototype, "settings", void 0);
281
+ exports.PromoBannerButtonBlock = PromoBannerButtonBlock = tslib_1.__decorate([
282
+ (0, graphql_1.ObjectType)()
283
+ ], PromoBannerButtonBlock);
284
+ let PromoBannerSettings = class PromoBannerSettings {
285
+ title;
286
+ heading;
287
+ subheading;
288
+ background_color;
289
+ content_color;
290
+ };
291
+ exports.PromoBannerSettings = PromoBannerSettings;
292
+ tslib_1.__decorate([
293
+ (0, graphql_1.Field)({ nullable: true }),
294
+ tslib_1.__metadata("design:type", String)
295
+ ], PromoBannerSettings.prototype, "title", void 0);
296
+ tslib_1.__decorate([
297
+ (0, graphql_1.Field)({ nullable: true }),
298
+ tslib_1.__metadata("design:type", String)
299
+ ], PromoBannerSettings.prototype, "heading", void 0);
300
+ tslib_1.__decorate([
301
+ (0, graphql_1.Field)({ nullable: true }),
302
+ tslib_1.__metadata("design:type", String)
303
+ ], PromoBannerSettings.prototype, "subheading", void 0);
304
+ tslib_1.__decorate([
305
+ (0, graphql_1.Field)({ nullable: true }),
306
+ tslib_1.__metadata("design:type", String)
307
+ ], PromoBannerSettings.prototype, "background_color", void 0);
308
+ tslib_1.__decorate([
309
+ (0, graphql_1.Field)({ nullable: true }),
310
+ tslib_1.__metadata("design:type", String)
311
+ ], PromoBannerSettings.prototype, "content_color", void 0);
312
+ exports.PromoBannerSettings = PromoBannerSettings = tslib_1.__decorate([
313
+ (0, graphql_1.ObjectType)()
314
+ ], PromoBannerSettings);
315
+ let PromoBannerSection = class PromoBannerSection {
316
+ type;
317
+ blocks;
318
+ settings;
319
+ };
320
+ exports.PromoBannerSection = PromoBannerSection;
321
+ tslib_1.__decorate([
322
+ (0, graphql_1.Field)(),
323
+ tslib_1.__metadata("design:type", String)
324
+ ], PromoBannerSection.prototype, "type", void 0);
325
+ tslib_1.__decorate([
326
+ (0, graphql_1.Field)(() => [PromoBannerButtonBlock]),
327
+ tslib_1.__metadata("design:type", Array)
328
+ ], PromoBannerSection.prototype, "blocks", void 0);
329
+ tslib_1.__decorate([
330
+ (0, graphql_1.Field)(() => PromoBannerSettings),
331
+ tslib_1.__metadata("design:type", PromoBannerSettings)
332
+ ], PromoBannerSection.prototype, "settings", void 0);
333
+ exports.PromoBannerSection = PromoBannerSection = tslib_1.__decorate([
334
+ (0, graphql_1.ObjectType)()
335
+ ], PromoBannerSection);
336
+ // ============ Image With Buttons Section Types ============
337
+ let ImageWithButtonsButtonSettings = class ImageWithButtonsButtonSettings {
338
+ cta_label;
339
+ cta_url;
340
+ };
341
+ exports.ImageWithButtonsButtonSettings = ImageWithButtonsButtonSettings;
342
+ tslib_1.__decorate([
343
+ (0, graphql_1.Field)({ nullable: true }),
344
+ tslib_1.__metadata("design:type", String)
345
+ ], ImageWithButtonsButtonSettings.prototype, "cta_label", void 0);
346
+ tslib_1.__decorate([
347
+ (0, graphql_1.Field)({ nullable: true }),
348
+ tslib_1.__metadata("design:type", String)
349
+ ], ImageWithButtonsButtonSettings.prototype, "cta_url", void 0);
350
+ exports.ImageWithButtonsButtonSettings = ImageWithButtonsButtonSettings = tslib_1.__decorate([
351
+ (0, graphql_1.ObjectType)()
352
+ ], ImageWithButtonsButtonSettings);
353
+ let ImageWithButtonsButtonBlock = class ImageWithButtonsButtonBlock {
354
+ type;
355
+ settings;
356
+ };
357
+ exports.ImageWithButtonsButtonBlock = ImageWithButtonsButtonBlock;
358
+ tslib_1.__decorate([
359
+ (0, graphql_1.Field)(),
360
+ tslib_1.__metadata("design:type", String)
361
+ ], ImageWithButtonsButtonBlock.prototype, "type", void 0);
362
+ tslib_1.__decorate([
363
+ (0, graphql_1.Field)(() => ImageWithButtonsButtonSettings),
364
+ tslib_1.__metadata("design:type", ImageWithButtonsButtonSettings)
365
+ ], ImageWithButtonsButtonBlock.prototype, "settings", void 0);
366
+ exports.ImageWithButtonsButtonBlock = ImageWithButtonsButtonBlock = tslib_1.__decorate([
367
+ (0, graphql_1.ObjectType)()
368
+ ], ImageWithButtonsButtonBlock);
369
+ let ImageWithButtonsSettings = class ImageWithButtonsSettings {
370
+ image;
371
+ image_mweb;
372
+ image_mobile;
373
+ heading;
374
+ button_layout;
375
+ show_overlay;
376
+ };
377
+ exports.ImageWithButtonsSettings = ImageWithButtonsSettings;
378
+ tslib_1.__decorate([
379
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
380
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
381
+ ], ImageWithButtonsSettings.prototype, "image", void 0);
382
+ tslib_1.__decorate([
383
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
384
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
385
+ ], ImageWithButtonsSettings.prototype, "image_mweb", void 0);
386
+ tslib_1.__decorate([
387
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
388
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
389
+ ], ImageWithButtonsSettings.prototype, "image_mobile", void 0);
390
+ tslib_1.__decorate([
391
+ (0, graphql_1.Field)({ nullable: true }),
392
+ tslib_1.__metadata("design:type", String)
393
+ ], ImageWithButtonsSettings.prototype, "heading", void 0);
394
+ tslib_1.__decorate([
395
+ (0, graphql_1.Field)({ nullable: true }),
396
+ tslib_1.__metadata("design:type", String)
397
+ ], ImageWithButtonsSettings.prototype, "button_layout", void 0);
398
+ tslib_1.__decorate([
399
+ (0, graphql_1.Field)({ nullable: true }),
400
+ tslib_1.__metadata("design:type", Boolean)
401
+ ], ImageWithButtonsSettings.prototype, "show_overlay", void 0);
402
+ exports.ImageWithButtonsSettings = ImageWithButtonsSettings = tslib_1.__decorate([
403
+ (0, graphql_1.ObjectType)()
404
+ ], ImageWithButtonsSettings);
405
+ let ImageWithButtonsSection = class ImageWithButtonsSection {
406
+ type;
407
+ blocks;
408
+ settings;
409
+ };
410
+ exports.ImageWithButtonsSection = ImageWithButtonsSection;
411
+ tslib_1.__decorate([
412
+ (0, graphql_1.Field)(),
413
+ tslib_1.__metadata("design:type", String)
414
+ ], ImageWithButtonsSection.prototype, "type", void 0);
415
+ tslib_1.__decorate([
416
+ (0, graphql_1.Field)(() => [ImageWithButtonsButtonBlock]),
417
+ tslib_1.__metadata("design:type", Array)
418
+ ], ImageWithButtonsSection.prototype, "blocks", void 0);
419
+ tslib_1.__decorate([
420
+ (0, graphql_1.Field)(() => ImageWithButtonsSettings),
421
+ tslib_1.__metadata("design:type", ImageWithButtonsSettings)
422
+ ], ImageWithButtonsSection.prototype, "settings", void 0);
423
+ exports.ImageWithButtonsSection = ImageWithButtonsSection = tslib_1.__decorate([
424
+ (0, graphql_1.ObjectType)()
425
+ ], ImageWithButtonsSection);
426
+ // ============ Featured Products Section Types ============
427
+ let FeaturedProductsSettings = class FeaturedProductsSettings {
428
+ heading;
429
+ featured_collection;
430
+ products_count;
431
+ show_vendor;
432
+ show_add_to_cart;
433
+ card_layout;
434
+ };
435
+ exports.FeaturedProductsSettings = FeaturedProductsSettings;
436
+ tslib_1.__decorate([
437
+ (0, graphql_1.Field)({ nullable: true }),
438
+ tslib_1.__metadata("design:type", String)
439
+ ], FeaturedProductsSettings.prototype, "heading", void 0);
440
+ tslib_1.__decorate([
441
+ (0, graphql_1.Field)({ nullable: true }),
442
+ tslib_1.__metadata("design:type", String)
443
+ ], FeaturedProductsSettings.prototype, "featured_collection", void 0);
444
+ tslib_1.__decorate([
445
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
446
+ tslib_1.__metadata("design:type", Number)
447
+ ], FeaturedProductsSettings.prototype, "products_count", void 0);
448
+ tslib_1.__decorate([
449
+ (0, graphql_1.Field)({ nullable: true }),
450
+ tslib_1.__metadata("design:type", Boolean)
451
+ ], FeaturedProductsSettings.prototype, "show_vendor", void 0);
452
+ tslib_1.__decorate([
453
+ (0, graphql_1.Field)({ nullable: true }),
454
+ tslib_1.__metadata("design:type", Boolean)
455
+ ], FeaturedProductsSettings.prototype, "show_add_to_cart", void 0);
456
+ tslib_1.__decorate([
457
+ (0, graphql_1.Field)({ nullable: true }),
458
+ tslib_1.__metadata("design:type", String)
459
+ ], FeaturedProductsSettings.prototype, "card_layout", void 0);
460
+ exports.FeaturedProductsSettings = FeaturedProductsSettings = tslib_1.__decorate([
461
+ (0, graphql_1.ObjectType)()
462
+ ], FeaturedProductsSettings);
463
+ let FeaturedProductsSection = class FeaturedProductsSection {
464
+ type;
465
+ settings;
466
+ products;
467
+ };
468
+ exports.FeaturedProductsSection = FeaturedProductsSection;
469
+ tslib_1.__decorate([
470
+ (0, graphql_1.Field)(),
471
+ tslib_1.__metadata("design:type", String)
472
+ ], FeaturedProductsSection.prototype, "type", void 0);
473
+ tslib_1.__decorate([
474
+ (0, graphql_1.Field)(() => FeaturedProductsSettings),
475
+ tslib_1.__metadata("design:type", FeaturedProductsSettings)
476
+ ], FeaturedProductsSection.prototype, "settings", void 0);
477
+ tslib_1.__decorate([
478
+ (0, graphql_1.Field)(() => [common_types_1.PageProduct]),
479
+ tslib_1.__metadata("design:type", Array)
480
+ ], FeaturedProductsSection.prototype, "products", void 0);
481
+ exports.FeaturedProductsSection = FeaturedProductsSection = tslib_1.__decorate([
482
+ (0, graphql_1.ObjectType)()
483
+ ], FeaturedProductsSection);
484
+ // ============ Shop By Category Section Types ============
485
+ let CategoryCardSettings = class CategoryCardSettings {
486
+ image;
487
+ heading;
488
+ url;
489
+ };
490
+ exports.CategoryCardSettings = CategoryCardSettings;
491
+ tslib_1.__decorate([
492
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
493
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
494
+ ], CategoryCardSettings.prototype, "image", void 0);
495
+ tslib_1.__decorate([
496
+ (0, graphql_1.Field)({ nullable: true }),
497
+ tslib_1.__metadata("design:type", String)
498
+ ], CategoryCardSettings.prototype, "heading", void 0);
499
+ tslib_1.__decorate([
500
+ (0, graphql_1.Field)({ nullable: true }),
501
+ tslib_1.__metadata("design:type", String)
502
+ ], CategoryCardSettings.prototype, "url", void 0);
503
+ exports.CategoryCardSettings = CategoryCardSettings = tslib_1.__decorate([
504
+ (0, graphql_1.ObjectType)()
505
+ ], CategoryCardSettings);
506
+ let CategoryCardBlock = class CategoryCardBlock {
507
+ type;
508
+ settings;
509
+ };
510
+ exports.CategoryCardBlock = CategoryCardBlock;
511
+ tslib_1.__decorate([
512
+ (0, graphql_1.Field)(),
513
+ tslib_1.__metadata("design:type", String)
514
+ ], CategoryCardBlock.prototype, "type", void 0);
515
+ tslib_1.__decorate([
516
+ (0, graphql_1.Field)(() => CategoryCardSettings),
517
+ tslib_1.__metadata("design:type", CategoryCardSettings)
518
+ ], CategoryCardBlock.prototype, "settings", void 0);
519
+ exports.CategoryCardBlock = CategoryCardBlock = tslib_1.__decorate([
520
+ (0, graphql_1.ObjectType)()
521
+ ], CategoryCardBlock);
522
+ let ShopByCategorySettings = class ShopByCategorySettings {
523
+ heading;
524
+ columns_count;
525
+ };
526
+ exports.ShopByCategorySettings = ShopByCategorySettings;
527
+ tslib_1.__decorate([
528
+ (0, graphql_1.Field)({ nullable: true }),
529
+ tslib_1.__metadata("design:type", String)
530
+ ], ShopByCategorySettings.prototype, "heading", void 0);
531
+ tslib_1.__decorate([
532
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
533
+ tslib_1.__metadata("design:type", Number)
534
+ ], ShopByCategorySettings.prototype, "columns_count", void 0);
535
+ exports.ShopByCategorySettings = ShopByCategorySettings = tslib_1.__decorate([
536
+ (0, graphql_1.ObjectType)()
537
+ ], ShopByCategorySettings);
538
+ let ShopByCategorySection = class ShopByCategorySection {
539
+ type;
540
+ blocks;
541
+ settings;
542
+ };
543
+ exports.ShopByCategorySection = ShopByCategorySection;
544
+ tslib_1.__decorate([
545
+ (0, graphql_1.Field)(),
546
+ tslib_1.__metadata("design:type", String)
547
+ ], ShopByCategorySection.prototype, "type", void 0);
548
+ tslib_1.__decorate([
549
+ (0, graphql_1.Field)(() => [CategoryCardBlock]),
550
+ tslib_1.__metadata("design:type", Array)
551
+ ], ShopByCategorySection.prototype, "blocks", void 0);
552
+ tslib_1.__decorate([
553
+ (0, graphql_1.Field)(() => ShopByCategorySettings),
554
+ tslib_1.__metadata("design:type", ShopByCategorySettings)
555
+ ], ShopByCategorySection.prototype, "settings", void 0);
556
+ exports.ShopByCategorySection = ShopByCategorySection = tslib_1.__decorate([
557
+ (0, graphql_1.ObjectType)()
558
+ ], ShopByCategorySection);
559
+ // ============ Newsletter Section Types ============
560
+ let NewsletterSettings = class NewsletterSettings {
561
+ subheading;
562
+ heading;
563
+ body;
564
+ cta_label;
565
+ modal_heading;
566
+ show_divider;
567
+ background_color;
568
+ text_color;
569
+ };
570
+ exports.NewsletterSettings = NewsletterSettings;
571
+ tslib_1.__decorate([
572
+ (0, graphql_1.Field)({ nullable: true }),
573
+ tslib_1.__metadata("design:type", String)
574
+ ], NewsletterSettings.prototype, "subheading", void 0);
575
+ tslib_1.__decorate([
576
+ (0, graphql_1.Field)({ nullable: true }),
577
+ tslib_1.__metadata("design:type", String)
578
+ ], NewsletterSettings.prototype, "heading", void 0);
579
+ tslib_1.__decorate([
580
+ (0, graphql_1.Field)({ nullable: true }),
581
+ tslib_1.__metadata("design:type", String)
582
+ ], NewsletterSettings.prototype, "body", void 0);
583
+ tslib_1.__decorate([
584
+ (0, graphql_1.Field)({ nullable: true }),
585
+ tslib_1.__metadata("design:type", String)
586
+ ], NewsletterSettings.prototype, "cta_label", void 0);
587
+ tslib_1.__decorate([
588
+ (0, graphql_1.Field)({ nullable: true }),
589
+ tslib_1.__metadata("design:type", String)
590
+ ], NewsletterSettings.prototype, "modal_heading", void 0);
591
+ tslib_1.__decorate([
592
+ (0, graphql_1.Field)({ nullable: true }),
593
+ tslib_1.__metadata("design:type", Boolean)
594
+ ], NewsletterSettings.prototype, "show_divider", void 0);
595
+ tslib_1.__decorate([
596
+ (0, graphql_1.Field)({ nullable: true }),
597
+ tslib_1.__metadata("design:type", String)
598
+ ], NewsletterSettings.prototype, "background_color", void 0);
599
+ tslib_1.__decorate([
600
+ (0, graphql_1.Field)({ nullable: true }),
601
+ tslib_1.__metadata("design:type", String)
602
+ ], NewsletterSettings.prototype, "text_color", void 0);
603
+ exports.NewsletterSettings = NewsletterSettings = tslib_1.__decorate([
604
+ (0, graphql_1.ObjectType)()
605
+ ], NewsletterSettings);
606
+ let NewsletterSection = class NewsletterSection {
607
+ type;
608
+ settings;
609
+ };
610
+ exports.NewsletterSection = NewsletterSection;
611
+ tslib_1.__decorate([
612
+ (0, graphql_1.Field)(),
613
+ tslib_1.__metadata("design:type", String)
614
+ ], NewsletterSection.prototype, "type", void 0);
615
+ tslib_1.__decorate([
616
+ (0, graphql_1.Field)(() => NewsletterSettings),
617
+ tslib_1.__metadata("design:type", NewsletterSettings)
618
+ ], NewsletterSection.prototype, "settings", void 0);
619
+ exports.NewsletterSection = NewsletterSection = tslib_1.__decorate([
620
+ (0, graphql_1.ObjectType)()
621
+ ], NewsletterSection);
622
+ // ============ Category Tiles Section Types ============
623
+ let CategoryTileBlockSettings = class CategoryTileBlockSettings {
624
+ image_web;
625
+ cta_label;
626
+ cta_url;
627
+ cta_variant;
628
+ };
629
+ exports.CategoryTileBlockSettings = CategoryTileBlockSettings;
630
+ tslib_1.__decorate([
631
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
632
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
633
+ ], CategoryTileBlockSettings.prototype, "image_web", void 0);
634
+ tslib_1.__decorate([
635
+ (0, graphql_1.Field)({ nullable: true }),
636
+ tslib_1.__metadata("design:type", String)
637
+ ], CategoryTileBlockSettings.prototype, "cta_label", void 0);
638
+ tslib_1.__decorate([
639
+ (0, graphql_1.Field)({ nullable: true }),
640
+ tslib_1.__metadata("design:type", String)
641
+ ], CategoryTileBlockSettings.prototype, "cta_url", void 0);
642
+ tslib_1.__decorate([
643
+ (0, graphql_1.Field)({ nullable: true }),
644
+ tslib_1.__metadata("design:type", String)
645
+ ], CategoryTileBlockSettings.prototype, "cta_variant", void 0);
646
+ exports.CategoryTileBlockSettings = CategoryTileBlockSettings = tslib_1.__decorate([
647
+ (0, graphql_1.ObjectType)()
648
+ ], CategoryTileBlockSettings);
649
+ let CategoryTileBlock = class CategoryTileBlock {
650
+ type;
651
+ settings;
652
+ };
653
+ exports.CategoryTileBlock = CategoryTileBlock;
654
+ tslib_1.__decorate([
655
+ (0, graphql_1.Field)(),
656
+ tslib_1.__metadata("design:type", String)
657
+ ], CategoryTileBlock.prototype, "type", void 0);
658
+ tslib_1.__decorate([
659
+ (0, graphql_1.Field)(() => CategoryTileBlockSettings),
660
+ tslib_1.__metadata("design:type", CategoryTileBlockSettings)
661
+ ], CategoryTileBlock.prototype, "settings", void 0);
662
+ exports.CategoryTileBlock = CategoryTileBlock = tslib_1.__decorate([
663
+ (0, graphql_1.ObjectType)()
664
+ ], CategoryTileBlock);
665
+ let CategoryTilesSectionSettings = class CategoryTilesSectionSettings {
666
+ visibility;
667
+ title;
668
+ heading;
669
+ };
670
+ exports.CategoryTilesSectionSettings = CategoryTilesSectionSettings;
671
+ tslib_1.__decorate([
672
+ (0, graphql_1.Field)({ nullable: true }),
673
+ tslib_1.__metadata("design:type", String)
674
+ ], CategoryTilesSectionSettings.prototype, "visibility", void 0);
675
+ tslib_1.__decorate([
676
+ (0, graphql_1.Field)({ nullable: true }),
677
+ tslib_1.__metadata("design:type", String)
678
+ ], CategoryTilesSectionSettings.prototype, "title", void 0);
679
+ tslib_1.__decorate([
680
+ (0, graphql_1.Field)({ nullable: true }),
681
+ tslib_1.__metadata("design:type", String)
682
+ ], CategoryTilesSectionSettings.prototype, "heading", void 0);
683
+ exports.CategoryTilesSectionSettings = CategoryTilesSectionSettings = tslib_1.__decorate([
684
+ (0, graphql_1.ObjectType)()
685
+ ], CategoryTilesSectionSettings);
686
+ let CategoryTilesSection = class CategoryTilesSection {
687
+ type;
688
+ blocks;
689
+ settings;
690
+ };
691
+ exports.CategoryTilesSection = CategoryTilesSection;
692
+ tslib_1.__decorate([
693
+ (0, graphql_1.Field)(),
694
+ tslib_1.__metadata("design:type", String)
695
+ ], CategoryTilesSection.prototype, "type", void 0);
696
+ tslib_1.__decorate([
697
+ (0, graphql_1.Field)(() => [CategoryTileBlock]),
698
+ tslib_1.__metadata("design:type", Array)
699
+ ], CategoryTilesSection.prototype, "blocks", void 0);
700
+ tslib_1.__decorate([
701
+ (0, graphql_1.Field)(() => CategoryTilesSectionSettings),
702
+ tslib_1.__metadata("design:type", CategoryTilesSectionSettings)
703
+ ], CategoryTilesSection.prototype, "settings", void 0);
704
+ exports.CategoryTilesSection = CategoryTilesSection = tslib_1.__decorate([
705
+ (0, graphql_1.ObjectType)()
706
+ ], CategoryTilesSection);
707
+ // ============ Category Grid Section Types ============
708
+ // Button block inside category-card
709
+ let CategoryGridButtonBlockSettings = class CategoryGridButtonBlockSettings {
710
+ cta_label;
711
+ cta_url;
712
+ cta_variant;
713
+ };
714
+ exports.CategoryGridButtonBlockSettings = CategoryGridButtonBlockSettings;
715
+ tslib_1.__decorate([
716
+ (0, graphql_1.Field)({ nullable: true }),
717
+ tslib_1.__metadata("design:type", String)
718
+ ], CategoryGridButtonBlockSettings.prototype, "cta_label", void 0);
719
+ tslib_1.__decorate([
720
+ (0, graphql_1.Field)({ nullable: true }),
721
+ tslib_1.__metadata("design:type", String)
722
+ ], CategoryGridButtonBlockSettings.prototype, "cta_url", void 0);
723
+ tslib_1.__decorate([
724
+ (0, graphql_1.Field)({ nullable: true }),
725
+ tslib_1.__metadata("design:type", String)
726
+ ], CategoryGridButtonBlockSettings.prototype, "cta_variant", void 0);
727
+ exports.CategoryGridButtonBlockSettings = CategoryGridButtonBlockSettings = tslib_1.__decorate([
728
+ (0, graphql_1.ObjectType)()
729
+ ], CategoryGridButtonBlockSettings);
730
+ let CategoryGridButtonBlock = class CategoryGridButtonBlock {
731
+ type;
732
+ settings;
733
+ };
734
+ exports.CategoryGridButtonBlock = CategoryGridButtonBlock;
735
+ tslib_1.__decorate([
736
+ (0, graphql_1.Field)(),
737
+ tslib_1.__metadata("design:type", String)
738
+ ], CategoryGridButtonBlock.prototype, "type", void 0);
739
+ tslib_1.__decorate([
740
+ (0, graphql_1.Field)(() => CategoryGridButtonBlockSettings),
741
+ tslib_1.__metadata("design:type", CategoryGridButtonBlockSettings)
742
+ ], CategoryGridButtonBlock.prototype, "settings", void 0);
743
+ exports.CategoryGridButtonBlock = CategoryGridButtonBlock = tslib_1.__decorate([
744
+ (0, graphql_1.ObjectType)()
745
+ ], CategoryGridButtonBlock);
746
+ let CategoryGridCardBlockSettings = class CategoryGridCardBlockSettings {
747
+ image_web;
748
+ image_mweb;
749
+ image_mobile;
750
+ heading;
751
+ title;
752
+ content_alignment;
753
+ };
754
+ exports.CategoryGridCardBlockSettings = CategoryGridCardBlockSettings;
755
+ tslib_1.__decorate([
756
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
757
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
758
+ ], CategoryGridCardBlockSettings.prototype, "image_web", void 0);
759
+ tslib_1.__decorate([
760
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
761
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
762
+ ], CategoryGridCardBlockSettings.prototype, "image_mweb", void 0);
763
+ tslib_1.__decorate([
764
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
765
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
766
+ ], CategoryGridCardBlockSettings.prototype, "image_mobile", void 0);
767
+ tslib_1.__decorate([
768
+ (0, graphql_1.Field)({ nullable: true }),
769
+ tslib_1.__metadata("design:type", String)
770
+ ], CategoryGridCardBlockSettings.prototype, "heading", void 0);
771
+ tslib_1.__decorate([
772
+ (0, graphql_1.Field)({ nullable: true }),
773
+ tslib_1.__metadata("design:type", String)
774
+ ], CategoryGridCardBlockSettings.prototype, "title", void 0);
775
+ tslib_1.__decorate([
776
+ (0, graphql_1.Field)({ nullable: true }),
777
+ tslib_1.__metadata("design:type", String)
778
+ ], CategoryGridCardBlockSettings.prototype, "content_alignment", void 0);
779
+ exports.CategoryGridCardBlockSettings = CategoryGridCardBlockSettings = tslib_1.__decorate([
780
+ (0, graphql_1.ObjectType)()
781
+ ], CategoryGridCardBlockSettings);
782
+ let CategoryGridCardBlock = class CategoryGridCardBlock {
783
+ type;
784
+ settings;
785
+ // Nested button blocks
786
+ blocks;
787
+ };
788
+ exports.CategoryGridCardBlock = CategoryGridCardBlock;
789
+ tslib_1.__decorate([
790
+ (0, graphql_1.Field)(),
791
+ tslib_1.__metadata("design:type", String)
792
+ ], CategoryGridCardBlock.prototype, "type", void 0);
793
+ tslib_1.__decorate([
794
+ (0, graphql_1.Field)(() => CategoryGridCardBlockSettings),
795
+ tslib_1.__metadata("design:type", CategoryGridCardBlockSettings)
796
+ ], CategoryGridCardBlock.prototype, "settings", void 0);
797
+ tslib_1.__decorate([
798
+ (0, graphql_1.Field)(() => [CategoryGridButtonBlock], { nullable: true }),
799
+ tslib_1.__metadata("design:type", Array)
800
+ ], CategoryGridCardBlock.prototype, "blocks", void 0);
801
+ exports.CategoryGridCardBlock = CategoryGridCardBlock = tslib_1.__decorate([
802
+ (0, graphql_1.ObjectType)()
803
+ ], CategoryGridCardBlock);
804
+ let CategoryGridSectionSettings = class CategoryGridSectionSettings {
805
+ visibility;
806
+ title;
807
+ heading;
808
+ mobile_layout;
809
+ content_alignment;
810
+ };
811
+ exports.CategoryGridSectionSettings = CategoryGridSectionSettings;
812
+ tslib_1.__decorate([
813
+ (0, graphql_1.Field)({ nullable: true }),
814
+ tslib_1.__metadata("design:type", String)
815
+ ], CategoryGridSectionSettings.prototype, "visibility", void 0);
816
+ tslib_1.__decorate([
817
+ (0, graphql_1.Field)({ nullable: true }),
818
+ tslib_1.__metadata("design:type", String)
819
+ ], CategoryGridSectionSettings.prototype, "title", void 0);
820
+ tslib_1.__decorate([
821
+ (0, graphql_1.Field)({ nullable: true }),
822
+ tslib_1.__metadata("design:type", String)
823
+ ], CategoryGridSectionSettings.prototype, "heading", void 0);
824
+ tslib_1.__decorate([
825
+ (0, graphql_1.Field)({ nullable: true }),
826
+ tslib_1.__metadata("design:type", String)
827
+ ], CategoryGridSectionSettings.prototype, "mobile_layout", void 0);
828
+ tslib_1.__decorate([
829
+ (0, graphql_1.Field)({ nullable: true }),
830
+ tslib_1.__metadata("design:type", String)
831
+ ], CategoryGridSectionSettings.prototype, "content_alignment", void 0);
832
+ exports.CategoryGridSectionSettings = CategoryGridSectionSettings = tslib_1.__decorate([
833
+ (0, graphql_1.ObjectType)()
834
+ ], CategoryGridSectionSettings);
835
+ let CategoryGridSection = class CategoryGridSection {
836
+ type;
837
+ blocks;
838
+ settings;
839
+ };
840
+ exports.CategoryGridSection = CategoryGridSection;
841
+ tslib_1.__decorate([
842
+ (0, graphql_1.Field)(),
843
+ tslib_1.__metadata("design:type", String)
844
+ ], CategoryGridSection.prototype, "type", void 0);
845
+ tslib_1.__decorate([
846
+ (0, graphql_1.Field)(() => [CategoryGridCardBlock]),
847
+ tslib_1.__metadata("design:type", Array)
848
+ ], CategoryGridSection.prototype, "blocks", void 0);
849
+ tslib_1.__decorate([
850
+ (0, graphql_1.Field)(() => CategoryGridSectionSettings),
851
+ tslib_1.__metadata("design:type", CategoryGridSectionSettings)
852
+ ], CategoryGridSection.prototype, "settings", void 0);
853
+ exports.CategoryGridSection = CategoryGridSection = tslib_1.__decorate([
854
+ (0, graphql_1.ObjectType)()
855
+ ], CategoryGridSection);
856
+ // ============ Recently Viewed Products Section Types ============
857
+ let RecentlyViewedProductsSectionSettings = class RecentlyViewedProductsSectionSettings {
858
+ visibility;
859
+ heading;
860
+ };
861
+ exports.RecentlyViewedProductsSectionSettings = RecentlyViewedProductsSectionSettings;
862
+ tslib_1.__decorate([
863
+ (0, graphql_1.Field)({ nullable: true }),
864
+ tslib_1.__metadata("design:type", String)
865
+ ], RecentlyViewedProductsSectionSettings.prototype, "visibility", void 0);
866
+ tslib_1.__decorate([
867
+ (0, graphql_1.Field)({ nullable: true }),
868
+ tslib_1.__metadata("design:type", String)
869
+ ], RecentlyViewedProductsSectionSettings.prototype, "heading", void 0);
870
+ exports.RecentlyViewedProductsSectionSettings = RecentlyViewedProductsSectionSettings = tslib_1.__decorate([
871
+ (0, graphql_1.ObjectType)()
872
+ ], RecentlyViewedProductsSectionSettings);
873
+ let RecentlyViewedProductsSection = class RecentlyViewedProductsSection {
874
+ type;
875
+ settings;
876
+ };
877
+ exports.RecentlyViewedProductsSection = RecentlyViewedProductsSection;
878
+ tslib_1.__decorate([
879
+ (0, graphql_1.Field)(),
880
+ tslib_1.__metadata("design:type", String)
881
+ ], RecentlyViewedProductsSection.prototype, "type", void 0);
882
+ tslib_1.__decorate([
883
+ (0, graphql_1.Field)(() => RecentlyViewedProductsSectionSettings),
884
+ tslib_1.__metadata("design:type", RecentlyViewedProductsSectionSettings)
885
+ ], RecentlyViewedProductsSection.prototype, "settings", void 0);
886
+ exports.RecentlyViewedProductsSection = RecentlyViewedProductsSection = tslib_1.__decorate([
887
+ (0, graphql_1.ObjectType)()
888
+ ], RecentlyViewedProductsSection);
889
+ // ============ Featured Collection Section Types ============
890
+ let FeaturedCollectionSectionSettings = class FeaturedCollectionSectionSettings {
891
+ visibility;
892
+ title;
893
+ heading;
894
+ collection;
895
+ products_to_show;
896
+ };
897
+ exports.FeaturedCollectionSectionSettings = FeaturedCollectionSectionSettings;
898
+ tslib_1.__decorate([
899
+ (0, graphql_1.Field)({ nullable: true }),
900
+ tslib_1.__metadata("design:type", String)
901
+ ], FeaturedCollectionSectionSettings.prototype, "visibility", void 0);
902
+ tslib_1.__decorate([
903
+ (0, graphql_1.Field)({ nullable: true }),
904
+ tslib_1.__metadata("design:type", String)
905
+ ], FeaturedCollectionSectionSettings.prototype, "title", void 0);
906
+ tslib_1.__decorate([
907
+ (0, graphql_1.Field)({ nullable: true }),
908
+ tslib_1.__metadata("design:type", String)
909
+ ], FeaturedCollectionSectionSettings.prototype, "heading", void 0);
910
+ tslib_1.__decorate([
911
+ (0, graphql_1.Field)({ nullable: true }),
912
+ tslib_1.__metadata("design:type", String)
913
+ ], FeaturedCollectionSectionSettings.prototype, "collection", void 0);
914
+ tslib_1.__decorate([
915
+ (0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
916
+ tslib_1.__metadata("design:type", Number)
917
+ ], FeaturedCollectionSectionSettings.prototype, "products_to_show", void 0);
918
+ exports.FeaturedCollectionSectionSettings = FeaturedCollectionSectionSettings = tslib_1.__decorate([
919
+ (0, graphql_1.ObjectType)()
920
+ ], FeaturedCollectionSectionSettings);
921
+ let FeaturedCollectionSection = class FeaturedCollectionSection {
922
+ type;
923
+ settings;
924
+ products;
925
+ };
926
+ exports.FeaturedCollectionSection = FeaturedCollectionSection;
927
+ tslib_1.__decorate([
928
+ (0, graphql_1.Field)(),
929
+ tslib_1.__metadata("design:type", String)
930
+ ], FeaturedCollectionSection.prototype, "type", void 0);
931
+ tslib_1.__decorate([
932
+ (0, graphql_1.Field)(() => FeaturedCollectionSectionSettings),
933
+ tslib_1.__metadata("design:type", FeaturedCollectionSectionSettings)
934
+ ], FeaturedCollectionSection.prototype, "settings", void 0);
935
+ tslib_1.__decorate([
936
+ (0, graphql_1.Field)(() => [common_types_1.PageProduct], { nullable: true }),
937
+ tslib_1.__metadata("design:type", Array)
938
+ ], FeaturedCollectionSection.prototype, "products", void 0);
939
+ exports.FeaturedCollectionSection = FeaturedCollectionSection = tslib_1.__decorate([
940
+ (0, graphql_1.ObjectType)()
941
+ ], FeaturedCollectionSection);
942
+ // ============ Feature Grid Section Types ============
943
+ // Button block inside feature-content
944
+ let FeatureGridButtonBlockSettings = class FeatureGridButtonBlockSettings {
945
+ cta_label;
946
+ cta_url;
947
+ cta_variant;
948
+ };
949
+ exports.FeatureGridButtonBlockSettings = FeatureGridButtonBlockSettings;
950
+ tslib_1.__decorate([
951
+ (0, graphql_1.Field)({ nullable: true }),
952
+ tslib_1.__metadata("design:type", String)
953
+ ], FeatureGridButtonBlockSettings.prototype, "cta_label", void 0);
954
+ tslib_1.__decorate([
955
+ (0, graphql_1.Field)({ nullable: true }),
956
+ tslib_1.__metadata("design:type", String)
957
+ ], FeatureGridButtonBlockSettings.prototype, "cta_url", void 0);
958
+ tslib_1.__decorate([
959
+ (0, graphql_1.Field)({ nullable: true }),
960
+ tslib_1.__metadata("design:type", String)
961
+ ], FeatureGridButtonBlockSettings.prototype, "cta_variant", void 0);
962
+ exports.FeatureGridButtonBlockSettings = FeatureGridButtonBlockSettings = tslib_1.__decorate([
963
+ (0, graphql_1.ObjectType)()
964
+ ], FeatureGridButtonBlockSettings);
965
+ let FeatureGridButtonBlock = class FeatureGridButtonBlock {
966
+ type;
967
+ settings;
968
+ };
969
+ exports.FeatureGridButtonBlock = FeatureGridButtonBlock;
970
+ tslib_1.__decorate([
971
+ (0, graphql_1.Field)(),
972
+ tslib_1.__metadata("design:type", String)
973
+ ], FeatureGridButtonBlock.prototype, "type", void 0);
974
+ tslib_1.__decorate([
975
+ (0, graphql_1.Field)(() => FeatureGridButtonBlockSettings),
976
+ tslib_1.__metadata("design:type", FeatureGridButtonBlockSettings)
977
+ ], FeatureGridButtonBlock.prototype, "settings", void 0);
978
+ exports.FeatureGridButtonBlock = FeatureGridButtonBlock = tslib_1.__decorate([
979
+ (0, graphql_1.ObjectType)()
980
+ ], FeatureGridButtonBlock);
981
+ let FeatureGridBlockSettings = class FeatureGridBlockSettings {
982
+ // Media tile settings
983
+ image_web;
984
+ image_mweb;
985
+ image_mobile;
986
+ video_web;
987
+ video_mweb;
988
+ video_mobile;
989
+ // Feature-content block settings
990
+ title;
991
+ heading;
992
+ panel_color;
993
+ text_color;
994
+ };
995
+ exports.FeatureGridBlockSettings = FeatureGridBlockSettings;
996
+ tslib_1.__decorate([
997
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
998
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
999
+ ], FeatureGridBlockSettings.prototype, "image_web", void 0);
1000
+ tslib_1.__decorate([
1001
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
1002
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
1003
+ ], FeatureGridBlockSettings.prototype, "image_mweb", void 0);
1004
+ tslib_1.__decorate([
1005
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
1006
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
1007
+ ], FeatureGridBlockSettings.prototype, "image_mobile", void 0);
1008
+ tslib_1.__decorate([
1009
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
1010
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
1011
+ ], FeatureGridBlockSettings.prototype, "video_web", void 0);
1012
+ tslib_1.__decorate([
1013
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
1014
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
1015
+ ], FeatureGridBlockSettings.prototype, "video_mweb", void 0);
1016
+ tslib_1.__decorate([
1017
+ (0, graphql_1.Field)(() => common_types_1.CMSVideo, { nullable: true }),
1018
+ tslib_1.__metadata("design:type", common_types_1.CMSVideo)
1019
+ ], FeatureGridBlockSettings.prototype, "video_mobile", void 0);
1020
+ tslib_1.__decorate([
1021
+ (0, graphql_1.Field)({ nullable: true }),
1022
+ tslib_1.__metadata("design:type", String)
1023
+ ], FeatureGridBlockSettings.prototype, "title", void 0);
1024
+ tslib_1.__decorate([
1025
+ (0, graphql_1.Field)({ nullable: true }),
1026
+ tslib_1.__metadata("design:type", String)
1027
+ ], FeatureGridBlockSettings.prototype, "heading", void 0);
1028
+ tslib_1.__decorate([
1029
+ (0, graphql_1.Field)({ nullable: true }),
1030
+ tslib_1.__metadata("design:type", String)
1031
+ ], FeatureGridBlockSettings.prototype, "panel_color", void 0);
1032
+ tslib_1.__decorate([
1033
+ (0, graphql_1.Field)({ nullable: true }),
1034
+ tslib_1.__metadata("design:type", String)
1035
+ ], FeatureGridBlockSettings.prototype, "text_color", void 0);
1036
+ exports.FeatureGridBlockSettings = FeatureGridBlockSettings = tslib_1.__decorate([
1037
+ (0, graphql_1.ObjectType)()
1038
+ ], FeatureGridBlockSettings);
1039
+ let FeatureGridBlock = class FeatureGridBlock {
1040
+ type;
1041
+ settings;
1042
+ // Nested button blocks (for feature-content blocks)
1043
+ blocks;
1044
+ };
1045
+ exports.FeatureGridBlock = FeatureGridBlock;
1046
+ tslib_1.__decorate([
1047
+ (0, graphql_1.Field)(),
1048
+ tslib_1.__metadata("design:type", String)
1049
+ ], FeatureGridBlock.prototype, "type", void 0);
1050
+ tslib_1.__decorate([
1051
+ (0, graphql_1.Field)(() => FeatureGridBlockSettings),
1052
+ tslib_1.__metadata("design:type", FeatureGridBlockSettings)
1053
+ ], FeatureGridBlock.prototype, "settings", void 0);
1054
+ tslib_1.__decorate([
1055
+ (0, graphql_1.Field)(() => [FeatureGridButtonBlock], { nullable: true }),
1056
+ tslib_1.__metadata("design:type", Array)
1057
+ ], FeatureGridBlock.prototype, "blocks", void 0);
1058
+ exports.FeatureGridBlock = FeatureGridBlock = tslib_1.__decorate([
1059
+ (0, graphql_1.ObjectType)()
1060
+ ], FeatureGridBlock);
1061
+ let FeatureGridSectionSettings = class FeatureGridSectionSettings {
1062
+ visibility;
1063
+ background_color;
1064
+ };
1065
+ exports.FeatureGridSectionSettings = FeatureGridSectionSettings;
1066
+ tslib_1.__decorate([
1067
+ (0, graphql_1.Field)({ nullable: true }),
1068
+ tslib_1.__metadata("design:type", String)
1069
+ ], FeatureGridSectionSettings.prototype, "visibility", void 0);
1070
+ tslib_1.__decorate([
1071
+ (0, graphql_1.Field)({ nullable: true }),
1072
+ tslib_1.__metadata("design:type", String)
1073
+ ], FeatureGridSectionSettings.prototype, "background_color", void 0);
1074
+ exports.FeatureGridSectionSettings = FeatureGridSectionSettings = tslib_1.__decorate([
1075
+ (0, graphql_1.ObjectType)()
1076
+ ], FeatureGridSectionSettings);
1077
+ let FeatureGridSection = class FeatureGridSection {
1078
+ type;
1079
+ blocks;
1080
+ settings;
1081
+ };
1082
+ exports.FeatureGridSection = FeatureGridSection;
1083
+ tslib_1.__decorate([
1084
+ (0, graphql_1.Field)(),
1085
+ tslib_1.__metadata("design:type", String)
1086
+ ], FeatureGridSection.prototype, "type", void 0);
1087
+ tslib_1.__decorate([
1088
+ (0, graphql_1.Field)(() => [FeatureGridBlock]),
1089
+ tslib_1.__metadata("design:type", Array)
1090
+ ], FeatureGridSection.prototype, "blocks", void 0);
1091
+ tslib_1.__decorate([
1092
+ (0, graphql_1.Field)(() => FeatureGridSectionSettings),
1093
+ tslib_1.__metadata("design:type", FeatureGridSectionSettings)
1094
+ ], FeatureGridSection.prototype, "settings", void 0);
1095
+ exports.FeatureGridSection = FeatureGridSection = tslib_1.__decorate([
1096
+ (0, graphql_1.ObjectType)()
1097
+ ], FeatureGridSection);
1098
+ // ============ Image Card Grid Section Types ============
1099
+ let ImageCardBlockSettings = class ImageCardBlockSettings {
1100
+ image_web;
1101
+ image_mweb;
1102
+ image_mobile;
1103
+ heading;
1104
+ title;
1105
+ link_url;
1106
+ };
1107
+ exports.ImageCardBlockSettings = ImageCardBlockSettings;
1108
+ tslib_1.__decorate([
1109
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
1110
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
1111
+ ], ImageCardBlockSettings.prototype, "image_web", void 0);
1112
+ tslib_1.__decorate([
1113
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
1114
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
1115
+ ], ImageCardBlockSettings.prototype, "image_mweb", void 0);
1116
+ tslib_1.__decorate([
1117
+ (0, graphql_1.Field)(() => common_types_1.CMSImage, { nullable: true }),
1118
+ tslib_1.__metadata("design:type", common_types_1.CMSImage)
1119
+ ], ImageCardBlockSettings.prototype, "image_mobile", void 0);
1120
+ tslib_1.__decorate([
1121
+ (0, graphql_1.Field)({ nullable: true }),
1122
+ tslib_1.__metadata("design:type", String)
1123
+ ], ImageCardBlockSettings.prototype, "heading", void 0);
1124
+ tslib_1.__decorate([
1125
+ (0, graphql_1.Field)({ nullable: true }),
1126
+ tslib_1.__metadata("design:type", String)
1127
+ ], ImageCardBlockSettings.prototype, "title", void 0);
1128
+ tslib_1.__decorate([
1129
+ (0, graphql_1.Field)({ nullable: true }),
1130
+ tslib_1.__metadata("design:type", String)
1131
+ ], ImageCardBlockSettings.prototype, "link_url", void 0);
1132
+ exports.ImageCardBlockSettings = ImageCardBlockSettings = tslib_1.__decorate([
1133
+ (0, graphql_1.ObjectType)()
1134
+ ], ImageCardBlockSettings);
1135
+ let ImageCardBlock = class ImageCardBlock {
1136
+ type;
1137
+ settings;
1138
+ };
1139
+ exports.ImageCardBlock = ImageCardBlock;
1140
+ tslib_1.__decorate([
1141
+ (0, graphql_1.Field)(),
1142
+ tslib_1.__metadata("design:type", String)
1143
+ ], ImageCardBlock.prototype, "type", void 0);
1144
+ tslib_1.__decorate([
1145
+ (0, graphql_1.Field)(() => ImageCardBlockSettings),
1146
+ tslib_1.__metadata("design:type", ImageCardBlockSettings)
1147
+ ], ImageCardBlock.prototype, "settings", void 0);
1148
+ exports.ImageCardBlock = ImageCardBlock = tslib_1.__decorate([
1149
+ (0, graphql_1.ObjectType)()
1150
+ ], ImageCardBlock);
1151
+ let ImageCardGridSectionSettings = class ImageCardGridSectionSettings {
1152
+ visibility;
1153
+ title;
1154
+ heading;
1155
+ mobile_layout;
1156
+ content_alignment;
1157
+ };
1158
+ exports.ImageCardGridSectionSettings = ImageCardGridSectionSettings;
1159
+ tslib_1.__decorate([
1160
+ (0, graphql_1.Field)({ nullable: true }),
1161
+ tslib_1.__metadata("design:type", String)
1162
+ ], ImageCardGridSectionSettings.prototype, "visibility", void 0);
1163
+ tslib_1.__decorate([
1164
+ (0, graphql_1.Field)({ nullable: true }),
1165
+ tslib_1.__metadata("design:type", String)
1166
+ ], ImageCardGridSectionSettings.prototype, "title", void 0);
1167
+ tslib_1.__decorate([
1168
+ (0, graphql_1.Field)({ nullable: true }),
1169
+ tslib_1.__metadata("design:type", String)
1170
+ ], ImageCardGridSectionSettings.prototype, "heading", void 0);
1171
+ tslib_1.__decorate([
1172
+ (0, graphql_1.Field)({ nullable: true }),
1173
+ tslib_1.__metadata("design:type", String)
1174
+ ], ImageCardGridSectionSettings.prototype, "mobile_layout", void 0);
1175
+ tslib_1.__decorate([
1176
+ (0, graphql_1.Field)({ nullable: true }),
1177
+ tslib_1.__metadata("design:type", String)
1178
+ ], ImageCardGridSectionSettings.prototype, "content_alignment", void 0);
1179
+ exports.ImageCardGridSectionSettings = ImageCardGridSectionSettings = tslib_1.__decorate([
1180
+ (0, graphql_1.ObjectType)()
1181
+ ], ImageCardGridSectionSettings);
1182
+ let ImageCardGridSection = class ImageCardGridSection {
1183
+ type;
1184
+ blocks;
1185
+ settings;
1186
+ };
1187
+ exports.ImageCardGridSection = ImageCardGridSection;
1188
+ tslib_1.__decorate([
1189
+ (0, graphql_1.Field)(),
1190
+ tslib_1.__metadata("design:type", String)
1191
+ ], ImageCardGridSection.prototype, "type", void 0);
1192
+ tslib_1.__decorate([
1193
+ (0, graphql_1.Field)(() => [ImageCardBlock]),
1194
+ tslib_1.__metadata("design:type", Array)
1195
+ ], ImageCardGridSection.prototype, "blocks", void 0);
1196
+ tslib_1.__decorate([
1197
+ (0, graphql_1.Field)(() => ImageCardGridSectionSettings),
1198
+ tslib_1.__metadata("design:type", ImageCardGridSectionSettings)
1199
+ ], ImageCardGridSection.prototype, "settings", void 0);
1200
+ exports.ImageCardGridSection = ImageCardGridSection = tslib_1.__decorate([
1201
+ (0, graphql_1.ObjectType)()
1202
+ ], ImageCardGridSection);
1203
+ // ============ Union Type for All Page Sections ============
1204
+ exports.PageSection = (0, graphql_1.createUnionType)({
1205
+ name: 'PageSection',
1206
+ types: () => [
1207
+ BannerSection,
1208
+ PromoBannerSection,
1209
+ ImageWithButtonsSection,
1210
+ FeaturedProductsSection,
1211
+ ShopByCategorySection,
1212
+ NewsletterSection,
1213
+ CategoryTilesSection,
1214
+ CategoryGridSection,
1215
+ RecentlyViewedProductsSection,
1216
+ FeaturedCollectionSection,
1217
+ FeatureGridSection,
1218
+ ImageCardGridSection,
1219
+ ],
1220
+ resolveType(value) {
1221
+ switch (value.type) {
1222
+ case 'banner':
1223
+ return BannerSection;
1224
+ case 'promo-banner':
1225
+ return PromoBannerSection;
1226
+ case 'banner-with-buttons':
1227
+ return ImageWithButtonsSection;
1228
+ case 'featured-products':
1229
+ return FeaturedProductsSection;
1230
+ case 'shop-by-category':
1231
+ return ShopByCategorySection;
1232
+ case 'newsletter':
1233
+ return NewsletterSection;
1234
+ case 'category-tiles':
1235
+ return CategoryTilesSection;
1236
+ case 'category-grid':
1237
+ return CategoryGridSection;
1238
+ case 'recently-viewed-products':
1239
+ return RecentlyViewedProductsSection;
1240
+ case 'featured-collection':
1241
+ return FeaturedCollectionSection;
1242
+ case 'feature-grid':
1243
+ return FeatureGridSection;
1244
+ case 'image-card-grid':
1245
+ return ImageCardGridSection;
1246
+ default:
1247
+ console.error(`Unknown section type: ${value.type}`, value);
1248
+ return null;
1249
+ }
1250
+ },
1251
+ });
1252
+ //# sourceMappingURL=section.types.js.map