@pobuca/email-builder 1.3.3 → 1.4.1

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.
@@ -0,0 +1,822 @@
1
+ export declare const GENERATED_EMAIL_TEMPLATE_SCHEMA: {
2
+ description: string;
3
+ type: string;
4
+ properties: {
5
+ general: {
6
+ $ref: string;
7
+ };
8
+ structures: {
9
+ type: string;
10
+ items: {
11
+ $ref: string;
12
+ };
13
+ };
14
+ customFonts: {
15
+ type: string;
16
+ items: {
17
+ $ref: string;
18
+ };
19
+ };
20
+ };
21
+ additionalProperties: boolean;
22
+ definitions: {
23
+ IGeneralOptions: {
24
+ description: string;
25
+ type: string;
26
+ properties: {
27
+ width: {
28
+ $ref: string;
29
+ };
30
+ background: {
31
+ $ref: string;
32
+ };
33
+ padding: {
34
+ $ref: string;
35
+ };
36
+ direction: {
37
+ $ref: string;
38
+ };
39
+ name: {
40
+ type: string;
41
+ };
42
+ previewText: {
43
+ type: string;
44
+ };
45
+ global: {
46
+ type: string;
47
+ properties: {
48
+ fonts: {
49
+ type: string;
50
+ items: {
51
+ type: string;
52
+ };
53
+ };
54
+ padding: {
55
+ $ref: string;
56
+ };
57
+ };
58
+ additionalProperties: boolean;
59
+ required: string[];
60
+ };
61
+ };
62
+ additionalProperties: boolean;
63
+ required: string[];
64
+ };
65
+ IWidthHeight: {
66
+ description: string;
67
+ type: string;
68
+ properties: {
69
+ value: {
70
+ type: string;
71
+ };
72
+ unit: {
73
+ $ref: string;
74
+ description: string;
75
+ };
76
+ auto: {
77
+ type: string;
78
+ };
79
+ units: {
80
+ type: string;
81
+ items: {
82
+ $ref: string;
83
+ description: string;
84
+ };
85
+ uniqueItems: boolean;
86
+ };
87
+ };
88
+ additionalProperties: boolean;
89
+ required: string[];
90
+ };
91
+ TUnits: {
92
+ description: string;
93
+ enum: string[];
94
+ type: string;
95
+ };
96
+ IBackground: {
97
+ description: string;
98
+ type: string;
99
+ properties: {
100
+ color: {
101
+ type: string;
102
+ };
103
+ url: {
104
+ type: string;
105
+ };
106
+ repeat: {
107
+ $ref: string;
108
+ };
109
+ size: {
110
+ $ref: string;
111
+ };
112
+ };
113
+ additionalProperties: boolean;
114
+ required: string[];
115
+ };
116
+ TBackgroundRepeat: {
117
+ description: string;
118
+ enum: string[];
119
+ type: string;
120
+ };
121
+ IPadding: {
122
+ description: string;
123
+ type: string;
124
+ properties: {
125
+ top: {
126
+ type: string;
127
+ };
128
+ right: {
129
+ type: string;
130
+ };
131
+ bottom: {
132
+ type: string;
133
+ };
134
+ left: {
135
+ type: string;
136
+ };
137
+ };
138
+ additionalProperties: boolean;
139
+ required: string[];
140
+ };
141
+ TDirection: {
142
+ description: string;
143
+ enum: string[];
144
+ type: string;
145
+ };
146
+ IStructure: {
147
+ description: string;
148
+ type: string;
149
+ properties: {
150
+ type: {
151
+ $ref: string;
152
+ };
153
+ id: {
154
+ type: string;
155
+ };
156
+ isModule: {
157
+ description: string;
158
+ type: string;
159
+ };
160
+ options: {
161
+ $ref: string;
162
+ };
163
+ elements: {
164
+ type: string;
165
+ items: {
166
+ type: string;
167
+ items: {
168
+ oneOf: {
169
+ $ref: string;
170
+ }[];
171
+ };
172
+ };
173
+ };
174
+ columns: {
175
+ type: string;
176
+ };
177
+ };
178
+ additionalProperties: boolean;
179
+ required: string[];
180
+ allOf: {
181
+ oneOf: {
182
+ properties: {
183
+ type: {
184
+ const: string;
185
+ };
186
+ columns: {
187
+ const: number;
188
+ };
189
+ elements: {
190
+ minItems: number;
191
+ maxItems: number;
192
+ };
193
+ options: {
194
+ properties: {
195
+ columns: {
196
+ minItems: number;
197
+ maxItems: number;
198
+ };
199
+ columnsWidth: {
200
+ minItems: number;
201
+ maxItems: number;
202
+ };
203
+ };
204
+ };
205
+ };
206
+ }[];
207
+ }[];
208
+ };
209
+ TStructureTypes: {
210
+ description: string;
211
+ enum: string[];
212
+ type: string;
213
+ };
214
+ IStructureOptions: {
215
+ description: string;
216
+ type: string;
217
+ properties: {
218
+ border: {
219
+ $ref: string;
220
+ };
221
+ background: {
222
+ $ref: string;
223
+ };
224
+ padding: {
225
+ $ref: string;
226
+ };
227
+ margin: {
228
+ $ref: string;
229
+ };
230
+ disableResponsive: {
231
+ description: string;
232
+ type: string;
233
+ };
234
+ fullWidth: {
235
+ description: string;
236
+ type: string;
237
+ };
238
+ gaps: {
239
+ description: string;
240
+ type: string;
241
+ items: {
242
+ type: string;
243
+ }[];
244
+ minItems: number;
245
+ maxItems: number;
246
+ };
247
+ columnsWidth: {
248
+ type: string;
249
+ items: {
250
+ type: string;
251
+ exclusiveMinimum: number;
252
+ };
253
+ };
254
+ columns: {
255
+ type: string;
256
+ items: {
257
+ $ref: string;
258
+ };
259
+ };
260
+ };
261
+ additionalProperties: boolean;
262
+ required: string[];
263
+ };
264
+ IBorder: {
265
+ description: string;
266
+ type: string;
267
+ properties: {
268
+ color: {
269
+ type: string;
270
+ };
271
+ style: {
272
+ description: string;
273
+ enum: string[];
274
+ type: string;
275
+ };
276
+ width: {
277
+ description: string;
278
+ type: string;
279
+ };
280
+ radius: {
281
+ description: string;
282
+ type: string;
283
+ };
284
+ };
285
+ additionalProperties: boolean;
286
+ required: string[];
287
+ };
288
+ IMargin: {
289
+ description: string;
290
+ type: string;
291
+ properties: {
292
+ top: {
293
+ type: string;
294
+ };
295
+ bottom: {
296
+ type: string;
297
+ };
298
+ };
299
+ additionalProperties: boolean;
300
+ required: string[];
301
+ };
302
+ IStructureColumnOptions: {
303
+ description: string;
304
+ type: string;
305
+ properties: {
306
+ background: {
307
+ $ref: string;
308
+ };
309
+ border: {
310
+ $ref: string;
311
+ };
312
+ verticalAlign: {
313
+ $ref: string;
314
+ };
315
+ };
316
+ additionalProperties: boolean;
317
+ required: string[];
318
+ };
319
+ TVerticalAlign: {
320
+ description: string;
321
+ enum: string[];
322
+ type: string;
323
+ };
324
+ TextBlock: {
325
+ type: string;
326
+ properties: {
327
+ type: {
328
+ type: string;
329
+ enum: string[];
330
+ };
331
+ icon: {
332
+ type: string;
333
+ enum: string[];
334
+ };
335
+ options: {
336
+ $ref: string;
337
+ };
338
+ title: {
339
+ type: string;
340
+ };
341
+ innerText: {
342
+ type: string;
343
+ };
344
+ state: {
345
+ $ref: string;
346
+ };
347
+ };
348
+ additionalProperties: boolean;
349
+ required: string[];
350
+ };
351
+ ITextBlockOptions: {
352
+ description: string;
353
+ type: string;
354
+ properties: {
355
+ color: {
356
+ type: string;
357
+ };
358
+ font: {
359
+ $ref: string;
360
+ };
361
+ lineHeight: {
362
+ $ref: string;
363
+ };
364
+ padding: {
365
+ $ref: string;
366
+ };
367
+ };
368
+ additionalProperties: boolean;
369
+ required: string[];
370
+ };
371
+ IFont: {
372
+ description: string;
373
+ type: string;
374
+ properties: {
375
+ family: {
376
+ type: string;
377
+ };
378
+ fallback: {
379
+ type: string;
380
+ };
381
+ size: {
382
+ type: string;
383
+ };
384
+ style: {
385
+ $ref: string;
386
+ };
387
+ weight: {
388
+ description: string;
389
+ anyOf: ({
390
+ enum: string[];
391
+ type: string;
392
+ } | {
393
+ type: string;
394
+ enum?: undefined;
395
+ })[];
396
+ };
397
+ };
398
+ additionalProperties: boolean;
399
+ required: string[];
400
+ };
401
+ TFontStyle: {
402
+ description: string;
403
+ enum: string[];
404
+ type: string;
405
+ };
406
+ ILineHeight: {
407
+ description: string;
408
+ type: string;
409
+ properties: {
410
+ value: {
411
+ type: string;
412
+ };
413
+ unit: {
414
+ $ref: string;
415
+ };
416
+ };
417
+ additionalProperties: boolean;
418
+ required: string[];
419
+ };
420
+ TLineHeight: {
421
+ description: string;
422
+ enum: string[];
423
+ type: string;
424
+ };
425
+ IBlockState: {
426
+ description: string;
427
+ type: string;
428
+ properties: {
429
+ disabled: {
430
+ type: string;
431
+ };
432
+ message: {
433
+ description: string;
434
+ type: string;
435
+ };
436
+ };
437
+ additionalProperties: boolean;
438
+ required: string[];
439
+ };
440
+ ImageBlock: {
441
+ type: string;
442
+ properties: {
443
+ type: {
444
+ type: string;
445
+ enum: string[];
446
+ };
447
+ icon: {
448
+ type: string;
449
+ enum: string[];
450
+ };
451
+ options: {
452
+ $ref: string;
453
+ };
454
+ title: {
455
+ type: string;
456
+ };
457
+ src: {
458
+ type: string;
459
+ };
460
+ state: {
461
+ $ref: string;
462
+ };
463
+ };
464
+ additionalProperties: boolean;
465
+ required: string[];
466
+ };
467
+ IImageBLockOptions: {
468
+ description: string;
469
+ type: string;
470
+ properties: {
471
+ border: {
472
+ $ref: string;
473
+ };
474
+ width: {
475
+ $ref: string;
476
+ };
477
+ height: {
478
+ $ref: string;
479
+ };
480
+ link: {
481
+ $ref: string;
482
+ };
483
+ align: {
484
+ $ref: string;
485
+ };
486
+ title: {
487
+ type: string;
488
+ };
489
+ padding: {
490
+ $ref: string;
491
+ };
492
+ };
493
+ additionalProperties: boolean;
494
+ required: string[];
495
+ };
496
+ ILink: {
497
+ description: string;
498
+ type: string;
499
+ properties: {
500
+ href: {
501
+ type: string;
502
+ };
503
+ target: {
504
+ $ref: string;
505
+ };
506
+ };
507
+ additionalProperties: boolean;
508
+ required: string[];
509
+ };
510
+ TLinkTarget: {
511
+ description: string;
512
+ enum: string[];
513
+ type: string;
514
+ };
515
+ TAlign: {
516
+ description: string;
517
+ enum: string[];
518
+ type: string;
519
+ };
520
+ VideoBlock: {
521
+ type: string;
522
+ properties: {
523
+ type: {
524
+ type: string;
525
+ enum: string[];
526
+ };
527
+ icon: {
528
+ type: string;
529
+ enum: string[];
530
+ };
531
+ options: {
532
+ $ref: string;
533
+ };
534
+ title: {
535
+ type: string;
536
+ };
537
+ src: {
538
+ type: string;
539
+ };
540
+ posterSrc: {
541
+ type: string;
542
+ };
543
+ state: {
544
+ $ref: string;
545
+ };
546
+ };
547
+ additionalProperties: boolean;
548
+ required: string[];
549
+ };
550
+ IVideoBlockOptions: {
551
+ description: string;
552
+ type: string;
553
+ properties: {
554
+ border: {
555
+ $ref: string;
556
+ };
557
+ width: {
558
+ $ref: string;
559
+ };
560
+ height: {
561
+ $ref: string;
562
+ };
563
+ link: {
564
+ $ref: string;
565
+ };
566
+ align: {
567
+ $ref: string;
568
+ };
569
+ title: {
570
+ type: string;
571
+ };
572
+ padding: {
573
+ $ref: string;
574
+ };
575
+ };
576
+ additionalProperties: boolean;
577
+ required: string[];
578
+ };
579
+ ButtonBlock: {
580
+ type: string;
581
+ properties: {
582
+ type: {
583
+ type: string;
584
+ enum: string[];
585
+ };
586
+ icon: {
587
+ type: string;
588
+ enum: string[];
589
+ };
590
+ options: {
591
+ $ref: string;
592
+ };
593
+ title: {
594
+ type: string;
595
+ };
596
+ innerText: {
597
+ type: string;
598
+ };
599
+ state: {
600
+ $ref: string;
601
+ };
602
+ };
603
+ additionalProperties: boolean;
604
+ required: string[];
605
+ };
606
+ IButtonBlockOptions: {
607
+ description: string;
608
+ type: string;
609
+ properties: {
610
+ backgroundColor: {
611
+ type: string;
612
+ };
613
+ border: {
614
+ $ref: string;
615
+ };
616
+ color: {
617
+ type: string;
618
+ };
619
+ font: {
620
+ $ref: string;
621
+ };
622
+ align: {
623
+ $ref: string;
624
+ };
625
+ fullWidth: {
626
+ type: string;
627
+ };
628
+ lineHeight: {
629
+ $ref: string;
630
+ };
631
+ link: {
632
+ $ref: string;
633
+ };
634
+ innerPadding: {
635
+ $ref: string;
636
+ };
637
+ padding: {
638
+ $ref: string;
639
+ };
640
+ };
641
+ additionalProperties: boolean;
642
+ required: string[];
643
+ };
644
+ DividerBlock: {
645
+ type: string;
646
+ properties: {
647
+ type: {
648
+ type: string;
649
+ enum: string[];
650
+ };
651
+ icon: {
652
+ type: string;
653
+ enum: string[];
654
+ };
655
+ options: {
656
+ $ref: string;
657
+ };
658
+ title: {
659
+ type: string;
660
+ };
661
+ state: {
662
+ $ref: string;
663
+ };
664
+ };
665
+ additionalProperties: boolean;
666
+ required: string[];
667
+ };
668
+ IDividerBlockOptions: {
669
+ description: string;
670
+ type: string;
671
+ properties: {
672
+ border: {
673
+ $ref: string;
674
+ };
675
+ padding: {
676
+ $ref: string;
677
+ };
678
+ };
679
+ additionalProperties: boolean;
680
+ required: string[];
681
+ };
682
+ SpacerBlock: {
683
+ type: string;
684
+ properties: {
685
+ type: {
686
+ type: string;
687
+ enum: string[];
688
+ };
689
+ icon: {
690
+ type: string;
691
+ enum: string[];
692
+ };
693
+ title: {
694
+ type: string;
695
+ };
696
+ options: {
697
+ $ref: string;
698
+ };
699
+ state: {
700
+ $ref: string;
701
+ };
702
+ };
703
+ additionalProperties: boolean;
704
+ required: string[];
705
+ };
706
+ ISpacerBlockOptions: {
707
+ description: string;
708
+ type: string;
709
+ properties: {
710
+ height: {
711
+ $ref: string;
712
+ };
713
+ width: {
714
+ $ref: string;
715
+ };
716
+ };
717
+ additionalProperties: boolean;
718
+ required: string[];
719
+ };
720
+ SocialBlock: {
721
+ type: string;
722
+ properties: {
723
+ type: {
724
+ type: string;
725
+ enum: string[];
726
+ };
727
+ icon: {
728
+ type: string;
729
+ enum: string[];
730
+ };
731
+ title: {
732
+ type: string;
733
+ };
734
+ options: {
735
+ $ref: string;
736
+ };
737
+ networks: {
738
+ type: string;
739
+ items: {
740
+ $ref: string;
741
+ };
742
+ };
743
+ state: {
744
+ $ref: string;
745
+ };
746
+ };
747
+ additionalProperties: boolean;
748
+ required: string[];
749
+ };
750
+ ISocialBlockOptions: {
751
+ description: string;
752
+ type: string;
753
+ properties: {
754
+ align: {
755
+ $ref: string;
756
+ };
757
+ mode: {
758
+ enum: string[];
759
+ type: string;
760
+ };
761
+ font: {
762
+ $ref: string;
763
+ };
764
+ iconSize: {
765
+ $ref: string;
766
+ };
767
+ lineHeight: {
768
+ $ref: string;
769
+ };
770
+ color: {
771
+ type: string;
772
+ };
773
+ innerPadding: {
774
+ $ref: string;
775
+ };
776
+ padding: {
777
+ $ref: string;
778
+ };
779
+ };
780
+ additionalProperties: boolean;
781
+ required: string[];
782
+ };
783
+ ISocialNetwork: {
784
+ description: string;
785
+ type: string;
786
+ properties: {
787
+ href: {
788
+ type: string;
789
+ };
790
+ label: {
791
+ type: string;
792
+ };
793
+ name: {
794
+ enum: string[];
795
+ type: string;
796
+ };
797
+ padding: {
798
+ $ref: string;
799
+ };
800
+ };
801
+ additionalProperties: boolean;
802
+ required: string[];
803
+ };
804
+ ICustomFont: {
805
+ description: string;
806
+ type: string;
807
+ properties: {
808
+ family: {
809
+ type: string;
810
+ };
811
+ url: {
812
+ type: string;
813
+ };
814
+ };
815
+ additionalProperties: boolean;
816
+ required: string[];
817
+ };
818
+ };
819
+ $schema: string;
820
+ title: string;
821
+ required: string[];
822
+ };