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