monto-email-core 0.0.2 → 0.0.3
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/Reader/core.d.ts +24 -80
- package/dist/Reader/core.d.ts.map +1 -1
- package/dist/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +10 -38
- package/dist/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts.map +1 -1
- package/dist/blocks/ColumnsContainer/ColumnsContainerPropsSchema.js +1 -5
- package/dist/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +2 -2
- package/package.json +1 -1
package/dist/Reader/core.d.ts
CHANGED
|
@@ -38,49 +38,29 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
38
38
|
} | null | undefined;
|
|
39
39
|
}>>>;
|
|
40
40
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
41
|
-
columns: z.
|
|
41
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
42
42
|
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
43
43
|
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
childrenIds: string[];
|
|
45
45
|
}, {
|
|
46
46
|
childrenIds: string[];
|
|
47
|
-
}>,
|
|
48
|
-
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
childrenIds: string[];
|
|
51
|
-
}, {
|
|
52
|
-
childrenIds: string[];
|
|
53
|
-
}>, z.ZodObject<{
|
|
54
|
-
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
55
|
-
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
childrenIds: string[];
|
|
57
|
-
}, {
|
|
58
|
-
childrenIds: string[];
|
|
59
|
-
}>], null>;
|
|
47
|
+
}>, "many">;
|
|
60
48
|
fixedWidths: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodOptional<z.ZodNullable<z.ZodNumber>>], null>>>;
|
|
61
49
|
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>>;
|
|
62
50
|
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
63
51
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>>;
|
|
64
52
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
columns:
|
|
66
|
-
childrenIds: string[];
|
|
67
|
-
}, {
|
|
53
|
+
columns: {
|
|
68
54
|
childrenIds: string[];
|
|
69
|
-
}
|
|
70
|
-
childrenIds: string[];
|
|
71
|
-
}];
|
|
55
|
+
}[];
|
|
72
56
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
73
57
|
columnsCount?: 2 | 3 | null | undefined;
|
|
74
58
|
columnsGap?: number | null | undefined;
|
|
75
59
|
contentAlignment?: "top" | "middle" | "bottom" | null | undefined;
|
|
76
60
|
}, {
|
|
77
|
-
columns:
|
|
78
|
-
childrenIds: string[];
|
|
79
|
-
}, {
|
|
80
|
-
childrenIds: string[];
|
|
81
|
-
}, {
|
|
61
|
+
columns: {
|
|
82
62
|
childrenIds: string[];
|
|
83
|
-
}];
|
|
63
|
+
}[];
|
|
84
64
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
85
65
|
columnsCount?: 2 | 3 | null | undefined;
|
|
86
66
|
columnsGap?: number | null | undefined;
|
|
@@ -97,13 +77,9 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
97
77
|
} | null | undefined;
|
|
98
78
|
} | null | undefined;
|
|
99
79
|
props?: {
|
|
100
|
-
columns:
|
|
101
|
-
childrenIds: string[];
|
|
102
|
-
}, {
|
|
103
|
-
childrenIds: string[];
|
|
104
|
-
}, {
|
|
80
|
+
columns: {
|
|
105
81
|
childrenIds: string[];
|
|
106
|
-
}];
|
|
82
|
+
}[];
|
|
107
83
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
108
84
|
columnsCount?: 2 | 3 | null | undefined;
|
|
109
85
|
columnsGap?: number | null | undefined;
|
|
@@ -120,13 +96,9 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
120
96
|
} | null | undefined;
|
|
121
97
|
} | null | undefined;
|
|
122
98
|
props?: {
|
|
123
|
-
columns:
|
|
99
|
+
columns: {
|
|
124
100
|
childrenIds: string[];
|
|
125
|
-
}
|
|
126
|
-
childrenIds: string[];
|
|
127
|
-
}, {
|
|
128
|
-
childrenIds: string[];
|
|
129
|
-
}];
|
|
101
|
+
}[];
|
|
130
102
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
131
103
|
columnsCount?: 2 | 3 | null | undefined;
|
|
132
104
|
columnsGap?: number | null | undefined;
|
|
@@ -222,21 +194,21 @@ export declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"ty
|
|
|
222
194
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
223
195
|
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
224
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
childrenIds?: string[] | null | undefined;
|
|
225
198
|
backdropColor?: string | null | undefined;
|
|
226
199
|
borderColor?: string | null | undefined;
|
|
227
200
|
borderRadius?: number | null | undefined;
|
|
228
201
|
canvasColor?: string | null | undefined;
|
|
229
202
|
textColor?: string | null | undefined;
|
|
230
203
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
231
|
-
childrenIds?: string[] | null | undefined;
|
|
232
204
|
}, {
|
|
205
|
+
childrenIds?: string[] | null | undefined;
|
|
233
206
|
backdropColor?: string | null | undefined;
|
|
234
207
|
borderColor?: string | null | undefined;
|
|
235
208
|
borderRadius?: number | null | undefined;
|
|
236
209
|
canvasColor?: string | null | undefined;
|
|
237
210
|
textColor?: string | null | undefined;
|
|
238
211
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
239
|
-
childrenIds?: string[] | null | undefined;
|
|
240
212
|
}>;
|
|
241
213
|
Avatar: z.ZodObject<{
|
|
242
214
|
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1080,49 +1052,29 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
|
|
|
1080
1052
|
} | null | undefined;
|
|
1081
1053
|
}>>>;
|
|
1082
1054
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1083
|
-
columns: z.
|
|
1055
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1084
1056
|
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
1085
1057
|
}, "strip", z.ZodTypeAny, {
|
|
1086
1058
|
childrenIds: string[];
|
|
1087
1059
|
}, {
|
|
1088
1060
|
childrenIds: string[];
|
|
1089
|
-
}>,
|
|
1090
|
-
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
1091
|
-
}, "strip", z.ZodTypeAny, {
|
|
1092
|
-
childrenIds: string[];
|
|
1093
|
-
}, {
|
|
1094
|
-
childrenIds: string[];
|
|
1095
|
-
}>, z.ZodObject<{
|
|
1096
|
-
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
1097
|
-
}, "strip", z.ZodTypeAny, {
|
|
1098
|
-
childrenIds: string[];
|
|
1099
|
-
}, {
|
|
1100
|
-
childrenIds: string[];
|
|
1101
|
-
}>], null>;
|
|
1061
|
+
}>, "many">;
|
|
1102
1062
|
fixedWidths: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodOptional<z.ZodNullable<z.ZodNumber>>], null>>>;
|
|
1103
1063
|
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>>;
|
|
1104
1064
|
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1105
1065
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>>;
|
|
1106
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1107
|
-
columns:
|
|
1108
|
-
childrenIds: string[];
|
|
1109
|
-
}, {
|
|
1067
|
+
columns: {
|
|
1110
1068
|
childrenIds: string[];
|
|
1111
|
-
}
|
|
1112
|
-
childrenIds: string[];
|
|
1113
|
-
}];
|
|
1069
|
+
}[];
|
|
1114
1070
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
1115
1071
|
columnsCount?: 2 | 3 | null | undefined;
|
|
1116
1072
|
columnsGap?: number | null | undefined;
|
|
1117
1073
|
contentAlignment?: "top" | "middle" | "bottom" | null | undefined;
|
|
1118
1074
|
}, {
|
|
1119
|
-
columns:
|
|
1120
|
-
childrenIds: string[];
|
|
1121
|
-
}, {
|
|
1122
|
-
childrenIds: string[];
|
|
1123
|
-
}, {
|
|
1075
|
+
columns: {
|
|
1124
1076
|
childrenIds: string[];
|
|
1125
|
-
}];
|
|
1077
|
+
}[];
|
|
1126
1078
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
1127
1079
|
columnsCount?: 2 | 3 | null | undefined;
|
|
1128
1080
|
columnsGap?: number | null | undefined;
|
|
@@ -1139,13 +1091,9 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
|
|
|
1139
1091
|
} | null | undefined;
|
|
1140
1092
|
} | null | undefined;
|
|
1141
1093
|
props?: {
|
|
1142
|
-
columns:
|
|
1143
|
-
childrenIds: string[];
|
|
1144
|
-
}, {
|
|
1145
|
-
childrenIds: string[];
|
|
1146
|
-
}, {
|
|
1094
|
+
columns: {
|
|
1147
1095
|
childrenIds: string[];
|
|
1148
|
-
}];
|
|
1096
|
+
}[];
|
|
1149
1097
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
1150
1098
|
columnsCount?: 2 | 3 | null | undefined;
|
|
1151
1099
|
columnsGap?: number | null | undefined;
|
|
@@ -1162,13 +1110,9 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
|
|
|
1162
1110
|
} | null | undefined;
|
|
1163
1111
|
} | null | undefined;
|
|
1164
1112
|
props?: {
|
|
1165
|
-
columns:
|
|
1113
|
+
columns: {
|
|
1166
1114
|
childrenIds: string[];
|
|
1167
|
-
}
|
|
1168
|
-
childrenIds: string[];
|
|
1169
|
-
}, {
|
|
1170
|
-
childrenIds: string[];
|
|
1171
|
-
}];
|
|
1115
|
+
}[];
|
|
1172
1116
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
1173
1117
|
columnsCount?: 2 | 3 | null | undefined;
|
|
1174
1118
|
columnsGap?: number | null | undefined;
|
|
@@ -1264,21 +1208,21 @@ export declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects
|
|
|
1264
1208
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
1265
1209
|
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1266
1210
|
}, "strip", z.ZodTypeAny, {
|
|
1211
|
+
childrenIds?: string[] | null | undefined;
|
|
1267
1212
|
backdropColor?: string | null | undefined;
|
|
1268
1213
|
borderColor?: string | null | undefined;
|
|
1269
1214
|
borderRadius?: number | null | undefined;
|
|
1270
1215
|
canvasColor?: string | null | undefined;
|
|
1271
1216
|
textColor?: string | null | undefined;
|
|
1272
1217
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1273
|
-
childrenIds?: string[] | null | undefined;
|
|
1274
1218
|
}, {
|
|
1219
|
+
childrenIds?: string[] | null | undefined;
|
|
1275
1220
|
backdropColor?: string | null | undefined;
|
|
1276
1221
|
borderColor?: string | null | undefined;
|
|
1277
1222
|
borderRadius?: number | null | undefined;
|
|
1278
1223
|
canvasColor?: string | null | undefined;
|
|
1279
1224
|
textColor?: string | null | undefined;
|
|
1280
1225
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
1281
|
-
childrenIds?: string[] | null | undefined;
|
|
1282
1226
|
}>;
|
|
1283
1227
|
Avatar: z.ZodObject<{
|
|
1284
1228
|
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/Reader/core.tsx"],"names":[],"mappings":"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;4BAAqD,CAAC;oBAAkE,CAAC;oBAA6C,CAAC;gBAA0C,CAAC;iBAA2C,CAAC;oBAA8C,CAAC;;;SAtBvkC,CAAC;AAC5E,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAI3D,MAAM,MAAM,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/C,wBAAgB,WAAW,CAAC,EAAE,EAAE,EAAE,EAAE,iBAAiB,qBAGpD;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;IAC5D,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,YAAY,qBAMrE"}
|
|
@@ -36,49 +36,29 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
36
36
|
} | null | undefined;
|
|
37
37
|
}>>>;
|
|
38
38
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
39
|
-
columns: z.
|
|
39
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
40
40
|
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
childrenIds: string[];
|
|
43
43
|
}, {
|
|
44
44
|
childrenIds: string[];
|
|
45
|
-
}>,
|
|
46
|
-
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
47
|
-
}, "strip", z.ZodTypeAny, {
|
|
48
|
-
childrenIds: string[];
|
|
49
|
-
}, {
|
|
50
|
-
childrenIds: string[];
|
|
51
|
-
}>, z.ZodObject<{
|
|
52
|
-
childrenIds: z.ZodArray<z.ZodString, "many">;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
childrenIds: string[];
|
|
55
|
-
}, {
|
|
56
|
-
childrenIds: string[];
|
|
57
|
-
}>], null>;
|
|
45
|
+
}>, "many">;
|
|
58
46
|
fixedWidths: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodOptional<z.ZodNullable<z.ZodNumber>>, z.ZodOptional<z.ZodNullable<z.ZodNumber>>], null>>>;
|
|
59
47
|
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>>;
|
|
60
48
|
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
61
49
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<["top", "middle", "bottom"]>>>;
|
|
62
50
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
columns:
|
|
64
|
-
childrenIds: string[];
|
|
65
|
-
}, {
|
|
66
|
-
childrenIds: string[];
|
|
67
|
-
}, {
|
|
51
|
+
columns: {
|
|
68
52
|
childrenIds: string[];
|
|
69
|
-
}];
|
|
53
|
+
}[];
|
|
70
54
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
71
55
|
columnsCount?: 2 | 3 | null | undefined;
|
|
72
56
|
columnsGap?: number | null | undefined;
|
|
73
57
|
contentAlignment?: "top" | "middle" | "bottom" | null | undefined;
|
|
74
58
|
}, {
|
|
75
|
-
columns:
|
|
76
|
-
childrenIds: string[];
|
|
77
|
-
}, {
|
|
59
|
+
columns: {
|
|
78
60
|
childrenIds: string[];
|
|
79
|
-
}
|
|
80
|
-
childrenIds: string[];
|
|
81
|
-
}];
|
|
61
|
+
}[];
|
|
82
62
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
83
63
|
columnsCount?: 2 | 3 | null | undefined;
|
|
84
64
|
columnsGap?: number | null | undefined;
|
|
@@ -95,13 +75,9 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
95
75
|
} | null | undefined;
|
|
96
76
|
} | null | undefined;
|
|
97
77
|
props?: {
|
|
98
|
-
columns:
|
|
99
|
-
childrenIds: string[];
|
|
100
|
-
}, {
|
|
78
|
+
columns: {
|
|
101
79
|
childrenIds: string[];
|
|
102
|
-
}
|
|
103
|
-
childrenIds: string[];
|
|
104
|
-
}];
|
|
80
|
+
}[];
|
|
105
81
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
106
82
|
columnsCount?: 2 | 3 | null | undefined;
|
|
107
83
|
columnsGap?: number | null | undefined;
|
|
@@ -118,13 +94,9 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
118
94
|
} | null | undefined;
|
|
119
95
|
} | null | undefined;
|
|
120
96
|
props?: {
|
|
121
|
-
columns:
|
|
122
|
-
childrenIds: string[];
|
|
123
|
-
}, {
|
|
124
|
-
childrenIds: string[];
|
|
125
|
-
}, {
|
|
97
|
+
columns: {
|
|
126
98
|
childrenIds: string[];
|
|
127
|
-
}];
|
|
99
|
+
}[];
|
|
128
100
|
fixedWidths?: [number | null | undefined, number | null | undefined, number | null | undefined] | null | undefined;
|
|
129
101
|
columnsCount?: 2 | 3 | null | undefined;
|
|
130
102
|
columnsGap?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnsContainerPropsSchema.d.ts","sourceRoot":"","sources":["../../../src/blocks/ColumnsContainer/ColumnsContainerPropsSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,QAAA,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"ColumnsContainerPropsSchema.d.ts","sourceRoot":"","sources":["../../../src/blocks/ColumnsContainer/ColumnsContainerPropsSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW/B,CAAC;AAEH,eAAe,2BAA2B,CAAC;AAC3C,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -4,11 +4,7 @@ const BasePropsShape = BaseColumnsContainerPropsSchema.shape.props.unwrap().unwr
|
|
|
4
4
|
const ColumnsContainerPropsSchema = z.object({
|
|
5
5
|
style: BaseColumnsContainerPropsSchema.shape.style,
|
|
6
6
|
props: z
|
|
7
|
-
.object(Object.assign(Object.assign({}, BasePropsShape), { columns: z.
|
|
8
|
-
z.object({ childrenIds: z.array(z.string()) }),
|
|
9
|
-
z.object({ childrenIds: z.array(z.string()) }),
|
|
10
|
-
z.object({ childrenIds: z.array(z.string()) }),
|
|
11
|
-
]) }))
|
|
7
|
+
.object(Object.assign(Object.assign({}, BasePropsShape), { columns: z.array(z.object({ childrenIds: z.array(z.string()) })) }))
|
|
12
8
|
.optional()
|
|
13
9
|
.nullable(),
|
|
14
10
|
});
|
|
@@ -8,21 +8,21 @@ export declare const EmailLayoutPropsSchema: z.ZodObject<{
|
|
|
8
8
|
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MODERN_SANS", "BOOK_SANS", "ORGANIC_SANS", "GEOMETRIC_SANS", "HEAVY_SANS", "ROUNDED_SANS", "MODERN_SERIF", "BOOK_SERIF", "MONOSPACE"]>>>;
|
|
9
9
|
childrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
childrenIds?: string[] | null | undefined;
|
|
11
12
|
backdropColor?: string | null | undefined;
|
|
12
13
|
borderColor?: string | null | undefined;
|
|
13
14
|
borderRadius?: number | null | undefined;
|
|
14
15
|
canvasColor?: string | null | undefined;
|
|
15
16
|
textColor?: string | null | undefined;
|
|
16
17
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
17
|
-
childrenIds?: string[] | null | undefined;
|
|
18
18
|
}, {
|
|
19
|
+
childrenIds?: string[] | null | undefined;
|
|
19
20
|
backdropColor?: string | null | undefined;
|
|
20
21
|
borderColor?: string | null | undefined;
|
|
21
22
|
borderRadius?: number | null | undefined;
|
|
22
23
|
canvasColor?: string | null | undefined;
|
|
23
24
|
textColor?: string | null | undefined;
|
|
24
25
|
fontFamily?: "MODERN_SANS" | "BOOK_SANS" | "ORGANIC_SANS" | "GEOMETRIC_SANS" | "HEAVY_SANS" | "ROUNDED_SANS" | "MODERN_SERIF" | "BOOK_SERIF" | "MONOSPACE" | null | undefined;
|
|
25
|
-
childrenIds?: string[] | null | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
export type EmailLayoutProps = z.infer<typeof EmailLayoutPropsSchema>;
|
|
28
28
|
//# sourceMappingURL=EmailLayoutPropsSchema.d.ts.map
|