@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.
@@ -313,11 +313,10 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
313
313
  }))[];
314
314
  }> | import("fp-ts/lib/Either").Right<{
315
315
  __TYPE__: "SeparatorContent";
316
- }> | import("fp-ts/lib/Either").Right<{
317
- __TYPE__: "GroupContentType";
318
- value: {
319
- __TYPE__: "GroupItemContent";
320
- value: [string, {
316
+ }> | import("fp-ts/lib/Either").Right<import("../..").GroupContent> | import("fp-ts/lib/Either").Right<{
317
+ __TYPE__: "CompositeSliceContent";
318
+ nonRepeat: {
319
+ [x: string]: {
321
320
  type: string;
322
321
  __TYPE__: "EmptyContent";
323
322
  } | {
@@ -629,12 +628,11 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
629
628
  }))[];
630
629
  } | {
631
630
  __TYPE__: "SeparatorContent";
632
- }][];
633
- }[];
634
- }> | import("fp-ts/lib/Either").Right<{
635
- __TYPE__: "CompositeSliceContent";
636
- nonRepeat: {
637
- [x: string]: {
631
+ };
632
+ };
633
+ repeat: {
634
+ __TYPE__: "GroupItemContent";
635
+ value: [string, {
638
636
  type: string;
639
637
  __TYPE__: "EmptyContent";
640
638
  } | {
@@ -946,11 +944,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
946
944
  }))[];
947
945
  } | {
948
946
  __TYPE__: "SeparatorContent";
949
- };
950
- };
951
- repeat: {
952
- __TYPE__: "GroupItemContent";
953
- value: [string, {
947
+ } | import("../..").GroupContent][];
948
+ }[];
949
+ }> | import("fp-ts/lib/Either").Right<{
950
+ __TYPE__: "SharedSliceContent";
951
+ variation: string;
952
+ primary: {
953
+ [x: string]: {
954
954
  type: string;
955
955
  __TYPE__: "EmptyContent";
956
956
  } | {
@@ -1262,13 +1262,11 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1262
1262
  }))[];
1263
1263
  } | {
1264
1264
  __TYPE__: "SeparatorContent";
1265
- }][];
1266
- }[];
1267
- }> | import("fp-ts/lib/Either").Right<{
1268
- __TYPE__: "SharedSliceContent";
1269
- variation: string;
1270
- primary: {
1271
- [x: string]: {
1265
+ } | import("../..").GroupContent;
1266
+ };
1267
+ items: {
1268
+ __TYPE__: "GroupItemContent";
1269
+ value: [string, {
1272
1270
  type: string;
1273
1271
  __TYPE__: "EmptyContent";
1274
1272
  } | {
@@ -1580,323 +1578,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1580
1578
  }))[];
1581
1579
  } | {
1582
1580
  __TYPE__: "SeparatorContent";
1583
- } | import("../..").GroupContent;
1584
- };
1585
- items: {
1586
- __TYPE__: "GroupItemContent";
1587
- value: [string, {
1588
- type: string;
1589
- __TYPE__: "EmptyContent";
1590
- } | {
1591
- __TYPE__: "BooleanContent";
1592
- value: boolean;
1593
- } | ({
1594
- embed_url: string;
1595
- type: string;
1596
- } & {
1597
- version?: string | number | null;
1598
- title?: string | null | undefined;
1599
- author_name?: string | null | undefined;
1600
- author_url?: string | null | undefined;
1601
- provider_name?: string | null | undefined;
1602
- provider_url?: string | null | undefined;
1603
- cache_age?: string | number | null;
1604
- thumbnail_url?: string | null | undefined;
1605
- thumbnail_width?: number | null | undefined;
1606
- thumbnail_height?: number | null | undefined;
1607
- html?: string | null | undefined;
1608
- } & {
1609
- __TYPE__: "EmbedContent";
1610
- all: unknown;
1611
- }) | {
1612
- type: "Color";
1613
- value: string;
1614
- __TYPE__: "FieldContent";
1615
- } | {
1616
- type: "Date";
1617
- value: string;
1618
- __TYPE__: "FieldContent";
1619
- } | {
1620
- type: "Number";
1621
- value: string;
1622
- __TYPE__: "FieldContent";
1623
- } | {
1624
- type: "Range";
1625
- value: string;
1626
- __TYPE__: "FieldContent";
1627
- } | {
1628
- type: "Select";
1629
- value: string;
1630
- __TYPE__: "FieldContent";
1631
- } | {
1632
- type: "Text";
1633
- value: string;
1634
- __TYPE__: "FieldContent";
1635
- } | {
1636
- type: "Timestamp";
1637
- value: string;
1638
- __TYPE__: "FieldContent";
1639
- } | ({
1640
- position: {
1641
- lat: number;
1642
- lng: number;
1643
- };
1644
- } & {
1645
- __TYPE__: "GeoPointContent";
1646
- }) | ({
1647
- origin: {
1648
- id: string;
1649
- url: string;
1650
- width: number;
1651
- height: number;
1652
- };
1653
- width: number;
1654
- height: number;
1655
- edit: {
1656
- zoom: number;
1657
- crop: {
1658
- x: number;
1659
- y: number;
1660
- };
1661
- background: string;
1662
- };
1663
- } & {
1664
- url?: string;
1665
- credits?: string | null;
1666
- alt?: string | null;
1667
- provider?: string | null | undefined;
1668
- } & {
1669
- thumbnails?: {
1670
- [x: string]: {
1671
- origin: {
1672
- id: string;
1673
- url: string;
1674
- width: number;
1675
- height: number;
1676
- };
1677
- width: number;
1678
- height: number;
1679
- edit: {
1680
- zoom: number;
1681
- crop: {
1682
- x: number;
1683
- y: number;
1684
- };
1685
- background: string;
1686
- };
1687
- } & {
1688
- url?: string;
1689
- credits?: string | null;
1690
- alt?: string | null;
1691
- provider?: string | null | undefined;
1692
- };
1693
- };
1694
- } & {
1695
- __TYPE__: "ImageContent";
1696
- }) | {
1697
- __TYPE__: "IntegrationFieldsContent";
1698
- value: string;
1699
- } | {
1700
- __TYPE__: "LinkContent";
1701
- value: ({
1702
- __TYPE__: "ImageLink";
1703
- } & {
1704
- id: string;
1705
- url: string;
1706
- height: string;
1707
- width: string;
1708
- size: string;
1709
- name: string;
1710
- kind: string;
1711
- } & {
1712
- date?: string | null | undefined;
1713
- }) | ({
1714
- id: string;
1715
- url: string;
1716
- name: string;
1717
- kind: string;
1718
- size: string;
1719
- } & {
1720
- date?: string | null | undefined;
1721
- } & {
1722
- __TYPE__: "FileLink";
1723
- } & {
1724
- size?: string;
1725
- }) | ({
1726
- __TYPE__: "DocumentLink";
1727
- } & {
1728
- id: string;
1729
- }) | ({
1730
- __TYPE__: "ExternalLink";
1731
- } & {
1732
- url: string;
1733
- } & {
1734
- kind?: "web";
1735
- target?: string | null | undefined;
1736
- preview?: {
1737
- title?: string;
1738
- } | null | undefined;
1739
- });
1740
- } | {
1741
- __TYPE__: "StructuredTextContent";
1742
- value: (({
1743
- type: "image";
1744
- data: {
1745
- origin: {
1746
- id: string;
1747
- url: string;
1748
- width: number;
1749
- height: number;
1750
- };
1751
- width: number;
1752
- height: number;
1753
- edit: {
1754
- zoom: number;
1755
- crop: {
1756
- x: number;
1757
- y: number;
1758
- };
1759
- background: string;
1760
- };
1761
- } & {
1762
- url?: string;
1763
- credits?: string | null;
1764
- alt?: string | null;
1765
- provider?: string | null | undefined;
1766
- } & {
1767
- linkTo?: ({
1768
- __TYPE__: "ImageLink";
1769
- } & {
1770
- id: string;
1771
- url: string;
1772
- height: string;
1773
- width: string;
1774
- size: string;
1775
- name: string;
1776
- kind: string;
1777
- } & {
1778
- date?: string | null | undefined;
1779
- }) | ({
1780
- id: string;
1781
- url: string;
1782
- name: string;
1783
- kind: string;
1784
- size: string;
1785
- } & {
1786
- date?: string | null | undefined;
1787
- } & {
1788
- __TYPE__: "FileLink";
1789
- } & {
1790
- size?: string;
1791
- }) | ({
1792
- __TYPE__: "DocumentLink";
1793
- } & {
1794
- id: string;
1795
- }) | ({
1796
- __TYPE__: "ExternalLink";
1797
- } & {
1798
- url: string;
1799
- } & {
1800
- kind?: "web";
1801
- target?: string | null | undefined;
1802
- preview?: {
1803
- title?: string;
1804
- } | null | undefined;
1805
- }) | null | undefined;
1806
- };
1807
- } & {
1808
- label?: string | null | undefined;
1809
- direction?: string | null | undefined;
1810
- }) | ({
1811
- type: "embed";
1812
- data: {
1813
- embed_url: string;
1814
- type: string;
1815
- } & {
1816
- version?: string | number | null;
1817
- title?: string | null | undefined;
1818
- author_name?: string | null | undefined;
1819
- author_url?: string | null | undefined;
1820
- provider_name?: string | null | undefined;
1821
- provider_url?: string | null | undefined;
1822
- cache_age?: string | number | null;
1823
- thumbnail_url?: string | null | undefined;
1824
- thumbnail_width?: number | null | undefined;
1825
- thumbnail_height?: number | null | undefined;
1826
- html?: string | null | undefined;
1827
- } & {
1828
- __TYPE__: "EmbedContent";
1829
- all: unknown;
1830
- };
1831
- } & {
1832
- label?: string | null | undefined;
1833
- direction?: string | null | undefined;
1834
- }) | ({
1835
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1836
- content: {
1837
- text: string;
1838
- } & {
1839
- spans?: ({
1840
- data: ({
1841
- __TYPE__: "ImageLink";
1842
- } & {
1843
- id: string;
1844
- url: string;
1845
- height: string;
1846
- width: string;
1847
- size: string;
1848
- name: string;
1849
- kind: string;
1850
- } & {
1851
- date?: string | null | undefined;
1852
- }) | ({
1853
- id: string;
1854
- url: string;
1855
- name: string;
1856
- kind: string;
1857
- size: string;
1858
- } & {
1859
- date?: string | null | undefined;
1860
- } & {
1861
- __TYPE__: "FileLink";
1862
- } & {
1863
- size?: string;
1864
- }) | ({
1865
- __TYPE__: "DocumentLink";
1866
- } & {
1867
- id: string;
1868
- }) | ({
1869
- __TYPE__: "ExternalLink";
1870
- } & {
1871
- url: string;
1872
- } & {
1873
- kind?: "web";
1874
- target?: string | null | undefined;
1875
- preview?: {
1876
- title?: string;
1877
- } | null | undefined;
1878
- });
1879
- start: number;
1880
- end: number;
1881
- type: "hyperlink";
1882
- } | {
1883
- data: string;
1884
- start: number;
1885
- end: number;
1886
- type: "label";
1887
- } | {
1888
- start: number;
1889
- end: number;
1890
- type: "strong" | "em" | "list-item";
1891
- })[];
1892
- };
1893
- } & {
1894
- label?: string;
1895
- direction?: string;
1896
- }))[];
1897
- } | {
1898
- __TYPE__: "SeparatorContent";
1899
- }][];
1581
+ } | import("../..").GroupContent][];
1900
1582
  }[];
1901
1583
  }> | undefined;
1902
1584
  encode: (value: SliceContent) => import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
@@ -2308,7 +1990,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2308
1990
  }>>]>>;
2309
1991
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
2310
1992
  __TYPE__: t.LiteralC<"GroupItemContent">;
2311
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
1993
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
2312
1994
  type: t.StringC;
2313
1995
  __TYPE__: t.LiteralC<"EmptyContent">;
2314
1996
  }>>, t.ExactC<t.TypeC<{
@@ -2710,7 +2392,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2710
2392
  }>]>>]>>;
2711
2393
  }>>, t.ExactC<t.TypeC<{
2712
2394
  __TYPE__: t.LiteralC<"SeparatorContent">;
2713
- }>>]>]>>;
2395
+ }>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>>;
2714
2396
  }>>>;
2715
2397
  }>>, t.ExactC<t.TypeC<{
2716
2398
  __TYPE__: t.LiteralC<"SharedSliceContent">;
@@ -3120,7 +2802,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3120
2802
  }>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>>;
3121
2803
  items: t.ArrayC<t.ExactC<t.TypeC<{
3122
2804
  __TYPE__: t.LiteralC<"GroupItemContent">;
3123
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
2805
+ value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
3124
2806
  type: t.StringC;
3125
2807
  __TYPE__: t.LiteralC<"EmptyContent">;
3126
2808
  }>>, t.ExactC<t.TypeC<{
@@ -3522,7 +3204,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3522
3204
  }>]>>]>>;
3523
3205
  }>>, t.ExactC<t.TypeC<{
3524
3206
  __TYPE__: t.LiteralC<"SeparatorContent">;
3525
- }>>]>]>>;
3207
+ }>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>>;
3526
3208
  }>>>;
3527
3209
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
3528
3210
  type: t.StringC;
@@ -3926,418 +3608,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3926
3608
  }>]>>]>>;
3927
3609
  }>>, t.ExactC<t.TypeC<{
3928
3610
  __TYPE__: t.LiteralC<"SeparatorContent">;
3929
- }>>]>, t.ExactC<t.TypeC<{
3930
- __TYPE__: t.LiteralC<"GroupContentType">;
3931
- value: t.ArrayC<t.ExactC<t.TypeC<{
3932
- __TYPE__: t.LiteralC<"GroupItemContent">;
3933
- value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.ExactC<t.TypeC<{
3934
- type: t.StringC;
3935
- __TYPE__: t.LiteralC<"EmptyContent">;
3936
- }>>, t.ExactC<t.TypeC<{
3937
- __TYPE__: t.LiteralC<"BooleanContent">;
3938
- value: t.BooleanC;
3939
- }>>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3940
- embed_url: t.StringC;
3941
- type: t.StringC;
3942
- }>, t.PartialC<{
3943
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3944
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3945
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3946
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3947
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3948
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3949
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3950
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3951
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3952
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3953
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3954
- }>]>>, t.ExactC<t.TypeC<{
3955
- __TYPE__: t.LiteralC<"EmbedContent">;
3956
- all: t.UnknownC;
3957
- }>>]>, t.ExactC<t.TypeC<{
3958
- type: t.LiteralC<"Text">;
3959
- value: t.Type<string, string, unknown>;
3960
- __TYPE__: t.LiteralC<"FieldContent">;
3961
- }>>, t.ExactC<t.TypeC<{
3962
- type: t.LiteralC<"Timestamp">;
3963
- value: t.Type<string, string, unknown>;
3964
- __TYPE__: t.LiteralC<"FieldContent">;
3965
- }>>, t.ExactC<t.TypeC<{
3966
- type: t.LiteralC<"Select">;
3967
- value: t.Type<string, string, unknown>;
3968
- __TYPE__: t.LiteralC<"FieldContent">;
3969
- }>>, t.ExactC<t.TypeC<{
3970
- type: t.LiteralC<"Range">;
3971
- value: t.Type<string, string, unknown>;
3972
- __TYPE__: t.LiteralC<"FieldContent">;
3973
- }>>, t.ExactC<t.TypeC<{
3974
- type: t.LiteralC<"Number">;
3975
- value: t.Type<string, string, unknown>;
3976
- __TYPE__: t.LiteralC<"FieldContent">;
3977
- }>>, t.ExactC<t.TypeC<{
3978
- type: t.LiteralC<"Date">;
3979
- value: t.Type<string, string, unknown>;
3980
- __TYPE__: t.LiteralC<"FieldContent">;
3981
- }>>, t.ExactC<t.TypeC<{
3982
- type: t.LiteralC<"Color">;
3983
- value: t.Type<string, string, unknown>;
3984
- __TYPE__: t.LiteralC<"FieldContent">;
3985
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3986
- position: t.ExactC<t.TypeC<{
3987
- lat: t.NumberC;
3988
- lng: t.NumberC;
3989
- }>>;
3990
- }>>, t.ExactC<t.TypeC<{
3991
- __TYPE__: t.LiteralC<"GeoPointContent">;
3992
- }>>]>, t.IntersectionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3993
- origin: t.ExactC<t.TypeC<{
3994
- id: t.StringC;
3995
- url: t.StringC;
3996
- width: t.NumberC;
3997
- height: t.NumberC;
3998
- }>>;
3999
- width: t.NumberC;
4000
- height: t.NumberC;
4001
- edit: t.TypeC<{
4002
- zoom: t.NumberC;
4003
- crop: t.TypeC<{
4004
- x: t.NumberC;
4005
- y: t.NumberC;
4006
- }>;
4007
- background: t.StringC;
4008
- }>;
4009
- }>, t.PartialC<{
4010
- url: t.StringC;
4011
- credits: t.Type<string | null, string | null, unknown>;
4012
- alt: t.Type<string | null, string | null, unknown>;
4013
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4014
- }>]>>, t.PartialC<{
4015
- thumbnails: t.RecordC<t.StringC, t.ExactC<t.IntersectionC<[t.TypeC<{
4016
- origin: t.ExactC<t.TypeC<{
4017
- id: t.StringC;
4018
- url: t.StringC;
4019
- width: t.NumberC;
4020
- height: t.NumberC;
4021
- }>>;
4022
- width: t.NumberC;
4023
- height: t.NumberC;
4024
- edit: t.TypeC<{
4025
- zoom: t.NumberC;
4026
- crop: t.TypeC<{
4027
- x: t.NumberC;
4028
- y: t.NumberC;
4029
- }>;
4030
- background: t.StringC;
4031
- }>;
4032
- }>, t.PartialC<{
4033
- url: t.StringC;
4034
- credits: t.Type<string | null, string | null, unknown>;
4035
- alt: t.Type<string | null, string | null, unknown>;
4036
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4037
- }>]>>>;
4038
- }>]>, t.ExactC<t.TypeC<{
4039
- __TYPE__: t.LiteralC<"ImageContent">;
4040
- }>>]>, t.ExactC<t.TypeC<{
4041
- __TYPE__: t.LiteralC<"IntegrationFieldsContent">;
4042
- value: t.StringC;
4043
- }>>, t.ExactC<t.TypeC<{
4044
- __TYPE__: t.LiteralC<"LinkContent">;
4045
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
4046
- __TYPE__: t.LiteralC<"ImageLink">;
4047
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4048
- id: t.StringC;
4049
- url: t.StringC;
4050
- height: t.StringC;
4051
- width: t.StringC;
4052
- size: t.StringC;
4053
- name: t.StringC;
4054
- kind: t.StringC;
4055
- }>, t.PartialC<{
4056
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4057
- }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4058
- id: t.StringC;
4059
- url: t.StringC;
4060
- name: t.StringC;
4061
- kind: t.StringC;
4062
- size: t.StringC;
4063
- }>, t.PartialC<{
4064
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4065
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4066
- __TYPE__: t.LiteralC<"FileLink">;
4067
- }>, t.PartialC<{
4068
- size: t.StringC;
4069
- }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4070
- __TYPE__: t.LiteralC<"DocumentLink">;
4071
- }>>, t.ExactC<t.TypeC<{
4072
- id: t.Type<string, string, unknown>;
4073
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
4074
- __TYPE__: t.LiteralC<"ExternalLink">;
4075
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4076
- url: t.StringC;
4077
- }>, t.PartialC<{
4078
- kind: t.LiteralC<"web">;
4079
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4080
- preview: t.UnionC<[t.Type<{
4081
- title?: string;
4082
- }, {
4083
- title?: string;
4084
- }, unknown>, t.NullC, t.UndefinedC]>;
4085
- }>]>>]>]>;
4086
- }>>, t.ExactC<t.TypeC<{
4087
- __TYPE__: t.LiteralC<"StructuredTextContent">;
4088
- value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4089
- type: t.LiteralC<"image">;
4090
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4091
- origin: t.ExactC<t.TypeC<{
4092
- id: t.StringC;
4093
- url: t.StringC;
4094
- width: t.NumberC;
4095
- height: t.NumberC;
4096
- }>>;
4097
- width: t.NumberC;
4098
- height: t.NumberC;
4099
- edit: t.TypeC<{
4100
- zoom: t.NumberC;
4101
- crop: t.TypeC<{
4102
- x: t.NumberC;
4103
- y: t.NumberC;
4104
- }>;
4105
- background: t.StringC;
4106
- }>;
4107
- }>, t.PartialC<{
4108
- url: t.StringC;
4109
- credits: t.Type<string | null, string | null, unknown>;
4110
- alt: t.Type<string | null, string | null, unknown>;
4111
- provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4112
- }>]>>, t.PartialC<{
4113
- linkTo: t.UnionC<[t.Type<({
4114
- __TYPE__: "ImageLink";
4115
- } & {
4116
- id: string;
4117
- url: string;
4118
- height: string;
4119
- width: string;
4120
- size: string;
4121
- name: string;
4122
- kind: string;
4123
- } & {
4124
- date?: string | null | undefined;
4125
- }) | ({
4126
- id: string;
4127
- url: string;
4128
- name: string;
4129
- kind: string;
4130
- size: string;
4131
- } & {
4132
- date?: string | null | undefined;
4133
- } & {
4134
- __TYPE__: "FileLink";
4135
- } & {
4136
- size?: string;
4137
- }) | ({
4138
- __TYPE__: "DocumentLink";
4139
- } & {
4140
- id: string;
4141
- }) | ({
4142
- __TYPE__: "ExternalLink";
4143
- } & {
4144
- url: string;
4145
- } & {
4146
- kind?: "web";
4147
- target?: string | null | undefined;
4148
- preview?: {
4149
- title?: string;
4150
- } | null | undefined;
4151
- }), ({
4152
- __TYPE__: "ImageLink";
4153
- } & {
4154
- id: string;
4155
- url: string;
4156
- height: string;
4157
- width: string;
4158
- size: string;
4159
- name: string;
4160
- kind: string;
4161
- } & {
4162
- date?: string | null | undefined;
4163
- }) | ({
4164
- id: string;
4165
- url: string;
4166
- name: string;
4167
- kind: string;
4168
- size: string;
4169
- } & {
4170
- date?: string | null | undefined;
4171
- } & {
4172
- __TYPE__: "FileLink";
4173
- } & {
4174
- size?: string;
4175
- }) | ({
4176
- __TYPE__: "DocumentLink";
4177
- } & {
4178
- id: string;
4179
- }) | ({
4180
- __TYPE__: "ExternalLink";
4181
- } & {
4182
- url: string;
4183
- } & {
4184
- kind?: "web";
4185
- target?: string | null | undefined;
4186
- preview?: {
4187
- title?: string;
4188
- } | null | undefined;
4189
- }), unknown>, t.NullC, t.UndefinedC]>;
4190
- }>]>;
4191
- }>, t.PartialC<{
4192
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4193
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4194
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4195
- type: t.LiteralC<"embed">;
4196
- data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
4197
- embed_url: t.StringC;
4198
- type: t.StringC;
4199
- }>, t.PartialC<{
4200
- version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4201
- title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4202
- author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4203
- author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4204
- provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4205
- provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4206
- cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
4207
- thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4208
- thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4209
- thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
4210
- html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4211
- }>]>>, t.ExactC<t.TypeC<{
4212
- __TYPE__: t.LiteralC<"EmbedContent">;
4213
- all: t.UnknownC;
4214
- }>>]>;
4215
- }>, t.PartialC<{
4216
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4217
- direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4218
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4219
- 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>;
4220
- content: t.IntersectionC<[t.TypeC<{
4221
- text: t.StringC;
4222
- }>, t.PartialC<{
4223
- spans: t.Type<({
4224
- data: ({
4225
- __TYPE__: "ImageLink";
4226
- } & {
4227
- id: string;
4228
- url: string;
4229
- height: string;
4230
- width: string;
4231
- size: string;
4232
- name: string;
4233
- kind: string;
4234
- } & {
4235
- date?: string | null | undefined;
4236
- }) | ({
4237
- id: string;
4238
- url: string;
4239
- name: string;
4240
- kind: string;
4241
- size: string;
4242
- } & {
4243
- date?: string | null | undefined;
4244
- } & {
4245
- __TYPE__: "FileLink";
4246
- } & {
4247
- size?: string;
4248
- }) | ({
4249
- __TYPE__: "DocumentLink";
4250
- } & {
4251
- id: string;
4252
- }) | ({
4253
- __TYPE__: "ExternalLink";
4254
- } & {
4255
- url: string;
4256
- } & {
4257
- kind?: "web";
4258
- target?: string | null | undefined;
4259
- preview?: {
4260
- title?: string;
4261
- } | null | undefined;
4262
- });
4263
- start: number;
4264
- end: number;
4265
- type: "hyperlink";
4266
- } | {
4267
- data: string;
4268
- start: number;
4269
- end: number;
4270
- type: "label";
4271
- } | {
4272
- start: number;
4273
- end: number;
4274
- type: "strong" | "em" | "list-item";
4275
- })[], ({
4276
- data: ({
4277
- __TYPE__: "ImageLink";
4278
- } & {
4279
- id: string;
4280
- url: string;
4281
- height: string;
4282
- width: string;
4283
- size: string;
4284
- name: string;
4285
- kind: string;
4286
- } & {
4287
- date?: string | null | undefined;
4288
- }) | ({
4289
- id: string;
4290
- url: string;
4291
- name: string;
4292
- kind: string;
4293
- size: string;
4294
- } & {
4295
- date?: string | null | undefined;
4296
- } & {
4297
- __TYPE__: "FileLink";
4298
- } & {
4299
- size?: string;
4300
- }) | ({
4301
- __TYPE__: "DocumentLink";
4302
- } & {
4303
- id: string;
4304
- }) | ({
4305
- __TYPE__: "ExternalLink";
4306
- } & {
4307
- url: string;
4308
- } & {
4309
- kind?: "web";
4310
- target?: string | null | undefined;
4311
- preview?: {
4312
- title?: string;
4313
- } | null | undefined;
4314
- });
4315
- start: number;
4316
- end: number;
4317
- type: "hyperlink";
4318
- } | {
4319
- data: string;
4320
- start: number;
4321
- end: number;
4322
- type: "label";
4323
- } | {
4324
- start: number;
4325
- end: number;
4326
- type: "strong" | "em" | "list-item";
4327
- })[], unknown>;
4328
- }>]>;
4329
- }>, t.PartialC<{
4330
- label: t.StringC;
4331
- direction: t.StringC;
4332
- }>]>>]>>;
4333
- }>>, t.ExactC<t.TypeC<{
4334
- __TYPE__: t.LiteralC<"SeparatorContent">;
4335
- }>>]>]>>;
4336
- }>>>;
4337
- }>>]>]>;
3611
+ }>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>;
4338
3612
  export declare type SliceContent = t.TypeOf<typeof SliceContent>;
4339
3613
  export * from "./CompositeSliceContent";
4340
- export * from "./RepeatableContent";
4341
3614
  export * from "./SharedSliceContent";
4342
3615
  export * from "./SimpleSliceContent";
4343
3616
  export * from "./SlicePrimaryContent";