@prismicio/types-internal 3.3.0-alpha.0 → 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.
@@ -101,10 +101,7 @@ export declare const VariationComparator: {
101
101
  allowTargetBlank?: boolean;
102
102
  allowText?: boolean;
103
103
  repeat?: boolean;
104
- variant?: {
105
- options: string[];
106
- default_value: string;
107
- };
104
+ variants?: string[];
108
105
  };
109
106
  }) | ({
110
107
  type: "Number";
@@ -273,10 +270,7 @@ export declare const VariationComparator: {
273
270
  allowTargetBlank?: boolean;
274
271
  allowText?: boolean;
275
272
  repeat?: boolean;
276
- variant?: {
277
- options: string[];
278
- default_value: string;
279
- };
273
+ variants?: string[];
280
274
  };
281
275
  }) | ({
282
276
  type: "Number";
@@ -445,10 +439,7 @@ export declare const VariationComparator: {
445
439
  allowTargetBlank?: boolean;
446
440
  allowText?: boolean;
447
441
  repeat?: boolean;
448
- variant?: {
449
- options: string[];
450
- default_value: string;
451
- };
442
+ variants?: string[];
452
443
  };
453
444
  }) | ({
454
445
  type: "Number";
@@ -616,10 +607,7 @@ export declare const VariationComparator: {
616
607
  allowTargetBlank?: boolean;
617
608
  allowText?: boolean;
618
609
  repeat?: boolean;
619
- variant?: {
620
- options: string[];
621
- default_value: string;
622
- };
610
+ variants?: string[];
623
611
  };
624
612
  }) | ({
625
613
  type: "Number";
@@ -790,10 +778,7 @@ export declare const VariationComparator: {
790
778
  allowTargetBlank?: boolean;
791
779
  allowText?: boolean;
792
780
  repeat?: boolean;
793
- variant?: {
794
- options: string[];
795
- default_value: string;
796
- };
781
+ variants?: string[];
797
782
  };
798
783
  }) | ({
799
784
  type: "Number";
@@ -962,10 +947,7 @@ export declare const VariationComparator: {
962
947
  allowTargetBlank?: boolean;
963
948
  allowText?: boolean;
964
949
  repeat?: boolean;
965
- variant?: {
966
- options: string[];
967
- default_value: string;
968
- };
950
+ variants?: string[];
969
951
  };
970
952
  }) | ({
971
953
  type: "Number";
@@ -1134,10 +1116,7 @@ export declare const VariationComparator: {
1134
1116
  allowTargetBlank?: boolean;
1135
1117
  allowText?: boolean;
1136
1118
  repeat?: boolean;
1137
- variant?: {
1138
- options: string[];
1139
- default_value: string;
1140
- };
1119
+ variants?: string[];
1141
1120
  };
1142
1121
  }) | ({
1143
1122
  type: "Number";
@@ -1305,10 +1284,7 @@ export declare const VariationComparator: {
1305
1284
  allowTargetBlank?: boolean;
1306
1285
  allowText?: boolean;
1307
1286
  repeat?: boolean;
1308
- variant?: {
1309
- options: string[];
1310
- default_value: string;
1311
- };
1287
+ variants?: string[];
1312
1288
  };
1313
1289
  }) | ({
1314
1290
  type: "Number";
@@ -133,10 +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.ExactC<t.TypeC<{
137
- options: t.ArrayC<t.StringC>;
138
- default_value: t.StringC;
139
- }>>;
136
+ variants: t.ArrayC<t.StringC>;
140
137
  }>>;
141
138
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
142
139
  type: t.LiteralC<"Image">;
@@ -307,10 +304,7 @@ export declare const NestedGroup: t.ExactC<t.IntersectionC<[t.TypeC<{
307
304
  allowTargetBlank: t.BooleanC;
308
305
  allowText: t.BooleanC;
309
306
  repeat: t.BooleanC;
310
- variant: t.ExactC<t.TypeC<{
311
- options: t.ArrayC<t.StringC>;
312
- default_value: t.StringC;
313
- }>>;
307
+ variants: t.ArrayC<t.StringC>;
314
308
  }>>;
315
309
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
316
310
  type: t.LiteralC<"Image">;
@@ -476,10 +470,7 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
476
470
  allowTargetBlank: t.BooleanC;
477
471
  allowText: t.BooleanC;
478
472
  repeat: t.BooleanC;
479
- variant: t.ExactC<t.TypeC<{
480
- options: t.ArrayC<t.StringC>;
481
- default_value: t.StringC;
482
- }>>;
473
+ variants: t.ArrayC<t.StringC>;
483
474
  }>>;
484
475
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
485
476
  type: t.LiteralC<"Image">;
@@ -647,10 +638,7 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
647
638
  allowTargetBlank: t.BooleanC;
648
639
  allowText: t.BooleanC;
649
640
  repeat: t.BooleanC;
650
- variant: t.ExactC<t.TypeC<{
651
- options: t.ArrayC<t.StringC>;
652
- default_value: t.StringC;
653
- }>>;
641
+ variants: t.ArrayC<t.StringC>;
654
642
  }>>;
655
643
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
656
644
  type: t.LiteralC<"Image">;
@@ -823,10 +811,7 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
823
811
  allowTargetBlank: t.BooleanC;
824
812
  allowText: t.BooleanC;
825
813
  repeat: t.BooleanC;
826
- variant: t.ExactC<t.TypeC<{
827
- options: t.ArrayC<t.StringC>;
828
- default_value: t.StringC;
829
- }>>;
814
+ variants: t.ArrayC<t.StringC>;
830
815
  }>>;
831
816
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
832
817
  type: t.LiteralC<"Image">;
@@ -994,10 +979,7 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
994
979
  allowTargetBlank: t.BooleanC;
995
980
  allowText: t.BooleanC;
996
981
  repeat: t.BooleanC;
997
- variant: t.ExactC<t.TypeC<{
998
- options: t.ArrayC<t.StringC>;
999
- default_value: t.StringC;
1000
- }>>;
982
+ variants: t.ArrayC<t.StringC>;
1001
983
  }>>;
1002
984
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1003
985
  type: t.LiteralC<"Image">;
@@ -140,10 +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.ExactC<t.TypeC<{
144
- options: t.ArrayC<t.StringC>;
145
- default_value: t.StringC;
146
- }>>;
143
+ variants: t.ArrayC<t.StringC>;
147
144
  }>>;
148
145
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
149
146
  type: t.LiteralC<"Image">;
@@ -311,10 +308,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
311
308
  allowTargetBlank: t.BooleanC;
312
309
  allowText: t.BooleanC;
313
310
  repeat: t.BooleanC;
314
- variant: t.ExactC<t.TypeC<{
315
- options: t.ArrayC<t.StringC>;
316
- default_value: t.StringC;
317
- }>>;
311
+ variants: t.ArrayC<t.StringC>;
318
312
  }>>;
319
313
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
320
314
  type: t.LiteralC<"Image">;
@@ -482,10 +476,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
482
476
  allowTargetBlank: t.BooleanC;
483
477
  allowText: t.BooleanC;
484
478
  repeat: t.BooleanC;
485
- variant: t.ExactC<t.TypeC<{
486
- options: t.ArrayC<t.StringC>;
487
- default_value: t.StringC;
488
- }>>;
479
+ variants: t.ArrayC<t.StringC>;
489
480
  }>>;
490
481
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
491
482
  type: t.LiteralC<"Image">;
@@ -658,10 +649,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
658
649
  allowTargetBlank: t.BooleanC;
659
650
  allowText: t.BooleanC;
660
651
  repeat: t.BooleanC;
661
- variant: t.ExactC<t.TypeC<{
662
- options: t.ArrayC<t.StringC>;
663
- default_value: t.StringC;
664
- }>>;
652
+ variants: t.ArrayC<t.StringC>;
665
653
  }>>;
666
654
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
667
655
  type: t.LiteralC<"Image">;
@@ -829,10 +817,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
829
817
  allowTargetBlank: t.BooleanC;
830
818
  allowText: t.BooleanC;
831
819
  repeat: t.BooleanC;
832
- variant: t.ExactC<t.TypeC<{
833
- options: t.ArrayC<t.StringC>;
834
- default_value: t.StringC;
835
- }>>;
820
+ variants: t.ArrayC<t.StringC>;
836
821
  }>>;
837
822
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
838
823
  type: t.LiteralC<"Image">;
@@ -1000,10 +985,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1000
985
  allowTargetBlank: t.BooleanC;
1001
986
  allowText: t.BooleanC;
1002
987
  repeat: t.BooleanC;
1003
- variant: t.ExactC<t.TypeC<{
1004
- options: t.ArrayC<t.StringC>;
1005
- default_value: t.StringC;
1006
- }>>;
988
+ variants: t.ArrayC<t.StringC>;
1007
989
  }>>;
1008
990
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1009
991
  type: t.LiteralC<"Image">;
@@ -1134,10 +1116,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1134
1116
  allowTargetBlank?: boolean;
1135
1117
  allowText?: boolean;
1136
1118
  repeat?: boolean;
1137
- variant?: {
1138
- options: string[];
1139
- default_value: string;
1140
- };
1119
+ variants?: string[];
1141
1120
  };
1142
1121
  }) | ({
1143
1122
  type: "Number";
@@ -1306,10 +1285,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1306
1285
  allowTargetBlank?: boolean;
1307
1286
  allowText?: boolean;
1308
1287
  repeat?: boolean;
1309
- variant?: {
1310
- options: string[];
1311
- default_value: string;
1312
- };
1288
+ variants?: string[];
1313
1289
  };
1314
1290
  }) | ({
1315
1291
  type: "Number";
@@ -1479,10 +1455,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1479
1455
  allowTargetBlank?: boolean;
1480
1456
  allowText?: boolean;
1481
1457
  repeat?: boolean;
1482
- variant?: {
1483
- options: string[];
1484
- default_value: string;
1485
- };
1458
+ variants?: string[];
1486
1459
  };
1487
1460
  }) | ({
1488
1461
  type: "Number";
@@ -1644,10 +1617,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1644
1617
  allowTargetBlank?: boolean;
1645
1618
  allowText?: boolean;
1646
1619
  repeat?: boolean;
1647
- variant?: {
1648
- options: string[];
1649
- default_value: string;
1650
- };
1620
+ variants?: string[];
1651
1621
  };
1652
1622
  }) | ({
1653
1623
  type: "Number";
@@ -1825,10 +1795,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1825
1795
  allowTargetBlank?: boolean;
1826
1796
  allowText?: boolean;
1827
1797
  repeat?: boolean;
1828
- variant?: {
1829
- options: string[];
1830
- default_value: string;
1831
- };
1798
+ variants?: string[];
1832
1799
  };
1833
1800
  }) | ({
1834
1801
  type: "Number";
@@ -1997,10 +1964,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1997
1964
  allowTargetBlank?: boolean;
1998
1965
  allowText?: boolean;
1999
1966
  repeat?: boolean;
2000
- variant?: {
2001
- options: string[];
2002
- default_value: string;
2003
- };
1967
+ variants?: string[];
2004
1968
  };
2005
1969
  }) | ({
2006
1970
  type: "Number";
@@ -2169,10 +2133,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2169
2133
  allowTargetBlank?: boolean;
2170
2134
  allowText?: boolean;
2171
2135
  repeat?: boolean;
2172
- variant?: {
2173
- options: string[];
2174
- default_value: string;
2175
- };
2136
+ variants?: string[];
2176
2137
  };
2177
2138
  }) | ({
2178
2139
  type: "Number";
@@ -2340,10 +2301,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2340
2301
  allowTargetBlank?: boolean;
2341
2302
  allowText?: boolean;
2342
2303
  repeat?: boolean;
2343
- variant?: {
2344
- options: string[];
2345
- default_value: string;
2346
- };
2304
+ variants?: string[];
2347
2305
  };
2348
2306
  }) | ({
2349
2307
  type: "Number";
@@ -2570,10 +2528,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2570
2528
  allowTargetBlank: t.BooleanC;
2571
2529
  allowText: t.BooleanC;
2572
2530
  repeat: t.BooleanC;
2573
- variant: t.ExactC<t.TypeC<{
2574
- options: t.ArrayC<t.StringC>;
2575
- default_value: t.StringC;
2576
- }>>;
2531
+ variants: t.ArrayC<t.StringC>;
2577
2532
  }>>;
2578
2533
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2579
2534
  type: t.LiteralC<"Image">;
@@ -2741,10 +2696,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2741
2696
  allowTargetBlank: t.BooleanC;
2742
2697
  allowText: t.BooleanC;
2743
2698
  repeat: t.BooleanC;
2744
- variant: t.ExactC<t.TypeC<{
2745
- options: t.ArrayC<t.StringC>;
2746
- default_value: t.StringC;
2747
- }>>;
2699
+ variants: t.ArrayC<t.StringC>;
2748
2700
  }>>;
2749
2701
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2750
2702
  type: t.LiteralC<"Image">;
@@ -2912,10 +2864,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2912
2864
  allowTargetBlank: t.BooleanC;
2913
2865
  allowText: t.BooleanC;
2914
2866
  repeat: t.BooleanC;
2915
- variant: t.ExactC<t.TypeC<{
2916
- options: t.ArrayC<t.StringC>;
2917
- default_value: t.StringC;
2918
- }>>;
2867
+ variants: t.ArrayC<t.StringC>;
2919
2868
  }>>;
2920
2869
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2921
2870
  type: t.LiteralC<"Image">;
@@ -3046,10 +2995,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3046
2995
  allowTargetBlank?: boolean;
3047
2996
  allowText?: boolean;
3048
2997
  repeat?: boolean;
3049
- variant?: {
3050
- options: string[];
3051
- default_value: string;
3052
- };
2998
+ variants?: string[];
3053
2999
  };
3054
3000
  }) | ({
3055
3001
  type: "Number";
@@ -3218,10 +3164,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3218
3164
  allowTargetBlank?: boolean;
3219
3165
  allowText?: boolean;
3220
3166
  repeat?: boolean;
3221
- variant?: {
3222
- options: string[];
3223
- default_value: string;
3224
- };
3167
+ variants?: string[];
3225
3168
  };
3226
3169
  }) | ({
3227
3170
  type: "Number";
@@ -3391,10 +3334,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3391
3334
  allowTargetBlank?: boolean;
3392
3335
  allowText?: boolean;
3393
3336
  repeat?: boolean;
3394
- variant?: {
3395
- options: string[];
3396
- default_value: string;
3397
- };
3337
+ variants?: string[];
3398
3338
  };
3399
3339
  }) | ({
3400
3340
  type: "Number";
@@ -3556,10 +3496,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
3556
3496
  allowTargetBlank?: boolean;
3557
3497
  allowText?: boolean;
3558
3498
  repeat?: boolean;
3559
- variant?: {
3560
- options: string[];
3561
- default_value: string;
3562
- };
3499
+ variants?: string[];
3563
3500
  };
3564
3501
  }) | ({
3565
3502
  type: "Number";
@@ -15,10 +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.ExactC<t.TypeC<{
19
- options: t.ArrayC<t.StringC>;
20
- default_value: t.StringC;
21
- }>>;
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>;
22
23
  }>>;
23
24
  export declare type LinkConfig = t.TypeOf<typeof LinkConfig>;
24
25
  export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -40,10 +41,11 @@ export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
40
41
  * `undefined` means that the field is not repeatable (hence repeat = false).
41
42
  */
42
43
  repeat: t.BooleanC;
43
- variant: t.ExactC<t.TypeC<{
44
- options: t.ArrayC<t.StringC>;
45
- default_value: t.StringC;
46
- }>>;
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>;
47
49
  }>>;
48
50
  }>]>>;
49
51
  export declare type Link = t.TypeOf<typeof Link>;
@@ -48,10 +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.strict({
52
- options: t.array(t.string),
53
- default_value: t.string,
54
- }),
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),
55
56
  }));
56
57
  exports.Link = t.exact(t.intersection([
57
58
  t.type({
@@ -129,10 +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.ExactC<t.TypeC<{
133
- options: t.ArrayC<t.StringC>;
134
- default_value: t.StringC;
135
- }>>;
132
+ variants: t.ArrayC<t.StringC>;
136
133
  }>>;
137
134
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
138
135
  type: t.LiteralC<"Image">;
@@ -142,10 +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.ExactC<t.TypeC<{
146
- options: t.ArrayC<t.StringC>;
147
- default_value: t.StringC;
148
- }>>;
145
+ variants: t.ArrayC<t.StringC>;
149
146
  }>>;
150
147
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
151
148
  type: t.LiteralC<"Image">;
@@ -305,10 +302,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
305
302
  allowTargetBlank: t.BooleanC;
306
303
  allowText: t.BooleanC;
307
304
  repeat: t.BooleanC;
308
- variant: t.ExactC<t.TypeC<{
309
- options: t.ArrayC<t.StringC>;
310
- default_value: t.StringC;
311
- }>>;
305
+ variants: t.ArrayC<t.StringC>;
312
306
  }>>;
313
307
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
314
308
  type: t.LiteralC<"Image">;
@@ -130,10 +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.ExactC<t.TypeC<{
134
- options: t.ArrayC<t.StringC>;
135
- default_value: t.StringC;
136
- }>>;
133
+ variants: t.ArrayC<t.StringC>;
137
134
  }>>;
138
135
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
139
136
  type: t.LiteralC<"Image">;
@@ -301,10 +298,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
301
298
  allowTargetBlank: t.BooleanC;
302
299
  allowText: t.BooleanC;
303
300
  repeat: t.BooleanC;
304
- variant: t.ExactC<t.TypeC<{
305
- options: t.ArrayC<t.StringC>;
306
- default_value: t.StringC;
307
- }>>;
301
+ variants: t.ArrayC<t.StringC>;
308
302
  }>>;
309
303
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
310
304
  type: t.LiteralC<"Image">;
@@ -140,10 +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.ExactC<t.TypeC<{
144
- options: t.ArrayC<t.StringC>;
145
- default_value: t.StringC;
146
- }>>;
143
+ variants: t.ArrayC<t.StringC>;
147
144
  }>>;
148
145
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
149
146
  type: t.LiteralC<"Image">;
@@ -311,10 +308,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
311
308
  allowTargetBlank: t.BooleanC;
312
309
  allowText: t.BooleanC;
313
310
  repeat: t.BooleanC;
314
- variant: t.ExactC<t.TypeC<{
315
- options: t.ArrayC<t.StringC>;
316
- default_value: t.StringC;
317
- }>>;
311
+ variants: t.ArrayC<t.StringC>;
318
312
  }>>;
319
313
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
320
314
  type: t.LiteralC<"Image">;
@@ -482,10 +476,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
482
476
  allowTargetBlank: t.BooleanC;
483
477
  allowText: t.BooleanC;
484
478
  repeat: t.BooleanC;
485
- variant: t.ExactC<t.TypeC<{
486
- options: t.ArrayC<t.StringC>;
487
- default_value: t.StringC;
488
- }>>;
479
+ variants: t.ArrayC<t.StringC>;
489
480
  }>>;
490
481
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
491
482
  type: t.LiteralC<"Image">;
@@ -649,10 +640,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
649
640
  allowTargetBlank: t.BooleanC;
650
641
  allowText: t.BooleanC;
651
642
  repeat: t.BooleanC;
652
- variant: t.ExactC<t.TypeC<{
653
- options: t.ArrayC<t.StringC>;
654
- default_value: t.StringC;
655
- }>>;
643
+ variants: t.ArrayC<t.StringC>;
656
644
  }>>;
657
645
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
658
646
  type: t.LiteralC<"Image">;
@@ -834,10 +822,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
834
822
  allowTargetBlank: t.BooleanC;
835
823
  allowText: t.BooleanC;
836
824
  repeat: t.BooleanC;
837
- variant: t.ExactC<t.TypeC<{
838
- options: t.ArrayC<t.StringC>;
839
- default_value: t.StringC;
840
- }>>;
825
+ variants: t.ArrayC<t.StringC>;
841
826
  }>>;
842
827
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
843
828
  type: t.LiteralC<"Image">;
@@ -1005,10 +990,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1005
990
  allowTargetBlank: t.BooleanC;
1006
991
  allowText: t.BooleanC;
1007
992
  repeat: t.BooleanC;
1008
- variant: t.ExactC<t.TypeC<{
1009
- options: t.ArrayC<t.StringC>;
1010
- default_value: t.StringC;
1011
- }>>;
993
+ variants: t.ArrayC<t.StringC>;
1012
994
  }>>;
1013
995
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1014
996
  type: t.LiteralC<"Image">;
@@ -1176,10 +1158,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1176
1158
  allowTargetBlank: t.BooleanC;
1177
1159
  allowText: t.BooleanC;
1178
1160
  repeat: t.BooleanC;
1179
- variant: t.ExactC<t.TypeC<{
1180
- options: t.ArrayC<t.StringC>;
1181
- default_value: t.StringC;
1182
- }>>;
1161
+ variants: t.ArrayC<t.StringC>;
1183
1162
  }>>;
1184
1163
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1185
1164
  type: t.LiteralC<"Image">;
@@ -1343,10 +1322,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
1343
1322
  allowTargetBlank: t.BooleanC;
1344
1323
  allowText: t.BooleanC;
1345
1324
  repeat: t.BooleanC;
1346
- variant: t.ExactC<t.TypeC<{
1347
- options: t.ArrayC<t.StringC>;
1348
- default_value: t.StringC;
1349
- }>>;
1325
+ variants: t.ArrayC<t.StringC>;
1350
1326
  }>>;
1351
1327
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1352
1328
  type: t.LiteralC<"Image">;