@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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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 Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
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;
@@ -541,6 +671,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
541
671
  kind: t.StringC;
542
672
  }>, t.PartialC<{
543
673
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
674
+ title: t.ExactC<t.TypeC<{
675
+ type: t.LiteralC<"Text">;
676
+ value: t.Type<string, string, unknown>;
677
+ __TYPE__: t.LiteralC<"FieldContent">;
678
+ }>>;
544
679
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
545
680
  id: t.StringC;
546
681
  url: t.StringC;
@@ -549,15 +684,31 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
549
684
  size: t.StringC;
550
685
  }>, t.PartialC<{
551
686
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
687
+ title: t.ExactC<t.TypeC<{
688
+ type: t.LiteralC<"Text">;
689
+ value: t.Type<string, string, unknown>;
690
+ __TYPE__: t.LiteralC<"FieldContent">;
691
+ }>>;
552
692
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
553
693
  __TYPE__: t.LiteralC<"FileLink">;
554
694
  }>, t.PartialC<{
555
695
  size: t.StringC;
696
+ title: t.ExactC<t.TypeC<{
697
+ type: t.LiteralC<"Text">;
698
+ value: t.Type<string, string, unknown>;
699
+ __TYPE__: t.LiteralC<"FieldContent">;
700
+ }>>;
556
701
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
557
702
  __TYPE__: t.LiteralC<"DocumentLink">;
558
- }>>, t.ExactC<t.TypeC<{
703
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
559
704
  id: t.Type<string, string, unknown>;
560
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
705
+ }>, t.PartialC<{
706
+ title: t.ExactC<t.TypeC<{
707
+ type: t.LiteralC<"Text">;
708
+ value: t.Type<string, string, unknown>;
709
+ __TYPE__: t.LiteralC<"FieldContent">;
710
+ }>>;
711
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
561
712
  __TYPE__: t.LiteralC<"ExternalLink">;
562
713
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
563
714
  url: t.StringC;
@@ -569,6 +720,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
569
720
  }, {
570
721
  title?: string;
571
722
  }, unknown>, t.NullC, t.UndefinedC]>;
723
+ title: t.ExactC<t.TypeC<{
724
+ type: t.LiteralC<"Text">;
725
+ value: t.Type<string, string, unknown>;
726
+ __TYPE__: t.LiteralC<"FieldContent">;
727
+ }>>;
572
728
  }>]>>]>]>;
573
729
  }>>, t.ExactC<t.TypeC<{
574
730
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -609,6 +765,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
609
765
  kind: string;
610
766
  } & {
611
767
  date?: string | null | undefined;
768
+ title?: {
769
+ type: "Text";
770
+ value: string;
771
+ __TYPE__: "FieldContent";
772
+ };
612
773
  }) | ({
613
774
  id: string;
614
775
  url: string;
@@ -617,14 +778,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
617
778
  size: string;
618
779
  } & {
619
780
  date?: string | null | undefined;
781
+ title?: {
782
+ type: "Text";
783
+ value: string;
784
+ __TYPE__: "FieldContent";
785
+ };
620
786
  } & {
621
787
  __TYPE__: "FileLink";
622
788
  } & {
623
789
  size?: string;
790
+ title?: {
791
+ type: "Text";
792
+ value: string;
793
+ __TYPE__: "FieldContent";
794
+ };
624
795
  }) | ({
625
796
  __TYPE__: "DocumentLink";
626
797
  } & {
627
798
  id: string;
799
+ } & {
800
+ title?: {
801
+ type: "Text";
802
+ value: string;
803
+ __TYPE__: "FieldContent";
804
+ };
628
805
  }) | ({
629
806
  __TYPE__: "ExternalLink";
630
807
  } & {
@@ -635,6 +812,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
635
812
  preview?: {
636
813
  title?: string;
637
814
  } | null | undefined;
815
+ title?: {
816
+ type: "Text";
817
+ value: string;
818
+ __TYPE__: "FieldContent";
819
+ };
638
820
  }), ({
639
821
  __TYPE__: "ImageLink";
640
822
  } & {
@@ -647,6 +829,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
647
829
  kind: string;
648
830
  } & {
649
831
  date?: string | null | undefined;
832
+ title?: {
833
+ type: "Text";
834
+ value: string;
835
+ __TYPE__: "FieldContent";
836
+ };
650
837
  }) | ({
651
838
  id: string;
652
839
  url: string;
@@ -655,14 +842,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
655
842
  size: string;
656
843
  } & {
657
844
  date?: string | null | undefined;
845
+ title?: {
846
+ type: "Text";
847
+ value: string;
848
+ __TYPE__: "FieldContent";
849
+ };
658
850
  } & {
659
851
  __TYPE__: "FileLink";
660
852
  } & {
661
853
  size?: string;
854
+ title?: {
855
+ type: "Text";
856
+ value: string;
857
+ __TYPE__: "FieldContent";
858
+ };
662
859
  }) | ({
663
860
  __TYPE__: "DocumentLink";
664
861
  } & {
665
862
  id: string;
863
+ } & {
864
+ title?: {
865
+ type: "Text";
866
+ value: string;
867
+ __TYPE__: "FieldContent";
868
+ };
666
869
  }) | ({
667
870
  __TYPE__: "ExternalLink";
668
871
  } & {
@@ -673,6 +876,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
673
876
  preview?: {
674
877
  title?: string;
675
878
  } | null | undefined;
879
+ title?: {
880
+ type: "Text";
881
+ value: string;
882
+ __TYPE__: "FieldContent";
883
+ };
676
884
  }), unknown>, t.NullC, t.UndefinedC]>;
677
885
  }>]>;
678
886
  }>, t.PartialC<{
@@ -720,6 +928,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
720
928
  kind: string;
721
929
  } & {
722
930
  date?: string | null | undefined;
931
+ title?: {
932
+ type: "Text";
933
+ value: string;
934
+ __TYPE__: "FieldContent";
935
+ };
723
936
  }) | ({
724
937
  id: string;
725
938
  url: string;
@@ -728,14 +941,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
728
941
  size: string;
729
942
  } & {
730
943
  date?: string | null | undefined;
944
+ title?: {
945
+ type: "Text";
946
+ value: string;
947
+ __TYPE__: "FieldContent";
948
+ };
731
949
  } & {
732
950
  __TYPE__: "FileLink";
733
951
  } & {
734
952
  size?: string;
953
+ title?: {
954
+ type: "Text";
955
+ value: string;
956
+ __TYPE__: "FieldContent";
957
+ };
735
958
  }) | ({
736
959
  __TYPE__: "DocumentLink";
737
960
  } & {
738
961
  id: string;
962
+ } & {
963
+ title?: {
964
+ type: "Text";
965
+ value: string;
966
+ __TYPE__: "FieldContent";
967
+ };
739
968
  }) | ({
740
969
  __TYPE__: "ExternalLink";
741
970
  } & {
@@ -746,6 +975,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
746
975
  preview?: {
747
976
  title?: string;
748
977
  } | null | undefined;
978
+ title?: {
979
+ type: "Text";
980
+ value: string;
981
+ __TYPE__: "FieldContent";
982
+ };
749
983
  });
750
984
  start: number;
751
985
  end: number;
@@ -772,6 +1006,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
772
1006
  kind: string;
773
1007
  } & {
774
1008
  date?: string | null | undefined;
1009
+ title?: {
1010
+ type: "Text";
1011
+ value: string;
1012
+ __TYPE__: "FieldContent";
1013
+ };
775
1014
  }) | ({
776
1015
  id: string;
777
1016
  url: string;
@@ -780,14 +1019,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
780
1019
  size: string;
781
1020
  } & {
782
1021
  date?: string | null | undefined;
1022
+ title?: {
1023
+ type: "Text";
1024
+ value: string;
1025
+ __TYPE__: "FieldContent";
1026
+ };
783
1027
  } & {
784
1028
  __TYPE__: "FileLink";
785
1029
  } & {
786
1030
  size?: string;
1031
+ title?: {
1032
+ type: "Text";
1033
+ value: string;
1034
+ __TYPE__: "FieldContent";
1035
+ };
787
1036
  }) | ({
788
1037
  __TYPE__: "DocumentLink";
789
1038
  } & {
790
1039
  id: string;
1040
+ } & {
1041
+ title?: {
1042
+ type: "Text";
1043
+ value: string;
1044
+ __TYPE__: "FieldContent";
1045
+ };
791
1046
  }) | ({
792
1047
  __TYPE__: "ExternalLink";
793
1048
  } & {
@@ -798,6 +1053,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
798
1053
  preview?: {
799
1054
  title?: string;
800
1055
  } | null | undefined;
1056
+ title?: {
1057
+ type: "Text";
1058
+ value: string;
1059
+ __TYPE__: "FieldContent";
1060
+ };
801
1061
  });
802
1062
  start: number;
803
1063
  end: number;
@@ -946,6 +1206,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
946
1206
  kind: t.StringC;
947
1207
  }>, t.PartialC<{
948
1208
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1209
+ title: t.ExactC<t.TypeC<{
1210
+ type: t.LiteralC<"Text">;
1211
+ value: t.Type<string, string, unknown>;
1212
+ __TYPE__: t.LiteralC<"FieldContent">;
1213
+ }>>;
949
1214
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
950
1215
  id: t.StringC;
951
1216
  url: t.StringC;
@@ -954,15 +1219,31 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
954
1219
  size: t.StringC;
955
1220
  }>, t.PartialC<{
956
1221
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1222
+ title: t.ExactC<t.TypeC<{
1223
+ type: t.LiteralC<"Text">;
1224
+ value: t.Type<string, string, unknown>;
1225
+ __TYPE__: t.LiteralC<"FieldContent">;
1226
+ }>>;
957
1227
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
958
1228
  __TYPE__: t.LiteralC<"FileLink">;
959
1229
  }>, t.PartialC<{
960
1230
  size: t.StringC;
1231
+ title: t.ExactC<t.TypeC<{
1232
+ type: t.LiteralC<"Text">;
1233
+ value: t.Type<string, string, unknown>;
1234
+ __TYPE__: t.LiteralC<"FieldContent">;
1235
+ }>>;
961
1236
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
962
1237
  __TYPE__: t.LiteralC<"DocumentLink">;
963
- }>>, t.ExactC<t.TypeC<{
1238
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
964
1239
  id: t.Type<string, string, unknown>;
965
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1240
+ }>, t.PartialC<{
1241
+ title: t.ExactC<t.TypeC<{
1242
+ type: t.LiteralC<"Text">;
1243
+ value: t.Type<string, string, unknown>;
1244
+ __TYPE__: t.LiteralC<"FieldContent">;
1245
+ }>>;
1246
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
966
1247
  __TYPE__: t.LiteralC<"ExternalLink">;
967
1248
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
968
1249
  url: t.StringC;
@@ -974,6 +1255,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
974
1255
  }, {
975
1256
  title?: string;
976
1257
  }, unknown>, t.NullC, t.UndefinedC]>;
1258
+ title: t.ExactC<t.TypeC<{
1259
+ type: t.LiteralC<"Text">;
1260
+ value: t.Type<string, string, unknown>;
1261
+ __TYPE__: t.LiteralC<"FieldContent">;
1262
+ }>>;
977
1263
  }>]>>]>]>;
978
1264
  }>>, t.ExactC<t.TypeC<{
979
1265
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1014,6 +1300,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1014
1300
  kind: string;
1015
1301
  } & {
1016
1302
  date?: string | null | undefined;
1303
+ title?: {
1304
+ type: "Text";
1305
+ value: string;
1306
+ __TYPE__: "FieldContent";
1307
+ };
1017
1308
  }) | ({
1018
1309
  id: string;
1019
1310
  url: string;
@@ -1022,14 +1313,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1022
1313
  size: string;
1023
1314
  } & {
1024
1315
  date?: string | null | undefined;
1316
+ title?: {
1317
+ type: "Text";
1318
+ value: string;
1319
+ __TYPE__: "FieldContent";
1320
+ };
1025
1321
  } & {
1026
1322
  __TYPE__: "FileLink";
1027
1323
  } & {
1028
1324
  size?: string;
1325
+ title?: {
1326
+ type: "Text";
1327
+ value: string;
1328
+ __TYPE__: "FieldContent";
1329
+ };
1029
1330
  }) | ({
1030
1331
  __TYPE__: "DocumentLink";
1031
1332
  } & {
1032
1333
  id: string;
1334
+ } & {
1335
+ title?: {
1336
+ type: "Text";
1337
+ value: string;
1338
+ __TYPE__: "FieldContent";
1339
+ };
1033
1340
  }) | ({
1034
1341
  __TYPE__: "ExternalLink";
1035
1342
  } & {
@@ -1040,6 +1347,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1040
1347
  preview?: {
1041
1348
  title?: string;
1042
1349
  } | null | undefined;
1350
+ title?: {
1351
+ type: "Text";
1352
+ value: string;
1353
+ __TYPE__: "FieldContent";
1354
+ };
1043
1355
  }), ({
1044
1356
  __TYPE__: "ImageLink";
1045
1357
  } & {
@@ -1052,6 +1364,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1052
1364
  kind: string;
1053
1365
  } & {
1054
1366
  date?: string | null | undefined;
1367
+ title?: {
1368
+ type: "Text";
1369
+ value: string;
1370
+ __TYPE__: "FieldContent";
1371
+ };
1055
1372
  }) | ({
1056
1373
  id: string;
1057
1374
  url: string;
@@ -1060,14 +1377,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1060
1377
  size: string;
1061
1378
  } & {
1062
1379
  date?: string | null | undefined;
1380
+ title?: {
1381
+ type: "Text";
1382
+ value: string;
1383
+ __TYPE__: "FieldContent";
1384
+ };
1063
1385
  } & {
1064
1386
  __TYPE__: "FileLink";
1065
1387
  } & {
1066
1388
  size?: string;
1389
+ title?: {
1390
+ type: "Text";
1391
+ value: string;
1392
+ __TYPE__: "FieldContent";
1393
+ };
1067
1394
  }) | ({
1068
1395
  __TYPE__: "DocumentLink";
1069
1396
  } & {
1070
1397
  id: string;
1398
+ } & {
1399
+ title?: {
1400
+ type: "Text";
1401
+ value: string;
1402
+ __TYPE__: "FieldContent";
1403
+ };
1071
1404
  }) | ({
1072
1405
  __TYPE__: "ExternalLink";
1073
1406
  } & {
@@ -1078,6 +1411,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1078
1411
  preview?: {
1079
1412
  title?: string;
1080
1413
  } | null | undefined;
1414
+ title?: {
1415
+ type: "Text";
1416
+ value: string;
1417
+ __TYPE__: "FieldContent";
1418
+ };
1081
1419
  }), unknown>, t.NullC, t.UndefinedC]>;
1082
1420
  }>]>;
1083
1421
  }>, t.PartialC<{
@@ -1125,6 +1463,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1125
1463
  kind: string;
1126
1464
  } & {
1127
1465
  date?: string | null | undefined;
1466
+ title?: {
1467
+ type: "Text";
1468
+ value: string;
1469
+ __TYPE__: "FieldContent";
1470
+ };
1128
1471
  }) | ({
1129
1472
  id: string;
1130
1473
  url: string;
@@ -1133,14 +1476,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1133
1476
  size: string;
1134
1477
  } & {
1135
1478
  date?: string | null | undefined;
1479
+ title?: {
1480
+ type: "Text";
1481
+ value: string;
1482
+ __TYPE__: "FieldContent";
1483
+ };
1136
1484
  } & {
1137
1485
  __TYPE__: "FileLink";
1138
1486
  } & {
1139
1487
  size?: string;
1488
+ title?: {
1489
+ type: "Text";
1490
+ value: string;
1491
+ __TYPE__: "FieldContent";
1492
+ };
1140
1493
  }) | ({
1141
1494
  __TYPE__: "DocumentLink";
1142
1495
  } & {
1143
1496
  id: string;
1497
+ } & {
1498
+ title?: {
1499
+ type: "Text";
1500
+ value: string;
1501
+ __TYPE__: "FieldContent";
1502
+ };
1144
1503
  }) | ({
1145
1504
  __TYPE__: "ExternalLink";
1146
1505
  } & {
@@ -1151,6 +1510,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1151
1510
  preview?: {
1152
1511
  title?: string;
1153
1512
  } | null | undefined;
1513
+ title?: {
1514
+ type: "Text";
1515
+ value: string;
1516
+ __TYPE__: "FieldContent";
1517
+ };
1154
1518
  });
1155
1519
  start: number;
1156
1520
  end: number;
@@ -1177,6 +1541,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1177
1541
  kind: string;
1178
1542
  } & {
1179
1543
  date?: string | null | undefined;
1544
+ title?: {
1545
+ type: "Text";
1546
+ value: string;
1547
+ __TYPE__: "FieldContent";
1548
+ };
1180
1549
  }) | ({
1181
1550
  id: string;
1182
1551
  url: string;
@@ -1185,14 +1554,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1185
1554
  size: string;
1186
1555
  } & {
1187
1556
  date?: string | null | undefined;
1557
+ title?: {
1558
+ type: "Text";
1559
+ value: string;
1560
+ __TYPE__: "FieldContent";
1561
+ };
1188
1562
  } & {
1189
1563
  __TYPE__: "FileLink";
1190
1564
  } & {
1191
1565
  size?: string;
1566
+ title?: {
1567
+ type: "Text";
1568
+ value: string;
1569
+ __TYPE__: "FieldContent";
1570
+ };
1192
1571
  }) | ({
1193
1572
  __TYPE__: "DocumentLink";
1194
1573
  } & {
1195
1574
  id: string;
1575
+ } & {
1576
+ title?: {
1577
+ type: "Text";
1578
+ value: string;
1579
+ __TYPE__: "FieldContent";
1580
+ };
1196
1581
  }) | ({
1197
1582
  __TYPE__: "ExternalLink";
1198
1583
  } & {
@@ -1203,6 +1588,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1203
1588
  preview?: {
1204
1589
  title?: string;
1205
1590
  } | null | undefined;
1591
+ title?: {
1592
+ type: "Text";
1593
+ value: string;
1594
+ __TYPE__: "FieldContent";
1595
+ };
1206
1596
  });
1207
1597
  start: number;
1208
1598
  end: number;
@@ -1353,6 +1743,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1353
1743
  kind: t.StringC;
1354
1744
  }>, t.PartialC<{
1355
1745
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1746
+ title: t.ExactC<t.TypeC<{
1747
+ type: t.LiteralC<"Text">;
1748
+ value: t.Type<string, string, unknown>;
1749
+ __TYPE__: t.LiteralC<"FieldContent">;
1750
+ }>>;
1356
1751
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1357
1752
  id: t.StringC;
1358
1753
  url: t.StringC;
@@ -1361,15 +1756,31 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1361
1756
  size: t.StringC;
1362
1757
  }>, t.PartialC<{
1363
1758
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1759
+ title: t.ExactC<t.TypeC<{
1760
+ type: t.LiteralC<"Text">;
1761
+ value: t.Type<string, string, unknown>;
1762
+ __TYPE__: t.LiteralC<"FieldContent">;
1763
+ }>>;
1364
1764
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1365
1765
  __TYPE__: t.LiteralC<"FileLink">;
1366
1766
  }>, t.PartialC<{
1367
1767
  size: t.StringC;
1768
+ title: t.ExactC<t.TypeC<{
1769
+ type: t.LiteralC<"Text">;
1770
+ value: t.Type<string, string, unknown>;
1771
+ __TYPE__: t.LiteralC<"FieldContent">;
1772
+ }>>;
1368
1773
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1369
1774
  __TYPE__: t.LiteralC<"DocumentLink">;
1370
- }>>, t.ExactC<t.TypeC<{
1775
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1371
1776
  id: t.Type<string, string, unknown>;
1372
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1777
+ }>, t.PartialC<{
1778
+ title: t.ExactC<t.TypeC<{
1779
+ type: t.LiteralC<"Text">;
1780
+ value: t.Type<string, string, unknown>;
1781
+ __TYPE__: t.LiteralC<"FieldContent">;
1782
+ }>>;
1783
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1373
1784
  __TYPE__: t.LiteralC<"ExternalLink">;
1374
1785
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1375
1786
  url: t.StringC;
@@ -1381,6 +1792,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1381
1792
  }, {
1382
1793
  title?: string;
1383
1794
  }, unknown>, t.NullC, t.UndefinedC]>;
1795
+ title: t.ExactC<t.TypeC<{
1796
+ type: t.LiteralC<"Text">;
1797
+ value: t.Type<string, string, unknown>;
1798
+ __TYPE__: t.LiteralC<"FieldContent">;
1799
+ }>>;
1384
1800
  }>]>>]>]>;
1385
1801
  }>>, t.ExactC<t.TypeC<{
1386
1802
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1421,6 +1837,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1421
1837
  kind: string;
1422
1838
  } & {
1423
1839
  date?: string | null | undefined;
1840
+ title?: {
1841
+ type: "Text";
1842
+ value: string;
1843
+ __TYPE__: "FieldContent";
1844
+ };
1424
1845
  }) | ({
1425
1846
  id: string;
1426
1847
  url: string;
@@ -1429,14 +1850,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1429
1850
  size: string;
1430
1851
  } & {
1431
1852
  date?: string | null | undefined;
1853
+ title?: {
1854
+ type: "Text";
1855
+ value: string;
1856
+ __TYPE__: "FieldContent";
1857
+ };
1432
1858
  } & {
1433
1859
  __TYPE__: "FileLink";
1434
1860
  } & {
1435
1861
  size?: string;
1862
+ title?: {
1863
+ type: "Text";
1864
+ value: string;
1865
+ __TYPE__: "FieldContent";
1866
+ };
1436
1867
  }) | ({
1437
1868
  __TYPE__: "DocumentLink";
1438
1869
  } & {
1439
1870
  id: string;
1871
+ } & {
1872
+ title?: {
1873
+ type: "Text";
1874
+ value: string;
1875
+ __TYPE__: "FieldContent";
1876
+ };
1440
1877
  }) | ({
1441
1878
  __TYPE__: "ExternalLink";
1442
1879
  } & {
@@ -1447,6 +1884,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1447
1884
  preview?: {
1448
1885
  title?: string;
1449
1886
  } | null | undefined;
1887
+ title?: {
1888
+ type: "Text";
1889
+ value: string;
1890
+ __TYPE__: "FieldContent";
1891
+ };
1450
1892
  }), ({
1451
1893
  __TYPE__: "ImageLink";
1452
1894
  } & {
@@ -1459,6 +1901,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1459
1901
  kind: string;
1460
1902
  } & {
1461
1903
  date?: string | null | undefined;
1904
+ title?: {
1905
+ type: "Text";
1906
+ value: string;
1907
+ __TYPE__: "FieldContent";
1908
+ };
1462
1909
  }) | ({
1463
1910
  id: string;
1464
1911
  url: string;
@@ -1467,14 +1914,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1467
1914
  size: string;
1468
1915
  } & {
1469
1916
  date?: string | null | undefined;
1917
+ title?: {
1918
+ type: "Text";
1919
+ value: string;
1920
+ __TYPE__: "FieldContent";
1921
+ };
1470
1922
  } & {
1471
1923
  __TYPE__: "FileLink";
1472
1924
  } & {
1473
1925
  size?: string;
1926
+ title?: {
1927
+ type: "Text";
1928
+ value: string;
1929
+ __TYPE__: "FieldContent";
1930
+ };
1474
1931
  }) | ({
1475
1932
  __TYPE__: "DocumentLink";
1476
1933
  } & {
1477
1934
  id: string;
1935
+ } & {
1936
+ title?: {
1937
+ type: "Text";
1938
+ value: string;
1939
+ __TYPE__: "FieldContent";
1940
+ };
1478
1941
  }) | ({
1479
1942
  __TYPE__: "ExternalLink";
1480
1943
  } & {
@@ -1485,6 +1948,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1485
1948
  preview?: {
1486
1949
  title?: string;
1487
1950
  } | null | undefined;
1951
+ title?: {
1952
+ type: "Text";
1953
+ value: string;
1954
+ __TYPE__: "FieldContent";
1955
+ };
1488
1956
  }), unknown>, t.NullC, t.UndefinedC]>;
1489
1957
  }>]>;
1490
1958
  }>, t.PartialC<{
@@ -1532,6 +2000,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1532
2000
  kind: string;
1533
2001
  } & {
1534
2002
  date?: string | null | undefined;
2003
+ title?: {
2004
+ type: "Text";
2005
+ value: string;
2006
+ __TYPE__: "FieldContent";
2007
+ };
1535
2008
  }) | ({
1536
2009
  id: string;
1537
2010
  url: string;
@@ -1540,14 +2013,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1540
2013
  size: string;
1541
2014
  } & {
1542
2015
  date?: string | null | undefined;
2016
+ title?: {
2017
+ type: "Text";
2018
+ value: string;
2019
+ __TYPE__: "FieldContent";
2020
+ };
1543
2021
  } & {
1544
2022
  __TYPE__: "FileLink";
1545
2023
  } & {
1546
2024
  size?: string;
2025
+ title?: {
2026
+ type: "Text";
2027
+ value: string;
2028
+ __TYPE__: "FieldContent";
2029
+ };
1547
2030
  }) | ({
1548
2031
  __TYPE__: "DocumentLink";
1549
2032
  } & {
1550
2033
  id: string;
2034
+ } & {
2035
+ title?: {
2036
+ type: "Text";
2037
+ value: string;
2038
+ __TYPE__: "FieldContent";
2039
+ };
1551
2040
  }) | ({
1552
2041
  __TYPE__: "ExternalLink";
1553
2042
  } & {
@@ -1558,6 +2047,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1558
2047
  preview?: {
1559
2048
  title?: string;
1560
2049
  } | null | undefined;
2050
+ title?: {
2051
+ type: "Text";
2052
+ value: string;
2053
+ __TYPE__: "FieldContent";
2054
+ };
1561
2055
  });
1562
2056
  start: number;
1563
2057
  end: number;
@@ -1584,6 +2078,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1584
2078
  kind: string;
1585
2079
  } & {
1586
2080
  date?: string | null | undefined;
2081
+ title?: {
2082
+ type: "Text";
2083
+ value: string;
2084
+ __TYPE__: "FieldContent";
2085
+ };
1587
2086
  }) | ({
1588
2087
  id: string;
1589
2088
  url: string;
@@ -1592,14 +2091,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1592
2091
  size: string;
1593
2092
  } & {
1594
2093
  date?: string | null | undefined;
2094
+ title?: {
2095
+ type: "Text";
2096
+ value: string;
2097
+ __TYPE__: "FieldContent";
2098
+ };
1595
2099
  } & {
1596
2100
  __TYPE__: "FileLink";
1597
2101
  } & {
1598
2102
  size?: string;
2103
+ title?: {
2104
+ type: "Text";
2105
+ value: string;
2106
+ __TYPE__: "FieldContent";
2107
+ };
1599
2108
  }) | ({
1600
2109
  __TYPE__: "DocumentLink";
1601
2110
  } & {
1602
2111
  id: string;
2112
+ } & {
2113
+ title?: {
2114
+ type: "Text";
2115
+ value: string;
2116
+ __TYPE__: "FieldContent";
2117
+ };
1603
2118
  }) | ({
1604
2119
  __TYPE__: "ExternalLink";
1605
2120
  } & {
@@ -1610,6 +2125,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1610
2125
  preview?: {
1611
2126
  title?: string;
1612
2127
  } | null | undefined;
2128
+ title?: {
2129
+ type: "Text";
2130
+ value: string;
2131
+ __TYPE__: "FieldContent";
2132
+ };
1613
2133
  });
1614
2134
  start: number;
1615
2135
  end: number;
@@ -1758,6 +2278,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1758
2278
  kind: t.StringC;
1759
2279
  }>, t.PartialC<{
1760
2280
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2281
+ title: t.ExactC<t.TypeC<{
2282
+ type: t.LiteralC<"Text">;
2283
+ value: t.Type<string, string, unknown>;
2284
+ __TYPE__: t.LiteralC<"FieldContent">;
2285
+ }>>;
1761
2286
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1762
2287
  id: t.StringC;
1763
2288
  url: t.StringC;
@@ -1766,15 +2291,31 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1766
2291
  size: t.StringC;
1767
2292
  }>, t.PartialC<{
1768
2293
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2294
+ title: t.ExactC<t.TypeC<{
2295
+ type: t.LiteralC<"Text">;
2296
+ value: t.Type<string, string, unknown>;
2297
+ __TYPE__: t.LiteralC<"FieldContent">;
2298
+ }>>;
1769
2299
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1770
2300
  __TYPE__: t.LiteralC<"FileLink">;
1771
2301
  }>, t.PartialC<{
1772
2302
  size: t.StringC;
2303
+ title: t.ExactC<t.TypeC<{
2304
+ type: t.LiteralC<"Text">;
2305
+ value: t.Type<string, string, unknown>;
2306
+ __TYPE__: t.LiteralC<"FieldContent">;
2307
+ }>>;
1773
2308
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1774
2309
  __TYPE__: t.LiteralC<"DocumentLink">;
1775
- }>>, t.ExactC<t.TypeC<{
2310
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1776
2311
  id: t.Type<string, string, unknown>;
1777
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2312
+ }>, t.PartialC<{
2313
+ title: t.ExactC<t.TypeC<{
2314
+ type: t.LiteralC<"Text">;
2315
+ value: t.Type<string, string, unknown>;
2316
+ __TYPE__: t.LiteralC<"FieldContent">;
2317
+ }>>;
2318
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1778
2319
  __TYPE__: t.LiteralC<"ExternalLink">;
1779
2320
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1780
2321
  url: t.StringC;
@@ -1786,6 +2327,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1786
2327
  }, {
1787
2328
  title?: string;
1788
2329
  }, unknown>, t.NullC, t.UndefinedC]>;
2330
+ title: t.ExactC<t.TypeC<{
2331
+ type: t.LiteralC<"Text">;
2332
+ value: t.Type<string, string, unknown>;
2333
+ __TYPE__: t.LiteralC<"FieldContent">;
2334
+ }>>;
1789
2335
  }>]>>]>]>;
1790
2336
  }>>, t.ExactC<t.TypeC<{
1791
2337
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1826,6 +2372,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1826
2372
  kind: string;
1827
2373
  } & {
1828
2374
  date?: string | null | undefined;
2375
+ title?: {
2376
+ type: "Text";
2377
+ value: string;
2378
+ __TYPE__: "FieldContent";
2379
+ };
1829
2380
  }) | ({
1830
2381
  id: string;
1831
2382
  url: string;
@@ -1834,14 +2385,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1834
2385
  size: string;
1835
2386
  } & {
1836
2387
  date?: string | null | undefined;
2388
+ title?: {
2389
+ type: "Text";
2390
+ value: string;
2391
+ __TYPE__: "FieldContent";
2392
+ };
1837
2393
  } & {
1838
2394
  __TYPE__: "FileLink";
1839
2395
  } & {
1840
2396
  size?: string;
2397
+ title?: {
2398
+ type: "Text";
2399
+ value: string;
2400
+ __TYPE__: "FieldContent";
2401
+ };
1841
2402
  }) | ({
1842
2403
  __TYPE__: "DocumentLink";
1843
2404
  } & {
1844
2405
  id: string;
2406
+ } & {
2407
+ title?: {
2408
+ type: "Text";
2409
+ value: string;
2410
+ __TYPE__: "FieldContent";
2411
+ };
1845
2412
  }) | ({
1846
2413
  __TYPE__: "ExternalLink";
1847
2414
  } & {
@@ -1852,6 +2419,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1852
2419
  preview?: {
1853
2420
  title?: string;
1854
2421
  } | null | undefined;
2422
+ title?: {
2423
+ type: "Text";
2424
+ value: string;
2425
+ __TYPE__: "FieldContent";
2426
+ };
1855
2427
  }), ({
1856
2428
  __TYPE__: "ImageLink";
1857
2429
  } & {
@@ -1864,6 +2436,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1864
2436
  kind: string;
1865
2437
  } & {
1866
2438
  date?: string | null | undefined;
2439
+ title?: {
2440
+ type: "Text";
2441
+ value: string;
2442
+ __TYPE__: "FieldContent";
2443
+ };
1867
2444
  }) | ({
1868
2445
  id: string;
1869
2446
  url: string;
@@ -1872,14 +2449,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1872
2449
  size: string;
1873
2450
  } & {
1874
2451
  date?: string | null | undefined;
2452
+ title?: {
2453
+ type: "Text";
2454
+ value: string;
2455
+ __TYPE__: "FieldContent";
2456
+ };
1875
2457
  } & {
1876
2458
  __TYPE__: "FileLink";
1877
2459
  } & {
1878
2460
  size?: string;
2461
+ title?: {
2462
+ type: "Text";
2463
+ value: string;
2464
+ __TYPE__: "FieldContent";
2465
+ };
1879
2466
  }) | ({
1880
2467
  __TYPE__: "DocumentLink";
1881
2468
  } & {
1882
2469
  id: string;
2470
+ } & {
2471
+ title?: {
2472
+ type: "Text";
2473
+ value: string;
2474
+ __TYPE__: "FieldContent";
2475
+ };
1883
2476
  }) | ({
1884
2477
  __TYPE__: "ExternalLink";
1885
2478
  } & {
@@ -1890,6 +2483,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1890
2483
  preview?: {
1891
2484
  title?: string;
1892
2485
  } | null | undefined;
2486
+ title?: {
2487
+ type: "Text";
2488
+ value: string;
2489
+ __TYPE__: "FieldContent";
2490
+ };
1893
2491
  }), unknown>, t.NullC, t.UndefinedC]>;
1894
2492
  }>]>;
1895
2493
  }>, t.PartialC<{
@@ -1937,6 +2535,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1937
2535
  kind: string;
1938
2536
  } & {
1939
2537
  date?: string | null | undefined;
2538
+ title?: {
2539
+ type: "Text";
2540
+ value: string;
2541
+ __TYPE__: "FieldContent";
2542
+ };
1940
2543
  }) | ({
1941
2544
  id: string;
1942
2545
  url: string;
@@ -1945,14 +2548,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1945
2548
  size: string;
1946
2549
  } & {
1947
2550
  date?: string | null | undefined;
2551
+ title?: {
2552
+ type: "Text";
2553
+ value: string;
2554
+ __TYPE__: "FieldContent";
2555
+ };
1948
2556
  } & {
1949
2557
  __TYPE__: "FileLink";
1950
2558
  } & {
1951
2559
  size?: string;
2560
+ title?: {
2561
+ type: "Text";
2562
+ value: string;
2563
+ __TYPE__: "FieldContent";
2564
+ };
1952
2565
  }) | ({
1953
2566
  __TYPE__: "DocumentLink";
1954
2567
  } & {
1955
2568
  id: string;
2569
+ } & {
2570
+ title?: {
2571
+ type: "Text";
2572
+ value: string;
2573
+ __TYPE__: "FieldContent";
2574
+ };
1956
2575
  }) | ({
1957
2576
  __TYPE__: "ExternalLink";
1958
2577
  } & {
@@ -1963,6 +2582,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1963
2582
  preview?: {
1964
2583
  title?: string;
1965
2584
  } | null | undefined;
2585
+ title?: {
2586
+ type: "Text";
2587
+ value: string;
2588
+ __TYPE__: "FieldContent";
2589
+ };
1966
2590
  });
1967
2591
  start: number;
1968
2592
  end: number;
@@ -1989,6 +2613,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1989
2613
  kind: string;
1990
2614
  } & {
1991
2615
  date?: string | null | undefined;
2616
+ title?: {
2617
+ type: "Text";
2618
+ value: string;
2619
+ __TYPE__: "FieldContent";
2620
+ };
1992
2621
  }) | ({
1993
2622
  id: string;
1994
2623
  url: string;
@@ -1997,14 +2626,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1997
2626
  size: string;
1998
2627
  } & {
1999
2628
  date?: string | null | undefined;
2629
+ title?: {
2630
+ type: "Text";
2631
+ value: string;
2632
+ __TYPE__: "FieldContent";
2633
+ };
2000
2634
  } & {
2001
2635
  __TYPE__: "FileLink";
2002
2636
  } & {
2003
2637
  size?: string;
2638
+ title?: {
2639
+ type: "Text";
2640
+ value: string;
2641
+ __TYPE__: "FieldContent";
2642
+ };
2004
2643
  }) | ({
2005
2644
  __TYPE__: "DocumentLink";
2006
2645
  } & {
2007
2646
  id: string;
2647
+ } & {
2648
+ title?: {
2649
+ type: "Text";
2650
+ value: string;
2651
+ __TYPE__: "FieldContent";
2652
+ };
2008
2653
  }) | ({
2009
2654
  __TYPE__: "ExternalLink";
2010
2655
  } & {
@@ -2015,6 +2660,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2015
2660
  preview?: {
2016
2661
  title?: string;
2017
2662
  } | null | undefined;
2663
+ title?: {
2664
+ type: "Text";
2665
+ value: string;
2666
+ __TYPE__: "FieldContent";
2667
+ };
2018
2668
  });
2019
2669
  start: number;
2020
2670
  end: number;
@@ -2162,6 +2812,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2162
2812
  kind: t.StringC;
2163
2813
  }>, t.PartialC<{
2164
2814
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2815
+ title: t.ExactC<t.TypeC<{
2816
+ type: t.LiteralC<"Text">;
2817
+ value: t.Type<string, string, unknown>;
2818
+ __TYPE__: t.LiteralC<"FieldContent">;
2819
+ }>>;
2165
2820
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2166
2821
  id: t.StringC;
2167
2822
  url: t.StringC;
@@ -2170,15 +2825,31 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2170
2825
  size: t.StringC;
2171
2826
  }>, t.PartialC<{
2172
2827
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2828
+ title: t.ExactC<t.TypeC<{
2829
+ type: t.LiteralC<"Text">;
2830
+ value: t.Type<string, string, unknown>;
2831
+ __TYPE__: t.LiteralC<"FieldContent">;
2832
+ }>>;
2173
2833
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2174
2834
  __TYPE__: t.LiteralC<"FileLink">;
2175
2835
  }>, t.PartialC<{
2176
2836
  size: t.StringC;
2837
+ title: t.ExactC<t.TypeC<{
2838
+ type: t.LiteralC<"Text">;
2839
+ value: t.Type<string, string, unknown>;
2840
+ __TYPE__: t.LiteralC<"FieldContent">;
2841
+ }>>;
2177
2842
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2178
2843
  __TYPE__: t.LiteralC<"DocumentLink">;
2179
- }>>, t.ExactC<t.TypeC<{
2844
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2180
2845
  id: t.Type<string, string, unknown>;
2181
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2846
+ }>, t.PartialC<{
2847
+ title: t.ExactC<t.TypeC<{
2848
+ type: t.LiteralC<"Text">;
2849
+ value: t.Type<string, string, unknown>;
2850
+ __TYPE__: t.LiteralC<"FieldContent">;
2851
+ }>>;
2852
+ }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2182
2853
  __TYPE__: t.LiteralC<"ExternalLink">;
2183
2854
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2184
2855
  url: t.StringC;
@@ -2190,6 +2861,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2190
2861
  }, {
2191
2862
  title?: string;
2192
2863
  }, unknown>, t.NullC, t.UndefinedC]>;
2864
+ title: t.ExactC<t.TypeC<{
2865
+ type: t.LiteralC<"Text">;
2866
+ value: t.Type<string, string, unknown>;
2867
+ __TYPE__: t.LiteralC<"FieldContent">;
2868
+ }>>;
2193
2869
  }>]>>]>]>;
2194
2870
  }>>, t.ExactC<t.TypeC<{
2195
2871
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2230,6 +2906,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2230
2906
  kind: string;
2231
2907
  } & {
2232
2908
  date?: string | null | undefined;
2909
+ title?: {
2910
+ type: "Text";
2911
+ value: string;
2912
+ __TYPE__: "FieldContent";
2913
+ };
2233
2914
  }) | ({
2234
2915
  id: string;
2235
2916
  url: string;
@@ -2238,14 +2919,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2238
2919
  size: string;
2239
2920
  } & {
2240
2921
  date?: string | null | undefined;
2922
+ title?: {
2923
+ type: "Text";
2924
+ value: string;
2925
+ __TYPE__: "FieldContent";
2926
+ };
2241
2927
  } & {
2242
2928
  __TYPE__: "FileLink";
2243
2929
  } & {
2244
2930
  size?: string;
2931
+ title?: {
2932
+ type: "Text";
2933
+ value: string;
2934
+ __TYPE__: "FieldContent";
2935
+ };
2245
2936
  }) | ({
2246
2937
  __TYPE__: "DocumentLink";
2247
2938
  } & {
2248
2939
  id: string;
2940
+ } & {
2941
+ title?: {
2942
+ type: "Text";
2943
+ value: string;
2944
+ __TYPE__: "FieldContent";
2945
+ };
2249
2946
  }) | ({
2250
2947
  __TYPE__: "ExternalLink";
2251
2948
  } & {
@@ -2256,6 +2953,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2256
2953
  preview?: {
2257
2954
  title?: string;
2258
2955
  } | null | undefined;
2956
+ title?: {
2957
+ type: "Text";
2958
+ value: string;
2959
+ __TYPE__: "FieldContent";
2960
+ };
2259
2961
  }), ({
2260
2962
  __TYPE__: "ImageLink";
2261
2963
  } & {
@@ -2268,6 +2970,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2268
2970
  kind: string;
2269
2971
  } & {
2270
2972
  date?: string | null | undefined;
2973
+ title?: {
2974
+ type: "Text";
2975
+ value: string;
2976
+ __TYPE__: "FieldContent";
2977
+ };
2271
2978
  }) | ({
2272
2979
  id: string;
2273
2980
  url: string;
@@ -2276,14 +2983,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2276
2983
  size: string;
2277
2984
  } & {
2278
2985
  date?: string | null | undefined;
2986
+ title?: {
2987
+ type: "Text";
2988
+ value: string;
2989
+ __TYPE__: "FieldContent";
2990
+ };
2279
2991
  } & {
2280
2992
  __TYPE__: "FileLink";
2281
2993
  } & {
2282
2994
  size?: string;
2995
+ title?: {
2996
+ type: "Text";
2997
+ value: string;
2998
+ __TYPE__: "FieldContent";
2999
+ };
2283
3000
  }) | ({
2284
3001
  __TYPE__: "DocumentLink";
2285
3002
  } & {
2286
3003
  id: string;
3004
+ } & {
3005
+ title?: {
3006
+ type: "Text";
3007
+ value: string;
3008
+ __TYPE__: "FieldContent";
3009
+ };
2287
3010
  }) | ({
2288
3011
  __TYPE__: "ExternalLink";
2289
3012
  } & {
@@ -2294,6 +3017,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2294
3017
  preview?: {
2295
3018
  title?: string;
2296
3019
  } | null | undefined;
3020
+ title?: {
3021
+ type: "Text";
3022
+ value: string;
3023
+ __TYPE__: "FieldContent";
3024
+ };
2297
3025
  }), unknown>, t.NullC, t.UndefinedC]>;
2298
3026
  }>]>;
2299
3027
  }>, t.PartialC<{
@@ -2341,6 +3069,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2341
3069
  kind: string;
2342
3070
  } & {
2343
3071
  date?: string | null | undefined;
3072
+ title?: {
3073
+ type: "Text";
3074
+ value: string;
3075
+ __TYPE__: "FieldContent";
3076
+ };
2344
3077
  }) | ({
2345
3078
  id: string;
2346
3079
  url: string;
@@ -2349,14 +3082,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2349
3082
  size: string;
2350
3083
  } & {
2351
3084
  date?: string | null | undefined;
3085
+ title?: {
3086
+ type: "Text";
3087
+ value: string;
3088
+ __TYPE__: "FieldContent";
3089
+ };
2352
3090
  } & {
2353
3091
  __TYPE__: "FileLink";
2354
3092
  } & {
2355
3093
  size?: string;
3094
+ title?: {
3095
+ type: "Text";
3096
+ value: string;
3097
+ __TYPE__: "FieldContent";
3098
+ };
2356
3099
  }) | ({
2357
3100
  __TYPE__: "DocumentLink";
2358
3101
  } & {
2359
3102
  id: string;
3103
+ } & {
3104
+ title?: {
3105
+ type: "Text";
3106
+ value: string;
3107
+ __TYPE__: "FieldContent";
3108
+ };
2360
3109
  }) | ({
2361
3110
  __TYPE__: "ExternalLink";
2362
3111
  } & {
@@ -2367,6 +3116,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2367
3116
  preview?: {
2368
3117
  title?: string;
2369
3118
  } | null | undefined;
3119
+ title?: {
3120
+ type: "Text";
3121
+ value: string;
3122
+ __TYPE__: "FieldContent";
3123
+ };
2370
3124
  });
2371
3125
  start: number;
2372
3126
  end: number;
@@ -2393,6 +3147,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2393
3147
  kind: string;
2394
3148
  } & {
2395
3149
  date?: string | null | undefined;
3150
+ title?: {
3151
+ type: "Text";
3152
+ value: string;
3153
+ __TYPE__: "FieldContent";
3154
+ };
2396
3155
  }) | ({
2397
3156
  id: string;
2398
3157
  url: string;
@@ -2401,14 +3160,30 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2401
3160
  size: string;
2402
3161
  } & {
2403
3162
  date?: string | null | undefined;
3163
+ title?: {
3164
+ type: "Text";
3165
+ value: string;
3166
+ __TYPE__: "FieldContent";
3167
+ };
2404
3168
  } & {
2405
3169
  __TYPE__: "FileLink";
2406
3170
  } & {
2407
3171
  size?: string;
3172
+ title?: {
3173
+ type: "Text";
3174
+ value: string;
3175
+ __TYPE__: "FieldContent";
3176
+ };
2408
3177
  }) | ({
2409
3178
  __TYPE__: "DocumentLink";
2410
3179
  } & {
2411
3180
  id: string;
3181
+ } & {
3182
+ title?: {
3183
+ type: "Text";
3184
+ value: string;
3185
+ __TYPE__: "FieldContent";
3186
+ };
2412
3187
  }) | ({
2413
3188
  __TYPE__: "ExternalLink";
2414
3189
  } & {
@@ -2419,6 +3194,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2419
3194
  preview?: {
2420
3195
  title?: string;
2421
3196
  } | null | undefined;
3197
+ title?: {
3198
+ type: "Text";
3199
+ value: string;
3200
+ __TYPE__: "FieldContent";
3201
+ };
2422
3202
  });
2423
3203
  start: number;
2424
3204
  end: number;
@@ -2460,7 +3240,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
2460
3240
  }): Document | undefined;
2461
3241
  declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
2462
3242
  export declare const DocumentLegacy: {
2463
- _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"> | undefined) => t.Type<{
3243
+ _codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Text" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"> | undefined) => t.Type<{
2464
3244
  [x: string]: {
2465
3245
  type: string;
2466
3246
  __TYPE__: "EmptyContent";
@@ -2587,6 +3367,11 @@ export declare const DocumentLegacy: {
2587
3367
  kind: string;
2588
3368
  } & {
2589
3369
  date?: string | null | undefined;
3370
+ title?: {
3371
+ type: "Text";
3372
+ value: string;
3373
+ __TYPE__: "FieldContent";
3374
+ };
2590
3375
  }) | ({
2591
3376
  id: string;
2592
3377
  url: string;
@@ -2595,14 +3380,30 @@ export declare const DocumentLegacy: {
2595
3380
  size: string;
2596
3381
  } & {
2597
3382
  date?: string | null | undefined;
3383
+ title?: {
3384
+ type: "Text";
3385
+ value: string;
3386
+ __TYPE__: "FieldContent";
3387
+ };
2598
3388
  } & {
2599
3389
  __TYPE__: "FileLink";
2600
3390
  } & {
2601
3391
  size?: string;
3392
+ title?: {
3393
+ type: "Text";
3394
+ value: string;
3395
+ __TYPE__: "FieldContent";
3396
+ };
2602
3397
  }) | ({
2603
3398
  __TYPE__: "DocumentLink";
2604
3399
  } & {
2605
3400
  id: string;
3401
+ } & {
3402
+ title?: {
3403
+ type: "Text";
3404
+ value: string;
3405
+ __TYPE__: "FieldContent";
3406
+ };
2606
3407
  }) | ({
2607
3408
  __TYPE__: "ExternalLink";
2608
3409
  } & {
@@ -2613,6 +3414,11 @@ export declare const DocumentLegacy: {
2613
3414
  preview?: {
2614
3415
  title?: string;
2615
3416
  } | null | undefined;
3417
+ title?: {
3418
+ type: "Text";
3419
+ value: string;
3420
+ __TYPE__: "FieldContent";
3421
+ };
2616
3422
  });
2617
3423
  } | {
2618
3424
  __TYPE__: "StructuredTextContent";
@@ -2653,6 +3459,11 @@ export declare const DocumentLegacy: {
2653
3459
  kind: string;
2654
3460
  } & {
2655
3461
  date?: string | null | undefined;
3462
+ title?: {
3463
+ type: "Text";
3464
+ value: string;
3465
+ __TYPE__: "FieldContent";
3466
+ };
2656
3467
  }) | ({
2657
3468
  id: string;
2658
3469
  url: string;
@@ -2661,14 +3472,30 @@ export declare const DocumentLegacy: {
2661
3472
  size: string;
2662
3473
  } & {
2663
3474
  date?: string | null | undefined;
3475
+ title?: {
3476
+ type: "Text";
3477
+ value: string;
3478
+ __TYPE__: "FieldContent";
3479
+ };
2664
3480
  } & {
2665
3481
  __TYPE__: "FileLink";
2666
3482
  } & {
2667
3483
  size?: string;
3484
+ title?: {
3485
+ type: "Text";
3486
+ value: string;
3487
+ __TYPE__: "FieldContent";
3488
+ };
2668
3489
  }) | ({
2669
3490
  __TYPE__: "DocumentLink";
2670
3491
  } & {
2671
3492
  id: string;
3493
+ } & {
3494
+ title?: {
3495
+ type: "Text";
3496
+ value: string;
3497
+ __TYPE__: "FieldContent";
3498
+ };
2672
3499
  }) | ({
2673
3500
  __TYPE__: "ExternalLink";
2674
3501
  } & {
@@ -2679,6 +3506,11 @@ export declare const DocumentLegacy: {
2679
3506
  preview?: {
2680
3507
  title?: string;
2681
3508
  } | null | undefined;
3509
+ title?: {
3510
+ type: "Text";
3511
+ value: string;
3512
+ __TYPE__: "FieldContent";
3513
+ };
2682
3514
  }) | null | undefined;
2683
3515
  };
2684
3516
  } & {
@@ -2726,6 +3558,11 @@ export declare const DocumentLegacy: {
2726
3558
  kind: string;
2727
3559
  } & {
2728
3560
  date?: string | null | undefined;
3561
+ title?: {
3562
+ type: "Text";
3563
+ value: string;
3564
+ __TYPE__: "FieldContent";
3565
+ };
2729
3566
  }) | ({
2730
3567
  id: string;
2731
3568
  url: string;
@@ -2734,14 +3571,30 @@ export declare const DocumentLegacy: {
2734
3571
  size: string;
2735
3572
  } & {
2736
3573
  date?: string | null | undefined;
3574
+ title?: {
3575
+ type: "Text";
3576
+ value: string;
3577
+ __TYPE__: "FieldContent";
3578
+ };
2737
3579
  } & {
2738
3580
  __TYPE__: "FileLink";
2739
3581
  } & {
2740
3582
  size?: string;
3583
+ title?: {
3584
+ type: "Text";
3585
+ value: string;
3586
+ __TYPE__: "FieldContent";
3587
+ };
2741
3588
  }) | ({
2742
3589
  __TYPE__: "DocumentLink";
2743
3590
  } & {
2744
3591
  id: string;
3592
+ } & {
3593
+ title?: {
3594
+ type: "Text";
3595
+ value: string;
3596
+ __TYPE__: "FieldContent";
3597
+ };
2745
3598
  }) | ({
2746
3599
  __TYPE__: "ExternalLink";
2747
3600
  } & {
@@ -2752,6 +3605,11 @@ export declare const DocumentLegacy: {
2752
3605
  preview?: {
2753
3606
  title?: string;
2754
3607
  } | null | undefined;
3608
+ title?: {
3609
+ type: "Text";
3610
+ value: string;
3611
+ __TYPE__: "FieldContent";
3612
+ };
2755
3613
  });
2756
3614
  start: number;
2757
3615
  end: number;
@@ -2908,6 +3766,11 @@ export declare const DocumentLegacy: {
2908
3766
  kind: string;
2909
3767
  } & {
2910
3768
  date?: string | null | undefined;
3769
+ title?: {
3770
+ type: "Text";
3771
+ value: string;
3772
+ __TYPE__: "FieldContent";
3773
+ };
2911
3774
  }) | ({
2912
3775
  id: string;
2913
3776
  url: string;
@@ -2916,14 +3779,30 @@ export declare const DocumentLegacy: {
2916
3779
  size: string;
2917
3780
  } & {
2918
3781
  date?: string | null | undefined;
3782
+ title?: {
3783
+ type: "Text";
3784
+ value: string;
3785
+ __TYPE__: "FieldContent";
3786
+ };
2919
3787
  } & {
2920
3788
  __TYPE__: "FileLink";
2921
3789
  } & {
2922
3790
  size?: string;
3791
+ title?: {
3792
+ type: "Text";
3793
+ value: string;
3794
+ __TYPE__: "FieldContent";
3795
+ };
2923
3796
  }) | ({
2924
3797
  __TYPE__: "DocumentLink";
2925
3798
  } & {
2926
3799
  id: string;
3800
+ } & {
3801
+ title?: {
3802
+ type: "Text";
3803
+ value: string;
3804
+ __TYPE__: "FieldContent";
3805
+ };
2927
3806
  }) | ({
2928
3807
  __TYPE__: "ExternalLink";
2929
3808
  } & {
@@ -2934,6 +3813,11 @@ export declare const DocumentLegacy: {
2934
3813
  preview?: {
2935
3814
  title?: string;
2936
3815
  } | null | undefined;
3816
+ title?: {
3817
+ type: "Text";
3818
+ value: string;
3819
+ __TYPE__: "FieldContent";
3820
+ };
2937
3821
  });
2938
3822
  } | {
2939
3823
  __TYPE__: "StructuredTextContent";
@@ -2974,6 +3858,11 @@ export declare const DocumentLegacy: {
2974
3858
  kind: string;
2975
3859
  } & {
2976
3860
  date?: string | null | undefined;
3861
+ title?: {
3862
+ type: "Text";
3863
+ value: string;
3864
+ __TYPE__: "FieldContent";
3865
+ };
2977
3866
  }) | ({
2978
3867
  id: string;
2979
3868
  url: string;
@@ -2982,14 +3871,30 @@ export declare const DocumentLegacy: {
2982
3871
  size: string;
2983
3872
  } & {
2984
3873
  date?: string | null | undefined;
3874
+ title?: {
3875
+ type: "Text";
3876
+ value: string;
3877
+ __TYPE__: "FieldContent";
3878
+ };
2985
3879
  } & {
2986
3880
  __TYPE__: "FileLink";
2987
3881
  } & {
2988
3882
  size?: string;
3883
+ title?: {
3884
+ type: "Text";
3885
+ value: string;
3886
+ __TYPE__: "FieldContent";
3887
+ };
2989
3888
  }) | ({
2990
3889
  __TYPE__: "DocumentLink";
2991
3890
  } & {
2992
3891
  id: string;
3892
+ } & {
3893
+ title?: {
3894
+ type: "Text";
3895
+ value: string;
3896
+ __TYPE__: "FieldContent";
3897
+ };
2993
3898
  }) | ({
2994
3899
  __TYPE__: "ExternalLink";
2995
3900
  } & {
@@ -3000,6 +3905,11 @@ export declare const DocumentLegacy: {
3000
3905
  preview?: {
3001
3906
  title?: string;
3002
3907
  } | null | undefined;
3908
+ title?: {
3909
+ type: "Text";
3910
+ value: string;
3911
+ __TYPE__: "FieldContent";
3912
+ };
3003
3913
  }) | null | undefined;
3004
3914
  };
3005
3915
  } & {
@@ -3047,6 +3957,11 @@ export declare const DocumentLegacy: {
3047
3957
  kind: string;
3048
3958
  } & {
3049
3959
  date?: string | null | undefined;
3960
+ title?: {
3961
+ type: "Text";
3962
+ value: string;
3963
+ __TYPE__: "FieldContent";
3964
+ };
3050
3965
  }) | ({
3051
3966
  id: string;
3052
3967
  url: string;
@@ -3055,14 +3970,30 @@ export declare const DocumentLegacy: {
3055
3970
  size: string;
3056
3971
  } & {
3057
3972
  date?: string | null | undefined;
3973
+ title?: {
3974
+ type: "Text";
3975
+ value: string;
3976
+ __TYPE__: "FieldContent";
3977
+ };
3058
3978
  } & {
3059
3979
  __TYPE__: "FileLink";
3060
3980
  } & {
3061
3981
  size?: string;
3982
+ title?: {
3983
+ type: "Text";
3984
+ value: string;
3985
+ __TYPE__: "FieldContent";
3986
+ };
3062
3987
  }) | ({
3063
3988
  __TYPE__: "DocumentLink";
3064
3989
  } & {
3065
3990
  id: string;
3991
+ } & {
3992
+ title?: {
3993
+ type: "Text";
3994
+ value: string;
3995
+ __TYPE__: "FieldContent";
3996
+ };
3066
3997
  }) | ({
3067
3998
  __TYPE__: "ExternalLink";
3068
3999
  } & {
@@ -3073,6 +4004,11 @@ export declare const DocumentLegacy: {
3073
4004
  preview?: {
3074
4005
  title?: string;
3075
4006
  } | null | undefined;
4007
+ title?: {
4008
+ type: "Text";
4009
+ value: string;
4010
+ __TYPE__: "FieldContent";
4011
+ };
3076
4012
  });
3077
4013
  start: number;
3078
4014
  end: number;
@@ -3223,6 +4159,11 @@ export declare const DocumentLegacy: {
3223
4159
  kind: string;
3224
4160
  } & {
3225
4161
  date?: string | null | undefined;
4162
+ title?: {
4163
+ type: "Text";
4164
+ value: string;
4165
+ __TYPE__: "FieldContent";
4166
+ };
3226
4167
  }) | ({
3227
4168
  id: string;
3228
4169
  url: string;
@@ -3231,14 +4172,30 @@ export declare const DocumentLegacy: {
3231
4172
  size: string;
3232
4173
  } & {
3233
4174
  date?: string | null | undefined;
4175
+ title?: {
4176
+ type: "Text";
4177
+ value: string;
4178
+ __TYPE__: "FieldContent";
4179
+ };
3234
4180
  } & {
3235
4181
  __TYPE__: "FileLink";
3236
4182
  } & {
3237
4183
  size?: string;
4184
+ title?: {
4185
+ type: "Text";
4186
+ value: string;
4187
+ __TYPE__: "FieldContent";
4188
+ };
3238
4189
  }) | ({
3239
4190
  __TYPE__: "DocumentLink";
3240
4191
  } & {
3241
4192
  id: string;
4193
+ } & {
4194
+ title?: {
4195
+ type: "Text";
4196
+ value: string;
4197
+ __TYPE__: "FieldContent";
4198
+ };
3242
4199
  }) | ({
3243
4200
  __TYPE__: "ExternalLink";
3244
4201
  } & {
@@ -3249,6 +4206,11 @@ export declare const DocumentLegacy: {
3249
4206
  preview?: {
3250
4207
  title?: string;
3251
4208
  } | null | undefined;
4209
+ title?: {
4210
+ type: "Text";
4211
+ value: string;
4212
+ __TYPE__: "FieldContent";
4213
+ };
3252
4214
  });
3253
4215
  } | {
3254
4216
  __TYPE__: "StructuredTextContent";
@@ -3289,6 +4251,11 @@ export declare const DocumentLegacy: {
3289
4251
  kind: string;
3290
4252
  } & {
3291
4253
  date?: string | null | undefined;
4254
+ title?: {
4255
+ type: "Text";
4256
+ value: string;
4257
+ __TYPE__: "FieldContent";
4258
+ };
3292
4259
  }) | ({
3293
4260
  id: string;
3294
4261
  url: string;
@@ -3297,14 +4264,30 @@ export declare const DocumentLegacy: {
3297
4264
  size: string;
3298
4265
  } & {
3299
4266
  date?: string | null | undefined;
4267
+ title?: {
4268
+ type: "Text";
4269
+ value: string;
4270
+ __TYPE__: "FieldContent";
4271
+ };
3300
4272
  } & {
3301
4273
  __TYPE__: "FileLink";
3302
4274
  } & {
3303
4275
  size?: string;
4276
+ title?: {
4277
+ type: "Text";
4278
+ value: string;
4279
+ __TYPE__: "FieldContent";
4280
+ };
3304
4281
  }) | ({
3305
4282
  __TYPE__: "DocumentLink";
3306
4283
  } & {
3307
4284
  id: string;
4285
+ } & {
4286
+ title?: {
4287
+ type: "Text";
4288
+ value: string;
4289
+ __TYPE__: "FieldContent";
4290
+ };
3308
4291
  }) | ({
3309
4292
  __TYPE__: "ExternalLink";
3310
4293
  } & {
@@ -3315,6 +4298,11 @@ export declare const DocumentLegacy: {
3315
4298
  preview?: {
3316
4299
  title?: string;
3317
4300
  } | null | undefined;
4301
+ title?: {
4302
+ type: "Text";
4303
+ value: string;
4304
+ __TYPE__: "FieldContent";
4305
+ };
3318
4306
  }) | null | undefined;
3319
4307
  };
3320
4308
  } & {
@@ -3362,6 +4350,11 @@ export declare const DocumentLegacy: {
3362
4350
  kind: string;
3363
4351
  } & {
3364
4352
  date?: string | null | undefined;
4353
+ title?: {
4354
+ type: "Text";
4355
+ value: string;
4356
+ __TYPE__: "FieldContent";
4357
+ };
3365
4358
  }) | ({
3366
4359
  id: string;
3367
4360
  url: string;
@@ -3370,14 +4363,30 @@ export declare const DocumentLegacy: {
3370
4363
  size: string;
3371
4364
  } & {
3372
4365
  date?: string | null | undefined;
4366
+ title?: {
4367
+ type: "Text";
4368
+ value: string;
4369
+ __TYPE__: "FieldContent";
4370
+ };
3373
4371
  } & {
3374
4372
  __TYPE__: "FileLink";
3375
4373
  } & {
3376
4374
  size?: string;
4375
+ title?: {
4376
+ type: "Text";
4377
+ value: string;
4378
+ __TYPE__: "FieldContent";
4379
+ };
3377
4380
  }) | ({
3378
4381
  __TYPE__: "DocumentLink";
3379
4382
  } & {
3380
4383
  id: string;
4384
+ } & {
4385
+ title?: {
4386
+ type: "Text";
4387
+ value: string;
4388
+ __TYPE__: "FieldContent";
4389
+ };
3381
4390
  }) | ({
3382
4391
  __TYPE__: "ExternalLink";
3383
4392
  } & {
@@ -3388,6 +4397,11 @@ export declare const DocumentLegacy: {
3388
4397
  preview?: {
3389
4398
  title?: string;
3390
4399
  } | null | undefined;
4400
+ title?: {
4401
+ type: "Text";
4402
+ value: string;
4403
+ __TYPE__: "FieldContent";
4404
+ };
3391
4405
  });
3392
4406
  start: number;
3393
4407
  end: number;
@@ -3539,6 +4553,11 @@ export declare const DocumentLegacy: {
3539
4553
  kind: string;
3540
4554
  } & {
3541
4555
  date?: string | null | undefined;
4556
+ title?: {
4557
+ type: "Text";
4558
+ value: string;
4559
+ __TYPE__: "FieldContent";
4560
+ };
3542
4561
  }) | ({
3543
4562
  id: string;
3544
4563
  url: string;
@@ -3547,14 +4566,30 @@ export declare const DocumentLegacy: {
3547
4566
  size: string;
3548
4567
  } & {
3549
4568
  date?: string | null | undefined;
4569
+ title?: {
4570
+ type: "Text";
4571
+ value: string;
4572
+ __TYPE__: "FieldContent";
4573
+ };
3550
4574
  } & {
3551
4575
  __TYPE__: "FileLink";
3552
4576
  } & {
3553
4577
  size?: string;
4578
+ title?: {
4579
+ type: "Text";
4580
+ value: string;
4581
+ __TYPE__: "FieldContent";
4582
+ };
3554
4583
  }) | ({
3555
4584
  __TYPE__: "DocumentLink";
3556
4585
  } & {
3557
4586
  id: string;
4587
+ } & {
4588
+ title?: {
4589
+ type: "Text";
4590
+ value: string;
4591
+ __TYPE__: "FieldContent";
4592
+ };
3558
4593
  }) | ({
3559
4594
  __TYPE__: "ExternalLink";
3560
4595
  } & {
@@ -3565,6 +4600,11 @@ export declare const DocumentLegacy: {
3565
4600
  preview?: {
3566
4601
  title?: string;
3567
4602
  } | null | undefined;
4603
+ title?: {
4604
+ type: "Text";
4605
+ value: string;
4606
+ __TYPE__: "FieldContent";
4607
+ };
3568
4608
  });
3569
4609
  } | {
3570
4610
  __TYPE__: "StructuredTextContent";
@@ -3605,6 +4645,11 @@ export declare const DocumentLegacy: {
3605
4645
  kind: string;
3606
4646
  } & {
3607
4647
  date?: string | null | undefined;
4648
+ title?: {
4649
+ type: "Text";
4650
+ value: string;
4651
+ __TYPE__: "FieldContent";
4652
+ };
3608
4653
  }) | ({
3609
4654
  id: string;
3610
4655
  url: string;
@@ -3613,14 +4658,30 @@ export declare const DocumentLegacy: {
3613
4658
  size: string;
3614
4659
  } & {
3615
4660
  date?: string | null | undefined;
4661
+ title?: {
4662
+ type: "Text";
4663
+ value: string;
4664
+ __TYPE__: "FieldContent";
4665
+ };
3616
4666
  } & {
3617
4667
  __TYPE__: "FileLink";
3618
4668
  } & {
3619
4669
  size?: string;
4670
+ title?: {
4671
+ type: "Text";
4672
+ value: string;
4673
+ __TYPE__: "FieldContent";
4674
+ };
3620
4675
  }) | ({
3621
4676
  __TYPE__: "DocumentLink";
3622
4677
  } & {
3623
4678
  id: string;
4679
+ } & {
4680
+ title?: {
4681
+ type: "Text";
4682
+ value: string;
4683
+ __TYPE__: "FieldContent";
4684
+ };
3624
4685
  }) | ({
3625
4686
  __TYPE__: "ExternalLink";
3626
4687
  } & {
@@ -3631,6 +4692,11 @@ export declare const DocumentLegacy: {
3631
4692
  preview?: {
3632
4693
  title?: string;
3633
4694
  } | null | undefined;
4695
+ title?: {
4696
+ type: "Text";
4697
+ value: string;
4698
+ __TYPE__: "FieldContent";
4699
+ };
3634
4700
  }) | null | undefined;
3635
4701
  };
3636
4702
  } & {
@@ -3678,6 +4744,11 @@ export declare const DocumentLegacy: {
3678
4744
  kind: string;
3679
4745
  } & {
3680
4746
  date?: string | null | undefined;
4747
+ title?: {
4748
+ type: "Text";
4749
+ value: string;
4750
+ __TYPE__: "FieldContent";
4751
+ };
3681
4752
  }) | ({
3682
4753
  id: string;
3683
4754
  url: string;
@@ -3686,14 +4757,30 @@ export declare const DocumentLegacy: {
3686
4757
  size: string;
3687
4758
  } & {
3688
4759
  date?: string | null | undefined;
4760
+ title?: {
4761
+ type: "Text";
4762
+ value: string;
4763
+ __TYPE__: "FieldContent";
4764
+ };
3689
4765
  } & {
3690
4766
  __TYPE__: "FileLink";
3691
4767
  } & {
3692
4768
  size?: string;
4769
+ title?: {
4770
+ type: "Text";
4771
+ value: string;
4772
+ __TYPE__: "FieldContent";
4773
+ };
3693
4774
  }) | ({
3694
4775
  __TYPE__: "DocumentLink";
3695
4776
  } & {
3696
4777
  id: string;
4778
+ } & {
4779
+ title?: {
4780
+ type: "Text";
4781
+ value: string;
4782
+ __TYPE__: "FieldContent";
4783
+ };
3697
4784
  }) | ({
3698
4785
  __TYPE__: "ExternalLink";
3699
4786
  } & {
@@ -3704,6 +4791,11 @@ export declare const DocumentLegacy: {
3704
4791
  preview?: {
3705
4792
  title?: string;
3706
4793
  } | null | undefined;
4794
+ title?: {
4795
+ type: "Text";
4796
+ value: string;
4797
+ __TYPE__: "FieldContent";
4798
+ };
3707
4799
  });
3708
4800
  start: number;
3709
4801
  end: number;
@@ -3857,6 +4949,11 @@ export declare const DocumentLegacy: {
3857
4949
  kind: string;
3858
4950
  } & {
3859
4951
  date?: string | null | undefined;
4952
+ title?: {
4953
+ type: "Text";
4954
+ value: string;
4955
+ __TYPE__: "FieldContent";
4956
+ };
3860
4957
  }) | ({
3861
4958
  id: string;
3862
4959
  url: string;
@@ -3865,14 +4962,30 @@ export declare const DocumentLegacy: {
3865
4962
  size: string;
3866
4963
  } & {
3867
4964
  date?: string | null | undefined;
4965
+ title?: {
4966
+ type: "Text";
4967
+ value: string;
4968
+ __TYPE__: "FieldContent";
4969
+ };
3868
4970
  } & {
3869
4971
  __TYPE__: "FileLink";
3870
4972
  } & {
3871
4973
  size?: string;
4974
+ title?: {
4975
+ type: "Text";
4976
+ value: string;
4977
+ __TYPE__: "FieldContent";
4978
+ };
3872
4979
  }) | ({
3873
4980
  __TYPE__: "DocumentLink";
3874
4981
  } & {
3875
4982
  id: string;
4983
+ } & {
4984
+ title?: {
4985
+ type: "Text";
4986
+ value: string;
4987
+ __TYPE__: "FieldContent";
4988
+ };
3876
4989
  }) | ({
3877
4990
  __TYPE__: "ExternalLink";
3878
4991
  } & {
@@ -3883,6 +4996,11 @@ export declare const DocumentLegacy: {
3883
4996
  preview?: {
3884
4997
  title?: string;
3885
4998
  } | null | undefined;
4999
+ title?: {
5000
+ type: "Text";
5001
+ value: string;
5002
+ __TYPE__: "FieldContent";
5003
+ };
3886
5004
  });
3887
5005
  } | {
3888
5006
  __TYPE__: "StructuredTextContent";
@@ -3923,6 +5041,11 @@ export declare const DocumentLegacy: {
3923
5041
  kind: string;
3924
5042
  } & {
3925
5043
  date?: string | null | undefined;
5044
+ title?: {
5045
+ type: "Text";
5046
+ value: string;
5047
+ __TYPE__: "FieldContent";
5048
+ };
3926
5049
  }) | ({
3927
5050
  id: string;
3928
5051
  url: string;
@@ -3931,14 +5054,30 @@ export declare const DocumentLegacy: {
3931
5054
  size: string;
3932
5055
  } & {
3933
5056
  date?: string | null | undefined;
5057
+ title?: {
5058
+ type: "Text";
5059
+ value: string;
5060
+ __TYPE__: "FieldContent";
5061
+ };
3934
5062
  } & {
3935
5063
  __TYPE__: "FileLink";
3936
5064
  } & {
3937
5065
  size?: string;
5066
+ title?: {
5067
+ type: "Text";
5068
+ value: string;
5069
+ __TYPE__: "FieldContent";
5070
+ };
3938
5071
  }) | ({
3939
5072
  __TYPE__: "DocumentLink";
3940
5073
  } & {
3941
5074
  id: string;
5075
+ } & {
5076
+ title?: {
5077
+ type: "Text";
5078
+ value: string;
5079
+ __TYPE__: "FieldContent";
5080
+ };
3942
5081
  }) | ({
3943
5082
  __TYPE__: "ExternalLink";
3944
5083
  } & {
@@ -3949,6 +5088,11 @@ export declare const DocumentLegacy: {
3949
5088
  preview?: {
3950
5089
  title?: string;
3951
5090
  } | null | undefined;
5091
+ title?: {
5092
+ type: "Text";
5093
+ value: string;
5094
+ __TYPE__: "FieldContent";
5095
+ };
3952
5096
  }) | null | undefined;
3953
5097
  };
3954
5098
  } & {
@@ -3996,6 +5140,11 @@ export declare const DocumentLegacy: {
3996
5140
  kind: string;
3997
5141
  } & {
3998
5142
  date?: string | null | undefined;
5143
+ title?: {
5144
+ type: "Text";
5145
+ value: string;
5146
+ __TYPE__: "FieldContent";
5147
+ };
3999
5148
  }) | ({
4000
5149
  id: string;
4001
5150
  url: string;
@@ -4004,14 +5153,30 @@ export declare const DocumentLegacy: {
4004
5153
  size: string;
4005
5154
  } & {
4006
5155
  date?: string | null | undefined;
5156
+ title?: {
5157
+ type: "Text";
5158
+ value: string;
5159
+ __TYPE__: "FieldContent";
5160
+ };
4007
5161
  } & {
4008
5162
  __TYPE__: "FileLink";
4009
5163
  } & {
4010
5164
  size?: string;
5165
+ title?: {
5166
+ type: "Text";
5167
+ value: string;
5168
+ __TYPE__: "FieldContent";
5169
+ };
4011
5170
  }) | ({
4012
5171
  __TYPE__: "DocumentLink";
4013
5172
  } & {
4014
5173
  id: string;
5174
+ } & {
5175
+ title?: {
5176
+ type: "Text";
5177
+ value: string;
5178
+ __TYPE__: "FieldContent";
5179
+ };
4015
5180
  }) | ({
4016
5181
  __TYPE__: "ExternalLink";
4017
5182
  } & {
@@ -4022,6 +5187,11 @@ export declare const DocumentLegacy: {
4022
5187
  preview?: {
4023
5188
  title?: string;
4024
5189
  } | null | undefined;
5190
+ title?: {
5191
+ type: "Text";
5192
+ value: string;
5193
+ __TYPE__: "FieldContent";
5194
+ };
4025
5195
  });
4026
5196
  start: number;
4027
5197
  end: number;
@@ -4173,6 +5343,11 @@ export declare const DocumentLegacy: {
4173
5343
  kind: string;
4174
5344
  } & {
4175
5345
  date?: string | null | undefined;
5346
+ title?: {
5347
+ type: "Text";
5348
+ value: string;
5349
+ __TYPE__: "FieldContent";
5350
+ };
4176
5351
  }) | ({
4177
5352
  id: string;
4178
5353
  url: string;
@@ -4181,14 +5356,30 @@ export declare const DocumentLegacy: {
4181
5356
  size: string;
4182
5357
  } & {
4183
5358
  date?: string | null | undefined;
5359
+ title?: {
5360
+ type: "Text";
5361
+ value: string;
5362
+ __TYPE__: "FieldContent";
5363
+ };
4184
5364
  } & {
4185
5365
  __TYPE__: "FileLink";
4186
5366
  } & {
4187
5367
  size?: string;
5368
+ title?: {
5369
+ type: "Text";
5370
+ value: string;
5371
+ __TYPE__: "FieldContent";
5372
+ };
4188
5373
  }) | ({
4189
5374
  __TYPE__: "DocumentLink";
4190
5375
  } & {
4191
5376
  id: string;
5377
+ } & {
5378
+ title?: {
5379
+ type: "Text";
5380
+ value: string;
5381
+ __TYPE__: "FieldContent";
5382
+ };
4192
5383
  }) | ({
4193
5384
  __TYPE__: "ExternalLink";
4194
5385
  } & {
@@ -4199,6 +5390,11 @@ export declare const DocumentLegacy: {
4199
5390
  preview?: {
4200
5391
  title?: string;
4201
5392
  } | null | undefined;
5393
+ title?: {
5394
+ type: "Text";
5395
+ value: string;
5396
+ __TYPE__: "FieldContent";
5397
+ };
4202
5398
  });
4203
5399
  } | {
4204
5400
  __TYPE__: "StructuredTextContent";
@@ -4239,6 +5435,11 @@ export declare const DocumentLegacy: {
4239
5435
  kind: string;
4240
5436
  } & {
4241
5437
  date?: string | null | undefined;
5438
+ title?: {
5439
+ type: "Text";
5440
+ value: string;
5441
+ __TYPE__: "FieldContent";
5442
+ };
4242
5443
  }) | ({
4243
5444
  id: string;
4244
5445
  url: string;
@@ -4247,14 +5448,30 @@ export declare const DocumentLegacy: {
4247
5448
  size: string;
4248
5449
  } & {
4249
5450
  date?: string | null | undefined;
5451
+ title?: {
5452
+ type: "Text";
5453
+ value: string;
5454
+ __TYPE__: "FieldContent";
5455
+ };
4250
5456
  } & {
4251
5457
  __TYPE__: "FileLink";
4252
5458
  } & {
4253
5459
  size?: string;
5460
+ title?: {
5461
+ type: "Text";
5462
+ value: string;
5463
+ __TYPE__: "FieldContent";
5464
+ };
4254
5465
  }) | ({
4255
5466
  __TYPE__: "DocumentLink";
4256
5467
  } & {
4257
5468
  id: string;
5469
+ } & {
5470
+ title?: {
5471
+ type: "Text";
5472
+ value: string;
5473
+ __TYPE__: "FieldContent";
5474
+ };
4258
5475
  }) | ({
4259
5476
  __TYPE__: "ExternalLink";
4260
5477
  } & {
@@ -4265,6 +5482,11 @@ export declare const DocumentLegacy: {
4265
5482
  preview?: {
4266
5483
  title?: string;
4267
5484
  } | null | undefined;
5485
+ title?: {
5486
+ type: "Text";
5487
+ value: string;
5488
+ __TYPE__: "FieldContent";
5489
+ };
4268
5490
  }) | null | undefined;
4269
5491
  };
4270
5492
  } & {
@@ -4312,6 +5534,11 @@ export declare const DocumentLegacy: {
4312
5534
  kind: string;
4313
5535
  } & {
4314
5536
  date?: string | null | undefined;
5537
+ title?: {
5538
+ type: "Text";
5539
+ value: string;
5540
+ __TYPE__: "FieldContent";
5541
+ };
4315
5542
  }) | ({
4316
5543
  id: string;
4317
5544
  url: string;
@@ -4320,14 +5547,30 @@ export declare const DocumentLegacy: {
4320
5547
  size: string;
4321
5548
  } & {
4322
5549
  date?: string | null | undefined;
5550
+ title?: {
5551
+ type: "Text";
5552
+ value: string;
5553
+ __TYPE__: "FieldContent";
5554
+ };
4323
5555
  } & {
4324
5556
  __TYPE__: "FileLink";
4325
5557
  } & {
4326
5558
  size?: string;
5559
+ title?: {
5560
+ type: "Text";
5561
+ value: string;
5562
+ __TYPE__: "FieldContent";
5563
+ };
4327
5564
  }) | ({
4328
5565
  __TYPE__: "DocumentLink";
4329
5566
  } & {
4330
5567
  id: string;
5568
+ } & {
5569
+ title?: {
5570
+ type: "Text";
5571
+ value: string;
5572
+ __TYPE__: "FieldContent";
5573
+ };
4331
5574
  }) | ({
4332
5575
  __TYPE__: "ExternalLink";
4333
5576
  } & {
@@ -4338,6 +5581,11 @@ export declare const DocumentLegacy: {
4338
5581
  preview?: {
4339
5582
  title?: string;
4340
5583
  } | null | undefined;
5584
+ title?: {
5585
+ type: "Text";
5586
+ value: string;
5587
+ __TYPE__: "FieldContent";
5588
+ };
4341
5589
  });
4342
5590
  start: number;
4343
5591
  end: number;
@@ -4525,6 +5773,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4525
5773
  kind: string;
4526
5774
  } & {
4527
5775
  date?: string | null | undefined;
5776
+ title?: {
5777
+ type: "Text";
5778
+ value: string;
5779
+ __TYPE__: "FieldContent";
5780
+ };
4528
5781
  }) | ({
4529
5782
  id: string;
4530
5783
  url: string;
@@ -4533,14 +5786,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4533
5786
  size: string;
4534
5787
  } & {
4535
5788
  date?: string | null | undefined;
5789
+ title?: {
5790
+ type: "Text";
5791
+ value: string;
5792
+ __TYPE__: "FieldContent";
5793
+ };
4536
5794
  } & {
4537
5795
  __TYPE__: "FileLink";
4538
5796
  } & {
4539
5797
  size?: string;
5798
+ title?: {
5799
+ type: "Text";
5800
+ value: string;
5801
+ __TYPE__: "FieldContent";
5802
+ };
4540
5803
  }) | ({
4541
5804
  __TYPE__: "DocumentLink";
4542
5805
  } & {
4543
5806
  id: string;
5807
+ } & {
5808
+ title?: {
5809
+ type: "Text";
5810
+ value: string;
5811
+ __TYPE__: "FieldContent";
5812
+ };
4544
5813
  }) | ({
4545
5814
  __TYPE__: "ExternalLink";
4546
5815
  } & {
@@ -4551,6 +5820,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4551
5820
  preview?: {
4552
5821
  title?: string;
4553
5822
  } | null | undefined;
5823
+ title?: {
5824
+ type: "Text";
5825
+ value: string;
5826
+ __TYPE__: "FieldContent";
5827
+ };
4554
5828
  });
4555
5829
  } | {
4556
5830
  __TYPE__: "StructuredTextContent";
@@ -4591,6 +5865,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4591
5865
  kind: string;
4592
5866
  } & {
4593
5867
  date?: string | null | undefined;
5868
+ title?: {
5869
+ type: "Text";
5870
+ value: string;
5871
+ __TYPE__: "FieldContent";
5872
+ };
4594
5873
  }) | ({
4595
5874
  id: string;
4596
5875
  url: string;
@@ -4599,14 +5878,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4599
5878
  size: string;
4600
5879
  } & {
4601
5880
  date?: string | null | undefined;
5881
+ title?: {
5882
+ type: "Text";
5883
+ value: string;
5884
+ __TYPE__: "FieldContent";
5885
+ };
4602
5886
  } & {
4603
5887
  __TYPE__: "FileLink";
4604
5888
  } & {
4605
5889
  size?: string;
5890
+ title?: {
5891
+ type: "Text";
5892
+ value: string;
5893
+ __TYPE__: "FieldContent";
5894
+ };
4606
5895
  }) | ({
4607
5896
  __TYPE__: "DocumentLink";
4608
5897
  } & {
4609
5898
  id: string;
5899
+ } & {
5900
+ title?: {
5901
+ type: "Text";
5902
+ value: string;
5903
+ __TYPE__: "FieldContent";
5904
+ };
4610
5905
  }) | ({
4611
5906
  __TYPE__: "ExternalLink";
4612
5907
  } & {
@@ -4617,6 +5912,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4617
5912
  preview?: {
4618
5913
  title?: string;
4619
5914
  } | null | undefined;
5915
+ title?: {
5916
+ type: "Text";
5917
+ value: string;
5918
+ __TYPE__: "FieldContent";
5919
+ };
4620
5920
  }) | null | undefined;
4621
5921
  };
4622
5922
  } & {
@@ -4664,6 +5964,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4664
5964
  kind: string;
4665
5965
  } & {
4666
5966
  date?: string | null | undefined;
5967
+ title?: {
5968
+ type: "Text";
5969
+ value: string;
5970
+ __TYPE__: "FieldContent";
5971
+ };
4667
5972
  }) | ({
4668
5973
  id: string;
4669
5974
  url: string;
@@ -4672,14 +5977,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4672
5977
  size: string;
4673
5978
  } & {
4674
5979
  date?: string | null | undefined;
5980
+ title?: {
5981
+ type: "Text";
5982
+ value: string;
5983
+ __TYPE__: "FieldContent";
5984
+ };
4675
5985
  } & {
4676
5986
  __TYPE__: "FileLink";
4677
5987
  } & {
4678
5988
  size?: string;
5989
+ title?: {
5990
+ type: "Text";
5991
+ value: string;
5992
+ __TYPE__: "FieldContent";
5993
+ };
4679
5994
  }) | ({
4680
5995
  __TYPE__: "DocumentLink";
4681
5996
  } & {
4682
5997
  id: string;
5998
+ } & {
5999
+ title?: {
6000
+ type: "Text";
6001
+ value: string;
6002
+ __TYPE__: "FieldContent";
6003
+ };
4683
6004
  }) | ({
4684
6005
  __TYPE__: "ExternalLink";
4685
6006
  } & {
@@ -4690,6 +6011,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4690
6011
  preview?: {
4691
6012
  title?: string;
4692
6013
  } | null | undefined;
6014
+ title?: {
6015
+ type: "Text";
6016
+ value: string;
6017
+ __TYPE__: "FieldContent";
6018
+ };
4693
6019
  });
4694
6020
  start: number;
4695
6021
  end: number;
@@ -4846,6 +6172,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4846
6172
  kind: string;
4847
6173
  } & {
4848
6174
  date?: string | null | undefined;
6175
+ title?: {
6176
+ type: "Text";
6177
+ value: string;
6178
+ __TYPE__: "FieldContent";
6179
+ };
4849
6180
  }) | ({
4850
6181
  id: string;
4851
6182
  url: string;
@@ -4854,14 +6185,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4854
6185
  size: string;
4855
6186
  } & {
4856
6187
  date?: string | null | undefined;
6188
+ title?: {
6189
+ type: "Text";
6190
+ value: string;
6191
+ __TYPE__: "FieldContent";
6192
+ };
4857
6193
  } & {
4858
6194
  __TYPE__: "FileLink";
4859
6195
  } & {
4860
6196
  size?: string;
6197
+ title?: {
6198
+ type: "Text";
6199
+ value: string;
6200
+ __TYPE__: "FieldContent";
6201
+ };
4861
6202
  }) | ({
4862
6203
  __TYPE__: "DocumentLink";
4863
6204
  } & {
4864
6205
  id: string;
6206
+ } & {
6207
+ title?: {
6208
+ type: "Text";
6209
+ value: string;
6210
+ __TYPE__: "FieldContent";
6211
+ };
4865
6212
  }) | ({
4866
6213
  __TYPE__: "ExternalLink";
4867
6214
  } & {
@@ -4872,6 +6219,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4872
6219
  preview?: {
4873
6220
  title?: string;
4874
6221
  } | null | undefined;
6222
+ title?: {
6223
+ type: "Text";
6224
+ value: string;
6225
+ __TYPE__: "FieldContent";
6226
+ };
4875
6227
  });
4876
6228
  } | {
4877
6229
  __TYPE__: "StructuredTextContent";
@@ -4912,6 +6264,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4912
6264
  kind: string;
4913
6265
  } & {
4914
6266
  date?: string | null | undefined;
6267
+ title?: {
6268
+ type: "Text";
6269
+ value: string;
6270
+ __TYPE__: "FieldContent";
6271
+ };
4915
6272
  }) | ({
4916
6273
  id: string;
4917
6274
  url: string;
@@ -4920,14 +6277,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4920
6277
  size: string;
4921
6278
  } & {
4922
6279
  date?: string | null | undefined;
6280
+ title?: {
6281
+ type: "Text";
6282
+ value: string;
6283
+ __TYPE__: "FieldContent";
6284
+ };
4923
6285
  } & {
4924
6286
  __TYPE__: "FileLink";
4925
6287
  } & {
4926
6288
  size?: string;
6289
+ title?: {
6290
+ type: "Text";
6291
+ value: string;
6292
+ __TYPE__: "FieldContent";
6293
+ };
4927
6294
  }) | ({
4928
6295
  __TYPE__: "DocumentLink";
4929
6296
  } & {
4930
6297
  id: string;
6298
+ } & {
6299
+ title?: {
6300
+ type: "Text";
6301
+ value: string;
6302
+ __TYPE__: "FieldContent";
6303
+ };
4931
6304
  }) | ({
4932
6305
  __TYPE__: "ExternalLink";
4933
6306
  } & {
@@ -4938,6 +6311,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4938
6311
  preview?: {
4939
6312
  title?: string;
4940
6313
  } | null | undefined;
6314
+ title?: {
6315
+ type: "Text";
6316
+ value: string;
6317
+ __TYPE__: "FieldContent";
6318
+ };
4941
6319
  }) | null | undefined;
4942
6320
  };
4943
6321
  } & {
@@ -4985,6 +6363,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4985
6363
  kind: string;
4986
6364
  } & {
4987
6365
  date?: string | null | undefined;
6366
+ title?: {
6367
+ type: "Text";
6368
+ value: string;
6369
+ __TYPE__: "FieldContent";
6370
+ };
4988
6371
  }) | ({
4989
6372
  id: string;
4990
6373
  url: string;
@@ -4993,14 +6376,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
4993
6376
  size: string;
4994
6377
  } & {
4995
6378
  date?: string | null | undefined;
6379
+ title?: {
6380
+ type: "Text";
6381
+ value: string;
6382
+ __TYPE__: "FieldContent";
6383
+ };
4996
6384
  } & {
4997
6385
  __TYPE__: "FileLink";
4998
6386
  } & {
4999
6387
  size?: string;
6388
+ title?: {
6389
+ type: "Text";
6390
+ value: string;
6391
+ __TYPE__: "FieldContent";
6392
+ };
5000
6393
  }) | ({
5001
6394
  __TYPE__: "DocumentLink";
5002
6395
  } & {
5003
6396
  id: string;
6397
+ } & {
6398
+ title?: {
6399
+ type: "Text";
6400
+ value: string;
6401
+ __TYPE__: "FieldContent";
6402
+ };
5004
6403
  }) | ({
5005
6404
  __TYPE__: "ExternalLink";
5006
6405
  } & {
@@ -5011,6 +6410,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5011
6410
  preview?: {
5012
6411
  title?: string;
5013
6412
  } | null | undefined;
6413
+ title?: {
6414
+ type: "Text";
6415
+ value: string;
6416
+ __TYPE__: "FieldContent";
6417
+ };
5014
6418
  });
5015
6419
  start: number;
5016
6420
  end: number;
@@ -5161,6 +6565,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5161
6565
  kind: string;
5162
6566
  } & {
5163
6567
  date?: string | null | undefined;
6568
+ title?: {
6569
+ type: "Text";
6570
+ value: string;
6571
+ __TYPE__: "FieldContent";
6572
+ };
5164
6573
  }) | ({
5165
6574
  id: string;
5166
6575
  url: string;
@@ -5169,14 +6578,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5169
6578
  size: string;
5170
6579
  } & {
5171
6580
  date?: string | null | undefined;
6581
+ title?: {
6582
+ type: "Text";
6583
+ value: string;
6584
+ __TYPE__: "FieldContent";
6585
+ };
5172
6586
  } & {
5173
6587
  __TYPE__: "FileLink";
5174
6588
  } & {
5175
6589
  size?: string;
6590
+ title?: {
6591
+ type: "Text";
6592
+ value: string;
6593
+ __TYPE__: "FieldContent";
6594
+ };
5176
6595
  }) | ({
5177
6596
  __TYPE__: "DocumentLink";
5178
6597
  } & {
5179
6598
  id: string;
6599
+ } & {
6600
+ title?: {
6601
+ type: "Text";
6602
+ value: string;
6603
+ __TYPE__: "FieldContent";
6604
+ };
5180
6605
  }) | ({
5181
6606
  __TYPE__: "ExternalLink";
5182
6607
  } & {
@@ -5187,6 +6612,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5187
6612
  preview?: {
5188
6613
  title?: string;
5189
6614
  } | null | undefined;
6615
+ title?: {
6616
+ type: "Text";
6617
+ value: string;
6618
+ __TYPE__: "FieldContent";
6619
+ };
5190
6620
  });
5191
6621
  } | {
5192
6622
  __TYPE__: "StructuredTextContent";
@@ -5227,6 +6657,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5227
6657
  kind: string;
5228
6658
  } & {
5229
6659
  date?: string | null | undefined;
6660
+ title?: {
6661
+ type: "Text";
6662
+ value: string;
6663
+ __TYPE__: "FieldContent";
6664
+ };
5230
6665
  }) | ({
5231
6666
  id: string;
5232
6667
  url: string;
@@ -5235,14 +6670,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5235
6670
  size: string;
5236
6671
  } & {
5237
6672
  date?: string | null | undefined;
6673
+ title?: {
6674
+ type: "Text";
6675
+ value: string;
6676
+ __TYPE__: "FieldContent";
6677
+ };
5238
6678
  } & {
5239
6679
  __TYPE__: "FileLink";
5240
6680
  } & {
5241
6681
  size?: string;
6682
+ title?: {
6683
+ type: "Text";
6684
+ value: string;
6685
+ __TYPE__: "FieldContent";
6686
+ };
5242
6687
  }) | ({
5243
6688
  __TYPE__: "DocumentLink";
5244
6689
  } & {
5245
6690
  id: string;
6691
+ } & {
6692
+ title?: {
6693
+ type: "Text";
6694
+ value: string;
6695
+ __TYPE__: "FieldContent";
6696
+ };
5246
6697
  }) | ({
5247
6698
  __TYPE__: "ExternalLink";
5248
6699
  } & {
@@ -5253,6 +6704,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5253
6704
  preview?: {
5254
6705
  title?: string;
5255
6706
  } | null | undefined;
6707
+ title?: {
6708
+ type: "Text";
6709
+ value: string;
6710
+ __TYPE__: "FieldContent";
6711
+ };
5256
6712
  }) | null | undefined;
5257
6713
  };
5258
6714
  } & {
@@ -5300,6 +6756,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5300
6756
  kind: string;
5301
6757
  } & {
5302
6758
  date?: string | null | undefined;
6759
+ title?: {
6760
+ type: "Text";
6761
+ value: string;
6762
+ __TYPE__: "FieldContent";
6763
+ };
5303
6764
  }) | ({
5304
6765
  id: string;
5305
6766
  url: string;
@@ -5308,14 +6769,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5308
6769
  size: string;
5309
6770
  } & {
5310
6771
  date?: string | null | undefined;
6772
+ title?: {
6773
+ type: "Text";
6774
+ value: string;
6775
+ __TYPE__: "FieldContent";
6776
+ };
5311
6777
  } & {
5312
6778
  __TYPE__: "FileLink";
5313
6779
  } & {
5314
6780
  size?: string;
6781
+ title?: {
6782
+ type: "Text";
6783
+ value: string;
6784
+ __TYPE__: "FieldContent";
6785
+ };
5315
6786
  }) | ({
5316
6787
  __TYPE__: "DocumentLink";
5317
6788
  } & {
5318
6789
  id: string;
6790
+ } & {
6791
+ title?: {
6792
+ type: "Text";
6793
+ value: string;
6794
+ __TYPE__: "FieldContent";
6795
+ };
5319
6796
  }) | ({
5320
6797
  __TYPE__: "ExternalLink";
5321
6798
  } & {
@@ -5326,6 +6803,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5326
6803
  preview?: {
5327
6804
  title?: string;
5328
6805
  } | null | undefined;
6806
+ title?: {
6807
+ type: "Text";
6808
+ value: string;
6809
+ __TYPE__: "FieldContent";
6810
+ };
5329
6811
  });
5330
6812
  start: number;
5331
6813
  end: number;
@@ -5477,6 +6959,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5477
6959
  kind: string;
5478
6960
  } & {
5479
6961
  date?: string | null | undefined;
6962
+ title?: {
6963
+ type: "Text";
6964
+ value: string;
6965
+ __TYPE__: "FieldContent";
6966
+ };
5480
6967
  }) | ({
5481
6968
  id: string;
5482
6969
  url: string;
@@ -5485,14 +6972,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5485
6972
  size: string;
5486
6973
  } & {
5487
6974
  date?: string | null | undefined;
6975
+ title?: {
6976
+ type: "Text";
6977
+ value: string;
6978
+ __TYPE__: "FieldContent";
6979
+ };
5488
6980
  } & {
5489
6981
  __TYPE__: "FileLink";
5490
6982
  } & {
5491
6983
  size?: string;
6984
+ title?: {
6985
+ type: "Text";
6986
+ value: string;
6987
+ __TYPE__: "FieldContent";
6988
+ };
5492
6989
  }) | ({
5493
6990
  __TYPE__: "DocumentLink";
5494
6991
  } & {
5495
6992
  id: string;
6993
+ } & {
6994
+ title?: {
6995
+ type: "Text";
6996
+ value: string;
6997
+ __TYPE__: "FieldContent";
6998
+ };
5496
6999
  }) | ({
5497
7000
  __TYPE__: "ExternalLink";
5498
7001
  } & {
@@ -5503,6 +7006,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5503
7006
  preview?: {
5504
7007
  title?: string;
5505
7008
  } | null | undefined;
7009
+ title?: {
7010
+ type: "Text";
7011
+ value: string;
7012
+ __TYPE__: "FieldContent";
7013
+ };
5506
7014
  });
5507
7015
  } | {
5508
7016
  __TYPE__: "StructuredTextContent";
@@ -5543,6 +7051,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5543
7051
  kind: string;
5544
7052
  } & {
5545
7053
  date?: string | null | undefined;
7054
+ title?: {
7055
+ type: "Text";
7056
+ value: string;
7057
+ __TYPE__: "FieldContent";
7058
+ };
5546
7059
  }) | ({
5547
7060
  id: string;
5548
7061
  url: string;
@@ -5551,14 +7064,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5551
7064
  size: string;
5552
7065
  } & {
5553
7066
  date?: string | null | undefined;
7067
+ title?: {
7068
+ type: "Text";
7069
+ value: string;
7070
+ __TYPE__: "FieldContent";
7071
+ };
5554
7072
  } & {
5555
7073
  __TYPE__: "FileLink";
5556
7074
  } & {
5557
7075
  size?: string;
7076
+ title?: {
7077
+ type: "Text";
7078
+ value: string;
7079
+ __TYPE__: "FieldContent";
7080
+ };
5558
7081
  }) | ({
5559
7082
  __TYPE__: "DocumentLink";
5560
7083
  } & {
5561
7084
  id: string;
7085
+ } & {
7086
+ title?: {
7087
+ type: "Text";
7088
+ value: string;
7089
+ __TYPE__: "FieldContent";
7090
+ };
5562
7091
  }) | ({
5563
7092
  __TYPE__: "ExternalLink";
5564
7093
  } & {
@@ -5569,6 +7098,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5569
7098
  preview?: {
5570
7099
  title?: string;
5571
7100
  } | null | undefined;
7101
+ title?: {
7102
+ type: "Text";
7103
+ value: string;
7104
+ __TYPE__: "FieldContent";
7105
+ };
5572
7106
  }) | null | undefined;
5573
7107
  };
5574
7108
  } & {
@@ -5616,6 +7150,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5616
7150
  kind: string;
5617
7151
  } & {
5618
7152
  date?: string | null | undefined;
7153
+ title?: {
7154
+ type: "Text";
7155
+ value: string;
7156
+ __TYPE__: "FieldContent";
7157
+ };
5619
7158
  }) | ({
5620
7159
  id: string;
5621
7160
  url: string;
@@ -5624,14 +7163,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5624
7163
  size: string;
5625
7164
  } & {
5626
7165
  date?: string | null | undefined;
7166
+ title?: {
7167
+ type: "Text";
7168
+ value: string;
7169
+ __TYPE__: "FieldContent";
7170
+ };
5627
7171
  } & {
5628
7172
  __TYPE__: "FileLink";
5629
7173
  } & {
5630
7174
  size?: string;
7175
+ title?: {
7176
+ type: "Text";
7177
+ value: string;
7178
+ __TYPE__: "FieldContent";
7179
+ };
5631
7180
  }) | ({
5632
7181
  __TYPE__: "DocumentLink";
5633
7182
  } & {
5634
7183
  id: string;
7184
+ } & {
7185
+ title?: {
7186
+ type: "Text";
7187
+ value: string;
7188
+ __TYPE__: "FieldContent";
7189
+ };
5635
7190
  }) | ({
5636
7191
  __TYPE__: "ExternalLink";
5637
7192
  } & {
@@ -5642,6 +7197,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5642
7197
  preview?: {
5643
7198
  title?: string;
5644
7199
  } | null | undefined;
7200
+ title?: {
7201
+ type: "Text";
7202
+ value: string;
7203
+ __TYPE__: "FieldContent";
7204
+ };
5645
7205
  });
5646
7206
  start: number;
5647
7207
  end: number;
@@ -5795,6 +7355,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5795
7355
  kind: string;
5796
7356
  } & {
5797
7357
  date?: string | null | undefined;
7358
+ title?: {
7359
+ type: "Text";
7360
+ value: string;
7361
+ __TYPE__: "FieldContent";
7362
+ };
5798
7363
  }) | ({
5799
7364
  id: string;
5800
7365
  url: string;
@@ -5803,14 +7368,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5803
7368
  size: string;
5804
7369
  } & {
5805
7370
  date?: string | null | undefined;
7371
+ title?: {
7372
+ type: "Text";
7373
+ value: string;
7374
+ __TYPE__: "FieldContent";
7375
+ };
5806
7376
  } & {
5807
7377
  __TYPE__: "FileLink";
5808
7378
  } & {
5809
7379
  size?: string;
7380
+ title?: {
7381
+ type: "Text";
7382
+ value: string;
7383
+ __TYPE__: "FieldContent";
7384
+ };
5810
7385
  }) | ({
5811
7386
  __TYPE__: "DocumentLink";
5812
7387
  } & {
5813
7388
  id: string;
7389
+ } & {
7390
+ title?: {
7391
+ type: "Text";
7392
+ value: string;
7393
+ __TYPE__: "FieldContent";
7394
+ };
5814
7395
  }) | ({
5815
7396
  __TYPE__: "ExternalLink";
5816
7397
  } & {
@@ -5821,6 +7402,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5821
7402
  preview?: {
5822
7403
  title?: string;
5823
7404
  } | null | undefined;
7405
+ title?: {
7406
+ type: "Text";
7407
+ value: string;
7408
+ __TYPE__: "FieldContent";
7409
+ };
5824
7410
  });
5825
7411
  } | {
5826
7412
  __TYPE__: "StructuredTextContent";
@@ -5861,6 +7447,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5861
7447
  kind: string;
5862
7448
  } & {
5863
7449
  date?: string | null | undefined;
7450
+ title?: {
7451
+ type: "Text";
7452
+ value: string;
7453
+ __TYPE__: "FieldContent";
7454
+ };
5864
7455
  }) | ({
5865
7456
  id: string;
5866
7457
  url: string;
@@ -5869,14 +7460,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5869
7460
  size: string;
5870
7461
  } & {
5871
7462
  date?: string | null | undefined;
7463
+ title?: {
7464
+ type: "Text";
7465
+ value: string;
7466
+ __TYPE__: "FieldContent";
7467
+ };
5872
7468
  } & {
5873
7469
  __TYPE__: "FileLink";
5874
7470
  } & {
5875
7471
  size?: string;
7472
+ title?: {
7473
+ type: "Text";
7474
+ value: string;
7475
+ __TYPE__: "FieldContent";
7476
+ };
5876
7477
  }) | ({
5877
7478
  __TYPE__: "DocumentLink";
5878
7479
  } & {
5879
7480
  id: string;
7481
+ } & {
7482
+ title?: {
7483
+ type: "Text";
7484
+ value: string;
7485
+ __TYPE__: "FieldContent";
7486
+ };
5880
7487
  }) | ({
5881
7488
  __TYPE__: "ExternalLink";
5882
7489
  } & {
@@ -5887,6 +7494,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5887
7494
  preview?: {
5888
7495
  title?: string;
5889
7496
  } | null | undefined;
7497
+ title?: {
7498
+ type: "Text";
7499
+ value: string;
7500
+ __TYPE__: "FieldContent";
7501
+ };
5890
7502
  }) | null | undefined;
5891
7503
  };
5892
7504
  } & {
@@ -5934,6 +7546,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5934
7546
  kind: string;
5935
7547
  } & {
5936
7548
  date?: string | null | undefined;
7549
+ title?: {
7550
+ type: "Text";
7551
+ value: string;
7552
+ __TYPE__: "FieldContent";
7553
+ };
5937
7554
  }) | ({
5938
7555
  id: string;
5939
7556
  url: string;
@@ -5942,14 +7559,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5942
7559
  size: string;
5943
7560
  } & {
5944
7561
  date?: string | null | undefined;
7562
+ title?: {
7563
+ type: "Text";
7564
+ value: string;
7565
+ __TYPE__: "FieldContent";
7566
+ };
5945
7567
  } & {
5946
7568
  __TYPE__: "FileLink";
5947
7569
  } & {
5948
7570
  size?: string;
7571
+ title?: {
7572
+ type: "Text";
7573
+ value: string;
7574
+ __TYPE__: "FieldContent";
7575
+ };
5949
7576
  }) | ({
5950
7577
  __TYPE__: "DocumentLink";
5951
7578
  } & {
5952
7579
  id: string;
7580
+ } & {
7581
+ title?: {
7582
+ type: "Text";
7583
+ value: string;
7584
+ __TYPE__: "FieldContent";
7585
+ };
5953
7586
  }) | ({
5954
7587
  __TYPE__: "ExternalLink";
5955
7588
  } & {
@@ -5960,6 +7593,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5960
7593
  preview?: {
5961
7594
  title?: string;
5962
7595
  } | null | undefined;
7596
+ title?: {
7597
+ type: "Text";
7598
+ value: string;
7599
+ __TYPE__: "FieldContent";
7600
+ };
5963
7601
  });
5964
7602
  start: number;
5965
7603
  end: number;
@@ -6111,6 +7749,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6111
7749
  kind: string;
6112
7750
  } & {
6113
7751
  date?: string | null | undefined;
7752
+ title?: {
7753
+ type: "Text";
7754
+ value: string;
7755
+ __TYPE__: "FieldContent";
7756
+ };
6114
7757
  }) | ({
6115
7758
  id: string;
6116
7759
  url: string;
@@ -6119,14 +7762,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6119
7762
  size: string;
6120
7763
  } & {
6121
7764
  date?: string | null | undefined;
7765
+ title?: {
7766
+ type: "Text";
7767
+ value: string;
7768
+ __TYPE__: "FieldContent";
7769
+ };
6122
7770
  } & {
6123
7771
  __TYPE__: "FileLink";
6124
7772
  } & {
6125
7773
  size?: string;
7774
+ title?: {
7775
+ type: "Text";
7776
+ value: string;
7777
+ __TYPE__: "FieldContent";
7778
+ };
6126
7779
  }) | ({
6127
7780
  __TYPE__: "DocumentLink";
6128
7781
  } & {
6129
7782
  id: string;
7783
+ } & {
7784
+ title?: {
7785
+ type: "Text";
7786
+ value: string;
7787
+ __TYPE__: "FieldContent";
7788
+ };
6130
7789
  }) | ({
6131
7790
  __TYPE__: "ExternalLink";
6132
7791
  } & {
@@ -6137,6 +7796,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6137
7796
  preview?: {
6138
7797
  title?: string;
6139
7798
  } | null | undefined;
7799
+ title?: {
7800
+ type: "Text";
7801
+ value: string;
7802
+ __TYPE__: "FieldContent";
7803
+ };
6140
7804
  });
6141
7805
  } | {
6142
7806
  __TYPE__: "StructuredTextContent";
@@ -6177,6 +7841,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6177
7841
  kind: string;
6178
7842
  } & {
6179
7843
  date?: string | null | undefined;
7844
+ title?: {
7845
+ type: "Text";
7846
+ value: string;
7847
+ __TYPE__: "FieldContent";
7848
+ };
6180
7849
  }) | ({
6181
7850
  id: string;
6182
7851
  url: string;
@@ -6185,14 +7854,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6185
7854
  size: string;
6186
7855
  } & {
6187
7856
  date?: string | null | undefined;
7857
+ title?: {
7858
+ type: "Text";
7859
+ value: string;
7860
+ __TYPE__: "FieldContent";
7861
+ };
6188
7862
  } & {
6189
7863
  __TYPE__: "FileLink";
6190
7864
  } & {
6191
7865
  size?: string;
7866
+ title?: {
7867
+ type: "Text";
7868
+ value: string;
7869
+ __TYPE__: "FieldContent";
7870
+ };
6192
7871
  }) | ({
6193
7872
  __TYPE__: "DocumentLink";
6194
7873
  } & {
6195
7874
  id: string;
7875
+ } & {
7876
+ title?: {
7877
+ type: "Text";
7878
+ value: string;
7879
+ __TYPE__: "FieldContent";
7880
+ };
6196
7881
  }) | ({
6197
7882
  __TYPE__: "ExternalLink";
6198
7883
  } & {
@@ -6203,6 +7888,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6203
7888
  preview?: {
6204
7889
  title?: string;
6205
7890
  } | null | undefined;
7891
+ title?: {
7892
+ type: "Text";
7893
+ value: string;
7894
+ __TYPE__: "FieldContent";
7895
+ };
6206
7896
  }) | null | undefined;
6207
7897
  };
6208
7898
  } & {
@@ -6250,6 +7940,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6250
7940
  kind: string;
6251
7941
  } & {
6252
7942
  date?: string | null | undefined;
7943
+ title?: {
7944
+ type: "Text";
7945
+ value: string;
7946
+ __TYPE__: "FieldContent";
7947
+ };
6253
7948
  }) | ({
6254
7949
  id: string;
6255
7950
  url: string;
@@ -6258,14 +7953,30 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6258
7953
  size: string;
6259
7954
  } & {
6260
7955
  date?: string | null | undefined;
7956
+ title?: {
7957
+ type: "Text";
7958
+ value: string;
7959
+ __TYPE__: "FieldContent";
7960
+ };
6261
7961
  } & {
6262
7962
  __TYPE__: "FileLink";
6263
7963
  } & {
6264
7964
  size?: string;
7965
+ title?: {
7966
+ type: "Text";
7967
+ value: string;
7968
+ __TYPE__: "FieldContent";
7969
+ };
6265
7970
  }) | ({
6266
7971
  __TYPE__: "DocumentLink";
6267
7972
  } & {
6268
7973
  id: string;
7974
+ } & {
7975
+ title?: {
7976
+ type: "Text";
7977
+ value: string;
7978
+ __TYPE__: "FieldContent";
7979
+ };
6269
7980
  }) | ({
6270
7981
  __TYPE__: "ExternalLink";
6271
7982
  } & {
@@ -6276,6 +7987,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6276
7987
  preview?: {
6277
7988
  title?: string;
6278
7989
  } | null | undefined;
7990
+ title?: {
7991
+ type: "Text";
7992
+ value: string;
7993
+ __TYPE__: "FieldContent";
7994
+ };
6279
7995
  });
6280
7996
  start: number;
6281
7997
  end: number;