@prismicio/types-internal 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -321,7 +321,7 @@ export declare const isSlicesContent: (u: unknown) => u is {
321
321
  }))[];
322
322
  } | {
323
323
  __TYPE__: "SeparatorContent";
324
- } | {
324
+ } | import("..").GroupContent | {
325
325
  __TYPE__: "CompositeSliceContent";
326
326
  nonRepeat: {
327
327
  [x: string]: {
@@ -952,7 +952,7 @@ export declare const isSlicesContent: (u: unknown) => u is {
952
952
  }))[];
953
953
  } | {
954
954
  __TYPE__: "SeparatorContent";
955
- }][];
955
+ } | import("..").GroupContent][];
956
956
  }[];
957
957
  } | {
958
958
  __TYPE__: "SharedSliceContent";
@@ -1586,72 +1586,102 @@ export declare const isSlicesContent: (u: unknown) => u is {
1586
1586
  }))[];
1587
1587
  } | {
1588
1588
  __TYPE__: "SeparatorContent";
1589
- }][];
1589
+ } | import("..").GroupContent][];
1590
1590
  }[];
1591
+ };
1592
+ }[];
1593
+ };
1594
+ declare type SlicesLegacy = Array<unknown>;
1595
+ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
1596
+ __TYPE__: "SliceContentType";
1597
+ value: {
1598
+ key: string;
1599
+ name: string;
1600
+ maybeLabel: string | undefined;
1601
+ widget: {
1602
+ type: string;
1603
+ __TYPE__: "EmptyContent";
1591
1604
  } | {
1592
- __TYPE__: "GroupContentType";
1593
- value: {
1594
- __TYPE__: "GroupItemContent";
1595
- value: [string, {
1596
- type: string;
1597
- __TYPE__: "EmptyContent";
1598
- } | {
1599
- __TYPE__: "BooleanContent";
1600
- value: boolean;
1601
- } | ({
1602
- embed_url: string;
1603
- type: string;
1604
- } & {
1605
- version?: string | number | null;
1606
- title?: string | null | undefined;
1607
- author_name?: string | null | undefined;
1608
- author_url?: string | null | undefined;
1609
- provider_name?: string | null | undefined;
1610
- provider_url?: string | null | undefined;
1611
- cache_age?: string | number | null;
1612
- thumbnail_url?: string | null | undefined;
1613
- thumbnail_width?: number | null | undefined;
1614
- thumbnail_height?: number | null | undefined;
1615
- html?: string | null | undefined;
1616
- } & {
1617
- __TYPE__: "EmbedContent";
1618
- all: unknown;
1619
- }) | {
1620
- type: "Color";
1621
- value: string;
1622
- __TYPE__: "FieldContent";
1623
- } | {
1624
- type: "Date";
1625
- value: string;
1626
- __TYPE__: "FieldContent";
1627
- } | {
1628
- type: "Number";
1629
- value: string;
1630
- __TYPE__: "FieldContent";
1631
- } | {
1632
- type: "Range";
1633
- value: string;
1634
- __TYPE__: "FieldContent";
1635
- } | {
1636
- type: "Select";
1637
- value: string;
1638
- __TYPE__: "FieldContent";
1639
- } | {
1640
- type: "Text";
1641
- value: string;
1642
- __TYPE__: "FieldContent";
1643
- } | {
1644
- type: "Timestamp";
1645
- value: string;
1646
- __TYPE__: "FieldContent";
1647
- } | ({
1648
- position: {
1649
- lat: number;
1650
- lng: number;
1651
- };
1652
- } & {
1653
- __TYPE__: "GeoPointContent";
1654
- }) | ({
1605
+ __TYPE__: "BooleanContent";
1606
+ value: boolean;
1607
+ } | ({
1608
+ embed_url: string;
1609
+ type: string;
1610
+ } & {
1611
+ version?: string | number | null;
1612
+ title?: string | null | undefined;
1613
+ author_name?: string | null | undefined;
1614
+ author_url?: string | null | undefined;
1615
+ provider_name?: string | null | undefined;
1616
+ provider_url?: string | null | undefined;
1617
+ cache_age?: string | number | null;
1618
+ thumbnail_url?: string | null | undefined;
1619
+ thumbnail_width?: number | null | undefined;
1620
+ thumbnail_height?: number | null | undefined;
1621
+ html?: string | null | undefined;
1622
+ } & {
1623
+ __TYPE__: "EmbedContent";
1624
+ all: unknown;
1625
+ }) | {
1626
+ type: "Color";
1627
+ value: string;
1628
+ __TYPE__: "FieldContent";
1629
+ } | {
1630
+ type: "Date";
1631
+ value: string;
1632
+ __TYPE__: "FieldContent";
1633
+ } | {
1634
+ type: "Number";
1635
+ value: string;
1636
+ __TYPE__: "FieldContent";
1637
+ } | {
1638
+ type: "Range";
1639
+ value: string;
1640
+ __TYPE__: "FieldContent";
1641
+ } | {
1642
+ type: "Select";
1643
+ value: string;
1644
+ __TYPE__: "FieldContent";
1645
+ } | {
1646
+ type: "Text";
1647
+ value: string;
1648
+ __TYPE__: "FieldContent";
1649
+ } | {
1650
+ type: "Timestamp";
1651
+ value: string;
1652
+ __TYPE__: "FieldContent";
1653
+ } | ({
1654
+ position: {
1655
+ lat: number;
1656
+ lng: number;
1657
+ };
1658
+ } & {
1659
+ __TYPE__: "GeoPointContent";
1660
+ }) | ({
1661
+ origin: {
1662
+ id: string;
1663
+ url: string;
1664
+ width: number;
1665
+ height: number;
1666
+ };
1667
+ width: number;
1668
+ height: number;
1669
+ edit: {
1670
+ zoom: number;
1671
+ crop: {
1672
+ x: number;
1673
+ y: number;
1674
+ };
1675
+ background: string;
1676
+ };
1677
+ } & {
1678
+ url?: string;
1679
+ credits?: string | null;
1680
+ alt?: string | null;
1681
+ provider?: string | null | undefined;
1682
+ } & {
1683
+ thumbnails?: {
1684
+ [x: string]: {
1655
1685
  origin: {
1656
1686
  id: string;
1657
1687
  url: string;
@@ -1673,43 +1703,85 @@ export declare const isSlicesContent: (u: unknown) => u is {
1673
1703
  credits?: string | null;
1674
1704
  alt?: string | null;
1675
1705
  provider?: string | null | undefined;
1676
- } & {
1677
- thumbnails?: {
1678
- [x: string]: {
1679
- origin: {
1680
- id: string;
1681
- url: string;
1682
- width: number;
1683
- height: number;
1684
- };
1685
- width: number;
1686
- height: number;
1687
- edit: {
1688
- zoom: number;
1689
- crop: {
1690
- x: number;
1691
- y: number;
1692
- };
1693
- background: string;
1694
- };
1695
- } & {
1696
- url?: string;
1697
- credits?: string | null;
1698
- alt?: string | null;
1699
- provider?: string | null | undefined;
1706
+ };
1707
+ };
1708
+ } & {
1709
+ __TYPE__: "ImageContent";
1710
+ }) | {
1711
+ __TYPE__: "IntegrationFieldsContent";
1712
+ value: string;
1713
+ } | {
1714
+ __TYPE__: "LinkContent";
1715
+ value: ({
1716
+ __TYPE__: "ImageLink";
1717
+ } & {
1718
+ id: string;
1719
+ url: string;
1720
+ height: string;
1721
+ width: string;
1722
+ size: string;
1723
+ name: string;
1724
+ kind: string;
1725
+ } & {
1726
+ date?: string | null | undefined;
1727
+ }) | ({
1728
+ id: string;
1729
+ url: string;
1730
+ name: string;
1731
+ kind: string;
1732
+ size: string;
1733
+ } & {
1734
+ date?: string | null | undefined;
1735
+ } & {
1736
+ __TYPE__: "FileLink";
1737
+ } & {
1738
+ size?: string;
1739
+ }) | ({
1740
+ __TYPE__: "DocumentLink";
1741
+ } & {
1742
+ id: string;
1743
+ }) | ({
1744
+ __TYPE__: "ExternalLink";
1745
+ } & {
1746
+ url: string;
1747
+ } & {
1748
+ kind?: "web";
1749
+ target?: string | null | undefined;
1750
+ preview?: {
1751
+ title?: string;
1752
+ } | null | undefined;
1753
+ });
1754
+ } | {
1755
+ __TYPE__: "StructuredTextContent";
1756
+ value: (({
1757
+ type: "image";
1758
+ data: {
1759
+ origin: {
1760
+ id: string;
1761
+ url: string;
1762
+ width: number;
1763
+ height: number;
1764
+ };
1765
+ width: number;
1766
+ height: number;
1767
+ edit: {
1768
+ zoom: number;
1769
+ crop: {
1770
+ x: number;
1771
+ y: number;
1700
1772
  };
1773
+ background: string;
1701
1774
  };
1702
1775
  } & {
1703
- __TYPE__: "ImageContent";
1704
- }) | {
1705
- __TYPE__: "IntegrationFieldsContent";
1706
- value: string;
1707
- } | {
1708
- __TYPE__: "LinkContent";
1709
- value: ({
1710
- __TYPE__: "ImageLink";
1711
- } & {
1712
- id: string;
1776
+ url?: string;
1777
+ credits?: string | null;
1778
+ alt?: string | null;
1779
+ provider?: string | null | undefined;
1780
+ } & {
1781
+ linkTo?: ({
1782
+ __TYPE__: "ImageLink";
1783
+ } & {
1784
+ id: string;
1713
1785
  url: string;
1714
1786
  height: string;
1715
1787
  width: string;
@@ -1744,12 +1816,187 @@ export declare const isSlicesContent: (u: unknown) => u is {
1744
1816
  preview?: {
1745
1817
  title?: string;
1746
1818
  } | null | undefined;
1747
- });
1819
+ }) | null | undefined;
1820
+ };
1821
+ } & {
1822
+ label?: string | null | undefined;
1823
+ direction?: string | null | undefined;
1824
+ }) | ({
1825
+ type: "embed";
1826
+ data: {
1827
+ embed_url: string;
1828
+ type: string;
1829
+ } & {
1830
+ version?: string | number | null;
1831
+ title?: string | null | undefined;
1832
+ author_name?: string | null | undefined;
1833
+ author_url?: string | null | undefined;
1834
+ provider_name?: string | null | undefined;
1835
+ provider_url?: string | null | undefined;
1836
+ cache_age?: string | number | null;
1837
+ thumbnail_url?: string | null | undefined;
1838
+ thumbnail_width?: number | null | undefined;
1839
+ thumbnail_height?: number | null | undefined;
1840
+ html?: string | null | undefined;
1841
+ } & {
1842
+ __TYPE__: "EmbedContent";
1843
+ all: unknown;
1844
+ };
1845
+ } & {
1846
+ label?: string | null | undefined;
1847
+ direction?: string | null | undefined;
1848
+ }) | ({
1849
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1850
+ content: {
1851
+ text: string;
1852
+ } & {
1853
+ spans?: ({
1854
+ data: ({
1855
+ __TYPE__: "ImageLink";
1856
+ } & {
1857
+ id: string;
1858
+ url: string;
1859
+ height: string;
1860
+ width: string;
1861
+ size: string;
1862
+ name: string;
1863
+ kind: string;
1864
+ } & {
1865
+ date?: string | null | undefined;
1866
+ }) | ({
1867
+ id: string;
1868
+ url: string;
1869
+ name: string;
1870
+ kind: string;
1871
+ size: string;
1872
+ } & {
1873
+ date?: string | null | undefined;
1874
+ } & {
1875
+ __TYPE__: "FileLink";
1876
+ } & {
1877
+ size?: string;
1878
+ }) | ({
1879
+ __TYPE__: "DocumentLink";
1880
+ } & {
1881
+ id: string;
1882
+ }) | ({
1883
+ __TYPE__: "ExternalLink";
1884
+ } & {
1885
+ url: string;
1886
+ } & {
1887
+ kind?: "web";
1888
+ target?: string | null | undefined;
1889
+ preview?: {
1890
+ title?: string;
1891
+ } | null | undefined;
1892
+ });
1893
+ start: number;
1894
+ end: number;
1895
+ type: "hyperlink";
1896
+ } | {
1897
+ data: string;
1898
+ start: number;
1899
+ end: number;
1900
+ type: "label";
1901
+ } | {
1902
+ start: number;
1903
+ end: number;
1904
+ type: "strong" | "em" | "list-item";
1905
+ })[];
1906
+ };
1907
+ } & {
1908
+ label?: string;
1909
+ direction?: string;
1910
+ }))[];
1911
+ } | {
1912
+ __TYPE__: "SeparatorContent";
1913
+ } | import("..").GroupContent | {
1914
+ __TYPE__: "CompositeSliceContent";
1915
+ nonRepeat: {
1916
+ [x: string]: {
1917
+ type: string;
1918
+ __TYPE__: "EmptyContent";
1748
1919
  } | {
1749
- __TYPE__: "StructuredTextContent";
1750
- value: (({
1751
- type: "image";
1752
- data: {
1920
+ __TYPE__: "BooleanContent";
1921
+ value: boolean;
1922
+ } | ({
1923
+ embed_url: string;
1924
+ type: string;
1925
+ } & {
1926
+ version?: string | number | null;
1927
+ title?: string | null | undefined;
1928
+ author_name?: string | null | undefined;
1929
+ author_url?: string | null | undefined;
1930
+ provider_name?: string | null | undefined;
1931
+ provider_url?: string | null | undefined;
1932
+ cache_age?: string | number | null;
1933
+ thumbnail_url?: string | null | undefined;
1934
+ thumbnail_width?: number | null | undefined;
1935
+ thumbnail_height?: number | null | undefined;
1936
+ html?: string | null | undefined;
1937
+ } & {
1938
+ __TYPE__: "EmbedContent";
1939
+ all: unknown;
1940
+ }) | {
1941
+ type: "Color";
1942
+ value: string;
1943
+ __TYPE__: "FieldContent";
1944
+ } | {
1945
+ type: "Date";
1946
+ value: string;
1947
+ __TYPE__: "FieldContent";
1948
+ } | {
1949
+ type: "Number";
1950
+ value: string;
1951
+ __TYPE__: "FieldContent";
1952
+ } | {
1953
+ type: "Range";
1954
+ value: string;
1955
+ __TYPE__: "FieldContent";
1956
+ } | {
1957
+ type: "Select";
1958
+ value: string;
1959
+ __TYPE__: "FieldContent";
1960
+ } | {
1961
+ type: "Text";
1962
+ value: string;
1963
+ __TYPE__: "FieldContent";
1964
+ } | {
1965
+ type: "Timestamp";
1966
+ value: string;
1967
+ __TYPE__: "FieldContent";
1968
+ } | ({
1969
+ position: {
1970
+ lat: number;
1971
+ lng: number;
1972
+ };
1973
+ } & {
1974
+ __TYPE__: "GeoPointContent";
1975
+ }) | ({
1976
+ origin: {
1977
+ id: string;
1978
+ url: string;
1979
+ width: number;
1980
+ height: number;
1981
+ };
1982
+ width: number;
1983
+ height: number;
1984
+ edit: {
1985
+ zoom: number;
1986
+ crop: {
1987
+ x: number;
1988
+ y: number;
1989
+ };
1990
+ background: string;
1991
+ };
1992
+ } & {
1993
+ url?: string;
1994
+ credits?: string | null;
1995
+ alt?: string | null;
1996
+ provider?: string | null | undefined;
1997
+ } & {
1998
+ thumbnails?: {
1999
+ [x: string]: {
1753
2000
  origin: {
1754
2001
  id: string;
1755
2002
  url: string;
@@ -1771,53 +2018,127 @@ export declare const isSlicesContent: (u: unknown) => u is {
1771
2018
  credits?: string | null;
1772
2019
  alt?: string | null;
1773
2020
  provider?: string | null | undefined;
1774
- } & {
1775
- linkTo?: ({
1776
- __TYPE__: "ImageLink";
1777
- } & {
1778
- id: string;
1779
- url: string;
1780
- height: string;
1781
- width: string;
1782
- size: string;
1783
- name: string;
1784
- kind: string;
1785
- } & {
1786
- date?: string | null | undefined;
1787
- }) | ({
1788
- id: string;
1789
- url: string;
1790
- name: string;
1791
- kind: string;
1792
- size: string;
1793
- } & {
1794
- date?: string | null | undefined;
1795
- } & {
1796
- __TYPE__: "FileLink";
1797
- } & {
1798
- size?: string;
1799
- }) | ({
1800
- __TYPE__: "DocumentLink";
1801
- } & {
1802
- id: string;
1803
- }) | ({
1804
- __TYPE__: "ExternalLink";
1805
- } & {
1806
- url: string;
1807
- } & {
1808
- kind?: "web";
1809
- target?: string | null | undefined;
1810
- preview?: {
1811
- title?: string;
1812
- } | null | undefined;
1813
- }) | null | undefined;
1814
2021
  };
2022
+ };
2023
+ } & {
2024
+ __TYPE__: "ImageContent";
2025
+ }) | {
2026
+ __TYPE__: "IntegrationFieldsContent";
2027
+ value: string;
2028
+ } | {
2029
+ __TYPE__: "LinkContent";
2030
+ value: ({
2031
+ __TYPE__: "ImageLink";
1815
2032
  } & {
1816
- label?: string | null | undefined;
1817
- direction?: string | null | undefined;
2033
+ id: string;
2034
+ url: string;
2035
+ height: string;
2036
+ width: string;
2037
+ size: string;
2038
+ name: string;
2039
+ kind: string;
2040
+ } & {
2041
+ date?: string | null | undefined;
1818
2042
  }) | ({
1819
- type: "embed";
1820
- data: {
2043
+ id: string;
2044
+ url: string;
2045
+ name: string;
2046
+ kind: string;
2047
+ size: string;
2048
+ } & {
2049
+ date?: string | null | undefined;
2050
+ } & {
2051
+ __TYPE__: "FileLink";
2052
+ } & {
2053
+ size?: string;
2054
+ }) | ({
2055
+ __TYPE__: "DocumentLink";
2056
+ } & {
2057
+ id: string;
2058
+ }) | ({
2059
+ __TYPE__: "ExternalLink";
2060
+ } & {
2061
+ url: string;
2062
+ } & {
2063
+ kind?: "web";
2064
+ target?: string | null | undefined;
2065
+ preview?: {
2066
+ title?: string;
2067
+ } | null | undefined;
2068
+ });
2069
+ } | {
2070
+ __TYPE__: "StructuredTextContent";
2071
+ value: (({
2072
+ type: "image";
2073
+ data: {
2074
+ origin: {
2075
+ id: string;
2076
+ url: string;
2077
+ width: number;
2078
+ height: number;
2079
+ };
2080
+ width: number;
2081
+ height: number;
2082
+ edit: {
2083
+ zoom: number;
2084
+ crop: {
2085
+ x: number;
2086
+ y: number;
2087
+ };
2088
+ background: string;
2089
+ };
2090
+ } & {
2091
+ url?: string;
2092
+ credits?: string | null;
2093
+ alt?: string | null;
2094
+ provider?: string | null | undefined;
2095
+ } & {
2096
+ linkTo?: ({
2097
+ __TYPE__: "ImageLink";
2098
+ } & {
2099
+ id: string;
2100
+ url: string;
2101
+ height: string;
2102
+ width: string;
2103
+ size: string;
2104
+ name: string;
2105
+ kind: string;
2106
+ } & {
2107
+ date?: string | null | undefined;
2108
+ }) | ({
2109
+ id: string;
2110
+ url: string;
2111
+ name: string;
2112
+ kind: string;
2113
+ size: string;
2114
+ } & {
2115
+ date?: string | null | undefined;
2116
+ } & {
2117
+ __TYPE__: "FileLink";
2118
+ } & {
2119
+ size?: string;
2120
+ }) | ({
2121
+ __TYPE__: "DocumentLink";
2122
+ } & {
2123
+ id: string;
2124
+ }) | ({
2125
+ __TYPE__: "ExternalLink";
2126
+ } & {
2127
+ url: string;
2128
+ } & {
2129
+ kind?: "web";
2130
+ target?: string | null | undefined;
2131
+ preview?: {
2132
+ title?: string;
2133
+ } | null | undefined;
2134
+ }) | null | undefined;
2135
+ };
2136
+ } & {
2137
+ label?: string | null | undefined;
2138
+ direction?: string | null | undefined;
2139
+ }) | ({
2140
+ type: "embed";
2141
+ data: {
1821
2142
  embed_url: string;
1822
2143
  type: string;
1823
2144
  } & {
@@ -1904,102 +2225,70 @@ export declare const isSlicesContent: (u: unknown) => u is {
1904
2225
  }))[];
1905
2226
  } | {
1906
2227
  __TYPE__: "SeparatorContent";
1907
- }][];
1908
- }[];
1909
- };
1910
- }[];
1911
- };
1912
- declare type SlicesLegacy = Array<unknown>;
1913
- export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
1914
- __TYPE__: "SliceContentType";
1915
- value: {
1916
- key: string;
1917
- name: string;
1918
- maybeLabel: string | undefined;
1919
- widget: {
1920
- type: string;
1921
- __TYPE__: "EmptyContent";
1922
- } | {
1923
- __TYPE__: "BooleanContent";
1924
- value: boolean;
1925
- } | ({
1926
- embed_url: string;
1927
- type: string;
1928
- } & {
1929
- version?: string | number | null;
1930
- title?: string | null | undefined;
1931
- author_name?: string | null | undefined;
1932
- author_url?: string | null | undefined;
1933
- provider_name?: string | null | undefined;
1934
- provider_url?: string | null | undefined;
1935
- cache_age?: string | number | null;
1936
- thumbnail_url?: string | null | undefined;
1937
- thumbnail_width?: number | null | undefined;
1938
- thumbnail_height?: number | null | undefined;
1939
- html?: string | null | undefined;
1940
- } & {
1941
- __TYPE__: "EmbedContent";
1942
- all: unknown;
1943
- }) | {
1944
- type: "Color";
1945
- value: string;
1946
- __TYPE__: "FieldContent";
1947
- } | {
1948
- type: "Date";
1949
- value: string;
1950
- __TYPE__: "FieldContent";
1951
- } | {
1952
- type: "Number";
1953
- value: string;
1954
- __TYPE__: "FieldContent";
1955
- } | {
1956
- type: "Range";
1957
- value: string;
1958
- __TYPE__: "FieldContent";
1959
- } | {
1960
- type: "Select";
1961
- value: string;
1962
- __TYPE__: "FieldContent";
1963
- } | {
1964
- type: "Text";
1965
- value: string;
1966
- __TYPE__: "FieldContent";
1967
- } | {
1968
- type: "Timestamp";
1969
- value: string;
1970
- __TYPE__: "FieldContent";
1971
- } | ({
1972
- position: {
1973
- lat: number;
1974
- lng: number;
1975
- };
1976
- } & {
1977
- __TYPE__: "GeoPointContent";
1978
- }) | ({
1979
- origin: {
1980
- id: string;
1981
- url: string;
1982
- width: number;
1983
- height: number;
1984
- };
1985
- width: number;
1986
- height: number;
1987
- edit: {
1988
- zoom: number;
1989
- crop: {
1990
- x: number;
1991
- y: number;
1992
2228
  };
1993
- background: string;
1994
2229
  };
1995
- } & {
1996
- url?: string;
1997
- credits?: string | null;
1998
- alt?: string | null;
1999
- provider?: string | null | undefined;
2000
- } & {
2001
- thumbnails?: {
2002
- [x: string]: {
2230
+ repeat: {
2231
+ __TYPE__: "GroupItemContent";
2232
+ value: [string, {
2233
+ type: string;
2234
+ __TYPE__: "EmptyContent";
2235
+ } | {
2236
+ __TYPE__: "BooleanContent";
2237
+ value: boolean;
2238
+ } | ({
2239
+ embed_url: string;
2240
+ type: string;
2241
+ } & {
2242
+ version?: string | number | null;
2243
+ title?: string | null | undefined;
2244
+ author_name?: string | null | undefined;
2245
+ author_url?: string | null | undefined;
2246
+ provider_name?: string | null | undefined;
2247
+ provider_url?: string | null | undefined;
2248
+ cache_age?: string | number | null;
2249
+ thumbnail_url?: string | null | undefined;
2250
+ thumbnail_width?: number | null | undefined;
2251
+ thumbnail_height?: number | null | undefined;
2252
+ html?: string | null | undefined;
2253
+ } & {
2254
+ __TYPE__: "EmbedContent";
2255
+ all: unknown;
2256
+ }) | {
2257
+ type: "Color";
2258
+ value: string;
2259
+ __TYPE__: "FieldContent";
2260
+ } | {
2261
+ type: "Date";
2262
+ value: string;
2263
+ __TYPE__: "FieldContent";
2264
+ } | {
2265
+ type: "Number";
2266
+ value: string;
2267
+ __TYPE__: "FieldContent";
2268
+ } | {
2269
+ type: "Range";
2270
+ value: string;
2271
+ __TYPE__: "FieldContent";
2272
+ } | {
2273
+ type: "Select";
2274
+ value: string;
2275
+ __TYPE__: "FieldContent";
2276
+ } | {
2277
+ type: "Text";
2278
+ value: string;
2279
+ __TYPE__: "FieldContent";
2280
+ } | {
2281
+ type: "Timestamp";
2282
+ value: string;
2283
+ __TYPE__: "FieldContent";
2284
+ } | ({
2285
+ position: {
2286
+ lat: number;
2287
+ lng: number;
2288
+ };
2289
+ } & {
2290
+ __TYPE__: "GeoPointContent";
2291
+ }) | ({
2003
2292
  origin: {
2004
2293
  id: string;
2005
2294
  url: string;
@@ -2021,82 +2310,40 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
2021
2310
  credits?: string | null;
2022
2311
  alt?: string | null;
2023
2312
  provider?: string | null | undefined;
2024
- };
2025
- };
2026
- } & {
2027
- __TYPE__: "ImageContent";
2028
- }) | {
2029
- __TYPE__: "IntegrationFieldsContent";
2030
- value: string;
2031
- } | {
2032
- __TYPE__: "LinkContent";
2033
- value: ({
2034
- __TYPE__: "ImageLink";
2035
- } & {
2036
- id: string;
2037
- url: string;
2038
- height: string;
2039
- width: string;
2040
- size: string;
2041
- name: string;
2042
- kind: string;
2043
- } & {
2044
- date?: string | null | undefined;
2045
- }) | ({
2046
- id: string;
2047
- url: string;
2048
- name: string;
2049
- kind: string;
2050
- size: string;
2051
- } & {
2052
- date?: string | null | undefined;
2053
- } & {
2054
- __TYPE__: "FileLink";
2055
- } & {
2056
- size?: string;
2057
- }) | ({
2058
- __TYPE__: "DocumentLink";
2059
- } & {
2060
- id: string;
2061
- }) | ({
2062
- __TYPE__: "ExternalLink";
2063
- } & {
2064
- url: string;
2065
- } & {
2066
- kind?: "web";
2067
- target?: string | null | undefined;
2068
- preview?: {
2069
- title?: string;
2070
- } | null | undefined;
2071
- });
2072
- } | {
2073
- __TYPE__: "StructuredTextContent";
2074
- value: (({
2075
- type: "image";
2076
- data: {
2077
- origin: {
2078
- id: string;
2079
- url: string;
2080
- width: number;
2081
- height: number;
2082
- };
2083
- width: number;
2084
- height: number;
2085
- edit: {
2086
- zoom: number;
2087
- crop: {
2088
- x: number;
2089
- y: number;
2313
+ } & {
2314
+ thumbnails?: {
2315
+ [x: string]: {
2316
+ origin: {
2317
+ id: string;
2318
+ url: string;
2319
+ width: number;
2320
+ height: number;
2321
+ };
2322
+ width: number;
2323
+ height: number;
2324
+ edit: {
2325
+ zoom: number;
2326
+ crop: {
2327
+ x: number;
2328
+ y: number;
2329
+ };
2330
+ background: string;
2331
+ };
2332
+ } & {
2333
+ url?: string;
2334
+ credits?: string | null;
2335
+ alt?: string | null;
2336
+ provider?: string | null | undefined;
2090
2337
  };
2091
- background: string;
2092
2338
  };
2093
2339
  } & {
2094
- url?: string;
2095
- credits?: string | null;
2096
- alt?: string | null;
2097
- provider?: string | null | undefined;
2098
- } & {
2099
- linkTo?: ({
2340
+ __TYPE__: "ImageContent";
2341
+ }) | {
2342
+ __TYPE__: "IntegrationFieldsContent";
2343
+ value: string;
2344
+ } | {
2345
+ __TYPE__: "LinkContent";
2346
+ value: ({
2100
2347
  __TYPE__: "ImageLink";
2101
2348
  } & {
2102
2349
  id: string;
@@ -2134,103 +2381,172 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
2134
2381
  preview?: {
2135
2382
  title?: string;
2136
2383
  } | null | undefined;
2137
- }) | null | undefined;
2138
- };
2139
- } & {
2140
- label?: string | null | undefined;
2141
- direction?: string | null | undefined;
2142
- }) | ({
2143
- type: "embed";
2144
- data: {
2145
- embed_url: string;
2146
- type: string;
2147
- } & {
2148
- version?: string | number | null;
2149
- title?: string | null | undefined;
2150
- author_name?: string | null | undefined;
2151
- author_url?: string | null | undefined;
2152
- provider_name?: string | null | undefined;
2153
- provider_url?: string | null | undefined;
2154
- cache_age?: string | number | null;
2155
- thumbnail_url?: string | null | undefined;
2156
- thumbnail_width?: number | null | undefined;
2157
- thumbnail_height?: number | null | undefined;
2158
- html?: string | null | undefined;
2159
- } & {
2160
- __TYPE__: "EmbedContent";
2161
- all: unknown;
2162
- };
2163
- } & {
2164
- label?: string | null | undefined;
2165
- direction?: string | null | undefined;
2166
- }) | ({
2167
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2168
- content: {
2169
- text: string;
2170
- } & {
2171
- spans?: ({
2172
- data: ({
2173
- __TYPE__: "ImageLink";
2174
- } & {
2175
- id: string;
2176
- url: string;
2177
- height: string;
2178
- width: string;
2179
- size: string;
2180
- name: string;
2181
- kind: string;
2384
+ });
2385
+ } | {
2386
+ __TYPE__: "StructuredTextContent";
2387
+ value: (({
2388
+ type: "image";
2389
+ data: {
2390
+ origin: {
2391
+ id: string;
2392
+ url: string;
2393
+ width: number;
2394
+ height: number;
2395
+ };
2396
+ width: number;
2397
+ height: number;
2398
+ edit: {
2399
+ zoom: number;
2400
+ crop: {
2401
+ x: number;
2402
+ y: number;
2403
+ };
2404
+ background: string;
2405
+ };
2182
2406
  } & {
2183
- date?: string | null | undefined;
2184
- }) | ({
2185
- id: string;
2186
- url: string;
2187
- name: string;
2188
- kind: string;
2189
- size: string;
2407
+ url?: string;
2408
+ credits?: string | null;
2409
+ alt?: string | null;
2410
+ provider?: string | null | undefined;
2190
2411
  } & {
2191
- date?: string | null | undefined;
2412
+ linkTo?: ({
2413
+ __TYPE__: "ImageLink";
2414
+ } & {
2415
+ id: string;
2416
+ url: string;
2417
+ height: string;
2418
+ width: string;
2419
+ size: string;
2420
+ name: string;
2421
+ kind: string;
2422
+ } & {
2423
+ date?: string | null | undefined;
2424
+ }) | ({
2425
+ id: string;
2426
+ url: string;
2427
+ name: string;
2428
+ kind: string;
2429
+ size: string;
2430
+ } & {
2431
+ date?: string | null | undefined;
2432
+ } & {
2433
+ __TYPE__: "FileLink";
2434
+ } & {
2435
+ size?: string;
2436
+ }) | ({
2437
+ __TYPE__: "DocumentLink";
2438
+ } & {
2439
+ id: string;
2440
+ }) | ({
2441
+ __TYPE__: "ExternalLink";
2442
+ } & {
2443
+ url: string;
2444
+ } & {
2445
+ kind?: "web";
2446
+ target?: string | null | undefined;
2447
+ preview?: {
2448
+ title?: string;
2449
+ } | null | undefined;
2450
+ }) | null | undefined;
2451
+ };
2452
+ } & {
2453
+ label?: string | null | undefined;
2454
+ direction?: string | null | undefined;
2455
+ }) | ({
2456
+ type: "embed";
2457
+ data: {
2458
+ embed_url: string;
2459
+ type: string;
2192
2460
  } & {
2193
- __TYPE__: "FileLink";
2461
+ version?: string | number | null;
2462
+ title?: string | null | undefined;
2463
+ author_name?: string | null | undefined;
2464
+ author_url?: string | null | undefined;
2465
+ provider_name?: string | null | undefined;
2466
+ provider_url?: string | null | undefined;
2467
+ cache_age?: string | number | null;
2468
+ thumbnail_url?: string | null | undefined;
2469
+ thumbnail_width?: number | null | undefined;
2470
+ thumbnail_height?: number | null | undefined;
2471
+ html?: string | null | undefined;
2194
2472
  } & {
2195
- size?: string;
2196
- }) | ({
2197
- __TYPE__: "DocumentLink";
2473
+ __TYPE__: "EmbedContent";
2474
+ all: unknown;
2475
+ };
2476
+ } & {
2477
+ label?: string | null | undefined;
2478
+ direction?: string | null | undefined;
2479
+ }) | ({
2480
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2481
+ content: {
2482
+ text: string;
2198
2483
  } & {
2199
- id: string;
2200
- }) | ({
2201
- __TYPE__: "ExternalLink";
2202
- } & {
2203
- url: string;
2204
- } & {
2205
- kind?: "web";
2206
- target?: string | null | undefined;
2207
- preview?: {
2208
- title?: string;
2209
- } | null | undefined;
2210
- });
2211
- start: number;
2212
- end: number;
2213
- type: "hyperlink";
2214
- } | {
2215
- data: string;
2216
- start: number;
2217
- end: number;
2218
- type: "label";
2219
- } | {
2220
- start: number;
2221
- end: number;
2222
- type: "strong" | "em" | "list-item";
2223
- })[];
2224
- };
2225
- } & {
2226
- label?: string;
2227
- direction?: string;
2228
- }))[];
2229
- } | {
2230
- __TYPE__: "SeparatorContent";
2484
+ spans?: ({
2485
+ data: ({
2486
+ __TYPE__: "ImageLink";
2487
+ } & {
2488
+ id: string;
2489
+ url: string;
2490
+ height: string;
2491
+ width: string;
2492
+ size: string;
2493
+ name: string;
2494
+ kind: string;
2495
+ } & {
2496
+ date?: string | null | undefined;
2497
+ }) | ({
2498
+ id: string;
2499
+ url: string;
2500
+ name: string;
2501
+ kind: string;
2502
+ size: string;
2503
+ } & {
2504
+ date?: string | null | undefined;
2505
+ } & {
2506
+ __TYPE__: "FileLink";
2507
+ } & {
2508
+ size?: string;
2509
+ }) | ({
2510
+ __TYPE__: "DocumentLink";
2511
+ } & {
2512
+ id: string;
2513
+ }) | ({
2514
+ __TYPE__: "ExternalLink";
2515
+ } & {
2516
+ url: string;
2517
+ } & {
2518
+ kind?: "web";
2519
+ target?: string | null | undefined;
2520
+ preview?: {
2521
+ title?: string;
2522
+ } | null | undefined;
2523
+ });
2524
+ start: number;
2525
+ end: number;
2526
+ type: "hyperlink";
2527
+ } | {
2528
+ data: string;
2529
+ start: number;
2530
+ end: number;
2531
+ type: "label";
2532
+ } | {
2533
+ start: number;
2534
+ end: number;
2535
+ type: "strong" | "em" | "list-item";
2536
+ })[];
2537
+ };
2538
+ } & {
2539
+ label?: string;
2540
+ direction?: string;
2541
+ }))[];
2542
+ } | {
2543
+ __TYPE__: "SeparatorContent";
2544
+ } | import("..").GroupContent][];
2545
+ }[];
2231
2546
  } | {
2232
- __TYPE__: "CompositeSliceContent";
2233
- nonRepeat: {
2547
+ __TYPE__: "SharedSliceContent";
2548
+ variation: string;
2549
+ primary: {
2234
2550
  [x: string]: {
2235
2551
  type: string;
2236
2552
  __TYPE__: "EmptyContent";
@@ -2543,9 +2859,9 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
2543
2859
  }))[];
2544
2860
  } | {
2545
2861
  __TYPE__: "SeparatorContent";
2546
- };
2862
+ } | import("..").GroupContent;
2547
2863
  };
2548
- repeat: {
2864
+ items: {
2549
2865
  __TYPE__: "GroupItemContent";
2550
2866
  value: [string, {
2551
2867
  type: string;
@@ -2859,222 +3175,340 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
2859
3175
  }))[];
2860
3176
  } | {
2861
3177
  __TYPE__: "SeparatorContent";
2862
- }][];
3178
+ } | import("..").GroupContent][];
2863
3179
  }[];
2864
- } | {
2865
- __TYPE__: "SharedSliceContent";
2866
- variation: string;
2867
- primary: {
2868
- [x: string]: {
2869
- type: string;
2870
- __TYPE__: "EmptyContent";
2871
- } | {
2872
- __TYPE__: "BooleanContent";
2873
- value: boolean;
2874
- } | ({
2875
- embed_url: string;
2876
- type: string;
2877
- } & {
2878
- version?: string | number | null;
2879
- title?: string | null | undefined;
2880
- author_name?: string | null | undefined;
2881
- author_url?: string | null | undefined;
2882
- provider_name?: string | null | undefined;
2883
- provider_url?: string | null | undefined;
2884
- cache_age?: string | number | null;
2885
- thumbnail_url?: string | null | undefined;
2886
- thumbnail_width?: number | null | undefined;
2887
- thumbnail_height?: number | null | undefined;
2888
- html?: string | null | undefined;
2889
- } & {
2890
- __TYPE__: "EmbedContent";
2891
- all: unknown;
2892
- }) | {
2893
- type: "Color";
2894
- value: string;
2895
- __TYPE__: "FieldContent";
2896
- } | {
2897
- type: "Date";
2898
- value: string;
2899
- __TYPE__: "FieldContent";
2900
- } | {
2901
- type: "Number";
2902
- value: string;
2903
- __TYPE__: "FieldContent";
2904
- } | {
2905
- type: "Range";
2906
- value: string;
2907
- __TYPE__: "FieldContent";
2908
- } | {
2909
- type: "Select";
2910
- value: string;
2911
- __TYPE__: "FieldContent";
2912
- } | {
2913
- type: "Text";
2914
- value: string;
2915
- __TYPE__: "FieldContent";
2916
- } | {
2917
- type: "Timestamp";
2918
- value: string;
2919
- __TYPE__: "FieldContent";
2920
- } | ({
2921
- position: {
2922
- lat: number;
2923
- lng: number;
2924
- };
2925
- } & {
2926
- __TYPE__: "GeoPointContent";
2927
- }) | ({
2928
- origin: {
2929
- id: string;
2930
- url: string;
2931
- width: number;
2932
- height: number;
2933
- };
2934
- width: number;
2935
- height: number;
2936
- edit: {
2937
- zoom: number;
2938
- crop: {
2939
- x: number;
2940
- y: number;
2941
- };
2942
- background: string;
2943
- };
2944
- } & {
2945
- url?: string;
2946
- credits?: string | null;
2947
- alt?: string | null;
2948
- provider?: string | null | undefined;
2949
- } & {
2950
- thumbnails?: {
2951
- [x: string]: {
2952
- origin: {
2953
- id: string;
2954
- url: string;
2955
- width: number;
2956
- height: number;
2957
- };
2958
- width: number;
2959
- height: number;
2960
- edit: {
2961
- zoom: number;
2962
- crop: {
2963
- x: number;
2964
- y: number;
2965
- };
2966
- background: string;
2967
- };
2968
- } & {
2969
- url?: string;
2970
- credits?: string | null;
2971
- alt?: string | null;
2972
- provider?: string | null | undefined;
2973
- };
2974
- };
2975
- } & {
2976
- __TYPE__: "ImageContent";
2977
- }) | {
2978
- __TYPE__: "IntegrationFieldsContent";
2979
- value: string;
2980
- } | {
2981
- __TYPE__: "LinkContent";
2982
- value: ({
2983
- __TYPE__: "ImageLink";
2984
- } & {
2985
- id: string;
2986
- url: string;
2987
- height: string;
2988
- width: string;
2989
- size: string;
2990
- name: string;
2991
- kind: string;
2992
- } & {
2993
- date?: string | null | undefined;
2994
- }) | ({
2995
- id: string;
2996
- url: string;
2997
- name: string;
2998
- kind: string;
2999
- size: string;
3000
- } & {
3001
- date?: string | null | undefined;
3002
- } & {
3003
- __TYPE__: "FileLink";
3004
- } & {
3005
- size?: string;
3006
- }) | ({
3007
- __TYPE__: "DocumentLink";
3008
- } & {
3009
- id: string;
3010
- }) | ({
3011
- __TYPE__: "ExternalLink";
3012
- } & {
3013
- url: string;
3014
- } & {
3015
- kind?: "web";
3016
- target?: string | null | undefined;
3017
- preview?: {
3018
- title?: string;
3019
- } | null | undefined;
3020
- });
3021
- } | {
3022
- __TYPE__: "StructuredTextContent";
3023
- value: (({
3024
- type: "image";
3025
- data: {
3026
- origin: {
3027
- id: string;
3028
- url: string;
3029
- width: number;
3030
- height: number;
3031
- };
3032
- width: number;
3033
- height: number;
3034
- edit: {
3035
- zoom: number;
3036
- crop: {
3037
- x: number;
3038
- y: number;
3039
- };
3040
- background: string;
3041
- };
3180
+ };
3181
+ }[];
3182
+ }, WithTypes<SlicesLegacy>, unknown>;
3183
+ export declare const SlicesContent: t.TypeC<{
3184
+ __TYPE__: t.LiteralC<"SliceContentType">;
3185
+ value: t.ArrayC<t.TypeC<{
3186
+ key: t.StringC;
3187
+ name: t.StringC;
3188
+ maybeLabel: t.UnionC<[t.StringC, t.UndefinedC]>;
3189
+ widget: t.UnionC<[t.ExactC<t.TypeC<{
3190
+ __TYPE__: t.LiteralC<"CompositeSliceContent">;
3191
+ nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
3192
+ type: t.StringC;
3193
+ __TYPE__: t.LiteralC<"EmptyContent">;
3194
+ }>>, t.ExactC<t.TypeC<{
3195
+ __TYPE__: t.LiteralC<"BooleanContent">;
3196
+ value: t.BooleanC;
3197
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3198
+ embed_url: t.StringC;
3199
+ type: t.StringC;
3200
+ }>, t.PartialC<{
3201
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3202
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3203
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3204
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3205
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3206
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3207
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3208
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3209
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3210
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3211
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3212
+ }>]>>, t.ExactC<t.TypeC<{
3213
+ __TYPE__: t.LiteralC<"EmbedContent">;
3214
+ all: t.UnknownC;
3215
+ }>>]>, t.ExactC<t.TypeC<{
3216
+ type: t.LiteralC<"Text">;
3217
+ value: t.Type<string, string, unknown>;
3218
+ __TYPE__: t.LiteralC<"FieldContent">;
3219
+ }>>, t.ExactC<t.TypeC<{
3220
+ type: t.LiteralC<"Timestamp">;
3221
+ value: t.Type<string, string, unknown>;
3222
+ __TYPE__: t.LiteralC<"FieldContent">;
3223
+ }>>, t.ExactC<t.TypeC<{
3224
+ type: t.LiteralC<"Select">;
3225
+ value: t.Type<string, string, unknown>;
3226
+ __TYPE__: t.LiteralC<"FieldContent">;
3227
+ }>>, t.ExactC<t.TypeC<{
3228
+ type: t.LiteralC<"Range">;
3229
+ value: t.Type<string, string, unknown>;
3230
+ __TYPE__: t.LiteralC<"FieldContent">;
3231
+ }>>, t.ExactC<t.TypeC<{
3232
+ type: t.LiteralC<"Number">;
3233
+ value: t.Type<string, string, unknown>;
3234
+ __TYPE__: t.LiteralC<"FieldContent">;
3235
+ }>>, t.ExactC<t.TypeC<{
3236
+ type: t.LiteralC<"Date">;
3237
+ value: t.Type<string, string, unknown>;
3238
+ __TYPE__: t.LiteralC<"FieldContent">;
3239
+ }>>, t.ExactC<t.TypeC<{
3240
+ type: t.LiteralC<"Color">;
3241
+ value: t.Type<string, string, unknown>;
3242
+ __TYPE__: t.LiteralC<"FieldContent">;
3243
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3244
+ position: t.ExactC<t.TypeC<{
3245
+ lat: t.NumberC;
3246
+ lng: t.NumberC;
3247
+ }>>;
3248
+ }>>, t.ExactC<t.TypeC<{
3249
+ __TYPE__: t.LiteralC<"GeoPointContent">;
3250
+ }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3251
+ origin: t.ExactC<t.TypeC<{
3252
+ id: t.StringC;
3253
+ url: t.StringC;
3254
+ width: t.NumberC;
3255
+ height: t.NumberC;
3256
+ }>>;
3257
+ width: t.NumberC;
3258
+ height: t.NumberC;
3259
+ edit: t.TypeC<{
3260
+ zoom: t.NumberC;
3261
+ crop: t.TypeC<{
3262
+ x: t.NumberC;
3263
+ y: t.NumberC;
3264
+ }>;
3265
+ background: t.StringC;
3266
+ }>;
3267
+ }>, t.PartialC<{
3268
+ url: t.StringC;
3269
+ credits: t.Type<string | null, string | null, unknown>;
3270
+ alt: t.Type<string | null, string | null, unknown>;
3271
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3272
+ }>]>>, t.PartialC<{
3273
+ thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
3274
+ origin: t.ExactC<t.TypeC<{
3275
+ id: t.StringC;
3276
+ url: t.StringC;
3277
+ width: t.NumberC;
3278
+ height: t.NumberC;
3279
+ }>>;
3280
+ width: t.NumberC;
3281
+ height: t.NumberC;
3282
+ edit: t.TypeC<{
3283
+ zoom: t.NumberC;
3284
+ crop: t.TypeC<{
3285
+ x: t.NumberC;
3286
+ y: t.NumberC;
3287
+ }>;
3288
+ background: t.StringC;
3289
+ }>;
3290
+ }>, t.PartialC<{
3291
+ url: t.StringC;
3292
+ credits: t.Type<string | null, string | null, unknown>;
3293
+ alt: t.Type<string | null, string | null, unknown>;
3294
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3295
+ }>]>>>;
3296
+ }>]>, t.ExactC<t.TypeC<{
3297
+ __TYPE__: t.LiteralC<"ImageContent">;
3298
+ }>>]>, t.ExactC<t.TypeC<{
3299
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
3300
+ value: t.StringC;
3301
+ }>>, t.ExactC<t.TypeC<{
3302
+ __TYPE__: t.LiteralC<"LinkContent">;
3303
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
3304
+ __TYPE__: t.LiteralC<"ImageLink">;
3305
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3306
+ id: t.StringC;
3307
+ url: t.StringC;
3308
+ height: t.StringC;
3309
+ width: t.StringC;
3310
+ size: t.StringC;
3311
+ name: t.StringC;
3312
+ kind: t.StringC;
3313
+ }>, t.PartialC<{
3314
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3315
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3316
+ id: t.StringC;
3317
+ url: t.StringC;
3318
+ name: t.StringC;
3319
+ kind: t.StringC;
3320
+ size: t.StringC;
3321
+ }>, t.PartialC<{
3322
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3323
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3324
+ __TYPE__: t.LiteralC<"FileLink">;
3325
+ }>, t.PartialC<{
3326
+ size: t.StringC;
3327
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3328
+ __TYPE__: t.LiteralC<"DocumentLink">;
3329
+ }>>, t.ExactC<t.TypeC<{
3330
+ id: t.Type<string, string, unknown>;
3331
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3332
+ __TYPE__: t.LiteralC<"ExternalLink">;
3333
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3334
+ url: t.StringC;
3335
+ }>, t.PartialC<{
3336
+ kind: t.LiteralC<"web">;
3337
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3338
+ preview: t.UnionC<[t.Type<{
3339
+ title?: string;
3340
+ }, {
3341
+ title?: string;
3342
+ }, unknown>, t.NullC, t.UndefinedC]>;
3343
+ }>]>>]>]>;
3344
+ }>>, t.ExactC<t.TypeC<{
3345
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3346
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3347
+ type: t.LiteralC<"image">;
3348
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3349
+ origin: t.ExactC<t.TypeC<{
3350
+ id: t.StringC;
3351
+ url: t.StringC;
3352
+ width: t.NumberC;
3353
+ height: t.NumberC;
3354
+ }>>;
3355
+ width: t.NumberC;
3356
+ height: t.NumberC;
3357
+ edit: t.TypeC<{
3358
+ zoom: t.NumberC;
3359
+ crop: t.TypeC<{
3360
+ x: t.NumberC;
3361
+ y: t.NumberC;
3362
+ }>;
3363
+ background: t.StringC;
3364
+ }>;
3365
+ }>, t.PartialC<{
3366
+ url: t.StringC;
3367
+ credits: t.Type<string | null, string | null, unknown>;
3368
+ alt: t.Type<string | null, string | null, unknown>;
3369
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3370
+ }>]>>, t.PartialC<{
3371
+ linkTo: t.UnionC<[t.Type<({
3372
+ __TYPE__: "ImageLink";
3042
3373
  } & {
3043
- url?: string;
3044
- credits?: string | null;
3045
- alt?: string | null;
3046
- provider?: string | null | undefined;
3374
+ id: string;
3375
+ url: string;
3376
+ height: string;
3377
+ width: string;
3378
+ size: string;
3379
+ name: string;
3380
+ kind: string;
3047
3381
  } & {
3048
- linkTo?: ({
3049
- __TYPE__: "ImageLink";
3050
- } & {
3051
- id: string;
3052
- url: string;
3053
- height: string;
3054
- width: string;
3055
- size: string;
3056
- name: string;
3057
- kind: string;
3058
- } & {
3059
- date?: string | null | undefined;
3060
- }) | ({
3061
- id: string;
3062
- url: string;
3063
- name: string;
3064
- kind: string;
3065
- size: string;
3066
- } & {
3067
- date?: string | null | undefined;
3068
- } & {
3069
- __TYPE__: "FileLink";
3070
- } & {
3071
- size?: string;
3072
- }) | ({
3073
- __TYPE__: "DocumentLink";
3074
- } & {
3075
- id: string;
3076
- }) | ({
3077
- __TYPE__: "ExternalLink";
3382
+ date?: string | null | undefined;
3383
+ }) | ({
3384
+ id: string;
3385
+ url: string;
3386
+ name: string;
3387
+ kind: string;
3388
+ size: string;
3389
+ } & {
3390
+ date?: string | null | undefined;
3391
+ } & {
3392
+ __TYPE__: "FileLink";
3393
+ } & {
3394
+ size?: string;
3395
+ }) | ({
3396
+ __TYPE__: "DocumentLink";
3397
+ } & {
3398
+ id: string;
3399
+ }) | ({
3400
+ __TYPE__: "ExternalLink";
3401
+ } & {
3402
+ url: string;
3403
+ } & {
3404
+ kind?: "web";
3405
+ target?: string | null | undefined;
3406
+ preview?: {
3407
+ title?: string;
3408
+ } | null | undefined;
3409
+ }), ({
3410
+ __TYPE__: "ImageLink";
3411
+ } & {
3412
+ id: string;
3413
+ url: string;
3414
+ height: string;
3415
+ width: string;
3416
+ size: string;
3417
+ name: string;
3418
+ kind: string;
3419
+ } & {
3420
+ date?: string | null | undefined;
3421
+ }) | ({
3422
+ id: string;
3423
+ url: string;
3424
+ name: string;
3425
+ kind: string;
3426
+ size: string;
3427
+ } & {
3428
+ date?: string | null | undefined;
3429
+ } & {
3430
+ __TYPE__: "FileLink";
3431
+ } & {
3432
+ size?: string;
3433
+ }) | ({
3434
+ __TYPE__: "DocumentLink";
3435
+ } & {
3436
+ id: string;
3437
+ }) | ({
3438
+ __TYPE__: "ExternalLink";
3439
+ } & {
3440
+ url: string;
3441
+ } & {
3442
+ kind?: "web";
3443
+ target?: string | null | undefined;
3444
+ preview?: {
3445
+ title?: string;
3446
+ } | null | undefined;
3447
+ }), unknown>, t.NullC, t.UndefinedC]>;
3448
+ }>]>;
3449
+ }>, t.PartialC<{
3450
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3451
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3452
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3453
+ type: t.LiteralC<"embed">;
3454
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3455
+ embed_url: t.StringC;
3456
+ type: t.StringC;
3457
+ }>, t.PartialC<{
3458
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3459
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3460
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3461
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3462
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3463
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3464
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3465
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3466
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3467
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3468
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3469
+ }>]>>, t.ExactC<t.TypeC<{
3470
+ __TYPE__: t.LiteralC<"EmbedContent">;
3471
+ all: t.UnknownC;
3472
+ }>>]>;
3473
+ }>, t.PartialC<{
3474
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3475
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3476
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3477
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3478
+ content: t.IntersectionC<[t.TypeC<{
3479
+ text: t.StringC;
3480
+ }>, t.PartialC<{
3481
+ spans: t.Type<({
3482
+ data: ({
3483
+ __TYPE__: "ImageLink";
3484
+ } & {
3485
+ id: string;
3486
+ url: string;
3487
+ height: string;
3488
+ width: string;
3489
+ size: string;
3490
+ name: string;
3491
+ kind: string;
3492
+ } & {
3493
+ date?: string | null | undefined;
3494
+ }) | ({
3495
+ id: string;
3496
+ url: string;
3497
+ name: string;
3498
+ kind: string;
3499
+ size: string;
3500
+ } & {
3501
+ date?: string | null | undefined;
3502
+ } & {
3503
+ __TYPE__: "FileLink";
3504
+ } & {
3505
+ size?: string;
3506
+ }) | ({
3507
+ __TYPE__: "DocumentLink";
3508
+ } & {
3509
+ id: string;
3510
+ }) | ({
3511
+ __TYPE__: "ExternalLink";
3078
3512
  } & {
3079
3513
  url: string;
3080
3514
  } & {
@@ -3083,1903 +3517,21 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
3083
3517
  preview?: {
3084
3518
  title?: string;
3085
3519
  } | null | undefined;
3086
- }) | null | undefined;
3087
- };
3088
- } & {
3089
- label?: string | null | undefined;
3090
- direction?: string | null | undefined;
3091
- }) | ({
3092
- type: "embed";
3093
- data: {
3094
- embed_url: string;
3095
- type: string;
3096
- } & {
3097
- version?: string | number | null;
3098
- title?: string | null | undefined;
3099
- author_name?: string | null | undefined;
3100
- author_url?: string | null | undefined;
3101
- provider_name?: string | null | undefined;
3102
- provider_url?: string | null | undefined;
3103
- cache_age?: string | number | null;
3104
- thumbnail_url?: string | null | undefined;
3105
- thumbnail_width?: number | null | undefined;
3106
- thumbnail_height?: number | null | undefined;
3107
- html?: string | null | undefined;
3108
- } & {
3109
- __TYPE__: "EmbedContent";
3110
- all: unknown;
3111
- };
3112
- } & {
3113
- label?: string | null | undefined;
3114
- direction?: string | null | undefined;
3115
- }) | ({
3116
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3117
- content: {
3118
- text: string;
3119
- } & {
3120
- spans?: ({
3121
- data: ({
3122
- __TYPE__: "ImageLink";
3123
- } & {
3124
- id: string;
3125
- url: string;
3126
- height: string;
3127
- width: string;
3128
- size: string;
3129
- name: string;
3130
- kind: string;
3131
- } & {
3132
- date?: string | null | undefined;
3133
- }) | ({
3134
- id: string;
3135
- url: string;
3136
- name: string;
3137
- kind: string;
3138
- size: string;
3139
- } & {
3140
- date?: string | null | undefined;
3141
- } & {
3142
- __TYPE__: "FileLink";
3143
- } & {
3144
- size?: string;
3145
- }) | ({
3146
- __TYPE__: "DocumentLink";
3147
- } & {
3148
- id: string;
3149
- }) | ({
3150
- __TYPE__: "ExternalLink";
3151
- } & {
3152
- url: string;
3153
- } & {
3154
- kind?: "web";
3155
- target?: string | null | undefined;
3156
- preview?: {
3157
- title?: string;
3158
- } | null | undefined;
3159
- });
3160
- start: number;
3161
- end: number;
3162
- type: "hyperlink";
3163
- } | {
3164
- data: string;
3165
- start: number;
3166
- end: number;
3167
- type: "label";
3168
- } | {
3169
- start: number;
3170
- end: number;
3171
- type: "strong" | "em" | "list-item";
3172
- })[];
3173
- };
3174
- } & {
3175
- label?: string;
3176
- direction?: string;
3177
- }))[];
3178
- } | {
3179
- __TYPE__: "SeparatorContent";
3180
- } | import("..").GroupContent;
3181
- };
3182
- items: {
3183
- __TYPE__: "GroupItemContent";
3184
- value: [string, {
3185
- type: string;
3186
- __TYPE__: "EmptyContent";
3187
- } | {
3188
- __TYPE__: "BooleanContent";
3189
- value: boolean;
3190
- } | ({
3191
- embed_url: string;
3192
- type: string;
3193
- } & {
3194
- version?: string | number | null;
3195
- title?: string | null | undefined;
3196
- author_name?: string | null | undefined;
3197
- author_url?: string | null | undefined;
3198
- provider_name?: string | null | undefined;
3199
- provider_url?: string | null | undefined;
3200
- cache_age?: string | number | null;
3201
- thumbnail_url?: string | null | undefined;
3202
- thumbnail_width?: number | null | undefined;
3203
- thumbnail_height?: number | null | undefined;
3204
- html?: string | null | undefined;
3205
- } & {
3206
- __TYPE__: "EmbedContent";
3207
- all: unknown;
3208
- }) | {
3209
- type: "Color";
3210
- value: string;
3211
- __TYPE__: "FieldContent";
3212
- } | {
3213
- type: "Date";
3214
- value: string;
3215
- __TYPE__: "FieldContent";
3216
- } | {
3217
- type: "Number";
3218
- value: string;
3219
- __TYPE__: "FieldContent";
3220
- } | {
3221
- type: "Range";
3222
- value: string;
3223
- __TYPE__: "FieldContent";
3224
- } | {
3225
- type: "Select";
3226
- value: string;
3227
- __TYPE__: "FieldContent";
3228
- } | {
3229
- type: "Text";
3230
- value: string;
3231
- __TYPE__: "FieldContent";
3232
- } | {
3233
- type: "Timestamp";
3234
- value: string;
3235
- __TYPE__: "FieldContent";
3236
- } | ({
3237
- position: {
3238
- lat: number;
3239
- lng: number;
3240
- };
3241
- } & {
3242
- __TYPE__: "GeoPointContent";
3243
- }) | ({
3244
- origin: {
3245
- id: string;
3246
- url: string;
3247
- width: number;
3248
- height: number;
3249
- };
3250
- width: number;
3251
- height: number;
3252
- edit: {
3253
- zoom: number;
3254
- crop: {
3255
- x: number;
3256
- y: number;
3257
- };
3258
- background: string;
3259
- };
3260
- } & {
3261
- url?: string;
3262
- credits?: string | null;
3263
- alt?: string | null;
3264
- provider?: string | null | undefined;
3265
- } & {
3266
- thumbnails?: {
3267
- [x: string]: {
3268
- origin: {
3269
- id: string;
3270
- url: string;
3271
- width: number;
3272
- height: number;
3273
- };
3274
- width: number;
3275
- height: number;
3276
- edit: {
3277
- zoom: number;
3278
- crop: {
3279
- x: number;
3280
- y: number;
3281
- };
3282
- background: string;
3283
- };
3284
- } & {
3285
- url?: string;
3286
- credits?: string | null;
3287
- alt?: string | null;
3288
- provider?: string | null | undefined;
3289
- };
3290
- };
3291
- } & {
3292
- __TYPE__: "ImageContent";
3293
- }) | {
3294
- __TYPE__: "IntegrationFieldsContent";
3295
- value: string;
3296
- } | {
3297
- __TYPE__: "LinkContent";
3298
- value: ({
3299
- __TYPE__: "ImageLink";
3300
- } & {
3301
- id: string;
3302
- url: string;
3303
- height: string;
3304
- width: string;
3305
- size: string;
3306
- name: string;
3307
- kind: string;
3308
- } & {
3309
- date?: string | null | undefined;
3310
- }) | ({
3311
- id: string;
3312
- url: string;
3313
- name: string;
3314
- kind: string;
3315
- size: string;
3316
- } & {
3317
- date?: string | null | undefined;
3318
- } & {
3319
- __TYPE__: "FileLink";
3320
- } & {
3321
- size?: string;
3322
- }) | ({
3323
- __TYPE__: "DocumentLink";
3324
- } & {
3325
- id: string;
3326
- }) | ({
3327
- __TYPE__: "ExternalLink";
3328
- } & {
3329
- url: string;
3330
- } & {
3331
- kind?: "web";
3332
- target?: string | null | undefined;
3333
- preview?: {
3334
- title?: string;
3335
- } | null | undefined;
3336
- });
3337
- } | {
3338
- __TYPE__: "StructuredTextContent";
3339
- value: (({
3340
- type: "image";
3341
- data: {
3342
- origin: {
3343
- id: string;
3344
- url: string;
3345
- width: number;
3346
- height: number;
3347
- };
3348
- width: number;
3349
- height: number;
3350
- edit: {
3351
- zoom: number;
3352
- crop: {
3353
- x: number;
3354
- y: number;
3355
- };
3356
- background: string;
3357
- };
3358
- } & {
3359
- url?: string;
3360
- credits?: string | null;
3361
- alt?: string | null;
3362
- provider?: string | null | undefined;
3363
- } & {
3364
- linkTo?: ({
3365
- __TYPE__: "ImageLink";
3366
- } & {
3367
- id: string;
3368
- url: string;
3369
- height: string;
3370
- width: string;
3371
- size: string;
3372
- name: string;
3373
- kind: string;
3374
- } & {
3375
- date?: string | null | undefined;
3376
- }) | ({
3377
- id: string;
3378
- url: string;
3379
- name: string;
3380
- kind: string;
3381
- size: string;
3382
- } & {
3383
- date?: string | null | undefined;
3384
- } & {
3385
- __TYPE__: "FileLink";
3386
- } & {
3387
- size?: string;
3388
- }) | ({
3389
- __TYPE__: "DocumentLink";
3390
- } & {
3391
- id: string;
3392
- }) | ({
3393
- __TYPE__: "ExternalLink";
3394
- } & {
3395
- url: string;
3396
- } & {
3397
- kind?: "web";
3398
- target?: string | null | undefined;
3399
- preview?: {
3400
- title?: string;
3401
- } | null | undefined;
3402
- }) | null | undefined;
3403
- };
3404
- } & {
3405
- label?: string | null | undefined;
3406
- direction?: string | null | undefined;
3407
- }) | ({
3408
- type: "embed";
3409
- data: {
3410
- embed_url: string;
3411
- type: string;
3412
- } & {
3413
- version?: string | number | null;
3414
- title?: string | null | undefined;
3415
- author_name?: string | null | undefined;
3416
- author_url?: string | null | undefined;
3417
- provider_name?: string | null | undefined;
3418
- provider_url?: string | null | undefined;
3419
- cache_age?: string | number | null;
3420
- thumbnail_url?: string | null | undefined;
3421
- thumbnail_width?: number | null | undefined;
3422
- thumbnail_height?: number | null | undefined;
3423
- html?: string | null | undefined;
3424
- } & {
3425
- __TYPE__: "EmbedContent";
3426
- all: unknown;
3427
- };
3428
- } & {
3429
- label?: string | null | undefined;
3430
- direction?: string | null | undefined;
3431
- }) | ({
3432
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3433
- content: {
3434
- text: string;
3435
- } & {
3436
- spans?: ({
3437
- data: ({
3438
- __TYPE__: "ImageLink";
3439
- } & {
3440
- id: string;
3441
- url: string;
3442
- height: string;
3443
- width: string;
3444
- size: string;
3445
- name: string;
3446
- kind: string;
3447
- } & {
3448
- date?: string | null | undefined;
3449
- }) | ({
3450
- id: string;
3451
- url: string;
3452
- name: string;
3453
- kind: string;
3454
- size: string;
3455
- } & {
3456
- date?: string | null | undefined;
3457
- } & {
3458
- __TYPE__: "FileLink";
3459
- } & {
3460
- size?: string;
3461
- }) | ({
3462
- __TYPE__: "DocumentLink";
3463
- } & {
3464
- id: string;
3465
- }) | ({
3466
- __TYPE__: "ExternalLink";
3467
- } & {
3468
- url: string;
3469
- } & {
3470
- kind?: "web";
3471
- target?: string | null | undefined;
3472
- preview?: {
3473
- title?: string;
3474
- } | null | undefined;
3475
- });
3476
- start: number;
3477
- end: number;
3478
- type: "hyperlink";
3479
- } | {
3480
- data: string;
3481
- start: number;
3482
- end: number;
3483
- type: "label";
3484
- } | {
3485
- start: number;
3486
- end: number;
3487
- type: "strong" | "em" | "list-item";
3488
- })[];
3489
- };
3490
- } & {
3491
- label?: string;
3492
- direction?: string;
3493
- }))[];
3494
- } | {
3495
- __TYPE__: "SeparatorContent";
3496
- }][];
3497
- }[];
3498
- } | {
3499
- __TYPE__: "GroupContentType";
3500
- value: {
3501
- __TYPE__: "GroupItemContent";
3502
- value: [string, {
3503
- type: string;
3504
- __TYPE__: "EmptyContent";
3505
- } | {
3506
- __TYPE__: "BooleanContent";
3507
- value: boolean;
3508
- } | ({
3509
- embed_url: string;
3510
- type: string;
3511
- } & {
3512
- version?: string | number | null;
3513
- title?: string | null | undefined;
3514
- author_name?: string | null | undefined;
3515
- author_url?: string | null | undefined;
3516
- provider_name?: string | null | undefined;
3517
- provider_url?: string | null | undefined;
3518
- cache_age?: string | number | null;
3519
- thumbnail_url?: string | null | undefined;
3520
- thumbnail_width?: number | null | undefined;
3521
- thumbnail_height?: number | null | undefined;
3522
- html?: string | null | undefined;
3523
- } & {
3524
- __TYPE__: "EmbedContent";
3525
- all: unknown;
3526
- }) | {
3527
- type: "Color";
3528
- value: string;
3529
- __TYPE__: "FieldContent";
3530
- } | {
3531
- type: "Date";
3532
- value: string;
3533
- __TYPE__: "FieldContent";
3534
- } | {
3535
- type: "Number";
3536
- value: string;
3537
- __TYPE__: "FieldContent";
3538
- } | {
3539
- type: "Range";
3540
- value: string;
3541
- __TYPE__: "FieldContent";
3542
- } | {
3543
- type: "Select";
3544
- value: string;
3545
- __TYPE__: "FieldContent";
3546
- } | {
3547
- type: "Text";
3548
- value: string;
3549
- __TYPE__: "FieldContent";
3550
- } | {
3551
- type: "Timestamp";
3552
- value: string;
3553
- __TYPE__: "FieldContent";
3554
- } | ({
3555
- position: {
3556
- lat: number;
3557
- lng: number;
3558
- };
3559
- } & {
3560
- __TYPE__: "GeoPointContent";
3561
- }) | ({
3562
- origin: {
3563
- id: string;
3564
- url: string;
3565
- width: number;
3566
- height: number;
3567
- };
3568
- width: number;
3569
- height: number;
3570
- edit: {
3571
- zoom: number;
3572
- crop: {
3573
- x: number;
3574
- y: number;
3575
- };
3576
- background: string;
3577
- };
3578
- } & {
3579
- url?: string;
3580
- credits?: string | null;
3581
- alt?: string | null;
3582
- provider?: string | null | undefined;
3583
- } & {
3584
- thumbnails?: {
3585
- [x: string]: {
3586
- origin: {
3587
- id: string;
3588
- url: string;
3589
- width: number;
3590
- height: number;
3591
- };
3592
- width: number;
3593
- height: number;
3594
- edit: {
3595
- zoom: number;
3596
- crop: {
3597
- x: number;
3598
- y: number;
3599
- };
3600
- background: string;
3601
- };
3602
- } & {
3603
- url?: string;
3604
- credits?: string | null;
3605
- alt?: string | null;
3606
- provider?: string | null | undefined;
3607
- };
3608
- };
3609
- } & {
3610
- __TYPE__: "ImageContent";
3611
- }) | {
3612
- __TYPE__: "IntegrationFieldsContent";
3613
- value: string;
3614
- } | {
3615
- __TYPE__: "LinkContent";
3616
- value: ({
3617
- __TYPE__: "ImageLink";
3618
- } & {
3619
- id: string;
3620
- url: string;
3621
- height: string;
3622
- width: string;
3623
- size: string;
3624
- name: string;
3625
- kind: string;
3626
- } & {
3627
- date?: string | null | undefined;
3628
- }) | ({
3629
- id: string;
3630
- url: string;
3631
- name: string;
3632
- kind: string;
3633
- size: string;
3634
- } & {
3635
- date?: string | null | undefined;
3636
- } & {
3637
- __TYPE__: "FileLink";
3638
- } & {
3639
- size?: string;
3640
- }) | ({
3641
- __TYPE__: "DocumentLink";
3642
- } & {
3643
- id: string;
3644
- }) | ({
3645
- __TYPE__: "ExternalLink";
3646
- } & {
3647
- url: string;
3648
- } & {
3649
- kind?: "web";
3650
- target?: string | null | undefined;
3651
- preview?: {
3652
- title?: string;
3653
- } | null | undefined;
3654
- });
3655
- } | {
3656
- __TYPE__: "StructuredTextContent";
3657
- value: (({
3658
- type: "image";
3659
- data: {
3660
- origin: {
3661
- id: string;
3662
- url: string;
3663
- width: number;
3664
- height: number;
3665
- };
3666
- width: number;
3667
- height: number;
3668
- edit: {
3669
- zoom: number;
3670
- crop: {
3671
- x: number;
3672
- y: number;
3673
- };
3674
- background: string;
3675
- };
3676
- } & {
3677
- url?: string;
3678
- credits?: string | null;
3679
- alt?: string | null;
3680
- provider?: string | null | undefined;
3681
- } & {
3682
- linkTo?: ({
3683
- __TYPE__: "ImageLink";
3684
- } & {
3685
- id: string;
3686
- url: string;
3687
- height: string;
3688
- width: string;
3689
- size: string;
3690
- name: string;
3691
- kind: string;
3692
- } & {
3693
- date?: string | null | undefined;
3694
- }) | ({
3695
- id: string;
3696
- url: string;
3697
- name: string;
3698
- kind: string;
3699
- size: string;
3700
- } & {
3701
- date?: string | null | undefined;
3702
- } & {
3703
- __TYPE__: "FileLink";
3704
- } & {
3705
- size?: string;
3706
- }) | ({
3707
- __TYPE__: "DocumentLink";
3708
- } & {
3709
- id: string;
3710
- }) | ({
3711
- __TYPE__: "ExternalLink";
3712
- } & {
3713
- url: string;
3714
- } & {
3715
- kind?: "web";
3716
- target?: string | null | undefined;
3717
- preview?: {
3718
- title?: string;
3719
- } | null | undefined;
3720
- }) | null | undefined;
3721
- };
3722
- } & {
3723
- label?: string | null | undefined;
3724
- direction?: string | null | undefined;
3725
- }) | ({
3726
- type: "embed";
3727
- data: {
3728
- embed_url: string;
3729
- type: string;
3730
- } & {
3731
- version?: string | number | null;
3732
- title?: string | null | undefined;
3733
- author_name?: string | null | undefined;
3734
- author_url?: string | null | undefined;
3735
- provider_name?: string | null | undefined;
3736
- provider_url?: string | null | undefined;
3737
- cache_age?: string | number | null;
3738
- thumbnail_url?: string | null | undefined;
3739
- thumbnail_width?: number | null | undefined;
3740
- thumbnail_height?: number | null | undefined;
3741
- html?: string | null | undefined;
3742
- } & {
3743
- __TYPE__: "EmbedContent";
3744
- all: unknown;
3745
- };
3746
- } & {
3747
- label?: string | null | undefined;
3748
- direction?: string | null | undefined;
3749
- }) | ({
3750
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3751
- content: {
3752
- text: string;
3753
- } & {
3754
- spans?: ({
3755
- data: ({
3756
- __TYPE__: "ImageLink";
3757
- } & {
3758
- id: string;
3759
- url: string;
3760
- height: string;
3761
- width: string;
3762
- size: string;
3763
- name: string;
3764
- kind: string;
3765
- } & {
3766
- date?: string | null | undefined;
3767
- }) | ({
3768
- id: string;
3769
- url: string;
3770
- name: string;
3771
- kind: string;
3772
- size: string;
3773
- } & {
3774
- date?: string | null | undefined;
3775
- } & {
3776
- __TYPE__: "FileLink";
3777
- } & {
3778
- size?: string;
3779
- }) | ({
3780
- __TYPE__: "DocumentLink";
3781
- } & {
3782
- id: string;
3783
- }) | ({
3784
- __TYPE__: "ExternalLink";
3785
- } & {
3786
- url: string;
3787
- } & {
3788
- kind?: "web";
3789
- target?: string | null | undefined;
3790
- preview?: {
3791
- title?: string;
3792
- } | null | undefined;
3793
- });
3794
- start: number;
3795
- end: number;
3796
- type: "hyperlink";
3797
- } | {
3798
- data: string;
3799
- start: number;
3800
- end: number;
3801
- type: "label";
3802
- } | {
3803
- start: number;
3804
- end: number;
3805
- type: "strong" | "em" | "list-item";
3806
- })[];
3807
- };
3808
- } & {
3809
- label?: string;
3810
- direction?: string;
3811
- }))[];
3812
- } | {
3813
- __TYPE__: "SeparatorContent";
3814
- }][];
3815
- }[];
3816
- };
3817
- }[];
3818
- }, WithTypes<SlicesLegacy>, unknown>;
3819
- export declare const SlicesContent: t.TypeC<{
3820
- __TYPE__: t.LiteralC<"SliceContentType">;
3821
- value: t.ArrayC<t.TypeC<{
3822
- key: t.StringC;
3823
- name: t.StringC;
3824
- maybeLabel: t.UnionC<[t.StringC, t.UndefinedC]>;
3825
- widget: t.UnionC<[t.ExactC<t.TypeC<{
3826
- __TYPE__: t.LiteralC<"CompositeSliceContent">;
3827
- nonRepeat: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
3828
- type: t.StringC;
3829
- __TYPE__: t.LiteralC<"EmptyContent">;
3830
- }>>, t.ExactC<t.TypeC<{
3831
- __TYPE__: t.LiteralC<"BooleanContent">;
3832
- value: t.BooleanC;
3833
- }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3834
- embed_url: t.StringC;
3835
- type: t.StringC;
3836
- }>, t.PartialC<{
3837
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3838
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3839
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3840
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3841
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3842
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3843
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3844
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3845
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3846
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3847
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3848
- }>]>>, t.ExactC<t.TypeC<{
3849
- __TYPE__: t.LiteralC<"EmbedContent">;
3850
- all: t.UnknownC;
3851
- }>>]>, t.ExactC<t.TypeC<{
3852
- type: t.LiteralC<"Text">;
3853
- value: t.Type<string, string, unknown>;
3854
- __TYPE__: t.LiteralC<"FieldContent">;
3855
- }>>, t.ExactC<t.TypeC<{
3856
- type: t.LiteralC<"Timestamp">;
3857
- value: t.Type<string, string, unknown>;
3858
- __TYPE__: t.LiteralC<"FieldContent">;
3859
- }>>, t.ExactC<t.TypeC<{
3860
- type: t.LiteralC<"Select">;
3861
- value: t.Type<string, string, unknown>;
3862
- __TYPE__: t.LiteralC<"FieldContent">;
3863
- }>>, t.ExactC<t.TypeC<{
3864
- type: t.LiteralC<"Range">;
3865
- value: t.Type<string, string, unknown>;
3866
- __TYPE__: t.LiteralC<"FieldContent">;
3867
- }>>, t.ExactC<t.TypeC<{
3868
- type: t.LiteralC<"Number">;
3869
- value: t.Type<string, string, unknown>;
3870
- __TYPE__: t.LiteralC<"FieldContent">;
3871
- }>>, t.ExactC<t.TypeC<{
3872
- type: t.LiteralC<"Date">;
3873
- value: t.Type<string, string, unknown>;
3874
- __TYPE__: t.LiteralC<"FieldContent">;
3875
- }>>, t.ExactC<t.TypeC<{
3876
- type: t.LiteralC<"Color">;
3877
- value: t.Type<string, string, unknown>;
3878
- __TYPE__: t.LiteralC<"FieldContent">;
3879
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3880
- position: t.ExactC<t.TypeC<{
3881
- lat: t.NumberC;
3882
- lng: t.NumberC;
3883
- }>>;
3884
- }>>, t.ExactC<t.TypeC<{
3885
- __TYPE__: t.LiteralC<"GeoPointContent">;
3886
- }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3887
- origin: t.ExactC<t.TypeC<{
3888
- id: t.StringC;
3889
- url: t.StringC;
3890
- width: t.NumberC;
3891
- height: t.NumberC;
3892
- }>>;
3893
- width: t.NumberC;
3894
- height: t.NumberC;
3895
- edit: t.TypeC<{
3896
- zoom: t.NumberC;
3897
- crop: t.TypeC<{
3898
- x: t.NumberC;
3899
- y: t.NumberC;
3900
- }>;
3901
- background: t.StringC;
3902
- }>;
3903
- }>, t.PartialC<{
3904
- url: t.StringC;
3905
- credits: t.Type<string | null, string | null, unknown>;
3906
- alt: t.Type<string | null, string | null, unknown>;
3907
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3908
- }>]>>, t.PartialC<{
3909
- thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
3910
- origin: t.ExactC<t.TypeC<{
3911
- id: t.StringC;
3912
- url: t.StringC;
3913
- width: t.NumberC;
3914
- height: t.NumberC;
3915
- }>>;
3916
- width: t.NumberC;
3917
- height: t.NumberC;
3918
- edit: t.TypeC<{
3919
- zoom: t.NumberC;
3920
- crop: t.TypeC<{
3921
- x: t.NumberC;
3922
- y: t.NumberC;
3923
- }>;
3924
- background: t.StringC;
3925
- }>;
3926
- }>, t.PartialC<{
3927
- url: t.StringC;
3928
- credits: t.Type<string | null, string | null, unknown>;
3929
- alt: t.Type<string | null, string | null, unknown>;
3930
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3931
- }>]>>>;
3932
- }>]>, t.ExactC<t.TypeC<{
3933
- __TYPE__: t.LiteralC<"ImageContent">;
3934
- }>>]>, t.ExactC<t.TypeC<{
3935
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
3936
- value: t.StringC;
3937
- }>>, t.ExactC<t.TypeC<{
3938
- __TYPE__: t.LiteralC<"LinkContent">;
3939
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
3940
- __TYPE__: t.LiteralC<"ImageLink">;
3941
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3942
- id: t.StringC;
3943
- url: t.StringC;
3944
- height: t.StringC;
3945
- width: t.StringC;
3946
- size: t.StringC;
3947
- name: t.StringC;
3948
- kind: t.StringC;
3949
- }>, t.PartialC<{
3950
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3951
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3952
- id: t.StringC;
3953
- url: t.StringC;
3954
- name: t.StringC;
3955
- kind: t.StringC;
3956
- size: t.StringC;
3957
- }>, t.PartialC<{
3958
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3959
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3960
- __TYPE__: t.LiteralC<"FileLink">;
3961
- }>, t.PartialC<{
3962
- size: t.StringC;
3963
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3964
- __TYPE__: t.LiteralC<"DocumentLink">;
3965
- }>>, t.ExactC<t.TypeC<{
3966
- id: t.Type<string, string, unknown>;
3967
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3968
- __TYPE__: t.LiteralC<"ExternalLink">;
3969
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3970
- url: t.StringC;
3971
- }>, t.PartialC<{
3972
- kind: t.LiteralC<"web">;
3973
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3974
- preview: t.UnionC<[t.Type<{
3975
- title?: string;
3976
- }, {
3977
- title?: string;
3978
- }, unknown>, t.NullC, t.UndefinedC]>;
3979
- }>]>>]>]>;
3980
- }>>, t.ExactC<t.TypeC<{
3981
- __TYPE__: t.LiteralC<"StructuredTextContent">;
3982
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3983
- type: t.LiteralC<"image">;
3984
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3985
- origin: t.ExactC<t.TypeC<{
3986
- id: t.StringC;
3987
- url: t.StringC;
3988
- width: t.NumberC;
3989
- height: t.NumberC;
3990
- }>>;
3991
- width: t.NumberC;
3992
- height: t.NumberC;
3993
- edit: t.TypeC<{
3994
- zoom: t.NumberC;
3995
- crop: t.TypeC<{
3996
- x: t.NumberC;
3997
- y: t.NumberC;
3998
- }>;
3999
- background: t.StringC;
4000
- }>;
4001
- }>, t.PartialC<{
4002
- url: t.StringC;
4003
- credits: t.Type<string | null, string | null, unknown>;
4004
- alt: t.Type<string | null, string | null, unknown>;
4005
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4006
- }>]>>, t.PartialC<{
4007
- linkTo: t.UnionC<[t.Type<({
4008
- __TYPE__: "ImageLink";
4009
- } & {
4010
- id: string;
4011
- url: string;
4012
- height: string;
4013
- width: string;
4014
- size: string;
4015
- name: string;
4016
- kind: string;
4017
- } & {
4018
- date?: string | null | undefined;
4019
- }) | ({
4020
- id: string;
4021
- url: string;
4022
- name: string;
4023
- kind: string;
4024
- size: string;
4025
- } & {
4026
- date?: string | null | undefined;
4027
- } & {
4028
- __TYPE__: "FileLink";
4029
- } & {
4030
- size?: string;
4031
- }) | ({
4032
- __TYPE__: "DocumentLink";
4033
- } & {
4034
- id: string;
4035
- }) | ({
4036
- __TYPE__: "ExternalLink";
4037
- } & {
4038
- url: string;
4039
- } & {
4040
- kind?: "web";
4041
- target?: string | null | undefined;
4042
- preview?: {
4043
- title?: string;
4044
- } | null | undefined;
4045
- }), ({
4046
- __TYPE__: "ImageLink";
4047
- } & {
4048
- id: string;
4049
- url: string;
4050
- height: string;
4051
- width: string;
4052
- size: string;
4053
- name: string;
4054
- kind: string;
4055
- } & {
4056
- date?: string | null | undefined;
4057
- }) | ({
4058
- id: string;
4059
- url: string;
4060
- name: string;
4061
- kind: string;
4062
- size: string;
4063
- } & {
4064
- date?: string | null | undefined;
4065
- } & {
4066
- __TYPE__: "FileLink";
4067
- } & {
4068
- size?: string;
4069
- }) | ({
4070
- __TYPE__: "DocumentLink";
4071
- } & {
4072
- id: string;
4073
- }) | ({
4074
- __TYPE__: "ExternalLink";
4075
- } & {
4076
- url: string;
4077
- } & {
4078
- kind?: "web";
4079
- target?: string | null | undefined;
4080
- preview?: {
4081
- title?: string;
4082
- } | null | undefined;
4083
- }), unknown>, t.NullC, t.UndefinedC]>;
4084
- }>]>;
4085
- }>, t.PartialC<{
4086
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4087
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4088
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4089
- type: t.LiteralC<"embed">;
4090
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4091
- embed_url: t.StringC;
4092
- type: t.StringC;
4093
- }>, t.PartialC<{
4094
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4095
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4096
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4097
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4098
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4099
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4100
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4101
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4102
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4103
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4104
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4105
- }>]>>, t.ExactC<t.TypeC<{
4106
- __TYPE__: t.LiteralC<"EmbedContent">;
4107
- all: t.UnknownC;
4108
- }>>]>;
4109
- }>, t.PartialC<{
4110
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4111
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4112
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4113
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4114
- content: t.IntersectionC<[t.TypeC<{
4115
- text: t.StringC;
4116
- }>, t.PartialC<{
4117
- spans: t.Type<({
4118
- data: ({
4119
- __TYPE__: "ImageLink";
4120
- } & {
4121
- id: string;
4122
- url: string;
4123
- height: string;
4124
- width: string;
4125
- size: string;
4126
- name: string;
4127
- kind: string;
4128
- } & {
4129
- date?: string | null | undefined;
4130
- }) | ({
4131
- id: string;
4132
- url: string;
4133
- name: string;
4134
- kind: string;
4135
- size: string;
4136
- } & {
4137
- date?: string | null | undefined;
4138
- } & {
4139
- __TYPE__: "FileLink";
4140
- } & {
4141
- size?: string;
4142
- }) | ({
4143
- __TYPE__: "DocumentLink";
4144
- } & {
4145
- id: string;
4146
- }) | ({
4147
- __TYPE__: "ExternalLink";
4148
- } & {
4149
- url: string;
4150
- } & {
4151
- kind?: "web";
4152
- target?: string | null | undefined;
4153
- preview?: {
4154
- title?: string;
4155
- } | null | undefined;
4156
- });
4157
- start: number;
4158
- end: number;
4159
- type: "hyperlink";
4160
- } | {
4161
- data: string;
4162
- start: number;
4163
- end: number;
4164
- type: "label";
4165
- } | {
4166
- start: number;
4167
- end: number;
4168
- type: "strong" | "em" | "list-item";
4169
- })[], ({
4170
- data: ({
4171
- __TYPE__: "ImageLink";
4172
- } & {
4173
- id: string;
4174
- url: string;
4175
- height: string;
4176
- width: string;
4177
- size: string;
4178
- name: string;
4179
- kind: string;
4180
- } & {
4181
- date?: string | null | undefined;
4182
- }) | ({
4183
- id: string;
4184
- url: string;
4185
- name: string;
4186
- kind: string;
4187
- size: string;
4188
- } & {
4189
- date?: string | null | undefined;
4190
- } & {
4191
- __TYPE__: "FileLink";
4192
- } & {
4193
- size?: string;
4194
- }) | ({
4195
- __TYPE__: "DocumentLink";
4196
- } & {
4197
- id: string;
4198
- }) | ({
4199
- __TYPE__: "ExternalLink";
4200
- } & {
4201
- url: string;
4202
- } & {
4203
- kind?: "web";
4204
- target?: string | null | undefined;
4205
- preview?: {
4206
- title?: string;
4207
- } | null | undefined;
4208
- });
4209
- start: number;
4210
- end: number;
4211
- type: "hyperlink";
4212
- } | {
4213
- data: string;
4214
- start: number;
4215
- end: number;
4216
- type: "label";
4217
- } | {
4218
- start: number;
4219
- end: number;
4220
- type: "strong" | "em" | "list-item";
4221
- })[], unknown>;
4222
- }>]>;
4223
- }>, t.PartialC<{
4224
- label: t.StringC;
4225
- direction: t.StringC;
4226
- }>]>>]>>;
4227
- }>>, t.ExactC<t.TypeC<{
4228
- __TYPE__: t.LiteralC<"SeparatorContent">;
4229
- }>>]>>;
4230
- repeat: t.ArrayC<t.ExactC<t.TypeC<{
4231
- __TYPE__: t.LiteralC<"GroupItemContent">;
4232
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
4233
- type: t.StringC;
4234
- __TYPE__: t.LiteralC<"EmptyContent">;
4235
- }>>, t.ExactC<t.TypeC<{
4236
- __TYPE__: t.LiteralC<"BooleanContent">;
4237
- value: t.BooleanC;
4238
- }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4239
- embed_url: t.StringC;
4240
- type: t.StringC;
4241
- }>, t.PartialC<{
4242
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4243
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4244
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4245
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4246
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4247
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4248
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4249
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4250
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4251
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4252
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4253
- }>]>>, t.ExactC<t.TypeC<{
4254
- __TYPE__: t.LiteralC<"EmbedContent">;
4255
- all: t.UnknownC;
4256
- }>>]>, t.ExactC<t.TypeC<{
4257
- type: t.LiteralC<"Text">;
4258
- value: t.Type<string, string, unknown>;
4259
- __TYPE__: t.LiteralC<"FieldContent">;
4260
- }>>, t.ExactC<t.TypeC<{
4261
- type: t.LiteralC<"Timestamp">;
4262
- value: t.Type<string, string, unknown>;
4263
- __TYPE__: t.LiteralC<"FieldContent">;
4264
- }>>, t.ExactC<t.TypeC<{
4265
- type: t.LiteralC<"Select">;
4266
- value: t.Type<string, string, unknown>;
4267
- __TYPE__: t.LiteralC<"FieldContent">;
4268
- }>>, t.ExactC<t.TypeC<{
4269
- type: t.LiteralC<"Range">;
4270
- value: t.Type<string, string, unknown>;
4271
- __TYPE__: t.LiteralC<"FieldContent">;
4272
- }>>, t.ExactC<t.TypeC<{
4273
- type: t.LiteralC<"Number">;
4274
- value: t.Type<string, string, unknown>;
4275
- __TYPE__: t.LiteralC<"FieldContent">;
4276
- }>>, t.ExactC<t.TypeC<{
4277
- type: t.LiteralC<"Date">;
4278
- value: t.Type<string, string, unknown>;
4279
- __TYPE__: t.LiteralC<"FieldContent">;
4280
- }>>, t.ExactC<t.TypeC<{
4281
- type: t.LiteralC<"Color">;
4282
- value: t.Type<string, string, unknown>;
4283
- __TYPE__: t.LiteralC<"FieldContent">;
4284
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4285
- position: t.ExactC<t.TypeC<{
4286
- lat: t.NumberC;
4287
- lng: t.NumberC;
4288
- }>>;
4289
- }>>, t.ExactC<t.TypeC<{
4290
- __TYPE__: t.LiteralC<"GeoPointContent">;
4291
- }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4292
- origin: t.ExactC<t.TypeC<{
4293
- id: t.StringC;
4294
- url: t.StringC;
4295
- width: t.NumberC;
4296
- height: t.NumberC;
4297
- }>>;
4298
- width: t.NumberC;
4299
- height: t.NumberC;
4300
- edit: t.TypeC<{
4301
- zoom: t.NumberC;
4302
- crop: t.TypeC<{
4303
- x: t.NumberC;
4304
- y: t.NumberC;
4305
- }>;
4306
- background: t.StringC;
4307
- }>;
4308
- }>, t.PartialC<{
4309
- url: t.StringC;
4310
- credits: t.Type<string | null, string | null, unknown>;
4311
- alt: t.Type<string | null, string | null, unknown>;
4312
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4313
- }>]>>, t.PartialC<{
4314
- thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
4315
- origin: t.ExactC<t.TypeC<{
4316
- id: t.StringC;
4317
- url: t.StringC;
4318
- width: t.NumberC;
4319
- height: t.NumberC;
4320
- }>>;
4321
- width: t.NumberC;
4322
- height: t.NumberC;
4323
- edit: t.TypeC<{
4324
- zoom: t.NumberC;
4325
- crop: t.TypeC<{
4326
- x: t.NumberC;
4327
- y: t.NumberC;
4328
- }>;
4329
- background: t.StringC;
4330
- }>;
4331
- }>, t.PartialC<{
4332
- url: t.StringC;
4333
- credits: t.Type<string | null, string | null, unknown>;
4334
- alt: t.Type<string | null, string | null, unknown>;
4335
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4336
- }>]>>>;
4337
- }>]>, t.ExactC<t.TypeC<{
4338
- __TYPE__: t.LiteralC<"ImageContent">;
4339
- }>>]>, t.ExactC<t.TypeC<{
4340
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
4341
- value: t.StringC;
4342
- }>>, t.ExactC<t.TypeC<{
4343
- __TYPE__: t.LiteralC<"LinkContent">;
4344
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4345
- __TYPE__: t.LiteralC<"ImageLink">;
4346
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4347
- id: t.StringC;
4348
- url: t.StringC;
4349
- height: t.StringC;
4350
- width: t.StringC;
4351
- size: t.StringC;
4352
- name: t.StringC;
4353
- kind: t.StringC;
4354
- }>, t.PartialC<{
4355
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4356
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4357
- id: t.StringC;
4358
- url: t.StringC;
4359
- name: t.StringC;
4360
- kind: t.StringC;
4361
- size: t.StringC;
4362
- }>, t.PartialC<{
4363
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4364
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4365
- __TYPE__: t.LiteralC<"FileLink">;
4366
- }>, t.PartialC<{
4367
- size: t.StringC;
4368
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4369
- __TYPE__: t.LiteralC<"DocumentLink">;
4370
- }>>, t.ExactC<t.TypeC<{
4371
- id: t.Type<string, string, unknown>;
4372
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4373
- __TYPE__: t.LiteralC<"ExternalLink">;
4374
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4375
- url: t.StringC;
4376
- }>, t.PartialC<{
4377
- kind: t.LiteralC<"web">;
4378
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4379
- preview: t.UnionC<[t.Type<{
4380
- title?: string;
4381
- }, {
4382
- title?: string;
4383
- }, unknown>, t.NullC, t.UndefinedC]>;
4384
- }>]>>]>]>;
4385
- }>>, t.ExactC<t.TypeC<{
4386
- __TYPE__: t.LiteralC<"StructuredTextContent">;
4387
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4388
- type: t.LiteralC<"image">;
4389
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4390
- origin: t.ExactC<t.TypeC<{
4391
- id: t.StringC;
4392
- url: t.StringC;
4393
- width: t.NumberC;
4394
- height: t.NumberC;
4395
- }>>;
4396
- width: t.NumberC;
4397
- height: t.NumberC;
4398
- edit: t.TypeC<{
4399
- zoom: t.NumberC;
4400
- crop: t.TypeC<{
4401
- x: t.NumberC;
4402
- y: t.NumberC;
4403
- }>;
4404
- background: t.StringC;
4405
- }>;
4406
- }>, t.PartialC<{
4407
- url: t.StringC;
4408
- credits: t.Type<string | null, string | null, unknown>;
4409
- alt: t.Type<string | null, string | null, unknown>;
4410
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4411
- }>]>>, t.PartialC<{
4412
- linkTo: t.UnionC<[t.Type<({
4413
- __TYPE__: "ImageLink";
4414
- } & {
4415
- id: string;
4416
- url: string;
4417
- height: string;
4418
- width: string;
4419
- size: string;
4420
- name: string;
4421
- kind: string;
4422
- } & {
4423
- date?: string | null | undefined;
4424
- }) | ({
4425
- id: string;
4426
- url: string;
4427
- name: string;
4428
- kind: string;
4429
- size: string;
4430
- } & {
4431
- date?: string | null | undefined;
4432
- } & {
4433
- __TYPE__: "FileLink";
4434
- } & {
4435
- size?: string;
4436
- }) | ({
4437
- __TYPE__: "DocumentLink";
4438
- } & {
4439
- id: string;
4440
- }) | ({
4441
- __TYPE__: "ExternalLink";
4442
- } & {
4443
- url: string;
4444
- } & {
4445
- kind?: "web";
4446
- target?: string | null | undefined;
4447
- preview?: {
4448
- title?: string;
4449
- } | null | undefined;
4450
- }), ({
4451
- __TYPE__: "ImageLink";
4452
- } & {
4453
- id: string;
4454
- url: string;
4455
- height: string;
4456
- width: string;
4457
- size: string;
4458
- name: string;
4459
- kind: string;
4460
- } & {
4461
- date?: string | null | undefined;
4462
- }) | ({
4463
- id: string;
4464
- url: string;
4465
- name: string;
4466
- kind: string;
4467
- size: string;
4468
- } & {
4469
- date?: string | null | undefined;
4470
- } & {
4471
- __TYPE__: "FileLink";
4472
- } & {
4473
- size?: string;
4474
- }) | ({
4475
- __TYPE__: "DocumentLink";
4476
- } & {
4477
- id: string;
4478
- }) | ({
4479
- __TYPE__: "ExternalLink";
4480
- } & {
4481
- url: string;
4482
- } & {
4483
- kind?: "web";
4484
- target?: string | null | undefined;
4485
- preview?: {
4486
- title?: string;
4487
- } | null | undefined;
4488
- }), unknown>, t.NullC, t.UndefinedC]>;
4489
- }>]>;
4490
- }>, t.PartialC<{
4491
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4492
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4493
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4494
- type: t.LiteralC<"embed">;
4495
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4496
- embed_url: t.StringC;
4497
- type: t.StringC;
4498
- }>, t.PartialC<{
4499
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4500
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4501
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4502
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4503
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4504
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4505
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4506
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4507
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4508
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4509
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4510
- }>]>>, t.ExactC<t.TypeC<{
4511
- __TYPE__: t.LiteralC<"EmbedContent">;
4512
- all: t.UnknownC;
4513
- }>>]>;
4514
- }>, t.PartialC<{
4515
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4516
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4517
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4518
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4519
- content: t.IntersectionC<[t.TypeC<{
4520
- text: t.StringC;
4521
- }>, t.PartialC<{
4522
- spans: t.Type<({
4523
- data: ({
4524
- __TYPE__: "ImageLink";
4525
- } & {
4526
- id: string;
4527
- url: string;
4528
- height: string;
4529
- width: string;
4530
- size: string;
4531
- name: string;
4532
- kind: string;
4533
- } & {
4534
- date?: string | null | undefined;
4535
- }) | ({
4536
- id: string;
4537
- url: string;
4538
- name: string;
4539
- kind: string;
4540
- size: string;
4541
- } & {
4542
- date?: string | null | undefined;
4543
- } & {
4544
- __TYPE__: "FileLink";
4545
- } & {
4546
- size?: string;
4547
- }) | ({
4548
- __TYPE__: "DocumentLink";
4549
- } & {
4550
- id: string;
4551
- }) | ({
4552
- __TYPE__: "ExternalLink";
4553
- } & {
4554
- url: string;
4555
- } & {
4556
- kind?: "web";
4557
- target?: string | null | undefined;
4558
- preview?: {
4559
- title?: string;
4560
- } | null | undefined;
4561
- });
4562
- start: number;
4563
- end: number;
4564
- type: "hyperlink";
4565
- } | {
4566
- data: string;
4567
- start: number;
4568
- end: number;
4569
- type: "label";
4570
- } | {
4571
- start: number;
4572
- end: number;
4573
- type: "strong" | "em" | "list-item";
4574
- })[], ({
4575
- data: ({
4576
- __TYPE__: "ImageLink";
4577
- } & {
4578
- id: string;
4579
- url: string;
4580
- height: string;
4581
- width: string;
4582
- size: string;
4583
- name: string;
4584
- kind: string;
4585
- } & {
4586
- date?: string | null | undefined;
4587
- }) | ({
4588
- id: string;
4589
- url: string;
4590
- name: string;
4591
- kind: string;
4592
- size: string;
4593
- } & {
4594
- date?: string | null | undefined;
4595
- } & {
4596
- __TYPE__: "FileLink";
4597
- } & {
4598
- size?: string;
4599
- }) | ({
4600
- __TYPE__: "DocumentLink";
4601
- } & {
4602
- id: string;
4603
- }) | ({
4604
- __TYPE__: "ExternalLink";
4605
- } & {
4606
- url: string;
4607
- } & {
4608
- kind?: "web";
4609
- target?: string | null | undefined;
4610
- preview?: {
4611
- title?: string;
4612
- } | null | undefined;
4613
- });
4614
- start: number;
4615
- end: number;
4616
- type: "hyperlink";
4617
- } | {
4618
- data: string;
4619
- start: number;
4620
- end: number;
4621
- type: "label";
4622
- } | {
4623
- start: number;
4624
- end: number;
4625
- type: "strong" | "em" | "list-item";
4626
- })[], unknown>;
4627
- }>]>;
4628
- }>, t.PartialC<{
4629
- label: t.StringC;
4630
- direction: t.StringC;
4631
- }>]>>]>>;
4632
- }>>, t.ExactC<t.TypeC<{
4633
- __TYPE__: t.LiteralC<"SeparatorContent">;
4634
- }>>]>]>>;
4635
- }>>>;
4636
- }>>, t.ExactC<t.TypeC<{
4637
- __TYPE__: t.LiteralC<"SharedSliceContent">;
4638
- variation: t.StringC;
4639
- primary: t.RecordC<t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
4640
- type: t.StringC;
4641
- __TYPE__: t.LiteralC<"EmptyContent">;
4642
- }>>, t.ExactC<t.TypeC<{
4643
- __TYPE__: t.LiteralC<"BooleanContent">;
4644
- value: t.BooleanC;
4645
- }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4646
- embed_url: t.StringC;
4647
- type: t.StringC;
4648
- }>, t.PartialC<{
4649
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4650
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4651
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4652
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4653
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4654
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4655
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4656
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4657
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4658
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4659
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4660
- }>]>>, t.ExactC<t.TypeC<{
4661
- __TYPE__: t.LiteralC<"EmbedContent">;
4662
- all: t.UnknownC;
4663
- }>>]>, t.ExactC<t.TypeC<{
4664
- type: t.LiteralC<"Text">;
4665
- value: t.Type<string, string, unknown>;
4666
- __TYPE__: t.LiteralC<"FieldContent">;
4667
- }>>, t.ExactC<t.TypeC<{
4668
- type: t.LiteralC<"Timestamp">;
4669
- value: t.Type<string, string, unknown>;
4670
- __TYPE__: t.LiteralC<"FieldContent">;
4671
- }>>, t.ExactC<t.TypeC<{
4672
- type: t.LiteralC<"Select">;
4673
- value: t.Type<string, string, unknown>;
4674
- __TYPE__: t.LiteralC<"FieldContent">;
4675
- }>>, t.ExactC<t.TypeC<{
4676
- type: t.LiteralC<"Range">;
4677
- value: t.Type<string, string, unknown>;
4678
- __TYPE__: t.LiteralC<"FieldContent">;
4679
- }>>, t.ExactC<t.TypeC<{
4680
- type: t.LiteralC<"Number">;
4681
- value: t.Type<string, string, unknown>;
4682
- __TYPE__: t.LiteralC<"FieldContent">;
4683
- }>>, t.ExactC<t.TypeC<{
4684
- type: t.LiteralC<"Date">;
4685
- value: t.Type<string, string, unknown>;
4686
- __TYPE__: t.LiteralC<"FieldContent">;
4687
- }>>, t.ExactC<t.TypeC<{
4688
- type: t.LiteralC<"Color">;
4689
- value: t.Type<string, string, unknown>;
4690
- __TYPE__: t.LiteralC<"FieldContent">;
4691
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4692
- position: t.ExactC<t.TypeC<{
4693
- lat: t.NumberC;
4694
- lng: t.NumberC;
4695
- }>>;
4696
- }>>, t.ExactC<t.TypeC<{
4697
- __TYPE__: t.LiteralC<"GeoPointContent">;
4698
- }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4699
- origin: t.ExactC<t.TypeC<{
4700
- id: t.StringC;
4701
- url: t.StringC;
4702
- width: t.NumberC;
4703
- height: t.NumberC;
4704
- }>>;
4705
- width: t.NumberC;
4706
- height: t.NumberC;
4707
- edit: t.TypeC<{
4708
- zoom: t.NumberC;
4709
- crop: t.TypeC<{
4710
- x: t.NumberC;
4711
- y: t.NumberC;
4712
- }>;
4713
- background: t.StringC;
4714
- }>;
4715
- }>, t.PartialC<{
4716
- url: t.StringC;
4717
- credits: t.Type<string | null, string | null, unknown>;
4718
- alt: t.Type<string | null, string | null, unknown>;
4719
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4720
- }>]>>, t.PartialC<{
4721
- thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
4722
- origin: t.ExactC<t.TypeC<{
4723
- id: t.StringC;
4724
- url: t.StringC;
4725
- width: t.NumberC;
4726
- height: t.NumberC;
4727
- }>>;
4728
- width: t.NumberC;
4729
- height: t.NumberC;
4730
- edit: t.TypeC<{
4731
- zoom: t.NumberC;
4732
- crop: t.TypeC<{
4733
- x: t.NumberC;
4734
- y: t.NumberC;
4735
- }>;
4736
- background: t.StringC;
4737
- }>;
4738
- }>, t.PartialC<{
4739
- url: t.StringC;
4740
- credits: t.Type<string | null, string | null, unknown>;
4741
- alt: t.Type<string | null, string | null, unknown>;
4742
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4743
- }>]>>>;
4744
- }>]>, t.ExactC<t.TypeC<{
4745
- __TYPE__: t.LiteralC<"ImageContent">;
4746
- }>>]>, t.ExactC<t.TypeC<{
4747
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
4748
- value: t.StringC;
4749
- }>>, t.ExactC<t.TypeC<{
4750
- __TYPE__: t.LiteralC<"LinkContent">;
4751
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4752
- __TYPE__: t.LiteralC<"ImageLink">;
4753
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4754
- id: t.StringC;
4755
- url: t.StringC;
4756
- height: t.StringC;
4757
- width: t.StringC;
4758
- size: t.StringC;
4759
- name: t.StringC;
4760
- kind: t.StringC;
4761
- }>, t.PartialC<{
4762
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4763
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4764
- id: t.StringC;
4765
- url: t.StringC;
4766
- name: t.StringC;
4767
- kind: t.StringC;
4768
- size: t.StringC;
4769
- }>, t.PartialC<{
4770
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4771
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4772
- __TYPE__: t.LiteralC<"FileLink">;
4773
- }>, t.PartialC<{
4774
- size: t.StringC;
4775
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4776
- __TYPE__: t.LiteralC<"DocumentLink">;
4777
- }>>, t.ExactC<t.TypeC<{
4778
- id: t.Type<string, string, unknown>;
4779
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4780
- __TYPE__: t.LiteralC<"ExternalLink">;
4781
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4782
- url: t.StringC;
4783
- }>, t.PartialC<{
4784
- kind: t.LiteralC<"web">;
4785
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4786
- preview: t.UnionC<[t.Type<{
4787
- title?: string;
4788
- }, {
4789
- title?: string;
4790
- }, unknown>, t.NullC, t.UndefinedC]>;
4791
- }>]>>]>]>;
4792
- }>>, t.ExactC<t.TypeC<{
4793
- __TYPE__: t.LiteralC<"StructuredTextContent">;
4794
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4795
- type: t.LiteralC<"image">;
4796
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4797
- origin: t.ExactC<t.TypeC<{
4798
- id: t.StringC;
4799
- url: t.StringC;
4800
- width: t.NumberC;
4801
- height: t.NumberC;
4802
- }>>;
4803
- width: t.NumberC;
4804
- height: t.NumberC;
4805
- edit: t.TypeC<{
4806
- zoom: t.NumberC;
4807
- crop: t.TypeC<{
4808
- x: t.NumberC;
4809
- y: t.NumberC;
4810
- }>;
4811
- background: t.StringC;
4812
- }>;
4813
- }>, t.PartialC<{
4814
- url: t.StringC;
4815
- credits: t.Type<string | null, string | null, unknown>;
4816
- alt: t.Type<string | null, string | null, unknown>;
4817
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4818
- }>]>>, t.PartialC<{
4819
- linkTo: t.UnionC<[t.Type<({
4820
- __TYPE__: "ImageLink";
4821
- } & {
4822
- id: string;
4823
- url: string;
4824
- height: string;
4825
- width: string;
4826
- size: string;
4827
- name: string;
4828
- kind: string;
4829
- } & {
4830
- date?: string | null | undefined;
4831
- }) | ({
4832
- id: string;
4833
- url: string;
4834
- name: string;
4835
- kind: string;
4836
- size: string;
4837
- } & {
4838
- date?: string | null | undefined;
4839
- } & {
4840
- __TYPE__: "FileLink";
4841
- } & {
4842
- size?: string;
4843
- }) | ({
4844
- __TYPE__: "DocumentLink";
4845
- } & {
4846
- id: string;
4847
- }) | ({
4848
- __TYPE__: "ExternalLink";
4849
- } & {
4850
- url: string;
4851
- } & {
4852
- kind?: "web";
4853
- target?: string | null | undefined;
4854
- preview?: {
4855
- title?: string;
4856
- } | null | undefined;
4857
- }), ({
4858
- __TYPE__: "ImageLink";
4859
- } & {
4860
- id: string;
4861
- url: string;
4862
- height: string;
4863
- width: string;
4864
- size: string;
4865
- name: string;
4866
- kind: string;
4867
- } & {
4868
- date?: string | null | undefined;
4869
- }) | ({
4870
- id: string;
4871
- url: string;
4872
- name: string;
4873
- kind: string;
4874
- size: string;
4875
- } & {
4876
- date?: string | null | undefined;
4877
- } & {
4878
- __TYPE__: "FileLink";
4879
- } & {
4880
- size?: string;
4881
- }) | ({
4882
- __TYPE__: "DocumentLink";
4883
- } & {
4884
- id: string;
4885
- }) | ({
4886
- __TYPE__: "ExternalLink";
4887
- } & {
4888
- url: string;
4889
- } & {
4890
- kind?: "web";
4891
- target?: string | null | undefined;
4892
- preview?: {
4893
- title?: string;
4894
- } | null | undefined;
4895
- }), unknown>, t.NullC, t.UndefinedC]>;
4896
- }>]>;
4897
- }>, t.PartialC<{
4898
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4899
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4900
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4901
- type: t.LiteralC<"embed">;
4902
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4903
- embed_url: t.StringC;
4904
- type: t.StringC;
4905
- }>, t.PartialC<{
4906
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4907
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4908
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4909
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4910
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4911
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4912
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4913
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4914
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4915
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4916
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4917
- }>]>>, t.ExactC<t.TypeC<{
4918
- __TYPE__: t.LiteralC<"EmbedContent">;
4919
- all: t.UnknownC;
4920
- }>>]>;
4921
- }>, t.PartialC<{
4922
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4923
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4924
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4925
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4926
- content: t.IntersectionC<[t.TypeC<{
4927
- text: t.StringC;
4928
- }>, t.PartialC<{
4929
- spans: t.Type<({
4930
- data: ({
4931
- __TYPE__: "ImageLink";
4932
- } & {
4933
- id: string;
4934
- url: string;
4935
- height: string;
4936
- width: string;
4937
- size: string;
4938
- name: string;
4939
- kind: string;
4940
- } & {
4941
- date?: string | null | undefined;
4942
- }) | ({
4943
- id: string;
4944
- url: string;
4945
- name: string;
4946
- kind: string;
4947
- size: string;
4948
- } & {
4949
- date?: string | null | undefined;
4950
- } & {
4951
- __TYPE__: "FileLink";
4952
- } & {
4953
- size?: string;
4954
- }) | ({
4955
- __TYPE__: "DocumentLink";
4956
- } & {
4957
- id: string;
4958
- }) | ({
4959
- __TYPE__: "ExternalLink";
4960
- } & {
4961
- url: string;
4962
- } & {
4963
- kind?: "web";
4964
- target?: string | null | undefined;
4965
- preview?: {
4966
- title?: string;
4967
- } | null | undefined;
4968
- });
4969
- start: number;
4970
- end: number;
4971
- type: "hyperlink";
4972
- } | {
4973
- data: string;
4974
- start: number;
4975
- end: number;
4976
- type: "label";
4977
- } | {
4978
- start: number;
4979
- end: number;
4980
- type: "strong" | "em" | "list-item";
4981
- })[], ({
4982
- data: ({
3520
+ });
3521
+ start: number;
3522
+ end: number;
3523
+ type: "hyperlink";
3524
+ } | {
3525
+ data: string;
3526
+ start: number;
3527
+ end: number;
3528
+ type: "label";
3529
+ } | {
3530
+ start: number;
3531
+ end: number;
3532
+ type: "strong" | "em" | "list-item";
3533
+ })[], ({
3534
+ data: ({
4983
3535
  __TYPE__: "ImageLink";
4984
3536
  } & {
4985
3537
  id: string;
@@ -5038,10 +3590,10 @@ export declare const SlicesContent: t.TypeC<{
5038
3590
  }>]>>]>>;
5039
3591
  }>>, t.ExactC<t.TypeC<{
5040
3592
  __TYPE__: t.LiteralC<"SeparatorContent">;
5041
- }>>]>, t.Type<import("..").GroupContent, import("..").GroupContent, unknown>]>>;
5042
- items: t.ArrayC<t.ExactC<t.TypeC<{
3593
+ }>>]>>;
3594
+ repeat: t.ArrayC<t.ExactC<t.TypeC<{
5043
3595
  __TYPE__: t.LiteralC<"GroupItemContent">;
5044
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
3596
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
5045
3597
  type: t.StringC;
5046
3598
  __TYPE__: t.LiteralC<"EmptyContent">;
5047
3599
  }>>, t.ExactC<t.TypeC<{
@@ -5443,91 +3995,71 @@ export declare const SlicesContent: t.TypeC<{
5443
3995
  }>]>>]>>;
5444
3996
  }>>, t.ExactC<t.TypeC<{
5445
3997
  __TYPE__: t.LiteralC<"SeparatorContent">;
5446
- }>>]>]>>;
3998
+ }>>]>, t.Type<import("..").GroupContent, import("..").GroupContent, unknown>]>]>>;
5447
3999
  }>>>;
5448
- }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
5449
- type: t.StringC;
5450
- __TYPE__: t.LiteralC<"EmptyContent">;
5451
- }>>, t.ExactC<t.TypeC<{
5452
- __TYPE__: t.LiteralC<"BooleanContent">;
5453
- value: t.BooleanC;
5454
- }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5455
- embed_url: t.StringC;
5456
- type: t.StringC;
5457
- }>, t.PartialC<{
5458
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5459
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5460
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5461
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5462
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5463
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5464
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5465
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5466
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5467
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5468
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5469
- }>]>>, t.ExactC<t.TypeC<{
5470
- __TYPE__: t.LiteralC<"EmbedContent">;
5471
- all: t.UnknownC;
5472
- }>>]>, t.ExactC<t.TypeC<{
5473
- type: t.LiteralC<"Text">;
5474
- value: t.Type<string, string, unknown>;
5475
- __TYPE__: t.LiteralC<"FieldContent">;
5476
- }>>, t.ExactC<t.TypeC<{
5477
- type: t.LiteralC<"Timestamp">;
5478
- value: t.Type<string, string, unknown>;
5479
- __TYPE__: t.LiteralC<"FieldContent">;
5480
- }>>, t.ExactC<t.TypeC<{
5481
- type: t.LiteralC<"Select">;
5482
- value: t.Type<string, string, unknown>;
5483
- __TYPE__: t.LiteralC<"FieldContent">;
5484
- }>>, t.ExactC<t.TypeC<{
5485
- type: t.LiteralC<"Range">;
5486
- value: t.Type<string, string, unknown>;
5487
- __TYPE__: t.LiteralC<"FieldContent">;
5488
- }>>, t.ExactC<t.TypeC<{
5489
- type: t.LiteralC<"Number">;
5490
- value: t.Type<string, string, unknown>;
5491
- __TYPE__: t.LiteralC<"FieldContent">;
5492
- }>>, t.ExactC<t.TypeC<{
5493
- type: t.LiteralC<"Date">;
5494
- value: t.Type<string, string, unknown>;
5495
- __TYPE__: t.LiteralC<"FieldContent">;
5496
- }>>, t.ExactC<t.TypeC<{
5497
- type: t.LiteralC<"Color">;
5498
- value: t.Type<string, string, unknown>;
5499
- __TYPE__: t.LiteralC<"FieldContent">;
5500
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
5501
- position: t.ExactC<t.TypeC<{
5502
- lat: t.NumberC;
5503
- lng: t.NumberC;
5504
- }>>;
5505
4000
  }>>, t.ExactC<t.TypeC<{
5506
- __TYPE__: t.LiteralC<"GeoPointContent">;
5507
- }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5508
- origin: t.ExactC<t.TypeC<{
5509
- id: t.StringC;
5510
- url: t.StringC;
5511
- width: t.NumberC;
5512
- height: t.NumberC;
5513
- }>>;
5514
- width: t.NumberC;
5515
- height: t.NumberC;
5516
- edit: t.TypeC<{
5517
- zoom: t.NumberC;
5518
- crop: t.TypeC<{
5519
- x: t.NumberC;
5520
- y: t.NumberC;
5521
- }>;
5522
- background: t.StringC;
5523
- }>;
5524
- }>, t.PartialC<{
5525
- url: t.StringC;
5526
- credits: t.Type<string | null, string | null, unknown>;
5527
- alt: t.Type<string | null, string | null, unknown>;
5528
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5529
- }>]>>, t.PartialC<{
5530
- thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
4001
+ __TYPE__: t.LiteralC<"SharedSliceContent">;
4002
+ variation: t.StringC;
4003
+ primary: t.RecordC<t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
4004
+ type: t.StringC;
4005
+ __TYPE__: t.LiteralC<"EmptyContent">;
4006
+ }>>, t.ExactC<t.TypeC<{
4007
+ __TYPE__: t.LiteralC<"BooleanContent">;
4008
+ value: t.BooleanC;
4009
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4010
+ embed_url: t.StringC;
4011
+ type: t.StringC;
4012
+ }>, t.PartialC<{
4013
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4014
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4015
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4016
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4017
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4018
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4019
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4020
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4021
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4022
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4023
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4024
+ }>]>>, t.ExactC<t.TypeC<{
4025
+ __TYPE__: t.LiteralC<"EmbedContent">;
4026
+ all: t.UnknownC;
4027
+ }>>]>, t.ExactC<t.TypeC<{
4028
+ type: t.LiteralC<"Text">;
4029
+ value: t.Type<string, string, unknown>;
4030
+ __TYPE__: t.LiteralC<"FieldContent">;
4031
+ }>>, t.ExactC<t.TypeC<{
4032
+ type: t.LiteralC<"Timestamp">;
4033
+ value: t.Type<string, string, unknown>;
4034
+ __TYPE__: t.LiteralC<"FieldContent">;
4035
+ }>>, t.ExactC<t.TypeC<{
4036
+ type: t.LiteralC<"Select">;
4037
+ value: t.Type<string, string, unknown>;
4038
+ __TYPE__: t.LiteralC<"FieldContent">;
4039
+ }>>, t.ExactC<t.TypeC<{
4040
+ type: t.LiteralC<"Range">;
4041
+ value: t.Type<string, string, unknown>;
4042
+ __TYPE__: t.LiteralC<"FieldContent">;
4043
+ }>>, t.ExactC<t.TypeC<{
4044
+ type: t.LiteralC<"Number">;
4045
+ value: t.Type<string, string, unknown>;
4046
+ __TYPE__: t.LiteralC<"FieldContent">;
4047
+ }>>, t.ExactC<t.TypeC<{
4048
+ type: t.LiteralC<"Date">;
4049
+ value: t.Type<string, string, unknown>;
4050
+ __TYPE__: t.LiteralC<"FieldContent">;
4051
+ }>>, t.ExactC<t.TypeC<{
4052
+ type: t.LiteralC<"Color">;
4053
+ value: t.Type<string, string, unknown>;
4054
+ __TYPE__: t.LiteralC<"FieldContent">;
4055
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4056
+ position: t.ExactC<t.TypeC<{
4057
+ lat: t.NumberC;
4058
+ lng: t.NumberC;
4059
+ }>>;
4060
+ }>>, t.ExactC<t.TypeC<{
4061
+ __TYPE__: t.LiteralC<"GeoPointContent">;
4062
+ }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5531
4063
  origin: t.ExactC<t.TypeC<{
5532
4064
  id: t.StringC;
5533
4065
  url: t.StringC;
@@ -5549,60 +4081,8 @@ export declare const SlicesContent: t.TypeC<{
5549
4081
  credits: t.Type<string | null, string | null, unknown>;
5550
4082
  alt: t.Type<string | null, string | null, unknown>;
5551
4083
  provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5552
- }>]>>>;
5553
- }>]>, t.ExactC<t.TypeC<{
5554
- __TYPE__: t.LiteralC<"ImageContent">;
5555
- }>>]>, t.ExactC<t.TypeC<{
5556
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
5557
- value: t.StringC;
5558
- }>>, t.ExactC<t.TypeC<{
5559
- __TYPE__: t.LiteralC<"LinkContent">;
5560
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
5561
- __TYPE__: t.LiteralC<"ImageLink">;
5562
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5563
- id: t.StringC;
5564
- url: t.StringC;
5565
- height: t.StringC;
5566
- width: t.StringC;
5567
- size: t.StringC;
5568
- name: t.StringC;
5569
- kind: t.StringC;
5570
- }>, t.PartialC<{
5571
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5572
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5573
- id: t.StringC;
5574
- url: t.StringC;
5575
- name: t.StringC;
5576
- kind: t.StringC;
5577
- size: t.StringC;
5578
- }>, t.PartialC<{
5579
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5580
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5581
- __TYPE__: t.LiteralC<"FileLink">;
5582
- }>, t.PartialC<{
5583
- size: t.StringC;
5584
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5585
- __TYPE__: t.LiteralC<"DocumentLink">;
5586
- }>>, t.ExactC<t.TypeC<{
5587
- id: t.Type<string, string, unknown>;
5588
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5589
- __TYPE__: t.LiteralC<"ExternalLink">;
5590
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5591
- url: t.StringC;
5592
- }>, t.PartialC<{
5593
- kind: t.LiteralC<"web">;
5594
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5595
- preview: t.UnionC<[t.Type<{
5596
- title?: string;
5597
- }, {
5598
- title?: string;
5599
- }, unknown>, t.NullC, t.UndefinedC]>;
5600
- }>]>>]>]>;
5601
- }>>, t.ExactC<t.TypeC<{
5602
- __TYPE__: t.LiteralC<"StructuredTextContent">;
5603
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5604
- type: t.LiteralC<"image">;
5605
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4084
+ }>]>>, t.PartialC<{
4085
+ thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
5606
4086
  origin: t.ExactC<t.TypeC<{
5607
4087
  id: t.StringC;
5608
4088
  url: t.StringC;
@@ -5621,122 +4101,86 @@ export declare const SlicesContent: t.TypeC<{
5621
4101
  }>;
5622
4102
  }>, t.PartialC<{
5623
4103
  url: t.StringC;
5624
- credits: t.Type<string | null, string | null, unknown>;
5625
- alt: t.Type<string | null, string | null, unknown>;
5626
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5627
- }>]>>, t.PartialC<{
5628
- linkTo: t.UnionC<[t.Type<({
5629
- __TYPE__: "ImageLink";
5630
- } & {
5631
- id: string;
5632
- url: string;
5633
- height: string;
5634
- width: string;
5635
- size: string;
5636
- name: string;
5637
- kind: string;
5638
- } & {
5639
- date?: string | null | undefined;
5640
- }) | ({
5641
- id: string;
5642
- url: string;
5643
- name: string;
5644
- kind: string;
5645
- size: string;
5646
- } & {
5647
- date?: string | null | undefined;
5648
- } & {
5649
- __TYPE__: "FileLink";
5650
- } & {
5651
- size?: string;
5652
- }) | ({
5653
- __TYPE__: "DocumentLink";
5654
- } & {
5655
- id: string;
5656
- }) | ({
5657
- __TYPE__: "ExternalLink";
5658
- } & {
5659
- url: string;
5660
- } & {
5661
- kind?: "web";
5662
- target?: string | null | undefined;
5663
- preview?: {
5664
- title?: string;
5665
- } | null | undefined;
5666
- }), ({
5667
- __TYPE__: "ImageLink";
5668
- } & {
5669
- id: string;
5670
- url: string;
5671
- height: string;
5672
- width: string;
5673
- size: string;
5674
- name: string;
5675
- kind: string;
5676
- } & {
5677
- date?: string | null | undefined;
5678
- }) | ({
5679
- id: string;
5680
- url: string;
5681
- name: string;
5682
- kind: string;
5683
- size: string;
5684
- } & {
5685
- date?: string | null | undefined;
5686
- } & {
5687
- __TYPE__: "FileLink";
5688
- } & {
5689
- size?: string;
5690
- }) | ({
5691
- __TYPE__: "DocumentLink";
5692
- } & {
5693
- id: string;
5694
- }) | ({
5695
- __TYPE__: "ExternalLink";
5696
- } & {
5697
- url: string;
5698
- } & {
5699
- kind?: "web";
5700
- target?: string | null | undefined;
5701
- preview?: {
5702
- title?: string;
5703
- } | null | undefined;
5704
- }), unknown>, t.NullC, t.UndefinedC]>;
5705
- }>]>;
5706
- }>, t.PartialC<{
5707
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5708
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5709
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5710
- type: t.LiteralC<"embed">;
5711
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5712
- embed_url: t.StringC;
5713
- type: t.StringC;
4104
+ credits: t.Type<string | null, string | null, unknown>;
4105
+ alt: t.Type<string | null, string | null, unknown>;
4106
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4107
+ }>]>>>;
4108
+ }>]>, t.ExactC<t.TypeC<{
4109
+ __TYPE__: t.LiteralC<"ImageContent">;
4110
+ }>>]>, t.ExactC<t.TypeC<{
4111
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
4112
+ value: t.StringC;
4113
+ }>>, t.ExactC<t.TypeC<{
4114
+ __TYPE__: t.LiteralC<"LinkContent">;
4115
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4116
+ __TYPE__: t.LiteralC<"ImageLink">;
4117
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4118
+ id: t.StringC;
4119
+ url: t.StringC;
4120
+ height: t.StringC;
4121
+ width: t.StringC;
4122
+ size: t.StringC;
4123
+ name: t.StringC;
4124
+ kind: t.StringC;
4125
+ }>, t.PartialC<{
4126
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4127
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4128
+ id: t.StringC;
4129
+ url: t.StringC;
4130
+ name: t.StringC;
4131
+ kind: t.StringC;
4132
+ size: t.StringC;
5714
4133
  }>, t.PartialC<{
5715
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5716
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5717
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5718
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5719
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5720
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5721
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5722
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5723
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5724
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5725
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5726
- }>]>>, t.ExactC<t.TypeC<{
5727
- __TYPE__: t.LiteralC<"EmbedContent">;
5728
- all: t.UnknownC;
5729
- }>>]>;
5730
- }>, t.PartialC<{
5731
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5732
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5733
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5734
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
5735
- content: t.IntersectionC<[t.TypeC<{
5736
- text: t.StringC;
4134
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4135
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4136
+ __TYPE__: t.LiteralC<"FileLink">;
5737
4137
  }>, t.PartialC<{
5738
- spans: t.Type<({
5739
- data: ({
4138
+ size: t.StringC;
4139
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4140
+ __TYPE__: t.LiteralC<"DocumentLink">;
4141
+ }>>, t.ExactC<t.TypeC<{
4142
+ id: t.Type<string, string, unknown>;
4143
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4144
+ __TYPE__: t.LiteralC<"ExternalLink">;
4145
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4146
+ url: t.StringC;
4147
+ }>, t.PartialC<{
4148
+ kind: t.LiteralC<"web">;
4149
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4150
+ preview: t.UnionC<[t.Type<{
4151
+ title?: string;
4152
+ }, {
4153
+ title?: string;
4154
+ }, unknown>, t.NullC, t.UndefinedC]>;
4155
+ }>]>>]>]>;
4156
+ }>>, t.ExactC<t.TypeC<{
4157
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
4158
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4159
+ type: t.LiteralC<"image">;
4160
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4161
+ origin: t.ExactC<t.TypeC<{
4162
+ id: t.StringC;
4163
+ url: t.StringC;
4164
+ width: t.NumberC;
4165
+ height: t.NumberC;
4166
+ }>>;
4167
+ width: t.NumberC;
4168
+ height: t.NumberC;
4169
+ edit: t.TypeC<{
4170
+ zoom: t.NumberC;
4171
+ crop: t.TypeC<{
4172
+ x: t.NumberC;
4173
+ y: t.NumberC;
4174
+ }>;
4175
+ background: t.StringC;
4176
+ }>;
4177
+ }>, t.PartialC<{
4178
+ url: t.StringC;
4179
+ credits: t.Type<string | null, string | null, unknown>;
4180
+ alt: t.Type<string | null, string | null, unknown>;
4181
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4182
+ }>]>>, t.PartialC<{
4183
+ linkTo: t.UnionC<[t.Type<({
5740
4184
  __TYPE__: "ImageLink";
5741
4185
  } & {
5742
4186
  id: string;
@@ -5774,21 +4218,7 @@ export declare const SlicesContent: t.TypeC<{
5774
4218
  preview?: {
5775
4219
  title?: string;
5776
4220
  } | null | undefined;
5777
- });
5778
- start: number;
5779
- end: number;
5780
- type: "hyperlink";
5781
- } | {
5782
- data: string;
5783
- start: number;
5784
- end: number;
5785
- type: "label";
5786
- } | {
5787
- start: number;
5788
- end: number;
5789
- type: "strong" | "em" | "list-item";
5790
- })[], ({
5791
- data: ({
4221
+ }), ({
5792
4222
  __TYPE__: "ImageLink";
5793
4223
  } & {
5794
4224
  id: string;
@@ -5826,32 +4256,156 @@ export declare const SlicesContent: t.TypeC<{
5826
4256
  preview?: {
5827
4257
  title?: string;
5828
4258
  } | null | undefined;
5829
- });
5830
- start: number;
5831
- end: number;
5832
- type: "hyperlink";
5833
- } | {
5834
- data: string;
5835
- start: number;
5836
- end: number;
5837
- type: "label";
5838
- } | {
5839
- start: number;
5840
- end: number;
5841
- type: "strong" | "em" | "list-item";
5842
- })[], unknown>;
5843
- }>]>;
5844
- }>, t.PartialC<{
5845
- label: t.StringC;
5846
- direction: t.StringC;
5847
- }>]>>]>>;
5848
- }>>, t.ExactC<t.TypeC<{
5849
- __TYPE__: t.LiteralC<"SeparatorContent">;
5850
- }>>]>, t.ExactC<t.TypeC<{
5851
- __TYPE__: t.LiteralC<"GroupContentType">;
5852
- value: t.ArrayC<t.ExactC<t.TypeC<{
4259
+ }), unknown>, t.NullC, t.UndefinedC]>;
4260
+ }>]>;
4261
+ }>, t.PartialC<{
4262
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4263
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4264
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4265
+ type: t.LiteralC<"embed">;
4266
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4267
+ embed_url: t.StringC;
4268
+ type: t.StringC;
4269
+ }>, t.PartialC<{
4270
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4271
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4272
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4273
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4274
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4275
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4276
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4277
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4278
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4279
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4280
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4281
+ }>]>>, t.ExactC<t.TypeC<{
4282
+ __TYPE__: t.LiteralC<"EmbedContent">;
4283
+ all: t.UnknownC;
4284
+ }>>]>;
4285
+ }>, t.PartialC<{
4286
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4287
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4288
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4289
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4290
+ content: t.IntersectionC<[t.TypeC<{
4291
+ text: t.StringC;
4292
+ }>, t.PartialC<{
4293
+ spans: t.Type<({
4294
+ data: ({
4295
+ __TYPE__: "ImageLink";
4296
+ } & {
4297
+ id: string;
4298
+ url: string;
4299
+ height: string;
4300
+ width: string;
4301
+ size: string;
4302
+ name: string;
4303
+ kind: string;
4304
+ } & {
4305
+ date?: string | null | undefined;
4306
+ }) | ({
4307
+ id: string;
4308
+ url: string;
4309
+ name: string;
4310
+ kind: string;
4311
+ size: string;
4312
+ } & {
4313
+ date?: string | null | undefined;
4314
+ } & {
4315
+ __TYPE__: "FileLink";
4316
+ } & {
4317
+ size?: string;
4318
+ }) | ({
4319
+ __TYPE__: "DocumentLink";
4320
+ } & {
4321
+ id: string;
4322
+ }) | ({
4323
+ __TYPE__: "ExternalLink";
4324
+ } & {
4325
+ url: string;
4326
+ } & {
4327
+ kind?: "web";
4328
+ target?: string | null | undefined;
4329
+ preview?: {
4330
+ title?: string;
4331
+ } | null | undefined;
4332
+ });
4333
+ start: number;
4334
+ end: number;
4335
+ type: "hyperlink";
4336
+ } | {
4337
+ data: string;
4338
+ start: number;
4339
+ end: number;
4340
+ type: "label";
4341
+ } | {
4342
+ start: number;
4343
+ end: number;
4344
+ type: "strong" | "em" | "list-item";
4345
+ })[], ({
4346
+ data: ({
4347
+ __TYPE__: "ImageLink";
4348
+ } & {
4349
+ id: string;
4350
+ url: string;
4351
+ height: string;
4352
+ width: string;
4353
+ size: string;
4354
+ name: string;
4355
+ kind: string;
4356
+ } & {
4357
+ date?: string | null | undefined;
4358
+ }) | ({
4359
+ id: string;
4360
+ url: string;
4361
+ name: string;
4362
+ kind: string;
4363
+ size: string;
4364
+ } & {
4365
+ date?: string | null | undefined;
4366
+ } & {
4367
+ __TYPE__: "FileLink";
4368
+ } & {
4369
+ size?: string;
4370
+ }) | ({
4371
+ __TYPE__: "DocumentLink";
4372
+ } & {
4373
+ id: string;
4374
+ }) | ({
4375
+ __TYPE__: "ExternalLink";
4376
+ } & {
4377
+ url: string;
4378
+ } & {
4379
+ kind?: "web";
4380
+ target?: string | null | undefined;
4381
+ preview?: {
4382
+ title?: string;
4383
+ } | null | undefined;
4384
+ });
4385
+ start: number;
4386
+ end: number;
4387
+ type: "hyperlink";
4388
+ } | {
4389
+ data: string;
4390
+ start: number;
4391
+ end: number;
4392
+ type: "label";
4393
+ } | {
4394
+ start: number;
4395
+ end: number;
4396
+ type: "strong" | "em" | "list-item";
4397
+ })[], unknown>;
4398
+ }>]>;
4399
+ }>, t.PartialC<{
4400
+ label: t.StringC;
4401
+ direction: t.StringC;
4402
+ }>]>>]>>;
4403
+ }>>, t.ExactC<t.TypeC<{
4404
+ __TYPE__: t.LiteralC<"SeparatorContent">;
4405
+ }>>]>, t.Type<import("..").GroupContent, import("..").GroupContent, unknown>]>>;
4406
+ items: t.ArrayC<t.ExactC<t.TypeC<{
5853
4407
  __TYPE__: t.LiteralC<"GroupItemContent">;
5854
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
4408
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
5855
4409
  type: t.StringC;
5856
4410
  __TYPE__: t.LiteralC<"EmptyContent">;
5857
4411
  }>>, t.ExactC<t.TypeC<{
@@ -6253,9 +4807,411 @@ export declare const SlicesContent: t.TypeC<{
6253
4807
  }>]>>]>>;
6254
4808
  }>>, t.ExactC<t.TypeC<{
6255
4809
  __TYPE__: t.LiteralC<"SeparatorContent">;
6256
- }>>]>]>>;
4810
+ }>>]>, t.Type<import("..").GroupContent, import("..").GroupContent, unknown>]>]>>;
6257
4811
  }>>>;
6258
- }>>]>]>;
4812
+ }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
4813
+ type: t.StringC;
4814
+ __TYPE__: t.LiteralC<"EmptyContent">;
4815
+ }>>, t.ExactC<t.TypeC<{
4816
+ __TYPE__: t.LiteralC<"BooleanContent">;
4817
+ value: t.BooleanC;
4818
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4819
+ embed_url: t.StringC;
4820
+ type: t.StringC;
4821
+ }>, t.PartialC<{
4822
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4823
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4824
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4825
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4826
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4827
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4828
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4829
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4830
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4831
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4832
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4833
+ }>]>>, t.ExactC<t.TypeC<{
4834
+ __TYPE__: t.LiteralC<"EmbedContent">;
4835
+ all: t.UnknownC;
4836
+ }>>]>, t.ExactC<t.TypeC<{
4837
+ type: t.LiteralC<"Text">;
4838
+ value: t.Type<string, string, unknown>;
4839
+ __TYPE__: t.LiteralC<"FieldContent">;
4840
+ }>>, t.ExactC<t.TypeC<{
4841
+ type: t.LiteralC<"Timestamp">;
4842
+ value: t.Type<string, string, unknown>;
4843
+ __TYPE__: t.LiteralC<"FieldContent">;
4844
+ }>>, t.ExactC<t.TypeC<{
4845
+ type: t.LiteralC<"Select">;
4846
+ value: t.Type<string, string, unknown>;
4847
+ __TYPE__: t.LiteralC<"FieldContent">;
4848
+ }>>, t.ExactC<t.TypeC<{
4849
+ type: t.LiteralC<"Range">;
4850
+ value: t.Type<string, string, unknown>;
4851
+ __TYPE__: t.LiteralC<"FieldContent">;
4852
+ }>>, t.ExactC<t.TypeC<{
4853
+ type: t.LiteralC<"Number">;
4854
+ value: t.Type<string, string, unknown>;
4855
+ __TYPE__: t.LiteralC<"FieldContent">;
4856
+ }>>, t.ExactC<t.TypeC<{
4857
+ type: t.LiteralC<"Date">;
4858
+ value: t.Type<string, string, unknown>;
4859
+ __TYPE__: t.LiteralC<"FieldContent">;
4860
+ }>>, t.ExactC<t.TypeC<{
4861
+ type: t.LiteralC<"Color">;
4862
+ value: t.Type<string, string, unknown>;
4863
+ __TYPE__: t.LiteralC<"FieldContent">;
4864
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4865
+ position: t.ExactC<t.TypeC<{
4866
+ lat: t.NumberC;
4867
+ lng: t.NumberC;
4868
+ }>>;
4869
+ }>>, t.ExactC<t.TypeC<{
4870
+ __TYPE__: t.LiteralC<"GeoPointContent">;
4871
+ }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4872
+ origin: t.ExactC<t.TypeC<{
4873
+ id: t.StringC;
4874
+ url: t.StringC;
4875
+ width: t.NumberC;
4876
+ height: t.NumberC;
4877
+ }>>;
4878
+ width: t.NumberC;
4879
+ height: t.NumberC;
4880
+ edit: t.TypeC<{
4881
+ zoom: t.NumberC;
4882
+ crop: t.TypeC<{
4883
+ x: t.NumberC;
4884
+ y: t.NumberC;
4885
+ }>;
4886
+ background: t.StringC;
4887
+ }>;
4888
+ }>, t.PartialC<{
4889
+ url: t.StringC;
4890
+ credits: t.Type<string | null, string | null, unknown>;
4891
+ alt: t.Type<string | null, string | null, unknown>;
4892
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4893
+ }>]>>, t.PartialC<{
4894
+ thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
4895
+ origin: t.ExactC<t.TypeC<{
4896
+ id: t.StringC;
4897
+ url: t.StringC;
4898
+ width: t.NumberC;
4899
+ height: t.NumberC;
4900
+ }>>;
4901
+ width: t.NumberC;
4902
+ height: t.NumberC;
4903
+ edit: t.TypeC<{
4904
+ zoom: t.NumberC;
4905
+ crop: t.TypeC<{
4906
+ x: t.NumberC;
4907
+ y: t.NumberC;
4908
+ }>;
4909
+ background: t.StringC;
4910
+ }>;
4911
+ }>, t.PartialC<{
4912
+ url: t.StringC;
4913
+ credits: t.Type<string | null, string | null, unknown>;
4914
+ alt: t.Type<string | null, string | null, unknown>;
4915
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4916
+ }>]>>>;
4917
+ }>]>, t.ExactC<t.TypeC<{
4918
+ __TYPE__: t.LiteralC<"ImageContent">;
4919
+ }>>]>, t.ExactC<t.TypeC<{
4920
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
4921
+ value: t.StringC;
4922
+ }>>, t.ExactC<t.TypeC<{
4923
+ __TYPE__: t.LiteralC<"LinkContent">;
4924
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4925
+ __TYPE__: t.LiteralC<"ImageLink">;
4926
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4927
+ id: t.StringC;
4928
+ url: t.StringC;
4929
+ height: t.StringC;
4930
+ width: t.StringC;
4931
+ size: t.StringC;
4932
+ name: t.StringC;
4933
+ kind: t.StringC;
4934
+ }>, t.PartialC<{
4935
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4936
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4937
+ id: t.StringC;
4938
+ url: t.StringC;
4939
+ name: t.StringC;
4940
+ kind: t.StringC;
4941
+ size: t.StringC;
4942
+ }>, t.PartialC<{
4943
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4944
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4945
+ __TYPE__: t.LiteralC<"FileLink">;
4946
+ }>, t.PartialC<{
4947
+ size: t.StringC;
4948
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4949
+ __TYPE__: t.LiteralC<"DocumentLink">;
4950
+ }>>, t.ExactC<t.TypeC<{
4951
+ id: t.Type<string, string, unknown>;
4952
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4953
+ __TYPE__: t.LiteralC<"ExternalLink">;
4954
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4955
+ url: t.StringC;
4956
+ }>, t.PartialC<{
4957
+ kind: t.LiteralC<"web">;
4958
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4959
+ preview: t.UnionC<[t.Type<{
4960
+ title?: string;
4961
+ }, {
4962
+ title?: string;
4963
+ }, unknown>, t.NullC, t.UndefinedC]>;
4964
+ }>]>>]>]>;
4965
+ }>>, t.ExactC<t.TypeC<{
4966
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
4967
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4968
+ type: t.LiteralC<"image">;
4969
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4970
+ origin: t.ExactC<t.TypeC<{
4971
+ id: t.StringC;
4972
+ url: t.StringC;
4973
+ width: t.NumberC;
4974
+ height: t.NumberC;
4975
+ }>>;
4976
+ width: t.NumberC;
4977
+ height: t.NumberC;
4978
+ edit: t.TypeC<{
4979
+ zoom: t.NumberC;
4980
+ crop: t.TypeC<{
4981
+ x: t.NumberC;
4982
+ y: t.NumberC;
4983
+ }>;
4984
+ background: t.StringC;
4985
+ }>;
4986
+ }>, t.PartialC<{
4987
+ url: t.StringC;
4988
+ credits: t.Type<string | null, string | null, unknown>;
4989
+ alt: t.Type<string | null, string | null, unknown>;
4990
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4991
+ }>]>>, t.PartialC<{
4992
+ linkTo: t.UnionC<[t.Type<({
4993
+ __TYPE__: "ImageLink";
4994
+ } & {
4995
+ id: string;
4996
+ url: string;
4997
+ height: string;
4998
+ width: string;
4999
+ size: string;
5000
+ name: string;
5001
+ kind: string;
5002
+ } & {
5003
+ date?: string | null | undefined;
5004
+ }) | ({
5005
+ id: string;
5006
+ url: string;
5007
+ name: string;
5008
+ kind: string;
5009
+ size: string;
5010
+ } & {
5011
+ date?: string | null | undefined;
5012
+ } & {
5013
+ __TYPE__: "FileLink";
5014
+ } & {
5015
+ size?: string;
5016
+ }) | ({
5017
+ __TYPE__: "DocumentLink";
5018
+ } & {
5019
+ id: string;
5020
+ }) | ({
5021
+ __TYPE__: "ExternalLink";
5022
+ } & {
5023
+ url: string;
5024
+ } & {
5025
+ kind?: "web";
5026
+ target?: string | null | undefined;
5027
+ preview?: {
5028
+ title?: string;
5029
+ } | null | undefined;
5030
+ }), ({
5031
+ __TYPE__: "ImageLink";
5032
+ } & {
5033
+ id: string;
5034
+ url: string;
5035
+ height: string;
5036
+ width: string;
5037
+ size: string;
5038
+ name: string;
5039
+ kind: string;
5040
+ } & {
5041
+ date?: string | null | undefined;
5042
+ }) | ({
5043
+ id: string;
5044
+ url: string;
5045
+ name: string;
5046
+ kind: string;
5047
+ size: string;
5048
+ } & {
5049
+ date?: string | null | undefined;
5050
+ } & {
5051
+ __TYPE__: "FileLink";
5052
+ } & {
5053
+ size?: string;
5054
+ }) | ({
5055
+ __TYPE__: "DocumentLink";
5056
+ } & {
5057
+ id: string;
5058
+ }) | ({
5059
+ __TYPE__: "ExternalLink";
5060
+ } & {
5061
+ url: string;
5062
+ } & {
5063
+ kind?: "web";
5064
+ target?: string | null | undefined;
5065
+ preview?: {
5066
+ title?: string;
5067
+ } | null | undefined;
5068
+ }), unknown>, t.NullC, t.UndefinedC]>;
5069
+ }>]>;
5070
+ }>, t.PartialC<{
5071
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5072
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5073
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5074
+ type: t.LiteralC<"embed">;
5075
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5076
+ embed_url: t.StringC;
5077
+ type: t.StringC;
5078
+ }>, t.PartialC<{
5079
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5080
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5081
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5082
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5083
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5084
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5085
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5086
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5087
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5088
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5089
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5090
+ }>]>>, t.ExactC<t.TypeC<{
5091
+ __TYPE__: t.LiteralC<"EmbedContent">;
5092
+ all: t.UnknownC;
5093
+ }>>]>;
5094
+ }>, t.PartialC<{
5095
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5096
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5097
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5098
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
5099
+ content: t.IntersectionC<[t.TypeC<{
5100
+ text: t.StringC;
5101
+ }>, t.PartialC<{
5102
+ spans: t.Type<({
5103
+ data: ({
5104
+ __TYPE__: "ImageLink";
5105
+ } & {
5106
+ id: string;
5107
+ url: string;
5108
+ height: string;
5109
+ width: string;
5110
+ size: string;
5111
+ name: string;
5112
+ kind: string;
5113
+ } & {
5114
+ date?: string | null | undefined;
5115
+ }) | ({
5116
+ id: string;
5117
+ url: string;
5118
+ name: string;
5119
+ kind: string;
5120
+ size: string;
5121
+ } & {
5122
+ date?: string | null | undefined;
5123
+ } & {
5124
+ __TYPE__: "FileLink";
5125
+ } & {
5126
+ size?: string;
5127
+ }) | ({
5128
+ __TYPE__: "DocumentLink";
5129
+ } & {
5130
+ id: string;
5131
+ }) | ({
5132
+ __TYPE__: "ExternalLink";
5133
+ } & {
5134
+ url: string;
5135
+ } & {
5136
+ kind?: "web";
5137
+ target?: string | null | undefined;
5138
+ preview?: {
5139
+ title?: string;
5140
+ } | null | undefined;
5141
+ });
5142
+ start: number;
5143
+ end: number;
5144
+ type: "hyperlink";
5145
+ } | {
5146
+ data: string;
5147
+ start: number;
5148
+ end: number;
5149
+ type: "label";
5150
+ } | {
5151
+ start: number;
5152
+ end: number;
5153
+ type: "strong" | "em" | "list-item";
5154
+ })[], ({
5155
+ data: ({
5156
+ __TYPE__: "ImageLink";
5157
+ } & {
5158
+ id: string;
5159
+ url: string;
5160
+ height: string;
5161
+ width: string;
5162
+ size: string;
5163
+ name: string;
5164
+ kind: string;
5165
+ } & {
5166
+ date?: string | null | undefined;
5167
+ }) | ({
5168
+ id: string;
5169
+ url: string;
5170
+ name: string;
5171
+ kind: string;
5172
+ size: string;
5173
+ } & {
5174
+ date?: string | null | undefined;
5175
+ } & {
5176
+ __TYPE__: "FileLink";
5177
+ } & {
5178
+ size?: string;
5179
+ }) | ({
5180
+ __TYPE__: "DocumentLink";
5181
+ } & {
5182
+ id: string;
5183
+ }) | ({
5184
+ __TYPE__: "ExternalLink";
5185
+ } & {
5186
+ url: string;
5187
+ } & {
5188
+ kind?: "web";
5189
+ target?: string | null | undefined;
5190
+ preview?: {
5191
+ title?: string;
5192
+ } | null | undefined;
5193
+ });
5194
+ start: number;
5195
+ end: number;
5196
+ type: "hyperlink";
5197
+ } | {
5198
+ data: string;
5199
+ start: number;
5200
+ end: number;
5201
+ type: "label";
5202
+ } | {
5203
+ start: number;
5204
+ end: number;
5205
+ type: "strong" | "em" | "list-item";
5206
+ })[], unknown>;
5207
+ }>]>;
5208
+ }>, t.PartialC<{
5209
+ label: t.StringC;
5210
+ direction: t.StringC;
5211
+ }>]>>]>>;
5212
+ }>>, t.ExactC<t.TypeC<{
5213
+ __TYPE__: t.LiteralC<"SeparatorContent">;
5214
+ }>>]>, t.Type<import("..").GroupContent, import("..").GroupContent, unknown>]>]>;
6259
5215
  }>>;
6260
5216
  }>;
6261
5217
  export declare type SlicesContent = t.TypeOf<typeof SlicesContent>;