@encatch/schema 1.1.0-beta.14 → 1.1.0-beta.15
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.
|
@@ -28,6 +28,7 @@ export declare const videoAttachmentSchema: z.ZodObject<{
|
|
|
28
28
|
properties: z.ZodOptional<z.ZodObject<{
|
|
29
29
|
description: z.ZodOptional<z.ZodString>;
|
|
30
30
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
31
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
31
32
|
}, z.core.$strip>>;
|
|
32
33
|
}, z.core.$strip>;
|
|
33
34
|
export declare const colorAttachmentSchema: z.ZodObject<{
|
|
@@ -62,6 +63,7 @@ export declare const layoutAttachmentSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
62
63
|
properties: z.ZodOptional<z.ZodObject<{
|
|
63
64
|
description: z.ZodOptional<z.ZodString>;
|
|
64
65
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
66
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
65
67
|
}, z.core.$strip>>;
|
|
66
68
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
69
|
type: z.ZodLiteral<"color">;
|
|
@@ -82,6 +84,11 @@ export declare const LayoutAttachmentTypes: {
|
|
|
82
84
|
*/
|
|
83
85
|
export declare const stackLayoutSchema: z.ZodObject<{
|
|
84
86
|
type: z.ZodLiteral<"stack">;
|
|
87
|
+
align: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
88
|
+
left: "left";
|
|
89
|
+
center: "center";
|
|
90
|
+
cover: "cover";
|
|
91
|
+
}>>>;
|
|
85
92
|
attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
86
93
|
type: z.ZodLiteral<"image">;
|
|
87
94
|
href: z.ZodString;
|
|
@@ -106,6 +113,7 @@ export declare const stackLayoutSchema: z.ZodObject<{
|
|
|
106
113
|
properties: z.ZodOptional<z.ZodObject<{
|
|
107
114
|
description: z.ZodOptional<z.ZodString>;
|
|
108
115
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
116
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
109
117
|
}, z.core.$strip>>;
|
|
110
118
|
}, z.core.$strip>, z.ZodObject<{
|
|
111
119
|
type: z.ZodLiteral<"color">;
|
|
@@ -149,6 +157,7 @@ export declare const floatLayoutSchema: z.ZodObject<{
|
|
|
149
157
|
properties: z.ZodOptional<z.ZodObject<{
|
|
150
158
|
description: z.ZodOptional<z.ZodString>;
|
|
151
159
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
160
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
152
161
|
}, z.core.$strip>>;
|
|
153
162
|
}, z.core.$strip>, z.ZodObject<{
|
|
154
163
|
type: z.ZodLiteral<"color">;
|
|
@@ -191,6 +200,7 @@ export declare const splitLayoutSchema: z.ZodObject<{
|
|
|
191
200
|
properties: z.ZodOptional<z.ZodObject<{
|
|
192
201
|
description: z.ZodOptional<z.ZodString>;
|
|
193
202
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
203
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
194
204
|
}, z.core.$strip>>;
|
|
195
205
|
}, z.core.$strip>, z.ZodObject<{
|
|
196
206
|
type: z.ZodLiteral<"color">;
|
|
@@ -230,6 +240,7 @@ export declare const wallpaperLayoutSchema: z.ZodObject<{
|
|
|
230
240
|
properties: z.ZodOptional<z.ZodObject<{
|
|
231
241
|
description: z.ZodOptional<z.ZodString>;
|
|
232
242
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
243
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
233
244
|
}, z.core.$strip>>;
|
|
234
245
|
}, z.core.$strip>, z.ZodObject<{
|
|
235
246
|
type: z.ZodLiteral<"color">;
|
|
@@ -241,6 +252,11 @@ export declare const wallpaperLayoutSchema: z.ZodObject<{
|
|
|
241
252
|
}, z.core.$strip>;
|
|
242
253
|
export declare const sectionLayoutVariantSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
243
254
|
type: z.ZodLiteral<"stack">;
|
|
255
|
+
align: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
256
|
+
left: "left";
|
|
257
|
+
center: "center";
|
|
258
|
+
cover: "cover";
|
|
259
|
+
}>>>;
|
|
244
260
|
attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
245
261
|
type: z.ZodLiteral<"image">;
|
|
246
262
|
href: z.ZodString;
|
|
@@ -265,6 +281,7 @@ export declare const sectionLayoutVariantSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
265
281
|
properties: z.ZodOptional<z.ZodObject<{
|
|
266
282
|
description: z.ZodOptional<z.ZodString>;
|
|
267
283
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
284
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
268
285
|
}, z.core.$strip>>;
|
|
269
286
|
}, z.core.$strip>, z.ZodObject<{
|
|
270
287
|
type: z.ZodLiteral<"color">;
|
|
@@ -303,6 +320,7 @@ export declare const sectionLayoutVariantSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
303
320
|
properties: z.ZodOptional<z.ZodObject<{
|
|
304
321
|
description: z.ZodOptional<z.ZodString>;
|
|
305
322
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
323
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
306
324
|
}, z.core.$strip>>;
|
|
307
325
|
}, z.core.$strip>, z.ZodObject<{
|
|
308
326
|
type: z.ZodLiteral<"color">;
|
|
@@ -341,6 +359,7 @@ export declare const sectionLayoutVariantSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
341
359
|
properties: z.ZodOptional<z.ZodObject<{
|
|
342
360
|
description: z.ZodOptional<z.ZodString>;
|
|
343
361
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
362
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
344
363
|
}, z.core.$strip>>;
|
|
345
364
|
}, z.core.$strip>, z.ZodObject<{
|
|
346
365
|
type: z.ZodLiteral<"color">;
|
|
@@ -375,6 +394,7 @@ export declare const sectionLayoutVariantSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
375
394
|
properties: z.ZodOptional<z.ZodObject<{
|
|
376
395
|
description: z.ZodOptional<z.ZodString>;
|
|
377
396
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
397
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
378
398
|
}, z.core.$strip>>;
|
|
379
399
|
}, z.core.$strip>, z.ZodObject<{
|
|
380
400
|
type: z.ZodLiteral<"color">;
|
|
@@ -423,6 +443,7 @@ export declare const layoutSurfaceSchema: z.ZodObject<{
|
|
|
423
443
|
properties: z.ZodOptional<z.ZodObject<{
|
|
424
444
|
description: z.ZodOptional<z.ZodString>;
|
|
425
445
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
446
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
426
447
|
}, z.core.$strip>>;
|
|
427
448
|
}, z.core.$strip>, z.ZodObject<{
|
|
428
449
|
type: z.ZodLiteral<"color">;
|
|
@@ -433,6 +454,11 @@ export declare const layoutSurfaceSchema: z.ZodObject<{
|
|
|
433
454
|
}, z.core.$strip>], "type">>;
|
|
434
455
|
layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
435
456
|
type: z.ZodLiteral<"stack">;
|
|
457
|
+
align: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
458
|
+
left: "left";
|
|
459
|
+
center: "center";
|
|
460
|
+
cover: "cover";
|
|
461
|
+
}>>>;
|
|
436
462
|
attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
437
463
|
type: z.ZodLiteral<"image">;
|
|
438
464
|
href: z.ZodString;
|
|
@@ -457,6 +483,7 @@ export declare const layoutSurfaceSchema: z.ZodObject<{
|
|
|
457
483
|
properties: z.ZodOptional<z.ZodObject<{
|
|
458
484
|
description: z.ZodOptional<z.ZodString>;
|
|
459
485
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
486
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
460
487
|
}, z.core.$strip>>;
|
|
461
488
|
}, z.core.$strip>, z.ZodObject<{
|
|
462
489
|
type: z.ZodLiteral<"color">;
|
|
@@ -495,6 +522,7 @@ export declare const layoutSurfaceSchema: z.ZodObject<{
|
|
|
495
522
|
properties: z.ZodOptional<z.ZodObject<{
|
|
496
523
|
description: z.ZodOptional<z.ZodString>;
|
|
497
524
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
525
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
498
526
|
}, z.core.$strip>>;
|
|
499
527
|
}, z.core.$strip>, z.ZodObject<{
|
|
500
528
|
type: z.ZodLiteral<"color">;
|
|
@@ -533,6 +561,7 @@ export declare const layoutSurfaceSchema: z.ZodObject<{
|
|
|
533
561
|
properties: z.ZodOptional<z.ZodObject<{
|
|
534
562
|
description: z.ZodOptional<z.ZodString>;
|
|
535
563
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
564
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
536
565
|
}, z.core.$strip>>;
|
|
537
566
|
}, z.core.$strip>, z.ZodObject<{
|
|
538
567
|
type: z.ZodLiteral<"color">;
|
|
@@ -567,6 +596,7 @@ export declare const layoutSurfaceSchema: z.ZodObject<{
|
|
|
567
596
|
properties: z.ZodOptional<z.ZodObject<{
|
|
568
597
|
description: z.ZodOptional<z.ZodString>;
|
|
569
598
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
599
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
570
600
|
}, z.core.$strip>>;
|
|
571
601
|
}, z.core.$strip>, z.ZodObject<{
|
|
572
602
|
type: z.ZodLiteral<"color">;
|
|
@@ -613,6 +643,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
613
643
|
properties: z.ZodOptional<z.ZodObject<{
|
|
614
644
|
description: z.ZodOptional<z.ZodString>;
|
|
615
645
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
646
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
616
647
|
}, z.core.$strip>>;
|
|
617
648
|
}, z.core.$strip>, z.ZodObject<{
|
|
618
649
|
type: z.ZodLiteral<"color">;
|
|
@@ -623,6 +654,11 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
623
654
|
}, z.core.$strip>], "type">>;
|
|
624
655
|
layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
625
656
|
type: z.ZodLiteral<"stack">;
|
|
657
|
+
align: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
658
|
+
left: "left";
|
|
659
|
+
center: "center";
|
|
660
|
+
cover: "cover";
|
|
661
|
+
}>>>;
|
|
626
662
|
attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
627
663
|
type: z.ZodLiteral<"image">;
|
|
628
664
|
href: z.ZodString;
|
|
@@ -647,6 +683,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
647
683
|
properties: z.ZodOptional<z.ZodObject<{
|
|
648
684
|
description: z.ZodOptional<z.ZodString>;
|
|
649
685
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
686
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
650
687
|
}, z.core.$strip>>;
|
|
651
688
|
}, z.core.$strip>, z.ZodObject<{
|
|
652
689
|
type: z.ZodLiteral<"color">;
|
|
@@ -685,6 +722,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
685
722
|
properties: z.ZodOptional<z.ZodObject<{
|
|
686
723
|
description: z.ZodOptional<z.ZodString>;
|
|
687
724
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
725
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
688
726
|
}, z.core.$strip>>;
|
|
689
727
|
}, z.core.$strip>, z.ZodObject<{
|
|
690
728
|
type: z.ZodLiteral<"color">;
|
|
@@ -723,6 +761,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
723
761
|
properties: z.ZodOptional<z.ZodObject<{
|
|
724
762
|
description: z.ZodOptional<z.ZodString>;
|
|
725
763
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
764
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
726
765
|
}, z.core.$strip>>;
|
|
727
766
|
}, z.core.$strip>, z.ZodObject<{
|
|
728
767
|
type: z.ZodLiteral<"color">;
|
|
@@ -757,6 +796,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
757
796
|
properties: z.ZodOptional<z.ZodObject<{
|
|
758
797
|
description: z.ZodOptional<z.ZodString>;
|
|
759
798
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
799
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
760
800
|
}, z.core.$strip>>;
|
|
761
801
|
}, z.core.$strip>, z.ZodObject<{
|
|
762
802
|
type: z.ZodLiteral<"color">;
|
|
@@ -793,6 +833,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
793
833
|
properties: z.ZodOptional<z.ZodObject<{
|
|
794
834
|
description: z.ZodOptional<z.ZodString>;
|
|
795
835
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
836
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
796
837
|
}, z.core.$strip>>;
|
|
797
838
|
}, z.core.$strip>, z.ZodObject<{
|
|
798
839
|
type: z.ZodLiteral<"color">;
|
|
@@ -803,6 +844,11 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
803
844
|
}, z.core.$strip>], "type">>;
|
|
804
845
|
layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
805
846
|
type: z.ZodLiteral<"stack">;
|
|
847
|
+
align: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
848
|
+
left: "left";
|
|
849
|
+
center: "center";
|
|
850
|
+
cover: "cover";
|
|
851
|
+
}>>>;
|
|
806
852
|
attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
807
853
|
type: z.ZodLiteral<"image">;
|
|
808
854
|
href: z.ZodString;
|
|
@@ -827,6 +873,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
827
873
|
properties: z.ZodOptional<z.ZodObject<{
|
|
828
874
|
description: z.ZodOptional<z.ZodString>;
|
|
829
875
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
876
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
830
877
|
}, z.core.$strip>>;
|
|
831
878
|
}, z.core.$strip>, z.ZodObject<{
|
|
832
879
|
type: z.ZodLiteral<"color">;
|
|
@@ -865,6 +912,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
865
912
|
properties: z.ZodOptional<z.ZodObject<{
|
|
866
913
|
description: z.ZodOptional<z.ZodString>;
|
|
867
914
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
915
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
868
916
|
}, z.core.$strip>>;
|
|
869
917
|
}, z.core.$strip>, z.ZodObject<{
|
|
870
918
|
type: z.ZodLiteral<"color">;
|
|
@@ -903,6 +951,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
903
951
|
properties: z.ZodOptional<z.ZodObject<{
|
|
904
952
|
description: z.ZodOptional<z.ZodString>;
|
|
905
953
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
954
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
906
955
|
}, z.core.$strip>>;
|
|
907
956
|
}, z.core.$strip>, z.ZodObject<{
|
|
908
957
|
type: z.ZodLiteral<"color">;
|
|
@@ -937,6 +986,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
937
986
|
properties: z.ZodOptional<z.ZodObject<{
|
|
938
987
|
description: z.ZodOptional<z.ZodString>;
|
|
939
988
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
989
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
940
990
|
}, z.core.$strip>>;
|
|
941
991
|
}, z.core.$strip>, z.ZodObject<{
|
|
942
992
|
type: z.ZodLiteral<"color">;
|
|
@@ -972,6 +1022,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
972
1022
|
properties: z.ZodOptional<z.ZodObject<{
|
|
973
1023
|
description: z.ZodOptional<z.ZodString>;
|
|
974
1024
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
1025
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
975
1026
|
}, z.core.$strip>>;
|
|
976
1027
|
}, z.core.$strip>, z.ZodObject<{
|
|
977
1028
|
type: z.ZodLiteral<"color">;
|
|
@@ -982,6 +1033,11 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
982
1033
|
}, z.core.$strip>], "type">>;
|
|
983
1034
|
layout: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
984
1035
|
type: z.ZodLiteral<"stack">;
|
|
1036
|
+
align: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
1037
|
+
left: "left";
|
|
1038
|
+
center: "center";
|
|
1039
|
+
cover: "cover";
|
|
1040
|
+
}>>>;
|
|
985
1041
|
attachment: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
986
1042
|
type: z.ZodLiteral<"image">;
|
|
987
1043
|
href: z.ZodString;
|
|
@@ -1006,6 +1062,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
1006
1062
|
properties: z.ZodOptional<z.ZodObject<{
|
|
1007
1063
|
description: z.ZodOptional<z.ZodString>;
|
|
1008
1064
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
1065
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
1009
1066
|
}, z.core.$strip>>;
|
|
1010
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1011
1068
|
type: z.ZodLiteral<"color">;
|
|
@@ -1044,6 +1101,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
1044
1101
|
properties: z.ZodOptional<z.ZodObject<{
|
|
1045
1102
|
description: z.ZodOptional<z.ZodString>;
|
|
1046
1103
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
1104
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
1047
1105
|
}, z.core.$strip>>;
|
|
1048
1106
|
}, z.core.$strip>, z.ZodObject<{
|
|
1049
1107
|
type: z.ZodLiteral<"color">;
|
|
@@ -1082,6 +1140,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
1082
1140
|
properties: z.ZodOptional<z.ZodObject<{
|
|
1083
1141
|
description: z.ZodOptional<z.ZodString>;
|
|
1084
1142
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
1143
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
1085
1144
|
}, z.core.$strip>>;
|
|
1086
1145
|
}, z.core.$strip>, z.ZodObject<{
|
|
1087
1146
|
type: z.ZodLiteral<"color">;
|
|
@@ -1116,6 +1175,7 @@ export declare const sectionLayoutSchema: z.ZodObject<{
|
|
|
1116
1175
|
properties: z.ZodOptional<z.ZodObject<{
|
|
1117
1176
|
description: z.ZodOptional<z.ZodString>;
|
|
1118
1177
|
decorative: z.ZodDefault<z.ZodBoolean>;
|
|
1178
|
+
brightness: z.ZodOptional<z.ZodNumber>;
|
|
1119
1179
|
}, z.core.$strip>>;
|
|
1120
1180
|
}, z.core.$strip>, z.ZodObject<{
|
|
1121
1181
|
type: z.ZodLiteral<"color">;
|
package/package.json
CHANGED