@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
@@ -133,6 +133,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
133
133
  kind: string;
134
134
  } & {
135
135
  date?: string | null | undefined;
136
+ text?: string;
136
137
  }) | ({
137
138
  id: string;
138
139
  url: string;
@@ -141,14 +142,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
141
142
  size: string;
142
143
  } & {
143
144
  date?: string | null | undefined;
145
+ text?: string;
144
146
  } & {
145
147
  __TYPE__: "FileLink";
146
148
  } & {
147
149
  size?: string;
150
+ text?: string;
148
151
  }) | ({
149
152
  __TYPE__: "DocumentLink";
150
153
  } & {
151
154
  id: string;
155
+ } & {
156
+ text?: string;
152
157
  }) | ({
153
158
  __TYPE__: "ExternalLink";
154
159
  } & {
@@ -159,6 +164,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
159
164
  preview?: {
160
165
  title?: string;
161
166
  } | null | undefined;
167
+ text?: string;
162
168
  });
163
169
  } | {
164
170
  __TYPE__: "StructuredTextContent";
@@ -199,6 +205,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
199
205
  kind: string;
200
206
  } & {
201
207
  date?: string | null | undefined;
208
+ text?: string;
202
209
  }) | ({
203
210
  id: string;
204
211
  url: string;
@@ -207,14 +214,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
207
214
  size: string;
208
215
  } & {
209
216
  date?: string | null | undefined;
217
+ text?: string;
210
218
  } & {
211
219
  __TYPE__: "FileLink";
212
220
  } & {
213
221
  size?: string;
222
+ text?: string;
214
223
  }) | ({
215
224
  __TYPE__: "DocumentLink";
216
225
  } & {
217
226
  id: string;
227
+ } & {
228
+ text?: string;
218
229
  }) | ({
219
230
  __TYPE__: "ExternalLink";
220
231
  } & {
@@ -225,6 +236,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
225
236
  preview?: {
226
237
  title?: string;
227
238
  } | null | undefined;
239
+ text?: string;
228
240
  }) | null | undefined;
229
241
  };
230
242
  } & {
@@ -272,6 +284,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
272
284
  kind: string;
273
285
  } & {
274
286
  date?: string | null | undefined;
287
+ text?: string;
275
288
  }) | ({
276
289
  id: string;
277
290
  url: string;
@@ -280,14 +293,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
280
293
  size: string;
281
294
  } & {
282
295
  date?: string | null | undefined;
296
+ text?: string;
283
297
  } & {
284
298
  __TYPE__: "FileLink";
285
299
  } & {
286
300
  size?: string;
301
+ text?: string;
287
302
  }) | ({
288
303
  __TYPE__: "DocumentLink";
289
304
  } & {
290
305
  id: string;
306
+ } & {
307
+ text?: string;
291
308
  }) | ({
292
309
  __TYPE__: "ExternalLink";
293
310
  } & {
@@ -298,6 +315,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
298
315
  preview?: {
299
316
  title?: string;
300
317
  } | null | undefined;
318
+ text?: string;
301
319
  });
302
320
  start: number;
303
321
  end: number;
@@ -449,6 +467,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
449
467
  kind: string;
450
468
  } & {
451
469
  date?: string | null | undefined;
470
+ text?: string;
452
471
  }) | ({
453
472
  id: string;
454
473
  url: string;
@@ -457,14 +476,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
457
476
  size: string;
458
477
  } & {
459
478
  date?: string | null | undefined;
479
+ text?: string;
460
480
  } & {
461
481
  __TYPE__: "FileLink";
462
482
  } & {
463
483
  size?: string;
484
+ text?: string;
464
485
  }) | ({
465
486
  __TYPE__: "DocumentLink";
466
487
  } & {
467
488
  id: string;
489
+ } & {
490
+ text?: string;
468
491
  }) | ({
469
492
  __TYPE__: "ExternalLink";
470
493
  } & {
@@ -475,6 +498,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
475
498
  preview?: {
476
499
  title?: string;
477
500
  } | null | undefined;
501
+ text?: string;
478
502
  });
479
503
  } | {
480
504
  __TYPE__: "StructuredTextContent";
@@ -515,6 +539,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
515
539
  kind: string;
516
540
  } & {
517
541
  date?: string | null | undefined;
542
+ text?: string;
518
543
  }) | ({
519
544
  id: string;
520
545
  url: string;
@@ -523,14 +548,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
523
548
  size: string;
524
549
  } & {
525
550
  date?: string | null | undefined;
551
+ text?: string;
526
552
  } & {
527
553
  __TYPE__: "FileLink";
528
554
  } & {
529
555
  size?: string;
556
+ text?: string;
530
557
  }) | ({
531
558
  __TYPE__: "DocumentLink";
532
559
  } & {
533
560
  id: string;
561
+ } & {
562
+ text?: string;
534
563
  }) | ({
535
564
  __TYPE__: "ExternalLink";
536
565
  } & {
@@ -541,6 +570,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
541
570
  preview?: {
542
571
  title?: string;
543
572
  } | null | undefined;
573
+ text?: string;
544
574
  }) | null | undefined;
545
575
  };
546
576
  } & {
@@ -588,6 +618,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
588
618
  kind: string;
589
619
  } & {
590
620
  date?: string | null | undefined;
621
+ text?: string;
591
622
  }) | ({
592
623
  id: string;
593
624
  url: string;
@@ -596,14 +627,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
596
627
  size: string;
597
628
  } & {
598
629
  date?: string | null | undefined;
630
+ text?: string;
599
631
  } & {
600
632
  __TYPE__: "FileLink";
601
633
  } & {
602
634
  size?: string;
635
+ text?: string;
603
636
  }) | ({
604
637
  __TYPE__: "DocumentLink";
605
638
  } & {
606
639
  id: string;
640
+ } & {
641
+ text?: string;
607
642
  }) | ({
608
643
  __TYPE__: "ExternalLink";
609
644
  } & {
@@ -614,6 +649,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
614
649
  preview?: {
615
650
  title?: string;
616
651
  } | null | undefined;
652
+ text?: string;
617
653
  });
618
654
  start: number;
619
655
  end: number;
@@ -767,6 +803,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
767
803
  kind: string;
768
804
  } & {
769
805
  date?: string | null | undefined;
806
+ text?: string;
770
807
  }) | ({
771
808
  id: string;
772
809
  url: string;
@@ -775,14 +812,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
775
812
  size: string;
776
813
  } & {
777
814
  date?: string | null | undefined;
815
+ text?: string;
778
816
  } & {
779
817
  __TYPE__: "FileLink";
780
818
  } & {
781
819
  size?: string;
820
+ text?: string;
782
821
  }) | ({
783
822
  __TYPE__: "DocumentLink";
784
823
  } & {
785
824
  id: string;
825
+ } & {
826
+ text?: string;
786
827
  }) | ({
787
828
  __TYPE__: "ExternalLink";
788
829
  } & {
@@ -793,6 +834,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
793
834
  preview?: {
794
835
  title?: string;
795
836
  } | null | undefined;
837
+ text?: string;
796
838
  });
797
839
  } | {
798
840
  __TYPE__: "StructuredTextContent";
@@ -833,6 +875,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
833
875
  kind: string;
834
876
  } & {
835
877
  date?: string | null | undefined;
878
+ text?: string;
836
879
  }) | ({
837
880
  id: string;
838
881
  url: string;
@@ -841,14 +884,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
841
884
  size: string;
842
885
  } & {
843
886
  date?: string | null | undefined;
887
+ text?: string;
844
888
  } & {
845
889
  __TYPE__: "FileLink";
846
890
  } & {
847
891
  size?: string;
892
+ text?: string;
848
893
  }) | ({
849
894
  __TYPE__: "DocumentLink";
850
895
  } & {
851
896
  id: string;
897
+ } & {
898
+ text?: string;
852
899
  }) | ({
853
900
  __TYPE__: "ExternalLink";
854
901
  } & {
@@ -859,6 +906,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
859
906
  preview?: {
860
907
  title?: string;
861
908
  } | null | undefined;
909
+ text?: string;
862
910
  }) | null | undefined;
863
911
  };
864
912
  } & {
@@ -906,6 +954,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
906
954
  kind: string;
907
955
  } & {
908
956
  date?: string | null | undefined;
957
+ text?: string;
909
958
  }) | ({
910
959
  id: string;
911
960
  url: string;
@@ -914,14 +963,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
914
963
  size: string;
915
964
  } & {
916
965
  date?: string | null | undefined;
966
+ text?: string;
917
967
  } & {
918
968
  __TYPE__: "FileLink";
919
969
  } & {
920
970
  size?: string;
971
+ text?: string;
921
972
  }) | ({
922
973
  __TYPE__: "DocumentLink";
923
974
  } & {
924
975
  id: string;
976
+ } & {
977
+ text?: string;
925
978
  }) | ({
926
979
  __TYPE__: "ExternalLink";
927
980
  } & {
@@ -932,6 +985,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
932
985
  preview?: {
933
986
  title?: string;
934
987
  } | null | undefined;
988
+ text?: string;
935
989
  });
936
990
  start: number;
937
991
  end: number;
@@ -1083,6 +1137,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1083
1137
  kind: string;
1084
1138
  } & {
1085
1139
  date?: string | null | undefined;
1140
+ text?: string;
1086
1141
  }) | ({
1087
1142
  id: string;
1088
1143
  url: string;
@@ -1091,14 +1146,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1091
1146
  size: string;
1092
1147
  } & {
1093
1148
  date?: string | null | undefined;
1149
+ text?: string;
1094
1150
  } & {
1095
1151
  __TYPE__: "FileLink";
1096
1152
  } & {
1097
1153
  size?: string;
1154
+ text?: string;
1098
1155
  }) | ({
1099
1156
  __TYPE__: "DocumentLink";
1100
1157
  } & {
1101
1158
  id: string;
1159
+ } & {
1160
+ text?: string;
1102
1161
  }) | ({
1103
1162
  __TYPE__: "ExternalLink";
1104
1163
  } & {
@@ -1109,6 +1168,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1109
1168
  preview?: {
1110
1169
  title?: string;
1111
1170
  } | null | undefined;
1171
+ text?: string;
1112
1172
  });
1113
1173
  } | {
1114
1174
  __TYPE__: "StructuredTextContent";
@@ -1149,6 +1209,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1149
1209
  kind: string;
1150
1210
  } & {
1151
1211
  date?: string | null | undefined;
1212
+ text?: string;
1152
1213
  }) | ({
1153
1214
  id: string;
1154
1215
  url: string;
@@ -1157,14 +1218,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1157
1218
  size: string;
1158
1219
  } & {
1159
1220
  date?: string | null | undefined;
1221
+ text?: string;
1160
1222
  } & {
1161
1223
  __TYPE__: "FileLink";
1162
1224
  } & {
1163
1225
  size?: string;
1226
+ text?: string;
1164
1227
  }) | ({
1165
1228
  __TYPE__: "DocumentLink";
1166
1229
  } & {
1167
1230
  id: string;
1231
+ } & {
1232
+ text?: string;
1168
1233
  }) | ({
1169
1234
  __TYPE__: "ExternalLink";
1170
1235
  } & {
@@ -1175,6 +1240,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1175
1240
  preview?: {
1176
1241
  title?: string;
1177
1242
  } | null | undefined;
1243
+ text?: string;
1178
1244
  }) | null | undefined;
1179
1245
  };
1180
1246
  } & {
@@ -1222,6 +1288,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1222
1288
  kind: string;
1223
1289
  } & {
1224
1290
  date?: string | null | undefined;
1291
+ text?: string;
1225
1292
  }) | ({
1226
1293
  id: string;
1227
1294
  url: string;
@@ -1230,14 +1297,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1230
1297
  size: string;
1231
1298
  } & {
1232
1299
  date?: string | null | undefined;
1300
+ text?: string;
1233
1301
  } & {
1234
1302
  __TYPE__: "FileLink";
1235
1303
  } & {
1236
1304
  size?: string;
1305
+ text?: string;
1237
1306
  }) | ({
1238
1307
  __TYPE__: "DocumentLink";
1239
1308
  } & {
1240
1309
  id: string;
1310
+ } & {
1311
+ text?: string;
1241
1312
  }) | ({
1242
1313
  __TYPE__: "ExternalLink";
1243
1314
  } & {
@@ -1248,6 +1319,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1248
1319
  preview?: {
1249
1320
  title?: string;
1250
1321
  } | null | undefined;
1322
+ text?: string;
1251
1323
  });
1252
1324
  start: number;
1253
1325
  end: number;
@@ -1403,6 +1475,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1403
1475
  kind: t.StringC;
1404
1476
  }>, t.PartialC<{
1405
1477
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1478
+ text: t.StringC;
1406
1479
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1407
1480
  id: t.StringC;
1408
1481
  url: t.StringC;
@@ -1411,15 +1484,19 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1411
1484
  size: t.StringC;
1412
1485
  }>, t.PartialC<{
1413
1486
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1487
+ text: t.StringC;
1414
1488
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1415
1489
  __TYPE__: t.LiteralC<"FileLink">;
1416
1490
  }>, t.PartialC<{
1417
1491
  size: t.StringC;
1492
+ text: t.StringC;
1418
1493
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1419
1494
  __TYPE__: t.LiteralC<"DocumentLink">;
1420
- }>>, t.ExactC<t.TypeC<{
1495
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1421
1496
  id: t.Type<string, string, unknown>;
1422
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1497
+ }>, t.PartialC<{
1498
+ text: t.StringC;
1499
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1423
1500
  __TYPE__: t.LiteralC<"ExternalLink">;
1424
1501
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1425
1502
  url: t.StringC;
@@ -1431,6 +1508,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1431
1508
  }, {
1432
1509
  title?: string;
1433
1510
  }, unknown>, t.NullC, t.UndefinedC]>;
1511
+ text: t.StringC;
1434
1512
  }>]>>]>]>;
1435
1513
  }>>, t.ExactC<t.TypeC<{
1436
1514
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1471,6 +1549,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1471
1549
  kind: string;
1472
1550
  } & {
1473
1551
  date?: string | null | undefined;
1552
+ text?: string;
1474
1553
  }) | ({
1475
1554
  id: string;
1476
1555
  url: string;
@@ -1479,14 +1558,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1479
1558
  size: string;
1480
1559
  } & {
1481
1560
  date?: string | null | undefined;
1561
+ text?: string;
1482
1562
  } & {
1483
1563
  __TYPE__: "FileLink";
1484
1564
  } & {
1485
1565
  size?: string;
1566
+ text?: string;
1486
1567
  }) | ({
1487
1568
  __TYPE__: "DocumentLink";
1488
1569
  } & {
1489
1570
  id: string;
1571
+ } & {
1572
+ text?: string;
1490
1573
  }) | ({
1491
1574
  __TYPE__: "ExternalLink";
1492
1575
  } & {
@@ -1497,6 +1580,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1497
1580
  preview?: {
1498
1581
  title?: string;
1499
1582
  } | null | undefined;
1583
+ text?: string;
1500
1584
  }), ({
1501
1585
  __TYPE__: "ImageLink";
1502
1586
  } & {
@@ -1509,6 +1593,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1509
1593
  kind: string;
1510
1594
  } & {
1511
1595
  date?: string | null | undefined;
1596
+ text?: string;
1512
1597
  }) | ({
1513
1598
  id: string;
1514
1599
  url: string;
@@ -1517,14 +1602,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1517
1602
  size: string;
1518
1603
  } & {
1519
1604
  date?: string | null | undefined;
1605
+ text?: string;
1520
1606
  } & {
1521
1607
  __TYPE__: "FileLink";
1522
1608
  } & {
1523
1609
  size?: string;
1610
+ text?: string;
1524
1611
  }) | ({
1525
1612
  __TYPE__: "DocumentLink";
1526
1613
  } & {
1527
1614
  id: string;
1615
+ } & {
1616
+ text?: string;
1528
1617
  }) | ({
1529
1618
  __TYPE__: "ExternalLink";
1530
1619
  } & {
@@ -1535,6 +1624,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1535
1624
  preview?: {
1536
1625
  title?: string;
1537
1626
  } | null | undefined;
1627
+ text?: string;
1538
1628
  }), unknown>, t.NullC, t.UndefinedC]>;
1539
1629
  }>]>;
1540
1630
  }>, t.PartialC<{
@@ -1582,6 +1672,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1582
1672
  kind: string;
1583
1673
  } & {
1584
1674
  date?: string | null | undefined;
1675
+ text?: string;
1585
1676
  }) | ({
1586
1677
  id: string;
1587
1678
  url: string;
@@ -1590,14 +1681,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1590
1681
  size: string;
1591
1682
  } & {
1592
1683
  date?: string | null | undefined;
1684
+ text?: string;
1593
1685
  } & {
1594
1686
  __TYPE__: "FileLink";
1595
1687
  } & {
1596
1688
  size?: string;
1689
+ text?: string;
1597
1690
  }) | ({
1598
1691
  __TYPE__: "DocumentLink";
1599
1692
  } & {
1600
1693
  id: string;
1694
+ } & {
1695
+ text?: string;
1601
1696
  }) | ({
1602
1697
  __TYPE__: "ExternalLink";
1603
1698
  } & {
@@ -1608,6 +1703,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1608
1703
  preview?: {
1609
1704
  title?: string;
1610
1705
  } | null | undefined;
1706
+ text?: string;
1611
1707
  });
1612
1708
  start: number;
1613
1709
  end: number;
@@ -1634,6 +1730,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1634
1730
  kind: string;
1635
1731
  } & {
1636
1732
  date?: string | null | undefined;
1733
+ text?: string;
1637
1734
  }) | ({
1638
1735
  id: string;
1639
1736
  url: string;
@@ -1642,14 +1739,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1642
1739
  size: string;
1643
1740
  } & {
1644
1741
  date?: string | null | undefined;
1742
+ text?: string;
1645
1743
  } & {
1646
1744
  __TYPE__: "FileLink";
1647
1745
  } & {
1648
1746
  size?: string;
1747
+ text?: string;
1649
1748
  }) | ({
1650
1749
  __TYPE__: "DocumentLink";
1651
1750
  } & {
1652
1751
  id: string;
1752
+ } & {
1753
+ text?: string;
1653
1754
  }) | ({
1654
1755
  __TYPE__: "ExternalLink";
1655
1756
  } & {
@@ -1660,6 +1761,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1660
1761
  preview?: {
1661
1762
  title?: string;
1662
1763
  } | null | undefined;
1764
+ text?: string;
1663
1765
  });
1664
1766
  start: number;
1665
1767
  end: number;
@@ -1808,6 +1910,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1808
1910
  kind: t.StringC;
1809
1911
  }>, t.PartialC<{
1810
1912
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1913
+ text: t.StringC;
1811
1914
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1812
1915
  id: t.StringC;
1813
1916
  url: t.StringC;
@@ -1816,15 +1919,19 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1816
1919
  size: t.StringC;
1817
1920
  }>, t.PartialC<{
1818
1921
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1922
+ text: t.StringC;
1819
1923
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1820
1924
  __TYPE__: t.LiteralC<"FileLink">;
1821
1925
  }>, t.PartialC<{
1822
1926
  size: t.StringC;
1927
+ text: t.StringC;
1823
1928
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1824
1929
  __TYPE__: t.LiteralC<"DocumentLink">;
1825
- }>>, t.ExactC<t.TypeC<{
1930
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1826
1931
  id: t.Type<string, string, unknown>;
1827
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1932
+ }>, t.PartialC<{
1933
+ text: t.StringC;
1934
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1828
1935
  __TYPE__: t.LiteralC<"ExternalLink">;
1829
1936
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1830
1937
  url: t.StringC;
@@ -1836,6 +1943,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1836
1943
  }, {
1837
1944
  title?: string;
1838
1945
  }, unknown>, t.NullC, t.UndefinedC]>;
1946
+ text: t.StringC;
1839
1947
  }>]>>]>]>;
1840
1948
  }>>, t.ExactC<t.TypeC<{
1841
1949
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1876,6 +1984,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1876
1984
  kind: string;
1877
1985
  } & {
1878
1986
  date?: string | null | undefined;
1987
+ text?: string;
1879
1988
  }) | ({
1880
1989
  id: string;
1881
1990
  url: string;
@@ -1884,14 +1993,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1884
1993
  size: string;
1885
1994
  } & {
1886
1995
  date?: string | null | undefined;
1996
+ text?: string;
1887
1997
  } & {
1888
1998
  __TYPE__: "FileLink";
1889
1999
  } & {
1890
2000
  size?: string;
2001
+ text?: string;
1891
2002
  }) | ({
1892
2003
  __TYPE__: "DocumentLink";
1893
2004
  } & {
1894
2005
  id: string;
2006
+ } & {
2007
+ text?: string;
1895
2008
  }) | ({
1896
2009
  __TYPE__: "ExternalLink";
1897
2010
  } & {
@@ -1902,6 +2015,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1902
2015
  preview?: {
1903
2016
  title?: string;
1904
2017
  } | null | undefined;
2018
+ text?: string;
1905
2019
  }), ({
1906
2020
  __TYPE__: "ImageLink";
1907
2021
  } & {
@@ -1914,6 +2028,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1914
2028
  kind: string;
1915
2029
  } & {
1916
2030
  date?: string | null | undefined;
2031
+ text?: string;
1917
2032
  }) | ({
1918
2033
  id: string;
1919
2034
  url: string;
@@ -1922,14 +2037,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1922
2037
  size: string;
1923
2038
  } & {
1924
2039
  date?: string | null | undefined;
2040
+ text?: string;
1925
2041
  } & {
1926
2042
  __TYPE__: "FileLink";
1927
2043
  } & {
1928
2044
  size?: string;
2045
+ text?: string;
1929
2046
  }) | ({
1930
2047
  __TYPE__: "DocumentLink";
1931
2048
  } & {
1932
2049
  id: string;
2050
+ } & {
2051
+ text?: string;
1933
2052
  }) | ({
1934
2053
  __TYPE__: "ExternalLink";
1935
2054
  } & {
@@ -1940,6 +2059,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1940
2059
  preview?: {
1941
2060
  title?: string;
1942
2061
  } | null | undefined;
2062
+ text?: string;
1943
2063
  }), unknown>, t.NullC, t.UndefinedC]>;
1944
2064
  }>]>;
1945
2065
  }>, t.PartialC<{
@@ -1987,6 +2107,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1987
2107
  kind: string;
1988
2108
  } & {
1989
2109
  date?: string | null | undefined;
2110
+ text?: string;
1990
2111
  }) | ({
1991
2112
  id: string;
1992
2113
  url: string;
@@ -1995,14 +2116,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1995
2116
  size: string;
1996
2117
  } & {
1997
2118
  date?: string | null | undefined;
2119
+ text?: string;
1998
2120
  } & {
1999
2121
  __TYPE__: "FileLink";
2000
2122
  } & {
2001
2123
  size?: string;
2124
+ text?: string;
2002
2125
  }) | ({
2003
2126
  __TYPE__: "DocumentLink";
2004
2127
  } & {
2005
2128
  id: string;
2129
+ } & {
2130
+ text?: string;
2006
2131
  }) | ({
2007
2132
  __TYPE__: "ExternalLink";
2008
2133
  } & {
@@ -2013,6 +2138,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2013
2138
  preview?: {
2014
2139
  title?: string;
2015
2140
  } | null | undefined;
2141
+ text?: string;
2016
2142
  });
2017
2143
  start: number;
2018
2144
  end: number;
@@ -2039,6 +2165,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2039
2165
  kind: string;
2040
2166
  } & {
2041
2167
  date?: string | null | undefined;
2168
+ text?: string;
2042
2169
  }) | ({
2043
2170
  id: string;
2044
2171
  url: string;
@@ -2047,14 +2174,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2047
2174
  size: string;
2048
2175
  } & {
2049
2176
  date?: string | null | undefined;
2177
+ text?: string;
2050
2178
  } & {
2051
2179
  __TYPE__: "FileLink";
2052
2180
  } & {
2053
2181
  size?: string;
2182
+ text?: string;
2054
2183
  }) | ({
2055
2184
  __TYPE__: "DocumentLink";
2056
2185
  } & {
2057
2186
  id: string;
2187
+ } & {
2188
+ text?: string;
2058
2189
  }) | ({
2059
2190
  __TYPE__: "ExternalLink";
2060
2191
  } & {
@@ -2065,6 +2196,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2065
2196
  preview?: {
2066
2197
  title?: string;
2067
2198
  } | null | undefined;
2199
+ text?: string;
2068
2200
  });
2069
2201
  start: number;
2070
2202
  end: number;