@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.
@@ -286,7 +286,7 @@ export declare const GroupItemContent: t.ExactC<t.TypeC<{
286
286
  text: t.StringC;
287
287
  }>, t.PartialC<{
288
288
  spans: t.Type<({
289
- data?: ({
289
+ data: ({
290
290
  __TYPE__: "ImageLink";
291
291
  } & {
292
292
  id: string;
@@ -325,12 +325,20 @@ export declare const GroupItemContent: t.ExactC<t.TypeC<{
325
325
  title?: string;
326
326
  } | null | undefined;
327
327
  });
328
- } & {
329
328
  start: number;
330
329
  end: number;
331
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
330
+ type: "hyperlink";
331
+ } | {
332
+ data: string;
333
+ start: number;
334
+ end: number;
335
+ type: "label";
336
+ } | {
337
+ start: number;
338
+ end: number;
339
+ type: string;
332
340
  })[], ({
333
- data?: ({
341
+ data: ({
334
342
  __TYPE__: "ImageLink";
335
343
  } & {
336
344
  id: string;
@@ -369,10 +377,18 @@ export declare const GroupItemContent: t.ExactC<t.TypeC<{
369
377
  title?: string;
370
378
  } | null | undefined;
371
379
  });
372
- } & {
373
380
  start: number;
374
381
  end: number;
375
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
382
+ type: "hyperlink";
383
+ } | {
384
+ data: string;
385
+ start: number;
386
+ end: number;
387
+ type: "label";
388
+ } | {
389
+ start: number;
390
+ end: number;
391
+ type: string;
376
392
  })[], unknown>;
377
393
  }>]>;
378
394
  }>, t.PartialC<{
@@ -641,7 +657,7 @@ export declare const GroupItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
641
657
  text: string;
642
658
  } & {
643
659
  spans?: ({
644
- data?: ({
660
+ data: ({
645
661
  __TYPE__: "ImageLink";
646
662
  } & {
647
663
  id: string;
@@ -680,10 +696,18 @@ export declare const GroupItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
680
696
  title?: string;
681
697
  } | null | undefined;
682
698
  });
683
- } & {
684
699
  start: number;
685
700
  end: number;
686
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
701
+ type: "hyperlink";
702
+ } | {
703
+ data: string;
704
+ start: number;
705
+ end: number;
706
+ type: "label";
707
+ } | {
708
+ start: number;
709
+ end: number;
710
+ type: string;
687
711
  })[];
688
712
  };
689
713
  } & {
@@ -954,7 +978,7 @@ export declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
954
978
  text: string;
955
979
  } & {
956
980
  spans?: ({
957
- data?: ({
981
+ data: ({
958
982
  __TYPE__: "ImageLink";
959
983
  } & {
960
984
  id: string;
@@ -993,10 +1017,18 @@ export declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
993
1017
  title?: string;
994
1018
  } | null | undefined;
995
1019
  });
996
- } & {
997
1020
  start: number;
998
1021
  end: number;
999
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1022
+ type: "hyperlink";
1023
+ } | {
1024
+ data: string;
1025
+ start: number;
1026
+ end: number;
1027
+ type: "label";
1028
+ } | {
1029
+ start: number;
1030
+ end: number;
1031
+ type: string;
1000
1032
  })[];
1001
1033
  };
1002
1034
  } & {
@@ -1266,7 +1298,7 @@ export declare const isGroupContent: (u: unknown) => u is {
1266
1298
  text: string;
1267
1299
  } & {
1268
1300
  spans?: ({
1269
- data?: ({
1301
+ data: ({
1270
1302
  __TYPE__: "ImageLink";
1271
1303
  } & {
1272
1304
  id: string;
@@ -1305,10 +1337,18 @@ export declare const isGroupContent: (u: unknown) => u is {
1305
1337
  title?: string;
1306
1338
  } | null | undefined;
1307
1339
  });
1308
- } & {
1309
1340
  start: number;
1310
1341
  end: number;
1311
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1342
+ type: "hyperlink";
1343
+ } | {
1344
+ data: string;
1345
+ start: number;
1346
+ end: number;
1347
+ type: "label";
1348
+ } | {
1349
+ start: number;
1350
+ end: number;
1351
+ type: string;
1312
1352
  })[];
1313
1353
  };
1314
1354
  } & {
@@ -1605,7 +1645,7 @@ export declare const GroupContent: t.ExactC<t.TypeC<{
1605
1645
  text: t.StringC;
1606
1646
  }>, t.PartialC<{
1607
1647
  spans: t.Type<({
1608
- data?: ({
1648
+ data: ({
1609
1649
  __TYPE__: "ImageLink";
1610
1650
  } & {
1611
1651
  id: string;
@@ -1644,12 +1684,20 @@ export declare const GroupContent: t.ExactC<t.TypeC<{
1644
1684
  title?: string;
1645
1685
  } | null | undefined;
1646
1686
  });
1647
- } & {
1648
1687
  start: number;
1649
1688
  end: number;
1650
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1689
+ type: "hyperlink";
1690
+ } | {
1691
+ data: string;
1692
+ start: number;
1693
+ end: number;
1694
+ type: "label";
1695
+ } | {
1696
+ start: number;
1697
+ end: number;
1698
+ type: string;
1651
1699
  })[], ({
1652
- data?: ({
1700
+ data: ({
1653
1701
  __TYPE__: "ImageLink";
1654
1702
  } & {
1655
1703
  id: string;
@@ -1688,10 +1736,18 @@ export declare const GroupContent: t.ExactC<t.TypeC<{
1688
1736
  title?: string;
1689
1737
  } | null | undefined;
1690
1738
  });
1691
- } & {
1692
1739
  start: number;
1693
1740
  end: number;
1694
- type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1741
+ type: "hyperlink";
1742
+ } | {
1743
+ data: string;
1744
+ start: number;
1745
+ end: number;
1746
+ type: "label";
1747
+ } | {
1748
+ start: number;
1749
+ end: number;
1750
+ type: string;
1695
1751
  })[], unknown>;
1696
1752
  }>]>;
1697
1753
  }>, t.PartialC<{