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

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 +1729 -13
  2. package/lib/content/fields/WidgetContent.d.ts +1728 -12
  3. package/lib/content/fields/nestable/LinkContent.d.ts +206 -8
  4. package/lib/content/fields/nestable/LinkContent.js +11 -1
  5. package/lib/content/fields/nestable/NestableContent.d.ts +288 -2
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +537 -6
  7. package/lib/content/fields/nestable/RichTextContent/index.d.ts +260 -0
  8. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +576 -4
  9. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +132 -2
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +576 -4
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +288 -2
  12. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +288 -2
  13. package/lib/content/fields/slices/Slice/index.d.ts +1050 -10
  14. package/lib/content/fields/slices/SliceItem.d.ts +1050 -10
  15. package/lib/content/fields/slices/SlicesContent.d.ts +1440 -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 +13 -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
@@ -128,6 +128,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
128
128
  kind: t.StringC;
129
129
  }>, t.PartialC<{
130
130
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
131
+ title: t.ExactC<t.TypeC<{
132
+ type: t.LiteralC<"Text">;
133
+ value: t.Type<string, string, unknown>;
134
+ __TYPE__: t.LiteralC<"FieldContent">;
135
+ }>>;
131
136
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
132
137
  id: t.StringC;
133
138
  url: t.StringC;
@@ -136,15 +141,31 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
136
141
  size: t.StringC;
137
142
  }>, t.PartialC<{
138
143
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
144
+ title: t.ExactC<t.TypeC<{
145
+ type: t.LiteralC<"Text">;
146
+ value: t.Type<string, string, unknown>;
147
+ __TYPE__: t.LiteralC<"FieldContent">;
148
+ }>>;
139
149
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
140
150
  __TYPE__: t.LiteralC<"FileLink">;
141
151
  }>, t.PartialC<{
142
152
  size: t.StringC;
153
+ title: t.ExactC<t.TypeC<{
154
+ type: t.LiteralC<"Text">;
155
+ value: t.Type<string, string, unknown>;
156
+ __TYPE__: t.LiteralC<"FieldContent">;
157
+ }>>;
143
158
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
144
159
  __TYPE__: t.LiteralC<"DocumentLink">;
145
- }>>, t.ExactC<t.TypeC<{
160
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
146
161
  id: t.Type<string, string, unknown>;
147
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
162
+ }>, t.PartialC<{
163
+ title: t.ExactC<t.TypeC<{
164
+ type: t.LiteralC<"Text">;
165
+ value: t.Type<string, string, unknown>;
166
+ __TYPE__: t.LiteralC<"FieldContent">;
167
+ }>>;
168
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
148
169
  __TYPE__: t.LiteralC<"ExternalLink">;
149
170
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
150
171
  url: t.StringC;
@@ -156,6 +177,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
156
177
  }, {
157
178
  title?: string;
158
179
  }, unknown>, t.NullC, t.UndefinedC]>;
180
+ title: t.ExactC<t.TypeC<{
181
+ type: t.LiteralC<"Text">;
182
+ value: t.Type<string, string, unknown>;
183
+ __TYPE__: t.LiteralC<"FieldContent">;
184
+ }>>;
159
185
  }>]>>]>]>;
160
186
  }>>, t.ExactC<t.TypeC<{
161
187
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -196,6 +222,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
196
222
  kind: string;
197
223
  } & {
198
224
  date?: string | null | undefined;
225
+ title?: {
226
+ type: "Text";
227
+ value: string;
228
+ __TYPE__: "FieldContent";
229
+ };
199
230
  }) | ({
200
231
  id: string;
201
232
  url: string;
@@ -204,14 +235,30 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
204
235
  size: string;
205
236
  } & {
206
237
  date?: string | null | undefined;
238
+ title?: {
239
+ type: "Text";
240
+ value: string;
241
+ __TYPE__: "FieldContent";
242
+ };
207
243
  } & {
208
244
  __TYPE__: "FileLink";
209
245
  } & {
210
246
  size?: string;
247
+ title?: {
248
+ type: "Text";
249
+ value: string;
250
+ __TYPE__: "FieldContent";
251
+ };
211
252
  }) | ({
212
253
  __TYPE__: "DocumentLink";
213
254
  } & {
214
255
  id: string;
256
+ } & {
257
+ title?: {
258
+ type: "Text";
259
+ value: string;
260
+ __TYPE__: "FieldContent";
261
+ };
215
262
  }) | ({
216
263
  __TYPE__: "ExternalLink";
217
264
  } & {
@@ -222,6 +269,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
222
269
  preview?: {
223
270
  title?: string;
224
271
  } | null | undefined;
272
+ title?: {
273
+ type: "Text";
274
+ value: string;
275
+ __TYPE__: "FieldContent";
276
+ };
225
277
  }), ({
226
278
  __TYPE__: "ImageLink";
227
279
  } & {
@@ -234,6 +286,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
234
286
  kind: string;
235
287
  } & {
236
288
  date?: string | null | undefined;
289
+ title?: {
290
+ type: "Text";
291
+ value: string;
292
+ __TYPE__: "FieldContent";
293
+ };
237
294
  }) | ({
238
295
  id: string;
239
296
  url: string;
@@ -242,14 +299,30 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
242
299
  size: string;
243
300
  } & {
244
301
  date?: string | null | undefined;
302
+ title?: {
303
+ type: "Text";
304
+ value: string;
305
+ __TYPE__: "FieldContent";
306
+ };
245
307
  } & {
246
308
  __TYPE__: "FileLink";
247
309
  } & {
248
310
  size?: string;
311
+ title?: {
312
+ type: "Text";
313
+ value: string;
314
+ __TYPE__: "FieldContent";
315
+ };
249
316
  }) | ({
250
317
  __TYPE__: "DocumentLink";
251
318
  } & {
252
319
  id: string;
320
+ } & {
321
+ title?: {
322
+ type: "Text";
323
+ value: string;
324
+ __TYPE__: "FieldContent";
325
+ };
253
326
  }) | ({
254
327
  __TYPE__: "ExternalLink";
255
328
  } & {
@@ -260,6 +333,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
260
333
  preview?: {
261
334
  title?: string;
262
335
  } | null | undefined;
336
+ title?: {
337
+ type: "Text";
338
+ value: string;
339
+ __TYPE__: "FieldContent";
340
+ };
263
341
  }), unknown>, t.NullC, t.UndefinedC]>;
264
342
  }>]>;
265
343
  }>, t.PartialC<{
@@ -307,6 +385,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
307
385
  kind: string;
308
386
  } & {
309
387
  date?: string | null | undefined;
388
+ title?: {
389
+ type: "Text";
390
+ value: string;
391
+ __TYPE__: "FieldContent";
392
+ };
310
393
  }) | ({
311
394
  id: string;
312
395
  url: string;
@@ -315,14 +398,30 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
315
398
  size: string;
316
399
  } & {
317
400
  date?: string | null | undefined;
401
+ title?: {
402
+ type: "Text";
403
+ value: string;
404
+ __TYPE__: "FieldContent";
405
+ };
318
406
  } & {
319
407
  __TYPE__: "FileLink";
320
408
  } & {
321
409
  size?: string;
410
+ title?: {
411
+ type: "Text";
412
+ value: string;
413
+ __TYPE__: "FieldContent";
414
+ };
322
415
  }) | ({
323
416
  __TYPE__: "DocumentLink";
324
417
  } & {
325
418
  id: string;
419
+ } & {
420
+ title?: {
421
+ type: "Text";
422
+ value: string;
423
+ __TYPE__: "FieldContent";
424
+ };
326
425
  }) | ({
327
426
  __TYPE__: "ExternalLink";
328
427
  } & {
@@ -333,6 +432,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
333
432
  preview?: {
334
433
  title?: string;
335
434
  } | null | undefined;
435
+ title?: {
436
+ type: "Text";
437
+ value: string;
438
+ __TYPE__: "FieldContent";
439
+ };
336
440
  });
337
441
  start: number;
338
442
  end: number;
@@ -359,6 +463,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
359
463
  kind: string;
360
464
  } & {
361
465
  date?: string | null | undefined;
466
+ title?: {
467
+ type: "Text";
468
+ value: string;
469
+ __TYPE__: "FieldContent";
470
+ };
362
471
  }) | ({
363
472
  id: string;
364
473
  url: string;
@@ -367,14 +476,30 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
367
476
  size: string;
368
477
  } & {
369
478
  date?: string | null | undefined;
479
+ title?: {
480
+ type: "Text";
481
+ value: string;
482
+ __TYPE__: "FieldContent";
483
+ };
370
484
  } & {
371
485
  __TYPE__: "FileLink";
372
486
  } & {
373
487
  size?: string;
488
+ title?: {
489
+ type: "Text";
490
+ value: string;
491
+ __TYPE__: "FieldContent";
492
+ };
374
493
  }) | ({
375
494
  __TYPE__: "DocumentLink";
376
495
  } & {
377
496
  id: string;
497
+ } & {
498
+ title?: {
499
+ type: "Text";
500
+ value: string;
501
+ __TYPE__: "FieldContent";
502
+ };
378
503
  }) | ({
379
504
  __TYPE__: "ExternalLink";
380
505
  } & {
@@ -385,6 +510,11 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
385
510
  preview?: {
386
511
  title?: string;
387
512
  } | null | undefined;
513
+ title?: {
514
+ type: "Text";
515
+ value: string;
516
+ __TYPE__: "FieldContent";
517
+ };
388
518
  });
389
519
  start: number;
390
520
  end: number;
@@ -534,6 +664,11 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
534
664
  kind: string;
535
665
  } & {
536
666
  date?: string | null | undefined;
667
+ title?: {
668
+ type: "Text";
669
+ value: string;
670
+ __TYPE__: "FieldContent";
671
+ };
537
672
  }) | ({
538
673
  id: string;
539
674
  url: string;
@@ -542,14 +677,30 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
542
677
  size: string;
543
678
  } & {
544
679
  date?: string | null | undefined;
680
+ title?: {
681
+ type: "Text";
682
+ value: string;
683
+ __TYPE__: "FieldContent";
684
+ };
545
685
  } & {
546
686
  __TYPE__: "FileLink";
547
687
  } & {
548
688
  size?: string;
689
+ title?: {
690
+ type: "Text";
691
+ value: string;
692
+ __TYPE__: "FieldContent";
693
+ };
549
694
  }) | ({
550
695
  __TYPE__: "DocumentLink";
551
696
  } & {
552
697
  id: string;
698
+ } & {
699
+ title?: {
700
+ type: "Text";
701
+ value: string;
702
+ __TYPE__: "FieldContent";
703
+ };
553
704
  }) | ({
554
705
  __TYPE__: "ExternalLink";
555
706
  } & {
@@ -560,6 +711,11 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
560
711
  preview?: {
561
712
  title?: string;
562
713
  } | null | undefined;
714
+ title?: {
715
+ type: "Text";
716
+ value: string;
717
+ __TYPE__: "FieldContent";
718
+ };
563
719
  });
564
720
  } | {
565
721
  __TYPE__: "StructuredTextContent";
@@ -600,6 +756,11 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
600
756
  kind: string;
601
757
  } & {
602
758
  date?: string | null | undefined;
759
+ title?: {
760
+ type: "Text";
761
+ value: string;
762
+ __TYPE__: "FieldContent";
763
+ };
603
764
  }) | ({
604
765
  id: string;
605
766
  url: string;
@@ -608,14 +769,30 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
608
769
  size: string;
609
770
  } & {
610
771
  date?: string | null | undefined;
772
+ title?: {
773
+ type: "Text";
774
+ value: string;
775
+ __TYPE__: "FieldContent";
776
+ };
611
777
  } & {
612
778
  __TYPE__: "FileLink";
613
779
  } & {
614
780
  size?: string;
781
+ title?: {
782
+ type: "Text";
783
+ value: string;
784
+ __TYPE__: "FieldContent";
785
+ };
615
786
  }) | ({
616
787
  __TYPE__: "DocumentLink";
617
788
  } & {
618
789
  id: string;
790
+ } & {
791
+ title?: {
792
+ type: "Text";
793
+ value: string;
794
+ __TYPE__: "FieldContent";
795
+ };
619
796
  }) | ({
620
797
  __TYPE__: "ExternalLink";
621
798
  } & {
@@ -626,6 +803,11 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
626
803
  preview?: {
627
804
  title?: string;
628
805
  } | null | undefined;
806
+ title?: {
807
+ type: "Text";
808
+ value: string;
809
+ __TYPE__: "FieldContent";
810
+ };
629
811
  }) | null | undefined;
630
812
  };
631
813
  } & {
@@ -673,6 +855,11 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
673
855
  kind: string;
674
856
  } & {
675
857
  date?: string | null | undefined;
858
+ title?: {
859
+ type: "Text";
860
+ value: string;
861
+ __TYPE__: "FieldContent";
862
+ };
676
863
  }) | ({
677
864
  id: string;
678
865
  url: string;
@@ -681,14 +868,30 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
681
868
  size: string;
682
869
  } & {
683
870
  date?: string | null | undefined;
871
+ title?: {
872
+ type: "Text";
873
+ value: string;
874
+ __TYPE__: "FieldContent";
875
+ };
684
876
  } & {
685
877
  __TYPE__: "FileLink";
686
878
  } & {
687
879
  size?: string;
880
+ title?: {
881
+ type: "Text";
882
+ value: string;
883
+ __TYPE__: "FieldContent";
884
+ };
688
885
  }) | ({
689
886
  __TYPE__: "DocumentLink";
690
887
  } & {
691
888
  id: string;
889
+ } & {
890
+ title?: {
891
+ type: "Text";
892
+ value: string;
893
+ __TYPE__: "FieldContent";
894
+ };
692
895
  }) | ({
693
896
  __TYPE__: "ExternalLink";
694
897
  } & {
@@ -699,6 +902,11 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
699
902
  preview?: {
700
903
  title?: string;
701
904
  } | null | undefined;
905
+ title?: {
906
+ type: "Text";
907
+ value: string;
908
+ __TYPE__: "FieldContent";
909
+ };
702
910
  });
703
911
  start: number;
704
912
  end: number;
@@ -848,6 +1056,11 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
848
1056
  kind: string;
849
1057
  } & {
850
1058
  date?: string | null | undefined;
1059
+ title?: {
1060
+ type: "Text";
1061
+ value: string;
1062
+ __TYPE__: "FieldContent";
1063
+ };
851
1064
  }) | ({
852
1065
  id: string;
853
1066
  url: string;
@@ -856,14 +1069,30 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
856
1069
  size: string;
857
1070
  } & {
858
1071
  date?: string | null | undefined;
1072
+ title?: {
1073
+ type: "Text";
1074
+ value: string;
1075
+ __TYPE__: "FieldContent";
1076
+ };
859
1077
  } & {
860
1078
  __TYPE__: "FileLink";
861
1079
  } & {
862
1080
  size?: string;
1081
+ title?: {
1082
+ type: "Text";
1083
+ value: string;
1084
+ __TYPE__: "FieldContent";
1085
+ };
863
1086
  }) | ({
864
1087
  __TYPE__: "DocumentLink";
865
1088
  } & {
866
1089
  id: string;
1090
+ } & {
1091
+ title?: {
1092
+ type: "Text";
1093
+ value: string;
1094
+ __TYPE__: "FieldContent";
1095
+ };
867
1096
  }) | ({
868
1097
  __TYPE__: "ExternalLink";
869
1098
  } & {
@@ -874,6 +1103,11 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
874
1103
  preview?: {
875
1104
  title?: string;
876
1105
  } | null | undefined;
1106
+ title?: {
1107
+ type: "Text";
1108
+ value: string;
1109
+ __TYPE__: "FieldContent";
1110
+ };
877
1111
  });
878
1112
  }> | import("fp-ts/lib/Either").Right<{
879
1113
  __TYPE__: "StructuredTextContent";
@@ -914,6 +1148,11 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
914
1148
  kind: string;
915
1149
  } & {
916
1150
  date?: string | null | undefined;
1151
+ title?: {
1152
+ type: "Text";
1153
+ value: string;
1154
+ __TYPE__: "FieldContent";
1155
+ };
917
1156
  }) | ({
918
1157
  id: string;
919
1158
  url: string;
@@ -922,14 +1161,30 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
922
1161
  size: string;
923
1162
  } & {
924
1163
  date?: string | null | undefined;
1164
+ title?: {
1165
+ type: "Text";
1166
+ value: string;
1167
+ __TYPE__: "FieldContent";
1168
+ };
925
1169
  } & {
926
1170
  __TYPE__: "FileLink";
927
1171
  } & {
928
1172
  size?: string;
1173
+ title?: {
1174
+ type: "Text";
1175
+ value: string;
1176
+ __TYPE__: "FieldContent";
1177
+ };
929
1178
  }) | ({
930
1179
  __TYPE__: "DocumentLink";
931
1180
  } & {
932
1181
  id: string;
1182
+ } & {
1183
+ title?: {
1184
+ type: "Text";
1185
+ value: string;
1186
+ __TYPE__: "FieldContent";
1187
+ };
933
1188
  }) | ({
934
1189
  __TYPE__: "ExternalLink";
935
1190
  } & {
@@ -940,6 +1195,11 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
940
1195
  preview?: {
941
1196
  title?: string;
942
1197
  } | null | undefined;
1198
+ title?: {
1199
+ type: "Text";
1200
+ value: string;
1201
+ __TYPE__: "FieldContent";
1202
+ };
943
1203
  }) | null | undefined;
944
1204
  };
945
1205
  } & {
@@ -987,6 +1247,11 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
987
1247
  kind: string;
988
1248
  } & {
989
1249
  date?: string | null | undefined;
1250
+ title?: {
1251
+ type: "Text";
1252
+ value: string;
1253
+ __TYPE__: "FieldContent";
1254
+ };
990
1255
  }) | ({
991
1256
  id: string;
992
1257
  url: string;
@@ -995,14 +1260,30 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
995
1260
  size: string;
996
1261
  } & {
997
1262
  date?: string | null | undefined;
1263
+ title?: {
1264
+ type: "Text";
1265
+ value: string;
1266
+ __TYPE__: "FieldContent";
1267
+ };
998
1268
  } & {
999
1269
  __TYPE__: "FileLink";
1000
1270
  } & {
1001
1271
  size?: string;
1272
+ title?: {
1273
+ type: "Text";
1274
+ value: string;
1275
+ __TYPE__: "FieldContent";
1276
+ };
1002
1277
  }) | ({
1003
1278
  __TYPE__: "DocumentLink";
1004
1279
  } & {
1005
1280
  id: string;
1281
+ } & {
1282
+ title?: {
1283
+ type: "Text";
1284
+ value: string;
1285
+ __TYPE__: "FieldContent";
1286
+ };
1006
1287
  }) | ({
1007
1288
  __TYPE__: "ExternalLink";
1008
1289
  } & {
@@ -1013,6 +1294,11 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1013
1294
  preview?: {
1014
1295
  title?: string;
1015
1296
  } | null | undefined;
1297
+ title?: {
1298
+ type: "Text";
1299
+ value: string;
1300
+ __TYPE__: "FieldContent";
1301
+ };
1016
1302
  });
1017
1303
  start: number;
1018
1304
  end: number;