@prismicio/types-internal 2.2.0-traverse.alpha-8 → 2.2.0-traverse.alpha-10

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.
@@ -284,7 +284,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
284
284
  text: t.StringC;
285
285
  }>, t.PartialC<{
286
286
  spans: t.Type<({
287
- data?: ({
287
+ data: ({
288
288
  __TYPE__: "ImageLink";
289
289
  } & {
290
290
  id: string;
@@ -323,12 +323,20 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
323
323
  title?: string;
324
324
  } | null | undefined;
325
325
  });
326
- } & {
327
326
  start: number;
328
327
  end: number;
329
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
328
+ type: "hyperlink";
329
+ } | {
330
+ data: string;
331
+ start: number;
332
+ end: number;
333
+ type: "label";
334
+ } | {
335
+ start: number;
336
+ end: number;
337
+ type: string;
330
338
  })[], ({
331
- data?: ({
339
+ data: ({
332
340
  __TYPE__: "ImageLink";
333
341
  } & {
334
342
  id: string;
@@ -367,10 +375,18 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
367
375
  title?: string;
368
376
  } | null | undefined;
369
377
  });
370
- } & {
371
378
  start: number;
372
379
  end: number;
373
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
380
+ type: "hyperlink";
381
+ } | {
382
+ data: string;
383
+ start: number;
384
+ end: number;
385
+ type: "label";
386
+ } | {
387
+ start: number;
388
+ end: number;
389
+ type: string;
374
390
  })[], unknown>;
375
391
  }>]>;
376
392
  }>, t.PartialC<{
@@ -664,7 +680,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
664
680
  text: t.StringC;
665
681
  }>, t.PartialC<{
666
682
  spans: t.Type<({
667
- data?: ({
683
+ data: ({
668
684
  __TYPE__: "ImageLink";
669
685
  } & {
670
686
  id: string;
@@ -703,12 +719,20 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
703
719
  title?: string;
704
720
  } | null | undefined;
705
721
  });
706
- } & {
707
722
  start: number;
708
723
  end: number;
709
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
724
+ type: "hyperlink";
725
+ } | {
726
+ data: string;
727
+ start: number;
728
+ end: number;
729
+ type: "label";
730
+ } | {
731
+ start: number;
732
+ end: number;
733
+ type: string;
710
734
  })[], ({
711
- data?: ({
735
+ data: ({
712
736
  __TYPE__: "ImageLink";
713
737
  } & {
714
738
  id: string;
@@ -747,10 +771,18 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
747
771
  title?: string;
748
772
  } | null | undefined;
749
773
  });
750
- } & {
751
774
  start: number;
752
775
  end: number;
753
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
776
+ type: "hyperlink";
777
+ } | {
778
+ data: string;
779
+ start: number;
780
+ end: number;
781
+ type: "label";
782
+ } | {
783
+ start: number;
784
+ end: number;
785
+ type: string;
754
786
  })[], unknown>;
755
787
  }>]>;
756
788
  }>, t.PartialC<{
@@ -1016,7 +1048,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1016
1048
  text: string;
1017
1049
  } & {
1018
1050
  spans?: ({
1019
- data?: ({
1051
+ data: ({
1020
1052
  __TYPE__: "ImageLink";
1021
1053
  } & {
1022
1054
  id: string;
@@ -1055,10 +1087,18 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1055
1087
  title?: string;
1056
1088
  } | null | undefined;
1057
1089
  });
1058
- } & {
1059
1090
  start: number;
1060
1091
  end: number;
1061
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1092
+ type: "hyperlink";
1093
+ } | {
1094
+ data: string;
1095
+ start: number;
1096
+ end: number;
1097
+ type: "label";
1098
+ } | {
1099
+ start: number;
1100
+ end: number;
1101
+ type: string;
1062
1102
  })[];
1063
1103
  };
1064
1104
  } & {
@@ -1324,7 +1364,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1324
1364
  text: string;
1325
1365
  } & {
1326
1366
  spans?: ({
1327
- data?: ({
1367
+ data: ({
1328
1368
  __TYPE__: "ImageLink";
1329
1369
  } & {
1330
1370
  id: string;
@@ -1363,10 +1403,18 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1363
1403
  title?: string;
1364
1404
  } | null | undefined;
1365
1405
  });
1366
- } & {
1367
1406
  start: number;
1368
1407
  end: number;
1369
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1408
+ type: "hyperlink";
1409
+ } | {
1410
+ data: string;
1411
+ start: number;
1412
+ end: number;
1413
+ type: "label";
1414
+ } | {
1415
+ start: number;
1416
+ end: number;
1417
+ type: string;
1370
1418
  })[];
1371
1419
  };
1372
1420
  } & {
@@ -1632,7 +1680,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1632
1680
  text: string;
1633
1681
  } & {
1634
1682
  spans?: ({
1635
- data?: ({
1683
+ data: ({
1636
1684
  __TYPE__: "ImageLink";
1637
1685
  } & {
1638
1686
  id: string;
@@ -1671,10 +1719,18 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1671
1719
  title?: string;
1672
1720
  } | null | undefined;
1673
1721
  });
1674
- } & {
1675
1722
  start: number;
1676
1723
  end: number;
1677
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1724
+ type: "hyperlink";
1725
+ } | {
1726
+ data: string;
1727
+ start: number;
1728
+ end: number;
1729
+ type: "label";
1730
+ } | {
1731
+ start: number;
1732
+ end: number;
1733
+ type: string;
1678
1734
  })[];
1679
1735
  };
1680
1736
  } & {
@@ -1940,7 +1996,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1940
1996
  text: string;
1941
1997
  } & {
1942
1998
  spans?: ({
1943
- data?: ({
1999
+ data: ({
1944
2000
  __TYPE__: "ImageLink";
1945
2001
  } & {
1946
2002
  id: string;
@@ -1979,10 +2035,18 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1979
2035
  title?: string;
1980
2036
  } | null | undefined;
1981
2037
  });
1982
- } & {
1983
2038
  start: number;
1984
2039
  end: number;
1985
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2040
+ type: "hyperlink";
2041
+ } | {
2042
+ data: string;
2043
+ start: number;
2044
+ end: number;
2045
+ type: "label";
2046
+ } | {
2047
+ start: number;
2048
+ end: number;
2049
+ type: string;
1986
2050
  })[];
1987
2051
  };
1988
2052
  } & {