@prismicio/types-internal 2.4.0-alpha.0 → 2.4.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.
Files changed (46) hide show
  1. package/lib/content/Document.d.ts +6811 -12595
  2. package/lib/content/fields/GroupContent.d.ts +345 -1602
  3. package/lib/content/fields/WidgetContent.d.ts +6556 -12340
  4. package/lib/content/fields/nestable/ImageContent.d.ts +0 -723
  5. package/lib/content/fields/nestable/ImageContent.js +0 -2
  6. package/lib/content/fields/nestable/NestableContent.d.ts +209 -932
  7. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +507 -370
  8. package/lib/content/fields/nestable/RichTextContent/Blocks.js +73 -6
  9. package/lib/content/fields/nestable/RichTextContent/index.d.ts +186 -491
  10. package/lib/content/fields/nestable/RichTextContent/index.js +0 -1
  11. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +531 -1977
  12. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +104 -638
  13. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +531 -1977
  14. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +711 -2157
  15. package/lib/content/fields/slices/Slice/index.d.ts +1962 -5166
  16. package/lib/content/fields/slices/SliceItem.d.ts +928 -4132
  17. package/lib/content/fields/slices/SlicesContent.d.ts +2426 -6764
  18. package/lib/customtypes/CustomType.d.ts +328 -14
  19. package/lib/customtypes/Section.d.ts +328 -14
  20. package/lib/customtypes/diff/SharedSlice.d.ts +656 -4
  21. package/lib/customtypes/diff/Variation.d.ts +659 -5
  22. package/lib/customtypes/diff/Variation.js +3 -1
  23. package/lib/customtypes/widgets/Group.d.ts +0 -2
  24. package/lib/customtypes/widgets/Widget.d.ts +328 -16
  25. package/lib/customtypes/widgets/nestable/Image.d.ts +0 -2
  26. package/lib/customtypes/widgets/nestable/Image.js +0 -1
  27. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -1
  28. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -2
  29. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -2
  30. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +648 -4
  31. package/lib/customtypes/widgets/slices/SharedSlice.js +2 -0
  32. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +327 -0
  33. package/lib/customtypes/widgets/slices/SliceWidget.js +8 -0
  34. package/lib/customtypes/widgets/slices/Slices.d.ts +656 -24
  35. package/lib/customtypes/widgets/slices/index.d.ts +1 -0
  36. package/lib/customtypes/widgets/slices/index.js +1 -0
  37. package/package.json +1 -1
  38. package/src/content/fields/nestable/ImageContent.ts +0 -2
  39. package/src/content/fields/nestable/RichTextContent/Blocks.ts +101 -3
  40. package/src/content/fields/nestable/RichTextContent/index.ts +0 -1
  41. package/src/customtypes/diff/Variation.ts +10 -6
  42. package/src/customtypes/widgets/nestable/Image.ts +0 -1
  43. package/src/customtypes/widgets/slices/SharedSlice.ts +2 -0
  44. package/src/customtypes/widgets/slices/SliceWidget.ts +9 -0
  45. package/src/customtypes/widgets/slices/index.ts +1 -0
  46. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +0 -118
@@ -162,7 +162,6 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
162
162
  width: t.Type<number | null, unknown, unknown>;
163
163
  height: t.Type<number | null, unknown, unknown>;
164
164
  }>]>>>;
165
- allowCaption: t.BooleanC;
166
165
  }>>;
167
166
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
168
167
  type: t.LiteralC<"IntegrationFields">;
@@ -328,7 +327,6 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
328
327
  width: t.Type<number | null, unknown, unknown>;
329
328
  height: t.Type<number | null, unknown, unknown>;
330
329
  }>]>>>;
331
- allowCaption: t.BooleanC;
332
330
  }>>;
333
331
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
334
332
  type: t.LiteralC<"IntegrationFields">;
@@ -494,7 +492,6 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
494
492
  width: t.Type<number | null, unknown, unknown>;
495
493
  height: t.Type<number | null, unknown, unknown>;
496
494
  }>]>>>;
497
- allowCaption: t.BooleanC;
498
495
  }>>;
499
496
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
500
497
  type: t.LiteralC<"IntegrationFields">;
@@ -652,7 +649,6 @@ export declare function slicesConfigReader<T extends SharedSlice | SharedSliceRe
652
649
  width: t.Type<number | null, unknown, unknown>;
653
650
  height: t.Type<number | null, unknown, unknown>;
654
651
  }>]>>>;
655
- allowCaption: t.BooleanC;
656
652
  }>>;
657
653
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
658
654
  type: t.LiteralC<"IntegrationFields">;
@@ -822,7 +818,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
822
818
  width: t.Type<number | null, unknown, unknown>;
823
819
  height: t.Type<number | null, unknown, unknown>;
824
820
  }>]>>>;
825
- allowCaption: t.BooleanC;
826
821
  }>>;
827
822
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
828
823
  type: t.LiteralC<"IntegrationFields">;
@@ -988,7 +983,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
988
983
  width: t.Type<number | null, unknown, unknown>;
989
984
  height: t.Type<number | null, unknown, unknown>;
990
985
  }>]>>>;
991
- allowCaption: t.BooleanC;
992
986
  }>>;
993
987
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
994
988
  type: t.LiteralC<"IntegrationFields">;
@@ -1154,7 +1148,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1154
1148
  width: t.Type<number | null, unknown, unknown>;
1155
1149
  height: t.Type<number | null, unknown, unknown>;
1156
1150
  }>]>>>;
1157
- allowCaption: t.BooleanC;
1158
1151
  }>>;
1159
1152
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1160
1153
  type: t.LiteralC<"IntegrationFields">;
@@ -1312,7 +1305,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1312
1305
  width: t.Type<number | null, unknown, unknown>;
1313
1306
  height: t.Type<number | null, unknown, unknown>;
1314
1307
  }>]>>>;
1315
- allowCaption: t.BooleanC;
1316
1308
  }>>;
1317
1309
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1318
1310
  type: t.LiteralC<"IntegrationFields">;
@@ -1400,7 +1392,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1400
1392
  width?: number | null;
1401
1393
  height?: number | null;
1402
1394
  })[];
1403
- allowCaption?: boolean;
1404
1395
  };
1405
1396
  }) | ({
1406
1397
  type: "IntegrationFields";
@@ -1560,7 +1551,6 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1560
1551
  width?: number | null;
1561
1552
  height?: number | null;
1562
1553
  })[];
1563
- allowCaption?: boolean;
1564
1554
  };
1565
1555
  }) | ({
1566
1556
  type: "IntegrationFields";
@@ -1660,6 +1650,334 @@ export declare const StaticSlicesConfig: t.ExactC<t.PartialC<{
1660
1650
  };
1661
1651
  });
1662
1652
  };
1653
+ fields?: {
1654
+ [x: string]: ({
1655
+ type: "Boolean";
1656
+ } & {
1657
+ config?: {
1658
+ label?: string | null | undefined;
1659
+ default_value?: boolean;
1660
+ placeholder_true?: string;
1661
+ placeholder_false?: string;
1662
+ };
1663
+ }) | ({
1664
+ type: "Color";
1665
+ } & {
1666
+ fieldset?: string | null | undefined;
1667
+ config?: {
1668
+ label?: string | null | undefined;
1669
+ placeholder?: string;
1670
+ };
1671
+ }) | ({
1672
+ type: "Date";
1673
+ } & {
1674
+ fieldset?: string | null | undefined;
1675
+ config?: {
1676
+ label?: string | null | undefined;
1677
+ placeholder?: string;
1678
+ default?: string;
1679
+ };
1680
+ }) | ({
1681
+ type: "Embed";
1682
+ } & {
1683
+ fieldset?: string | null | undefined;
1684
+ config?: {
1685
+ label?: string | null | undefined;
1686
+ placeholder?: string;
1687
+ useAsTitle?: boolean;
1688
+ };
1689
+ }) | ({
1690
+ type: "GeoPoint";
1691
+ } & {
1692
+ fieldset?: string | null | undefined;
1693
+ config?: {
1694
+ label?: string | null | undefined;
1695
+ };
1696
+ }) | ({
1697
+ type: "Image";
1698
+ } & {
1699
+ fieldset?: string | null | undefined;
1700
+ config?: {
1701
+ label?: string | null | undefined;
1702
+ placeholder?: string;
1703
+ constraint?: {
1704
+ width?: number | null;
1705
+ height?: number | null;
1706
+ };
1707
+ thumbnails?: readonly ({
1708
+ name: string;
1709
+ } & {
1710
+ width?: number | null;
1711
+ height?: number | null;
1712
+ })[];
1713
+ };
1714
+ }) | ({
1715
+ type: "IntegrationFields";
1716
+ } & {
1717
+ fieldset?: string | null | undefined;
1718
+ config?: {
1719
+ label?: string | null | undefined;
1720
+ placeholder?: string;
1721
+ catalog?: string;
1722
+ };
1723
+ }) | ({
1724
+ type: "Link";
1725
+ } & {
1726
+ fieldset?: string | null | undefined;
1727
+ config?: {
1728
+ label?: string | null | undefined;
1729
+ useAsTitle?: boolean;
1730
+ placeholder?: string;
1731
+ select?: "media" | "document" | "web" | null;
1732
+ customtypes?: readonly string[];
1733
+ masks?: readonly string[];
1734
+ tags?: readonly string[];
1735
+ allowTargetBlank?: boolean;
1736
+ };
1737
+ }) | ({
1738
+ type: "Number";
1739
+ } & {
1740
+ fieldset?: string | null | undefined;
1741
+ config?: {
1742
+ label?: string | null | undefined;
1743
+ placeholder?: string;
1744
+ min?: number;
1745
+ max?: number;
1746
+ step?: number;
1747
+ };
1748
+ }) | ({
1749
+ type: "Range";
1750
+ } & {
1751
+ fieldset?: string | null | undefined;
1752
+ config?: {
1753
+ label?: string | null | undefined;
1754
+ placeholder?: string;
1755
+ min?: number;
1756
+ max?: number;
1757
+ step?: number;
1758
+ };
1759
+ }) | ({
1760
+ type: "StructuredText";
1761
+ } & {
1762
+ fieldset?: string | null | undefined;
1763
+ config?: {
1764
+ label?: string | null | undefined;
1765
+ placeholder?: string;
1766
+ useAsTitle?: boolean;
1767
+ single?: string;
1768
+ multi?: string;
1769
+ imageConstraint?: {
1770
+ width?: number | null;
1771
+ height?: number | null;
1772
+ };
1773
+ labels?: readonly string[];
1774
+ allowTargetBlank?: boolean;
1775
+ };
1776
+ }) | ({
1777
+ type: "Select";
1778
+ } & {
1779
+ fieldset?: string | null | undefined;
1780
+ config?: {
1781
+ label?: string | null | undefined;
1782
+ placeholder?: string;
1783
+ default_value?: string;
1784
+ options?: readonly string[];
1785
+ };
1786
+ }) | ({
1787
+ type: "Separator";
1788
+ } & {
1789
+ config?: {
1790
+ label?: string | null | undefined;
1791
+ };
1792
+ }) | ({
1793
+ type: "Text";
1794
+ } & {
1795
+ fieldset?: string | null | undefined;
1796
+ config?: {
1797
+ label?: string | null | undefined;
1798
+ useAsTitle?: boolean;
1799
+ placeholder?: string;
1800
+ };
1801
+ }) | ({
1802
+ type: "Timestamp";
1803
+ } & {
1804
+ fieldset?: string | null | undefined;
1805
+ config?: {
1806
+ label?: string | null | undefined;
1807
+ placeholder?: string;
1808
+ default?: string;
1809
+ };
1810
+ }) | ({
1811
+ type: "Group";
1812
+ } & {
1813
+ fieldset?: string | null | undefined;
1814
+ icon?: string;
1815
+ description?: string;
1816
+ config?: {
1817
+ label?: string | null | undefined;
1818
+ repeat?: boolean;
1819
+ fields?: {
1820
+ [x: string]: ({
1821
+ type: "Boolean";
1822
+ } & {
1823
+ config?: {
1824
+ label?: string | null | undefined;
1825
+ default_value?: boolean;
1826
+ placeholder_true?: string;
1827
+ placeholder_false?: string;
1828
+ };
1829
+ }) | ({
1830
+ type: "Color";
1831
+ } & {
1832
+ fieldset?: string | null | undefined;
1833
+ config?: {
1834
+ label?: string | null | undefined;
1835
+ placeholder?: string;
1836
+ };
1837
+ }) | ({
1838
+ type: "Date";
1839
+ } & {
1840
+ fieldset?: string | null | undefined;
1841
+ config?: {
1842
+ label?: string | null | undefined;
1843
+ placeholder?: string;
1844
+ default?: string;
1845
+ };
1846
+ }) | ({
1847
+ type: "Embed";
1848
+ } & {
1849
+ fieldset?: string | null | undefined;
1850
+ config?: {
1851
+ label?: string | null | undefined;
1852
+ placeholder?: string;
1853
+ useAsTitle?: boolean;
1854
+ };
1855
+ }) | ({
1856
+ type: "GeoPoint";
1857
+ } & {
1858
+ fieldset?: string | null | undefined;
1859
+ config?: {
1860
+ label?: string | null | undefined;
1861
+ };
1862
+ }) | ({
1863
+ type: "Image";
1864
+ } & {
1865
+ fieldset?: string | null | undefined;
1866
+ config?: {
1867
+ label?: string | null | undefined;
1868
+ placeholder?: string;
1869
+ constraint?: {
1870
+ width?: number | null;
1871
+ height?: number | null;
1872
+ };
1873
+ thumbnails?: readonly ({
1874
+ name: string;
1875
+ } & {
1876
+ width?: number | null;
1877
+ height?: number | null;
1878
+ })[];
1879
+ };
1880
+ }) | ({
1881
+ type: "IntegrationFields";
1882
+ } & {
1883
+ fieldset?: string | null | undefined;
1884
+ config?: {
1885
+ label?: string | null | undefined;
1886
+ placeholder?: string;
1887
+ catalog?: string;
1888
+ };
1889
+ }) | ({
1890
+ type: "Link";
1891
+ } & {
1892
+ fieldset?: string | null | undefined;
1893
+ config?: {
1894
+ label?: string | null | undefined;
1895
+ useAsTitle?: boolean;
1896
+ placeholder?: string;
1897
+ select?: "media" | "document" | "web" | null;
1898
+ customtypes?: readonly string[];
1899
+ masks?: readonly string[];
1900
+ tags?: readonly string[];
1901
+ allowTargetBlank?: boolean;
1902
+ };
1903
+ }) | ({
1904
+ type: "Number";
1905
+ } & {
1906
+ fieldset?: string | null | undefined;
1907
+ config?: {
1908
+ label?: string | null | undefined;
1909
+ placeholder?: string;
1910
+ min?: number;
1911
+ max?: number;
1912
+ step?: number;
1913
+ };
1914
+ }) | ({
1915
+ type: "Range";
1916
+ } & {
1917
+ fieldset?: string | null | undefined;
1918
+ config?: {
1919
+ label?: string | null | undefined;
1920
+ placeholder?: string;
1921
+ min?: number;
1922
+ max?: number;
1923
+ step?: number;
1924
+ };
1925
+ }) | ({
1926
+ type: "StructuredText";
1927
+ } & {
1928
+ fieldset?: string | null | undefined;
1929
+ config?: {
1930
+ label?: string | null | undefined;
1931
+ placeholder?: string;
1932
+ useAsTitle?: boolean;
1933
+ single?: string;
1934
+ multi?: string;
1935
+ imageConstraint?: {
1936
+ width?: number | null;
1937
+ height?: number | null;
1938
+ };
1939
+ labels?: readonly string[];
1940
+ allowTargetBlank?: boolean;
1941
+ };
1942
+ }) | ({
1943
+ type: "Select";
1944
+ } & {
1945
+ fieldset?: string | null | undefined;
1946
+ config?: {
1947
+ label?: string | null | undefined;
1948
+ placeholder?: string;
1949
+ default_value?: string;
1950
+ options?: readonly string[];
1951
+ };
1952
+ }) | ({
1953
+ type: "Separator";
1954
+ } & {
1955
+ config?: {
1956
+ label?: string | null | undefined;
1957
+ };
1958
+ }) | ({
1959
+ type: "Text";
1960
+ } & {
1961
+ fieldset?: string | null | undefined;
1962
+ config?: {
1963
+ label?: string | null | undefined;
1964
+ useAsTitle?: boolean;
1965
+ placeholder?: string;
1966
+ };
1967
+ }) | ({
1968
+ type: "Timestamp";
1969
+ } & {
1970
+ fieldset?: string | null | undefined;
1971
+ config?: {
1972
+ label?: string | null | undefined;
1973
+ placeholder?: string;
1974
+ default?: string;
1975
+ };
1976
+ });
1977
+ };
1978
+ };
1979
+ });
1980
+ };
1663
1981
  })[];
1664
1982
  } & {
1665
1983
  description?: string;
@@ -1822,7 +2140,6 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1822
2140
  width: t.Type<number | null, unknown, unknown>;
1823
2141
  height: t.Type<number | null, unknown, unknown>;
1824
2142
  }>]>>>;
1825
- allowCaption: t.BooleanC;
1826
2143
  }>>;
1827
2144
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1828
2145
  type: t.LiteralC<"IntegrationFields">;
@@ -1988,7 +2305,6 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
1988
2305
  width: t.Type<number | null, unknown, unknown>;
1989
2306
  height: t.Type<number | null, unknown, unknown>;
1990
2307
  }>]>>>;
1991
- allowCaption: t.BooleanC;
1992
2308
  }>>;
1993
2309
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1994
2310
  type: t.LiteralC<"IntegrationFields">;
@@ -2154,7 +2470,6 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2154
2470
  width: t.Type<number | null, unknown, unknown>;
2155
2471
  height: t.Type<number | null, unknown, unknown>;
2156
2472
  }>]>>>;
2157
- allowCaption: t.BooleanC;
2158
2473
  }>>;
2159
2474
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2160
2475
  type: t.LiteralC<"IntegrationFields">;
@@ -2312,7 +2627,6 @@ export declare const DynamicSlicesConfig: t.ExactC<t.PartialC<{
2312
2627
  width: t.Type<number | null, unknown, unknown>;
2313
2628
  height: t.Type<number | null, unknown, unknown>;
2314
2629
  }>]>>>;
2315
- allowCaption: t.BooleanC;
2316
2630
  }>>;
2317
2631
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2318
2632
  type: t.LiteralC<"IntegrationFields">;
@@ -2417,7 +2731,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2417
2731
  width?: number | null;
2418
2732
  height?: number | null;
2419
2733
  })[];
2420
- allowCaption?: boolean;
2421
2734
  };
2422
2735
  }) | ({
2423
2736
  type: "IntegrationFields";
@@ -2584,7 +2897,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2584
2897
  width?: number | null;
2585
2898
  height?: number | null;
2586
2899
  })[];
2587
- allowCaption?: boolean;
2588
2900
  };
2589
2901
  }) | ({
2590
2902
  type: "IntegrationFields";
@@ -2752,7 +3064,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2752
3064
  width?: number | null;
2753
3065
  height?: number | null;
2754
3066
  })[];
2755
- allowCaption?: boolean;
2756
3067
  };
2757
3068
  }) | ({
2758
3069
  type: "IntegrationFields";
@@ -2912,7 +3223,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
2912
3223
  width?: number | null;
2913
3224
  height?: number | null;
2914
3225
  })[];
2915
- allowCaption?: boolean;
2916
3226
  };
2917
3227
  }) | ({
2918
3228
  type: "IntegrationFields";
@@ -3088,7 +3398,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3088
3398
  width?: number | null;
3089
3399
  height?: number | null;
3090
3400
  })[];
3091
- allowCaption?: boolean;
3092
3401
  };
3093
3402
  }) | ({
3094
3403
  type: "IntegrationFields";
@@ -3248,7 +3557,6 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3248
3557
  width?: number | null;
3249
3558
  height?: number | null;
3250
3559
  })[];
3251
- allowCaption?: boolean;
3252
3560
  };
3253
3561
  }) | ({
3254
3562
  type: "IntegrationFields";
@@ -3348,6 +3656,334 @@ export declare const StaticSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3348
3656
  };
3349
3657
  });
3350
3658
  };
3659
+ fields?: {
3660
+ [x: string]: ({
3661
+ type: "Boolean";
3662
+ } & {
3663
+ config?: {
3664
+ label?: string | null | undefined;
3665
+ default_value?: boolean;
3666
+ placeholder_true?: string;
3667
+ placeholder_false?: string;
3668
+ };
3669
+ }) | ({
3670
+ type: "Color";
3671
+ } & {
3672
+ fieldset?: string | null | undefined;
3673
+ config?: {
3674
+ label?: string | null | undefined;
3675
+ placeholder?: string;
3676
+ };
3677
+ }) | ({
3678
+ type: "Date";
3679
+ } & {
3680
+ fieldset?: string | null | undefined;
3681
+ config?: {
3682
+ label?: string | null | undefined;
3683
+ placeholder?: string;
3684
+ default?: string;
3685
+ };
3686
+ }) | ({
3687
+ type: "Embed";
3688
+ } & {
3689
+ fieldset?: string | null | undefined;
3690
+ config?: {
3691
+ label?: string | null | undefined;
3692
+ placeholder?: string;
3693
+ useAsTitle?: boolean;
3694
+ };
3695
+ }) | ({
3696
+ type: "GeoPoint";
3697
+ } & {
3698
+ fieldset?: string | null | undefined;
3699
+ config?: {
3700
+ label?: string | null | undefined;
3701
+ };
3702
+ }) | ({
3703
+ type: "Image";
3704
+ } & {
3705
+ fieldset?: string | null | undefined;
3706
+ config?: {
3707
+ label?: string | null | undefined;
3708
+ placeholder?: string;
3709
+ constraint?: {
3710
+ width?: number | null;
3711
+ height?: number | null;
3712
+ };
3713
+ thumbnails?: readonly ({
3714
+ name: string;
3715
+ } & {
3716
+ width?: number | null;
3717
+ height?: number | null;
3718
+ })[];
3719
+ };
3720
+ }) | ({
3721
+ type: "IntegrationFields";
3722
+ } & {
3723
+ fieldset?: string | null | undefined;
3724
+ config?: {
3725
+ label?: string | null | undefined;
3726
+ placeholder?: string;
3727
+ catalog?: string;
3728
+ };
3729
+ }) | ({
3730
+ type: "Link";
3731
+ } & {
3732
+ fieldset?: string | null | undefined;
3733
+ config?: {
3734
+ label?: string | null | undefined;
3735
+ useAsTitle?: boolean;
3736
+ placeholder?: string;
3737
+ select?: "media" | "document" | "web" | null;
3738
+ customtypes?: readonly string[];
3739
+ masks?: readonly string[];
3740
+ tags?: readonly string[];
3741
+ allowTargetBlank?: boolean;
3742
+ };
3743
+ }) | ({
3744
+ type: "Number";
3745
+ } & {
3746
+ fieldset?: string | null | undefined;
3747
+ config?: {
3748
+ label?: string | null | undefined;
3749
+ placeholder?: string;
3750
+ min?: number;
3751
+ max?: number;
3752
+ step?: number;
3753
+ };
3754
+ }) | ({
3755
+ type: "Range";
3756
+ } & {
3757
+ fieldset?: string | null | undefined;
3758
+ config?: {
3759
+ label?: string | null | undefined;
3760
+ placeholder?: string;
3761
+ min?: number;
3762
+ max?: number;
3763
+ step?: number;
3764
+ };
3765
+ }) | ({
3766
+ type: "StructuredText";
3767
+ } & {
3768
+ fieldset?: string | null | undefined;
3769
+ config?: {
3770
+ label?: string | null | undefined;
3771
+ placeholder?: string;
3772
+ useAsTitle?: boolean;
3773
+ single?: string;
3774
+ multi?: string;
3775
+ imageConstraint?: {
3776
+ width?: number | null;
3777
+ height?: number | null;
3778
+ };
3779
+ labels?: readonly string[];
3780
+ allowTargetBlank?: boolean;
3781
+ };
3782
+ }) | ({
3783
+ type: "Select";
3784
+ } & {
3785
+ fieldset?: string | null | undefined;
3786
+ config?: {
3787
+ label?: string | null | undefined;
3788
+ placeholder?: string;
3789
+ default_value?: string;
3790
+ options?: readonly string[];
3791
+ };
3792
+ }) | ({
3793
+ type: "Separator";
3794
+ } & {
3795
+ config?: {
3796
+ label?: string | null | undefined;
3797
+ };
3798
+ }) | ({
3799
+ type: "Text";
3800
+ } & {
3801
+ fieldset?: string | null | undefined;
3802
+ config?: {
3803
+ label?: string | null | undefined;
3804
+ useAsTitle?: boolean;
3805
+ placeholder?: string;
3806
+ };
3807
+ }) | ({
3808
+ type: "Timestamp";
3809
+ } & {
3810
+ fieldset?: string | null | undefined;
3811
+ config?: {
3812
+ label?: string | null | undefined;
3813
+ placeholder?: string;
3814
+ default?: string;
3815
+ };
3816
+ }) | ({
3817
+ type: "Group";
3818
+ } & {
3819
+ fieldset?: string | null | undefined;
3820
+ icon?: string;
3821
+ description?: string;
3822
+ config?: {
3823
+ label?: string | null | undefined;
3824
+ repeat?: boolean;
3825
+ fields?: {
3826
+ [x: string]: ({
3827
+ type: "Boolean";
3828
+ } & {
3829
+ config?: {
3830
+ label?: string | null | undefined;
3831
+ default_value?: boolean;
3832
+ placeholder_true?: string;
3833
+ placeholder_false?: string;
3834
+ };
3835
+ }) | ({
3836
+ type: "Color";
3837
+ } & {
3838
+ fieldset?: string | null | undefined;
3839
+ config?: {
3840
+ label?: string | null | undefined;
3841
+ placeholder?: string;
3842
+ };
3843
+ }) | ({
3844
+ type: "Date";
3845
+ } & {
3846
+ fieldset?: string | null | undefined;
3847
+ config?: {
3848
+ label?: string | null | undefined;
3849
+ placeholder?: string;
3850
+ default?: string;
3851
+ };
3852
+ }) | ({
3853
+ type: "Embed";
3854
+ } & {
3855
+ fieldset?: string | null | undefined;
3856
+ config?: {
3857
+ label?: string | null | undefined;
3858
+ placeholder?: string;
3859
+ useAsTitle?: boolean;
3860
+ };
3861
+ }) | ({
3862
+ type: "GeoPoint";
3863
+ } & {
3864
+ fieldset?: string | null | undefined;
3865
+ config?: {
3866
+ label?: string | null | undefined;
3867
+ };
3868
+ }) | ({
3869
+ type: "Image";
3870
+ } & {
3871
+ fieldset?: string | null | undefined;
3872
+ config?: {
3873
+ label?: string | null | undefined;
3874
+ placeholder?: string;
3875
+ constraint?: {
3876
+ width?: number | null;
3877
+ height?: number | null;
3878
+ };
3879
+ thumbnails?: readonly ({
3880
+ name: string;
3881
+ } & {
3882
+ width?: number | null;
3883
+ height?: number | null;
3884
+ })[];
3885
+ };
3886
+ }) | ({
3887
+ type: "IntegrationFields";
3888
+ } & {
3889
+ fieldset?: string | null | undefined;
3890
+ config?: {
3891
+ label?: string | null | undefined;
3892
+ placeholder?: string;
3893
+ catalog?: string;
3894
+ };
3895
+ }) | ({
3896
+ type: "Link";
3897
+ } & {
3898
+ fieldset?: string | null | undefined;
3899
+ config?: {
3900
+ label?: string | null | undefined;
3901
+ useAsTitle?: boolean;
3902
+ placeholder?: string;
3903
+ select?: "media" | "document" | "web" | null;
3904
+ customtypes?: readonly string[];
3905
+ masks?: readonly string[];
3906
+ tags?: readonly string[];
3907
+ allowTargetBlank?: boolean;
3908
+ };
3909
+ }) | ({
3910
+ type: "Number";
3911
+ } & {
3912
+ fieldset?: string | null | undefined;
3913
+ config?: {
3914
+ label?: string | null | undefined;
3915
+ placeholder?: string;
3916
+ min?: number;
3917
+ max?: number;
3918
+ step?: number;
3919
+ };
3920
+ }) | ({
3921
+ type: "Range";
3922
+ } & {
3923
+ fieldset?: string | null | undefined;
3924
+ config?: {
3925
+ label?: string | null | undefined;
3926
+ placeholder?: string;
3927
+ min?: number;
3928
+ max?: number;
3929
+ step?: number;
3930
+ };
3931
+ }) | ({
3932
+ type: "StructuredText";
3933
+ } & {
3934
+ fieldset?: string | null | undefined;
3935
+ config?: {
3936
+ label?: string | null | undefined;
3937
+ placeholder?: string;
3938
+ useAsTitle?: boolean;
3939
+ single?: string;
3940
+ multi?: string;
3941
+ imageConstraint?: {
3942
+ width?: number | null;
3943
+ height?: number | null;
3944
+ };
3945
+ labels?: readonly string[];
3946
+ allowTargetBlank?: boolean;
3947
+ };
3948
+ }) | ({
3949
+ type: "Select";
3950
+ } & {
3951
+ fieldset?: string | null | undefined;
3952
+ config?: {
3953
+ label?: string | null | undefined;
3954
+ placeholder?: string;
3955
+ default_value?: string;
3956
+ options?: readonly string[];
3957
+ };
3958
+ }) | ({
3959
+ type: "Separator";
3960
+ } & {
3961
+ config?: {
3962
+ label?: string | null | undefined;
3963
+ };
3964
+ }) | ({
3965
+ type: "Text";
3966
+ } & {
3967
+ fieldset?: string | null | undefined;
3968
+ config?: {
3969
+ label?: string | null | undefined;
3970
+ useAsTitle?: boolean;
3971
+ placeholder?: string;
3972
+ };
3973
+ }) | ({
3974
+ type: "Timestamp";
3975
+ } & {
3976
+ fieldset?: string | null | undefined;
3977
+ config?: {
3978
+ label?: string | null | undefined;
3979
+ placeholder?: string;
3980
+ default?: string;
3981
+ };
3982
+ });
3983
+ };
3984
+ };
3985
+ });
3986
+ };
3351
3987
  })[];
3352
3988
  } & {
3353
3989
  description?: string;
@@ -3435,7 +4071,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3435
4071
  width?: number | null;
3436
4072
  height?: number | null;
3437
4073
  })[];
3438
- allowCaption?: boolean;
3439
4074
  };
3440
4075
  }) | ({
3441
4076
  type: "IntegrationFields";
@@ -3602,7 +4237,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3602
4237
  width?: number | null;
3603
4238
  height?: number | null;
3604
4239
  })[];
3605
- allowCaption?: boolean;
3606
4240
  };
3607
4241
  }) | ({
3608
4242
  type: "IntegrationFields";
@@ -3770,7 +4404,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3770
4404
  width?: number | null;
3771
4405
  height?: number | null;
3772
4406
  })[];
3773
- allowCaption?: boolean;
3774
4407
  };
3775
4408
  }) | ({
3776
4409
  type: "IntegrationFields";
@@ -3930,7 +4563,6 @@ export declare const DynamicSlices: t.ExactC<t.IntersectionC<[t.TypeC<{
3930
4563
  width?: number | null;
3931
4564
  height?: number | null;
3932
4565
  })[];
3933
- allowCaption?: boolean;
3934
4566
  };
3935
4567
  }) | ({
3936
4568
  type: "IntegrationFields";