@rebuy/rebuy 2.2.0-rc.6 → 2.2.0-rc.8
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/dist/index.js +39 -39
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +39 -39
- package/dist/index.mjs.map +2 -2
- package/dist/schema/button.d.ts +36 -36
- package/dist/schema/button.d.ts.map +1 -1
- package/dist/schema/constants.d.ts.map +1 -1
- package/dist/schema/data-source.d.ts +1 -1
- package/dist/schema/data-source.d.ts.map +1 -1
- package/dist/schema/image.d.ts +3 -3
- package/dist/schema/image.d.ts.map +1 -1
- package/dist/schema/layout.d.ts +4 -4
- package/dist/schema/layout.d.ts.map +1 -1
- package/dist/schema/offers.d.ts +5 -5
- package/dist/schema/offers.d.ts.map +1 -1
- package/dist/schema/product.d.ts +21 -23
- package/dist/schema/product.d.ts.map +1 -1
- package/dist/schema/products.d.ts +23 -23
- package/dist/schema/products.d.ts.map +1 -1
- package/dist/schema/quantity.d.ts +2 -2
- package/dist/schema/quantity.d.ts.map +1 -1
- package/dist/schema/reviews.d.ts +1 -1
- package/dist/schema/reviews.d.ts.map +1 -1
- package/dist/schema/root.d.ts +5 -5
- package/dist/schema/root.d.ts.map +1 -1
- package/dist/schema/shared.d.ts +1 -1
- package/dist/schema/shared.d.ts.map +1 -1
- package/dist/schema/subscription.d.ts +1 -1
- package/dist/schema/subscription.d.ts.map +1 -1
- package/dist/schema/table.d.ts +1 -1
- package/dist/schema/table.d.ts.map +1 -1
- package/dist/schema/text.d.ts +43 -43
- package/dist/schema/text.d.ts.map +1 -1
- package/dist/schema/utils.d.ts.map +1 -1
- package/dist/schema/variants.d.ts +1 -1
- package/dist/schema/variants.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schema/button.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
import { type SectionDetails } from './shared';
|
|
3
|
-
export declare const CABButtonContent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
export declare const CABButtonContent: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
4
|
altText: z.ZodDefault<z.ZodString>;
|
|
5
5
|
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
|
|
6
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
6
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
7
7
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
8
8
|
small: "small";
|
|
9
9
|
none: "none";
|
|
@@ -22,7 +22,7 @@ export declare const CABButtonContent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
22
22
|
medium: "medium";
|
|
23
23
|
thick: "thick";
|
|
24
24
|
}>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
26
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
27
27
|
declineAllOffers: "declineAllOffers";
|
|
28
28
|
declineOffer: "declineOffer";
|
|
@@ -59,7 +59,7 @@ export declare const CABButtonContent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
59
59
|
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
60
60
|
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
|
|
61
61
|
width: z.ZodDefault<z.ZodNumber>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
63
63
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
64
64
|
declineAllOffers: "declineAllOffers";
|
|
65
65
|
declineOffer: "declineOffer";
|
|
@@ -82,44 +82,44 @@ export declare const CABButtonContent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
82
82
|
content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
83
83
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
84
84
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
85
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$strip>>;
|
|
86
86
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
87
87
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
88
88
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
89
|
-
}, z.core.$
|
|
89
|
+
}, z.core.$strip>>;
|
|
90
90
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
91
91
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
92
|
type: z.ZodLiteral<"bold">;
|
|
93
|
-
}, z.core.$
|
|
93
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
94
|
type: z.ZodLiteral<"italic">;
|
|
95
|
-
}, z.core.$
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
96
|
attrs: z.ZodObject<{
|
|
97
97
|
class: z.ZodNullable<z.ZodString>;
|
|
98
98
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
99
99
|
rel: z.ZodDefault<z.ZodString>;
|
|
100
100
|
target: z.ZodDefault<z.ZodString>;
|
|
101
|
-
}, z.core.$
|
|
101
|
+
}, z.core.$strip>;
|
|
102
102
|
type: z.ZodLiteral<"link">;
|
|
103
|
-
}, z.core.$
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
104
104
|
type: z.ZodLiteral<"strike">;
|
|
105
|
-
}, z.core.$
|
|
105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
106
106
|
attrs: z.ZodObject<{
|
|
107
107
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
108
108
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
109
|
-
}, z.core.$
|
|
109
|
+
}, z.core.$strip>;
|
|
110
110
|
type: z.ZodLiteral<"textStyle">;
|
|
111
|
-
}, z.core.$
|
|
111
|
+
}, z.core.$strip>]>>>;
|
|
112
112
|
text: z.ZodDefault<z.ZodString>;
|
|
113
113
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
114
|
-
}, z.core.$
|
|
114
|
+
}, z.core.$strip>>>;
|
|
115
115
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
116
|
-
}, z.core.$
|
|
116
|
+
}, z.core.$strip>>>;
|
|
117
117
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
118
|
-
}, z.core.$
|
|
118
|
+
}, z.core.$strip>]>>>>>;
|
|
119
119
|
name: z.ZodOptional<z.ZodString>;
|
|
120
120
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
121
121
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
122
|
-
}, z.core.$
|
|
122
|
+
}, z.core.$strip>]>>;
|
|
123
123
|
export type CABButtonContent = z.infer<typeof CABButtonContent>;
|
|
124
124
|
export declare const CABButtonSection: z.ZodObject<{
|
|
125
125
|
action: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodEnum<{
|
|
@@ -143,13 +143,13 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
143
143
|
color: z.ZodDefault<z.ZodString>;
|
|
144
144
|
height: z.ZodDefault<z.ZodNumber>;
|
|
145
145
|
width: z.ZodDefault<z.ZodNumber>;
|
|
146
|
-
}, z.core.$
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
147
|
name: z.ZodOptional<z.ZodString>;
|
|
148
148
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
149
|
-
sections: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
149
|
+
sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
150
|
altText: z.ZodDefault<z.ZodString>;
|
|
151
151
|
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
|
|
152
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
152
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
153
153
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
154
154
|
small: "small";
|
|
155
155
|
none: "none";
|
|
@@ -168,7 +168,7 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
168
168
|
medium: "medium";
|
|
169
169
|
thick: "thick";
|
|
170
170
|
}>>;
|
|
171
|
-
}, z.core.$
|
|
171
|
+
}, z.core.$strip>>>;
|
|
172
172
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
173
173
|
declineAllOffers: "declineAllOffers";
|
|
174
174
|
declineOffer: "declineOffer";
|
|
@@ -205,7 +205,7 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
205
205
|
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
206
206
|
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
|
|
207
207
|
width: z.ZodDefault<z.ZodNumber>;
|
|
208
|
-
}, z.core.$
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
209
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
210
210
|
declineAllOffers: "declineAllOffers";
|
|
211
211
|
declineOffer: "declineOffer";
|
|
@@ -228,46 +228,46 @@ export declare const CABButtonSection: z.ZodObject<{
|
|
|
228
228
|
content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
229
229
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
230
230
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
231
|
-
}, z.core.$
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
232
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
233
233
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
234
234
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
235
|
-
}, z.core.$
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
236
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
237
237
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
238
238
|
type: z.ZodLiteral<"bold">;
|
|
239
|
-
}, z.core.$
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
240
|
type: z.ZodLiteral<"italic">;
|
|
241
|
-
}, z.core.$
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
242
|
attrs: z.ZodObject<{
|
|
243
243
|
class: z.ZodNullable<z.ZodString>;
|
|
244
244
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
245
245
|
rel: z.ZodDefault<z.ZodString>;
|
|
246
246
|
target: z.ZodDefault<z.ZodString>;
|
|
247
|
-
}, z.core.$
|
|
247
|
+
}, z.core.$strip>;
|
|
248
248
|
type: z.ZodLiteral<"link">;
|
|
249
|
-
}, z.core.$
|
|
249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
250
|
type: z.ZodLiteral<"strike">;
|
|
251
|
-
}, z.core.$
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
252
|
attrs: z.ZodObject<{
|
|
253
253
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
254
254
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
255
|
-
}, z.core.$
|
|
255
|
+
}, z.core.$strip>;
|
|
256
256
|
type: z.ZodLiteral<"textStyle">;
|
|
257
|
-
}, z.core.$
|
|
257
|
+
}, z.core.$strip>]>>>;
|
|
258
258
|
text: z.ZodDefault<z.ZodString>;
|
|
259
259
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
260
|
-
}, z.core.$
|
|
260
|
+
}, z.core.$strip>>>;
|
|
261
261
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
262
|
-
}, z.core.$
|
|
262
|
+
}, z.core.$strip>>>;
|
|
263
263
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
264
|
-
}, z.core.$
|
|
264
|
+
}, z.core.$strip>]>>>>>;
|
|
265
265
|
name: z.ZodOptional<z.ZodString>;
|
|
266
266
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
267
267
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
268
|
-
}, z.core.$
|
|
268
|
+
}, z.core.$strip>]>>>>;
|
|
269
269
|
sectionType: z.ZodDefault<z.ZodLiteral<"button">>;
|
|
270
|
-
}, z.core.$
|
|
270
|
+
}, z.core.$strip>;
|
|
271
271
|
export type CABButtonSection = z.infer<typeof CABButtonSection>;
|
|
272
272
|
export type CABButtonSectionProps = CABButtonSection & SectionDetails;
|
|
273
273
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/schema/button.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/schema/button.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAuF,CAAC;AAErH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/schema/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/schema/constants.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;EAQpB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA+D,CAAC;AAE/F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0Bd,CAAC;AAEX,eAAO,MAAM,WAAW,yfAuBd,CAAC;AAEX,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;EAAsB,CAAC;AAEvC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAAkB,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const CABDataSourceSection: z.ZodObject<{
|
|
|
7
7
|
name: z.ZodDefault<z.ZodString>;
|
|
8
8
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
9
9
|
sectionType: z.ZodDefault<z.ZodLiteral<"dataSource">>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$strip>;
|
|
11
11
|
export type CABDataSourceSection = z.infer<typeof CABDataSourceSection>;
|
|
12
12
|
export type CABDataSourceSectionProps = CABDataSourceSection & SectionDetails;
|
|
13
13
|
//# sourceMappingURL=data-source.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-source.d.ts","sourceRoot":"","sources":["../../src/schema/data-source.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-source.d.ts","sourceRoot":"","sources":["../../src/schema/data-source.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,oBAAoB;;;;;;;iBAO/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,GAAG,cAAc,CAAC"}
|
package/dist/schema/image.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { type SectionDetails } from './shared';
|
|
|
3
3
|
export declare const CABImageSection: z.ZodObject<{
|
|
4
4
|
altText: z.ZodDefault<z.ZodString>;
|
|
5
5
|
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
|
|
6
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
6
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
7
7
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
8
8
|
small: "small";
|
|
9
9
|
none: "none";
|
|
@@ -22,7 +22,7 @@ export declare const CABImageSection: z.ZodObject<{
|
|
|
22
22
|
medium: "medium";
|
|
23
23
|
thick: "thick";
|
|
24
24
|
}>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
26
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
27
27
|
declineAllOffers: "declineAllOffers";
|
|
28
28
|
declineOffer: "declineOffer";
|
|
@@ -59,7 +59,7 @@ export declare const CABImageSection: z.ZodObject<{
|
|
|
59
59
|
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
60
60
|
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
|
|
61
61
|
width: z.ZodDefault<z.ZodNumber>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>;
|
|
63
63
|
export type CABImageSection = z.infer<typeof CABImageSection>;
|
|
64
64
|
export type CABImageSectionProps = CABImageSection & SectionDetails;
|
|
65
65
|
//# sourceMappingURL=image.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/schema/image.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/schema/image.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG,cAAc,CAAC"}
|
package/dist/schema/layout.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export declare const CABLayoutSection: z.ZodObject<{
|
|
|
13
13
|
middle: "middle";
|
|
14
14
|
bottom: "bottom";
|
|
15
15
|
}>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
18
18
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
19
19
|
small: "small";
|
|
20
20
|
none: "none";
|
|
@@ -33,7 +33,7 @@ export declare const CABLayoutSection: z.ZodObject<{
|
|
|
33
33
|
medium: "medium";
|
|
34
34
|
thick: "thick";
|
|
35
35
|
}>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
37
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
38
38
|
columns: "columns";
|
|
39
39
|
rows: "rows";
|
|
@@ -59,7 +59,7 @@ export declare const CABLayoutSection: z.ZodObject<{
|
|
|
59
59
|
extraLoose: "extraLoose";
|
|
60
60
|
}>>;
|
|
61
61
|
width: z.ZodDefault<z.ZodNumber>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>;
|
|
63
63
|
export type CABLayoutSection = {
|
|
64
64
|
alignment: {
|
|
65
65
|
horizontal: HorizontalAlignment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/schema/layout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/schema/layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EACH,SAAS,EAET,mBAAmB,EAGnB,OAAO,EAEP,iBAAiB,EAEpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,SAAS,EAAE;QACP,UAAU,EAAE,mBAAmB,CAAC;QAChC,QAAQ,EAAE,iBAAiB,CAAC;KAC/B,CAAC;IACF,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,WAAW,EAAE,QAAQ,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
package/dist/schema/offers.d.ts
CHANGED
|
@@ -13,9 +13,8 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
13
13
|
middle: "middle";
|
|
14
14
|
bottom: "bottom";
|
|
15
15
|
}>>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
|
|
18
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
19
18
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
20
19
|
small: "small";
|
|
21
20
|
none: "none";
|
|
@@ -34,7 +33,8 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
34
33
|
medium: "medium";
|
|
35
34
|
thick: "thick";
|
|
36
35
|
}>>;
|
|
37
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
width: z.ZodDefault<z.ZodNumber>;
|
|
38
38
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
39
39
|
columns: "columns";
|
|
40
40
|
rows: "rows";
|
|
@@ -59,7 +59,7 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
59
59
|
}>>;
|
|
60
60
|
sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodType<CABSection, unknown, z.core.$ZodTypeInternals<CABSection, unknown>>>>>;
|
|
61
61
|
sectionType: z.ZodDefault<z.ZodLiteral<"offers">>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>;
|
|
63
63
|
export type CABOffersSection = Omit<CABLayoutSection, 'sectionType'> & {
|
|
64
64
|
sectionType: 'offers';
|
|
65
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../src/schema/offers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../src/schema/offers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE3D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO5B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,EAAE,aAAa,CAAC,GAAG;IACnE,WAAW,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,cAAc,CAAC"}
|
package/dist/schema/product.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { type SectionDetails } from './shared';
|
|
|
3
3
|
export declare const CABProductSection: z.ZodObject<{
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6
|
-
/** `name` represents `Color`, `Size`, etc. */
|
|
7
6
|
name: z.ZodString;
|
|
8
7
|
optionId: z.ZodNumber;
|
|
9
8
|
selector: z.ZodDefault<z.ZodEnum<{
|
|
@@ -15,10 +14,10 @@ export declare const CABProductSection: z.ZodObject<{
|
|
|
15
14
|
}>>;
|
|
16
15
|
values: z.ZodArray<z.ZodObject<{
|
|
17
16
|
color: z.ZodOptional<z.ZodString>;
|
|
18
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
image: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
19
18
|
altText: z.ZodDefault<z.ZodString>;
|
|
20
19
|
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
|
|
21
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
20
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
22
21
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
23
22
|
small: "small";
|
|
24
23
|
none: "none";
|
|
@@ -37,7 +36,7 @@ export declare const CABProductSection: z.ZodObject<{
|
|
|
37
36
|
medium: "medium";
|
|
38
37
|
thick: "thick";
|
|
39
38
|
}>>;
|
|
40
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$strip>>>;
|
|
41
40
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
42
41
|
declineAllOffers: "declineAllOffers";
|
|
43
42
|
declineOffer: "declineOffer";
|
|
@@ -74,10 +73,9 @@ export declare const CABProductSection: z.ZodObject<{
|
|
|
74
73
|
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
75
74
|
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
|
|
76
75
|
width: z.ZodDefault<z.ZodNumber>;
|
|
77
|
-
}, z.core.$
|
|
78
|
-
/** `name` represents `Red`, `Blue`, etc. */
|
|
76
|
+
}, z.core.$strip>>>;
|
|
79
77
|
name: z.ZodString;
|
|
80
|
-
text: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
text: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
81
79
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
82
80
|
declineAllOffers: "declineAllOffers";
|
|
83
81
|
declineOffer: "declineOffer";
|
|
@@ -100,50 +98,50 @@ export declare const CABProductSection: z.ZodObject<{
|
|
|
100
98
|
content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
101
99
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
102
100
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
103
|
-
}, z.core.$
|
|
101
|
+
}, z.core.$strip>>;
|
|
104
102
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
105
103
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
106
104
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
107
|
-
}, z.core.$
|
|
105
|
+
}, z.core.$strip>>;
|
|
108
106
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
109
107
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
110
108
|
type: z.ZodLiteral<"bold">;
|
|
111
|
-
}, z.core.$
|
|
109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
112
110
|
type: z.ZodLiteral<"italic">;
|
|
113
|
-
}, z.core.$
|
|
111
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
114
112
|
attrs: z.ZodObject<{
|
|
115
113
|
class: z.ZodNullable<z.ZodString>;
|
|
116
114
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
117
115
|
rel: z.ZodDefault<z.ZodString>;
|
|
118
116
|
target: z.ZodDefault<z.ZodString>;
|
|
119
|
-
}, z.core.$
|
|
117
|
+
}, z.core.$strip>;
|
|
120
118
|
type: z.ZodLiteral<"link">;
|
|
121
|
-
}, z.core.$
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
122
120
|
type: z.ZodLiteral<"strike">;
|
|
123
|
-
}, z.core.$
|
|
121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
124
122
|
attrs: z.ZodObject<{
|
|
125
123
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
126
124
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
127
|
-
}, z.core.$
|
|
125
|
+
}, z.core.$strip>;
|
|
128
126
|
type: z.ZodLiteral<"textStyle">;
|
|
129
|
-
}, z.core.$
|
|
127
|
+
}, z.core.$strip>]>>>;
|
|
130
128
|
text: z.ZodDefault<z.ZodString>;
|
|
131
129
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
132
|
-
}, z.core.$
|
|
130
|
+
}, z.core.$strip>>>;
|
|
133
131
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
134
|
-
}, z.core.$
|
|
132
|
+
}, z.core.$strip>>>;
|
|
135
133
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
136
|
-
}, z.core.$
|
|
134
|
+
}, z.core.$strip>]>>>>>;
|
|
137
135
|
name: z.ZodOptional<z.ZodString>;
|
|
138
136
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
139
137
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
140
|
-
}, z.core.$
|
|
141
|
-
}, z.core.$
|
|
142
|
-
}, z.core.$
|
|
138
|
+
}, z.core.$strip>>>;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
}, z.core.$strip>>>;
|
|
143
141
|
productId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
144
142
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
145
143
|
sectionType: z.ZodDefault<z.ZodLiteral<"product">>;
|
|
146
|
-
}, z.core.$
|
|
144
|
+
}, z.core.$strip>;
|
|
147
145
|
export type CABProductSection = z.infer<typeof CABProductSection>;
|
|
148
146
|
export type CABProductSectionProps = CABProductSection & SectionDetails;
|
|
149
147
|
//# sourceMappingURL=product.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/schema/product.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/schema/product.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwB5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,cAAc,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { type SectionDetails } from './shared';
|
|
|
3
3
|
export declare const CABProductsSection: z.ZodObject<{
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
|
-
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6
|
+
sections: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
7
7
|
name: z.ZodOptional<z.ZodString>;
|
|
8
8
|
options: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9
9
|
name: z.ZodString;
|
|
@@ -17,10 +17,10 @@ export declare const CABProductsSection: z.ZodObject<{
|
|
|
17
17
|
}>>;
|
|
18
18
|
values: z.ZodArray<z.ZodObject<{
|
|
19
19
|
color: z.ZodOptional<z.ZodString>;
|
|
20
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
image: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
21
21
|
altText: z.ZodDefault<z.ZodString>;
|
|
22
22
|
aspectRatio: z.ZodDefault<z.ZodNullable<z.ZodLiteral<1>>>;
|
|
23
|
-
border: z.ZodDefault<z.ZodObject<{
|
|
23
|
+
border: z.ZodLazy<z.ZodDefault<z.ZodObject<{
|
|
24
24
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
25
25
|
small: "small";
|
|
26
26
|
none: "none";
|
|
@@ -39,7 +39,7 @@ export declare const CABProductsSection: z.ZodObject<{
|
|
|
39
39
|
medium: "medium";
|
|
40
40
|
thick: "thick";
|
|
41
41
|
}>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
43
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
44
44
|
declineAllOffers: "declineAllOffers";
|
|
45
45
|
declineOffer: "declineOffer";
|
|
@@ -76,9 +76,9 @@ export declare const CABProductsSection: z.ZodObject<{
|
|
|
76
76
|
sectionType: z.ZodDefault<z.ZodLiteral<"image">>;
|
|
77
77
|
source: z.ZodDefault<z.ZodUnion<readonly [z.ZodURL, z.ZodLiteral<"">, z.ZodString]>>;
|
|
78
78
|
width: z.ZodDefault<z.ZodNumber>;
|
|
79
|
-
}, z.core.$
|
|
79
|
+
}, z.core.$strip>>>;
|
|
80
80
|
name: z.ZodString;
|
|
81
|
-
text: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
text: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
82
82
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
83
83
|
declineAllOffers: "declineAllOffers";
|
|
84
84
|
declineOffer: "declineOffer";
|
|
@@ -101,52 +101,52 @@ export declare const CABProductsSection: z.ZodObject<{
|
|
|
101
101
|
content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
102
102
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
103
103
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
104
|
-
}, z.core.$
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
105
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
106
106
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
107
107
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
108
|
-
}, z.core.$
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
109
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
110
110
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
111
111
|
type: z.ZodLiteral<"bold">;
|
|
112
|
-
}, z.core.$
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
113
|
type: z.ZodLiteral<"italic">;
|
|
114
|
-
}, z.core.$
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
115
|
attrs: z.ZodObject<{
|
|
116
116
|
class: z.ZodNullable<z.ZodString>;
|
|
117
117
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
118
118
|
rel: z.ZodDefault<z.ZodString>;
|
|
119
119
|
target: z.ZodDefault<z.ZodString>;
|
|
120
|
-
}, z.core.$
|
|
120
|
+
}, z.core.$strip>;
|
|
121
121
|
type: z.ZodLiteral<"link">;
|
|
122
|
-
}, z.core.$
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
123
|
type: z.ZodLiteral<"strike">;
|
|
124
|
-
}, z.core.$
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
125
|
attrs: z.ZodObject<{
|
|
126
126
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
127
127
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
128
|
-
}, z.core.$
|
|
128
|
+
}, z.core.$strip>;
|
|
129
129
|
type: z.ZodLiteral<"textStyle">;
|
|
130
|
-
}, z.core.$
|
|
130
|
+
}, z.core.$strip>]>>>;
|
|
131
131
|
text: z.ZodDefault<z.ZodString>;
|
|
132
132
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
133
|
-
}, z.core.$
|
|
133
|
+
}, z.core.$strip>>>;
|
|
134
134
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
135
|
-
}, z.core.$
|
|
135
|
+
}, z.core.$strip>>>;
|
|
136
136
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
137
|
-
}, z.core.$
|
|
137
|
+
}, z.core.$strip>]>>>>>;
|
|
138
138
|
name: z.ZodOptional<z.ZodString>;
|
|
139
139
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
140
140
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
141
|
-
}, z.core.$
|
|
142
|
-
}, z.core.$
|
|
143
|
-
}, z.core.$
|
|
141
|
+
}, z.core.$strip>>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
}, z.core.$strip>>>;
|
|
144
144
|
productId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
145
145
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
146
146
|
sectionType: z.ZodDefault<z.ZodLiteral<"product">>;
|
|
147
|
-
}, z.core.$
|
|
147
|
+
}, z.core.$strip>>>>;
|
|
148
148
|
sectionType: z.ZodDefault<z.ZodLiteral<"products">>;
|
|
149
|
-
}, z.core.$
|
|
149
|
+
}, z.core.$strip>;
|
|
150
150
|
export type CABProductsSection = z.infer<typeof CABProductsSection>;
|
|
151
151
|
export type CABProductsSectionProps = CABProductsSection & SectionDetails;
|
|
152
152
|
//# sourceMappingURL=products.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/schema/products.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/schema/products.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare const CABQuantitySection: z.ZodObject<{
|
|
|
5
5
|
max: z.ZodOptional<z.ZodString>;
|
|
6
6
|
min: z.ZodOptional<z.ZodString>;
|
|
7
7
|
neg: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$strip>>>;
|
|
9
9
|
inputType: z.ZodDefault<z.ZodEnum<{
|
|
10
10
|
number: "number";
|
|
11
11
|
select: "select";
|
|
@@ -15,7 +15,7 @@ export declare const CABQuantitySection: z.ZodObject<{
|
|
|
15
15
|
name: z.ZodOptional<z.ZodString>;
|
|
16
16
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
17
17
|
sectionType: z.ZodDefault<z.ZodLiteral<"quantity">>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$strip>;
|
|
19
19
|
export type CABQuantitySection = z.infer<typeof CABQuantitySection>;
|
|
20
20
|
export type CABQuantitySectionProps = CABQuantitySection & SectionDetails;
|
|
21
21
|
//# sourceMappingURL=quantity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quantity.d.ts","sourceRoot":"","sources":["../../src/schema/quantity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"quantity.d.ts","sourceRoot":"","sources":["../../src/schema/quantity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;iBAuB7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,cAAc,CAAC"}
|
package/dist/schema/reviews.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const CABReviewsSection: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
6
|
sectionType: z.ZodDefault<z.ZodLiteral<"reviews">>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$strip>;
|
|
8
8
|
export type CABReviewsSection = z.infer<typeof CABReviewsSection>;
|
|
9
9
|
export type CABReviewsSectionProps = CABReviewsSection & SectionDetails;
|
|
10
10
|
//# sourceMappingURL=reviews.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../src/schema/reviews.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../src/schema/reviews.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,GAAG,cAAc,CAAC"}
|