@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/table.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const CABTableSection: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
6
6
|
sectionType: z.ZodDefault<z.ZodLiteral<"table">>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$strip>;
|
|
8
8
|
export type CABTableSection = z.infer<typeof CABTableSection>;
|
|
9
9
|
export type CABTableSectionProps = CABTableSection & SectionDetails;
|
|
10
10
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/schema/table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/schema/table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,eAAe;;;;iBAI1B,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/text.d.ts
CHANGED
|
@@ -3,98 +3,98 @@ import { type SectionDetails } from './shared';
|
|
|
3
3
|
export declare const TiptapText: z.ZodObject<{
|
|
4
4
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
5
|
type: z.ZodLiteral<"bold">;
|
|
6
|
-
}, z.core.$
|
|
6
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
type: z.ZodLiteral<"italic">;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
9
|
attrs: z.ZodObject<{
|
|
10
10
|
class: z.ZodNullable<z.ZodString>;
|
|
11
11
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
12
12
|
rel: z.ZodDefault<z.ZodString>;
|
|
13
13
|
target: z.ZodDefault<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$strip>;
|
|
15
15
|
type: z.ZodLiteral<"link">;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17
17
|
type: z.ZodLiteral<"strike">;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
19
|
attrs: z.ZodObject<{
|
|
20
20
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
21
21
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$strip>;
|
|
23
23
|
type: z.ZodLiteral<"textStyle">;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$strip>]>>>;
|
|
25
25
|
text: z.ZodDefault<z.ZodString>;
|
|
26
26
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$strip>;
|
|
28
28
|
export type TiptapText = z.infer<typeof TiptapText>;
|
|
29
29
|
export declare const TiptapParagraph: z.ZodObject<{
|
|
30
30
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
31
31
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
33
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
34
34
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
35
|
type: z.ZodLiteral<"bold">;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
37
|
type: z.ZodLiteral<"italic">;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
39
|
attrs: z.ZodObject<{
|
|
40
40
|
class: z.ZodNullable<z.ZodString>;
|
|
41
41
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
42
42
|
rel: z.ZodDefault<z.ZodString>;
|
|
43
43
|
target: z.ZodDefault<z.ZodString>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$strip>;
|
|
45
45
|
type: z.ZodLiteral<"link">;
|
|
46
|
-
}, z.core.$
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
47
|
type: z.ZodLiteral<"strike">;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
49
49
|
attrs: z.ZodObject<{
|
|
50
50
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
51
51
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
52
|
-
}, z.core.$
|
|
52
|
+
}, z.core.$strip>;
|
|
53
53
|
type: z.ZodLiteral<"textStyle">;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$strip>]>>>;
|
|
55
55
|
text: z.ZodDefault<z.ZodString>;
|
|
56
56
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$strip>>>;
|
|
58
58
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$strip>;
|
|
60
60
|
export type TiptapParagraph = z.infer<typeof TiptapParagraph>;
|
|
61
61
|
export declare const TiptapDocument: z.ZodObject<{
|
|
62
62
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
63
63
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
65
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
66
66
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
67
67
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
68
|
-
}, z.core.$
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
69
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
70
70
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
71
71
|
type: z.ZodLiteral<"bold">;
|
|
72
|
-
}, z.core.$
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
73
|
type: z.ZodLiteral<"italic">;
|
|
74
|
-
}, z.core.$
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
75
|
attrs: z.ZodObject<{
|
|
76
76
|
class: z.ZodNullable<z.ZodString>;
|
|
77
77
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
78
78
|
rel: z.ZodDefault<z.ZodString>;
|
|
79
79
|
target: z.ZodDefault<z.ZodString>;
|
|
80
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$strip>;
|
|
81
81
|
type: z.ZodLiteral<"link">;
|
|
82
|
-
}, z.core.$
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
83
|
type: z.ZodLiteral<"strike">;
|
|
84
|
-
}, z.core.$
|
|
84
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
attrs: z.ZodObject<{
|
|
86
86
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
87
87
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
88
|
-
}, z.core.$
|
|
88
|
+
}, z.core.$strip>;
|
|
89
89
|
type: z.ZodLiteral<"textStyle">;
|
|
90
|
-
}, z.core.$
|
|
90
|
+
}, z.core.$strip>]>>>;
|
|
91
91
|
text: z.ZodDefault<z.ZodString>;
|
|
92
92
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
93
|
-
}, z.core.$
|
|
93
|
+
}, z.core.$strip>>>;
|
|
94
94
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
95
|
-
}, z.core.$
|
|
95
|
+
}, z.core.$strip>>>;
|
|
96
96
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
97
|
-
}, z.core.$
|
|
97
|
+
}, z.core.$strip>;
|
|
98
98
|
export type TiptapDocument = z.infer<typeof TiptapDocument>;
|
|
99
99
|
export declare const CABTextSection: z.ZodObject<{
|
|
100
100
|
buttonField: z.ZodOptional<z.ZodEnum<{
|
|
@@ -119,44 +119,44 @@ export declare const CABTextSection: z.ZodObject<{
|
|
|
119
119
|
content: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
120
120
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
121
121
|
blockSpacing: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"none" | "base" | "extraTight" | "tight" | "loose" | "extraLoose" | undefined, string>>>;
|
|
122
|
-
}, z.core.$
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
123
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
124
124
|
attrs: z.ZodDefault<z.ZodObject<{
|
|
125
125
|
textAlign: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"start" | "center" | "end" | undefined, string>>>;
|
|
126
|
-
}, z.core.$
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
127
|
content: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
128
128
|
marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
129
|
type: z.ZodLiteral<"bold">;
|
|
130
|
-
}, z.core.$
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
131
|
type: z.ZodLiteral<"italic">;
|
|
132
|
-
}, z.core.$
|
|
132
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
133
|
attrs: z.ZodObject<{
|
|
134
134
|
class: z.ZodNullable<z.ZodString>;
|
|
135
135
|
href: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
|
|
136
136
|
rel: z.ZodDefault<z.ZodString>;
|
|
137
137
|
target: z.ZodDefault<z.ZodString>;
|
|
138
|
-
}, z.core.$
|
|
138
|
+
}, z.core.$strip>;
|
|
139
139
|
type: z.ZodLiteral<"link">;
|
|
140
|
-
}, z.core.$
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
141
|
type: z.ZodLiteral<"strike">;
|
|
142
|
-
}, z.core.$
|
|
142
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
143
143
|
attrs: z.ZodObject<{
|
|
144
144
|
color: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"base" | "subdued" | "accent" | "decorative" | "success" | "warning" | "critical" | undefined, string>>>>;
|
|
145
145
|
fontSize: z.ZodDefault<z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"small" | "base" | "large" | "medium" | "extraSmall" | "extraLarge" | undefined, string>>>>;
|
|
146
|
-
}, z.core.$
|
|
146
|
+
}, z.core.$strip>;
|
|
147
147
|
type: z.ZodLiteral<"textStyle">;
|
|
148
|
-
}, z.core.$
|
|
148
|
+
}, z.core.$strip>]>>>;
|
|
149
149
|
text: z.ZodDefault<z.ZodString>;
|
|
150
150
|
type: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
151
|
-
}, z.core.$
|
|
151
|
+
}, z.core.$strip>>>;
|
|
152
152
|
type: z.ZodDefault<z.ZodLiteral<"paragraph">>;
|
|
153
|
-
}, z.core.$
|
|
153
|
+
}, z.core.$strip>>>;
|
|
154
154
|
type: z.ZodDefault<z.ZodLiteral<"doc">>;
|
|
155
|
-
}, z.core.$
|
|
155
|
+
}, z.core.$strip>]>>>>>;
|
|
156
156
|
name: z.ZodOptional<z.ZodString>;
|
|
157
157
|
sectionId: z.ZodDefault<z.ZodUUID>;
|
|
158
158
|
sectionType: z.ZodDefault<z.ZodLiteral<"text">>;
|
|
159
|
-
}, z.core.$
|
|
159
|
+
}, z.core.$strip>;
|
|
160
160
|
export type CABTextSection = z.infer<typeof CABTextSection>;
|
|
161
161
|
export type CABTextSectionProps = CABTextSection & SectionDetails;
|
|
162
162
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/schema/text.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/schema/text.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAgB3B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAS/C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;iBA4BrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA6BrB,CAAC;AAEP,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,cAAc,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const CABVariantsSection: z.ZodObject<{
|
|
|
11
11
|
radio: "radio";
|
|
12
12
|
color: "color";
|
|
13
13
|
}>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$strip>;
|
|
15
15
|
export type CABVariantsSection = z.infer<typeof CABVariantsSection>;
|
|
16
16
|
export type CABVariantsSectionProps = CABVariantsSection & SectionDetails;
|
|
17
17
|
//# sourceMappingURL=variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/schema/variants.ts"],"names":[],"mappings":"AAIA,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":"variants.d.ts","sourceRoot":"","sources":["../../src/schema/variants.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,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"}
|