@kontakto/email-template-editor 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1162,10 +1162,13 @@ declare const HeadingPropsSchema: z.ZodObject<{
1162
1162
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1163
1163
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1164
1164
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
1165
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1165
1166
  }, "strip", z.ZodTypeAny, {
1167
+ markdown?: boolean | null | undefined;
1166
1168
  text?: string | null | undefined;
1167
1169
  level?: "h1" | "h2" | "h3" | null | undefined;
1168
1170
  }, {
1171
+ markdown?: boolean | null | undefined;
1169
1172
  text?: string | null | undefined;
1170
1173
  level?: "h1" | "h2" | "h3" | null | undefined;
1171
1174
  }>>>;
@@ -1239,6 +1242,7 @@ declare const HeadingPropsSchema: z.ZodObject<{
1239
1242
  } | null | undefined;
1240
1243
  } | null | undefined;
1241
1244
  props?: {
1245
+ markdown?: boolean | null | undefined;
1242
1246
  text?: string | null | undefined;
1243
1247
  level?: "h1" | "h2" | "h3" | null | undefined;
1244
1248
  } | null | undefined;
@@ -1259,6 +1263,7 @@ declare const HeadingPropsSchema: z.ZodObject<{
1259
1263
  } | null | undefined;
1260
1264
  } | null | undefined;
1261
1265
  props?: {
1266
+ markdown?: boolean | null | undefined;
1262
1267
  text?: string | null | undefined;
1263
1268
  level?: "h1" | "h2" | "h3" | null | undefined;
1264
1269
  } | null | undefined;
@@ -1268,10 +1273,13 @@ declare const HeadingProps: z.ZodObject<{
1268
1273
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1269
1274
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1270
1275
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
1276
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1271
1277
  }, "strip", z.ZodTypeAny, {
1278
+ markdown?: boolean | null | undefined;
1272
1279
  text?: string | null | undefined;
1273
1280
  level?: "h1" | "h2" | "h3" | null | undefined;
1274
1281
  }, {
1282
+ markdown?: boolean | null | undefined;
1275
1283
  text?: string | null | undefined;
1276
1284
  level?: "h1" | "h2" | "h3" | null | undefined;
1277
1285
  }>>>;
@@ -1345,6 +1353,7 @@ declare const HeadingProps: z.ZodObject<{
1345
1353
  } | null | undefined;
1346
1354
  } | null | undefined;
1347
1355
  props?: {
1356
+ markdown?: boolean | null | undefined;
1348
1357
  text?: string | null | undefined;
1349
1358
  level?: "h1" | "h2" | "h3" | null | undefined;
1350
1359
  } | null | undefined;
@@ -1365,6 +1374,7 @@ declare const HeadingProps: z.ZodObject<{
1365
1374
  } | null | undefined;
1366
1375
  } | null | undefined;
1367
1376
  props?: {
1377
+ markdown?: boolean | null | undefined;
1368
1378
  text?: string | null | undefined;
1369
1379
  level?: "h1" | "h2" | "h3" | null | undefined;
1370
1380
  } | null | undefined;
@@ -2723,10 +2733,13 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2723
2733
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2724
2734
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2725
2735
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
2736
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2726
2737
  }, "strip", z.ZodTypeAny, {
2738
+ markdown?: boolean | null | undefined;
2727
2739
  text?: string | null | undefined;
2728
2740
  level?: "h1" | "h2" | "h3" | null | undefined;
2729
2741
  }, {
2742
+ markdown?: boolean | null | undefined;
2730
2743
  text?: string | null | undefined;
2731
2744
  level?: "h1" | "h2" | "h3" | null | undefined;
2732
2745
  }>>>;
@@ -2800,6 +2813,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2800
2813
  } | null | undefined;
2801
2814
  } | null | undefined;
2802
2815
  props?: {
2816
+ markdown?: boolean | null | undefined;
2803
2817
  text?: string | null | undefined;
2804
2818
  level?: "h1" | "h2" | "h3" | null | undefined;
2805
2819
  } | null | undefined;
@@ -2820,6 +2834,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2820
2834
  } | null | undefined;
2821
2835
  } | null | undefined;
2822
2836
  props?: {
2837
+ markdown?: boolean | null | undefined;
2823
2838
  text?: string | null | undefined;
2824
2839
  level?: "h1" | "h2" | "h3" | null | undefined;
2825
2840
  } | null | undefined;
@@ -3849,10 +3864,13 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3849
3864
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3850
3865
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3851
3866
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
3867
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3852
3868
  }, "strip", z.ZodTypeAny, {
3869
+ markdown?: boolean | null | undefined;
3853
3870
  text?: string | null | undefined;
3854
3871
  level?: "h1" | "h2" | "h3" | null | undefined;
3855
3872
  }, {
3873
+ markdown?: boolean | null | undefined;
3856
3874
  text?: string | null | undefined;
3857
3875
  level?: "h1" | "h2" | "h3" | null | undefined;
3858
3876
  }>>>;
@@ -3926,6 +3944,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3926
3944
  } | null | undefined;
3927
3945
  } | null | undefined;
3928
3946
  props?: {
3947
+ markdown?: boolean | null | undefined;
3929
3948
  text?: string | null | undefined;
3930
3949
  level?: "h1" | "h2" | "h3" | null | undefined;
3931
3950
  } | null | undefined;
@@ -3946,6 +3965,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3946
3965
  } | null | undefined;
3947
3966
  } | null | undefined;
3948
3967
  props?: {
3968
+ markdown?: boolean | null | undefined;
3949
3969
  text?: string | null | undefined;
3950
3970
  level?: "h1" | "h2" | "h3" | null | undefined;
3951
3971
  } | null | undefined;
@@ -5186,10 +5206,13 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5186
5206
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5187
5207
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5188
5208
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
5209
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5189
5210
  }, "strip", z.ZodTypeAny, {
5211
+ markdown?: boolean | null | undefined;
5190
5212
  text?: string | null | undefined;
5191
5213
  level?: "h1" | "h2" | "h3" | null | undefined;
5192
5214
  }, {
5215
+ markdown?: boolean | null | undefined;
5193
5216
  text?: string | null | undefined;
5194
5217
  level?: "h1" | "h2" | "h3" | null | undefined;
5195
5218
  }>>>;
@@ -5263,6 +5286,7 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5263
5286
  } | null | undefined;
5264
5287
  } | null | undefined;
5265
5288
  props?: {
5289
+ markdown?: boolean | null | undefined;
5266
5290
  text?: string | null | undefined;
5267
5291
  level?: "h1" | "h2" | "h3" | null | undefined;
5268
5292
  } | null | undefined;
@@ -5283,6 +5307,7 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5283
5307
  } | null | undefined;
5284
5308
  } | null | undefined;
5285
5309
  props?: {
5310
+ markdown?: boolean | null | undefined;
5286
5311
  text?: string | null | undefined;
5287
5312
  level?: "h1" | "h2" | "h3" | null | undefined;
5288
5313
  } | null | undefined;
package/dist/index.d.ts CHANGED
@@ -1162,10 +1162,13 @@ declare const HeadingPropsSchema: z.ZodObject<{
1162
1162
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1163
1163
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1164
1164
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
1165
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1165
1166
  }, "strip", z.ZodTypeAny, {
1167
+ markdown?: boolean | null | undefined;
1166
1168
  text?: string | null | undefined;
1167
1169
  level?: "h1" | "h2" | "h3" | null | undefined;
1168
1170
  }, {
1171
+ markdown?: boolean | null | undefined;
1169
1172
  text?: string | null | undefined;
1170
1173
  level?: "h1" | "h2" | "h3" | null | undefined;
1171
1174
  }>>>;
@@ -1239,6 +1242,7 @@ declare const HeadingPropsSchema: z.ZodObject<{
1239
1242
  } | null | undefined;
1240
1243
  } | null | undefined;
1241
1244
  props?: {
1245
+ markdown?: boolean | null | undefined;
1242
1246
  text?: string | null | undefined;
1243
1247
  level?: "h1" | "h2" | "h3" | null | undefined;
1244
1248
  } | null | undefined;
@@ -1259,6 +1263,7 @@ declare const HeadingPropsSchema: z.ZodObject<{
1259
1263
  } | null | undefined;
1260
1264
  } | null | undefined;
1261
1265
  props?: {
1266
+ markdown?: boolean | null | undefined;
1262
1267
  text?: string | null | undefined;
1263
1268
  level?: "h1" | "h2" | "h3" | null | undefined;
1264
1269
  } | null | undefined;
@@ -1268,10 +1273,13 @@ declare const HeadingProps: z.ZodObject<{
1268
1273
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1269
1274
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1270
1275
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
1276
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1271
1277
  }, "strip", z.ZodTypeAny, {
1278
+ markdown?: boolean | null | undefined;
1272
1279
  text?: string | null | undefined;
1273
1280
  level?: "h1" | "h2" | "h3" | null | undefined;
1274
1281
  }, {
1282
+ markdown?: boolean | null | undefined;
1275
1283
  text?: string | null | undefined;
1276
1284
  level?: "h1" | "h2" | "h3" | null | undefined;
1277
1285
  }>>>;
@@ -1345,6 +1353,7 @@ declare const HeadingProps: z.ZodObject<{
1345
1353
  } | null | undefined;
1346
1354
  } | null | undefined;
1347
1355
  props?: {
1356
+ markdown?: boolean | null | undefined;
1348
1357
  text?: string | null | undefined;
1349
1358
  level?: "h1" | "h2" | "h3" | null | undefined;
1350
1359
  } | null | undefined;
@@ -1365,6 +1374,7 @@ declare const HeadingProps: z.ZodObject<{
1365
1374
  } | null | undefined;
1366
1375
  } | null | undefined;
1367
1376
  props?: {
1377
+ markdown?: boolean | null | undefined;
1368
1378
  text?: string | null | undefined;
1369
1379
  level?: "h1" | "h2" | "h3" | null | undefined;
1370
1380
  } | null | undefined;
@@ -2723,10 +2733,13 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2723
2733
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2724
2734
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2725
2735
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
2736
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2726
2737
  }, "strip", z.ZodTypeAny, {
2738
+ markdown?: boolean | null | undefined;
2727
2739
  text?: string | null | undefined;
2728
2740
  level?: "h1" | "h2" | "h3" | null | undefined;
2729
2741
  }, {
2742
+ markdown?: boolean | null | undefined;
2730
2743
  text?: string | null | undefined;
2731
2744
  level?: "h1" | "h2" | "h3" | null | undefined;
2732
2745
  }>>>;
@@ -2800,6 +2813,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2800
2813
  } | null | undefined;
2801
2814
  } | null | undefined;
2802
2815
  props?: {
2816
+ markdown?: boolean | null | undefined;
2803
2817
  text?: string | null | undefined;
2804
2818
  level?: "h1" | "h2" | "h3" | null | undefined;
2805
2819
  } | null | undefined;
@@ -2820,6 +2834,7 @@ declare const ReaderBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
2820
2834
  } | null | undefined;
2821
2835
  } | null | undefined;
2822
2836
  props?: {
2837
+ markdown?: boolean | null | undefined;
2823
2838
  text?: string | null | undefined;
2824
2839
  level?: "h1" | "h2" | "h3" | null | undefined;
2825
2840
  } | null | undefined;
@@ -3849,10 +3864,13 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3849
3864
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3850
3865
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3851
3866
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
3867
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3852
3868
  }, "strip", z.ZodTypeAny, {
3869
+ markdown?: boolean | null | undefined;
3853
3870
  text?: string | null | undefined;
3854
3871
  level?: "h1" | "h2" | "h3" | null | undefined;
3855
3872
  }, {
3873
+ markdown?: boolean | null | undefined;
3856
3874
  text?: string | null | undefined;
3857
3875
  level?: "h1" | "h2" | "h3" | null | undefined;
3858
3876
  }>>>;
@@ -3926,6 +3944,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3926
3944
  } | null | undefined;
3927
3945
  } | null | undefined;
3928
3946
  props?: {
3947
+ markdown?: boolean | null | undefined;
3929
3948
  text?: string | null | undefined;
3930
3949
  level?: "h1" | "h2" | "h3" | null | undefined;
3931
3950
  } | null | undefined;
@@ -3946,6 +3965,7 @@ declare const ReaderDocumentSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodD
3946
3965
  } | null | undefined;
3947
3966
  } | null | undefined;
3948
3967
  props?: {
3968
+ markdown?: boolean | null | undefined;
3949
3969
  text?: string | null | undefined;
3950
3970
  level?: "h1" | "h2" | "h3" | null | undefined;
3951
3971
  } | null | undefined;
@@ -5186,10 +5206,13 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5186
5206
  props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5187
5207
  text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5188
5208
  level: z.ZodNullable<z.ZodOptional<z.ZodEnum<["h1", "h2", "h3"]>>>;
5209
+ markdown: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5189
5210
  }, "strip", z.ZodTypeAny, {
5211
+ markdown?: boolean | null | undefined;
5190
5212
  text?: string | null | undefined;
5191
5213
  level?: "h1" | "h2" | "h3" | null | undefined;
5192
5214
  }, {
5215
+ markdown?: boolean | null | undefined;
5193
5216
  text?: string | null | undefined;
5194
5217
  level?: "h1" | "h2" | "h3" | null | undefined;
5195
5218
  }>>>;
@@ -5263,6 +5286,7 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5263
5286
  } | null | undefined;
5264
5287
  } | null | undefined;
5265
5288
  props?: {
5289
+ markdown?: boolean | null | undefined;
5266
5290
  text?: string | null | undefined;
5267
5291
  level?: "h1" | "h2" | "h3" | null | undefined;
5268
5292
  } | null | undefined;
@@ -5283,6 +5307,7 @@ declare const EditorBlockSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"type", an
5283
5307
  } | null | undefined;
5284
5308
  } | null | undefined;
5285
5309
  props?: {
5310
+ markdown?: boolean | null | undefined;
5286
5311
  text?: string | null | undefined;
5287
5312
  level?: "h1" | "h2" | "h3" | null | undefined;
5288
5313
  } | null | undefined;