@prismicio/types-internal 2.7.0-alpha.2 → 2.7.0-alpha.3

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