@prismicio/types-internal 3.3.0-alpha.1 → 3.3.0-alpha.2

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.
@@ -102,7 +102,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
102
102
  allowTargetBlank?: boolean;
103
103
  allowText?: boolean;
104
104
  repeat?: boolean;
105
- variant?: string[];
105
+ variants?: string[];
106
106
  };
107
107
  }) | ({
108
108
  type: "Number";
@@ -271,7 +271,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
271
271
  allowTargetBlank?: boolean;
272
272
  allowText?: boolean;
273
273
  repeat?: boolean;
274
- variant?: string[];
274
+ variants?: string[];
275
275
  };
276
276
  }) | ({
277
277
  type: "Number";
@@ -440,7 +440,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
440
440
  allowTargetBlank?: boolean;
441
441
  allowText?: boolean;
442
442
  repeat?: boolean;
443
- variant?: string[];
443
+ variants?: string[];
444
444
  };
445
445
  }) | ({
446
446
  type: "Number";
@@ -619,7 +619,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
619
619
  allowTargetBlank?: boolean;
620
620
  allowText?: boolean;
621
621
  repeat?: boolean;
622
- variant?: string[];
622
+ variants?: string[];
623
623
  };
624
624
  }) | ({
625
625
  type: "Number";
@@ -788,7 +788,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
788
788
  allowTargetBlank?: boolean;
789
789
  allowText?: boolean;
790
790
  repeat?: boolean;
791
- variant?: string[];
791
+ variants?: string[];
792
792
  };
793
793
  }) | ({
794
794
  type: "Number";
@@ -958,7 +958,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
958
958
  allowTargetBlank?: boolean;
959
959
  allowText?: boolean;
960
960
  repeat?: boolean;
961
- variant?: string[];
961
+ variants?: string[];
962
962
  };
963
963
  }) | ({
964
964
  type: "Number";
@@ -1120,7 +1120,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1120
1120
  allowTargetBlank?: boolean;
1121
1121
  allowText?: boolean;
1122
1122
  repeat?: boolean;
1123
- variant?: string[];
1123
+ variants?: string[];
1124
1124
  };
1125
1125
  }) | ({
1126
1126
  type: "Number";
@@ -1298,7 +1298,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1298
1298
  allowTargetBlank?: boolean;
1299
1299
  allowText?: boolean;
1300
1300
  repeat?: boolean;
1301
- variant?: string[];
1301
+ variants?: string[];
1302
1302
  };
1303
1303
  }) | ({
1304
1304
  type: "Number";
@@ -1467,7 +1467,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1467
1467
  allowTargetBlank?: boolean;
1468
1468
  allowText?: boolean;
1469
1469
  repeat?: boolean;
1470
- variant?: string[];
1470
+ variants?: string[];
1471
1471
  };
1472
1472
  }) | ({
1473
1473
  type: "Number";
@@ -1636,7 +1636,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1636
1636
  allowTargetBlank?: boolean;
1637
1637
  allowText?: boolean;
1638
1638
  repeat?: boolean;
1639
- variant?: string[];
1639
+ variants?: string[];
1640
1640
  };
1641
1641
  }) | ({
1642
1642
  type: "Number";
@@ -1804,7 +1804,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1804
1804
  allowTargetBlank?: boolean;
1805
1805
  allowText?: boolean;
1806
1806
  repeat?: boolean;
1807
- variant?: string[];
1807
+ variants?: string[];
1808
1808
  };
1809
1809
  }) | ({
1810
1810
  type: "Number";
@@ -1998,7 +1998,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1998
1998
  allowTargetBlank?: boolean;
1999
1999
  allowText?: boolean;
2000
2000
  repeat?: boolean;
2001
- variant?: string[];
2001
+ variants?: string[];
2002
2002
  };
2003
2003
  }) | ({
2004
2004
  type: "Number";
@@ -2167,7 +2167,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2167
2167
  allowTargetBlank?: boolean;
2168
2168
  allowText?: boolean;
2169
2169
  repeat?: boolean;
2170
- variant?: string[];
2170
+ variants?: string[];
2171
2171
  };
2172
2172
  }) | ({
2173
2173
  type: "Number";
@@ -2336,7 +2336,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2336
2336
  allowTargetBlank?: boolean;
2337
2337
  allowText?: boolean;
2338
2338
  repeat?: boolean;
2339
- variant?: string[];
2339
+ variants?: string[];
2340
2340
  };
2341
2341
  }) | ({
2342
2342
  type: "Number";
@@ -2515,7 +2515,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2515
2515
  allowTargetBlank?: boolean;
2516
2516
  allowText?: boolean;
2517
2517
  repeat?: boolean;
2518
- variant?: string[];
2518
+ variants?: string[];
2519
2519
  };
2520
2520
  }) | ({
2521
2521
  type: "Number";
@@ -2684,7 +2684,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2684
2684
  allowTargetBlank?: boolean;
2685
2685
  allowText?: boolean;
2686
2686
  repeat?: boolean;
2687
- variant?: string[];
2687
+ variants?: string[];
2688
2688
  };
2689
2689
  }) | ({
2690
2690
  type: "Number";
@@ -2854,7 +2854,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2854
2854
  allowTargetBlank?: boolean;
2855
2855
  allowText?: boolean;
2856
2856
  repeat?: boolean;
2857
- variant?: string[];
2857
+ variants?: string[];
2858
2858
  };
2859
2859
  }) | ({
2860
2860
  type: "Number";
@@ -3016,7 +3016,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
3016
3016
  allowTargetBlank?: boolean;
3017
3017
  allowText?: boolean;
3018
3018
  repeat?: boolean;
3019
- variant?: string[];
3019
+ variants?: string[];
3020
3020
  };
3021
3021
  }) | ({
3022
3022
  type: "Number";
@@ -86,7 +86,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
86
86
  allowTargetBlank?: boolean;
87
87
  allowText?: boolean;
88
88
  repeat?: boolean;
89
- variant?: string[];
89
+ variants?: string[];
90
90
  };
91
91
  }) | ({
92
92
  type: "Number";
@@ -255,7 +255,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
255
255
  allowTargetBlank?: boolean;
256
256
  allowText?: boolean;
257
257
  repeat?: boolean;
258
- variant?: string[];
258
+ variants?: string[];
259
259
  };
260
260
  }) | ({
261
261
  type: "Number";
@@ -424,7 +424,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
424
424
  allowTargetBlank?: boolean;
425
425
  allowText?: boolean;
426
426
  repeat?: boolean;
427
- variant?: string[];
427
+ variants?: string[];
428
428
  };
429
429
  }) | ({
430
430
  type: "Number";
@@ -603,7 +603,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
603
603
  allowTargetBlank?: boolean;
604
604
  allowText?: boolean;
605
605
  repeat?: boolean;
606
- variant?: string[];
606
+ variants?: string[];
607
607
  };
608
608
  }) | ({
609
609
  type: "Number";
@@ -772,7 +772,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
772
772
  allowTargetBlank?: boolean;
773
773
  allowText?: boolean;
774
774
  repeat?: boolean;
775
- variant?: string[];
775
+ variants?: string[];
776
776
  };
777
777
  }) | ({
778
778
  type: "Number";
@@ -942,7 +942,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
942
942
  allowTargetBlank?: boolean;
943
943
  allowText?: boolean;
944
944
  repeat?: boolean;
945
- variant?: string[];
945
+ variants?: string[];
946
946
  };
947
947
  }) | ({
948
948
  type: "Number";
@@ -1104,7 +1104,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1104
1104
  allowTargetBlank?: boolean;
1105
1105
  allowText?: boolean;
1106
1106
  repeat?: boolean;
1107
- variant?: string[];
1107
+ variants?: string[];
1108
1108
  };
1109
1109
  }) | ({
1110
1110
  type: "Number";
@@ -1282,7 +1282,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1282
1282
  allowTargetBlank?: boolean;
1283
1283
  allowText?: boolean;
1284
1284
  repeat?: boolean;
1285
- variant?: string[];
1285
+ variants?: string[];
1286
1286
  };
1287
1287
  }) | ({
1288
1288
  type: "Number";
@@ -1451,7 +1451,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1451
1451
  allowTargetBlank?: boolean;
1452
1452
  allowText?: boolean;
1453
1453
  repeat?: boolean;
1454
- variant?: string[];
1454
+ variants?: string[];
1455
1455
  };
1456
1456
  }) | ({
1457
1457
  type: "Number";
@@ -1620,7 +1620,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1620
1620
  allowTargetBlank?: boolean;
1621
1621
  allowText?: boolean;
1622
1622
  repeat?: boolean;
1623
- variant?: string[];
1623
+ variants?: string[];
1624
1624
  };
1625
1625
  }) | ({
1626
1626
  type: "Number";
@@ -1788,7 +1788,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1788
1788
  allowTargetBlank?: boolean;
1789
1789
  allowText?: boolean;
1790
1790
  repeat?: boolean;
1791
- variant?: string[];
1791
+ variants?: string[];
1792
1792
  };
1793
1793
  }) | ({
1794
1794
  type: "Number";
@@ -1969,7 +1969,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1969
1969
  allowTargetBlank?: boolean;
1970
1970
  allowText?: boolean;
1971
1971
  repeat?: boolean;
1972
- variant?: string[];
1972
+ variants?: string[];
1973
1973
  };
1974
1974
  }) | ({
1975
1975
  type: "Number";
@@ -2138,7 +2138,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2138
2138
  allowTargetBlank?: boolean;
2139
2139
  allowText?: boolean;
2140
2140
  repeat?: boolean;
2141
- variant?: string[];
2141
+ variants?: string[];
2142
2142
  };
2143
2143
  }) | ({
2144
2144
  type: "Number";
@@ -2307,7 +2307,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2307
2307
  allowTargetBlank?: boolean;
2308
2308
  allowText?: boolean;
2309
2309
  repeat?: boolean;
2310
- variant?: string[];
2310
+ variants?: string[];
2311
2311
  };
2312
2312
  }) | ({
2313
2313
  type: "Number";
@@ -2486,7 +2486,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2486
2486
  allowTargetBlank?: boolean;
2487
2487
  allowText?: boolean;
2488
2488
  repeat?: boolean;
2489
- variant?: string[];
2489
+ variants?: string[];
2490
2490
  };
2491
2491
  }) | ({
2492
2492
  type: "Number";
@@ -2655,7 +2655,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2655
2655
  allowTargetBlank?: boolean;
2656
2656
  allowText?: boolean;
2657
2657
  repeat?: boolean;
2658
- variant?: string[];
2658
+ variants?: string[];
2659
2659
  };
2660
2660
  }) | ({
2661
2661
  type: "Number";
@@ -2825,7 +2825,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2825
2825
  allowTargetBlank?: boolean;
2826
2826
  allowText?: boolean;
2827
2827
  repeat?: boolean;
2828
- variant?: string[];
2828
+ variants?: string[];
2829
2829
  };
2830
2830
  }) | ({
2831
2831
  type: "Number";
@@ -2987,7 +2987,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2987
2987
  allowTargetBlank?: boolean;
2988
2988
  allowText?: boolean;
2989
2989
  repeat?: boolean;
2990
- variant?: string[];
2990
+ variants?: string[];
2991
2991
  };
2992
2992
  }) | ({
2993
2993
  type: "Number";
@@ -104,7 +104,7 @@ export declare const SliceComparator: {
104
104
  allowTargetBlank?: boolean;
105
105
  allowText?: boolean;
106
106
  repeat?: boolean;
107
- variant?: string[];
107
+ variants?: string[];
108
108
  };
109
109
  }) | ({
110
110
  type: "Number";
@@ -273,7 +273,7 @@ export declare const SliceComparator: {
273
273
  allowTargetBlank?: boolean;
274
274
  allowText?: boolean;
275
275
  repeat?: boolean;
276
- variant?: string[];
276
+ variants?: string[];
277
277
  };
278
278
  }) | ({
279
279
  type: "Number";
@@ -442,7 +442,7 @@ export declare const SliceComparator: {
442
442
  allowTargetBlank?: boolean;
443
443
  allowText?: boolean;
444
444
  repeat?: boolean;
445
- variant?: string[];
445
+ variants?: string[];
446
446
  };
447
447
  }) | ({
448
448
  type: "Number";
@@ -610,7 +610,7 @@ export declare const SliceComparator: {
610
610
  allowTargetBlank?: boolean;
611
611
  allowText?: boolean;
612
612
  repeat?: boolean;
613
- variant?: string[];
613
+ variants?: string[];
614
614
  };
615
615
  }) | ({
616
616
  type: "Number";
@@ -791,7 +791,7 @@ export declare const SliceComparator: {
791
791
  allowTargetBlank?: boolean;
792
792
  allowText?: boolean;
793
793
  repeat?: boolean;
794
- variant?: string[];
794
+ variants?: string[];
795
795
  };
796
796
  }) | ({
797
797
  type: "Number";
@@ -960,7 +960,7 @@ export declare const SliceComparator: {
960
960
  allowTargetBlank?: boolean;
961
961
  allowText?: boolean;
962
962
  repeat?: boolean;
963
- variant?: string[];
963
+ variants?: string[];
964
964
  };
965
965
  }) | ({
966
966
  type: "Number";
@@ -1129,7 +1129,7 @@ export declare const SliceComparator: {
1129
1129
  allowTargetBlank?: boolean;
1130
1130
  allowText?: boolean;
1131
1131
  repeat?: boolean;
1132
- variant?: string[];
1132
+ variants?: string[];
1133
1133
  };
1134
1134
  }) | ({
1135
1135
  type: "Number";
@@ -1297,7 +1297,7 @@ export declare const SliceComparator: {
1297
1297
  allowTargetBlank?: boolean;
1298
1298
  allowText?: boolean;
1299
1299
  repeat?: boolean;
1300
- variant?: string[];
1300
+ variants?: string[];
1301
1301
  };
1302
1302
  }) | ({
1303
1303
  type: "Number";
@@ -101,7 +101,7 @@ export declare const VariationComparator: {
101
101
  allowTargetBlank?: boolean;
102
102
  allowText?: boolean;
103
103
  repeat?: boolean;
104
- variant?: string[];
104
+ variants?: string[];
105
105
  };
106
106
  }) | ({
107
107
  type: "Number";
@@ -270,7 +270,7 @@ export declare const VariationComparator: {
270
270
  allowTargetBlank?: boolean;
271
271
  allowText?: boolean;
272
272
  repeat?: boolean;
273
- variant?: string[];
273
+ variants?: string[];
274
274
  };
275
275
  }) | ({
276
276
  type: "Number";
@@ -439,7 +439,7 @@ export declare const VariationComparator: {
439
439
  allowTargetBlank?: boolean;
440
440
  allowText?: boolean;
441
441
  repeat?: boolean;
442
- variant?: string[];
442
+ variants?: string[];
443
443
  };
444
444
  }) | ({
445
445
  type: "Number";
@@ -607,7 +607,7 @@ export declare const VariationComparator: {
607
607
  allowTargetBlank?: boolean;
608
608
  allowText?: boolean;
609
609
  repeat?: boolean;
610
- variant?: string[];
610
+ variants?: string[];
611
611
  };
612
612
  }) | ({
613
613
  type: "Number";
@@ -778,7 +778,7 @@ export declare const VariationComparator: {
778
778
  allowTargetBlank?: boolean;
779
779
  allowText?: boolean;
780
780
  repeat?: boolean;
781
- variant?: string[];
781
+ variants?: string[];
782
782
  };
783
783
  }) | ({
784
784
  type: "Number";
@@ -947,7 +947,7 @@ export declare const VariationComparator: {
947
947
  allowTargetBlank?: boolean;
948
948
  allowText?: boolean;
949
949
  repeat?: boolean;
950
- variant?: string[];
950
+ variants?: string[];
951
951
  };
952
952
  }) | ({
953
953
  type: "Number";
@@ -1116,7 +1116,7 @@ export declare const VariationComparator: {
1116
1116
  allowTargetBlank?: boolean;
1117
1117
  allowText?: boolean;
1118
1118
  repeat?: boolean;
1119
- variant?: string[];
1119
+ variants?: string[];
1120
1120
  };
1121
1121
  }) | ({
1122
1122
  type: "Number";
@@ -1284,7 +1284,7 @@ export declare const VariationComparator: {
1284
1284
  allowTargetBlank?: boolean;
1285
1285
  allowText?: boolean;
1286
1286
  repeat?: boolean;
1287
- variant?: string[];
1287
+ variants?: string[];
1288
1288
  };
1289
1289
  }) | ({
1290
1290
  type: "Number";
@@ -133,7 +133,7 @@ export declare const NestedGroupConfig: t.ExactC<t.PartialC<{
133
133
  allowTargetBlank: t.BooleanC;
134
134
  allowText: t.BooleanC;
135
135
  repeat: t.BooleanC;
136
- variant: t.ArrayC<t.StringC>;
136
+ variants: t.ArrayC<t.StringC>;
137
137
  }>>;
138
138
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
139
139
  type: t.LiteralC<"Image">;
@@ -304,7 +304,7 @@ export declare const NestedGroup: t.ExactC<t.IntersectionC<[t.TypeC<{
304
304
  allowTargetBlank: t.BooleanC;
305
305
  allowText: t.BooleanC;
306
306
  repeat: t.BooleanC;
307
- variant: t.ArrayC<t.StringC>;
307
+ variants: t.ArrayC<t.StringC>;
308
308
  }>>;
309
309
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
310
310
  type: t.LiteralC<"Image">;
@@ -470,7 +470,7 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
470
470
  allowTargetBlank: t.BooleanC;
471
471
  allowText: t.BooleanC;
472
472
  repeat: t.BooleanC;
473
- variant: t.ArrayC<t.StringC>;
473
+ variants: t.ArrayC<t.StringC>;
474
474
  }>>;
475
475
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
476
476
  type: t.LiteralC<"Image">;
@@ -638,7 +638,7 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
638
638
  allowTargetBlank: t.BooleanC;
639
639
  allowText: t.BooleanC;
640
640
  repeat: t.BooleanC;
641
- variant: t.ArrayC<t.StringC>;
641
+ variants: t.ArrayC<t.StringC>;
642
642
  }>>;
643
643
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
644
644
  type: t.LiteralC<"Image">;
@@ -811,7 +811,7 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
811
811
  allowTargetBlank: t.BooleanC;
812
812
  allowText: t.BooleanC;
813
813
  repeat: t.BooleanC;
814
- variant: t.ArrayC<t.StringC>;
814
+ variants: t.ArrayC<t.StringC>;
815
815
  }>>;
816
816
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
817
817
  type: t.LiteralC<"Image">;
@@ -979,7 +979,7 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
979
979
  allowTargetBlank: t.BooleanC;
980
980
  allowText: t.BooleanC;
981
981
  repeat: t.BooleanC;
982
- variant: t.ArrayC<t.StringC>;
982
+ variants: t.ArrayC<t.StringC>;
983
983
  }>>;
984
984
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
985
985
  type: t.LiteralC<"Image">;
@@ -140,7 +140,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
140
140
  allowTargetBlank: t.BooleanC;
141
141
  allowText: t.BooleanC;
142
142
  repeat: t.BooleanC;
143
- variant: t.ArrayC<t.StringC>;
143
+ variants: t.ArrayC<t.StringC>;
144
144
  }>>;
145
145
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
146
146
  type: t.LiteralC<"Image">;
@@ -308,7 +308,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
308
308
  allowTargetBlank: t.BooleanC;
309
309
  allowText: t.BooleanC;
310
310
  repeat: t.BooleanC;
311
- variant: t.ArrayC<t.StringC>;
311
+ variants: t.ArrayC<t.StringC>;
312
312
  }>>;
313
313
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
314
314
  type: t.LiteralC<"Image">;
@@ -476,7 +476,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
476
476
  allowTargetBlank: t.BooleanC;
477
477
  allowText: t.BooleanC;
478
478
  repeat: t.BooleanC;
479
- variant: t.ArrayC<t.StringC>;
479
+ variants: t.ArrayC<t.StringC>;
480
480
  }>>;
481
481
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
482
482
  type: t.LiteralC<"Image">;
@@ -649,7 +649,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
649
649
  allowTargetBlank: t.BooleanC;
650
650
  allowText: t.BooleanC;
651
651
  repeat: t.BooleanC;
652
- variant: t.ArrayC<t.StringC>;
652
+ variants: t.ArrayC<t.StringC>;
653
653
  }>>;
654
654
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
655
655
  type: t.LiteralC<"Image">;
@@ -817,7 +817,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
817
817
  allowTargetBlank: t.BooleanC;
818
818
  allowText: t.BooleanC;
819
819
  repeat: t.BooleanC;
820
- variant: t.ArrayC<t.StringC>;
820
+ variants: t.ArrayC<t.StringC>;
821
821
  }>>;
822
822
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
823
823
  type: t.LiteralC<"Image">;
@@ -985,7 +985,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
985
985
  allowTargetBlank: t.BooleanC;
986
986
  allowText: t.BooleanC;
987
987
  repeat: t.BooleanC;
988
- variant: t.ArrayC<t.StringC>;
988
+ variants: t.ArrayC<t.StringC>;
989
989
  }>>;
990
990
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
991
991
  type: t.LiteralC<"Image">;
@@ -1116,7 +1116,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1116
1116
  allowTargetBlank?: boolean;
1117
1117
  allowText?: boolean;
1118
1118
  repeat?: boolean;
1119
- variant?: string[];
1119
+ variants?: string[];
1120
1120
  };
1121
1121
  }) | ({
1122
1122
  type: "Number";
@@ -1285,7 +1285,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1285
1285
  allowTargetBlank?: boolean;
1286
1286
  allowText?: boolean;
1287
1287
  repeat?: boolean;
1288
- variant?: string[];
1288
+ variants?: string[];
1289
1289
  };
1290
1290
  }) | ({
1291
1291
  type: "Number";
@@ -1455,7 +1455,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1455
1455
  allowTargetBlank?: boolean;
1456
1456
  allowText?: boolean;
1457
1457
  repeat?: boolean;
1458
- variant?: string[];
1458
+ variants?: string[];
1459
1459
  };
1460
1460
  }) | ({
1461
1461
  type: "Number";
@@ -1617,7 +1617,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1617
1617
  allowTargetBlank?: boolean;
1618
1618
  allowText?: boolean;
1619
1619
  repeat?: boolean;
1620
- variant?: string[];
1620
+ variants?: string[];
1621
1621
  };
1622
1622
  }) | ({
1623
1623
  type: "Number";
@@ -1795,7 +1795,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1795
1795
  allowTargetBlank?: boolean;
1796
1796
  allowText?: boolean;
1797
1797
  repeat?: boolean;
1798
- variant?: string[];
1798
+ variants?: string[];
1799
1799
  };
1800
1800
  }) | ({
1801
1801
  type: "Number";
@@ -1964,7 +1964,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1964
1964
  allowTargetBlank?: boolean;
1965
1965
  allowText?: boolean;
1966
1966
  repeat?: boolean;
1967
- variant?: string[];
1967
+ variants?: string[];
1968
1968
  };
1969
1969
  }) | ({
1970
1970
  type: "Number";
@@ -2133,7 +2133,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2133
2133
  allowTargetBlank?: boolean;
2134
2134
  allowText?: boolean;
2135
2135
  repeat?: boolean;
2136
- variant?: string[];
2136
+ variants?: string[];
2137
2137
  };
2138
2138
  }) | ({
2139
2139
  type: "Number";
@@ -2301,7 +2301,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2301
2301
  allowTargetBlank?: boolean;
2302
2302
  allowText?: boolean;
2303
2303
  repeat?: boolean;
2304
- variant?: string[];
2304
+ variants?: string[];
2305
2305
  };
2306
2306
  }) | ({
2307
2307
  type: "Number";
@@ -2528,7 +2528,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2528
2528
  allowTargetBlank: t.BooleanC;
2529
2529
  allowText: t.BooleanC;
2530
2530
  repeat: t.BooleanC;
2531
- variant: t.ArrayC<t.StringC>;
2531
+ variants: t.ArrayC<t.StringC>;
2532
2532
  }>>;
2533
2533
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2534
2534
  type: t.LiteralC<"Image">;
@@ -2696,7 +2696,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2696
2696
  allowTargetBlank: t.BooleanC;
2697
2697
  allowText: t.BooleanC;
2698
2698
  repeat: t.BooleanC;
2699
- variant: t.ArrayC<t.StringC>;
2699
+ variants: t.ArrayC<t.StringC>;
2700
2700
  }>>;
2701
2701
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2702
2702
  type: t.LiteralC<"Image">;
@@ -2864,7 +2864,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2864
2864
  allowTargetBlank: t.BooleanC;
2865
2865
  allowText: t.BooleanC;
2866
2866
  repeat: t.BooleanC;
2867
- variant: t.ArrayC<t.StringC>;
2867
+ variants: t.ArrayC<t.StringC>;
2868
2868
  }>>;
2869
2869
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2870
2870
  type: t.LiteralC<"Image">;
@@ -2995,7 +2995,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2995
2995
  allowTargetBlank?: boolean;
2996
2996
  allowText?: boolean;
2997
2997
  repeat?: boolean;
2998
- variant?: string[];
2998
+ variants?: string[];
2999
2999
  };
3000
3000
  }) | ({
3001
3001
  type: "Number";
@@ -3164,7 +3164,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3164
3164
  allowTargetBlank?: boolean;
3165
3165
  allowText?: boolean;
3166
3166
  repeat?: boolean;
3167
- variant?: string[];
3167
+ variants?: string[];
3168
3168
  };
3169
3169
  }) | ({
3170
3170
  type: "Number";
@@ -3334,7 +3334,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3334
3334
  allowTargetBlank?: boolean;
3335
3335
  allowText?: boolean;
3336
3336
  repeat?: boolean;
3337
- variant?: string[];
3337
+ variants?: string[];
3338
3338
  };
3339
3339
  }) | ({
3340
3340
  type: "Number";
@@ -3496,7 +3496,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3496
3496
  allowTargetBlank?: boolean;
3497
3497
  allowText?: boolean;
3498
3498
  repeat?: boolean;
3499
- variant?: string[];
3499
+ variants?: string[];
3500
3500
  };
3501
3501
  }) | ({
3502
3502
  type: "Number";
@@ -15,7 +15,11 @@ export declare const LinkConfig: t.ExactC<t.PartialC<{
15
15
  * `undefined` means that the field is not repeatable (hence repeat = false).
16
16
  */
17
17
  repeat: t.BooleanC;
18
- variant: t.ArrayC<t.StringC>;
18
+ /**
19
+ * `variants` allows an option to be picked from a list (e.g. "primary"). To
20
+ * be considered, the list must have at least one item.
21
+ */
22
+ variants: t.ArrayC<t.StringC>;
19
23
  }>>;
20
24
  export declare type LinkConfig = t.TypeOf<typeof LinkConfig>;
21
25
  export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -37,7 +41,11 @@ export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
37
41
  * `undefined` means that the field is not repeatable (hence repeat = false).
38
42
  */
39
43
  repeat: t.BooleanC;
40
- variant: t.ArrayC<t.StringC>;
44
+ /**
45
+ * `variants` allows an option to be picked from a list (e.g. "primary"). To
46
+ * be considered, the list must have at least one item.
47
+ */
48
+ variants: t.ArrayC<t.StringC>;
41
49
  }>>;
42
50
  }>]>>;
43
51
  export declare type Link = t.TypeOf<typeof Link>;
@@ -48,7 +48,11 @@ exports.LinkConfig = t.exact(t.partial({
48
48
  * `undefined` means that the field is not repeatable (hence repeat = false).
49
49
  */
50
50
  repeat: t.boolean,
51
- variant: t.array(t.string),
51
+ /**
52
+ * `variants` allows an option to be picked from a list (e.g. "primary"). To
53
+ * be considered, the list must have at least one item.
54
+ */
55
+ variants: t.array(t.string),
52
56
  }));
53
57
  exports.Link = t.exact(t.intersection([
54
58
  t.type({
@@ -129,7 +129,7 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
129
129
  allowTargetBlank: t.BooleanC;
130
130
  allowText: t.BooleanC;
131
131
  repeat: t.BooleanC;
132
- variant: t.ArrayC<t.StringC>;
132
+ variants: t.ArrayC<t.StringC>;
133
133
  }>>;
134
134
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
135
135
  type: t.LiteralC<"Image">;
@@ -142,7 +142,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
142
142
  allowTargetBlank: t.BooleanC;
143
143
  allowText: t.BooleanC;
144
144
  repeat: t.BooleanC;
145
- variant: t.ArrayC<t.StringC>;
145
+ variants: t.ArrayC<t.StringC>;
146
146
  }>>;
147
147
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
148
148
  type: t.LiteralC<"Image">;
@@ -302,7 +302,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
302
302
  allowTargetBlank: t.BooleanC;
303
303
  allowText: t.BooleanC;
304
304
  repeat: t.BooleanC;
305
- variant: t.ArrayC<t.StringC>;
305
+ variants: t.ArrayC<t.StringC>;
306
306
  }>>;
307
307
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
308
308
  type: t.LiteralC<"Image">;
@@ -130,7 +130,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
130
130
  allowTargetBlank: t.BooleanC;
131
131
  allowText: t.BooleanC;
132
132
  repeat: t.BooleanC;
133
- variant: t.ArrayC<t.StringC>;
133
+ variants: t.ArrayC<t.StringC>;
134
134
  }>>;
135
135
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
136
136
  type: t.LiteralC<"Image">;
@@ -298,7 +298,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
298
298
  allowTargetBlank: t.BooleanC;
299
299
  allowText: t.BooleanC;
300
300
  repeat: t.BooleanC;
301
- variant: t.ArrayC<t.StringC>;
301
+ variants: t.ArrayC<t.StringC>;
302
302
  }>>;
303
303
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
304
304
  type: t.LiteralC<"Image">;
@@ -140,7 +140,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
140
140
  allowTargetBlank: t.BooleanC;
141
141
  allowText: t.BooleanC;
142
142
  repeat: t.BooleanC;
143
- variant: t.ArrayC<t.StringC>;
143
+ variants: t.ArrayC<t.StringC>;
144
144
  }>>;
145
145
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
146
146
  type: t.LiteralC<"Image">;
@@ -308,7 +308,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
308
308
  allowTargetBlank: t.BooleanC;
309
309
  allowText: t.BooleanC;
310
310
  repeat: t.BooleanC;
311
- variant: t.ArrayC<t.StringC>;
311
+ variants: t.ArrayC<t.StringC>;
312
312
  }>>;
313
313
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
314
314
  type: t.LiteralC<"Image">;
@@ -476,7 +476,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
476
476
  allowTargetBlank: t.BooleanC;
477
477
  allowText: t.BooleanC;
478
478
  repeat: t.BooleanC;
479
- variant: t.ArrayC<t.StringC>;
479
+ variants: t.ArrayC<t.StringC>;
480
480
  }>>;
481
481
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
482
482
  type: t.LiteralC<"Image">;
@@ -640,7 +640,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
640
640
  allowTargetBlank: t.BooleanC;
641
641
  allowText: t.BooleanC;
642
642
  repeat: t.BooleanC;
643
- variant: t.ArrayC<t.StringC>;
643
+ variants: t.ArrayC<t.StringC>;
644
644
  }>>;
645
645
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
646
646
  type: t.LiteralC<"Image">;
@@ -822,7 +822,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
822
822
  allowTargetBlank: t.BooleanC;
823
823
  allowText: t.BooleanC;
824
824
  repeat: t.BooleanC;
825
- variant: t.ArrayC<t.StringC>;
825
+ variants: t.ArrayC<t.StringC>;
826
826
  }>>;
827
827
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
828
828
  type: t.LiteralC<"Image">;
@@ -990,7 +990,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
990
990
  allowTargetBlank: t.BooleanC;
991
991
  allowText: t.BooleanC;
992
992
  repeat: t.BooleanC;
993
- variant: t.ArrayC<t.StringC>;
993
+ variants: t.ArrayC<t.StringC>;
994
994
  }>>;
995
995
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
996
996
  type: t.LiteralC<"Image">;
@@ -1158,7 +1158,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1158
1158
  allowTargetBlank: t.BooleanC;
1159
1159
  allowText: t.BooleanC;
1160
1160
  repeat: t.BooleanC;
1161
- variant: t.ArrayC<t.StringC>;
1161
+ variants: t.ArrayC<t.StringC>;
1162
1162
  }>>;
1163
1163
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1164
1164
  type: t.LiteralC<"Image">;
@@ -1322,7 +1322,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1322
1322
  allowTargetBlank: t.BooleanC;
1323
1323
  allowText: t.BooleanC;
1324
1324
  repeat: t.BooleanC;
1325
- variant: t.ArrayC<t.StringC>;
1325
+ variants: t.ArrayC<t.StringC>;
1326
1326
  }>>;
1327
1327
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1328
1328
  type: t.LiteralC<"Image">;
@@ -129,7 +129,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
129
129
  allowTargetBlank: t.BooleanC;
130
130
  allowText: t.BooleanC;
131
131
  repeat: t.BooleanC;
132
- variant: t.ArrayC<t.StringC>;
132
+ variants: t.ArrayC<t.StringC>;
133
133
  }>>;
134
134
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
135
135
  type: t.LiteralC<"Image">;
@@ -297,7 +297,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
297
297
  allowTargetBlank: t.BooleanC;
298
298
  allowText: t.BooleanC;
299
299
  repeat: t.BooleanC;
300
- variant: t.ArrayC<t.StringC>;
300
+ variants: t.ArrayC<t.StringC>;
301
301
  }>>;
302
302
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
303
303
  type: t.LiteralC<"Image">;
@@ -465,7 +465,7 @@ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.Intersec
465
465
  allowTargetBlank: t.BooleanC;
466
466
  allowText: t.BooleanC;
467
467
  repeat: t.BooleanC;
468
- variant: t.ArrayC<t.StringC>;
468
+ variants: t.ArrayC<t.StringC>;
469
469
  }>>;
470
470
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
471
471
  type: t.LiteralC<"Image">;
@@ -585,7 +585,7 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
585
585
  allowTargetBlank?: boolean;
586
586
  allowText?: boolean;
587
587
  repeat?: boolean;
588
- variant?: string[];
588
+ variants?: string[];
589
589
  };
590
590
  }) | ({
591
591
  type: "Number";
@@ -754,7 +754,7 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
754
754
  allowTargetBlank?: boolean;
755
755
  allowText?: boolean;
756
756
  repeat?: boolean;
757
- variant?: string[];
757
+ variants?: string[];
758
758
  };
759
759
  }) | ({
760
760
  type: "Number";
@@ -923,7 +923,7 @@ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
923
923
  allowTargetBlank?: boolean;
924
924
  allowText?: boolean;
925
925
  repeat?: boolean;
926
- variant?: string[];
926
+ variants?: string[];
927
927
  };
928
928
  }) | ({
929
929
  type: "Number";
@@ -146,7 +146,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
146
146
  allowTargetBlank: t.BooleanC;
147
147
  allowText: t.BooleanC;
148
148
  repeat: t.BooleanC;
149
- variant: t.ArrayC<t.StringC>;
149
+ variants: t.ArrayC<t.StringC>;
150
150
  }>>;
151
151
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
152
152
  type: t.LiteralC<"Image">;
@@ -314,7 +314,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
314
314
  allowTargetBlank: t.BooleanC;
315
315
  allowText: t.BooleanC;
316
316
  repeat: t.BooleanC;
317
- variant: t.ArrayC<t.StringC>;
317
+ variants: t.ArrayC<t.StringC>;
318
318
  }>>;
319
319
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
320
320
  type: t.LiteralC<"Image">;
@@ -482,7 +482,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
482
482
  allowTargetBlank: t.BooleanC;
483
483
  allowText: t.BooleanC;
484
484
  repeat: t.BooleanC;
485
- variant: t.ArrayC<t.StringC>;
485
+ variants: t.ArrayC<t.StringC>;
486
486
  }>>;
487
487
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
488
488
  type: t.LiteralC<"Image">;
@@ -642,7 +642,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
642
642
  allowTargetBlank: t.BooleanC;
643
643
  allowText: t.BooleanC;
644
644
  repeat: t.BooleanC;
645
- variant: t.ArrayC<t.StringC>;
645
+ variants: t.ArrayC<t.StringC>;
646
646
  }>>;
647
647
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
648
648
  type: t.LiteralC<"Image">;
@@ -814,7 +814,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
814
814
  allowTargetBlank: t.BooleanC;
815
815
  allowText: t.BooleanC;
816
816
  repeat: t.BooleanC;
817
- variant: t.ArrayC<t.StringC>;
817
+ variants: t.ArrayC<t.StringC>;
818
818
  }>>;
819
819
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
820
820
  type: t.LiteralC<"Image">;
@@ -982,7 +982,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
982
982
  allowTargetBlank: t.BooleanC;
983
983
  allowText: t.BooleanC;
984
984
  repeat: t.BooleanC;
985
- variant: t.ArrayC<t.StringC>;
985
+ variants: t.ArrayC<t.StringC>;
986
986
  }>>;
987
987
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
988
988
  type: t.LiteralC<"Image">;
@@ -1150,7 +1150,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1150
1150
  allowTargetBlank: t.BooleanC;
1151
1151
  allowText: t.BooleanC;
1152
1152
  repeat: t.BooleanC;
1153
- variant: t.ArrayC<t.StringC>;
1153
+ variants: t.ArrayC<t.StringC>;
1154
1154
  }>>;
1155
1155
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1156
1156
  type: t.LiteralC<"Image">;
@@ -1310,7 +1310,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1310
1310
  allowTargetBlank: t.BooleanC;
1311
1311
  allowText: t.BooleanC;
1312
1312
  repeat: t.BooleanC;
1313
- variant: t.ArrayC<t.StringC>;
1313
+ variants: t.ArrayC<t.StringC>;
1314
1314
  }>>;
1315
1315
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1316
1316
  type: t.LiteralC<"Image">;
@@ -1441,7 +1441,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1441
1441
  allowTargetBlank?: boolean;
1442
1442
  allowText?: boolean;
1443
1443
  repeat?: boolean;
1444
- variant?: string[];
1444
+ variants?: string[];
1445
1445
  };
1446
1446
  }) | ({
1447
1447
  type: "Number";
@@ -1610,7 +1610,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1610
1610
  allowTargetBlank?: boolean;
1611
1611
  allowText?: boolean;
1612
1612
  repeat?: boolean;
1613
- variant?: string[];
1613
+ variants?: string[];
1614
1614
  };
1615
1615
  }) | ({
1616
1616
  type: "Number";
@@ -1779,7 +1779,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1779
1779
  allowTargetBlank?: boolean;
1780
1780
  allowText?: boolean;
1781
1781
  repeat?: boolean;
1782
- variant?: string[];
1782
+ variants?: string[];
1783
1783
  };
1784
1784
  }) | ({
1785
1785
  type: "Number";
@@ -1947,7 +1947,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1947
1947
  allowTargetBlank?: boolean;
1948
1948
  allowText?: boolean;
1949
1949
  repeat?: boolean;
1950
- variant?: string[];
1950
+ variants?: string[];
1951
1951
  };
1952
1952
  }) | ({
1953
1953
  type: "Number";
@@ -2170,7 +2170,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2170
2170
  allowTargetBlank: t.BooleanC;
2171
2171
  allowText: t.BooleanC;
2172
2172
  repeat: t.BooleanC;
2173
- variant: t.ArrayC<t.StringC>;
2173
+ variants: t.ArrayC<t.StringC>;
2174
2174
  }>>;
2175
2175
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2176
2176
  type: t.LiteralC<"Image">;
@@ -2338,7 +2338,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2338
2338
  allowTargetBlank: t.BooleanC;
2339
2339
  allowText: t.BooleanC;
2340
2340
  repeat: t.BooleanC;
2341
- variant: t.ArrayC<t.StringC>;
2341
+ variants: t.ArrayC<t.StringC>;
2342
2342
  }>>;
2343
2343
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2344
2344
  type: t.LiteralC<"Image">;
@@ -2506,7 +2506,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2506
2506
  allowTargetBlank: t.BooleanC;
2507
2507
  allowText: t.BooleanC;
2508
2508
  repeat: t.BooleanC;
2509
- variant: t.ArrayC<t.StringC>;
2509
+ variants: t.ArrayC<t.StringC>;
2510
2510
  }>>;
2511
2511
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2512
2512
  type: t.LiteralC<"Image">;
@@ -2666,7 +2666,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2666
2666
  allowTargetBlank: t.BooleanC;
2667
2667
  allowText: t.BooleanC;
2668
2668
  repeat: t.BooleanC;
2669
- variant: t.ArrayC<t.StringC>;
2669
+ variants: t.ArrayC<t.StringC>;
2670
2670
  }>>;
2671
2671
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2672
2672
  type: t.LiteralC<"Image">;
@@ -2814,7 +2814,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2814
2814
  allowTargetBlank?: boolean;
2815
2815
  allowText?: boolean;
2816
2816
  repeat?: boolean;
2817
- variant?: string[];
2817
+ variants?: string[];
2818
2818
  };
2819
2819
  }) | ({
2820
2820
  type: "Number";
@@ -2983,7 +2983,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2983
2983
  allowTargetBlank?: boolean;
2984
2984
  allowText?: boolean;
2985
2985
  repeat?: boolean;
2986
- variant?: string[];
2986
+ variants?: string[];
2987
2987
  };
2988
2988
  }) | ({
2989
2989
  type: "Number";
@@ -3153,7 +3153,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3153
3153
  allowTargetBlank?: boolean;
3154
3154
  allowText?: boolean;
3155
3155
  repeat?: boolean;
3156
- variant?: string[];
3156
+ variants?: string[];
3157
3157
  };
3158
3158
  }) | ({
3159
3159
  type: "Number";
@@ -3315,7 +3315,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3315
3315
  allowTargetBlank?: boolean;
3316
3316
  allowText?: boolean;
3317
3317
  repeat?: boolean;
3318
- variant?: string[];
3318
+ variants?: string[];
3319
3319
  };
3320
3320
  }) | ({
3321
3321
  type: "Number";
@@ -3493,7 +3493,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3493
3493
  allowTargetBlank?: boolean;
3494
3494
  allowText?: boolean;
3495
3495
  repeat?: boolean;
3496
- variant?: string[];
3496
+ variants?: string[];
3497
3497
  };
3498
3498
  }) | ({
3499
3499
  type: "Number";
@@ -3662,7 +3662,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3662
3662
  allowTargetBlank?: boolean;
3663
3663
  allowText?: boolean;
3664
3664
  repeat?: boolean;
3665
- variant?: string[];
3665
+ variants?: string[];
3666
3666
  };
3667
3667
  }) | ({
3668
3668
  type: "Number";
@@ -3831,7 +3831,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3831
3831
  allowTargetBlank?: boolean;
3832
3832
  allowText?: boolean;
3833
3833
  repeat?: boolean;
3834
- variant?: string[];
3834
+ variants?: string[];
3835
3835
  };
3836
3836
  }) | ({
3837
3837
  type: "Number";
@@ -3999,7 +3999,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3999
3999
  allowTargetBlank?: boolean;
4000
4000
  allowText?: boolean;
4001
4001
  repeat?: boolean;
4002
- variant?: string[];
4002
+ variants?: string[];
4003
4003
  };
4004
4004
  }) | ({
4005
4005
  type: "Number";
@@ -4188,7 +4188,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4188
4188
  allowTargetBlank?: boolean;
4189
4189
  allowText?: boolean;
4190
4190
  repeat?: boolean;
4191
- variant?: string[];
4191
+ variants?: string[];
4192
4192
  };
4193
4193
  }) | ({
4194
4194
  type: "Number";
@@ -4357,7 +4357,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4357
4357
  allowTargetBlank?: boolean;
4358
4358
  allowText?: boolean;
4359
4359
  repeat?: boolean;
4360
- variant?: string[];
4360
+ variants?: string[];
4361
4361
  };
4362
4362
  }) | ({
4363
4363
  type: "Number";
@@ -4527,7 +4527,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4527
4527
  allowTargetBlank?: boolean;
4528
4528
  allowText?: boolean;
4529
4529
  repeat?: boolean;
4530
- variant?: string[];
4530
+ variants?: string[];
4531
4531
  };
4532
4532
  }) | ({
4533
4533
  type: "Number";
@@ -4689,7 +4689,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4689
4689
  allowTargetBlank?: boolean;
4690
4690
  allowText?: boolean;
4691
4691
  repeat?: boolean;
4692
- variant?: string[];
4692
+ variants?: string[];
4693
4693
  };
4694
4694
  }) | ({
4695
4695
  type: "Number";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismicio/types-internal",
3
- "version": "3.3.0-alpha.1",
3
+ "version": "3.3.0-alpha.2",
4
4
  "description": "Prismic types for Custom Types and Prismic Data",
5
5
  "keywords": [
6
6
  "typescript",
@@ -86,7 +86,11 @@ export const LinkConfig = t.exact(
86
86
  */
87
87
  repeat: t.boolean,
88
88
 
89
- variant: t.array(t.string),
89
+ /**
90
+ * `variants` allows an option to be picked from a list (e.g. "primary"). To
91
+ * be considered, the list must have at least one item.
92
+ */
93
+ variants: t.array(t.string),
90
94
  }),
91
95
  )
92
96
  export type LinkConfig = t.TypeOf<typeof LinkConfig>