@prismicio/types-internal 2.9.0-alpha.3 → 3.0.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/lib/_internal/utils.d.ts +2 -3
- package/lib/content/Document.d.ts +212 -1520
- package/lib/content/Document.js +0 -11
- package/lib/content/LegacyContentCtx.d.ts +2 -2
- package/lib/content/LegacyContentCtx.js +1 -4
- package/lib/content/fields/GroupContent.js +0 -13
- package/lib/content/fields/WidgetContent.d.ts +186 -1494
- package/lib/content/fields/index.d.ts +0 -1
- package/lib/content/fields/index.js +0 -1
- package/lib/content/fields/nestable/LinkContent.d.ts +32 -32
- package/lib/content/fields/nestable/LinkContent.js +10 -2
- package/lib/content/fields/nestable/NestableContent.d.ts +22 -240
- package/lib/content/fields/nestable/NestableContent.js +1 -8
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +106 -106
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +20 -20
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +46 -482
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +10 -84
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +48 -484
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +4 -20
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +23 -241
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +23 -241
- package/lib/content/fields/slices/Slice/index.d.ts +85 -815
- package/lib/content/fields/slices/SliceItem.d.ts +84 -814
- package/lib/content/fields/slices/SlicesContent.d.ts +118 -1208
- package/lib/customtypes/CustomType.d.ts +0 -18
- package/lib/customtypes/Section.d.ts +0 -18
- package/lib/customtypes/diff/SharedSlice.d.ts +0 -8
- package/lib/customtypes/diff/Variation.d.ts +0 -8
- package/lib/customtypes/widgets/Group.d.ts +0 -6
- package/lib/customtypes/widgets/Widget.d.ts +0 -21
- package/lib/customtypes/widgets/nestable/Link.d.ts +0 -10
- package/lib/customtypes/widgets/nestable/Link.js +0 -5
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -1
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -2
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -2
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -8
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -6
- package/lib/customtypes/widgets/slices/Slices.d.ts +0 -28
- package/package.json +1 -1
- package/src/_internal/utils.ts +1 -3
- package/src/content/Document.ts +0 -12
- package/src/content/LegacyContentCtx.ts +1 -4
- package/src/content/fields/GroupContent.ts +0 -13
- package/src/content/fields/index.ts +0 -1
- package/src/content/fields/nestable/LinkContent.ts +26 -2
- package/src/content/fields/nestable/NestableContent.ts +1 -12
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +0 -18
- package/src/customtypes/widgets/nestable/Link.ts +0 -6
- package/src/content/fields/RepeatableContent.ts +0 -147
|
@@ -101,7 +101,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
101
101
|
tags?: readonly string[];
|
|
102
102
|
allowTargetBlank?: boolean;
|
|
103
103
|
allowText?: boolean;
|
|
104
|
-
repeat?: boolean;
|
|
105
104
|
};
|
|
106
105
|
}) | ({
|
|
107
106
|
type: "Number";
|
|
@@ -269,7 +268,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
269
268
|
tags?: readonly string[];
|
|
270
269
|
allowTargetBlank?: boolean;
|
|
271
270
|
allowText?: boolean;
|
|
272
|
-
repeat?: boolean;
|
|
273
271
|
};
|
|
274
272
|
}) | ({
|
|
275
273
|
type: "Number";
|
|
@@ -437,7 +435,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
437
435
|
tags?: readonly string[];
|
|
438
436
|
allowTargetBlank?: boolean;
|
|
439
437
|
allowText?: boolean;
|
|
440
|
-
repeat?: boolean;
|
|
441
438
|
};
|
|
442
439
|
}) | ({
|
|
443
440
|
type: "Number";
|
|
@@ -615,7 +612,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
615
612
|
tags?: readonly string[];
|
|
616
613
|
allowTargetBlank?: boolean;
|
|
617
614
|
allowText?: boolean;
|
|
618
|
-
repeat?: boolean;
|
|
619
615
|
};
|
|
620
616
|
}) | ({
|
|
621
617
|
type: "Number";
|
|
@@ -783,7 +779,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
783
779
|
tags?: readonly string[];
|
|
784
780
|
allowTargetBlank?: boolean;
|
|
785
781
|
allowText?: boolean;
|
|
786
|
-
repeat?: boolean;
|
|
787
782
|
};
|
|
788
783
|
}) | ({
|
|
789
784
|
type: "Number";
|
|
@@ -952,7 +947,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
952
947
|
tags?: readonly string[];
|
|
953
948
|
allowTargetBlank?: boolean;
|
|
954
949
|
allowText?: boolean;
|
|
955
|
-
repeat?: boolean;
|
|
956
950
|
};
|
|
957
951
|
}) | ({
|
|
958
952
|
type: "Number";
|
|
@@ -1113,7 +1107,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1113
1107
|
tags?: readonly string[];
|
|
1114
1108
|
allowTargetBlank?: boolean;
|
|
1115
1109
|
allowText?: boolean;
|
|
1116
|
-
repeat?: boolean;
|
|
1117
1110
|
};
|
|
1118
1111
|
}) | ({
|
|
1119
1112
|
type: "Number";
|
|
@@ -1290,7 +1283,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1290
1283
|
tags?: readonly string[];
|
|
1291
1284
|
allowTargetBlank?: boolean;
|
|
1292
1285
|
allowText?: boolean;
|
|
1293
|
-
repeat?: boolean;
|
|
1294
1286
|
};
|
|
1295
1287
|
}) | ({
|
|
1296
1288
|
type: "Number";
|
|
@@ -1458,7 +1450,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1458
1450
|
tags?: readonly string[];
|
|
1459
1451
|
allowTargetBlank?: boolean;
|
|
1460
1452
|
allowText?: boolean;
|
|
1461
|
-
repeat?: boolean;
|
|
1462
1453
|
};
|
|
1463
1454
|
}) | ({
|
|
1464
1455
|
type: "Number";
|
|
@@ -1626,7 +1617,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1626
1617
|
tags?: readonly string[];
|
|
1627
1618
|
allowTargetBlank?: boolean;
|
|
1628
1619
|
allowText?: boolean;
|
|
1629
|
-
repeat?: boolean;
|
|
1630
1620
|
};
|
|
1631
1621
|
}) | ({
|
|
1632
1622
|
type: "Number";
|
|
@@ -1793,7 +1783,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1793
1783
|
tags?: readonly string[];
|
|
1794
1784
|
allowTargetBlank?: boolean;
|
|
1795
1785
|
allowText?: boolean;
|
|
1796
|
-
repeat?: boolean;
|
|
1797
1786
|
};
|
|
1798
1787
|
}) | ({
|
|
1799
1788
|
type: "Number";
|
|
@@ -1986,7 +1975,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1986
1975
|
tags?: readonly string[];
|
|
1987
1976
|
allowTargetBlank?: boolean;
|
|
1988
1977
|
allowText?: boolean;
|
|
1989
|
-
repeat?: boolean;
|
|
1990
1978
|
};
|
|
1991
1979
|
}) | ({
|
|
1992
1980
|
type: "Number";
|
|
@@ -2154,7 +2142,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2154
2142
|
tags?: readonly string[];
|
|
2155
2143
|
allowTargetBlank?: boolean;
|
|
2156
2144
|
allowText?: boolean;
|
|
2157
|
-
repeat?: boolean;
|
|
2158
2145
|
};
|
|
2159
2146
|
}) | ({
|
|
2160
2147
|
type: "Number";
|
|
@@ -2322,7 +2309,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2322
2309
|
tags?: readonly string[];
|
|
2323
2310
|
allowTargetBlank?: boolean;
|
|
2324
2311
|
allowText?: boolean;
|
|
2325
|
-
repeat?: boolean;
|
|
2326
2312
|
};
|
|
2327
2313
|
}) | ({
|
|
2328
2314
|
type: "Number";
|
|
@@ -2500,7 +2486,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2500
2486
|
tags?: readonly string[];
|
|
2501
2487
|
allowTargetBlank?: boolean;
|
|
2502
2488
|
allowText?: boolean;
|
|
2503
|
-
repeat?: boolean;
|
|
2504
2489
|
};
|
|
2505
2490
|
}) | ({
|
|
2506
2491
|
type: "Number";
|
|
@@ -2668,7 +2653,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2668
2653
|
tags?: readonly string[];
|
|
2669
2654
|
allowTargetBlank?: boolean;
|
|
2670
2655
|
allowText?: boolean;
|
|
2671
|
-
repeat?: boolean;
|
|
2672
2656
|
};
|
|
2673
2657
|
}) | ({
|
|
2674
2658
|
type: "Number";
|
|
@@ -2837,7 +2821,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2837
2821
|
tags?: readonly string[];
|
|
2838
2822
|
allowTargetBlank?: boolean;
|
|
2839
2823
|
allowText?: boolean;
|
|
2840
|
-
repeat?: boolean;
|
|
2841
2824
|
};
|
|
2842
2825
|
}) | ({
|
|
2843
2826
|
type: "Number";
|
|
@@ -2998,7 +2981,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2998
2981
|
tags?: readonly string[];
|
|
2999
2982
|
allowTargetBlank?: boolean;
|
|
3000
2983
|
allowText?: boolean;
|
|
3001
|
-
repeat?: boolean;
|
|
3002
2984
|
};
|
|
3003
2985
|
}) | ({
|
|
3004
2986
|
type: "Number";
|
|
@@ -85,7 +85,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
85
85
|
tags?: readonly string[];
|
|
86
86
|
allowTargetBlank?: boolean;
|
|
87
87
|
allowText?: boolean;
|
|
88
|
-
repeat?: boolean;
|
|
89
88
|
};
|
|
90
89
|
}) | ({
|
|
91
90
|
type: "Number";
|
|
@@ -253,7 +252,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
253
252
|
tags?: readonly string[];
|
|
254
253
|
allowTargetBlank?: boolean;
|
|
255
254
|
allowText?: boolean;
|
|
256
|
-
repeat?: boolean;
|
|
257
255
|
};
|
|
258
256
|
}) | ({
|
|
259
257
|
type: "Number";
|
|
@@ -421,7 +419,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
421
419
|
tags?: readonly string[];
|
|
422
420
|
allowTargetBlank?: boolean;
|
|
423
421
|
allowText?: boolean;
|
|
424
|
-
repeat?: boolean;
|
|
425
422
|
};
|
|
426
423
|
}) | ({
|
|
427
424
|
type: "Number";
|
|
@@ -599,7 +596,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
599
596
|
tags?: readonly string[];
|
|
600
597
|
allowTargetBlank?: boolean;
|
|
601
598
|
allowText?: boolean;
|
|
602
|
-
repeat?: boolean;
|
|
603
599
|
};
|
|
604
600
|
}) | ({
|
|
605
601
|
type: "Number";
|
|
@@ -767,7 +763,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
767
763
|
tags?: readonly string[];
|
|
768
764
|
allowTargetBlank?: boolean;
|
|
769
765
|
allowText?: boolean;
|
|
770
|
-
repeat?: boolean;
|
|
771
766
|
};
|
|
772
767
|
}) | ({
|
|
773
768
|
type: "Number";
|
|
@@ -936,7 +931,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
936
931
|
tags?: readonly string[];
|
|
937
932
|
allowTargetBlank?: boolean;
|
|
938
933
|
allowText?: boolean;
|
|
939
|
-
repeat?: boolean;
|
|
940
934
|
};
|
|
941
935
|
}) | ({
|
|
942
936
|
type: "Number";
|
|
@@ -1097,7 +1091,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1097
1091
|
tags?: readonly string[];
|
|
1098
1092
|
allowTargetBlank?: boolean;
|
|
1099
1093
|
allowText?: boolean;
|
|
1100
|
-
repeat?: boolean;
|
|
1101
1094
|
};
|
|
1102
1095
|
}) | ({
|
|
1103
1096
|
type: "Number";
|
|
@@ -1274,7 +1267,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1274
1267
|
tags?: readonly string[];
|
|
1275
1268
|
allowTargetBlank?: boolean;
|
|
1276
1269
|
allowText?: boolean;
|
|
1277
|
-
repeat?: boolean;
|
|
1278
1270
|
};
|
|
1279
1271
|
}) | ({
|
|
1280
1272
|
type: "Number";
|
|
@@ -1442,7 +1434,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1442
1434
|
tags?: readonly string[];
|
|
1443
1435
|
allowTargetBlank?: boolean;
|
|
1444
1436
|
allowText?: boolean;
|
|
1445
|
-
repeat?: boolean;
|
|
1446
1437
|
};
|
|
1447
1438
|
}) | ({
|
|
1448
1439
|
type: "Number";
|
|
@@ -1610,7 +1601,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1610
1601
|
tags?: readonly string[];
|
|
1611
1602
|
allowTargetBlank?: boolean;
|
|
1612
1603
|
allowText?: boolean;
|
|
1613
|
-
repeat?: boolean;
|
|
1614
1604
|
};
|
|
1615
1605
|
}) | ({
|
|
1616
1606
|
type: "Number";
|
|
@@ -1777,7 +1767,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1777
1767
|
tags?: readonly string[];
|
|
1778
1768
|
allowTargetBlank?: boolean;
|
|
1779
1769
|
allowText?: boolean;
|
|
1780
|
-
repeat?: boolean;
|
|
1781
1770
|
};
|
|
1782
1771
|
}) | ({
|
|
1783
1772
|
type: "Number";
|
|
@@ -1957,7 +1946,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
1957
1946
|
tags?: readonly string[];
|
|
1958
1947
|
allowTargetBlank?: boolean;
|
|
1959
1948
|
allowText?: boolean;
|
|
1960
|
-
repeat?: boolean;
|
|
1961
1949
|
};
|
|
1962
1950
|
}) | ({
|
|
1963
1951
|
type: "Number";
|
|
@@ -2125,7 +2113,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2125
2113
|
tags?: readonly string[];
|
|
2126
2114
|
allowTargetBlank?: boolean;
|
|
2127
2115
|
allowText?: boolean;
|
|
2128
|
-
repeat?: boolean;
|
|
2129
2116
|
};
|
|
2130
2117
|
}) | ({
|
|
2131
2118
|
type: "Number";
|
|
@@ -2293,7 +2280,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2293
2280
|
tags?: readonly string[];
|
|
2294
2281
|
allowTargetBlank?: boolean;
|
|
2295
2282
|
allowText?: boolean;
|
|
2296
|
-
repeat?: boolean;
|
|
2297
2283
|
};
|
|
2298
2284
|
}) | ({
|
|
2299
2285
|
type: "Number";
|
|
@@ -2471,7 +2457,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2471
2457
|
tags?: readonly string[];
|
|
2472
2458
|
allowTargetBlank?: boolean;
|
|
2473
2459
|
allowText?: boolean;
|
|
2474
|
-
repeat?: boolean;
|
|
2475
2460
|
};
|
|
2476
2461
|
}) | ({
|
|
2477
2462
|
type: "Number";
|
|
@@ -2639,7 +2624,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2639
2624
|
tags?: readonly string[];
|
|
2640
2625
|
allowTargetBlank?: boolean;
|
|
2641
2626
|
allowText?: boolean;
|
|
2642
|
-
repeat?: boolean;
|
|
2643
2627
|
};
|
|
2644
2628
|
}) | ({
|
|
2645
2629
|
type: "Number";
|
|
@@ -2808,7 +2792,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2808
2792
|
tags?: readonly string[];
|
|
2809
2793
|
allowTargetBlank?: boolean;
|
|
2810
2794
|
allowText?: boolean;
|
|
2811
|
-
repeat?: boolean;
|
|
2812
2795
|
};
|
|
2813
2796
|
}) | ({
|
|
2814
2797
|
type: "Number";
|
|
@@ -2969,7 +2952,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2969
2952
|
tags?: readonly string[];
|
|
2970
2953
|
allowTargetBlank?: boolean;
|
|
2971
2954
|
allowText?: boolean;
|
|
2972
|
-
repeat?: boolean;
|
|
2973
2955
|
};
|
|
2974
2956
|
}) | ({
|
|
2975
2957
|
type: "Number";
|
|
@@ -103,7 +103,6 @@ export declare const SliceComparator: {
|
|
|
103
103
|
tags?: readonly string[];
|
|
104
104
|
allowTargetBlank?: boolean;
|
|
105
105
|
allowText?: boolean;
|
|
106
|
-
repeat?: boolean;
|
|
107
106
|
};
|
|
108
107
|
}) | ({
|
|
109
108
|
type: "Number";
|
|
@@ -271,7 +270,6 @@ export declare const SliceComparator: {
|
|
|
271
270
|
tags?: readonly string[];
|
|
272
271
|
allowTargetBlank?: boolean;
|
|
273
272
|
allowText?: boolean;
|
|
274
|
-
repeat?: boolean;
|
|
275
273
|
};
|
|
276
274
|
}) | ({
|
|
277
275
|
type: "Number";
|
|
@@ -439,7 +437,6 @@ export declare const SliceComparator: {
|
|
|
439
437
|
tags?: readonly string[];
|
|
440
438
|
allowTargetBlank?: boolean;
|
|
441
439
|
allowText?: boolean;
|
|
442
|
-
repeat?: boolean;
|
|
443
440
|
};
|
|
444
441
|
}) | ({
|
|
445
442
|
type: "Number";
|
|
@@ -606,7 +603,6 @@ export declare const SliceComparator: {
|
|
|
606
603
|
tags?: readonly string[];
|
|
607
604
|
allowTargetBlank?: boolean;
|
|
608
605
|
allowText?: boolean;
|
|
609
|
-
repeat?: boolean;
|
|
610
606
|
};
|
|
611
607
|
}) | ({
|
|
612
608
|
type: "Number";
|
|
@@ -786,7 +782,6 @@ export declare const SliceComparator: {
|
|
|
786
782
|
tags?: readonly string[];
|
|
787
783
|
allowTargetBlank?: boolean;
|
|
788
784
|
allowText?: boolean;
|
|
789
|
-
repeat?: boolean;
|
|
790
785
|
};
|
|
791
786
|
}) | ({
|
|
792
787
|
type: "Number";
|
|
@@ -954,7 +949,6 @@ export declare const SliceComparator: {
|
|
|
954
949
|
tags?: readonly string[];
|
|
955
950
|
allowTargetBlank?: boolean;
|
|
956
951
|
allowText?: boolean;
|
|
957
|
-
repeat?: boolean;
|
|
958
952
|
};
|
|
959
953
|
}) | ({
|
|
960
954
|
type: "Number";
|
|
@@ -1122,7 +1116,6 @@ export declare const SliceComparator: {
|
|
|
1122
1116
|
tags?: readonly string[];
|
|
1123
1117
|
allowTargetBlank?: boolean;
|
|
1124
1118
|
allowText?: boolean;
|
|
1125
|
-
repeat?: boolean;
|
|
1126
1119
|
};
|
|
1127
1120
|
}) | ({
|
|
1128
1121
|
type: "Number";
|
|
@@ -1289,7 +1282,6 @@ export declare const SliceComparator: {
|
|
|
1289
1282
|
tags?: readonly string[];
|
|
1290
1283
|
allowTargetBlank?: boolean;
|
|
1291
1284
|
allowText?: boolean;
|
|
1292
|
-
repeat?: boolean;
|
|
1293
1285
|
};
|
|
1294
1286
|
}) | ({
|
|
1295
1287
|
type: "Number";
|
|
@@ -100,7 +100,6 @@ export declare const VariationComparator: {
|
|
|
100
100
|
tags?: readonly string[];
|
|
101
101
|
allowTargetBlank?: boolean;
|
|
102
102
|
allowText?: boolean;
|
|
103
|
-
repeat?: boolean;
|
|
104
103
|
};
|
|
105
104
|
}) | ({
|
|
106
105
|
type: "Number";
|
|
@@ -268,7 +267,6 @@ export declare const VariationComparator: {
|
|
|
268
267
|
tags?: readonly string[];
|
|
269
268
|
allowTargetBlank?: boolean;
|
|
270
269
|
allowText?: boolean;
|
|
271
|
-
repeat?: boolean;
|
|
272
270
|
};
|
|
273
271
|
}) | ({
|
|
274
272
|
type: "Number";
|
|
@@ -436,7 +434,6 @@ export declare const VariationComparator: {
|
|
|
436
434
|
tags?: readonly string[];
|
|
437
435
|
allowTargetBlank?: boolean;
|
|
438
436
|
allowText?: boolean;
|
|
439
|
-
repeat?: boolean;
|
|
440
437
|
};
|
|
441
438
|
}) | ({
|
|
442
439
|
type: "Number";
|
|
@@ -603,7 +600,6 @@ export declare const VariationComparator: {
|
|
|
603
600
|
tags?: readonly string[];
|
|
604
601
|
allowTargetBlank?: boolean;
|
|
605
602
|
allowText?: boolean;
|
|
606
|
-
repeat?: boolean;
|
|
607
603
|
};
|
|
608
604
|
}) | ({
|
|
609
605
|
type: "Number";
|
|
@@ -773,7 +769,6 @@ export declare const VariationComparator: {
|
|
|
773
769
|
tags?: readonly string[];
|
|
774
770
|
allowTargetBlank?: boolean;
|
|
775
771
|
allowText?: boolean;
|
|
776
|
-
repeat?: boolean;
|
|
777
772
|
};
|
|
778
773
|
}) | ({
|
|
779
774
|
type: "Number";
|
|
@@ -941,7 +936,6 @@ export declare const VariationComparator: {
|
|
|
941
936
|
tags?: readonly string[];
|
|
942
937
|
allowTargetBlank?: boolean;
|
|
943
938
|
allowText?: boolean;
|
|
944
|
-
repeat?: boolean;
|
|
945
939
|
};
|
|
946
940
|
}) | ({
|
|
947
941
|
type: "Number";
|
|
@@ -1109,7 +1103,6 @@ export declare const VariationComparator: {
|
|
|
1109
1103
|
tags?: readonly string[];
|
|
1110
1104
|
allowTargetBlank?: boolean;
|
|
1111
1105
|
allowText?: boolean;
|
|
1112
|
-
repeat?: boolean;
|
|
1113
1106
|
};
|
|
1114
1107
|
}) | ({
|
|
1115
1108
|
type: "Number";
|
|
@@ -1276,7 +1269,6 @@ export declare const VariationComparator: {
|
|
|
1276
1269
|
tags?: readonly string[];
|
|
1277
1270
|
allowTargetBlank?: boolean;
|
|
1278
1271
|
allowText?: boolean;
|
|
1279
|
-
repeat?: boolean;
|
|
1280
1272
|
};
|
|
1281
1273
|
}) | ({
|
|
1282
1274
|
type: "Number";
|
|
@@ -132,7 +132,6 @@ export declare const NestedGroupConfig: t.ExactC<t.PartialC<{
|
|
|
132
132
|
tags: t.Type<readonly string[], object, unknown>;
|
|
133
133
|
allowTargetBlank: t.BooleanC;
|
|
134
134
|
allowText: t.BooleanC;
|
|
135
|
-
repeat: t.BooleanC;
|
|
136
135
|
}>>;
|
|
137
136
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
138
137
|
type: t.LiteralC<"Image">;
|
|
@@ -302,7 +301,6 @@ export declare const NestedGroup: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
302
301
|
tags: t.Type<readonly string[], object, unknown>;
|
|
303
302
|
allowTargetBlank: t.BooleanC;
|
|
304
303
|
allowText: t.BooleanC;
|
|
305
|
-
repeat: t.BooleanC;
|
|
306
304
|
}>>;
|
|
307
305
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
308
306
|
type: t.LiteralC<"Image">;
|
|
@@ -467,7 +465,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
467
465
|
tags: t.Type<readonly string[], object, unknown>;
|
|
468
466
|
allowTargetBlank: t.BooleanC;
|
|
469
467
|
allowText: t.BooleanC;
|
|
470
|
-
repeat: t.BooleanC;
|
|
471
468
|
}>>;
|
|
472
469
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
473
470
|
type: t.LiteralC<"Image">;
|
|
@@ -634,7 +631,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
|
|
|
634
631
|
tags: t.Type<readonly string[], object, unknown>;
|
|
635
632
|
allowTargetBlank: t.BooleanC;
|
|
636
633
|
allowText: t.BooleanC;
|
|
637
|
-
repeat: t.BooleanC;
|
|
638
634
|
}>>;
|
|
639
635
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
640
636
|
type: t.LiteralC<"Image">;
|
|
@@ -806,7 +802,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
806
802
|
tags: t.Type<readonly string[], object, unknown>;
|
|
807
803
|
allowTargetBlank: t.BooleanC;
|
|
808
804
|
allowText: t.BooleanC;
|
|
809
|
-
repeat: t.BooleanC;
|
|
810
805
|
}>>;
|
|
811
806
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
812
807
|
type: t.LiteralC<"Image">;
|
|
@@ -973,7 +968,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
973
968
|
tags: t.Type<readonly string[], object, unknown>;
|
|
974
969
|
allowTargetBlank: t.BooleanC;
|
|
975
970
|
allowText: t.BooleanC;
|
|
976
|
-
repeat: t.BooleanC;
|
|
977
971
|
}>>;
|
|
978
972
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
979
973
|
type: t.LiteralC<"Image">;
|
|
@@ -139,7 +139,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
139
139
|
tags: t.Type<readonly string[], object, unknown>;
|
|
140
140
|
allowTargetBlank: t.BooleanC;
|
|
141
141
|
allowText: t.BooleanC;
|
|
142
|
-
repeat: t.BooleanC;
|
|
143
142
|
}>>;
|
|
144
143
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
145
144
|
type: t.LiteralC<"Image">;
|
|
@@ -306,7 +305,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
306
305
|
tags: t.Type<readonly string[], object, unknown>;
|
|
307
306
|
allowTargetBlank: t.BooleanC;
|
|
308
307
|
allowText: t.BooleanC;
|
|
309
|
-
repeat: t.BooleanC;
|
|
310
308
|
}>>;
|
|
311
309
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
312
310
|
type: t.LiteralC<"Image">;
|
|
@@ -473,7 +471,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
|
|
|
473
471
|
tags: t.Type<readonly string[], object, unknown>;
|
|
474
472
|
allowTargetBlank: t.BooleanC;
|
|
475
473
|
allowText: t.BooleanC;
|
|
476
|
-
repeat: t.BooleanC;
|
|
477
474
|
}>>;
|
|
478
475
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
479
476
|
type: t.LiteralC<"Image">;
|
|
@@ -645,7 +642,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
645
642
|
tags: t.Type<readonly string[], object, unknown>;
|
|
646
643
|
allowTargetBlank: t.BooleanC;
|
|
647
644
|
allowText: t.BooleanC;
|
|
648
|
-
repeat: t.BooleanC;
|
|
649
645
|
}>>;
|
|
650
646
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
651
647
|
type: t.LiteralC<"Image">;
|
|
@@ -812,7 +808,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
812
808
|
tags: t.Type<readonly string[], object, unknown>;
|
|
813
809
|
allowTargetBlank: t.BooleanC;
|
|
814
810
|
allowText: t.BooleanC;
|
|
815
|
-
repeat: t.BooleanC;
|
|
816
811
|
}>>;
|
|
817
812
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
818
813
|
type: t.LiteralC<"Image">;
|
|
@@ -979,7 +974,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
979
974
|
tags: t.Type<readonly string[], object, unknown>;
|
|
980
975
|
allowTargetBlank: t.BooleanC;
|
|
981
976
|
allowText: t.BooleanC;
|
|
982
|
-
repeat: t.BooleanC;
|
|
983
977
|
}>>;
|
|
984
978
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
985
979
|
type: t.LiteralC<"Image">;
|
|
@@ -1109,7 +1103,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1109
1103
|
tags?: readonly string[];
|
|
1110
1104
|
allowTargetBlank?: boolean;
|
|
1111
1105
|
allowText?: boolean;
|
|
1112
|
-
repeat?: boolean;
|
|
1113
1106
|
};
|
|
1114
1107
|
}) | ({
|
|
1115
1108
|
type: "Number";
|
|
@@ -1277,7 +1270,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1277
1270
|
tags?: readonly string[];
|
|
1278
1271
|
allowTargetBlank?: boolean;
|
|
1279
1272
|
allowText?: boolean;
|
|
1280
|
-
repeat?: boolean;
|
|
1281
1273
|
};
|
|
1282
1274
|
}) | ({
|
|
1283
1275
|
type: "Number";
|
|
@@ -1446,7 +1438,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1446
1438
|
tags?: readonly string[];
|
|
1447
1439
|
allowTargetBlank?: boolean;
|
|
1448
1440
|
allowText?: boolean;
|
|
1449
|
-
repeat?: boolean;
|
|
1450
1441
|
};
|
|
1451
1442
|
}) | ({
|
|
1452
1443
|
type: "Number";
|
|
@@ -1607,7 +1598,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1607
1598
|
tags?: readonly string[];
|
|
1608
1599
|
allowTargetBlank?: boolean;
|
|
1609
1600
|
allowText?: boolean;
|
|
1610
|
-
repeat?: boolean;
|
|
1611
1601
|
};
|
|
1612
1602
|
}) | ({
|
|
1613
1603
|
type: "Number";
|
|
@@ -1784,7 +1774,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1784
1774
|
tags?: readonly string[];
|
|
1785
1775
|
allowTargetBlank?: boolean;
|
|
1786
1776
|
allowText?: boolean;
|
|
1787
|
-
repeat?: boolean;
|
|
1788
1777
|
};
|
|
1789
1778
|
}) | ({
|
|
1790
1779
|
type: "Number";
|
|
@@ -1952,7 +1941,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1952
1941
|
tags?: readonly string[];
|
|
1953
1942
|
allowTargetBlank?: boolean;
|
|
1954
1943
|
allowText?: boolean;
|
|
1955
|
-
repeat?: boolean;
|
|
1956
1944
|
};
|
|
1957
1945
|
}) | ({
|
|
1958
1946
|
type: "Number";
|
|
@@ -2120,7 +2108,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2120
2108
|
tags?: readonly string[];
|
|
2121
2109
|
allowTargetBlank?: boolean;
|
|
2122
2110
|
allowText?: boolean;
|
|
2123
|
-
repeat?: boolean;
|
|
2124
2111
|
};
|
|
2125
2112
|
}) | ({
|
|
2126
2113
|
type: "Number";
|
|
@@ -2287,7 +2274,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2287
2274
|
tags?: readonly string[];
|
|
2288
2275
|
allowTargetBlank?: boolean;
|
|
2289
2276
|
allowText?: boolean;
|
|
2290
|
-
repeat?: boolean;
|
|
2291
2277
|
};
|
|
2292
2278
|
}) | ({
|
|
2293
2279
|
type: "Number";
|
|
@@ -2513,7 +2499,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2513
2499
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2514
2500
|
allowTargetBlank: t.BooleanC;
|
|
2515
2501
|
allowText: t.BooleanC;
|
|
2516
|
-
repeat: t.BooleanC;
|
|
2517
2502
|
}>>;
|
|
2518
2503
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2519
2504
|
type: t.LiteralC<"Image">;
|
|
@@ -2680,7 +2665,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2680
2665
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2681
2666
|
allowTargetBlank: t.BooleanC;
|
|
2682
2667
|
allowText: t.BooleanC;
|
|
2683
|
-
repeat: t.BooleanC;
|
|
2684
2668
|
}>>;
|
|
2685
2669
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2686
2670
|
type: t.LiteralC<"Image">;
|
|
@@ -2847,7 +2831,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2847
2831
|
tags: t.Type<readonly string[], object, unknown>;
|
|
2848
2832
|
allowTargetBlank: t.BooleanC;
|
|
2849
2833
|
allowText: t.BooleanC;
|
|
2850
|
-
repeat: t.BooleanC;
|
|
2851
2834
|
}>>;
|
|
2852
2835
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2853
2836
|
type: t.LiteralC<"Image">;
|
|
@@ -2977,7 +2960,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
2977
2960
|
tags?: readonly string[];
|
|
2978
2961
|
allowTargetBlank?: boolean;
|
|
2979
2962
|
allowText?: boolean;
|
|
2980
|
-
repeat?: boolean;
|
|
2981
2963
|
};
|
|
2982
2964
|
}) | ({
|
|
2983
2965
|
type: "Number";
|
|
@@ -3145,7 +3127,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3145
3127
|
tags?: readonly string[];
|
|
3146
3128
|
allowTargetBlank?: boolean;
|
|
3147
3129
|
allowText?: boolean;
|
|
3148
|
-
repeat?: boolean;
|
|
3149
3130
|
};
|
|
3150
3131
|
}) | ({
|
|
3151
3132
|
type: "Number";
|
|
@@ -3314,7 +3295,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3314
3295
|
tags?: readonly string[];
|
|
3315
3296
|
allowTargetBlank?: boolean;
|
|
3316
3297
|
allowText?: boolean;
|
|
3317
|
-
repeat?: boolean;
|
|
3318
3298
|
};
|
|
3319
3299
|
}) | ({
|
|
3320
3300
|
type: "Number";
|
|
@@ -3475,7 +3455,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
|
|
|
3475
3455
|
tags?: readonly string[];
|
|
3476
3456
|
allowTargetBlank?: boolean;
|
|
3477
3457
|
allowText?: boolean;
|
|
3478
|
-
repeat?: boolean;
|
|
3479
3458
|
};
|
|
3480
3459
|
}) | ({
|
|
3481
3460
|
type: "Number";
|
|
@@ -10,11 +10,6 @@ export declare const LinkConfig: t.ExactC<t.PartialC<{
|
|
|
10
10
|
tags: t.Type<readonly string[], object, unknown>;
|
|
11
11
|
allowTargetBlank: t.BooleanC;
|
|
12
12
|
allowText: t.BooleanC;
|
|
13
|
-
/**
|
|
14
|
-
* `repeat` property is used to allow multiple links to be added.
|
|
15
|
-
* `undefined` means that the field is not repeatable (hence repeat = false).
|
|
16
|
-
*/
|
|
17
|
-
repeat: t.BooleanC;
|
|
18
13
|
}>>;
|
|
19
14
|
export declare type LinkConfig = t.TypeOf<typeof LinkConfig>;
|
|
20
15
|
export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -31,11 +26,6 @@ export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
31
26
|
tags: t.Type<readonly string[], object, unknown>;
|
|
32
27
|
allowTargetBlank: t.BooleanC;
|
|
33
28
|
allowText: t.BooleanC;
|
|
34
|
-
/**
|
|
35
|
-
* `repeat` property is used to allow multiple links to be added.
|
|
36
|
-
* `undefined` means that the field is not repeatable (hence repeat = false).
|
|
37
|
-
*/
|
|
38
|
-
repeat: t.BooleanC;
|
|
39
29
|
}>>;
|
|
40
30
|
}>]>>;
|
|
41
31
|
export declare type Link = t.TypeOf<typeof Link>;
|
|
@@ -43,11 +43,6 @@ exports.LinkConfig = t.exact(t.partial({
|
|
|
43
43
|
tags: MasksArrayString,
|
|
44
44
|
allowTargetBlank: t.boolean,
|
|
45
45
|
allowText: t.boolean,
|
|
46
|
-
/**
|
|
47
|
-
* `repeat` property is used to allow multiple links to be added.
|
|
48
|
-
* `undefined` means that the field is not repeatable (hence repeat = false).
|
|
49
|
-
*/
|
|
50
|
-
repeat: t.boolean,
|
|
51
46
|
}));
|
|
52
47
|
exports.Link = t.exact(t.intersection([
|
|
53
48
|
t.type({
|
|
@@ -128,7 +128,6 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
|
|
|
128
128
|
tags: t.Type<readonly string[], object, unknown>;
|
|
129
129
|
allowTargetBlank: t.BooleanC;
|
|
130
130
|
allowText: t.BooleanC;
|
|
131
|
-
repeat: t.BooleanC;
|
|
132
131
|
}>>;
|
|
133
132
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
134
133
|
type: t.LiteralC<"Image">;
|