@prismicio/types-internal 2.6.0 → 2.7.0-alpha.1

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 (36) hide show
  1. package/lib/content/Document.d.ts +409 -13
  2. package/lib/content/fields/WidgetContent.d.ts +408 -12
  3. package/lib/content/fields/nestable/LinkContent.d.ts +54 -8
  4. package/lib/content/fields/nestable/LinkContent.js +10 -1
  5. package/lib/content/fields/nestable/NestableContent.d.ts +68 -2
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +129 -6
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +60 -0
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +136 -4
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +32 -2
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +136 -4
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +68 -2
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +68 -2
  13. package/lib/content/fields/slices/Slice/index.d.ts +250 -10
  14. package/lib/content/fields/slices/SliceItem.d.ts +250 -10
  15. package/lib/content/fields/slices/SlicesContent.d.ts +340 -10
  16. package/lib/customtypes/CustomType.d.ts +342 -162
  17. package/lib/customtypes/Section.d.ts +342 -162
  18. package/lib/customtypes/diff/SharedSlice.d.ts +152 -72
  19. package/lib/customtypes/diff/Variation.d.ts +152 -72
  20. package/lib/customtypes/widgets/Group.d.ts +60 -0
  21. package/lib/customtypes/widgets/Widget.d.ts +318 -108
  22. package/lib/customtypes/widgets/nestable/Link.d.ts +20 -0
  23. package/lib/customtypes/widgets/nestable/Link.js +2 -0
  24. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +10 -0
  25. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +20 -0
  26. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +20 -0
  27. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +80 -0
  28. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +87 -27
  29. package/lib/customtypes/widgets/slices/Slices.d.ts +424 -144
  30. package/package.json +1 -1
  31. package/src/content/fields/nestable/LinkContent.ts +12 -1
  32. package/src/customtypes/widgets/nestable/Link.ts +2 -0
  33. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
  34. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  35. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
  36. package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
@@ -134,6 +134,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
134
134
  kind: string;
135
135
  } & {
136
136
  date?: string | null | undefined;
137
+ text?: string;
137
138
  }) | ({
138
139
  id: string;
139
140
  url: string;
@@ -142,14 +143,18 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
142
143
  size: string;
143
144
  } & {
144
145
  date?: string | null | undefined;
146
+ text?: string;
145
147
  } & {
146
148
  __TYPE__: "FileLink";
147
149
  } & {
148
150
  size?: string;
151
+ text?: string;
149
152
  }) | ({
150
153
  __TYPE__: "DocumentLink";
151
154
  } & {
152
155
  id: string;
156
+ } & {
157
+ text?: string;
153
158
  }) | ({
154
159
  __TYPE__: "ExternalLink";
155
160
  } & {
@@ -160,6 +165,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
160
165
  preview?: {
161
166
  title?: string;
162
167
  } | null | undefined;
168
+ text?: string;
163
169
  });
164
170
  } | {
165
171
  __TYPE__: "StructuredTextContent";
@@ -200,6 +206,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
200
206
  kind: string;
201
207
  } & {
202
208
  date?: string | null | undefined;
209
+ text?: string;
203
210
  }) | ({
204
211
  id: string;
205
212
  url: string;
@@ -208,14 +215,18 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
208
215
  size: string;
209
216
  } & {
210
217
  date?: string | null | undefined;
218
+ text?: string;
211
219
  } & {
212
220
  __TYPE__: "FileLink";
213
221
  } & {
214
222
  size?: string;
223
+ text?: string;
215
224
  }) | ({
216
225
  __TYPE__: "DocumentLink";
217
226
  } & {
218
227
  id: string;
228
+ } & {
229
+ text?: string;
219
230
  }) | ({
220
231
  __TYPE__: "ExternalLink";
221
232
  } & {
@@ -226,6 +237,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
226
237
  preview?: {
227
238
  title?: string;
228
239
  } | null | undefined;
240
+ text?: string;
229
241
  }) | null | undefined;
230
242
  };
231
243
  } & {
@@ -273,6 +285,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
273
285
  kind: string;
274
286
  } & {
275
287
  date?: string | null | undefined;
288
+ text?: string;
276
289
  }) | ({
277
290
  id: string;
278
291
  url: string;
@@ -281,14 +294,18 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
281
294
  size: string;
282
295
  } & {
283
296
  date?: string | null | undefined;
297
+ text?: string;
284
298
  } & {
285
299
  __TYPE__: "FileLink";
286
300
  } & {
287
301
  size?: string;
302
+ text?: string;
288
303
  }) | ({
289
304
  __TYPE__: "DocumentLink";
290
305
  } & {
291
306
  id: string;
307
+ } & {
308
+ text?: string;
292
309
  }) | ({
293
310
  __TYPE__: "ExternalLink";
294
311
  } & {
@@ -299,6 +316,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
299
316
  preview?: {
300
317
  title?: string;
301
318
  } | null | undefined;
319
+ text?: string;
302
320
  });
303
321
  start: number;
304
322
  end: number;
@@ -450,6 +468,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
450
468
  kind: string;
451
469
  } & {
452
470
  date?: string | null | undefined;
471
+ text?: string;
453
472
  }) | ({
454
473
  id: string;
455
474
  url: string;
@@ -458,14 +477,18 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
458
477
  size: string;
459
478
  } & {
460
479
  date?: string | null | undefined;
480
+ text?: string;
461
481
  } & {
462
482
  __TYPE__: "FileLink";
463
483
  } & {
464
484
  size?: string;
485
+ text?: string;
465
486
  }) | ({
466
487
  __TYPE__: "DocumentLink";
467
488
  } & {
468
489
  id: string;
490
+ } & {
491
+ text?: string;
469
492
  }) | ({
470
493
  __TYPE__: "ExternalLink";
471
494
  } & {
@@ -476,6 +499,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
476
499
  preview?: {
477
500
  title?: string;
478
501
  } | null | undefined;
502
+ text?: string;
479
503
  });
480
504
  } | {
481
505
  __TYPE__: "StructuredTextContent";
@@ -516,6 +540,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
516
540
  kind: string;
517
541
  } & {
518
542
  date?: string | null | undefined;
543
+ text?: string;
519
544
  }) | ({
520
545
  id: string;
521
546
  url: string;
@@ -524,14 +549,18 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
524
549
  size: string;
525
550
  } & {
526
551
  date?: string | null | undefined;
552
+ text?: string;
527
553
  } & {
528
554
  __TYPE__: "FileLink";
529
555
  } & {
530
556
  size?: string;
557
+ text?: string;
531
558
  }) | ({
532
559
  __TYPE__: "DocumentLink";
533
560
  } & {
534
561
  id: string;
562
+ } & {
563
+ text?: string;
535
564
  }) | ({
536
565
  __TYPE__: "ExternalLink";
537
566
  } & {
@@ -542,6 +571,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
542
571
  preview?: {
543
572
  title?: string;
544
573
  } | null | undefined;
574
+ text?: string;
545
575
  }) | null | undefined;
546
576
  };
547
577
  } & {
@@ -589,6 +619,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
589
619
  kind: string;
590
620
  } & {
591
621
  date?: string | null | undefined;
622
+ text?: string;
592
623
  }) | ({
593
624
  id: string;
594
625
  url: string;
@@ -597,14 +628,18 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
597
628
  size: string;
598
629
  } & {
599
630
  date?: string | null | undefined;
631
+ text?: string;
600
632
  } & {
601
633
  __TYPE__: "FileLink";
602
634
  } & {
603
635
  size?: string;
636
+ text?: string;
604
637
  }) | ({
605
638
  __TYPE__: "DocumentLink";
606
639
  } & {
607
640
  id: string;
641
+ } & {
642
+ text?: string;
608
643
  }) | ({
609
644
  __TYPE__: "ExternalLink";
610
645
  } & {
@@ -615,6 +650,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
615
650
  preview?: {
616
651
  title?: string;
617
652
  } | null | undefined;
653
+ text?: string;
618
654
  });
619
655
  start: number;
620
656
  end: number;
@@ -769,6 +805,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
769
805
  kind: string;
770
806
  } & {
771
807
  date?: string | null | undefined;
808
+ text?: string;
772
809
  }) | ({
773
810
  id: string;
774
811
  url: string;
@@ -777,14 +814,18 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
777
814
  size: string;
778
815
  } & {
779
816
  date?: string | null | undefined;
817
+ text?: string;
780
818
  } & {
781
819
  __TYPE__: "FileLink";
782
820
  } & {
783
821
  size?: string;
822
+ text?: string;
784
823
  }) | ({
785
824
  __TYPE__: "DocumentLink";
786
825
  } & {
787
826
  id: string;
827
+ } & {
828
+ text?: string;
788
829
  }) | ({
789
830
  __TYPE__: "ExternalLink";
790
831
  } & {
@@ -795,6 +836,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
795
836
  preview?: {
796
837
  title?: string;
797
838
  } | null | undefined;
839
+ text?: string;
798
840
  });
799
841
  } | {
800
842
  __TYPE__: "StructuredTextContent";
@@ -835,6 +877,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
835
877
  kind: string;
836
878
  } & {
837
879
  date?: string | null | undefined;
880
+ text?: string;
838
881
  }) | ({
839
882
  id: string;
840
883
  url: string;
@@ -843,14 +886,18 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
843
886
  size: string;
844
887
  } & {
845
888
  date?: string | null | undefined;
889
+ text?: string;
846
890
  } & {
847
891
  __TYPE__: "FileLink";
848
892
  } & {
849
893
  size?: string;
894
+ text?: string;
850
895
  }) | ({
851
896
  __TYPE__: "DocumentLink";
852
897
  } & {
853
898
  id: string;
899
+ } & {
900
+ text?: string;
854
901
  }) | ({
855
902
  __TYPE__: "ExternalLink";
856
903
  } & {
@@ -861,6 +908,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
861
908
  preview?: {
862
909
  title?: string;
863
910
  } | null | undefined;
911
+ text?: string;
864
912
  }) | null | undefined;
865
913
  };
866
914
  } & {
@@ -908,6 +956,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
908
956
  kind: string;
909
957
  } & {
910
958
  date?: string | null | undefined;
959
+ text?: string;
911
960
  }) | ({
912
961
  id: string;
913
962
  url: string;
@@ -916,14 +965,18 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
916
965
  size: string;
917
966
  } & {
918
967
  date?: string | null | undefined;
968
+ text?: string;
919
969
  } & {
920
970
  __TYPE__: "FileLink";
921
971
  } & {
922
972
  size?: string;
973
+ text?: string;
923
974
  }) | ({
924
975
  __TYPE__: "DocumentLink";
925
976
  } & {
926
977
  id: string;
978
+ } & {
979
+ text?: string;
927
980
  }) | ({
928
981
  __TYPE__: "ExternalLink";
929
982
  } & {
@@ -934,6 +987,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
934
987
  preview?: {
935
988
  title?: string;
936
989
  } | null | undefined;
990
+ text?: string;
937
991
  });
938
992
  start: number;
939
993
  end: number;
@@ -1085,6 +1139,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1085
1139
  kind: string;
1086
1140
  } & {
1087
1141
  date?: string | null | undefined;
1142
+ text?: string;
1088
1143
  }) | ({
1089
1144
  id: string;
1090
1145
  url: string;
@@ -1093,14 +1148,18 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1093
1148
  size: string;
1094
1149
  } & {
1095
1150
  date?: string | null | undefined;
1151
+ text?: string;
1096
1152
  } & {
1097
1153
  __TYPE__: "FileLink";
1098
1154
  } & {
1099
1155
  size?: string;
1156
+ text?: string;
1100
1157
  }) | ({
1101
1158
  __TYPE__: "DocumentLink";
1102
1159
  } & {
1103
1160
  id: string;
1161
+ } & {
1162
+ text?: string;
1104
1163
  }) | ({
1105
1164
  __TYPE__: "ExternalLink";
1106
1165
  } & {
@@ -1111,6 +1170,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1111
1170
  preview?: {
1112
1171
  title?: string;
1113
1172
  } | null | undefined;
1173
+ text?: string;
1114
1174
  });
1115
1175
  } | {
1116
1176
  __TYPE__: "StructuredTextContent";
@@ -1151,6 +1211,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1151
1211
  kind: string;
1152
1212
  } & {
1153
1213
  date?: string | null | undefined;
1214
+ text?: string;
1154
1215
  }) | ({
1155
1216
  id: string;
1156
1217
  url: string;
@@ -1159,14 +1220,18 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1159
1220
  size: string;
1160
1221
  } & {
1161
1222
  date?: string | null | undefined;
1223
+ text?: string;
1162
1224
  } & {
1163
1225
  __TYPE__: "FileLink";
1164
1226
  } & {
1165
1227
  size?: string;
1228
+ text?: string;
1166
1229
  }) | ({
1167
1230
  __TYPE__: "DocumentLink";
1168
1231
  } & {
1169
1232
  id: string;
1233
+ } & {
1234
+ text?: string;
1170
1235
  }) | ({
1171
1236
  __TYPE__: "ExternalLink";
1172
1237
  } & {
@@ -1177,6 +1242,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1177
1242
  preview?: {
1178
1243
  title?: string;
1179
1244
  } | null | undefined;
1245
+ text?: string;
1180
1246
  }) | null | undefined;
1181
1247
  };
1182
1248
  } & {
@@ -1224,6 +1290,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1224
1290
  kind: string;
1225
1291
  } & {
1226
1292
  date?: string | null | undefined;
1293
+ text?: string;
1227
1294
  }) | ({
1228
1295
  id: string;
1229
1296
  url: string;
@@ -1232,14 +1299,18 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1232
1299
  size: string;
1233
1300
  } & {
1234
1301
  date?: string | null | undefined;
1302
+ text?: string;
1235
1303
  } & {
1236
1304
  __TYPE__: "FileLink";
1237
1305
  } & {
1238
1306
  size?: string;
1307
+ text?: string;
1239
1308
  }) | ({
1240
1309
  __TYPE__: "DocumentLink";
1241
1310
  } & {
1242
1311
  id: string;
1312
+ } & {
1313
+ text?: string;
1243
1314
  }) | ({
1244
1315
  __TYPE__: "ExternalLink";
1245
1316
  } & {
@@ -1250,6 +1321,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1250
1321
  preview?: {
1251
1322
  title?: string;
1252
1323
  } | null | undefined;
1324
+ text?: string;
1253
1325
  });
1254
1326
  start: number;
1255
1327
  end: number;
@@ -1407,6 +1479,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1407
1479
  kind: t.StringC;
1408
1480
  }>, t.PartialC<{
1409
1481
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1482
+ text: t.StringC;
1410
1483
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1411
1484
  id: t.StringC;
1412
1485
  url: t.StringC;
@@ -1415,15 +1488,19 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1415
1488
  size: t.StringC;
1416
1489
  }>, t.PartialC<{
1417
1490
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1491
+ text: t.StringC;
1418
1492
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1419
1493
  __TYPE__: t.LiteralC<"FileLink">;
1420
1494
  }>, t.PartialC<{
1421
1495
  size: t.StringC;
1496
+ text: t.StringC;
1422
1497
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1423
1498
  __TYPE__: t.LiteralC<"DocumentLink">;
1424
- }>>, t.ExactC<t.TypeC<{
1499
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1425
1500
  id: t.Type<string, string, unknown>;
1426
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1501
+ }>, t.PartialC<{
1502
+ text: t.StringC;
1503
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1427
1504
  __TYPE__: t.LiteralC<"ExternalLink">;
1428
1505
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1429
1506
  url: t.StringC;
@@ -1435,6 +1512,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1435
1512
  }, {
1436
1513
  title?: string;
1437
1514
  }, unknown>, t.NullC, t.UndefinedC]>;
1515
+ text: t.StringC;
1438
1516
  }>]>>]>]>;
1439
1517
  }>>, t.ExactC<t.TypeC<{
1440
1518
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1475,6 +1553,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1475
1553
  kind: string;
1476
1554
  } & {
1477
1555
  date?: string | null | undefined;
1556
+ text?: string;
1478
1557
  }) | ({
1479
1558
  id: string;
1480
1559
  url: string;
@@ -1483,14 +1562,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1483
1562
  size: string;
1484
1563
  } & {
1485
1564
  date?: string | null | undefined;
1565
+ text?: string;
1486
1566
  } & {
1487
1567
  __TYPE__: "FileLink";
1488
1568
  } & {
1489
1569
  size?: string;
1570
+ text?: string;
1490
1571
  }) | ({
1491
1572
  __TYPE__: "DocumentLink";
1492
1573
  } & {
1493
1574
  id: string;
1575
+ } & {
1576
+ text?: string;
1494
1577
  }) | ({
1495
1578
  __TYPE__: "ExternalLink";
1496
1579
  } & {
@@ -1501,6 +1584,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1501
1584
  preview?: {
1502
1585
  title?: string;
1503
1586
  } | null | undefined;
1587
+ text?: string;
1504
1588
  }), ({
1505
1589
  __TYPE__: "ImageLink";
1506
1590
  } & {
@@ -1513,6 +1597,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1513
1597
  kind: string;
1514
1598
  } & {
1515
1599
  date?: string | null | undefined;
1600
+ text?: string;
1516
1601
  }) | ({
1517
1602
  id: string;
1518
1603
  url: string;
@@ -1521,14 +1606,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1521
1606
  size: string;
1522
1607
  } & {
1523
1608
  date?: string | null | undefined;
1609
+ text?: string;
1524
1610
  } & {
1525
1611
  __TYPE__: "FileLink";
1526
1612
  } & {
1527
1613
  size?: string;
1614
+ text?: string;
1528
1615
  }) | ({
1529
1616
  __TYPE__: "DocumentLink";
1530
1617
  } & {
1531
1618
  id: string;
1619
+ } & {
1620
+ text?: string;
1532
1621
  }) | ({
1533
1622
  __TYPE__: "ExternalLink";
1534
1623
  } & {
@@ -1539,6 +1628,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1539
1628
  preview?: {
1540
1629
  title?: string;
1541
1630
  } | null | undefined;
1631
+ text?: string;
1542
1632
  }), unknown>, t.NullC, t.UndefinedC]>;
1543
1633
  }>]>;
1544
1634
  }>, t.PartialC<{
@@ -1586,6 +1676,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1586
1676
  kind: string;
1587
1677
  } & {
1588
1678
  date?: string | null | undefined;
1679
+ text?: string;
1589
1680
  }) | ({
1590
1681
  id: string;
1591
1682
  url: string;
@@ -1594,14 +1685,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1594
1685
  size: string;
1595
1686
  } & {
1596
1687
  date?: string | null | undefined;
1688
+ text?: string;
1597
1689
  } & {
1598
1690
  __TYPE__: "FileLink";
1599
1691
  } & {
1600
1692
  size?: string;
1693
+ text?: string;
1601
1694
  }) | ({
1602
1695
  __TYPE__: "DocumentLink";
1603
1696
  } & {
1604
1697
  id: string;
1698
+ } & {
1699
+ text?: string;
1605
1700
  }) | ({
1606
1701
  __TYPE__: "ExternalLink";
1607
1702
  } & {
@@ -1612,6 +1707,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1612
1707
  preview?: {
1613
1708
  title?: string;
1614
1709
  } | null | undefined;
1710
+ text?: string;
1615
1711
  });
1616
1712
  start: number;
1617
1713
  end: number;
@@ -1638,6 +1734,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1638
1734
  kind: string;
1639
1735
  } & {
1640
1736
  date?: string | null | undefined;
1737
+ text?: string;
1641
1738
  }) | ({
1642
1739
  id: string;
1643
1740
  url: string;
@@ -1646,14 +1743,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1646
1743
  size: string;
1647
1744
  } & {
1648
1745
  date?: string | null | undefined;
1746
+ text?: string;
1649
1747
  } & {
1650
1748
  __TYPE__: "FileLink";
1651
1749
  } & {
1652
1750
  size?: string;
1751
+ text?: string;
1653
1752
  }) | ({
1654
1753
  __TYPE__: "DocumentLink";
1655
1754
  } & {
1656
1755
  id: string;
1756
+ } & {
1757
+ text?: string;
1657
1758
  }) | ({
1658
1759
  __TYPE__: "ExternalLink";
1659
1760
  } & {
@@ -1664,6 +1765,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1664
1765
  preview?: {
1665
1766
  title?: string;
1666
1767
  } | null | undefined;
1768
+ text?: string;
1667
1769
  });
1668
1770
  start: number;
1669
1771
  end: number;
@@ -1812,6 +1914,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1812
1914
  kind: t.StringC;
1813
1915
  }>, t.PartialC<{
1814
1916
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1917
+ text: t.StringC;
1815
1918
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1816
1919
  id: t.StringC;
1817
1920
  url: t.StringC;
@@ -1820,15 +1923,19 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1820
1923
  size: t.StringC;
1821
1924
  }>, t.PartialC<{
1822
1925
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1926
+ text: t.StringC;
1823
1927
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1824
1928
  __TYPE__: t.LiteralC<"FileLink">;
1825
1929
  }>, t.PartialC<{
1826
1930
  size: t.StringC;
1931
+ text: t.StringC;
1827
1932
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1828
1933
  __TYPE__: t.LiteralC<"DocumentLink">;
1829
- }>>, t.ExactC<t.TypeC<{
1934
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1830
1935
  id: t.Type<string, string, unknown>;
1831
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1936
+ }>, t.PartialC<{
1937
+ text: t.StringC;
1938
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1832
1939
  __TYPE__: t.LiteralC<"ExternalLink">;
1833
1940
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1834
1941
  url: t.StringC;
@@ -1840,6 +1947,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1840
1947
  }, {
1841
1948
  title?: string;
1842
1949
  }, unknown>, t.NullC, t.UndefinedC]>;
1950
+ text: t.StringC;
1843
1951
  }>]>>]>]>;
1844
1952
  }>>, t.ExactC<t.TypeC<{
1845
1953
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1880,6 +1988,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1880
1988
  kind: string;
1881
1989
  } & {
1882
1990
  date?: string | null | undefined;
1991
+ text?: string;
1883
1992
  }) | ({
1884
1993
  id: string;
1885
1994
  url: string;
@@ -1888,14 +1997,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1888
1997
  size: string;
1889
1998
  } & {
1890
1999
  date?: string | null | undefined;
2000
+ text?: string;
1891
2001
  } & {
1892
2002
  __TYPE__: "FileLink";
1893
2003
  } & {
1894
2004
  size?: string;
2005
+ text?: string;
1895
2006
  }) | ({
1896
2007
  __TYPE__: "DocumentLink";
1897
2008
  } & {
1898
2009
  id: string;
2010
+ } & {
2011
+ text?: string;
1899
2012
  }) | ({
1900
2013
  __TYPE__: "ExternalLink";
1901
2014
  } & {
@@ -1906,6 +2019,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1906
2019
  preview?: {
1907
2020
  title?: string;
1908
2021
  } | null | undefined;
2022
+ text?: string;
1909
2023
  }), ({
1910
2024
  __TYPE__: "ImageLink";
1911
2025
  } & {
@@ -1918,6 +2032,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1918
2032
  kind: string;
1919
2033
  } & {
1920
2034
  date?: string | null | undefined;
2035
+ text?: string;
1921
2036
  }) | ({
1922
2037
  id: string;
1923
2038
  url: string;
@@ -1926,14 +2041,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1926
2041
  size: string;
1927
2042
  } & {
1928
2043
  date?: string | null | undefined;
2044
+ text?: string;
1929
2045
  } & {
1930
2046
  __TYPE__: "FileLink";
1931
2047
  } & {
1932
2048
  size?: string;
2049
+ text?: string;
1933
2050
  }) | ({
1934
2051
  __TYPE__: "DocumentLink";
1935
2052
  } & {
1936
2053
  id: string;
2054
+ } & {
2055
+ text?: string;
1937
2056
  }) | ({
1938
2057
  __TYPE__: "ExternalLink";
1939
2058
  } & {
@@ -1944,6 +2063,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1944
2063
  preview?: {
1945
2064
  title?: string;
1946
2065
  } | null | undefined;
2066
+ text?: string;
1947
2067
  }), unknown>, t.NullC, t.UndefinedC]>;
1948
2068
  }>]>;
1949
2069
  }>, t.PartialC<{
@@ -1991,6 +2111,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1991
2111
  kind: string;
1992
2112
  } & {
1993
2113
  date?: string | null | undefined;
2114
+ text?: string;
1994
2115
  }) | ({
1995
2116
  id: string;
1996
2117
  url: string;
@@ -1999,14 +2120,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1999
2120
  size: string;
2000
2121
  } & {
2001
2122
  date?: string | null | undefined;
2123
+ text?: string;
2002
2124
  } & {
2003
2125
  __TYPE__: "FileLink";
2004
2126
  } & {
2005
2127
  size?: string;
2128
+ text?: string;
2006
2129
  }) | ({
2007
2130
  __TYPE__: "DocumentLink";
2008
2131
  } & {
2009
2132
  id: string;
2133
+ } & {
2134
+ text?: string;
2010
2135
  }) | ({
2011
2136
  __TYPE__: "ExternalLink";
2012
2137
  } & {
@@ -2017,6 +2142,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2017
2142
  preview?: {
2018
2143
  title?: string;
2019
2144
  } | null | undefined;
2145
+ text?: string;
2020
2146
  });
2021
2147
  start: number;
2022
2148
  end: number;
@@ -2043,6 +2169,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2043
2169
  kind: string;
2044
2170
  } & {
2045
2171
  date?: string | null | undefined;
2172
+ text?: string;
2046
2173
  }) | ({
2047
2174
  id: string;
2048
2175
  url: string;
@@ -2051,14 +2178,18 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2051
2178
  size: string;
2052
2179
  } & {
2053
2180
  date?: string | null | undefined;
2181
+ text?: string;
2054
2182
  } & {
2055
2183
  __TYPE__: "FileLink";
2056
2184
  } & {
2057
2185
  size?: string;
2186
+ text?: string;
2058
2187
  }) | ({
2059
2188
  __TYPE__: "DocumentLink";
2060
2189
  } & {
2061
2190
  id: string;
2191
+ } & {
2192
+ text?: string;
2062
2193
  }) | ({
2063
2194
  __TYPE__: "ExternalLink";
2064
2195
  } & {
@@ -2069,6 +2200,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2069
2200
  preview?: {
2070
2201
  title?: string;
2071
2202
  } | null | undefined;
2203
+ text?: string;
2072
2204
  });
2073
2205
  start: number;
2074
2206
  end: number;