@rebuy/rebuy 2.2.0-rc.6 → 2.2.0-rc.7
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 +33 -33
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +33 -33
- package/dist/index.mjs.map +2 -2
- package/dist/schema/button.d.ts +32 -32
- package/dist/schema/button.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 +2 -2
- package/dist/schema/image.d.ts.map +1 -1
- package/dist/schema/layout.d.ts +3 -3
- package/dist/schema/layout.d.ts.map +1 -1
- package/dist/schema/offers.d.ts +15 -15
- package/dist/schema/offers.d.ts.map +1 -1
- package/dist/schema/product.d.ts +18 -20
- package/dist/schema/product.d.ts.map +1 -1
- package/dist/schema/products.d.ts +19 -19
- 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 +4 -4
- 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/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
|
@@ -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,7 +143,7 @@ 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
149
|
sections: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/schema/button.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAK3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAyE,CAAC;AAEvG,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"}
|
|
@@ -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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,oBAAoB;;;;;;;
|
|
1
|
+
{"version":3,"file":"data-source.d.ts","sourceRoot":"","sources":["../../src/schema/data-source.ts"],"names":[],"mappings":"AAGA,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
|
@@ -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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/schema/image.ts"],"names":[],"mappings":"AAGA,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,7 +13,7 @@ export declare const CABLayoutSection: z.ZodObject<{
|
|
|
13
13
|
middle: "middle";
|
|
14
14
|
bottom: "bottom";
|
|
15
15
|
}>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
17
|
border: z.ZodDefault<z.ZodObject<{
|
|
18
18
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
19
19
|
small: "small";
|
|
@@ -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":"AAGA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/schema/layout.ts"],"names":[],"mappings":"AAGA,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
|
@@ -2,19 +2,6 @@ import { z } from 'zod/v4';
|
|
|
2
2
|
import { CABLayoutSection } from './layout';
|
|
3
3
|
import { CABSection, type SectionDetails } from './shared';
|
|
4
4
|
export declare const CABOffersSection: z.ZodObject<{
|
|
5
|
-
alignment: z.ZodDefault<z.ZodObject<{
|
|
6
|
-
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
start: "start";
|
|
8
|
-
center: "center";
|
|
9
|
-
end: "end";
|
|
10
|
-
}>>;
|
|
11
|
-
vertical: z.ZodDefault<z.ZodEnum<{
|
|
12
|
-
top: "top";
|
|
13
|
-
middle: "middle";
|
|
14
|
-
bottom: "bottom";
|
|
15
|
-
}>>;
|
|
16
|
-
}, z.core.$strict>>;
|
|
17
|
-
width: z.ZodDefault<z.ZodNumber>;
|
|
18
5
|
border: z.ZodDefault<z.ZodObject<{
|
|
19
6
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
20
7
|
small: "small";
|
|
@@ -34,7 +21,20 @@ export declare const CABOffersSection: z.ZodObject<{
|
|
|
34
21
|
medium: "medium";
|
|
35
22
|
thick: "thick";
|
|
36
23
|
}>>;
|
|
37
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
alignment: z.ZodDefault<z.ZodObject<{
|
|
26
|
+
horizontal: z.ZodDefault<z.ZodEnum<{
|
|
27
|
+
start: "start";
|
|
28
|
+
center: "center";
|
|
29
|
+
end: "end";
|
|
30
|
+
}>>;
|
|
31
|
+
vertical: z.ZodDefault<z.ZodEnum<{
|
|
32
|
+
top: "top";
|
|
33
|
+
middle: "middle";
|
|
34
|
+
bottom: "bottom";
|
|
35
|
+
}>>;
|
|
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":"AAEA,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"offers.d.ts","sourceRoot":"","sources":["../../src/schema/offers.ts"],"names":[],"mappings":"AAEA,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<{
|
|
@@ -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,8 +73,7 @@ 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
78
|
text: z.ZodOptional<z.ZodObject<{
|
|
81
79
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
@@ -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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAG/C,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../src/schema/product.ts"],"names":[],"mappings":"AAGA,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"}
|
|
@@ -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,7 +76,7 @@ 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
81
|
text: z.ZodOptional<z.ZodObject<{
|
|
82
82
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
@@ -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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAI3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../src/schema/products.ts"],"names":[],"mappings":"AAGA,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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"quantity.d.ts","sourceRoot":"","sources":["../../src/schema/quantity.ts"],"names":[],"mappings":"AAGA,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":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,iBAAiB;;;;
|
|
1
|
+
{"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../src/schema/reviews.ts"],"names":[],"mappings":"AAGA,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"}
|
package/dist/schema/root.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
21
21
|
middle: "middle";
|
|
22
22
|
bottom: "bottom";
|
|
23
23
|
}>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
25
|
border: z.ZodDefault<z.ZodObject<{
|
|
26
26
|
radius: z.ZodDefault<z.ZodEnum<{
|
|
27
27
|
small: "small";
|
|
@@ -41,7 +41,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
41
41
|
medium: "medium";
|
|
42
42
|
thick: "thick";
|
|
43
43
|
}>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
45
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
46
46
|
columns: "columns";
|
|
47
47
|
rows: "rows";
|
|
@@ -87,7 +87,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
87
87
|
icon: z.ZodString;
|
|
88
88
|
label: z.ZodString;
|
|
89
89
|
width: z.ZodString;
|
|
90
|
-
}, z.core.$
|
|
90
|
+
}, z.core.$strip>>>;
|
|
91
91
|
type: z.ZodDefault<z.ZodEnum<{
|
|
92
92
|
product: "product";
|
|
93
93
|
bundle_builder: "bundle_builder";
|
|
@@ -114,7 +114,7 @@ export declare const CABRootSection: z.ZodObject<{
|
|
|
114
114
|
}>>;
|
|
115
115
|
version: z.ZodDefault<z.ZodLiteral<2>>;
|
|
116
116
|
widgetId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
117
|
-
}, z.core.$
|
|
117
|
+
}, z.core.$strip>;
|
|
118
118
|
export type CABRootSection = CABLayoutSection & {
|
|
119
119
|
editorMode: EditorMode;
|
|
120
120
|
previewMode: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/schema/root.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;AACnD,OAAO,EAAe,UAAU,EAAe,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,MAAM,MAAM,UAAU,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/schema/root.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;AACnD,OAAO,EAAe,UAAU,EAAe,MAAM,aAAa,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,MAAM,MAAM,UAAU,GAAG;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAU1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAC5C,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC"}
|
package/dist/schema/shared.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const CABBorder: z.ZodDefault<z.ZodObject<{
|
|
|
33
33
|
medium: "medium";
|
|
34
34
|
thick: "thick";
|
|
35
35
|
}>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
37
|
export type CABBorder = z.infer<typeof CABBorder>;
|
|
38
38
|
export declare const CABSection: ZodType<CABSection>;
|
|
39
39
|
export type CABSection = CABButtonSection | CABDataSourceSection | CABImageSection | CABLayoutSection | CABOffersSection | CABProductSection | CABProductsSection | CABQuantitySection | CABReviewsSection | CABSubscriptionSection | CABTableSection | CABTextSection | CABVariantsSection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/schema/shared.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/schema/shared.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,CAAC,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;kBAUhB,CAAC;AAEP,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,UAAU,CAgB1C,CAAC;AAEF,MAAM,MAAM,UAAU,GAChB,gBAAgB,GAChB,oBAAoB,GACpB,eAAe,GACf,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,GACjB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,sBAAsB,GACtB,eAAe,GACf,cAAc,GACd,kBAAkB,CAAC;AAEzB,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;AAGhD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,GAAG,gBAAgB,IAAI,MAAM,EAAE,GAAG,IAAI,CAAC;AAEvE,MAAM,MAAM,cAAc,GAAG;IACzB;;;;;OAKG;IACH,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC;;;;;OAKG;IACH,UAAU,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,cAAc,CAAC"}
|
|
@@ -4,7 +4,7 @@ export declare const CABSubscriptionSection: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
6
|
sectionType: z.ZodDefault<z.ZodLiteral<"subscription">>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$strip>;
|
|
8
8
|
export type CABSubscriptionSection = z.infer<typeof CABSubscriptionSection>;
|
|
9
9
|
export type CABSubscriptionSectionProps = CABSubscriptionSection & SectionDetails;
|
|
10
10
|
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/schema/subscription.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,sBAAsB;;;;
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../src/schema/subscription.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG,cAAc,CAAC"}
|