@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.
- package/README.md +135 -0
- package/dist/cart/cart.hooks.d.ts +66 -0
- package/dist/cart/cart.hooks.d.ts.map +1 -0
- package/dist/cart/cart.hooks.js +12 -0
- package/dist/cart/cart.hooks.js.map +1 -0
- package/dist/cart/cart.module.d.ts +25 -0
- package/dist/cart/cart.module.d.ts.map +1 -0
- package/dist/cart/cart.module.js +44 -0
- package/dist/cart/cart.module.js.map +1 -0
- package/dist/cart/cart.resolver.d.ts +23 -0
- package/dist/cart/cart.resolver.d.ts.map +1 -0
- package/dist/cart/cart.resolver.js +153 -0
- package/dist/cart/cart.resolver.js.map +1 -0
- package/dist/cart/cart.service.d.ts +31 -0
- package/dist/cart/cart.service.d.ts.map +1 -0
- package/dist/cart/cart.service.js +305 -0
- package/dist/cart/cart.service.js.map +1 -0
- package/dist/cart/cart.types.d.ts +144 -0
- package/dist/cart/cart.types.d.ts.map +1 -0
- package/dist/cart/cart.types.js +629 -0
- package/dist/cart/cart.types.js.map +1 -0
- package/dist/cart/index.d.ts +6 -0
- package/dist/cart/index.d.ts.map +1 -0
- package/dist/cart/index.js +9 -0
- package/dist/cart/index.js.map +1 -0
- package/dist/cms/cms.module.d.ts +3 -0
- package/dist/cms/cms.module.d.ts.map +1 -0
- package/dist/cms/cms.module.js +18 -0
- package/dist/cms/cms.module.js.map +1 -0
- package/dist/cms/cms.resolver.d.ts +15 -0
- package/dist/cms/cms.resolver.d.ts.map +1 -0
- package/dist/cms/cms.resolver.js +44 -0
- package/dist/cms/cms.resolver.js.map +1 -0
- package/dist/cms/cms.service.d.ts +14 -0
- package/dist/cms/cms.service.d.ts.map +1 -0
- package/dist/cms/cms.service.js +111 -0
- package/dist/cms/cms.service.js.map +1 -0
- package/dist/cms/cms.types.d.ts +20 -0
- package/dist/cms/cms.types.d.ts.map +1 -0
- package/dist/cms/cms.types.js +89 -0
- package/dist/cms/cms.types.js.map +1 -0
- package/dist/cms/index.d.ts +5 -0
- package/dist/cms/index.d.ts.map +1 -0
- package/dist/cms/index.js +8 -0
- package/dist/cms/index.js.map +1 -0
- package/dist/collection/collection.module.d.ts +3 -0
- package/dist/collection/collection.module.d.ts.map +1 -0
- package/dist/collection/collection.module.js +19 -0
- package/dist/collection/collection.module.js.map +1 -0
- package/dist/collection/collection.resolver.d.ts +15 -0
- package/dist/collection/collection.resolver.d.ts.map +1 -0
- package/dist/collection/collection.resolver.js +45 -0
- package/dist/collection/collection.resolver.js.map +1 -0
- package/dist/collection/collection.service.d.ts +19 -0
- package/dist/collection/collection.service.d.ts.map +1 -0
- package/dist/collection/collection.service.js +132 -0
- package/dist/collection/collection.service.js.map +1 -0
- package/dist/collection/collection.types.d.ts +18 -0
- package/dist/collection/collection.types.d.ts.map +1 -0
- package/dist/collection/collection.types.js +75 -0
- package/dist/collection/collection.types.js.map +1 -0
- package/dist/collection/index.d.ts +5 -0
- package/dist/collection/index.d.ts.map +1 -0
- package/dist/collection/index.js +8 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/common/index.d.ts +8 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +16 -0
- package/dist/common/index.js.map +1 -0
- package/dist/graphql.module.d.ts +3 -0
- package/dist/graphql.module.d.ts.map +1 -0
- package/dist/graphql.module.js +46 -0
- package/dist/graphql.module.js.map +1 -0
- package/dist/header/header.module.d.ts +9 -0
- package/dist/header/header.module.d.ts.map +1 -0
- package/dist/header/header.module.js +21 -0
- package/dist/header/header.module.js.map +1 -0
- package/dist/header/header.resolver.d.ts +18 -0
- package/dist/header/header.resolver.d.ts.map +1 -0
- package/dist/header/header.resolver.js +42 -0
- package/dist/header/header.resolver.js.map +1 -0
- package/dist/header/index.d.ts +4 -0
- package/dist/header/index.d.ts.map +1 -0
- package/dist/header/index.js +7 -0
- package/dist/header/index.js.map +1 -0
- package/dist/header/types/header.types.d.ts +36 -0
- package/dist/header/types/header.types.d.ts.map +1 -0
- package/dist/header/types/header.types.js +154 -0
- package/dist/header/types/header.types.js.map +1 -0
- package/dist/header/types/index.d.ts +3 -0
- package/dist/header/types/index.d.ts.map +1 -0
- package/dist/header/types/index.js +6 -0
- package/dist/header/types/index.js.map +1 -0
- package/dist/header/types/response.types.d.ts +13 -0
- package/dist/header/types/response.types.d.ts.map +1 -0
- package/dist/header/types/response.types.js +54 -0
- package/dist/header/types/response.types.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/page-content/index.d.ts +5 -0
- package/dist/page-content/index.d.ts.map +1 -0
- package/dist/page-content/index.js +8 -0
- package/dist/page-content/index.js.map +1 -0
- package/dist/page-content/page-content.module.d.ts +9 -0
- package/dist/page-content/page-content.module.d.ts.map +1 -0
- package/dist/page-content/page-content.module.js +25 -0
- package/dist/page-content/page-content.module.js.map +1 -0
- package/dist/page-content/page-content.resolver.d.ts +18 -0
- package/dist/page-content/page-content.resolver.d.ts.map +1 -0
- package/dist/page-content/page-content.resolver.js +42 -0
- package/dist/page-content/page-content.resolver.js.map +1 -0
- package/dist/page-content/page-content.service.d.ts +59 -0
- package/dist/page-content/page-content.service.d.ts.map +1 -0
- package/dist/page-content/page-content.service.js +253 -0
- package/dist/page-content/page-content.service.js.map +1 -0
- package/dist/page-content/types/common.types.d.ts +49 -0
- package/dist/page-content/types/common.types.d.ts.map +1 -0
- package/dist/page-content/types/common.types.js +217 -0
- package/dist/page-content/types/common.types.js.map +1 -0
- package/dist/page-content/types/index.d.ts +4 -0
- package/dist/page-content/types/index.d.ts.map +1 -0
- package/dist/page-content/types/index.js +7 -0
- package/dist/page-content/types/index.js.map +1 -0
- package/dist/page-content/types/response.types.d.ts +8 -0
- package/dist/page-content/types/response.types.d.ts.map +1 -0
- package/dist/page-content/types/response.types.js +29 -0
- package/dist/page-content/types/response.types.js.map +1 -0
- package/dist/page-content/types/section.types.d.ts +276 -0
- package/dist/page-content/types/section.types.d.ts.map +1 -0
- package/dist/page-content/types/section.types.js +1252 -0
- package/dist/page-content/types/section.types.js.map +1 -0
- package/dist/product/index.d.ts +5 -0
- package/dist/product/index.d.ts.map +1 -0
- package/dist/product/index.js +8 -0
- package/dist/product/index.js.map +1 -0
- package/dist/product/product.module.d.ts +3 -0
- package/dist/product/product.module.d.ts.map +1 -0
- package/dist/product/product.module.js +19 -0
- package/dist/product/product.module.js.map +1 -0
- package/dist/product/product.resolver.d.ts +15 -0
- package/dist/product/product.resolver.d.ts.map +1 -0
- package/dist/product/product.resolver.js +45 -0
- package/dist/product/product.resolver.js.map +1 -0
- package/dist/product/product.service.d.ts +38 -0
- package/dist/product/product.service.d.ts.map +1 -0
- package/dist/product/product.service.js +337 -0
- package/dist/product/product.service.js.map +1 -0
- package/dist/product/product.types.d.ts +63 -0
- package/dist/product/product.types.d.ts.map +1 -0
- package/dist/product/product.types.js +276 -0
- package/dist/product/product.types.js.map +1 -0
- package/dist/product-content/index.d.ts +5 -0
- package/dist/product-content/index.d.ts.map +1 -0
- package/dist/product-content/index.js +8 -0
- package/dist/product-content/index.js.map +1 -0
- package/dist/product-content/product-content.module.d.ts +3 -0
- package/dist/product-content/product-content.module.d.ts.map +1 -0
- package/dist/product-content/product-content.module.js +27 -0
- package/dist/product-content/product-content.module.js.map +1 -0
- package/dist/product-content/product-content.resolver.d.ts +20 -0
- package/dist/product-content/product-content.resolver.d.ts.map +1 -0
- package/dist/product-content/product-content.resolver.js +44 -0
- package/dist/product-content/product-content.resolver.js.map +1 -0
- package/dist/product-content/product-content.service.d.ts +40 -0
- package/dist/product-content/product-content.service.d.ts.map +1 -0
- package/dist/product-content/product-content.service.js +239 -0
- package/dist/product-content/product-content.service.js.map +1 -0
- package/dist/product-content/types/common.types.d.ts +85 -0
- package/dist/product-content/types/common.types.d.ts.map +1 -0
- package/dist/product-content/types/common.types.js +384 -0
- package/dist/product-content/types/common.types.js.map +1 -0
- package/dist/product-content/types/index.d.ts +3 -0
- package/dist/product-content/types/index.d.ts.map +1 -0
- package/dist/product-content/types/index.js +6 -0
- package/dist/product-content/types/index.js.map +1 -0
- package/dist/product-content/types/response.types.d.ts +10 -0
- package/dist/product-content/types/response.types.d.ts.map +1 -0
- package/dist/product-content/types/response.types.js +39 -0
- package/dist/product-content/types/response.types.js.map +1 -0
- package/dist/serviceability/index.d.ts +5 -0
- package/dist/serviceability/index.d.ts.map +1 -0
- package/dist/serviceability/index.js +8 -0
- package/dist/serviceability/index.js.map +1 -0
- package/dist/serviceability/serviceability.module.d.ts +3 -0
- package/dist/serviceability/serviceability.module.d.ts.map +1 -0
- package/dist/serviceability/serviceability.module.js +18 -0
- package/dist/serviceability/serviceability.module.js.map +1 -0
- package/dist/serviceability/serviceability.resolver.d.ts +19 -0
- package/dist/serviceability/serviceability.resolver.d.ts.map +1 -0
- package/dist/serviceability/serviceability.resolver.js +40 -0
- package/dist/serviceability/serviceability.resolver.js.map +1 -0
- package/dist/serviceability/serviceability.service.d.ts +42 -0
- package/dist/serviceability/serviceability.service.d.ts.map +1 -0
- package/dist/serviceability/serviceability.service.js +169 -0
- package/dist/serviceability/serviceability.service.js.map +1 -0
- package/dist/serviceability/serviceability.types.d.ts +42 -0
- package/dist/serviceability/serviceability.types.d.ts.map +1 -0
- package/dist/serviceability/serviceability.types.js +184 -0
- package/dist/serviceability/serviceability.types.js.map +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageProduct = exports.PageFeaturedImage = exports.PagePriceRange = exports.PageMoney = exports.PageImage = exports.CMSVideo = exports.CMSImage = exports.PageError = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
6
|
+
// ============ Error Type ============
|
|
7
|
+
let PageError = class PageError {
|
|
8
|
+
code;
|
|
9
|
+
message;
|
|
10
|
+
};
|
|
11
|
+
exports.PageError = PageError;
|
|
12
|
+
tslib_1.__decorate([
|
|
13
|
+
(0, graphql_1.Field)(),
|
|
14
|
+
tslib_1.__metadata("design:type", String)
|
|
15
|
+
], PageError.prototype, "code", void 0);
|
|
16
|
+
tslib_1.__decorate([
|
|
17
|
+
(0, graphql_1.Field)(),
|
|
18
|
+
tslib_1.__metadata("design:type", String)
|
|
19
|
+
], PageError.prototype, "message", void 0);
|
|
20
|
+
exports.PageError = PageError = tslib_1.__decorate([
|
|
21
|
+
(0, graphql_1.ObjectType)()
|
|
22
|
+
], PageError);
|
|
23
|
+
// ============ CMS Media Types ============
|
|
24
|
+
let CMSImage = class CMSImage {
|
|
25
|
+
url;
|
|
26
|
+
width;
|
|
27
|
+
height;
|
|
28
|
+
};
|
|
29
|
+
exports.CMSImage = CMSImage;
|
|
30
|
+
tslib_1.__decorate([
|
|
31
|
+
(0, graphql_1.Field)(),
|
|
32
|
+
tslib_1.__metadata("design:type", String)
|
|
33
|
+
], CMSImage.prototype, "url", void 0);
|
|
34
|
+
tslib_1.__decorate([
|
|
35
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
36
|
+
tslib_1.__metadata("design:type", Number)
|
|
37
|
+
], CMSImage.prototype, "width", void 0);
|
|
38
|
+
tslib_1.__decorate([
|
|
39
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
40
|
+
tslib_1.__metadata("design:type", Number)
|
|
41
|
+
], CMSImage.prototype, "height", void 0);
|
|
42
|
+
exports.CMSImage = CMSImage = tslib_1.__decorate([
|
|
43
|
+
(0, graphql_1.ObjectType)()
|
|
44
|
+
], CMSImage);
|
|
45
|
+
let CMSVideo = class CMSVideo {
|
|
46
|
+
url;
|
|
47
|
+
width;
|
|
48
|
+
height;
|
|
49
|
+
};
|
|
50
|
+
exports.CMSVideo = CMSVideo;
|
|
51
|
+
tslib_1.__decorate([
|
|
52
|
+
(0, graphql_1.Field)(),
|
|
53
|
+
tslib_1.__metadata("design:type", String)
|
|
54
|
+
], CMSVideo.prototype, "url", void 0);
|
|
55
|
+
tslib_1.__decorate([
|
|
56
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
57
|
+
tslib_1.__metadata("design:type", Number)
|
|
58
|
+
], CMSVideo.prototype, "width", void 0);
|
|
59
|
+
tslib_1.__decorate([
|
|
60
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
61
|
+
tslib_1.__metadata("design:type", Number)
|
|
62
|
+
], CMSVideo.prototype, "height", void 0);
|
|
63
|
+
exports.CMSVideo = CMSVideo = tslib_1.__decorate([
|
|
64
|
+
(0, graphql_1.ObjectType)()
|
|
65
|
+
], CMSVideo);
|
|
66
|
+
// ============ Product-related Types ============
|
|
67
|
+
let PageImage = class PageImage {
|
|
68
|
+
id;
|
|
69
|
+
url;
|
|
70
|
+
altText;
|
|
71
|
+
width;
|
|
72
|
+
height;
|
|
73
|
+
};
|
|
74
|
+
exports.PageImage = PageImage;
|
|
75
|
+
tslib_1.__decorate([
|
|
76
|
+
(0, graphql_1.Field)(),
|
|
77
|
+
tslib_1.__metadata("design:type", String)
|
|
78
|
+
], PageImage.prototype, "id", void 0);
|
|
79
|
+
tslib_1.__decorate([
|
|
80
|
+
(0, graphql_1.Field)(),
|
|
81
|
+
tslib_1.__metadata("design:type", String)
|
|
82
|
+
], PageImage.prototype, "url", void 0);
|
|
83
|
+
tslib_1.__decorate([
|
|
84
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
85
|
+
tslib_1.__metadata("design:type", String)
|
|
86
|
+
], PageImage.prototype, "altText", void 0);
|
|
87
|
+
tslib_1.__decorate([
|
|
88
|
+
(0, graphql_1.Field)(() => graphql_1.Int),
|
|
89
|
+
tslib_1.__metadata("design:type", Number)
|
|
90
|
+
], PageImage.prototype, "width", void 0);
|
|
91
|
+
tslib_1.__decorate([
|
|
92
|
+
(0, graphql_1.Field)(() => graphql_1.Int),
|
|
93
|
+
tslib_1.__metadata("design:type", Number)
|
|
94
|
+
], PageImage.prototype, "height", void 0);
|
|
95
|
+
exports.PageImage = PageImage = tslib_1.__decorate([
|
|
96
|
+
(0, graphql_1.ObjectType)()
|
|
97
|
+
], PageImage);
|
|
98
|
+
let PageMoney = class PageMoney {
|
|
99
|
+
amount;
|
|
100
|
+
currencyCode;
|
|
101
|
+
};
|
|
102
|
+
exports.PageMoney = PageMoney;
|
|
103
|
+
tslib_1.__decorate([
|
|
104
|
+
(0, graphql_1.Field)(),
|
|
105
|
+
tslib_1.__metadata("design:type", String)
|
|
106
|
+
], PageMoney.prototype, "amount", void 0);
|
|
107
|
+
tslib_1.__decorate([
|
|
108
|
+
(0, graphql_1.Field)(),
|
|
109
|
+
tslib_1.__metadata("design:type", String)
|
|
110
|
+
], PageMoney.prototype, "currencyCode", void 0);
|
|
111
|
+
exports.PageMoney = PageMoney = tslib_1.__decorate([
|
|
112
|
+
(0, graphql_1.ObjectType)()
|
|
113
|
+
], PageMoney);
|
|
114
|
+
let PagePriceRange = class PagePriceRange {
|
|
115
|
+
minVariantPrice;
|
|
116
|
+
maxVariantPrice;
|
|
117
|
+
};
|
|
118
|
+
exports.PagePriceRange = PagePriceRange;
|
|
119
|
+
tslib_1.__decorate([
|
|
120
|
+
(0, graphql_1.Field)(() => PageMoney),
|
|
121
|
+
tslib_1.__metadata("design:type", PageMoney)
|
|
122
|
+
], PagePriceRange.prototype, "minVariantPrice", void 0);
|
|
123
|
+
tslib_1.__decorate([
|
|
124
|
+
(0, graphql_1.Field)(() => PageMoney),
|
|
125
|
+
tslib_1.__metadata("design:type", PageMoney)
|
|
126
|
+
], PagePriceRange.prototype, "maxVariantPrice", void 0);
|
|
127
|
+
exports.PagePriceRange = PagePriceRange = tslib_1.__decorate([
|
|
128
|
+
(0, graphql_1.ObjectType)()
|
|
129
|
+
], PagePriceRange);
|
|
130
|
+
let PageFeaturedImage = class PageFeaturedImage {
|
|
131
|
+
url;
|
|
132
|
+
altText;
|
|
133
|
+
width;
|
|
134
|
+
height;
|
|
135
|
+
};
|
|
136
|
+
exports.PageFeaturedImage = PageFeaturedImage;
|
|
137
|
+
tslib_1.__decorate([
|
|
138
|
+
(0, graphql_1.Field)(),
|
|
139
|
+
tslib_1.__metadata("design:type", String)
|
|
140
|
+
], PageFeaturedImage.prototype, "url", void 0);
|
|
141
|
+
tslib_1.__decorate([
|
|
142
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
143
|
+
tslib_1.__metadata("design:type", String)
|
|
144
|
+
], PageFeaturedImage.prototype, "altText", void 0);
|
|
145
|
+
tslib_1.__decorate([
|
|
146
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
147
|
+
tslib_1.__metadata("design:type", Number)
|
|
148
|
+
], PageFeaturedImage.prototype, "width", void 0);
|
|
149
|
+
tslib_1.__decorate([
|
|
150
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { nullable: true }),
|
|
151
|
+
tslib_1.__metadata("design:type", Number)
|
|
152
|
+
], PageFeaturedImage.prototype, "height", void 0);
|
|
153
|
+
exports.PageFeaturedImage = PageFeaturedImage = tslib_1.__decorate([
|
|
154
|
+
(0, graphql_1.ObjectType)()
|
|
155
|
+
], PageFeaturedImage);
|
|
156
|
+
let PageProduct = class PageProduct {
|
|
157
|
+
id;
|
|
158
|
+
title;
|
|
159
|
+
handle;
|
|
160
|
+
vendor;
|
|
161
|
+
productType;
|
|
162
|
+
featuredImage;
|
|
163
|
+
images;
|
|
164
|
+
priceRange;
|
|
165
|
+
compareAtPrice;
|
|
166
|
+
tags;
|
|
167
|
+
displayTag;
|
|
168
|
+
};
|
|
169
|
+
exports.PageProduct = PageProduct;
|
|
170
|
+
tslib_1.__decorate([
|
|
171
|
+
(0, graphql_1.Field)(),
|
|
172
|
+
tslib_1.__metadata("design:type", String)
|
|
173
|
+
], PageProduct.prototype, "id", void 0);
|
|
174
|
+
tslib_1.__decorate([
|
|
175
|
+
(0, graphql_1.Field)(),
|
|
176
|
+
tslib_1.__metadata("design:type", String)
|
|
177
|
+
], PageProduct.prototype, "title", void 0);
|
|
178
|
+
tslib_1.__decorate([
|
|
179
|
+
(0, graphql_1.Field)(),
|
|
180
|
+
tslib_1.__metadata("design:type", String)
|
|
181
|
+
], PageProduct.prototype, "handle", void 0);
|
|
182
|
+
tslib_1.__decorate([
|
|
183
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
184
|
+
tslib_1.__metadata("design:type", String)
|
|
185
|
+
], PageProduct.prototype, "vendor", void 0);
|
|
186
|
+
tslib_1.__decorate([
|
|
187
|
+
(0, graphql_1.Field)({ nullable: true }),
|
|
188
|
+
tslib_1.__metadata("design:type", String)
|
|
189
|
+
], PageProduct.prototype, "productType", void 0);
|
|
190
|
+
tslib_1.__decorate([
|
|
191
|
+
(0, graphql_1.Field)(() => PageFeaturedImage, { nullable: true }),
|
|
192
|
+
tslib_1.__metadata("design:type", PageFeaturedImage)
|
|
193
|
+
], PageProduct.prototype, "featuredImage", void 0);
|
|
194
|
+
tslib_1.__decorate([
|
|
195
|
+
(0, graphql_1.Field)(() => [PageImage]),
|
|
196
|
+
tslib_1.__metadata("design:type", Array)
|
|
197
|
+
], PageProduct.prototype, "images", void 0);
|
|
198
|
+
tslib_1.__decorate([
|
|
199
|
+
(0, graphql_1.Field)(() => PagePriceRange),
|
|
200
|
+
tslib_1.__metadata("design:type", PagePriceRange)
|
|
201
|
+
], PageProduct.prototype, "priceRange", void 0);
|
|
202
|
+
tslib_1.__decorate([
|
|
203
|
+
(0, graphql_1.Field)(() => PageMoney, { nullable: true }),
|
|
204
|
+
tslib_1.__metadata("design:type", Object)
|
|
205
|
+
], PageProduct.prototype, "compareAtPrice", void 0);
|
|
206
|
+
tslib_1.__decorate([
|
|
207
|
+
(0, graphql_1.Field)(() => [String], { nullable: true }),
|
|
208
|
+
tslib_1.__metadata("design:type", Array)
|
|
209
|
+
], PageProduct.prototype, "tags", void 0);
|
|
210
|
+
tslib_1.__decorate([
|
|
211
|
+
(0, graphql_1.Field)(() => String, { nullable: true }),
|
|
212
|
+
tslib_1.__metadata("design:type", Object)
|
|
213
|
+
], PageProduct.prototype, "displayTag", void 0);
|
|
214
|
+
exports.PageProduct = PageProduct = tslib_1.__decorate([
|
|
215
|
+
(0, graphql_1.ObjectType)()
|
|
216
|
+
], PageProduct);
|
|
217
|
+
//# sourceMappingURL=common.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.types.js","sourceRoot":"","sources":["../../../src/page-content/types/common.types.ts"],"names":[],"mappings":";;;;AAAA,6CAAyD;AAEzD,uCAAuC;AAGhC,IAAM,SAAS,GAAf,MAAM,SAAS;IAEpB,IAAI,CAAS;IAGb,OAAO,CAAS;CACjB,CAAA;AANY,8BAAS;AAEpB;IADC,IAAA,eAAK,GAAE;;uCACK;AAGb;IADC,IAAA,eAAK,GAAE;;0CACQ;oBALL,SAAS;IADrB,IAAA,oBAAU,GAAE;GACA,SAAS,CAMrB;AAED,4CAA4C;AAGrC,IAAM,QAAQ,GAAd,MAAM,QAAQ;IAEnB,GAAG,CAAS;IAGZ,KAAK,CAAU;IAGf,MAAM,CAAU;CACjB,CAAA;AATY,4BAAQ;AAEnB;IADC,IAAA,eAAK,GAAE;;qCACI;AAGZ;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACtB;AAGf;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,aAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCACrB;mBARL,QAAQ;IADpB,IAAA,oBAAU,GAAE;GACA,QAAQ,CASpB;AAGM,IAAM,QAAQ,GAAd,MAAM,QAAQ;IAEnB,GAAG,CAAS;IAGZ,KAAK,CAAU;IAGf,MAAM,CAAU;CACjB,CAAA;AATY,4BAAQ;AAEnB;IADC,IAAA,eAAK,GAAE;;qC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AE,IAAI,EAAE,CAAC;sCACnC,iBAAiB;kDAAC;AAGlC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC;;2CACL;AAGpB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC;sCAChB,cAAc;+CAAC;AAG3B;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACT;AAGlC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAC1B;AAGhB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACb;sBAhChB,WAAW;IADvB,IAAA,oBAAU,GAAE;GACA,WAAW,CAiCvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/page-content/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./common.types"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./section.types"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./response.types"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/page-content/types/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,0DAAgC;AAChC,2DAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.types.d.ts","sourceRoot":"","sources":["../../../src/page-content/types/response.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAe,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAE/D,qBACa,mBAAmB;IAE9B,OAAO,EAAE,OAAO,CAAC;IAGjB,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;IAGzB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageContentResponse = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
6
|
+
const common_types_1 = require("./common.types");
|
|
7
|
+
const section_types_1 = require("./section.types");
|
|
8
|
+
let PageContentResponse = class PageContentResponse {
|
|
9
|
+
success;
|
|
10
|
+
data;
|
|
11
|
+
error;
|
|
12
|
+
};
|
|
13
|
+
exports.PageContentResponse = PageContentResponse;
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, graphql_1.Field)(),
|
|
16
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
17
|
+
], PageContentResponse.prototype, "success", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, graphql_1.Field)(() => [section_types_1.PageSection], { nullable: true }),
|
|
20
|
+
tslib_1.__metadata("design:type", Array)
|
|
21
|
+
], PageContentResponse.prototype, "data", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, graphql_1.Field)(() => common_types_1.PageError, { nullable: true }),
|
|
24
|
+
tslib_1.__metadata("design:type", common_types_1.PageError)
|
|
25
|
+
], PageContentResponse.prototype, "error", void 0);
|
|
26
|
+
exports.PageContentResponse = PageContentResponse = tslib_1.__decorate([
|
|
27
|
+
(0, graphql_1.ObjectType)()
|
|
28
|
+
], PageContentResponse);
|
|
29
|
+
//# sourceMappingURL=response.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response.types.js","sourceRoot":"","sources":["../../../src/page-content/types/response.types.ts"],"names":[],"mappings":";;;;AAAA,6CAAoD;AACpD,iDAA2C;AAC3C,mDAA+D;AAGxD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAE9B,OAAO,CAAU;IAGjB,IAAI,CAAqB;IAGzB,KAAK,CAAa;CACnB,CAAA;AATY,kDAAmB;AAE9B;IADC,IAAA,eAAK,GAAE;;oDACS;AAGjB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,CAAC,2BAAW,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACtB;AAGzB;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,wBAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;sCACnC,wBAAS;kDAAC;8BARP,mBAAmB;IAD/B,IAAA,oBAAU,GAAE;GACA,mBAAmB,CAS/B"}
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
import { CMSImage, CMSVideo, PageProduct } from './common.types';
|
|
2
|
+
export declare class BannerButtonBlockSettings {
|
|
3
|
+
cta_label?: string;
|
|
4
|
+
cta_url?: string;
|
|
5
|
+
cta_variant?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class BannerButtonBlock {
|
|
8
|
+
type: string;
|
|
9
|
+
settings: BannerButtonBlockSettings;
|
|
10
|
+
}
|
|
11
|
+
export declare class BannerSlideSettings {
|
|
12
|
+
video?: CMSVideo;
|
|
13
|
+
video_web?: CMSVideo;
|
|
14
|
+
video_mweb?: CMSVideo;
|
|
15
|
+
video_mobile?: CMSVideo;
|
|
16
|
+
image?: CMSImage;
|
|
17
|
+
image_web?: CMSImage;
|
|
18
|
+
image_mweb?: CMSImage;
|
|
19
|
+
image_mobile?: CMSImage;
|
|
20
|
+
heading?: string;
|
|
21
|
+
title?: string;
|
|
22
|
+
subheading?: string;
|
|
23
|
+
cta_label?: string;
|
|
24
|
+
cta_url?: string;
|
|
25
|
+
cta_variant?: string;
|
|
26
|
+
content_layout?: string;
|
|
27
|
+
content_position?: string;
|
|
28
|
+
content_spacing?: string;
|
|
29
|
+
mobile_layout?: string;
|
|
30
|
+
cta_style?: string;
|
|
31
|
+
cta_style_mweb?: string;
|
|
32
|
+
text_color?: string;
|
|
33
|
+
content_color?: string;
|
|
34
|
+
show_overlay?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare class BannerSlideBlock {
|
|
37
|
+
type: string;
|
|
38
|
+
settings: BannerSlideSettings;
|
|
39
|
+
blocks?: BannerButtonBlock[];
|
|
40
|
+
}
|
|
41
|
+
export declare class BannerSectionSettings {
|
|
42
|
+
visibility?: string;
|
|
43
|
+
layout_style?: string;
|
|
44
|
+
show_overlay?: boolean;
|
|
45
|
+
enable_spacing?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare class BannerSection {
|
|
48
|
+
type: string;
|
|
49
|
+
blocks: BannerSlideBlock[];
|
|
50
|
+
settings: BannerSectionSettings;
|
|
51
|
+
}
|
|
52
|
+
export declare class PromoBannerButtonSettings {
|
|
53
|
+
cta_label?: string;
|
|
54
|
+
cta_url?: string;
|
|
55
|
+
cta_variant?: string;
|
|
56
|
+
cta_style?: string;
|
|
57
|
+
cta_style_mweb?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare class PromoBannerButtonBlock {
|
|
60
|
+
type: string;
|
|
61
|
+
settings: PromoBannerButtonSettings;
|
|
62
|
+
}
|
|
63
|
+
export declare class PromoBannerSettings {
|
|
64
|
+
title?: string;
|
|
65
|
+
heading?: string;
|
|
66
|
+
subheading?: string;
|
|
67
|
+
background_color?: string;
|
|
68
|
+
content_color?: string;
|
|
69
|
+
}
|
|
70
|
+
export declare class PromoBannerSection {
|
|
71
|
+
type: string;
|
|
72
|
+
blocks: PromoBannerButtonBlock[];
|
|
73
|
+
settings: PromoBannerSettings;
|
|
74
|
+
}
|
|
75
|
+
export declare class ImageWithButtonsButtonSettings {
|
|
76
|
+
cta_label?: string;
|
|
77
|
+
cta_url?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare class ImageWithButtonsButtonBlock {
|
|
80
|
+
type: string;
|
|
81
|
+
settings: ImageWithButtonsButtonSettings;
|
|
82
|
+
}
|
|
83
|
+
export declare class ImageWithButtonsSettings {
|
|
84
|
+
image?: CMSImage;
|
|
85
|
+
image_mweb?: CMSImage;
|
|
86
|
+
image_mobile?: CMSImage;
|
|
87
|
+
heading?: string;
|
|
88
|
+
button_layout?: string;
|
|
89
|
+
show_overlay?: boolean;
|
|
90
|
+
}
|
|
91
|
+
export declare class ImageWithButtonsSection {
|
|
92
|
+
type: string;
|
|
93
|
+
blocks: ImageWithButtonsButtonBlock[];
|
|
94
|
+
settings: ImageWithButtonsSettings;
|
|
95
|
+
}
|
|
96
|
+
export declare class FeaturedProductsSettings {
|
|
97
|
+
heading?: string;
|
|
98
|
+
featured_collection?: string;
|
|
99
|
+
products_count?: number;
|
|
100
|
+
show_vendor?: boolean;
|
|
101
|
+
show_add_to_cart?: boolean;
|
|
102
|
+
card_layout?: string;
|
|
103
|
+
}
|
|
104
|
+
export declare class FeaturedProductsSection {
|
|
105
|
+
type: string;
|
|
106
|
+
settings: FeaturedProductsSettings;
|
|
107
|
+
products: PageProduct[];
|
|
108
|
+
}
|
|
109
|
+
export declare class CategoryCardSettings {
|
|
110
|
+
image?: CMSImage;
|
|
111
|
+
heading?: string;
|
|
112
|
+
url?: string;
|
|
113
|
+
}
|
|
114
|
+
export declare class CategoryCardBlock {
|
|
115
|
+
type: string;
|
|
116
|
+
settings: CategoryCardSettings;
|
|
117
|
+
}
|
|
118
|
+
export declare class ShopByCategorySettings {
|
|
119
|
+
heading?: string;
|
|
120
|
+
columns_count?: number;
|
|
121
|
+
}
|
|
122
|
+
export declare class ShopByCategorySection {
|
|
123
|
+
type: string;
|
|
124
|
+
blocks: CategoryCardBlock[];
|
|
125
|
+
settings: ShopByCategorySettings;
|
|
126
|
+
}
|
|
127
|
+
export declare class NewsletterSettings {
|
|
128
|
+
subheading?: string;
|
|
129
|
+
heading?: string;
|
|
130
|
+
body?: string;
|
|
131
|
+
cta_label?: string;
|
|
132
|
+
modal_heading?: string;
|
|
133
|
+
show_divider?: boolean;
|
|
134
|
+
background_color?: string;
|
|
135
|
+
text_color?: string;
|
|
136
|
+
}
|
|
137
|
+
export declare class NewsletterSection {
|
|
138
|
+
type: string;
|
|
139
|
+
settings: NewsletterSettings;
|
|
140
|
+
}
|
|
141
|
+
export declare class CategoryTileBlockSettings {
|
|
142
|
+
image_web?: CMSImage;
|
|
143
|
+
cta_label?: string;
|
|
144
|
+
cta_url?: string;
|
|
145
|
+
cta_variant?: string;
|
|
146
|
+
}
|
|
147
|
+
export declare class CategoryTileBlock {
|
|
148
|
+
type: string;
|
|
149
|
+
settings: CategoryTileBlockSettings;
|
|
150
|
+
}
|
|
151
|
+
export declare class CategoryTilesSectionSettings {
|
|
152
|
+
visibility?: string;
|
|
153
|
+
title?: string;
|
|
154
|
+
heading?: string;
|
|
155
|
+
}
|
|
156
|
+
export declare class CategoryTilesSection {
|
|
157
|
+
type: string;
|
|
158
|
+
blocks: CategoryTileBlock[];
|
|
159
|
+
settings: CategoryTilesSectionSettings;
|
|
160
|
+
}
|
|
161
|
+
export declare class CategoryGridButtonBlockSettings {
|
|
162
|
+
cta_label?: string;
|
|
163
|
+
cta_url?: string;
|
|
164
|
+
cta_variant?: string;
|
|
165
|
+
}
|
|
166
|
+
export declare class CategoryGridButtonBlock {
|
|
167
|
+
type: string;
|
|
168
|
+
settings: CategoryGridButtonBlockSettings;
|
|
169
|
+
}
|
|
170
|
+
export declare class CategoryGridCardBlockSettings {
|
|
171
|
+
image_web?: CMSImage;
|
|
172
|
+
image_mweb?: CMSImage;
|
|
173
|
+
image_mobile?: CMSImage;
|
|
174
|
+
heading?: string;
|
|
175
|
+
title?: string;
|
|
176
|
+
content_alignment?: string;
|
|
177
|
+
}
|
|
178
|
+
export declare class CategoryGridCardBlock {
|
|
179
|
+
type: string;
|
|
180
|
+
settings: CategoryGridCardBlockSettings;
|
|
181
|
+
blocks?: CategoryGridButtonBlock[];
|
|
182
|
+
}
|
|
183
|
+
export declare class CategoryGridSectionSettings {
|
|
184
|
+
visibility?: string;
|
|
185
|
+
title?: string;
|
|
186
|
+
heading?: string;
|
|
187
|
+
mobile_layout?: string;
|
|
188
|
+
content_alignment?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare class CategoryGridSection {
|
|
191
|
+
type: string;
|
|
192
|
+
blocks: CategoryGridCardBlock[];
|
|
193
|
+
settings: CategoryGridSectionSettings;
|
|
194
|
+
}
|
|
195
|
+
export declare class RecentlyViewedProductsSectionSettings {
|
|
196
|
+
visibility?: string;
|
|
197
|
+
heading?: string;
|
|
198
|
+
}
|
|
199
|
+
export declare class RecentlyViewedProductsSection {
|
|
200
|
+
type: string;
|
|
201
|
+
settings: RecentlyViewedProductsSectionSettings;
|
|
202
|
+
}
|
|
203
|
+
export declare class FeaturedCollectionSectionSettings {
|
|
204
|
+
visibility?: string;
|
|
205
|
+
title?: string;
|
|
206
|
+
heading?: string;
|
|
207
|
+
collection?: string;
|
|
208
|
+
products_to_show?: number;
|
|
209
|
+
}
|
|
210
|
+
export declare class FeaturedCollectionSection {
|
|
211
|
+
type: string;
|
|
212
|
+
settings: FeaturedCollectionSectionSettings;
|
|
213
|
+
products?: PageProduct[];
|
|
214
|
+
}
|
|
215
|
+
export declare class FeatureGridButtonBlockSettings {
|
|
216
|
+
cta_label?: string;
|
|
217
|
+
cta_url?: string;
|
|
218
|
+
cta_variant?: string;
|
|
219
|
+
}
|
|
220
|
+
export declare class FeatureGridButtonBlock {
|
|
221
|
+
type: string;
|
|
222
|
+
settings: FeatureGridButtonBlockSettings;
|
|
223
|
+
}
|
|
224
|
+
export declare class FeatureGridBlockSettings {
|
|
225
|
+
image_web?: CMSImage;
|
|
226
|
+
image_mweb?: CMSImage;
|
|
227
|
+
image_mobile?: CMSImage;
|
|
228
|
+
video_web?: CMSVideo;
|
|
229
|
+
video_mweb?: CMSVideo;
|
|
230
|
+
video_mobile?: CMSVideo;
|
|
231
|
+
title?: string;
|
|
232
|
+
heading?: string;
|
|
233
|
+
panel_color?: string;
|
|
234
|
+
text_color?: string;
|
|
235
|
+
}
|
|
236
|
+
export declare class FeatureGridBlock {
|
|
237
|
+
type: string;
|
|
238
|
+
settings: FeatureGridBlockSettings;
|
|
239
|
+
blocks?: FeatureGridButtonBlock[];
|
|
240
|
+
}
|
|
241
|
+
export declare class FeatureGridSectionSettings {
|
|
242
|
+
visibility?: string;
|
|
243
|
+
background_color?: string;
|
|
244
|
+
}
|
|
245
|
+
export declare class FeatureGridSection {
|
|
246
|
+
type: string;
|
|
247
|
+
blocks: FeatureGridBlock[];
|
|
248
|
+
settings: FeatureGridSectionSettings;
|
|
249
|
+
}
|
|
250
|
+
export declare class ImageCardBlockSettings {
|
|
251
|
+
image_web?: CMSImage;
|
|
252
|
+
image_mweb?: CMSImage;
|
|
253
|
+
image_mobile?: CMSImage;
|
|
254
|
+
heading?: string;
|
|
255
|
+
title?: string;
|
|
256
|
+
link_url?: string;
|
|
257
|
+
}
|
|
258
|
+
export declare class ImageCardBlock {
|
|
259
|
+
type: string;
|
|
260
|
+
settings: ImageCardBlockSettings;
|
|
261
|
+
}
|
|
262
|
+
export declare class ImageCardGridSectionSettings {
|
|
263
|
+
visibility?: string;
|
|
264
|
+
title?: string;
|
|
265
|
+
heading?: string;
|
|
266
|
+
mobile_layout?: string;
|
|
267
|
+
content_alignment?: string;
|
|
268
|
+
}
|
|
269
|
+
export declare class ImageCardGridSection {
|
|
270
|
+
type: string;
|
|
271
|
+
blocks: ImageCardBlock[];
|
|
272
|
+
settings: ImageCardGridSectionSettings;
|
|
273
|
+
}
|
|
274
|
+
export declare const PageSection: BannerSection | PromoBannerSection | ImageWithButtonsSection | FeaturedProductsSection | ShopByCategorySection | NewsletterSection | CategoryTilesSection | CategoryGridSection | RecentlyViewedProductsSection | FeaturedCollectionSection | FeatureGridSection | ImageCardGridSection;
|
|
275
|
+
export type PageSectionType = BannerSection | PromoBannerSection | ImageWithButtonsSection | FeaturedProductsSection | ShopByCategorySection | NewsletterSection | CategoryTilesSection | CategoryGridSection | RecentlyViewedProductsSection | FeaturedCollectionSection | FeatureGridSection | ImageCardGridSection;
|
|
276
|
+
//# sourceMappingURL=section.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section.types.d.ts","sourceRoot":"","sources":["../../../src/page-content/types/section.types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAKjE,qBACa,yBAAyB;IAEpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBACa,iBAAiB;IAE5B,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,yBAAyB,CAAC;CACrC;AAED,qBACa,mBAAmB;IAE9B,KAAK,CAAC,EAAE,QAAQ,CAAC;IAGjB,SAAS,CAAC,EAAE,QAAQ,CAAC;IAGrB,UAAU,CAAC,EAAE,QAAQ,CAAC;IAGtB,YAAY,CAAC,EAAE,QAAQ,CAAC;IAGxB,KAAK,CAAC,EAAE,QAAQ,CAAC;IAGjB,SAAS,CAAC,EAAE,QAAQ,CAAC;IAGrB,UAAU,CAAC,EAAE,QAAQ,CAAC;IAGtB,YAAY,CAAC,EAAE,QAAQ,CAAC;IAGxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EA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