@prismicio/types-internal 2.4.0-alpha.1 → 2.4.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/lib/content/Document.d.ts +0 -72
  2. package/lib/content/fields/GroupContent.d.ts +0 -15
  3. package/lib/content/fields/WidgetContent.d.ts +0 -72
  4. package/lib/content/fields/nestable/ImageContent.d.ts +0 -9
  5. package/lib/content/fields/nestable/ImageContent.js +0 -1
  6. package/lib/content/fields/nestable/NestableContent.d.ts +0 -9
  7. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +0 -4
  8. package/lib/content/fields/nestable/RichTextContent/index.d.ts +0 -4
  9. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +0 -18
  10. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +0 -6
  11. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +0 -18
  12. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +0 -18
  13. package/lib/content/fields/slices/Slice/index.d.ts +0 -36
  14. package/lib/content/fields/slices/SliceItem.d.ts +0 -36
  15. package/lib/content/fields/slices/SlicesContent.d.ts +0 -54
  16. package/lib/customtypes/CustomType.d.ts +328 -14
  17. package/lib/customtypes/Section.d.ts +328 -14
  18. package/lib/customtypes/diff/SharedSlice.d.ts +656 -4
  19. package/lib/customtypes/diff/Variation.d.ts +659 -5
  20. package/lib/customtypes/diff/Variation.js +3 -1
  21. package/lib/customtypes/widgets/Group.d.ts +0 -2
  22. package/lib/customtypes/widgets/Widget.d.ts +328 -16
  23. package/lib/customtypes/widgets/nestable/Image.d.ts +0 -2
  24. package/lib/customtypes/widgets/nestable/Image.js +0 -1
  25. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -1
  26. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -2
  27. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -2
  28. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +648 -4
  29. package/lib/customtypes/widgets/slices/SharedSlice.js +2 -0
  30. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +327 -0
  31. package/lib/customtypes/widgets/slices/SliceWidget.js +8 -0
  32. package/lib/customtypes/widgets/slices/Slices.d.ts +656 -24
  33. package/lib/customtypes/widgets/slices/index.d.ts +1 -0
  34. package/lib/customtypes/widgets/slices/index.js +1 -0
  35. package/package.json +1 -1
  36. package/src/content/fields/nestable/ImageContent.ts +0 -1
  37. package/src/customtypes/diff/Variation.ts +10 -6
  38. package/src/customtypes/widgets/nestable/Image.ts +0 -1
  39. package/src/customtypes/widgets/slices/SharedSlice.ts +2 -0
  40. package/src/customtypes/widgets/slices/SliceWidget.ts +9 -0
  41. package/src/customtypes/widgets/slices/index.ts +1 -0
@@ -6,7 +6,7 @@ const Changes_1 = require("./Changes");
6
6
  function compareVariationMeta(variationA, variationB) {
7
7
  const zippedVariations = utils_1.Objects.zipObjects(variationA, variationB);
8
8
  return Object.entries(zippedVariations).reduce((acc, [key, value]) => {
9
- if (key === `primary` || key === "items")
9
+ if (key === `primary` || key === "items" || key === "fields")
10
10
  return acc;
11
11
  if ((value === null || value === void 0 ? void 0 : value.left) === (value === null || value === void 0 ? void 0 : value.right))
12
12
  return acc;
@@ -59,10 +59,12 @@ exports.VariationComparator = {
59
59
  const diffMeta = compareVariationMeta(variationA, variationB);
60
60
  const diffPrimary = compareWidgets(variationA === null || variationA === void 0 ? void 0 : variationA.primary, variationB === null || variationB === void 0 ? void 0 : variationB.primary);
61
61
  const diffItems = compareWidgets(variationA === null || variationA === void 0 ? void 0 : variationA.items, variationB === null || variationB === void 0 ? void 0 : variationB.items);
62
+ const diffFields = compareWidgets(variationA === null || variationA === void 0 ? void 0 : variationA.fields, variationB === null || variationB === void 0 ? void 0 : variationB.fields);
62
63
  const diffVariation = {
63
64
  ...diffMeta,
64
65
  ...(diffPrimary ? { primary: diffPrimary } : {}),
65
66
  ...(diffItems ? { items: diffItems } : {}),
67
+ ...(diffFields ? { fields: diffFields } : {}),
66
68
  };
67
69
  if (utils_1.Objects.isNotEmpty(diffVariation)) {
68
70
  return {
@@ -149,7 +149,6 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
149
149
  width: t.Type<number | null, unknown, unknown>;
150
150
  height: t.Type<number | null, unknown, unknown>;
151
151
  }>]>>>;
152
- allowCaption: t.BooleanC;
153
152
  }>>;
154
153
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
155
154
  type: t.LiteralC<"IntegrationFields">;
@@ -318,7 +317,6 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
318
317
  width: t.Type<number | null, unknown, unknown>;
319
318
  height: t.Type<number | null, unknown, unknown>;
320
319
  }>]>>>;
321
- allowCaption: t.BooleanC;
322
320
  }>>;
323
321
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
324
322
  type: t.LiteralC<"IntegrationFields">;
@@ -156,7 +156,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
156
156
  width: t.Type<number | null, unknown, unknown>;
157
157
  height: t.Type<number | null, unknown, unknown>;
158
158
  }>]>>>;
159
- allowCaption: t.BooleanC;
160
159
  }>>;
161
160
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
162
161
  type: t.LiteralC<"IntegrationFields">;
@@ -322,7 +321,6 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
322
321
  width: t.Type<number | null, unknown, unknown>;
323
322
  height: t.Type<number | null, unknown, unknown>;
324
323
  }>]>>>;
325
- allowCaption: t.BooleanC;
326
324
  }>>;
327
325
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
328
326
  type: t.LiteralC<"IntegrationFields">;
@@ -491,7 +489,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
491
489
  width: t.Type<number | null, unknown, unknown>;
492
490
  height: t.Type<number | null, unknown, unknown>;
493
491
  }>]>>>;
494
- allowCaption: t.BooleanC;
495
492
  }>>;
496
493
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
497
494
  type: t.LiteralC<"IntegrationFields">;
@@ -657,7 +654,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
657
654
  width: t.Type<number | null, unknown, unknown>;
658
655
  height: t.Type<number | null, unknown, unknown>;
659
656
  }>]>>>;
660
- allowCaption: t.BooleanC;
661
657
  }>>;
662
658
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
663
659
  type: t.LiteralC<"IntegrationFields">;
@@ -743,7 +739,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
743
739
  width?: number | null;
744
740
  height?: number | null;
745
741
  })[];
746
- allowCaption?: boolean;
747
742
  };
748
743
  }) | ({
749
744
  type: "IntegrationFields";
@@ -910,7 +905,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
910
905
  width?: number | null;
911
906
  height?: number | null;
912
907
  })[];
913
- allowCaption?: boolean;
914
908
  };
915
909
  }) | ({
916
910
  type: "IntegrationFields";
@@ -1078,7 +1072,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1078
1072
  width?: number | null;
1079
1073
  height?: number | null;
1080
1074
  })[];
1081
- allowCaption?: boolean;
1082
1075
  };
1083
1076
  }) | ({
1084
1077
  type: "IntegrationFields";
@@ -1238,7 +1231,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1238
1231
  width?: number | null;
1239
1232
  height?: number | null;
1240
1233
  })[];
1241
- allowCaption?: boolean;
1242
1234
  };
1243
1235
  }) | ({
1244
1236
  type: "IntegrationFields";
@@ -1414,7 +1406,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1414
1406
  width?: number | null;
1415
1407
  height?: number | null;
1416
1408
  })[];
1417
- allowCaption?: boolean;
1418
1409
  };
1419
1410
  }) | ({
1420
1411
  type: "IntegrationFields";
@@ -1574,7 +1565,6 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1574
1565
  width?: number | null;
1575
1566
  height?: number | null;
1576
1567
  })[];
1577
- allowCaption?: boolean;
1578
1568
  };
1579
1569
  }) | ({
1580
1570
  type: "IntegrationFields";
@@ -1674,6 +1664,334 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1674
1664
  };
1675
1665
  });
1676
1666
  };
1667
+ fields?: {
1668
+ [x: string]: ({
1669
+ type: "Boolean";
1670
+ } & {
1671
+ config?: {
1672
+ label?: string | null | undefined;
1673
+ default_value?: boolean;
1674
+ placeholder_true?: string;
1675
+ placeholder_false?: string;
1676
+ };
1677
+ }) | ({
1678
+ type: "Color";
1679
+ } & {
1680
+ fieldset?: string | null | undefined;
1681
+ config?: {
1682
+ label?: string | null | undefined;
1683
+ placeholder?: string;
1684
+ };
1685
+ }) | ({
1686
+ type: "Date";
1687
+ } & {
1688
+ fieldset?: string | null | undefined;
1689
+ config?: {
1690
+ label?: string | null | undefined;
1691
+ placeholder?: string;
1692
+ default?: string;
1693
+ };
1694
+ }) | ({
1695
+ type: "Embed";
1696
+ } & {
1697
+ fieldset?: string | null | undefined;
1698
+ config?: {
1699
+ label?: string | null | undefined;
1700
+ placeholder?: string;
1701
+ useAsTitle?: boolean;
1702
+ };
1703
+ }) | ({
1704
+ type: "GeoPoint";
1705
+ } & {
1706
+ fieldset?: string | null | undefined;
1707
+ config?: {
1708
+ label?: string | null | undefined;
1709
+ };
1710
+ }) | ({
1711
+ type: "Image";
1712
+ } & {
1713
+ fieldset?: string | null | undefined;
1714
+ config?: {
1715
+ label?: string | null | undefined;
1716
+ placeholder?: string;
1717
+ constraint?: {
1718
+ width?: number | null;
1719
+ height?: number | null;
1720
+ };
1721
+ thumbnails?: readonly ({
1722
+ name: string;
1723
+ } & {
1724
+ width?: number | null;
1725
+ height?: number | null;
1726
+ })[];
1727
+ };
1728
+ }) | ({
1729
+ type: "IntegrationFields";
1730
+ } & {
1731
+ fieldset?: string | null | undefined;
1732
+ config?: {
1733
+ label?: string | null | undefined;
1734
+ placeholder?: string;
1735
+ catalog?: string;
1736
+ };
1737
+ }) | ({
1738
+ type: "Link";
1739
+ } & {
1740
+ fieldset?: string | null | undefined;
1741
+ config?: {
1742
+ label?: string | null | undefined;
1743
+ useAsTitle?: boolean;
1744
+ placeholder?: string;
1745
+ select?: "media" | "document" | "web" | null;
1746
+ customtypes?: readonly string[];
1747
+ masks?: readonly string[];
1748
+ tags?: readonly string[];
1749
+ allowTargetBlank?: boolean;
1750
+ };
1751
+ }) | ({
1752
+ type: "Number";
1753
+ } & {
1754
+ fieldset?: string | null | undefined;
1755
+ config?: {
1756
+ label?: string | null | undefined;
1757
+ placeholder?: string;
1758
+ min?: number;
1759
+ max?: number;
1760
+ step?: number;
1761
+ };
1762
+ }) | ({
1763
+ type: "Range";
1764
+ } & {
1765
+ fieldset?: string | null | undefined;
1766
+ config?: {
1767
+ label?: string | null | undefined;
1768
+ placeholder?: string;
1769
+ min?: number;
1770
+ max?: number;
1771
+ step?: number;
1772
+ };
1773
+ }) | ({
1774
+ type: "StructuredText";
1775
+ } & {
1776
+ fieldset?: string | null | undefined;
1777
+ config?: {
1778
+ label?: string | null | undefined;
1779
+ placeholder?: string;
1780
+ useAsTitle?: boolean;
1781
+ single?: string;
1782
+ multi?: string;
1783
+ imageConstraint?: {
1784
+ width?: number | null;
1785
+ height?: number | null;
1786
+ };
1787
+ labels?: readonly string[];
1788
+ allowTargetBlank?: boolean;
1789
+ };
1790
+ }) | ({
1791
+ type: "Select";
1792
+ } & {
1793
+ fieldset?: string | null | undefined;
1794
+ config?: {
1795
+ label?: string | null | undefined;
1796
+ placeholder?: string;
1797
+ default_value?: string;
1798
+ options?: readonly string[];
1799
+ };
1800
+ }) | ({
1801
+ type: "Separator";
1802
+ } & {
1803
+ config?: {
1804
+ label?: string | null | undefined;
1805
+ };
1806
+ }) | ({
1807
+ type: "Text";
1808
+ } & {
1809
+ fieldset?: string | null | undefined;
1810
+ config?: {
1811
+ label?: string | null | undefined;
1812
+ useAsTitle?: boolean;
1813
+ placeholder?: string;
1814
+ };
1815
+ }) | ({
1816
+ type: "Timestamp";
1817
+ } & {
1818
+ fieldset?: string | null | undefined;
1819
+ config?: {
1820
+ label?: string | null | undefined;
1821
+ placeholder?: string;
1822
+ default?: string;
1823
+ };
1824
+ }) | ({
1825
+ type: "Group";
1826
+ } & {
1827
+ fieldset?: string | null | undefined;
1828
+ icon?: string;
1829
+ description?: string;
1830
+ config?: {
1831
+ label?: string | null | undefined;
1832
+ repeat?: boolean;
1833
+ fields?: {
1834
+ [x: string]: ({
1835
+ type: "Boolean";
1836
+ } & {
1837
+ config?: {
1838
+ label?: string | null | undefined;
1839
+ default_value?: boolean;
1840
+ placeholder_true?: string;
1841
+ placeholder_false?: string;
1842
+ };
1843
+ }) | ({
1844
+ type: "Color";
1845
+ } & {
1846
+ fieldset?: string | null | undefined;
1847
+ config?: {
1848
+ label?: string | null | undefined;
1849
+ placeholder?: string;
1850
+ };
1851
+ }) | ({
1852
+ type: "Date";
1853
+ } & {
1854
+ fieldset?: string | null | undefined;
1855
+ config?: {
1856
+ label?: string | null | undefined;
1857
+ placeholder?: string;
1858
+ default?: string;
1859
+ };
1860
+ }) | ({
1861
+ type: "Embed";
1862
+ } & {
1863
+ fieldset?: string | null | undefined;
1864
+ config?: {
1865
+ label?: string | null | undefined;
1866
+ placeholder?: string;
1867
+ useAsTitle?: boolean;
1868
+ };
1869
+ }) | ({
1870
+ type: "GeoPoint";
1871
+ } & {
1872
+ fieldset?: string | null | undefined;
1873
+ config?: {
1874
+ label?: string | null | undefined;
1875
+ };
1876
+ }) | ({
1877
+ type: "Image";
1878
+ } & {
1879
+ fieldset?: string | null | undefined;
1880
+ config?: {
1881
+ label?: string | null | undefined;
1882
+ placeholder?: string;
1883
+ constraint?: {
1884
+ width?: number | null;
1885
+ height?: number | null;
1886
+ };
1887
+ thumbnails?: readonly ({
1888
+ name: string;
1889
+ } & {
1890
+ width?: number | null;
1891
+ height?: number | null;
1892
+ })[];
1893
+ };
1894
+ }) | ({
1895
+ type: "IntegrationFields";
1896
+ } & {
1897
+ fieldset?: string | null | undefined;
1898
+ config?: {
1899
+ label?: string | null | undefined;
1900
+ placeholder?: string;
1901
+ catalog?: string;
1902
+ };
1903
+ }) | ({
1904
+ type: "Link";
1905
+ } & {
1906
+ fieldset?: string | null | undefined;
1907
+ config?: {
1908
+ label?: string | null | undefined;
1909
+ useAsTitle?: boolean;
1910
+ placeholder?: string;
1911
+ select?: "media" | "document" | "web" | null;
1912
+ customtypes?: readonly string[];
1913
+ masks?: readonly string[];
1914
+ tags?: readonly string[];
1915
+ allowTargetBlank?: boolean;
1916
+ };
1917
+ }) | ({
1918
+ type: "Number";
1919
+ } & {
1920
+ fieldset?: string | null | undefined;
1921
+ config?: {
1922
+ label?: string | null | undefined;
1923
+ placeholder?: string;
1924
+ min?: number;
1925
+ max?: number;
1926
+ step?: number;
1927
+ };
1928
+ }) | ({
1929
+ type: "Range";
1930
+ } & {
1931
+ fieldset?: string | null | undefined;
1932
+ config?: {
1933
+ label?: string | null | undefined;
1934
+ placeholder?: string;
1935
+ min?: number;
1936
+ max?: number;
1937
+ step?: number;
1938
+ };
1939
+ }) | ({
1940
+ type: "StructuredText";
1941
+ } & {
1942
+ fieldset?: string | null | undefined;
1943
+ config?: {
1944
+ label?: string | null | undefined;
1945
+ placeholder?: string;
1946
+ useAsTitle?: boolean;
1947
+ single?: string;
1948
+ multi?: string;
1949
+ imageConstraint?: {
1950
+ width?: number | null;
1951
+ height?: number | null;
1952
+ };
1953
+ labels?: readonly string[];
1954
+ allowTargetBlank?: boolean;
1955
+ };
1956
+ }) | ({
1957
+ type: "Select";
1958
+ } & {
1959
+ fieldset?: string | null | undefined;
1960
+ config?: {
1961
+ label?: string | null | undefined;
1962
+ placeholder?: string;
1963
+ default_value?: string;
1964
+ options?: readonly string[];
1965
+ };
1966
+ }) | ({
1967
+ type: "Separator";
1968
+ } & {
1969
+ config?: {
1970
+ label?: string | null | undefined;
1971
+ };
1972
+ }) | ({
1973
+ type: "Text";
1974
+ } & {
1975
+ fieldset?: string | null | undefined;
1976
+ config?: {
1977
+ label?: string | null | undefined;
1978
+ useAsTitle?: boolean;
1979
+ placeholder?: string;
1980
+ };
1981
+ }) | ({
1982
+ type: "Timestamp";
1983
+ } & {
1984
+ fieldset?: string | null | undefined;
1985
+ config?: {
1986
+ label?: string | null | undefined;
1987
+ placeholder?: string;
1988
+ default?: string;
1989
+ };
1990
+ });
1991
+ };
1992
+ };
1993
+ });
1994
+ };
1677
1995
  })[];
1678
1996
  } & {
1679
1997
  description?: string;
@@ -1840,7 +2158,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1840
2158
  width: t.Type<number | null, unknown, unknown>;
1841
2159
  height: t.Type<number | null, unknown, unknown>;
1842
2160
  }>]>>>;
1843
- allowCaption: t.BooleanC;
1844
2161
  }>>;
1845
2162
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1846
2163
  type: t.LiteralC<"IntegrationFields">;
@@ -2006,7 +2323,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2006
2323
  width: t.Type<number | null, unknown, unknown>;
2007
2324
  height: t.Type<number | null, unknown, unknown>;
2008
2325
  }>]>>>;
2009
- allowCaption: t.BooleanC;
2010
2326
  }>>;
2011
2327
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2012
2328
  type: t.LiteralC<"IntegrationFields">;
@@ -2092,7 +2408,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2092
2408
  width?: number | null;
2093
2409
  height?: number | null;
2094
2410
  })[];
2095
- allowCaption?: boolean;
2096
2411
  };
2097
2412
  }) | ({
2098
2413
  type: "IntegrationFields";
@@ -2259,7 +2574,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2259
2574
  width?: number | null;
2260
2575
  height?: number | null;
2261
2576
  })[];
2262
- allowCaption?: boolean;
2263
2577
  };
2264
2578
  }) | ({
2265
2579
  type: "IntegrationFields";
@@ -2427,7 +2741,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2427
2741
  width?: number | null;
2428
2742
  height?: number | null;
2429
2743
  })[];
2430
- allowCaption?: boolean;
2431
2744
  };
2432
2745
  }) | ({
2433
2746
  type: "IntegrationFields";
@@ -2587,7 +2900,6 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2587
2900
  width?: number | null;
2588
2901
  height?: number | null;
2589
2902
  })[];
2590
- allowCaption?: boolean;
2591
2903
  };
2592
2904
  }) | ({
2593
2905
  type: "IntegrationFields";
@@ -20,7 +20,6 @@ export declare const ImageConfig: t.ExactC<t.PartialC<{
20
20
  width: t.Type<number | null, unknown, unknown>;
21
21
  height: t.Type<number | null, unknown, unknown>;
22
22
  }>]>>>;
23
- allowCaption: t.BooleanC;
24
23
  }>>;
25
24
  export declare type ImageConfig = t.TypeOf<typeof ImageConfig>;
26
25
  export declare const Image: t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -40,7 +39,6 @@ export declare const Image: t.ExactC<t.IntersectionC<[t.TypeC<{
40
39
  width: t.Type<number | null, unknown, unknown>;
41
40
  height: t.Type<number | null, unknown, unknown>;
42
41
  }>]>>>;
43
- allowCaption: t.BooleanC;
44
42
  }>>;
45
43
  }>]>>;
46
44
  export declare type Image = t.TypeOf<typeof Image>;
@@ -17,7 +17,6 @@ exports.ImageConfig = t.exact(t.partial({
17
17
  placeholder: t.string,
18
18
  constraint: ImageConstraint_1.default,
19
19
  thumbnails: t.readonlyArray(exports.Thumbnail),
20
- allowCaption: t.boolean,
21
20
  }));
22
21
  exports.Image = t.exact(t.intersection([
23
22
  t.type({
@@ -145,7 +145,6 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
145
145
  width: t.Type<number | null, unknown, unknown>;
146
146
  height: t.Type<number | null, unknown, unknown>;
147
147
  }>]>>>;
148
- allowCaption: t.BooleanC;
149
148
  }>>;
150
149
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
151
150
  type: t.LiteralC<"IntegrationFields">;
@@ -158,7 +158,6 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
158
158
  width: t.Type<number | null, unknown, unknown>;
159
159
  height: t.Type<number | null, unknown, unknown>;
160
160
  }>]>>>;
161
- allowCaption: t.BooleanC;
162
161
  }>>;
163
162
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
164
163
  type: t.LiteralC<"IntegrationFields">;
@@ -316,7 +315,6 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
316
315
  width: t.Type<number | null, unknown, unknown>;
317
316
  height: t.Type<number | null, unknown, unknown>;
318
317
  }>]>>>;
319
- allowCaption: t.BooleanC;
320
318
  }>>;
321
319
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
322
320
  type: t.LiteralC<"IntegrationFields">;
@@ -146,7 +146,6 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
146
146
  width: t.Type<number | null, unknown, unknown>;
147
147
  height: t.Type<number | null, unknown, unknown>;
148
148
  }>]>>>;
149
- allowCaption: t.BooleanC;
150
149
  }>>;
151
150
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
152
151
  type: t.LiteralC<"IntegrationFields">;
@@ -312,7 +311,6 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
312
311
  width: t.Type<number | null, unknown, unknown>;
313
312
  height: t.Type<number | null, unknown, unknown>;
314
313
  }>]>>>;
315
- allowCaption: t.BooleanC;
316
314
  }>>;
317
315
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
318
316
  type: t.LiteralC<"IntegrationFields">;