@prismicio/types-internal 2.4.0-alpha.3 → 2.4.0-alpha.5

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.
@@ -1588,6 +1588,324 @@ export declare const isSlicesContent: (u: unknown) => u is {
1588
1588
  }))[];
1589
1589
  } | {
1590
1590
  __TYPE__: "SeparatorContent";
1591
+ } | {
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
+ }) | ({
1655
+ origin: {
1656
+ id: string;
1657
+ url: string;
1658
+ width: number;
1659
+ height: number;
1660
+ };
1661
+ width: number;
1662
+ height: number;
1663
+ edit: {
1664
+ zoom: number;
1665
+ crop: {
1666
+ x: number;
1667
+ y: number;
1668
+ };
1669
+ background: string;
1670
+ };
1671
+ } & {
1672
+ url?: string;
1673
+ credits?: string | null;
1674
+ alt?: string | null;
1675
+ 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;
1700
+ };
1701
+ };
1702
+ } & {
1703
+ __TYPE__: "ImageContent";
1704
+ }) | {
1705
+ __TYPE__: "IntegrationFieldsContent";
1706
+ value: string;
1707
+ } | {
1708
+ __TYPE__: "LinkContent";
1709
+ value: ({
1710
+ __TYPE__: "ImageLink";
1711
+ } & {
1712
+ id: string;
1713
+ url: string;
1714
+ height: string;
1715
+ width: string;
1716
+ size: string;
1717
+ name: string;
1718
+ kind: string;
1719
+ } & {
1720
+ date?: string | null | undefined;
1721
+ }) | ({
1722
+ id: string;
1723
+ url: string;
1724
+ name: string;
1725
+ kind: string;
1726
+ size: string;
1727
+ } & {
1728
+ date?: string | null | undefined;
1729
+ } & {
1730
+ __TYPE__: "FileLink";
1731
+ } & {
1732
+ size?: string;
1733
+ }) | ({
1734
+ __TYPE__: "DocumentLink";
1735
+ } & {
1736
+ id: string;
1737
+ }) | ({
1738
+ __TYPE__: "ExternalLink";
1739
+ } & {
1740
+ url: string;
1741
+ } & {
1742
+ kind?: "web";
1743
+ target?: string | null | undefined;
1744
+ preview?: {
1745
+ title?: string;
1746
+ } | null | undefined;
1747
+ });
1748
+ } | {
1749
+ __TYPE__: "StructuredTextContent";
1750
+ value: (({
1751
+ type: "image";
1752
+ data: {
1753
+ origin: {
1754
+ id: string;
1755
+ url: string;
1756
+ width: number;
1757
+ height: number;
1758
+ };
1759
+ width: number;
1760
+ height: number;
1761
+ edit: {
1762
+ zoom: number;
1763
+ crop: {
1764
+ x: number;
1765
+ y: number;
1766
+ };
1767
+ background: string;
1768
+ };
1769
+ } & {
1770
+ url?: string;
1771
+ credits?: string | null;
1772
+ alt?: string | null;
1773
+ 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
+ };
1815
+ } & {
1816
+ label?: string | null | undefined;
1817
+ direction?: string | null | undefined;
1818
+ }) | ({
1819
+ type: "embed";
1820
+ data: {
1821
+ embed_url: string;
1822
+ type: string;
1823
+ } & {
1824
+ version?: string | number | null;
1825
+ title?: string | null | undefined;
1826
+ author_name?: string | null | undefined;
1827
+ author_url?: string | null | undefined;
1828
+ provider_name?: string | null | undefined;
1829
+ provider_url?: string | null | undefined;
1830
+ cache_age?: string | number | null;
1831
+ thumbnail_url?: string | null | undefined;
1832
+ thumbnail_width?: number | null | undefined;
1833
+ thumbnail_height?: number | null | undefined;
1834
+ html?: string | null | undefined;
1835
+ } & {
1836
+ __TYPE__: "EmbedContent";
1837
+ all: unknown;
1838
+ };
1839
+ } & {
1840
+ label?: string | null | undefined;
1841
+ direction?: string | null | undefined;
1842
+ }) | ({
1843
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1844
+ content: {
1845
+ text: string;
1846
+ } & {
1847
+ spans?: ({
1848
+ data: ({
1849
+ __TYPE__: "ImageLink";
1850
+ } & {
1851
+ id: string;
1852
+ url: string;
1853
+ height: string;
1854
+ width: string;
1855
+ size: string;
1856
+ name: string;
1857
+ kind: string;
1858
+ } & {
1859
+ date?: string | null | undefined;
1860
+ }) | ({
1861
+ id: string;
1862
+ url: string;
1863
+ name: string;
1864
+ kind: string;
1865
+ size: string;
1866
+ } & {
1867
+ date?: string | null | undefined;
1868
+ } & {
1869
+ __TYPE__: "FileLink";
1870
+ } & {
1871
+ size?: string;
1872
+ }) | ({
1873
+ __TYPE__: "DocumentLink";
1874
+ } & {
1875
+ id: string;
1876
+ }) | ({
1877
+ __TYPE__: "ExternalLink";
1878
+ } & {
1879
+ url: string;
1880
+ } & {
1881
+ kind?: "web";
1882
+ target?: string | null | undefined;
1883
+ preview?: {
1884
+ title?: string;
1885
+ } | null | undefined;
1886
+ });
1887
+ start: number;
1888
+ end: number;
1889
+ type: "hyperlink";
1890
+ } | {
1891
+ data: string;
1892
+ start: number;
1893
+ end: number;
1894
+ type: "label";
1895
+ } | {
1896
+ start: number;
1897
+ end: number;
1898
+ type: "strong" | "em" | "list-item";
1899
+ })[];
1900
+ };
1901
+ } & {
1902
+ label?: string;
1903
+ direction?: string;
1904
+ }))[];
1905
+ } | {
1906
+ __TYPE__: "SeparatorContent";
1907
+ }][];
1908
+ }[];
1591
1909
  };
1592
1910
  };
1593
1911
  items: {
@@ -3495,6 +3813,324 @@ export declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
3495
3813
  }))[];
3496
3814
  } | {
3497
3815
  __TYPE__: "SeparatorContent";
3816
+ } | {
3817
+ __TYPE__: "GroupContentType";
3818
+ value: {
3819
+ __TYPE__: "GroupItemContent";
3820
+ value: [string, {
3821
+ type: string;
3822
+ __TYPE__: "EmptyContent";
3823
+ } | {
3824
+ __TYPE__: "BooleanContent";
3825
+ value: boolean;
3826
+ } | ({
3827
+ embed_url: string;
3828
+ type: string;
3829
+ } & {
3830
+ version?: string | number | null;
3831
+ title?: string | null | undefined;
3832
+ author_name?: string | null | undefined;
3833
+ author_url?: string | null | undefined;
3834
+ provider_name?: string | null | undefined;
3835
+ provider_url?: string | null | undefined;
3836
+ cache_age?: string | number | null;
3837
+ thumbnail_url?: string | null | undefined;
3838
+ thumbnail_width?: number | null | undefined;
3839
+ thumbnail_height?: number | null | undefined;
3840
+ html?: string | null | undefined;
3841
+ } & {
3842
+ __TYPE__: "EmbedContent";
3843
+ all: unknown;
3844
+ }) | {
3845
+ type: "Color";
3846
+ value: string;
3847
+ __TYPE__: "FieldContent";
3848
+ } | {
3849
+ type: "Date";
3850
+ value: string;
3851
+ __TYPE__: "FieldContent";
3852
+ } | {
3853
+ type: "Number";
3854
+ value: string;
3855
+ __TYPE__: "FieldContent";
3856
+ } | {
3857
+ type: "Range";
3858
+ value: string;
3859
+ __TYPE__: "FieldContent";
3860
+ } | {
3861
+ type: "Select";
3862
+ value: string;
3863
+ __TYPE__: "FieldContent";
3864
+ } | {
3865
+ type: "Text";
3866
+ value: string;
3867
+ __TYPE__: "FieldContent";
3868
+ } | {
3869
+ type: "Timestamp";
3870
+ value: string;
3871
+ __TYPE__: "FieldContent";
3872
+ } | ({
3873
+ position: {
3874
+ lat: number;
3875
+ lng: number;
3876
+ };
3877
+ } & {
3878
+ __TYPE__: "GeoPointContent";
3879
+ }) | ({
3880
+ origin: {
3881
+ id: string;
3882
+ url: string;
3883
+ width: number;
3884
+ height: number;
3885
+ };
3886
+ width: number;
3887
+ height: number;
3888
+ edit: {
3889
+ zoom: number;
3890
+ crop: {
3891
+ x: number;
3892
+ y: number;
3893
+ };
3894
+ background: string;
3895
+ };
3896
+ } & {
3897
+ url?: string;
3898
+ credits?: string | null;
3899
+ alt?: string | null;
3900
+ provider?: string | null | undefined;
3901
+ } & {
3902
+ thumbnails?: {
3903
+ [x: string]: {
3904
+ origin: {
3905
+ id: string;
3906
+ url: string;
3907
+ width: number;
3908
+ height: number;
3909
+ };
3910
+ width: number;
3911
+ height: number;
3912
+ edit: {
3913
+ zoom: number;
3914
+ crop: {
3915
+ x: number;
3916
+ y: number;
3917
+ };
3918
+ background: string;
3919
+ };
3920
+ } & {
3921
+ url?: string;
3922
+ credits?: string | null;
3923
+ alt?: string | null;
3924
+ provider?: string | null | undefined;
3925
+ };
3926
+ };
3927
+ } & {
3928
+ __TYPE__: "ImageContent";
3929
+ }) | {
3930
+ __TYPE__: "IntegrationFieldsContent";
3931
+ value: string;
3932
+ } | {
3933
+ __TYPE__: "LinkContent";
3934
+ value: ({
3935
+ __TYPE__: "ImageLink";
3936
+ } & {
3937
+ id: string;
3938
+ url: string;
3939
+ height: string;
3940
+ width: string;
3941
+ size: string;
3942
+ name: string;
3943
+ kind: string;
3944
+ } & {
3945
+ date?: string | null | undefined;
3946
+ }) | ({
3947
+ id: string;
3948
+ url: string;
3949
+ name: string;
3950
+ kind: string;
3951
+ size: string;
3952
+ } & {
3953
+ date?: string | null | undefined;
3954
+ } & {
3955
+ __TYPE__: "FileLink";
3956
+ } & {
3957
+ size?: string;
3958
+ }) | ({
3959
+ __TYPE__: "DocumentLink";
3960
+ } & {
3961
+ id: string;
3962
+ }) | ({
3963
+ __TYPE__: "ExternalLink";
3964
+ } & {
3965
+ url: string;
3966
+ } & {
3967
+ kind?: "web";
3968
+ target?: string | null | undefined;
3969
+ preview?: {
3970
+ title?: string;
3971
+ } | null | undefined;
3972
+ });
3973
+ } | {
3974
+ __TYPE__: "StructuredTextContent";
3975
+ value: (({
3976
+ type: "image";
3977
+ data: {
3978
+ origin: {
3979
+ id: string;
3980
+ url: string;
3981
+ width: number;
3982
+ height: number;
3983
+ };
3984
+ width: number;
3985
+ height: number;
3986
+ edit: {
3987
+ zoom: number;
3988
+ crop: {
3989
+ x: number;
3990
+ y: number;
3991
+ };
3992
+ background: string;
3993
+ };
3994
+ } & {
3995
+ url?: string;
3996
+ credits?: string | null;
3997
+ alt?: string | null;
3998
+ provider?: string | null | undefined;
3999
+ } & {
4000
+ linkTo?: ({
4001
+ __TYPE__: "ImageLink";
4002
+ } & {
4003
+ id: string;
4004
+ url: string;
4005
+ height: string;
4006
+ width: string;
4007
+ size: string;
4008
+ name: string;
4009
+ kind: string;
4010
+ } & {
4011
+ date?: string | null | undefined;
4012
+ }) | ({
4013
+ id: string;
4014
+ url: string;
4015
+ name: string;
4016
+ kind: string;
4017
+ size: string;
4018
+ } & {
4019
+ date?: string | null | undefined;
4020
+ } & {
4021
+ __TYPE__: "FileLink";
4022
+ } & {
4023
+ size?: string;
4024
+ }) | ({
4025
+ __TYPE__: "DocumentLink";
4026
+ } & {
4027
+ id: string;
4028
+ }) | ({
4029
+ __TYPE__: "ExternalLink";
4030
+ } & {
4031
+ url: string;
4032
+ } & {
4033
+ kind?: "web";
4034
+ target?: string | null | undefined;
4035
+ preview?: {
4036
+ title?: string;
4037
+ } | null | undefined;
4038
+ }) | null | undefined;
4039
+ };
4040
+ } & {
4041
+ label?: string | null | undefined;
4042
+ direction?: string | null | undefined;
4043
+ }) | ({
4044
+ type: "embed";
4045
+ data: {
4046
+ embed_url: string;
4047
+ type: string;
4048
+ } & {
4049
+ version?: string | number | null;
4050
+ title?: string | null | undefined;
4051
+ author_name?: string | null | undefined;
4052
+ author_url?: string | null | undefined;
4053
+ provider_name?: string | null | undefined;
4054
+ provider_url?: string | null | undefined;
4055
+ cache_age?: string | number | null;
4056
+ thumbnail_url?: string | null | undefined;
4057
+ thumbnail_width?: number | null | undefined;
4058
+ thumbnail_height?: number | null | undefined;
4059
+ html?: string | null | undefined;
4060
+ } & {
4061
+ __TYPE__: "EmbedContent";
4062
+ all: unknown;
4063
+ };
4064
+ } & {
4065
+ label?: string | null | undefined;
4066
+ direction?: string | null | undefined;
4067
+ }) | ({
4068
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
4069
+ content: {
4070
+ text: string;
4071
+ } & {
4072
+ spans?: ({
4073
+ data: ({
4074
+ __TYPE__: "ImageLink";
4075
+ } & {
4076
+ id: string;
4077
+ url: string;
4078
+ height: string;
4079
+ width: string;
4080
+ size: string;
4081
+ name: string;
4082
+ kind: string;
4083
+ } & {
4084
+ date?: string | null | undefined;
4085
+ }) | ({
4086
+ id: string;
4087
+ url: string;
4088
+ name: string;
4089
+ kind: string;
4090
+ size: string;
4091
+ } & {
4092
+ date?: string | null | undefined;
4093
+ } & {
4094
+ __TYPE__: "FileLink";
4095
+ } & {
4096
+ size?: string;
4097
+ }) | ({
4098
+ __TYPE__: "DocumentLink";
4099
+ } & {
4100
+ id: string;
4101
+ }) | ({
4102
+ __TYPE__: "ExternalLink";
4103
+ } & {
4104
+ url: string;
4105
+ } & {
4106
+ kind?: "web";
4107
+ target?: string | null | undefined;
4108
+ preview?: {
4109
+ title?: string;
4110
+ } | null | undefined;
4111
+ });
4112
+ start: number;
4113
+ end: number;
4114
+ type: "hyperlink";
4115
+ } | {
4116
+ data: string;
4117
+ start: number;
4118
+ end: number;
4119
+ type: "label";
4120
+ } | {
4121
+ start: number;
4122
+ end: number;
4123
+ type: "strong" | "em" | "list-item";
4124
+ })[];
4125
+ };
4126
+ } & {
4127
+ label?: string;
4128
+ direction?: string;
4129
+ }))[];
4130
+ } | {
4131
+ __TYPE__: "SeparatorContent";
4132
+ }][];
4133
+ }[];
3498
4134
  };
3499
4135
  };
3500
4136
  items: {
@@ -4616,7 +5252,7 @@ export declare const SlicesContent: t.TypeC<{
4616
5252
  }>>, t.ExactC<t.TypeC<{
4617
5253
  __TYPE__: t.LiteralC<"SharedSliceContent">;
4618
5254
  variation: t.StringC;
4619
- primary: t.RecordC<t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
5255
+ primary: t.RecordC<t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
4620
5256
  type: t.StringC;
4621
5257
  __TYPE__: t.LiteralC<"EmptyContent">;
4622
5258
  }>>, t.ExactC<t.TypeC<{
@@ -5008,6 +5644,404 @@ export declare const SlicesContent: t.TypeC<{
5008
5644
  }>]>>]>>;
5009
5645
  }>>, t.ExactC<t.TypeC<{
5010
5646
  __TYPE__: t.LiteralC<"SeparatorContent">;
5647
+ }>>]>, t.ExactC<t.TypeC<{
5648
+ __TYPE__: t.LiteralC<"GroupContentType">;
5649
+ value: t.ArrayC<t.ExactC<t.TypeC<{
5650
+ __TYPE__: t.LiteralC<"GroupItemContent">;
5651
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
5652
+ type: t.StringC;
5653
+ __TYPE__: t.LiteralC<"EmptyContent">;
5654
+ }>>, t.ExactC<t.TypeC<{
5655
+ __TYPE__: t.LiteralC<"BooleanContent">;
5656
+ value: t.BooleanC;
5657
+ }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5658
+ embed_url: t.StringC;
5659
+ type: t.StringC;
5660
+ }>, t.PartialC<{
5661
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5662
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5663
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5664
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5665
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5666
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5667
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5668
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5669
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5670
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5671
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5672
+ }>]>>, t.ExactC<t.TypeC<{
5673
+ __TYPE__: t.LiteralC<"EmbedContent">;
5674
+ all: t.UnknownC;
5675
+ }>>]>, t.ExactC<t.TypeC<{
5676
+ type: t.LiteralC<"Text">;
5677
+ value: t.Type<string, string, unknown>;
5678
+ __TYPE__: t.LiteralC<"FieldContent">;
5679
+ }>>, t.ExactC<t.TypeC<{
5680
+ type: t.LiteralC<"Timestamp">;
5681
+ value: t.Type<string, string, unknown>;
5682
+ __TYPE__: t.LiteralC<"FieldContent">;
5683
+ }>>, t.ExactC<t.TypeC<{
5684
+ type: t.LiteralC<"Select">;
5685
+ value: t.Type<string, string, unknown>;
5686
+ __TYPE__: t.LiteralC<"FieldContent">;
5687
+ }>>, t.ExactC<t.TypeC<{
5688
+ type: t.LiteralC<"Range">;
5689
+ value: t.Type<string, string, unknown>;
5690
+ __TYPE__: t.LiteralC<"FieldContent">;
5691
+ }>>, t.ExactC<t.TypeC<{
5692
+ type: t.LiteralC<"Number">;
5693
+ value: t.Type<string, string, unknown>;
5694
+ __TYPE__: t.LiteralC<"FieldContent">;
5695
+ }>>, t.ExactC<t.TypeC<{
5696
+ type: t.LiteralC<"Date">;
5697
+ value: t.Type<string, string, unknown>;
5698
+ __TYPE__: t.LiteralC<"FieldContent">;
5699
+ }>>, t.ExactC<t.TypeC<{
5700
+ type: t.LiteralC<"Color">;
5701
+ value: t.Type<string, string, unknown>;
5702
+ __TYPE__: t.LiteralC<"FieldContent">;
5703
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
5704
+ position: t.ExactC<t.TypeC<{
5705
+ lat: t.NumberC;
5706
+ lng: t.NumberC;
5707
+ }>>;
5708
+ }>>, t.ExactC<t.TypeC<{
5709
+ __TYPE__: t.LiteralC<"GeoPointContent">;
5710
+ }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5711
+ origin: t.ExactC<t.TypeC<{
5712
+ id: t.StringC;
5713
+ url: t.StringC;
5714
+ width: t.NumberC;
5715
+ height: t.NumberC;
5716
+ }>>;
5717
+ width: t.NumberC;
5718
+ height: t.NumberC;
5719
+ edit: t.TypeC<{
5720
+ zoom: t.NumberC;
5721
+ crop: t.TypeC<{
5722
+ x: t.NumberC;
5723
+ y: t.NumberC;
5724
+ }>;
5725
+ background: t.StringC;
5726
+ }>;
5727
+ }>, t.PartialC<{
5728
+ url: t.StringC;
5729
+ credits: t.Type<string | null, string | null, unknown>;
5730
+ alt: t.Type<string | null, string | null, unknown>;
5731
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5732
+ }>]>>, t.PartialC<{
5733
+ thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
5734
+ origin: t.ExactC<t.TypeC<{
5735
+ id: t.StringC;
5736
+ url: t.StringC;
5737
+ width: t.NumberC;
5738
+ height: t.NumberC;
5739
+ }>>;
5740
+ width: t.NumberC;
5741
+ height: t.NumberC;
5742
+ edit: t.TypeC<{
5743
+ zoom: t.NumberC;
5744
+ crop: t.TypeC<{
5745
+ x: t.NumberC;
5746
+ y: t.NumberC;
5747
+ }>;
5748
+ background: t.StringC;
5749
+ }>;
5750
+ }>, t.PartialC<{
5751
+ url: t.StringC;
5752
+ credits: t.Type<string | null, string | null, unknown>;
5753
+ alt: t.Type<string | null, string | null, unknown>;
5754
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5755
+ }>]>>>;
5756
+ }>]>, t.ExactC<t.TypeC<{
5757
+ __TYPE__: t.LiteralC<"ImageContent">;
5758
+ }>>]>, t.ExactC<t.TypeC<{
5759
+ __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
5760
+ value: t.StringC;
5761
+ }>>, t.ExactC<t.TypeC<{
5762
+ __TYPE__: t.LiteralC<"LinkContent">;
5763
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
5764
+ __TYPE__: t.LiteralC<"ImageLink">;
5765
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5766
+ id: t.StringC;
5767
+ url: t.StringC;
5768
+ height: t.StringC;
5769
+ width: t.StringC;
5770
+ size: t.StringC;
5771
+ name: t.StringC;
5772
+ kind: t.StringC;
5773
+ }>, t.PartialC<{
5774
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5775
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5776
+ id: t.StringC;
5777
+ url: t.StringC;
5778
+ name: t.StringC;
5779
+ kind: t.StringC;
5780
+ size: t.StringC;
5781
+ }>, t.PartialC<{
5782
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5783
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5784
+ __TYPE__: t.LiteralC<"FileLink">;
5785
+ }>, t.PartialC<{
5786
+ size: t.StringC;
5787
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5788
+ __TYPE__: t.LiteralC<"DocumentLink">;
5789
+ }>>, t.ExactC<t.TypeC<{
5790
+ id: t.Type<string, string, unknown>;
5791
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
5792
+ __TYPE__: t.LiteralC<"ExternalLink">;
5793
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5794
+ url: t.StringC;
5795
+ }>, t.PartialC<{
5796
+ kind: t.LiteralC<"web">;
5797
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5798
+ preview: t.UnionC<[t.Type<{
5799
+ title?: string;
5800
+ }, {
5801
+ title?: string;
5802
+ }, unknown>, t.NullC, t.UndefinedC]>;
5803
+ }>]>>]>]>;
5804
+ }>>, t.ExactC<t.TypeC<{
5805
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
5806
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5807
+ type: t.LiteralC<"image">;
5808
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5809
+ origin: t.ExactC<t.TypeC<{
5810
+ id: t.StringC;
5811
+ url: t.StringC;
5812
+ width: t.NumberC;
5813
+ height: t.NumberC;
5814
+ }>>;
5815
+ width: t.NumberC;
5816
+ height: t.NumberC;
5817
+ edit: t.TypeC<{
5818
+ zoom: t.NumberC;
5819
+ crop: t.TypeC<{
5820
+ x: t.NumberC;
5821
+ y: t.NumberC;
5822
+ }>;
5823
+ background: t.StringC;
5824
+ }>;
5825
+ }>, t.PartialC<{
5826
+ url: t.StringC;
5827
+ credits: t.Type<string | null, string | null, unknown>;
5828
+ alt: t.Type<string | null, string | null, unknown>;
5829
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5830
+ }>]>>, t.PartialC<{
5831
+ linkTo: t.UnionC<[t.Type<({
5832
+ __TYPE__: "ImageLink";
5833
+ } & {
5834
+ id: string;
5835
+ url: string;
5836
+ height: string;
5837
+ width: string;
5838
+ size: string;
5839
+ name: string;
5840
+ kind: string;
5841
+ } & {
5842
+ date?: string | null | undefined;
5843
+ }) | ({
5844
+ id: string;
5845
+ url: string;
5846
+ name: string;
5847
+ kind: string;
5848
+ size: string;
5849
+ } & {
5850
+ date?: string | null | undefined;
5851
+ } & {
5852
+ __TYPE__: "FileLink";
5853
+ } & {
5854
+ size?: string;
5855
+ }) | ({
5856
+ __TYPE__: "DocumentLink";
5857
+ } & {
5858
+ id: string;
5859
+ }) | ({
5860
+ __TYPE__: "ExternalLink";
5861
+ } & {
5862
+ url: string;
5863
+ } & {
5864
+ kind?: "web";
5865
+ target?: string | null | undefined;
5866
+ preview?: {
5867
+ title?: string;
5868
+ } | null | undefined;
5869
+ }), ({
5870
+ id: string;
5871
+ url: string;
5872
+ height: string;
5873
+ width: string;
5874
+ size: string;
5875
+ name: string;
5876
+ kind: string;
5877
+ } & {
5878
+ date?: string | null | undefined;
5879
+ }) | ({
5880
+ id: string;
5881
+ url: string;
5882
+ name: string;
5883
+ kind: string;
5884
+ size: string;
5885
+ } & {
5886
+ date?: string | null | undefined;
5887
+ }) | {
5888
+ id: string;
5889
+ } | ({
5890
+ url: string;
5891
+ } & {
5892
+ kind?: "web";
5893
+ target?: string | null | undefined;
5894
+ preview?: {
5895
+ title?: string;
5896
+ } | null | undefined;
5897
+ }), unknown>, t.NullC, t.UndefinedC]>;
5898
+ }>]>;
5899
+ }>, t.PartialC<{
5900
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5901
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5902
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5903
+ type: t.LiteralC<"embed">;
5904
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
5905
+ embed_url: t.StringC;
5906
+ type: t.StringC;
5907
+ }>, t.PartialC<{
5908
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5909
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5910
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5911
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5912
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5913
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5914
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
5915
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5916
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5917
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
5918
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5919
+ }>]>>, t.ExactC<t.TypeC<{
5920
+ __TYPE__: t.LiteralC<"EmbedContent">;
5921
+ all: t.UnknownC;
5922
+ }>>]>;
5923
+ }>, t.PartialC<{
5924
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5925
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5926
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
5927
+ 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>;
5928
+ content: t.IntersectionC<[t.TypeC<{
5929
+ text: t.StringC;
5930
+ }>, t.PartialC<{
5931
+ spans: t.Type<({
5932
+ data: ({
5933
+ __TYPE__: "ImageLink";
5934
+ } & {
5935
+ id: string;
5936
+ url: string;
5937
+ height: string;
5938
+ width: string;
5939
+ size: string;
5940
+ name: string;
5941
+ kind: string;
5942
+ } & {
5943
+ date?: string | null | undefined;
5944
+ }) | ({
5945
+ id: string;
5946
+ url: string;
5947
+ name: string;
5948
+ kind: string;
5949
+ size: string;
5950
+ } & {
5951
+ date?: string | null | undefined;
5952
+ } & {
5953
+ __TYPE__: "FileLink";
5954
+ } & {
5955
+ size?: string;
5956
+ }) | ({
5957
+ __TYPE__: "DocumentLink";
5958
+ } & {
5959
+ id: string;
5960
+ }) | ({
5961
+ __TYPE__: "ExternalLink";
5962
+ } & {
5963
+ url: string;
5964
+ } & {
5965
+ kind?: "web";
5966
+ target?: string | null | undefined;
5967
+ preview?: {
5968
+ title?: string;
5969
+ } | null | undefined;
5970
+ });
5971
+ start: number;
5972
+ end: number;
5973
+ type: "hyperlink";
5974
+ } | {
5975
+ data: string;
5976
+ start: number;
5977
+ end: number;
5978
+ type: "label";
5979
+ } | {
5980
+ start: number;
5981
+ end: number;
5982
+ type: "strong" | "em" | "list-item";
5983
+ })[], ({
5984
+ data: ({
5985
+ __TYPE__: "ImageLink";
5986
+ } & {
5987
+ id: string;
5988
+ url: string;
5989
+ height: string;
5990
+ width: string;
5991
+ size: string;
5992
+ name: string;
5993
+ kind: string;
5994
+ } & {
5995
+ date?: string | null | undefined;
5996
+ }) | ({
5997
+ id: string;
5998
+ url: string;
5999
+ name: string;
6000
+ kind: string;
6001
+ size: string;
6002
+ } & {
6003
+ date?: string | null | undefined;
6004
+ } & {
6005
+ __TYPE__: "FileLink";
6006
+ } & {
6007
+ size?: string;
6008
+ }) | ({
6009
+ __TYPE__: "DocumentLink";
6010
+ } & {
6011
+ id: string;
6012
+ }) | ({
6013
+ __TYPE__: "ExternalLink";
6014
+ } & {
6015
+ url: string;
6016
+ } & {
6017
+ kind?: "web";
6018
+ target?: string | null | undefined;
6019
+ preview?: {
6020
+ title?: string;
6021
+ } | null | undefined;
6022
+ });
6023
+ start: number;
6024
+ end: number;
6025
+ type: "hyperlink";
6026
+ } | {
6027
+ data: string;
6028
+ start: number;
6029
+ end: number;
6030
+ type: "label";
6031
+ } | {
6032
+ start: number;
6033
+ end: number;
6034
+ type: "strong" | "em" | "list-item";
6035
+ })[], unknown>;
6036
+ }>]>;
6037
+ }>, t.PartialC<{
6038
+ label: t.StringC;
6039
+ direction: t.StringC;
6040
+ }>]>>]>>;
6041
+ }>>, t.ExactC<t.TypeC<{
6042
+ __TYPE__: t.LiteralC<"SeparatorContent">;
6043
+ }>>]>]>>;
6044
+ }>>>;
5011
6045
  }>>]>>;
5012
6046
  items: t.ArrayC<t.ExactC<t.TypeC<{
5013
6047
  __TYPE__: t.LiteralC<"GroupItemContent">;