@prismicio/types-internal 2.7.0-alpha.2 → 2.7.0-alpha.4

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.
Files changed (36) hide show
  1. package/lib/content/Document.d.ts +1783 -859
  2. package/lib/content/fields/WidgetContent.d.ts +1782 -858
  3. package/lib/content/fields/nestable/LinkContent.d.ts +207 -90
  4. package/lib/content/fields/nestable/LinkContent.js +93 -48
  5. package/lib/content/fields/nestable/NestableContent.d.ts +297 -143
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +546 -249
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +270 -130
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +594 -286
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +135 -65
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +594 -286
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +297 -143
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +297 -143
  13. package/lib/content/fields/slices/Slice/index.d.ts +1080 -520
  14. package/lib/content/fields/slices/SliceItem.d.ts +1080 -520
  15. package/lib/content/fields/slices/SlicesContent.d.ts +1485 -715
  16. package/lib/customtypes/CustomType.d.ts +180 -342
  17. package/lib/customtypes/Section.d.ts +180 -342
  18. package/lib/customtypes/diff/SharedSlice.d.ts +80 -152
  19. package/lib/customtypes/diff/Variation.d.ts +80 -152
  20. package/lib/customtypes/widgets/Group.d.ts +6 -60
  21. package/lib/customtypes/widgets/Widget.d.ts +129 -318
  22. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -20
  23. package/lib/customtypes/widgets/nestable/Link.js +1 -2
  24. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -10
  25. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -20
  26. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -20
  27. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -80
  28. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +33 -87
  29. package/lib/customtypes/widgets/slices/Slices.d.ts +172 -424
  30. package/package.json +1 -1
  31. package/src/content/fields/nestable/LinkContent.ts +118 -58
  32. package/src/customtypes/widgets/nestable/Link.ts +1 -2
  33. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
  34. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  35. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
  36. package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
@@ -144,16 +144,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
144
144
  masks: t.Type<readonly string[], object, unknown>;
145
145
  tags: t.Type<readonly string[], object, unknown>;
146
146
  allowTargetBlank: t.BooleanC;
147
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
148
- type: t.LiteralC<"Text">;
149
- }>, t.PartialC<{
150
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
151
- config: t.ExactC<t.PartialC<{
152
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
153
- useAsTitle: t.BooleanC;
154
- placeholder: t.StringC;
155
- }>>;
156
- }>]>>;
147
+ allowText: t.BooleanC;
157
148
  }>>;
158
149
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
159
150
  type: t.LiteralC<"Image">;
@@ -319,16 +310,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
319
310
  masks: t.Type<readonly string[], object, unknown>;
320
311
  tags: t.Type<readonly string[], object, unknown>;
321
312
  allowTargetBlank: t.BooleanC;
322
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
323
- type: t.LiteralC<"Text">;
324
- }>, t.PartialC<{
325
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
326
- config: t.ExactC<t.PartialC<{
327
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
328
- useAsTitle: t.BooleanC;
329
- placeholder: t.StringC;
330
- }>>;
331
- }>]>>;
313
+ allowText: t.BooleanC;
332
314
  }>>;
333
315
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
334
316
  type: t.LiteralC<"Image">;
@@ -494,16 +476,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
494
476
  masks: t.Type<readonly string[], object, unknown>;
495
477
  tags: t.Type<readonly string[], object, unknown>;
496
478
  allowTargetBlank: t.BooleanC;
497
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
498
- type: t.LiteralC<"Text">;
499
- }>, t.PartialC<{
500
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
501
- config: t.ExactC<t.PartialC<{
502
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
503
- useAsTitle: t.BooleanC;
504
- placeholder: t.StringC;
505
- }>>;
506
- }>]>>;
479
+ allowText: t.BooleanC;
507
480
  }>>;
508
481
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
509
482
  type: t.LiteralC<"Image">;
@@ -661,16 +634,7 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
661
634
  masks: t.Type<readonly string[], object, unknown>;
662
635
  tags: t.Type<readonly string[], object, unknown>;
663
636
  allowTargetBlank: t.BooleanC;
664
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
665
- type: t.LiteralC<"Text">;
666
- }>, t.PartialC<{
667
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
668
- config: t.ExactC<t.PartialC<{
669
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
670
- useAsTitle: t.BooleanC;
671
- placeholder: t.StringC;
672
- }>>;
673
- }>]>>;
637
+ allowText: t.BooleanC;
674
638
  }>>;
675
639
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
676
640
  type: t.LiteralC<"Image">;
@@ -840,16 +804,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
840
804
  masks: t.Type<readonly string[], object, unknown>;
841
805
  tags: t.Type<readonly string[], object, unknown>;
842
806
  allowTargetBlank: t.BooleanC;
843
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
844
- type: t.LiteralC<"Text">;
845
- }>, t.PartialC<{
846
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
847
- config: t.ExactC<t.PartialC<{
848
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
849
- useAsTitle: t.BooleanC;
850
- placeholder: t.StringC;
851
- }>>;
852
- }>]>>;
807
+ allowText: t.BooleanC;
853
808
  }>>;
854
809
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
855
810
  type: t.LiteralC<"Image">;
@@ -1015,16 +970,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1015
970
  masks: t.Type<readonly string[], object, unknown>;
1016
971
  tags: t.Type<readonly string[], object, unknown>;
1017
972
  allowTargetBlank: t.BooleanC;
1018
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
1019
- type: t.LiteralC<"Text">;
1020
- }>, t.PartialC<{
1021
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1022
- config: t.ExactC<t.PartialC<{
1023
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1024
- useAsTitle: t.BooleanC;
1025
- placeholder: t.StringC;
1026
- }>>;
1027
- }>]>>;
973
+ allowText: t.BooleanC;
1028
974
  }>>;
1029
975
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1030
976
  type: t.LiteralC<"Image">;
@@ -1190,16 +1136,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1190
1136
  masks: t.Type<readonly string[], object, unknown>;
1191
1137
  tags: t.Type<readonly string[], object, unknown>;
1192
1138
  allowTargetBlank: t.BooleanC;
1193
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
1194
- type: t.LiteralC<"Text">;
1195
- }>, t.PartialC<{
1196
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1197
- config: t.ExactC<t.PartialC<{
1198
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1199
- useAsTitle: t.BooleanC;
1200
- placeholder: t.StringC;
1201
- }>>;
1202
- }>]>>;
1139
+ allowText: t.BooleanC;
1203
1140
  }>>;
1204
1141
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1205
1142
  type: t.LiteralC<"Image">;
@@ -1357,16 +1294,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1357
1294
  masks: t.Type<readonly string[], object, unknown>;
1358
1295
  tags: t.Type<readonly string[], object, unknown>;
1359
1296
  allowTargetBlank: t.BooleanC;
1360
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
1361
- type: t.LiteralC<"Text">;
1362
- }>, t.PartialC<{
1363
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1364
- config: t.ExactC<t.PartialC<{
1365
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1366
- useAsTitle: t.BooleanC;
1367
- placeholder: t.StringC;
1368
- }>>;
1369
- }>]>>;
1297
+ allowText: t.BooleanC;
1370
1298
  }>>;
1371
1299
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1372
1300
  type: t.LiteralC<"Image">;
@@ -1482,15 +1410,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1482
1410
  placeholder?: string;
1483
1411
  catalog?: string;
1484
1412
  };
1485
- }) | ({
1486
- type: "Text";
1487
- } & {
1488
- fieldset?: string | null | undefined;
1489
- config?: {
1490
- label?: string | null | undefined;
1491
- useAsTitle?: boolean;
1492
- placeholder?: string;
1493
- };
1494
1413
  }) | ({
1495
1414
  type: "Link";
1496
1415
  } & {
@@ -1504,16 +1423,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1504
1423
  masks?: readonly string[];
1505
1424
  tags?: readonly string[];
1506
1425
  allowTargetBlank?: boolean;
1507
- text?: {
1508
- type: "Text";
1509
- } & {
1510
- fieldset?: string | null | undefined;
1511
- config?: {
1512
- label?: string | null | undefined;
1513
- useAsTitle?: boolean;
1514
- placeholder?: string;
1515
- };
1516
- };
1426
+ allowText?: boolean;
1517
1427
  };
1518
1428
  }) | ({
1519
1429
  type: "Number";
@@ -1570,6 +1480,15 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1570
1480
  config?: {
1571
1481
  label?: string | null | undefined;
1572
1482
  };
1483
+ }) | ({
1484
+ type: "Text";
1485
+ } & {
1486
+ fieldset?: string | null | undefined;
1487
+ config?: {
1488
+ label?: string | null | undefined;
1489
+ useAsTitle?: boolean;
1490
+ placeholder?: string;
1491
+ };
1573
1492
  }) | ({
1574
1493
  type: "Timestamp";
1575
1494
  } & {
@@ -1658,15 +1577,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1658
1577
  placeholder?: string;
1659
1578
  catalog?: string;
1660
1579
  };
1661
- }) | ({
1662
- type: "Text";
1663
- } & {
1664
- fieldset?: string | null | undefined;
1665
- config?: {
1666
- label?: string | null | undefined;
1667
- useAsTitle?: boolean;
1668
- placeholder?: string;
1669
- };
1670
1580
  }) | ({
1671
1581
  type: "Link";
1672
1582
  } & {
@@ -1680,16 +1590,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1680
1590
  masks?: readonly string[];
1681
1591
  tags?: readonly string[];
1682
1592
  allowTargetBlank?: boolean;
1683
- text?: {
1684
- type: "Text";
1685
- } & {
1686
- fieldset?: string | null | undefined;
1687
- config?: {
1688
- label?: string | null | undefined;
1689
- useAsTitle?: boolean;
1690
- placeholder?: string;
1691
- };
1692
- };
1593
+ allowText?: boolean;
1693
1594
  };
1694
1595
  }) | ({
1695
1596
  type: "Number";
@@ -1746,6 +1647,15 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1746
1647
  config?: {
1747
1648
  label?: string | null | undefined;
1748
1649
  };
1650
+ }) | ({
1651
+ type: "Text";
1652
+ } & {
1653
+ fieldset?: string | null | undefined;
1654
+ config?: {
1655
+ label?: string | null | undefined;
1656
+ useAsTitle?: boolean;
1657
+ placeholder?: string;
1658
+ };
1749
1659
  }) | ({
1750
1660
  type: "Timestamp";
1751
1661
  } & {
@@ -1834,15 +1744,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1834
1744
  placeholder?: string;
1835
1745
  catalog?: string;
1836
1746
  };
1837
- }) | ({
1838
- type: "Text";
1839
- } & {
1840
- fieldset?: string | null | undefined;
1841
- config?: {
1842
- label?: string | null | undefined;
1843
- useAsTitle?: boolean;
1844
- placeholder?: string;
1845
- };
1846
1747
  }) | ({
1847
1748
  type: "Link";
1848
1749
  } & {
@@ -1856,16 +1757,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1856
1757
  masks?: readonly string[];
1857
1758
  tags?: readonly string[];
1858
1759
  allowTargetBlank?: boolean;
1859
- text?: {
1860
- type: "Text";
1861
- } & {
1862
- fieldset?: string | null | undefined;
1863
- config?: {
1864
- label?: string | null | undefined;
1865
- useAsTitle?: boolean;
1866
- placeholder?: string;
1867
- };
1868
- };
1760
+ allowText?: boolean;
1869
1761
  };
1870
1762
  }) | ({
1871
1763
  type: "Number";
@@ -1922,6 +1814,15 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1922
1814
  config?: {
1923
1815
  label?: string | null | undefined;
1924
1816
  };
1817
+ }) | ({
1818
+ type: "Text";
1819
+ } & {
1820
+ fieldset?: string | null | undefined;
1821
+ config?: {
1822
+ label?: string | null | undefined;
1823
+ useAsTitle?: boolean;
1824
+ placeholder?: string;
1825
+ };
1925
1826
  }) | ({
1926
1827
  type: "Timestamp";
1927
1828
  } & {
@@ -2009,15 +1910,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
2009
1910
  placeholder?: string;
2010
1911
  catalog?: string;
2011
1912
  };
2012
- }) | ({
2013
- type: "Text";
2014
- } & {
2015
- fieldset?: string | null | undefined;
2016
- config?: {
2017
- label?: string | null | undefined;
2018
- useAsTitle?: boolean;
2019
- placeholder?: string;
2020
- };
2021
1913
  }) | ({
2022
1914
  type: "Link";
2023
1915
  } & {
@@ -2031,16 +1923,7 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
2031
1923
  masks?: readonly string[];
2032
1924
  tags?: readonly string[];
2033
1925
  allowTargetBlank?: boolean;
2034
- text?: {
2035
- type: "Text";
2036
- } & {
2037
- fieldset?: string | null | undefined;
2038
- config?: {
2039
- label?: string | null | undefined;
2040
- useAsTitle?: boolean;
2041
- placeholder?: string;
2042
- };
2043
- };
1926
+ allowText?: boolean;
2044
1927
  };
2045
1928
  }) | ({
2046
1929
  type: "Number";
@@ -2097,6 +1980,15 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
2097
1980
  config?: {
2098
1981
  label?: string | null | undefined;
2099
1982
  };
1983
+ }) | ({
1984
+ type: "Text";
1985
+ } & {
1986
+ fieldset?: string | null | undefined;
1987
+ config?: {
1988
+ label?: string | null | undefined;
1989
+ useAsTitle?: boolean;
1990
+ placeholder?: string;
1991
+ };
2100
1992
  }) | ({
2101
1993
  type: "Timestamp";
2102
1994
  } & {
@@ -2252,16 +2144,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2252
2144
  masks: t.Type<readonly string[], object, unknown>;
2253
2145
  tags: t.Type<readonly string[], object, unknown>;
2254
2146
  allowTargetBlank: t.BooleanC;
2255
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2256
- type: t.LiteralC<"Text">;
2257
- }>, t.PartialC<{
2258
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2259
- config: t.ExactC<t.PartialC<{
2260
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2261
- useAsTitle: t.BooleanC;
2262
- placeholder: t.StringC;
2263
- }>>;
2264
- }>]>>;
2147
+ allowText: t.BooleanC;
2265
2148
  }>>;
2266
2149
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2267
2150
  type: t.LiteralC<"Image">;
@@ -2427,16 +2310,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2427
2310
  masks: t.Type<readonly string[], object, unknown>;
2428
2311
  tags: t.Type<readonly string[], object, unknown>;
2429
2312
  allowTargetBlank: t.BooleanC;
2430
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2431
- type: t.LiteralC<"Text">;
2432
- }>, t.PartialC<{
2433
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2434
- config: t.ExactC<t.PartialC<{
2435
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2436
- useAsTitle: t.BooleanC;
2437
- placeholder: t.StringC;
2438
- }>>;
2439
- }>]>>;
2313
+ allowText: t.BooleanC;
2440
2314
  }>>;
2441
2315
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2442
2316
  type: t.LiteralC<"Image">;
@@ -2602,16 +2476,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2602
2476
  masks: t.Type<readonly string[], object, unknown>;
2603
2477
  tags: t.Type<readonly string[], object, unknown>;
2604
2478
  allowTargetBlank: t.BooleanC;
2605
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2606
- type: t.LiteralC<"Text">;
2607
- }>, t.PartialC<{
2608
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2609
- config: t.ExactC<t.PartialC<{
2610
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2611
- useAsTitle: t.BooleanC;
2612
- placeholder: t.StringC;
2613
- }>>;
2614
- }>]>>;
2479
+ allowText: t.BooleanC;
2615
2480
  }>>;
2616
2481
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2617
2482
  type: t.LiteralC<"Image">;
@@ -2769,16 +2634,7 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2769
2634
  masks: t.Type<readonly string[], object, unknown>;
2770
2635
  tags: t.Type<readonly string[], object, unknown>;
2771
2636
  allowTargetBlank: t.BooleanC;
2772
- text: t.ExactC<t.IntersectionC<[t.TypeC<{
2773
- type: t.LiteralC<"Text">;
2774
- }>, t.PartialC<{
2775
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2776
- config: t.ExactC<t.PartialC<{
2777
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2778
- useAsTitle: t.BooleanC;
2779
- placeholder: t.StringC;
2780
- }>>;
2781
- }>]>>;
2637
+ allowText: t.BooleanC;
2782
2638
  }>>;
2783
2639
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2784
2640
  type: t.LiteralC<"Image">;
@@ -2911,15 +2767,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2911
2767
  placeholder?: string;
2912
2768
  catalog?: string;
2913
2769
  };
2914
- }) | ({
2915
- type: "Text";
2916
- } & {
2917
- fieldset?: string | null | undefined;
2918
- config?: {
2919
- label?: string | null | undefined;
2920
- useAsTitle?: boolean;
2921
- placeholder?: string;
2922
- };
2923
2770
  }) | ({
2924
2771
  type: "Link";
2925
2772
  } & {
@@ -2933,16 +2780,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2933
2780
  masks?: readonly string[];
2934
2781
  tags?: readonly string[];
2935
2782
  allowTargetBlank?: boolean;
2936
- text?: {
2937
- type: "Text";
2938
- } & {
2939
- fieldset?: string | null | undefined;
2940
- config?: {
2941
- label?: string | null | undefined;
2942
- useAsTitle?: boolean;
2943
- placeholder?: string;
2944
- };
2945
- };
2783
+ allowText?: boolean;
2946
2784
  };
2947
2785
  }) | ({
2948
2786
  type: "Number";
@@ -2999,6 +2837,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2999
2837
  config?: {
3000
2838
  label?: string | null | undefined;
3001
2839
  };
2840
+ }) | ({
2841
+ type: "Text";
2842
+ } & {
2843
+ fieldset?: string | null | undefined;
2844
+ config?: {
2845
+ label?: string | null | undefined;
2846
+ useAsTitle?: boolean;
2847
+ placeholder?: string;
2848
+ };
3002
2849
  }) | ({
3003
2850
  type: "Timestamp";
3004
2851
  } & {
@@ -3087,15 +2934,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3087
2934
  placeholder?: string;
3088
2935
  catalog?: string;
3089
2936
  };
3090
- }) | ({
3091
- type: "Text";
3092
- } & {
3093
- fieldset?: string | null | undefined;
3094
- config?: {
3095
- label?: string | null | undefined;
3096
- useAsTitle?: boolean;
3097
- placeholder?: string;
3098
- };
3099
2937
  }) | ({
3100
2938
  type: "Link";
3101
2939
  } & {
@@ -3109,16 +2947,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3109
2947
  masks?: readonly string[];
3110
2948
  tags?: readonly string[];
3111
2949
  allowTargetBlank?: boolean;
3112
- text?: {
3113
- type: "Text";
3114
- } & {
3115
- fieldset?: string | null | undefined;
3116
- config?: {
3117
- label?: string | null | undefined;
3118
- useAsTitle?: boolean;
3119
- placeholder?: string;
3120
- };
3121
- };
2950
+ allowText?: boolean;
3122
2951
  };
3123
2952
  }) | ({
3124
2953
  type: "Number";
@@ -3175,6 +3004,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3175
3004
  config?: {
3176
3005
  label?: string | null | undefined;
3177
3006
  };
3007
+ }) | ({
3008
+ type: "Text";
3009
+ } & {
3010
+ fieldset?: string | null | undefined;
3011
+ config?: {
3012
+ label?: string | null | undefined;
3013
+ useAsTitle?: boolean;
3014
+ placeholder?: string;
3015
+ };
3178
3016
  }) | ({
3179
3017
  type: "Timestamp";
3180
3018
  } & {
@@ -3264,15 +3102,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3264
3102
  placeholder?: string;
3265
3103
  catalog?: string;
3266
3104
  };
3267
- }) | ({
3268
- type: "Text";
3269
- } & {
3270
- fieldset?: string | null | undefined;
3271
- config?: {
3272
- label?: string | null | undefined;
3273
- useAsTitle?: boolean;
3274
- placeholder?: string;
3275
- };
3276
3105
  }) | ({
3277
3106
  type: "Link";
3278
3107
  } & {
@@ -3286,16 +3115,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3286
3115
  masks?: readonly string[];
3287
3116
  tags?: readonly string[];
3288
3117
  allowTargetBlank?: boolean;
3289
- text?: {
3290
- type: "Text";
3291
- } & {
3292
- fieldset?: string | null | undefined;
3293
- config?: {
3294
- label?: string | null | undefined;
3295
- useAsTitle?: boolean;
3296
- placeholder?: string;
3297
- };
3298
- };
3118
+ allowText?: boolean;
3299
3119
  };
3300
3120
  }) | ({
3301
3121
  type: "Number";
@@ -3352,6 +3172,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3352
3172
  config?: {
3353
3173
  label?: string | null | undefined;
3354
3174
  };
3175
+ }) | ({
3176
+ type: "Text";
3177
+ } & {
3178
+ fieldset?: string | null | undefined;
3179
+ config?: {
3180
+ label?: string | null | undefined;
3181
+ useAsTitle?: boolean;
3182
+ placeholder?: string;
3183
+ };
3355
3184
  }) | ({
3356
3185
  type: "Timestamp";
3357
3186
  } & {
@@ -3433,15 +3262,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3433
3262
  placeholder?: string;
3434
3263
  catalog?: string;
3435
3264
  };
3436
- }) | ({
3437
- type: "Text";
3438
- } & {
3439
- fieldset?: string | null | undefined;
3440
- config?: {
3441
- label?: string | null | undefined;
3442
- useAsTitle?: boolean;
3443
- placeholder?: string;
3444
- };
3445
3265
  }) | ({
3446
3266
  type: "Link";
3447
3267
  } & {
@@ -3455,16 +3275,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3455
3275
  masks?: readonly string[];
3456
3276
  tags?: readonly string[];
3457
3277
  allowTargetBlank?: boolean;
3458
- text?: {
3459
- type: "Text";
3460
- } & {
3461
- fieldset?: string | null | undefined;
3462
- config?: {
3463
- label?: string | null | undefined;
3464
- useAsTitle?: boolean;
3465
- placeholder?: string;
3466
- };
3467
- };
3278
+ allowText?: boolean;
3468
3279
  };
3469
3280
  }) | ({
3470
3281
  type: "Number";
@@ -3521,6 +3332,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3521
3332
  config?: {
3522
3333
  label?: string | null | undefined;
3523
3334
  };
3335
+ }) | ({
3336
+ type: "Text";
3337
+ } & {
3338
+ fieldset?: string | null | undefined;
3339
+ config?: {
3340
+ label?: string | null | undefined;
3341
+ useAsTitle?: boolean;
3342
+ placeholder?: string;
3343
+ };
3524
3344
  }) | ({
3525
3345
  type: "Timestamp";
3526
3346
  } & {
@@ -3618,15 +3438,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3618
3438
  placeholder?: string;
3619
3439
  catalog?: string;
3620
3440
  };
3621
- }) | ({
3622
- type: "Text";
3623
- } & {
3624
- fieldset?: string | null | undefined;
3625
- config?: {
3626
- label?: string | null | undefined;
3627
- useAsTitle?: boolean;
3628
- placeholder?: string;
3629
- };
3630
3441
  }) | ({
3631
3442
  type: "Link";
3632
3443
  } & {
@@ -3640,16 +3451,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3640
3451
  masks?: readonly string[];
3641
3452
  tags?: readonly string[];
3642
3453
  allowTargetBlank?: boolean;
3643
- text?: {
3644
- type: "Text";
3645
- } & {
3646
- fieldset?: string | null | undefined;
3647
- config?: {
3648
- label?: string | null | undefined;
3649
- useAsTitle?: boolean;
3650
- placeholder?: string;
3651
- };
3652
- };
3454
+ allowText?: boolean;
3653
3455
  };
3654
3456
  }) | ({
3655
3457
  type: "Number";
@@ -3706,6 +3508,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3706
3508
  config?: {
3707
3509
  label?: string | null | undefined;
3708
3510
  };
3511
+ }) | ({
3512
+ type: "Text";
3513
+ } & {
3514
+ fieldset?: string | null | undefined;
3515
+ config?: {
3516
+ label?: string | null | undefined;
3517
+ useAsTitle?: boolean;
3518
+ placeholder?: string;
3519
+ };
3709
3520
  }) | ({
3710
3521
  type: "Timestamp";
3711
3522
  } & {
@@ -3794,15 +3605,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3794
3605
  placeholder?: string;
3795
3606
  catalog?: string;
3796
3607
  };
3797
- }) | ({
3798
- type: "Text";
3799
- } & {
3800
- fieldset?: string | null | undefined;
3801
- config?: {
3802
- label?: string | null | undefined;
3803
- useAsTitle?: boolean;
3804
- placeholder?: string;
3805
- };
3806
3608
  }) | ({
3807
3609
  type: "Link";
3808
3610
  } & {
@@ -3816,16 +3618,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3816
3618
  masks?: readonly string[];
3817
3619
  tags?: readonly string[];
3818
3620
  allowTargetBlank?: boolean;
3819
- text?: {
3820
- type: "Text";
3821
- } & {
3822
- fieldset?: string | null | undefined;
3823
- config?: {
3824
- label?: string | null | undefined;
3825
- useAsTitle?: boolean;
3826
- placeholder?: string;
3827
- };
3828
- };
3621
+ allowText?: boolean;
3829
3622
  };
3830
3623
  }) | ({
3831
3624
  type: "Number";
@@ -3882,6 +3675,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3882
3675
  config?: {
3883
3676
  label?: string | null | undefined;
3884
3677
  };
3678
+ }) | ({
3679
+ type: "Text";
3680
+ } & {
3681
+ fieldset?: string | null | undefined;
3682
+ config?: {
3683
+ label?: string | null | undefined;
3684
+ useAsTitle?: boolean;
3685
+ placeholder?: string;
3686
+ };
3885
3687
  }) | ({
3886
3688
  type: "Timestamp";
3887
3689
  } & {
@@ -3970,15 +3772,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3970
3772
  placeholder?: string;
3971
3773
  catalog?: string;
3972
3774
  };
3973
- }) | ({
3974
- type: "Text";
3975
- } & {
3976
- fieldset?: string | null | undefined;
3977
- config?: {
3978
- label?: string | null | undefined;
3979
- useAsTitle?: boolean;
3980
- placeholder?: string;
3981
- };
3982
3775
  }) | ({
3983
3776
  type: "Link";
3984
3777
  } & {
@@ -3992,16 +3785,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3992
3785
  masks?: readonly string[];
3993
3786
  tags?: readonly string[];
3994
3787
  allowTargetBlank?: boolean;
3995
- text?: {
3996
- type: "Text";
3997
- } & {
3998
- fieldset?: string | null | undefined;
3999
- config?: {
4000
- label?: string | null | undefined;
4001
- useAsTitle?: boolean;
4002
- placeholder?: string;
4003
- };
4004
- };
3788
+ allowText?: boolean;
4005
3789
  };
4006
3790
  }) | ({
4007
3791
  type: "Number";
@@ -4058,6 +3842,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4058
3842
  config?: {
4059
3843
  label?: string | null | undefined;
4060
3844
  };
3845
+ }) | ({
3846
+ type: "Text";
3847
+ } & {
3848
+ fieldset?: string | null | undefined;
3849
+ config?: {
3850
+ label?: string | null | undefined;
3851
+ useAsTitle?: boolean;
3852
+ placeholder?: string;
3853
+ };
4061
3854
  }) | ({
4062
3855
  type: "Timestamp";
4063
3856
  } & {
@@ -4145,15 +3938,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4145
3938
  placeholder?: string;
4146
3939
  catalog?: string;
4147
3940
  };
4148
- }) | ({
4149
- type: "Text";
4150
- } & {
4151
- fieldset?: string | null | undefined;
4152
- config?: {
4153
- label?: string | null | undefined;
4154
- useAsTitle?: boolean;
4155
- placeholder?: string;
4156
- };
4157
3941
  }) | ({
4158
3942
  type: "Link";
4159
3943
  } & {
@@ -4167,16 +3951,7 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4167
3951
  masks?: readonly string[];
4168
3952
  tags?: readonly string[];
4169
3953
  allowTargetBlank?: boolean;
4170
- text?: {
4171
- type: "Text";
4172
- } & {
4173
- fieldset?: string | null | undefined;
4174
- config?: {
4175
- label?: string | null | undefined;
4176
- useAsTitle?: boolean;
4177
- placeholder?: string;
4178
- };
4179
- };
3954
+ allowText?: boolean;
4180
3955
  };
4181
3956
  }) | ({
4182
3957
  type: "Number";
@@ -4233,6 +4008,15 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4233
4008
  config?: {
4234
4009
  label?: string | null | undefined;
4235
4010
  };
4011
+ }) | ({
4012
+ type: "Text";
4013
+ } & {
4014
+ fieldset?: string | null | undefined;
4015
+ config?: {
4016
+ label?: string | null | undefined;
4017
+ useAsTitle?: boolean;
4018
+ placeholder?: string;
4019
+ };
4236
4020
  }) | ({
4237
4021
  type: "Timestamp";
4238
4022
  } & {
@@ -4341,15 +4125,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4341
4125
  placeholder?: string;
4342
4126
  catalog?: string;
4343
4127
  };
4344
- }) | ({
4345
- type: "Text";
4346
- } & {
4347
- fieldset?: string | null | undefined;
4348
- config?: {
4349
- label?: string | null | undefined;
4350
- useAsTitle?: boolean;
4351
- placeholder?: string;
4352
- };
4353
4128
  }) | ({
4354
4129
  type: "Link";
4355
4130
  } & {
@@ -4363,16 +4138,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4363
4138
  masks?: readonly string[];
4364
4139
  tags?: readonly string[];
4365
4140
  allowTargetBlank?: boolean;
4366
- text?: {
4367
- type: "Text";
4368
- } & {
4369
- fieldset?: string | null | undefined;
4370
- config?: {
4371
- label?: string | null | undefined;
4372
- useAsTitle?: boolean;
4373
- placeholder?: string;
4374
- };
4375
- };
4141
+ allowText?: boolean;
4376
4142
  };
4377
4143
  }) | ({
4378
4144
  type: "Number";
@@ -4429,6 +4195,15 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4429
4195
  config?: {
4430
4196
  label?: string | null | undefined;
4431
4197
  };
4198
+ }) | ({
4199
+ type: "Text";
4200
+ } & {
4201
+ fieldset?: string | null | undefined;
4202
+ config?: {
4203
+ label?: string | null | undefined;
4204
+ useAsTitle?: boolean;
4205
+ placeholder?: string;
4206
+ };
4432
4207
  }) | ({
4433
4208
  type: "Timestamp";
4434
4209
  } & {
@@ -4517,15 +4292,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4517
4292
  placeholder?: string;
4518
4293
  catalog?: string;
4519
4294
  };
4520
- }) | ({
4521
- type: "Text";
4522
- } & {
4523
- fieldset?: string | null | undefined;
4524
- config?: {
4525
- label?: string | null | undefined;
4526
- useAsTitle?: boolean;
4527
- placeholder?: string;
4528
- };
4529
4295
  }) | ({
4530
4296
  type: "Link";
4531
4297
  } & {
@@ -4539,16 +4305,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4539
4305
  masks?: readonly string[];
4540
4306
  tags?: readonly string[];
4541
4307
  allowTargetBlank?: boolean;
4542
- text?: {
4543
- type: "Text";
4544
- } & {
4545
- fieldset?: string | null | undefined;
4546
- config?: {
4547
- label?: string | null | undefined;
4548
- useAsTitle?: boolean;
4549
- placeholder?: string;
4550
- };
4551
- };
4308
+ allowText?: boolean;
4552
4309
  };
4553
4310
  }) | ({
4554
4311
  type: "Number";
@@ -4605,6 +4362,15 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4605
4362
  config?: {
4606
4363
  label?: string | null | undefined;
4607
4364
  };
4365
+ }) | ({
4366
+ type: "Text";
4367
+ } & {
4368
+ fieldset?: string | null | undefined;
4369
+ config?: {
4370
+ label?: string | null | undefined;
4371
+ useAsTitle?: boolean;
4372
+ placeholder?: string;
4373
+ };
4608
4374
  }) | ({
4609
4375
  type: "Timestamp";
4610
4376
  } & {
@@ -4694,15 +4460,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4694
4460
  placeholder?: string;
4695
4461
  catalog?: string;
4696
4462
  };
4697
- }) | ({
4698
- type: "Text";
4699
- } & {
4700
- fieldset?: string | null | undefined;
4701
- config?: {
4702
- label?: string | null | undefined;
4703
- useAsTitle?: boolean;
4704
- placeholder?: string;
4705
- };
4706
4463
  }) | ({
4707
4464
  type: "Link";
4708
4465
  } & {
@@ -4716,16 +4473,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4716
4473
  masks?: readonly string[];
4717
4474
  tags?: readonly string[];
4718
4475
  allowTargetBlank?: boolean;
4719
- text?: {
4720
- type: "Text";
4721
- } & {
4722
- fieldset?: string | null | undefined;
4723
- config?: {
4724
- label?: string | null | undefined;
4725
- useAsTitle?: boolean;
4726
- placeholder?: string;
4727
- };
4728
- };
4476
+ allowText?: boolean;
4729
4477
  };
4730
4478
  }) | ({
4731
4479
  type: "Number";
@@ -4782,6 +4530,15 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4782
4530
  config?: {
4783
4531
  label?: string | null | undefined;
4784
4532
  };
4533
+ }) | ({
4534
+ type: "Text";
4535
+ } & {
4536
+ fieldset?: string | null | undefined;
4537
+ config?: {
4538
+ label?: string | null | undefined;
4539
+ useAsTitle?: boolean;
4540
+ placeholder?: string;
4541
+ };
4785
4542
  }) | ({
4786
4543
  type: "Timestamp";
4787
4544
  } & {
@@ -4863,15 +4620,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4863
4620
  placeholder?: string;
4864
4621
  catalog?: string;
4865
4622
  };
4866
- }) | ({
4867
- type: "Text";
4868
- } & {
4869
- fieldset?: string | null | undefined;
4870
- config?: {
4871
- label?: string | null | undefined;
4872
- useAsTitle?: boolean;
4873
- placeholder?: string;
4874
- };
4875
4623
  }) | ({
4876
4624
  type: "Link";
4877
4625
  } & {
@@ -4885,16 +4633,7 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4885
4633
  masks?: readonly string[];
4886
4634
  tags?: readonly string[];
4887
4635
  allowTargetBlank?: boolean;
4888
- text?: {
4889
- type: "Text";
4890
- } & {
4891
- fieldset?: string | null | undefined;
4892
- config?: {
4893
- label?: string | null | undefined;
4894
- useAsTitle?: boolean;
4895
- placeholder?: string;
4896
- };
4897
- };
4636
+ allowText?: boolean;
4898
4637
  };
4899
4638
  }) | ({
4900
4639
  type: "Number";
@@ -4951,6 +4690,15 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
4951
4690
  config?: {
4952
4691
  label?: string | null | undefined;
4953
4692
  };
4693
+ }) | ({
4694
+ type: "Text";
4695
+ } & {
4696
+ fieldset?: string | null | undefined;
4697
+ config?: {
4698
+ label?: string | null | undefined;
4699
+ useAsTitle?: boolean;
4700
+ placeholder?: string;
4701
+ };
4954
4702
  }) | ({
4955
4703
  type: "Timestamp";
4956
4704
  } & {