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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/lib/content/Document.d.ts +333 -1653
  2. package/lib/content/fields/WidgetContent.d.ts +333 -1653
  3. package/lib/content/fields/nestable/LinkContent.d.ts +38 -190
  4. package/lib/content/fields/nestable/LinkContent.js +5 -6
  5. package/lib/content/fields/nestable/NestableContent.d.ts +55 -275
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +102 -510
  7. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +727 -0
  8. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  9. package/lib/content/fields/nestable/RichTextContent/index.d.ts +50 -250
  10. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +110 -550
  11. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +25 -125
  12. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +110 -550
  13. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +55 -275
  14. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +55 -275
  15. package/lib/content/fields/slices/Slice/index.d.ts +200 -1000
  16. package/lib/content/fields/slices/SliceItem.d.ts +200 -1000
  17. package/lib/content/fields/slices/SlicesContent.d.ts +275 -1375
  18. package/lib/customtypes/CustomType.d.ts +18 -20
  19. package/lib/customtypes/CustomType.js +0 -1
  20. package/lib/customtypes/Section.d.ts +18 -18
  21. package/lib/customtypes/diff/SharedSlice.d.ts +8 -8
  22. package/lib/customtypes/diff/Variation.d.ts +8 -8
  23. package/lib/customtypes/widgets/Group.d.ts +6 -6
  24. package/lib/customtypes/widgets/Widget.d.ts +21 -21
  25. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -2
  26. package/lib/customtypes/widgets/nestable/Link.js +1 -1
  27. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -1
  28. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -2
  29. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -2
  30. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -8
  31. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -6
  32. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +327 -0
  33. package/lib/customtypes/widgets/slices/SliceWidget.js +8 -0
  34. package/lib/customtypes/widgets/slices/Slices.d.ts +28 -28
  35. package/package.json +1 -1
  36. package/src/content/fields/nestable/LinkContent.ts +5 -6
  37. package/src/customtypes/CustomType.ts +0 -1
  38. package/src/customtypes/widgets/nestable/Link.ts +1 -1
@@ -128,11 +128,7 @@ 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
+ text: t.StringC;
136
132
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
137
133
  id: t.StringC;
138
134
  url: t.StringC;
@@ -141,30 +137,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
141
137
  size: t.StringC;
142
138
  }>, t.PartialC<{
143
139
  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
- }>>;
140
+ text: t.StringC;
149
141
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
150
142
  __TYPE__: t.LiteralC<"FileLink">;
151
143
  }>, t.PartialC<{
152
144
  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
- }>>;
145
+ text: t.StringC;
158
146
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
159
147
  __TYPE__: t.LiteralC<"DocumentLink">;
160
148
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
161
149
  id: t.Type<string, string, unknown>;
162
150
  }>, 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
- }>>;
151
+ text: t.StringC;
168
152
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
169
153
  __TYPE__: t.LiteralC<"ExternalLink">;
170
154
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -177,11 +161,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
177
161
  }, {
178
162
  title?: string;
179
163
  }, 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
- }>>;
164
+ text: t.StringC;
185
165
  }>]>>]>]>;
186
166
  }>>, t.ExactC<t.TypeC<{
187
167
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -222,11 +202,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
222
202
  kind: string;
223
203
  } & {
224
204
  date?: string | null | undefined;
225
- title?: {
226
- type: "Text";
227
- value: string;
228
- __TYPE__: "FieldContent";
229
- };
205
+ text?: string;
230
206
  }) | ({
231
207
  id: string;
232
208
  url: string;
@@ -235,30 +211,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
235
211
  size: string;
236
212
  } & {
237
213
  date?: string | null | undefined;
238
- title?: {
239
- type: "Text";
240
- value: string;
241
- __TYPE__: "FieldContent";
242
- };
214
+ text?: string;
243
215
  } & {
244
216
  __TYPE__: "FileLink";
245
217
  } & {
246
218
  size?: string;
247
- title?: {
248
- type: "Text";
249
- value: string;
250
- __TYPE__: "FieldContent";
251
- };
219
+ text?: string;
252
220
  }) | ({
253
221
  __TYPE__: "DocumentLink";
254
222
  } & {
255
223
  id: string;
256
224
  } & {
257
- title?: {
258
- type: "Text";
259
- value: string;
260
- __TYPE__: "FieldContent";
261
- };
225
+ text?: string;
262
226
  }) | ({
263
227
  __TYPE__: "ExternalLink";
264
228
  } & {
@@ -269,11 +233,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
269
233
  preview?: {
270
234
  title?: string;
271
235
  } | null | undefined;
272
- title?: {
273
- type: "Text";
274
- value: string;
275
- __TYPE__: "FieldContent";
276
- };
236
+ text?: string;
277
237
  }), ({
278
238
  __TYPE__: "ImageLink";
279
239
  } & {
@@ -286,11 +246,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
286
246
  kind: string;
287
247
  } & {
288
248
  date?: string | null | undefined;
289
- title?: {
290
- type: "Text";
291
- value: string;
292
- __TYPE__: "FieldContent";
293
- };
249
+ text?: string;
294
250
  }) | ({
295
251
  id: string;
296
252
  url: string;
@@ -299,30 +255,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
299
255
  size: string;
300
256
  } & {
301
257
  date?: string | null | undefined;
302
- title?: {
303
- type: "Text";
304
- value: string;
305
- __TYPE__: "FieldContent";
306
- };
258
+ text?: string;
307
259
  } & {
308
260
  __TYPE__: "FileLink";
309
261
  } & {
310
262
  size?: string;
311
- title?: {
312
- type: "Text";
313
- value: string;
314
- __TYPE__: "FieldContent";
315
- };
263
+ text?: string;
316
264
  }) | ({
317
265
  __TYPE__: "DocumentLink";
318
266
  } & {
319
267
  id: string;
320
268
  } & {
321
- title?: {
322
- type: "Text";
323
- value: string;
324
- __TYPE__: "FieldContent";
325
- };
269
+ text?: string;
326
270
  }) | ({
327
271
  __TYPE__: "ExternalLink";
328
272
  } & {
@@ -333,11 +277,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
333
277
  preview?: {
334
278
  title?: string;
335
279
  } | null | undefined;
336
- title?: {
337
- type: "Text";
338
- value: string;
339
- __TYPE__: "FieldContent";
340
- };
280
+ text?: string;
341
281
  }), unknown>, t.NullC, t.UndefinedC]>;
342
282
  }>]>;
343
283
  }>, t.PartialC<{
@@ -385,11 +325,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
385
325
  kind: string;
386
326
  } & {
387
327
  date?: string | null | undefined;
388
- title?: {
389
- type: "Text";
390
- value: string;
391
- __TYPE__: "FieldContent";
392
- };
328
+ text?: string;
393
329
  }) | ({
394
330
  id: string;
395
331
  url: string;
@@ -398,30 +334,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
398
334
  size: string;
399
335
  } & {
400
336
  date?: string | null | undefined;
401
- title?: {
402
- type: "Text";
403
- value: string;
404
- __TYPE__: "FieldContent";
405
- };
337
+ text?: string;
406
338
  } & {
407
339
  __TYPE__: "FileLink";
408
340
  } & {
409
341
  size?: string;
410
- title?: {
411
- type: "Text";
412
- value: string;
413
- __TYPE__: "FieldContent";
414
- };
342
+ text?: string;
415
343
  }) | ({
416
344
  __TYPE__: "DocumentLink";
417
345
  } & {
418
346
  id: string;
419
347
  } & {
420
- title?: {
421
- type: "Text";
422
- value: string;
423
- __TYPE__: "FieldContent";
424
- };
348
+ text?: string;
425
349
  }) | ({
426
350
  __TYPE__: "ExternalLink";
427
351
  } & {
@@ -432,11 +356,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
432
356
  preview?: {
433
357
  title?: string;
434
358
  } | null | undefined;
435
- title?: {
436
- type: "Text";
437
- value: string;
438
- __TYPE__: "FieldContent";
439
- };
359
+ text?: string;
440
360
  });
441
361
  start: number;
442
362
  end: number;
@@ -463,11 +383,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
463
383
  kind: string;
464
384
  } & {
465
385
  date?: string | null | undefined;
466
- title?: {
467
- type: "Text";
468
- value: string;
469
- __TYPE__: "FieldContent";
470
- };
386
+ text?: string;
471
387
  }) | ({
472
388
  id: string;
473
389
  url: string;
@@ -476,30 +392,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
476
392
  size: string;
477
393
  } & {
478
394
  date?: string | null | undefined;
479
- title?: {
480
- type: "Text";
481
- value: string;
482
- __TYPE__: "FieldContent";
483
- };
395
+ text?: string;
484
396
  } & {
485
397
  __TYPE__: "FileLink";
486
398
  } & {
487
399
  size?: string;
488
- title?: {
489
- type: "Text";
490
- value: string;
491
- __TYPE__: "FieldContent";
492
- };
400
+ text?: string;
493
401
  }) | ({
494
402
  __TYPE__: "DocumentLink";
495
403
  } & {
496
404
  id: string;
497
405
  } & {
498
- title?: {
499
- type: "Text";
500
- value: string;
501
- __TYPE__: "FieldContent";
502
- };
406
+ text?: string;
503
407
  }) | ({
504
408
  __TYPE__: "ExternalLink";
505
409
  } & {
@@ -510,11 +414,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
510
414
  preview?: {
511
415
  title?: string;
512
416
  } | null | undefined;
513
- title?: {
514
- type: "Text";
515
- value: string;
516
- __TYPE__: "FieldContent";
517
- };
417
+ text?: string;
518
418
  });
519
419
  start: number;
520
420
  end: number;
@@ -671,11 +571,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
671
571
  kind: t.StringC;
672
572
  }>, t.PartialC<{
673
573
  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
- }>>;
574
+ text: t.StringC;
679
575
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
680
576
  id: t.StringC;
681
577
  url: t.StringC;
@@ -684,30 +580,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
684
580
  size: t.StringC;
685
581
  }>, t.PartialC<{
686
582
  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
- }>>;
583
+ text: t.StringC;
692
584
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
693
585
  __TYPE__: t.LiteralC<"FileLink">;
694
586
  }>, t.PartialC<{
695
587
  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
- }>>;
588
+ text: t.StringC;
701
589
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
702
590
  __TYPE__: t.LiteralC<"DocumentLink">;
703
591
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
704
592
  id: t.Type<string, string, unknown>;
705
593
  }>, 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
- }>>;
594
+ text: t.StringC;
711
595
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
712
596
  __TYPE__: t.LiteralC<"ExternalLink">;
713
597
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -720,11 +604,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
720
604
  }, {
721
605
  title?: string;
722
606
  }, 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
- }>>;
607
+ text: t.StringC;
728
608
  }>]>>]>]>;
729
609
  }>>, t.ExactC<t.TypeC<{
730
610
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -765,11 +645,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
765
645
  kind: string;
766
646
  } & {
767
647
  date?: string | null | undefined;
768
- title?: {
769
- type: "Text";
770
- value: string;
771
- __TYPE__: "FieldContent";
772
- };
648
+ text?: string;
773
649
  }) | ({
774
650
  id: string;
775
651
  url: string;
@@ -778,30 +654,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
778
654
  size: string;
779
655
  } & {
780
656
  date?: string | null | undefined;
781
- title?: {
782
- type: "Text";
783
- value: string;
784
- __TYPE__: "FieldContent";
785
- };
657
+ text?: string;
786
658
  } & {
787
659
  __TYPE__: "FileLink";
788
660
  } & {
789
661
  size?: string;
790
- title?: {
791
- type: "Text";
792
- value: string;
793
- __TYPE__: "FieldContent";
794
- };
662
+ text?: string;
795
663
  }) | ({
796
664
  __TYPE__: "DocumentLink";
797
665
  } & {
798
666
  id: string;
799
667
  } & {
800
- title?: {
801
- type: "Text";
802
- value: string;
803
- __TYPE__: "FieldContent";
804
- };
668
+ text?: string;
805
669
  }) | ({
806
670
  __TYPE__: "ExternalLink";
807
671
  } & {
@@ -812,11 +676,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
812
676
  preview?: {
813
677
  title?: string;
814
678
  } | null | undefined;
815
- title?: {
816
- type: "Text";
817
- value: string;
818
- __TYPE__: "FieldContent";
819
- };
679
+ text?: string;
820
680
  }), ({
821
681
  __TYPE__: "ImageLink";
822
682
  } & {
@@ -829,11 +689,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
829
689
  kind: string;
830
690
  } & {
831
691
  date?: string | null | undefined;
832
- title?: {
833
- type: "Text";
834
- value: string;
835
- __TYPE__: "FieldContent";
836
- };
692
+ text?: string;
837
693
  }) | ({
838
694
  id: string;
839
695
  url: string;
@@ -842,30 +698,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
842
698
  size: string;
843
699
  } & {
844
700
  date?: string | null | undefined;
845
- title?: {
846
- type: "Text";
847
- value: string;
848
- __TYPE__: "FieldContent";
849
- };
701
+ text?: string;
850
702
  } & {
851
703
  __TYPE__: "FileLink";
852
704
  } & {
853
705
  size?: string;
854
- title?: {
855
- type: "Text";
856
- value: string;
857
- __TYPE__: "FieldContent";
858
- };
706
+ text?: string;
859
707
  }) | ({
860
708
  __TYPE__: "DocumentLink";
861
709
  } & {
862
710
  id: string;
863
711
  } & {
864
- title?: {
865
- type: "Text";
866
- value: string;
867
- __TYPE__: "FieldContent";
868
- };
712
+ text?: string;
869
713
  }) | ({
870
714
  __TYPE__: "ExternalLink";
871
715
  } & {
@@ -876,11 +720,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
876
720
  preview?: {
877
721
  title?: string;
878
722
  } | null | undefined;
879
- title?: {
880
- type: "Text";
881
- value: string;
882
- __TYPE__: "FieldContent";
883
- };
723
+ text?: string;
884
724
  }), unknown>, t.NullC, t.UndefinedC]>;
885
725
  }>]>;
886
726
  }>, t.PartialC<{
@@ -928,11 +768,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
928
768
  kind: string;
929
769
  } & {
930
770
  date?: string | null | undefined;
931
- title?: {
932
- type: "Text";
933
- value: string;
934
- __TYPE__: "FieldContent";
935
- };
771
+ text?: string;
936
772
  }) | ({
937
773
  id: string;
938
774
  url: string;
@@ -941,30 +777,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
941
777
  size: string;
942
778
  } & {
943
779
  date?: string | null | undefined;
944
- title?: {
945
- type: "Text";
946
- value: string;
947
- __TYPE__: "FieldContent";
948
- };
780
+ text?: string;
949
781
  } & {
950
782
  __TYPE__: "FileLink";
951
783
  } & {
952
784
  size?: string;
953
- title?: {
954
- type: "Text";
955
- value: string;
956
- __TYPE__: "FieldContent";
957
- };
785
+ text?: string;
958
786
  }) | ({
959
787
  __TYPE__: "DocumentLink";
960
788
  } & {
961
789
  id: string;
962
790
  } & {
963
- title?: {
964
- type: "Text";
965
- value: string;
966
- __TYPE__: "FieldContent";
967
- };
791
+ text?: string;
968
792
  }) | ({
969
793
  __TYPE__: "ExternalLink";
970
794
  } & {
@@ -975,11 +799,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
975
799
  preview?: {
976
800
  title?: string;
977
801
  } | null | undefined;
978
- title?: {
979
- type: "Text";
980
- value: string;
981
- __TYPE__: "FieldContent";
982
- };
802
+ text?: string;
983
803
  });
984
804
  start: number;
985
805
  end: number;
@@ -1006,11 +826,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1006
826
  kind: string;
1007
827
  } & {
1008
828
  date?: string | null | undefined;
1009
- title?: {
1010
- type: "Text";
1011
- value: string;
1012
- __TYPE__: "FieldContent";
1013
- };
829
+ text?: string;
1014
830
  }) | ({
1015
831
  id: string;
1016
832
  url: string;
@@ -1019,30 +835,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1019
835
  size: string;
1020
836
  } & {
1021
837
  date?: string | null | undefined;
1022
- title?: {
1023
- type: "Text";
1024
- value: string;
1025
- __TYPE__: "FieldContent";
1026
- };
838
+ text?: string;
1027
839
  } & {
1028
840
  __TYPE__: "FileLink";
1029
841
  } & {
1030
842
  size?: string;
1031
- title?: {
1032
- type: "Text";
1033
- value: string;
1034
- __TYPE__: "FieldContent";
1035
- };
843
+ text?: string;
1036
844
  }) | ({
1037
845
  __TYPE__: "DocumentLink";
1038
846
  } & {
1039
847
  id: string;
1040
848
  } & {
1041
- title?: {
1042
- type: "Text";
1043
- value: string;
1044
- __TYPE__: "FieldContent";
1045
- };
849
+ text?: string;
1046
850
  }) | ({
1047
851
  __TYPE__: "ExternalLink";
1048
852
  } & {
@@ -1053,11 +857,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1053
857
  preview?: {
1054
858
  title?: string;
1055
859
  } | null | undefined;
1056
- title?: {
1057
- type: "Text";
1058
- value: string;
1059
- __TYPE__: "FieldContent";
1060
- };
860
+ text?: string;
1061
861
  });
1062
862
  start: number;
1063
863
  end: number;
@@ -1206,11 +1006,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1206
1006
  kind: t.StringC;
1207
1007
  }>, t.PartialC<{
1208
1008
  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
- }>>;
1009
+ text: t.StringC;
1214
1010
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1215
1011
  id: t.StringC;
1216
1012
  url: t.StringC;
@@ -1219,30 +1015,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1219
1015
  size: t.StringC;
1220
1016
  }>, t.PartialC<{
1221
1017
  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
- }>>;
1018
+ text: t.StringC;
1227
1019
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1228
1020
  __TYPE__: t.LiteralC<"FileLink">;
1229
1021
  }>, t.PartialC<{
1230
1022
  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
- }>>;
1023
+ text: t.StringC;
1236
1024
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1237
1025
  __TYPE__: t.LiteralC<"DocumentLink">;
1238
1026
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1239
1027
  id: t.Type<string, string, unknown>;
1240
1028
  }>, 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
- }>>;
1029
+ text: t.StringC;
1246
1030
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1247
1031
  __TYPE__: t.LiteralC<"ExternalLink">;
1248
1032
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -1255,11 +1039,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1255
1039
  }, {
1256
1040
  title?: string;
1257
1041
  }, 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
- }>>;
1042
+ text: t.StringC;
1263
1043
  }>]>>]>]>;
1264
1044
  }>>, t.ExactC<t.TypeC<{
1265
1045
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1300,11 +1080,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1300
1080
  kind: string;
1301
1081
  } & {
1302
1082
  date?: string | null | undefined;
1303
- title?: {
1304
- type: "Text";
1305
- value: string;
1306
- __TYPE__: "FieldContent";
1307
- };
1083
+ text?: string;
1308
1084
  }) | ({
1309
1085
  id: string;
1310
1086
  url: string;
@@ -1313,30 +1089,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1313
1089
  size: string;
1314
1090
  } & {
1315
1091
  date?: string | null | undefined;
1316
- title?: {
1317
- type: "Text";
1318
- value: string;
1319
- __TYPE__: "FieldContent";
1320
- };
1092
+ text?: string;
1321
1093
  } & {
1322
1094
  __TYPE__: "FileLink";
1323
1095
  } & {
1324
1096
  size?: string;
1325
- title?: {
1326
- type: "Text";
1327
- value: string;
1328
- __TYPE__: "FieldContent";
1329
- };
1097
+ text?: string;
1330
1098
  }) | ({
1331
1099
  __TYPE__: "DocumentLink";
1332
1100
  } & {
1333
1101
  id: string;
1334
1102
  } & {
1335
- title?: {
1336
- type: "Text";
1337
- value: string;
1338
- __TYPE__: "FieldContent";
1339
- };
1103
+ text?: string;
1340
1104
  }) | ({
1341
1105
  __TYPE__: "ExternalLink";
1342
1106
  } & {
@@ -1347,11 +1111,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1347
1111
  preview?: {
1348
1112
  title?: string;
1349
1113
  } | null | undefined;
1350
- title?: {
1351
- type: "Text";
1352
- value: string;
1353
- __TYPE__: "FieldContent";
1354
- };
1114
+ text?: string;
1355
1115
  }), ({
1356
1116
  __TYPE__: "ImageLink";
1357
1117
  } & {
@@ -1364,11 +1124,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1364
1124
  kind: string;
1365
1125
  } & {
1366
1126
  date?: string | null | undefined;
1367
- title?: {
1368
- type: "Text";
1369
- value: string;
1370
- __TYPE__: "FieldContent";
1371
- };
1127
+ text?: string;
1372
1128
  }) | ({
1373
1129
  id: string;
1374
1130
  url: string;
@@ -1377,30 +1133,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1377
1133
  size: string;
1378
1134
  } & {
1379
1135
  date?: string | null | undefined;
1380
- title?: {
1381
- type: "Text";
1382
- value: string;
1383
- __TYPE__: "FieldContent";
1384
- };
1136
+ text?: string;
1385
1137
  } & {
1386
1138
  __TYPE__: "FileLink";
1387
1139
  } & {
1388
1140
  size?: string;
1389
- title?: {
1390
- type: "Text";
1391
- value: string;
1392
- __TYPE__: "FieldContent";
1393
- };
1141
+ text?: string;
1394
1142
  }) | ({
1395
1143
  __TYPE__: "DocumentLink";
1396
1144
  } & {
1397
1145
  id: string;
1398
1146
  } & {
1399
- title?: {
1400
- type: "Text";
1401
- value: string;
1402
- __TYPE__: "FieldContent";
1403
- };
1147
+ text?: string;
1404
1148
  }) | ({
1405
1149
  __TYPE__: "ExternalLink";
1406
1150
  } & {
@@ -1411,11 +1155,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1411
1155
  preview?: {
1412
1156
  title?: string;
1413
1157
  } | null | undefined;
1414
- title?: {
1415
- type: "Text";
1416
- value: string;
1417
- __TYPE__: "FieldContent";
1418
- };
1158
+ text?: string;
1419
1159
  }), unknown>, t.NullC, t.UndefinedC]>;
1420
1160
  }>]>;
1421
1161
  }>, t.PartialC<{
@@ -1463,11 +1203,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1463
1203
  kind: string;
1464
1204
  } & {
1465
1205
  date?: string | null | undefined;
1466
- title?: {
1467
- type: "Text";
1468
- value: string;
1469
- __TYPE__: "FieldContent";
1470
- };
1206
+ text?: string;
1471
1207
  }) | ({
1472
1208
  id: string;
1473
1209
  url: string;
@@ -1476,30 +1212,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1476
1212
  size: string;
1477
1213
  } & {
1478
1214
  date?: string | null | undefined;
1479
- title?: {
1480
- type: "Text";
1481
- value: string;
1482
- __TYPE__: "FieldContent";
1483
- };
1215
+ text?: string;
1484
1216
  } & {
1485
1217
  __TYPE__: "FileLink";
1486
1218
  } & {
1487
1219
  size?: string;
1488
- title?: {
1489
- type: "Text";
1490
- value: string;
1491
- __TYPE__: "FieldContent";
1492
- };
1220
+ text?: string;
1493
1221
  }) | ({
1494
1222
  __TYPE__: "DocumentLink";
1495
1223
  } & {
1496
1224
  id: string;
1497
1225
  } & {
1498
- title?: {
1499
- type: "Text";
1500
- value: string;
1501
- __TYPE__: "FieldContent";
1502
- };
1226
+ text?: string;
1503
1227
  }) | ({
1504
1228
  __TYPE__: "ExternalLink";
1505
1229
  } & {
@@ -1510,11 +1234,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1510
1234
  preview?: {
1511
1235
  title?: string;
1512
1236
  } | null | undefined;
1513
- title?: {
1514
- type: "Text";
1515
- value: string;
1516
- __TYPE__: "FieldContent";
1517
- };
1237
+ text?: string;
1518
1238
  });
1519
1239
  start: number;
1520
1240
  end: number;
@@ -1541,11 +1261,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1541
1261
  kind: string;
1542
1262
  } & {
1543
1263
  date?: string | null | undefined;
1544
- title?: {
1545
- type: "Text";
1546
- value: string;
1547
- __TYPE__: "FieldContent";
1548
- };
1264
+ text?: string;
1549
1265
  }) | ({
1550
1266
  id: string;
1551
1267
  url: string;
@@ -1554,30 +1270,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1554
1270
  size: string;
1555
1271
  } & {
1556
1272
  date?: string | null | undefined;
1557
- title?: {
1558
- type: "Text";
1559
- value: string;
1560
- __TYPE__: "FieldContent";
1561
- };
1273
+ text?: string;
1562
1274
  } & {
1563
1275
  __TYPE__: "FileLink";
1564
1276
  } & {
1565
1277
  size?: string;
1566
- title?: {
1567
- type: "Text";
1568
- value: string;
1569
- __TYPE__: "FieldContent";
1570
- };
1278
+ text?: string;
1571
1279
  }) | ({
1572
1280
  __TYPE__: "DocumentLink";
1573
1281
  } & {
1574
1282
  id: string;
1575
1283
  } & {
1576
- title?: {
1577
- type: "Text";
1578
- value: string;
1579
- __TYPE__: "FieldContent";
1580
- };
1284
+ text?: string;
1581
1285
  }) | ({
1582
1286
  __TYPE__: "ExternalLink";
1583
1287
  } & {
@@ -1588,11 +1292,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1588
1292
  preview?: {
1589
1293
  title?: string;
1590
1294
  } | null | undefined;
1591
- title?: {
1592
- type: "Text";
1593
- value: string;
1594
- __TYPE__: "FieldContent";
1595
- };
1295
+ text?: string;
1596
1296
  });
1597
1297
  start: number;
1598
1298
  end: number;
@@ -1743,11 +1443,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1743
1443
  kind: t.StringC;
1744
1444
  }>, t.PartialC<{
1745
1445
  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
- }>>;
1446
+ text: t.StringC;
1751
1447
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1752
1448
  id: t.StringC;
1753
1449
  url: t.StringC;
@@ -1756,30 +1452,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1756
1452
  size: t.StringC;
1757
1453
  }>, t.PartialC<{
1758
1454
  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
- }>>;
1455
+ text: t.StringC;
1764
1456
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1765
1457
  __TYPE__: t.LiteralC<"FileLink">;
1766
1458
  }>, t.PartialC<{
1767
1459
  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
- }>>;
1460
+ text: t.StringC;
1773
1461
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1774
1462
  __TYPE__: t.LiteralC<"DocumentLink">;
1775
1463
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1776
1464
  id: t.Type<string, string, unknown>;
1777
1465
  }>, 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
- }>>;
1466
+ text: t.StringC;
1783
1467
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1784
1468
  __TYPE__: t.LiteralC<"ExternalLink">;
1785
1469
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -1792,11 +1476,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1792
1476
  }, {
1793
1477
  title?: string;
1794
1478
  }, 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
- }>>;
1479
+ text: t.StringC;
1800
1480
  }>]>>]>]>;
1801
1481
  }>>, t.ExactC<t.TypeC<{
1802
1482
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1837,11 +1517,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1837
1517
  kind: string;
1838
1518
  } & {
1839
1519
  date?: string | null | undefined;
1840
- title?: {
1841
- type: "Text";
1842
- value: string;
1843
- __TYPE__: "FieldContent";
1844
- };
1520
+ text?: string;
1845
1521
  }) | ({
1846
1522
  id: string;
1847
1523
  url: string;
@@ -1850,30 +1526,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1850
1526
  size: string;
1851
1527
  } & {
1852
1528
  date?: string | null | undefined;
1853
- title?: {
1854
- type: "Text";
1855
- value: string;
1856
- __TYPE__: "FieldContent";
1857
- };
1529
+ text?: string;
1858
1530
  } & {
1859
1531
  __TYPE__: "FileLink";
1860
1532
  } & {
1861
1533
  size?: string;
1862
- title?: {
1863
- type: "Text";
1864
- value: string;
1865
- __TYPE__: "FieldContent";
1866
- };
1534
+ text?: string;
1867
1535
  }) | ({
1868
1536
  __TYPE__: "DocumentLink";
1869
1537
  } & {
1870
1538
  id: string;
1871
1539
  } & {
1872
- title?: {
1873
- type: "Text";
1874
- value: string;
1875
- __TYPE__: "FieldContent";
1876
- };
1540
+ text?: string;
1877
1541
  }) | ({
1878
1542
  __TYPE__: "ExternalLink";
1879
1543
  } & {
@@ -1884,11 +1548,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1884
1548
  preview?: {
1885
1549
  title?: string;
1886
1550
  } | null | undefined;
1887
- title?: {
1888
- type: "Text";
1889
- value: string;
1890
- __TYPE__: "FieldContent";
1891
- };
1551
+ text?: string;
1892
1552
  }), ({
1893
1553
  __TYPE__: "ImageLink";
1894
1554
  } & {
@@ -1901,11 +1561,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1901
1561
  kind: string;
1902
1562
  } & {
1903
1563
  date?: string | null | undefined;
1904
- title?: {
1905
- type: "Text";
1906
- value: string;
1907
- __TYPE__: "FieldContent";
1908
- };
1564
+ text?: string;
1909
1565
  }) | ({
1910
1566
  id: string;
1911
1567
  url: string;
@@ -1914,30 +1570,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1914
1570
  size: string;
1915
1571
  } & {
1916
1572
  date?: string | null | undefined;
1917
- title?: {
1918
- type: "Text";
1919
- value: string;
1920
- __TYPE__: "FieldContent";
1921
- };
1573
+ text?: string;
1922
1574
  } & {
1923
1575
  __TYPE__: "FileLink";
1924
1576
  } & {
1925
1577
  size?: string;
1926
- title?: {
1927
- type: "Text";
1928
- value: string;
1929
- __TYPE__: "FieldContent";
1930
- };
1578
+ text?: string;
1931
1579
  }) | ({
1932
1580
  __TYPE__: "DocumentLink";
1933
1581
  } & {
1934
1582
  id: string;
1935
1583
  } & {
1936
- title?: {
1937
- type: "Text";
1938
- value: string;
1939
- __TYPE__: "FieldContent";
1940
- };
1584
+ text?: string;
1941
1585
  }) | ({
1942
1586
  __TYPE__: "ExternalLink";
1943
1587
  } & {
@@ -1948,11 +1592,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1948
1592
  preview?: {
1949
1593
  title?: string;
1950
1594
  } | null | undefined;
1951
- title?: {
1952
- type: "Text";
1953
- value: string;
1954
- __TYPE__: "FieldContent";
1955
- };
1595
+ text?: string;
1956
1596
  }), unknown>, t.NullC, t.UndefinedC]>;
1957
1597
  }>]>;
1958
1598
  }>, t.PartialC<{
@@ -2000,11 +1640,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2000
1640
  kind: string;
2001
1641
  } & {
2002
1642
  date?: string | null | undefined;
2003
- title?: {
2004
- type: "Text";
2005
- value: string;
2006
- __TYPE__: "FieldContent";
2007
- };
1643
+ text?: string;
2008
1644
  }) | ({
2009
1645
  id: string;
2010
1646
  url: string;
@@ -2013,30 +1649,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2013
1649
  size: string;
2014
1650
  } & {
2015
1651
  date?: string | null | undefined;
2016
- title?: {
2017
- type: "Text";
2018
- value: string;
2019
- __TYPE__: "FieldContent";
2020
- };
1652
+ text?: string;
2021
1653
  } & {
2022
1654
  __TYPE__: "FileLink";
2023
1655
  } & {
2024
1656
  size?: string;
2025
- title?: {
2026
- type: "Text";
2027
- value: string;
2028
- __TYPE__: "FieldContent";
2029
- };
1657
+ text?: string;
2030
1658
  }) | ({
2031
1659
  __TYPE__: "DocumentLink";
2032
1660
  } & {
2033
1661
  id: string;
2034
1662
  } & {
2035
- title?: {
2036
- type: "Text";
2037
- value: string;
2038
- __TYPE__: "FieldContent";
2039
- };
1663
+ text?: string;
2040
1664
  }) | ({
2041
1665
  __TYPE__: "ExternalLink";
2042
1666
  } & {
@@ -2047,11 +1671,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2047
1671
  preview?: {
2048
1672
  title?: string;
2049
1673
  } | null | undefined;
2050
- title?: {
2051
- type: "Text";
2052
- value: string;
2053
- __TYPE__: "FieldContent";
2054
- };
1674
+ text?: string;
2055
1675
  });
2056
1676
  start: number;
2057
1677
  end: number;
@@ -2078,11 +1698,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2078
1698
  kind: string;
2079
1699
  } & {
2080
1700
  date?: string | null | undefined;
2081
- title?: {
2082
- type: "Text";
2083
- value: string;
2084
- __TYPE__: "FieldContent";
2085
- };
1701
+ text?: string;
2086
1702
  }) | ({
2087
1703
  id: string;
2088
1704
  url: string;
@@ -2091,30 +1707,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2091
1707
  size: string;
2092
1708
  } & {
2093
1709
  date?: string | null | undefined;
2094
- title?: {
2095
- type: "Text";
2096
- value: string;
2097
- __TYPE__: "FieldContent";
2098
- };
1710
+ text?: string;
2099
1711
  } & {
2100
1712
  __TYPE__: "FileLink";
2101
1713
  } & {
2102
1714
  size?: string;
2103
- title?: {
2104
- type: "Text";
2105
- value: string;
2106
- __TYPE__: "FieldContent";
2107
- };
1715
+ text?: string;
2108
1716
  }) | ({
2109
1717
  __TYPE__: "DocumentLink";
2110
1718
  } & {
2111
1719
  id: string;
2112
1720
  } & {
2113
- title?: {
2114
- type: "Text";
2115
- value: string;
2116
- __TYPE__: "FieldContent";
2117
- };
1721
+ text?: string;
2118
1722
  }) | ({
2119
1723
  __TYPE__: "ExternalLink";
2120
1724
  } & {
@@ -2125,11 +1729,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2125
1729
  preview?: {
2126
1730
  title?: string;
2127
1731
  } | null | undefined;
2128
- title?: {
2129
- type: "Text";
2130
- value: string;
2131
- __TYPE__: "FieldContent";
2132
- };
1732
+ text?: string;
2133
1733
  });
2134
1734
  start: number;
2135
1735
  end: number;
@@ -2278,11 +1878,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2278
1878
  kind: t.StringC;
2279
1879
  }>, t.PartialC<{
2280
1880
  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
- }>>;
1881
+ text: t.StringC;
2286
1882
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2287
1883
  id: t.StringC;
2288
1884
  url: t.StringC;
@@ -2291,30 +1887,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2291
1887
  size: t.StringC;
2292
1888
  }>, t.PartialC<{
2293
1889
  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
- }>>;
1890
+ text: t.StringC;
2299
1891
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2300
1892
  __TYPE__: t.LiteralC<"FileLink">;
2301
1893
  }>, t.PartialC<{
2302
1894
  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
- }>>;
1895
+ text: t.StringC;
2308
1896
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2309
1897
  __TYPE__: t.LiteralC<"DocumentLink">;
2310
1898
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2311
1899
  id: t.Type<string, string, unknown>;
2312
1900
  }>, 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
- }>>;
1901
+ text: t.StringC;
2318
1902
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2319
1903
  __TYPE__: t.LiteralC<"ExternalLink">;
2320
1904
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2327,11 +1911,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2327
1911
  }, {
2328
1912
  title?: string;
2329
1913
  }, 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
- }>>;
1914
+ text: t.StringC;
2335
1915
  }>]>>]>]>;
2336
1916
  }>>, t.ExactC<t.TypeC<{
2337
1917
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2372,11 +1952,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2372
1952
  kind: string;
2373
1953
  } & {
2374
1954
  date?: string | null | undefined;
2375
- title?: {
2376
- type: "Text";
2377
- value: string;
2378
- __TYPE__: "FieldContent";
2379
- };
1955
+ text?: string;
2380
1956
  }) | ({
2381
1957
  id: string;
2382
1958
  url: string;
@@ -2385,30 +1961,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2385
1961
  size: string;
2386
1962
  } & {
2387
1963
  date?: string | null | undefined;
2388
- title?: {
2389
- type: "Text";
2390
- value: string;
2391
- __TYPE__: "FieldContent";
2392
- };
1964
+ text?: string;
2393
1965
  } & {
2394
1966
  __TYPE__: "FileLink";
2395
1967
  } & {
2396
1968
  size?: string;
2397
- title?: {
2398
- type: "Text";
2399
- value: string;
2400
- __TYPE__: "FieldContent";
2401
- };
1969
+ text?: string;
2402
1970
  }) | ({
2403
1971
  __TYPE__: "DocumentLink";
2404
1972
  } & {
2405
1973
  id: string;
2406
1974
  } & {
2407
- title?: {
2408
- type: "Text";
2409
- value: string;
2410
- __TYPE__: "FieldContent";
2411
- };
1975
+ text?: string;
2412
1976
  }) | ({
2413
1977
  __TYPE__: "ExternalLink";
2414
1978
  } & {
@@ -2419,11 +1983,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2419
1983
  preview?: {
2420
1984
  title?: string;
2421
1985
  } | null | undefined;
2422
- title?: {
2423
- type: "Text";
2424
- value: string;
2425
- __TYPE__: "FieldContent";
2426
- };
1986
+ text?: string;
2427
1987
  }), ({
2428
1988
  __TYPE__: "ImageLink";
2429
1989
  } & {
@@ -2436,11 +1996,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2436
1996
  kind: string;
2437
1997
  } & {
2438
1998
  date?: string | null | undefined;
2439
- title?: {
2440
- type: "Text";
2441
- value: string;
2442
- __TYPE__: "FieldContent";
2443
- };
1999
+ text?: string;
2444
2000
  }) | ({
2445
2001
  id: string;
2446
2002
  url: string;
@@ -2449,30 +2005,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2449
2005
  size: string;
2450
2006
  } & {
2451
2007
  date?: string | null | undefined;
2452
- title?: {
2453
- type: "Text";
2454
- value: string;
2455
- __TYPE__: "FieldContent";
2456
- };
2008
+ text?: string;
2457
2009
  } & {
2458
2010
  __TYPE__: "FileLink";
2459
2011
  } & {
2460
2012
  size?: string;
2461
- title?: {
2462
- type: "Text";
2463
- value: string;
2464
- __TYPE__: "FieldContent";
2465
- };
2013
+ text?: string;
2466
2014
  }) | ({
2467
2015
  __TYPE__: "DocumentLink";
2468
2016
  } & {
2469
2017
  id: string;
2470
2018
  } & {
2471
- title?: {
2472
- type: "Text";
2473
- value: string;
2474
- __TYPE__: "FieldContent";
2475
- };
2019
+ text?: string;
2476
2020
  }) | ({
2477
2021
  __TYPE__: "ExternalLink";
2478
2022
  } & {
@@ -2483,11 +2027,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2483
2027
  preview?: {
2484
2028
  title?: string;
2485
2029
  } | null | undefined;
2486
- title?: {
2487
- type: "Text";
2488
- value: string;
2489
- __TYPE__: "FieldContent";
2490
- };
2030
+ text?: string;
2491
2031
  }), unknown>, t.NullC, t.UndefinedC]>;
2492
2032
  }>]>;
2493
2033
  }>, t.PartialC<{
@@ -2535,11 +2075,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2535
2075
  kind: string;
2536
2076
  } & {
2537
2077
  date?: string | null | undefined;
2538
- title?: {
2539
- type: "Text";
2540
- value: string;
2541
- __TYPE__: "FieldContent";
2542
- };
2078
+ text?: string;
2543
2079
  }) | ({
2544
2080
  id: string;
2545
2081
  url: string;
@@ -2548,30 +2084,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2548
2084
  size: string;
2549
2085
  } & {
2550
2086
  date?: string | null | undefined;
2551
- title?: {
2552
- type: "Text";
2553
- value: string;
2554
- __TYPE__: "FieldContent";
2555
- };
2087
+ text?: string;
2556
2088
  } & {
2557
2089
  __TYPE__: "FileLink";
2558
2090
  } & {
2559
2091
  size?: string;
2560
- title?: {
2561
- type: "Text";
2562
- value: string;
2563
- __TYPE__: "FieldContent";
2564
- };
2092
+ text?: string;
2565
2093
  }) | ({
2566
2094
  __TYPE__: "DocumentLink";
2567
2095
  } & {
2568
2096
  id: string;
2569
2097
  } & {
2570
- title?: {
2571
- type: "Text";
2572
- value: string;
2573
- __TYPE__: "FieldContent";
2574
- };
2098
+ text?: string;
2575
2099
  }) | ({
2576
2100
  __TYPE__: "ExternalLink";
2577
2101
  } & {
@@ -2582,11 +2106,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2582
2106
  preview?: {
2583
2107
  title?: string;
2584
2108
  } | null | undefined;
2585
- title?: {
2586
- type: "Text";
2587
- value: string;
2588
- __TYPE__: "FieldContent";
2589
- };
2109
+ text?: string;
2590
2110
  });
2591
2111
  start: number;
2592
2112
  end: number;
@@ -2613,11 +2133,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2613
2133
  kind: string;
2614
2134
  } & {
2615
2135
  date?: string | null | undefined;
2616
- title?: {
2617
- type: "Text";
2618
- value: string;
2619
- __TYPE__: "FieldContent";
2620
- };
2136
+ text?: string;
2621
2137
  }) | ({
2622
2138
  id: string;
2623
2139
  url: string;
@@ -2626,30 +2142,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2626
2142
  size: string;
2627
2143
  } & {
2628
2144
  date?: string | null | undefined;
2629
- title?: {
2630
- type: "Text";
2631
- value: string;
2632
- __TYPE__: "FieldContent";
2633
- };
2145
+ text?: string;
2634
2146
  } & {
2635
2147
  __TYPE__: "FileLink";
2636
2148
  } & {
2637
2149
  size?: string;
2638
- title?: {
2639
- type: "Text";
2640
- value: string;
2641
- __TYPE__: "FieldContent";
2642
- };
2150
+ text?: string;
2643
2151
  }) | ({
2644
2152
  __TYPE__: "DocumentLink";
2645
2153
  } & {
2646
2154
  id: string;
2647
2155
  } & {
2648
- title?: {
2649
- type: "Text";
2650
- value: string;
2651
- __TYPE__: "FieldContent";
2652
- };
2156
+ text?: string;
2653
2157
  }) | ({
2654
2158
  __TYPE__: "ExternalLink";
2655
2159
  } & {
@@ -2660,11 +2164,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2660
2164
  preview?: {
2661
2165
  title?: string;
2662
2166
  } | null | undefined;
2663
- title?: {
2664
- type: "Text";
2665
- value: string;
2666
- __TYPE__: "FieldContent";
2667
- };
2167
+ text?: string;
2668
2168
  });
2669
2169
  start: number;
2670
2170
  end: number;
@@ -2812,11 +2312,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2812
2312
  kind: t.StringC;
2813
2313
  }>, t.PartialC<{
2814
2314
  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
- }>>;
2315
+ text: t.StringC;
2820
2316
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2821
2317
  id: t.StringC;
2822
2318
  url: t.StringC;
@@ -2825,30 +2321,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2825
2321
  size: t.StringC;
2826
2322
  }>, t.PartialC<{
2827
2323
  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
- }>>;
2324
+ text: t.StringC;
2833
2325
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2834
2326
  __TYPE__: t.LiteralC<"FileLink">;
2835
2327
  }>, t.PartialC<{
2836
2328
  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
- }>>;
2329
+ text: t.StringC;
2842
2330
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2843
2331
  __TYPE__: t.LiteralC<"DocumentLink">;
2844
2332
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2845
2333
  id: t.Type<string, string, unknown>;
2846
2334
  }>, 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
- }>>;
2335
+ text: t.StringC;
2852
2336
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2853
2337
  __TYPE__: t.LiteralC<"ExternalLink">;
2854
2338
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2861,11 +2345,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2861
2345
  }, {
2862
2346
  title?: string;
2863
2347
  }, 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
- }>>;
2348
+ text: t.StringC;
2869
2349
  }>]>>]>]>;
2870
2350
  }>>, t.ExactC<t.TypeC<{
2871
2351
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2906,11 +2386,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2906
2386
  kind: string;
2907
2387
  } & {
2908
2388
  date?: string | null | undefined;
2909
- title?: {
2910
- type: "Text";
2911
- value: string;
2912
- __TYPE__: "FieldContent";
2913
- };
2389
+ text?: string;
2914
2390
  }) | ({
2915
2391
  id: string;
2916
2392
  url: string;
@@ -2919,30 +2395,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2919
2395
  size: string;
2920
2396
  } & {
2921
2397
  date?: string | null | undefined;
2922
- title?: {
2923
- type: "Text";
2924
- value: string;
2925
- __TYPE__: "FieldContent";
2926
- };
2398
+ text?: string;
2927
2399
  } & {
2928
2400
  __TYPE__: "FileLink";
2929
2401
  } & {
2930
2402
  size?: string;
2931
- title?: {
2932
- type: "Text";
2933
- value: string;
2934
- __TYPE__: "FieldContent";
2935
- };
2403
+ text?: string;
2936
2404
  }) | ({
2937
2405
  __TYPE__: "DocumentLink";
2938
2406
  } & {
2939
2407
  id: string;
2940
2408
  } & {
2941
- title?: {
2942
- type: "Text";
2943
- value: string;
2944
- __TYPE__: "FieldContent";
2945
- };
2409
+ text?: string;
2946
2410
  }) | ({
2947
2411
  __TYPE__: "ExternalLink";
2948
2412
  } & {
@@ -2953,11 +2417,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2953
2417
  preview?: {
2954
2418
  title?: string;
2955
2419
  } | null | undefined;
2956
- title?: {
2957
- type: "Text";
2958
- value: string;
2959
- __TYPE__: "FieldContent";
2960
- };
2420
+ text?: string;
2961
2421
  }), ({
2962
2422
  __TYPE__: "ImageLink";
2963
2423
  } & {
@@ -2970,11 +2430,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2970
2430
  kind: string;
2971
2431
  } & {
2972
2432
  date?: string | null | undefined;
2973
- title?: {
2974
- type: "Text";
2975
- value: string;
2976
- __TYPE__: "FieldContent";
2977
- };
2433
+ text?: string;
2978
2434
  }) | ({
2979
2435
  id: string;
2980
2436
  url: string;
@@ -2983,30 +2439,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2983
2439
  size: string;
2984
2440
  } & {
2985
2441
  date?: string | null | undefined;
2986
- title?: {
2987
- type: "Text";
2988
- value: string;
2989
- __TYPE__: "FieldContent";
2990
- };
2442
+ text?: string;
2991
2443
  } & {
2992
2444
  __TYPE__: "FileLink";
2993
2445
  } & {
2994
2446
  size?: string;
2995
- title?: {
2996
- type: "Text";
2997
- value: string;
2998
- __TYPE__: "FieldContent";
2999
- };
2447
+ text?: string;
3000
2448
  }) | ({
3001
2449
  __TYPE__: "DocumentLink";
3002
2450
  } & {
3003
2451
  id: string;
3004
2452
  } & {
3005
- title?: {
3006
- type: "Text";
3007
- value: string;
3008
- __TYPE__: "FieldContent";
3009
- };
2453
+ text?: string;
3010
2454
  }) | ({
3011
2455
  __TYPE__: "ExternalLink";
3012
2456
  } & {
@@ -3017,11 +2461,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3017
2461
  preview?: {
3018
2462
  title?: string;
3019
2463
  } | null | undefined;
3020
- title?: {
3021
- type: "Text";
3022
- value: string;
3023
- __TYPE__: "FieldContent";
3024
- };
2464
+ text?: string;
3025
2465
  }), unknown>, t.NullC, t.UndefinedC]>;
3026
2466
  }>]>;
3027
2467
  }>, t.PartialC<{
@@ -3069,11 +2509,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3069
2509
  kind: string;
3070
2510
  } & {
3071
2511
  date?: string | null | undefined;
3072
- title?: {
3073
- type: "Text";
3074
- value: string;
3075
- __TYPE__: "FieldContent";
3076
- };
2512
+ text?: string;
3077
2513
  }) | ({
3078
2514
  id: string;
3079
2515
  url: string;
@@ -3082,30 +2518,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3082
2518
  size: string;
3083
2519
  } & {
3084
2520
  date?: string | null | undefined;
3085
- title?: {
3086
- type: "Text";
3087
- value: string;
3088
- __TYPE__: "FieldContent";
3089
- };
2521
+ text?: string;
3090
2522
  } & {
3091
2523
  __TYPE__: "FileLink";
3092
2524
  } & {
3093
2525
  size?: string;
3094
- title?: {
3095
- type: "Text";
3096
- value: string;
3097
- __TYPE__: "FieldContent";
3098
- };
2526
+ text?: string;
3099
2527
  }) | ({
3100
2528
  __TYPE__: "DocumentLink";
3101
2529
  } & {
3102
2530
  id: string;
3103
2531
  } & {
3104
- title?: {
3105
- type: "Text";
3106
- value: string;
3107
- __TYPE__: "FieldContent";
3108
- };
2532
+ text?: string;
3109
2533
  }) | ({
3110
2534
  __TYPE__: "ExternalLink";
3111
2535
  } & {
@@ -3116,11 +2540,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3116
2540
  preview?: {
3117
2541
  title?: string;
3118
2542
  } | null | undefined;
3119
- title?: {
3120
- type: "Text";
3121
- value: string;
3122
- __TYPE__: "FieldContent";
3123
- };
2543
+ text?: string;
3124
2544
  });
3125
2545
  start: number;
3126
2546
  end: number;
@@ -3147,11 +2567,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3147
2567
  kind: string;
3148
2568
  } & {
3149
2569
  date?: string | null | undefined;
3150
- title?: {
3151
- type: "Text";
3152
- value: string;
3153
- __TYPE__: "FieldContent";
3154
- };
2570
+ text?: string;
3155
2571
  }) | ({
3156
2572
  id: string;
3157
2573
  url: string;
@@ -3160,30 +2576,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3160
2576
  size: string;
3161
2577
  } & {
3162
2578
  date?: string | null | undefined;
3163
- title?: {
3164
- type: "Text";
3165
- value: string;
3166
- __TYPE__: "FieldContent";
3167
- };
2579
+ text?: string;
3168
2580
  } & {
3169
2581
  __TYPE__: "FileLink";
3170
2582
  } & {
3171
2583
  size?: string;
3172
- title?: {
3173
- type: "Text";
3174
- value: string;
3175
- __TYPE__: "FieldContent";
3176
- };
2584
+ text?: string;
3177
2585
  }) | ({
3178
2586
  __TYPE__: "DocumentLink";
3179
2587
  } & {
3180
2588
  id: string;
3181
2589
  } & {
3182
- title?: {
3183
- type: "Text";
3184
- value: string;
3185
- __TYPE__: "FieldContent";
3186
- };
2590
+ text?: string;
3187
2591
  }) | ({
3188
2592
  __TYPE__: "ExternalLink";
3189
2593
  } & {
@@ -3194,11 +2598,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
3194
2598
  preview?: {
3195
2599
  title?: string;
3196
2600
  } | null | undefined;
3197
- title?: {
3198
- type: "Text";
3199
- value: string;
3200
- __TYPE__: "FieldContent";
3201
- };
2601
+ text?: string;
3202
2602
  });
3203
2603
  start: number;
3204
2604
  end: number;
@@ -3367,11 +2767,7 @@ export declare const DocumentLegacy: {
3367
2767
  kind: string;
3368
2768
  } & {
3369
2769
  date?: string | null | undefined;
3370
- title?: {
3371
- type: "Text";
3372
- value: string;
3373
- __TYPE__: "FieldContent";
3374
- };
2770
+ text?: string;
3375
2771
  }) | ({
3376
2772
  id: string;
3377
2773
  url: string;
@@ -3380,30 +2776,18 @@ export declare const DocumentLegacy: {
3380
2776
  size: string;
3381
2777
  } & {
3382
2778
  date?: string | null | undefined;
3383
- title?: {
3384
- type: "Text";
3385
- value: string;
3386
- __TYPE__: "FieldContent";
3387
- };
2779
+ text?: string;
3388
2780
  } & {
3389
- __TYPE__: "FileLink";
3390
- } & {
3391
- size?: string;
3392
- title?: {
3393
- type: "Text";
3394
- value: string;
3395
- __TYPE__: "FieldContent";
3396
- };
2781
+ __TYPE__: "FileLink";
2782
+ } & {
2783
+ size?: string;
2784
+ text?: string;
3397
2785
  }) | ({
3398
2786
  __TYPE__: "DocumentLink";
3399
2787
  } & {
3400
2788
  id: string;
3401
2789
  } & {
3402
- title?: {
3403
- type: "Text";
3404
- value: string;
3405
- __TYPE__: "FieldContent";
3406
- };
2790
+ text?: string;
3407
2791
  }) | ({
3408
2792
  __TYPE__: "ExternalLink";
3409
2793
  } & {
@@ -3414,11 +2798,7 @@ export declare const DocumentLegacy: {
3414
2798
  preview?: {
3415
2799
  title?: string;
3416
2800
  } | null | undefined;
3417
- title?: {
3418
- type: "Text";
3419
- value: string;
3420
- __TYPE__: "FieldContent";
3421
- };
2801
+ text?: string;
3422
2802
  });
3423
2803
  } | {
3424
2804
  __TYPE__: "StructuredTextContent";
@@ -3459,11 +2839,7 @@ export declare const DocumentLegacy: {
3459
2839
  kind: string;
3460
2840
  } & {
3461
2841
  date?: string | null | undefined;
3462
- title?: {
3463
- type: "Text";
3464
- value: string;
3465
- __TYPE__: "FieldContent";
3466
- };
2842
+ text?: string;
3467
2843
  }) | ({
3468
2844
  id: string;
3469
2845
  url: string;
@@ -3472,30 +2848,18 @@ export declare const DocumentLegacy: {
3472
2848
  size: string;
3473
2849
  } & {
3474
2850
  date?: string | null | undefined;
3475
- title?: {
3476
- type: "Text";
3477
- value: string;
3478
- __TYPE__: "FieldContent";
3479
- };
2851
+ text?: string;
3480
2852
  } & {
3481
2853
  __TYPE__: "FileLink";
3482
2854
  } & {
3483
2855
  size?: string;
3484
- title?: {
3485
- type: "Text";
3486
- value: string;
3487
- __TYPE__: "FieldContent";
3488
- };
2856
+ text?: string;
3489
2857
  }) | ({
3490
2858
  __TYPE__: "DocumentLink";
3491
2859
  } & {
3492
2860
  id: string;
3493
2861
  } & {
3494
- title?: {
3495
- type: "Text";
3496
- value: string;
3497
- __TYPE__: "FieldContent";
3498
- };
2862
+ text?: string;
3499
2863
  }) | ({
3500
2864
  __TYPE__: "ExternalLink";
3501
2865
  } & {
@@ -3506,11 +2870,7 @@ export declare const DocumentLegacy: {
3506
2870
  preview?: {
3507
2871
  title?: string;
3508
2872
  } | null | undefined;
3509
- title?: {
3510
- type: "Text";
3511
- value: string;
3512
- __TYPE__: "FieldContent";
3513
- };
2873
+ text?: string;
3514
2874
  }) | null | undefined;
3515
2875
  };
3516
2876
  } & {
@@ -3558,11 +2918,7 @@ export declare const DocumentLegacy: {
3558
2918
  kind: string;
3559
2919
  } & {
3560
2920
  date?: string | null | undefined;
3561
- title?: {
3562
- type: "Text";
3563
- value: string;
3564
- __TYPE__: "FieldContent";
3565
- };
2921
+ text?: string;
3566
2922
  }) | ({
3567
2923
  id: string;
3568
2924
  url: string;
@@ -3571,30 +2927,18 @@ export declare const DocumentLegacy: {
3571
2927
  size: string;
3572
2928
  } & {
3573
2929
  date?: string | null | undefined;
3574
- title?: {
3575
- type: "Text";
3576
- value: string;
3577
- __TYPE__: "FieldContent";
3578
- };
2930
+ text?: string;
3579
2931
  } & {
3580
2932
  __TYPE__: "FileLink";
3581
2933
  } & {
3582
2934
  size?: string;
3583
- title?: {
3584
- type: "Text";
3585
- value: string;
3586
- __TYPE__: "FieldContent";
3587
- };
2935
+ text?: string;
3588
2936
  }) | ({
3589
2937
  __TYPE__: "DocumentLink";
3590
2938
  } & {
3591
2939
  id: string;
3592
2940
  } & {
3593
- title?: {
3594
- type: "Text";
3595
- value: string;
3596
- __TYPE__: "FieldContent";
3597
- };
2941
+ text?: string;
3598
2942
  }) | ({
3599
2943
  __TYPE__: "ExternalLink";
3600
2944
  } & {
@@ -3605,11 +2949,7 @@ export declare const DocumentLegacy: {
3605
2949
  preview?: {
3606
2950
  title?: string;
3607
2951
  } | null | undefined;
3608
- title?: {
3609
- type: "Text";
3610
- value: string;
3611
- __TYPE__: "FieldContent";
3612
- };
2952
+ text?: string;
3613
2953
  });
3614
2954
  start: number;
3615
2955
  end: number;
@@ -3766,11 +3106,7 @@ export declare const DocumentLegacy: {
3766
3106
  kind: string;
3767
3107
  } & {
3768
3108
  date?: string | null | undefined;
3769
- title?: {
3770
- type: "Text";
3771
- value: string;
3772
- __TYPE__: "FieldContent";
3773
- };
3109
+ text?: string;
3774
3110
  }) | ({
3775
3111
  id: string;
3776
3112
  url: string;
@@ -3779,30 +3115,18 @@ export declare const DocumentLegacy: {
3779
3115
  size: string;
3780
3116
  } & {
3781
3117
  date?: string | null | undefined;
3782
- title?: {
3783
- type: "Text";
3784
- value: string;
3785
- __TYPE__: "FieldContent";
3786
- };
3118
+ text?: string;
3787
3119
  } & {
3788
3120
  __TYPE__: "FileLink";
3789
3121
  } & {
3790
3122
  size?: string;
3791
- title?: {
3792
- type: "Text";
3793
- value: string;
3794
- __TYPE__: "FieldContent";
3795
- };
3123
+ text?: string;
3796
3124
  }) | ({
3797
3125
  __TYPE__: "DocumentLink";
3798
3126
  } & {
3799
3127
  id: string;
3800
3128
  } & {
3801
- title?: {
3802
- type: "Text";
3803
- value: string;
3804
- __TYPE__: "FieldContent";
3805
- };
3129
+ text?: string;
3806
3130
  }) | ({
3807
3131
  __TYPE__: "ExternalLink";
3808
3132
  } & {
@@ -3813,11 +3137,7 @@ export declare const DocumentLegacy: {
3813
3137
  preview?: {
3814
3138
  title?: string;
3815
3139
  } | null | undefined;
3816
- title?: {
3817
- type: "Text";
3818
- value: string;
3819
- __TYPE__: "FieldContent";
3820
- };
3140
+ text?: string;
3821
3141
  });
3822
3142
  } | {
3823
3143
  __TYPE__: "StructuredTextContent";
@@ -3858,11 +3178,7 @@ export declare const DocumentLegacy: {
3858
3178
  kind: string;
3859
3179
  } & {
3860
3180
  date?: string | null | undefined;
3861
- title?: {
3862
- type: "Text";
3863
- value: string;
3864
- __TYPE__: "FieldContent";
3865
- };
3181
+ text?: string;
3866
3182
  }) | ({
3867
3183
  id: string;
3868
3184
  url: string;
@@ -3871,30 +3187,18 @@ export declare const DocumentLegacy: {
3871
3187
  size: string;
3872
3188
  } & {
3873
3189
  date?: string | null | undefined;
3874
- title?: {
3875
- type: "Text";
3876
- value: string;
3877
- __TYPE__: "FieldContent";
3878
- };
3190
+ text?: string;
3879
3191
  } & {
3880
3192
  __TYPE__: "FileLink";
3881
3193
  } & {
3882
3194
  size?: string;
3883
- title?: {
3884
- type: "Text";
3885
- value: string;
3886
- __TYPE__: "FieldContent";
3887
- };
3195
+ text?: string;
3888
3196
  }) | ({
3889
3197
  __TYPE__: "DocumentLink";
3890
3198
  } & {
3891
3199
  id: string;
3892
3200
  } & {
3893
- title?: {
3894
- type: "Text";
3895
- value: string;
3896
- __TYPE__: "FieldContent";
3897
- };
3201
+ text?: string;
3898
3202
  }) | ({
3899
3203
  __TYPE__: "ExternalLink";
3900
3204
  } & {
@@ -3905,11 +3209,7 @@ export declare const DocumentLegacy: {
3905
3209
  preview?: {
3906
3210
  title?: string;
3907
3211
  } | null | undefined;
3908
- title?: {
3909
- type: "Text";
3910
- value: string;
3911
- __TYPE__: "FieldContent";
3912
- };
3212
+ text?: string;
3913
3213
  }) | null | undefined;
3914
3214
  };
3915
3215
  } & {
@@ -3957,11 +3257,7 @@ export declare const DocumentLegacy: {
3957
3257
  kind: string;
3958
3258
  } & {
3959
3259
  date?: string | null | undefined;
3960
- title?: {
3961
- type: "Text";
3962
- value: string;
3963
- __TYPE__: "FieldContent";
3964
- };
3260
+ text?: string;
3965
3261
  }) | ({
3966
3262
  id: string;
3967
3263
  url: string;
@@ -3970,30 +3266,18 @@ export declare const DocumentLegacy: {
3970
3266
  size: string;
3971
3267
  } & {
3972
3268
  date?: string | null | undefined;
3973
- title?: {
3974
- type: "Text";
3975
- value: string;
3976
- __TYPE__: "FieldContent";
3977
- };
3269
+ text?: string;
3978
3270
  } & {
3979
3271
  __TYPE__: "FileLink";
3980
3272
  } & {
3981
3273
  size?: string;
3982
- title?: {
3983
- type: "Text";
3984
- value: string;
3985
- __TYPE__: "FieldContent";
3986
- };
3274
+ text?: string;
3987
3275
  }) | ({
3988
3276
  __TYPE__: "DocumentLink";
3989
3277
  } & {
3990
3278
  id: string;
3991
3279
  } & {
3992
- title?: {
3993
- type: "Text";
3994
- value: string;
3995
- __TYPE__: "FieldContent";
3996
- };
3280
+ text?: string;
3997
3281
  }) | ({
3998
3282
  __TYPE__: "ExternalLink";
3999
3283
  } & {
@@ -4004,11 +3288,7 @@ export declare const DocumentLegacy: {
4004
3288
  preview?: {
4005
3289
  title?: string;
4006
3290
  } | null | undefined;
4007
- title?: {
4008
- type: "Text";
4009
- value: string;
4010
- __TYPE__: "FieldContent";
4011
- };
3291
+ text?: string;
4012
3292
  });
4013
3293
  start: number;
4014
3294
  end: number;
@@ -4159,11 +3439,7 @@ export declare const DocumentLegacy: {
4159
3439
  kind: string;
4160
3440
  } & {
4161
3441
  date?: string | null | undefined;
4162
- title?: {
4163
- type: "Text";
4164
- value: string;
4165
- __TYPE__: "FieldContent";
4166
- };
3442
+ text?: string;
4167
3443
  }) | ({
4168
3444
  id: string;
4169
3445
  url: string;
@@ -4172,30 +3448,18 @@ export declare const DocumentLegacy: {
4172
3448
  size: string;
4173
3449
  } & {
4174
3450
  date?: string | null | undefined;
4175
- title?: {
4176
- type: "Text";
4177
- value: string;
4178
- __TYPE__: "FieldContent";
4179
- };
3451
+ text?: string;
4180
3452
  } & {
4181
3453
  __TYPE__: "FileLink";
4182
3454
  } & {
4183
3455
  size?: string;
4184
- title?: {
4185
- type: "Text";
4186
- value: string;
4187
- __TYPE__: "FieldContent";
4188
- };
3456
+ text?: string;
4189
3457
  }) | ({
4190
3458
  __TYPE__: "DocumentLink";
4191
3459
  } & {
4192
3460
  id: string;
4193
3461
  } & {
4194
- title?: {
4195
- type: "Text";
4196
- value: string;
4197
- __TYPE__: "FieldContent";
4198
- };
3462
+ text?: string;
4199
3463
  }) | ({
4200
3464
  __TYPE__: "ExternalLink";
4201
3465
  } & {
@@ -4206,11 +3470,7 @@ export declare const DocumentLegacy: {
4206
3470
  preview?: {
4207
3471
  title?: string;
4208
3472
  } | null | undefined;
4209
- title?: {
4210
- type: "Text";
4211
- value: string;
4212
- __TYPE__: "FieldContent";
4213
- };
3473
+ text?: string;
4214
3474
  });
4215
3475
  } | {
4216
3476
  __TYPE__: "StructuredTextContent";
@@ -4251,11 +3511,7 @@ export declare const DocumentLegacy: {
4251
3511
  kind: string;
4252
3512
  } & {
4253
3513
  date?: string | null | undefined;
4254
- title?: {
4255
- type: "Text";
4256
- value: string;
4257
- __TYPE__: "FieldContent";
4258
- };
3514
+ text?: string;
4259
3515
  }) | ({
4260
3516
  id: string;
4261
3517
  url: string;
@@ -4264,30 +3520,18 @@ export declare const DocumentLegacy: {
4264
3520
  size: string;
4265
3521
  } & {
4266
3522
  date?: string | null | undefined;
4267
- title?: {
4268
- type: "Text";
4269
- value: string;
4270
- __TYPE__: "FieldContent";
4271
- };
3523
+ text?: string;
4272
3524
  } & {
4273
3525
  __TYPE__: "FileLink";
4274
3526
  } & {
4275
3527
  size?: string;
4276
- title?: {
4277
- type: "Text";
4278
- value: string;
4279
- __TYPE__: "FieldContent";
4280
- };
3528
+ text?: string;
4281
3529
  }) | ({
4282
3530
  __TYPE__: "DocumentLink";
4283
3531
  } & {
4284
3532
  id: string;
4285
3533
  } & {
4286
- title?: {
4287
- type: "Text";
4288
- value: string;
4289
- __TYPE__: "FieldContent";
4290
- };
3534
+ text?: string;
4291
3535
  }) | ({
4292
3536
  __TYPE__: "ExternalLink";
4293
3537
  } & {
@@ -4298,11 +3542,7 @@ export declare const DocumentLegacy: {
4298
3542
  preview?: {
4299
3543
  title?: string;
4300
3544
  } | null | undefined;
4301
- title?: {
4302
- type: "Text";
4303
- value: string;
4304
- __TYPE__: "FieldContent";
4305
- };
3545
+ text?: string;
4306
3546
  }) | null | undefined;
4307
3547
  };
4308
3548
  } & {
@@ -4350,11 +3590,7 @@ export declare const DocumentLegacy: {
4350
3590
  kind: string;
4351
3591
  } & {
4352
3592
  date?: string | null | undefined;
4353
- title?: {
4354
- type: "Text";
4355
- value: string;
4356
- __TYPE__: "FieldContent";
4357
- };
3593
+ text?: string;
4358
3594
  }) | ({
4359
3595
  id: string;
4360
3596
  url: string;
@@ -4363,30 +3599,18 @@ export declare const DocumentLegacy: {
4363
3599
  size: string;
4364
3600
  } & {
4365
3601
  date?: string | null | undefined;
4366
- title?: {
4367
- type: "Text";
4368
- value: string;
4369
- __TYPE__: "FieldContent";
4370
- };
3602
+ text?: string;
4371
3603
  } & {
4372
3604
  __TYPE__: "FileLink";
4373
3605
  } & {
4374
3606
  size?: string;
4375
- title?: {
4376
- type: "Text";
4377
- value: string;
4378
- __TYPE__: "FieldContent";
4379
- };
3607
+ text?: string;
4380
3608
  }) | ({
4381
3609
  __TYPE__: "DocumentLink";
4382
3610
  } & {
4383
3611
  id: string;
4384
3612
  } & {
4385
- title?: {
4386
- type: "Text";
4387
- value: string;
4388
- __TYPE__: "FieldContent";
4389
- };
3613
+ text?: string;
4390
3614
  }) | ({
4391
3615
  __TYPE__: "ExternalLink";
4392
3616
  } & {
@@ -4397,11 +3621,7 @@ export declare const DocumentLegacy: {
4397
3621
  preview?: {
4398
3622
  title?: string;
4399
3623
  } | null | undefined;
4400
- title?: {
4401
- type: "Text";
4402
- value: string;
4403
- __TYPE__: "FieldContent";
4404
- };
3624
+ text?: string;
4405
3625
  });
4406
3626
  start: number;
4407
3627
  end: number;
@@ -4553,11 +3773,7 @@ export declare const DocumentLegacy: {
4553
3773
  kind: string;
4554
3774
  } & {
4555
3775
  date?: string | null | undefined;
4556
- title?: {
4557
- type: "Text";
4558
- value: string;
4559
- __TYPE__: "FieldContent";
4560
- };
3776
+ text?: string;
4561
3777
  }) | ({
4562
3778
  id: string;
4563
3779
  url: string;
@@ -4566,30 +3782,18 @@ export declare const DocumentLegacy: {
4566
3782
  size: string;
4567
3783
  } & {
4568
3784
  date?: string | null | undefined;
4569
- title?: {
4570
- type: "Text";
4571
- value: string;
4572
- __TYPE__: "FieldContent";
4573
- };
3785
+ text?: string;
4574
3786
  } & {
4575
3787
  __TYPE__: "FileLink";
4576
3788
  } & {
4577
3789
  size?: string;
4578
- title?: {
4579
- type: "Text";
4580
- value: string;
4581
- __TYPE__: "FieldContent";
4582
- };
3790
+ text?: string;
4583
3791
  }) | ({
4584
3792
  __TYPE__: "DocumentLink";
4585
3793
  } & {
4586
3794
  id: string;
4587
3795
  } & {
4588
- title?: {
4589
- type: "Text";
4590
- value: string;
4591
- __TYPE__: "FieldContent";
4592
- };
3796
+ text?: string;
4593
3797
  }) | ({
4594
3798
  __TYPE__: "ExternalLink";
4595
3799
  } & {
@@ -4600,11 +3804,7 @@ export declare const DocumentLegacy: {
4600
3804
  preview?: {
4601
3805
  title?: string;
4602
3806
  } | null | undefined;
4603
- title?: {
4604
- type: "Text";
4605
- value: string;
4606
- __TYPE__: "FieldContent";
4607
- };
3807
+ text?: string;
4608
3808
  });
4609
3809
  } | {
4610
3810
  __TYPE__: "StructuredTextContent";
@@ -4645,11 +3845,7 @@ export declare const DocumentLegacy: {
4645
3845
  kind: string;
4646
3846
  } & {
4647
3847
  date?: string | null | undefined;
4648
- title?: {
4649
- type: "Text";
4650
- value: string;
4651
- __TYPE__: "FieldContent";
4652
- };
3848
+ text?: string;
4653
3849
  }) | ({
4654
3850
  id: string;
4655
3851
  url: string;
@@ -4658,30 +3854,18 @@ export declare const DocumentLegacy: {
4658
3854
  size: string;
4659
3855
  } & {
4660
3856
  date?: string | null | undefined;
4661
- title?: {
4662
- type: "Text";
4663
- value: string;
4664
- __TYPE__: "FieldContent";
4665
- };
3857
+ text?: string;
4666
3858
  } & {
4667
3859
  __TYPE__: "FileLink";
4668
3860
  } & {
4669
3861
  size?: string;
4670
- title?: {
4671
- type: "Text";
4672
- value: string;
4673
- __TYPE__: "FieldContent";
4674
- };
3862
+ text?: string;
4675
3863
  }) | ({
4676
3864
  __TYPE__: "DocumentLink";
4677
3865
  } & {
4678
3866
  id: string;
4679
3867
  } & {
4680
- title?: {
4681
- type: "Text";
4682
- value: string;
4683
- __TYPE__: "FieldContent";
4684
- };
3868
+ text?: string;
4685
3869
  }) | ({
4686
3870
  __TYPE__: "ExternalLink";
4687
3871
  } & {
@@ -4692,11 +3876,7 @@ export declare const DocumentLegacy: {
4692
3876
  preview?: {
4693
3877
  title?: string;
4694
3878
  } | null | undefined;
4695
- title?: {
4696
- type: "Text";
4697
- value: string;
4698
- __TYPE__: "FieldContent";
4699
- };
3879
+ text?: string;
4700
3880
  }) | null | undefined;
4701
3881
  };
4702
3882
  } & {
@@ -4744,11 +3924,7 @@ export declare const DocumentLegacy: {
4744
3924
  kind: string;
4745
3925
  } & {
4746
3926
  date?: string | null | undefined;
4747
- title?: {
4748
- type: "Text";
4749
- value: string;
4750
- __TYPE__: "FieldContent";
4751
- };
3927
+ text?: string;
4752
3928
  }) | ({
4753
3929
  id: string;
4754
3930
  url: string;
@@ -4757,30 +3933,18 @@ export declare const DocumentLegacy: {
4757
3933
  size: string;
4758
3934
  } & {
4759
3935
  date?: string | null | undefined;
4760
- title?: {
4761
- type: "Text";
4762
- value: string;
4763
- __TYPE__: "FieldContent";
4764
- };
3936
+ text?: string;
4765
3937
  } & {
4766
3938
  __TYPE__: "FileLink";
4767
3939
  } & {
4768
3940
  size?: string;
4769
- title?: {
4770
- type: "Text";
4771
- value: string;
4772
- __TYPE__: "FieldContent";
4773
- };
3941
+ text?: string;
4774
3942
  }) | ({
4775
3943
  __TYPE__: "DocumentLink";
4776
3944
  } & {
4777
3945
  id: string;
4778
3946
  } & {
4779
- title?: {
4780
- type: "Text";
4781
- value: string;
4782
- __TYPE__: "FieldContent";
4783
- };
3947
+ text?: string;
4784
3948
  }) | ({
4785
3949
  __TYPE__: "ExternalLink";
4786
3950
  } & {
@@ -4791,11 +3955,7 @@ export declare const DocumentLegacy: {
4791
3955
  preview?: {
4792
3956
  title?: string;
4793
3957
  } | null | undefined;
4794
- title?: {
4795
- type: "Text";
4796
- value: string;
4797
- __TYPE__: "FieldContent";
4798
- };
3958
+ text?: string;
4799
3959
  });
4800
3960
  start: number;
4801
3961
  end: number;
@@ -4949,11 +4109,7 @@ export declare const DocumentLegacy: {
4949
4109
  kind: string;
4950
4110
  } & {
4951
4111
  date?: string | null | undefined;
4952
- title?: {
4953
- type: "Text";
4954
- value: string;
4955
- __TYPE__: "FieldContent";
4956
- };
4112
+ text?: string;
4957
4113
  }) | ({
4958
4114
  id: string;
4959
4115
  url: string;
@@ -4962,30 +4118,18 @@ export declare const DocumentLegacy: {
4962
4118
  size: string;
4963
4119
  } & {
4964
4120
  date?: string | null | undefined;
4965
- title?: {
4966
- type: "Text";
4967
- value: string;
4968
- __TYPE__: "FieldContent";
4969
- };
4121
+ text?: string;
4970
4122
  } & {
4971
4123
  __TYPE__: "FileLink";
4972
4124
  } & {
4973
4125
  size?: string;
4974
- title?: {
4975
- type: "Text";
4976
- value: string;
4977
- __TYPE__: "FieldContent";
4978
- };
4126
+ text?: string;
4979
4127
  }) | ({
4980
4128
  __TYPE__: "DocumentLink";
4981
4129
  } & {
4982
4130
  id: string;
4983
4131
  } & {
4984
- title?: {
4985
- type: "Text";
4986
- value: string;
4987
- __TYPE__: "FieldContent";
4988
- };
4132
+ text?: string;
4989
4133
  }) | ({
4990
4134
  __TYPE__: "ExternalLink";
4991
4135
  } & {
@@ -4996,11 +4140,7 @@ export declare const DocumentLegacy: {
4996
4140
  preview?: {
4997
4141
  title?: string;
4998
4142
  } | null | undefined;
4999
- title?: {
5000
- type: "Text";
5001
- value: string;
5002
- __TYPE__: "FieldContent";
5003
- };
4143
+ text?: string;
5004
4144
  });
5005
4145
  } | {
5006
4146
  __TYPE__: "StructuredTextContent";
@@ -5041,11 +4181,7 @@ export declare const DocumentLegacy: {
5041
4181
  kind: string;
5042
4182
  } & {
5043
4183
  date?: string | null | undefined;
5044
- title?: {
5045
- type: "Text";
5046
- value: string;
5047
- __TYPE__: "FieldContent";
5048
- };
4184
+ text?: string;
5049
4185
  }) | ({
5050
4186
  id: string;
5051
4187
  url: string;
@@ -5054,30 +4190,18 @@ export declare const DocumentLegacy: {
5054
4190
  size: string;
5055
4191
  } & {
5056
4192
  date?: string | null | undefined;
5057
- title?: {
5058
- type: "Text";
5059
- value: string;
5060
- __TYPE__: "FieldContent";
5061
- };
4193
+ text?: string;
5062
4194
  } & {
5063
4195
  __TYPE__: "FileLink";
5064
4196
  } & {
5065
4197
  size?: string;
5066
- title?: {
5067
- type: "Text";
5068
- value: string;
5069
- __TYPE__: "FieldContent";
5070
- };
4198
+ text?: string;
5071
4199
  }) | ({
5072
4200
  __TYPE__: "DocumentLink";
5073
4201
  } & {
5074
4202
  id: string;
5075
4203
  } & {
5076
- title?: {
5077
- type: "Text";
5078
- value: string;
5079
- __TYPE__: "FieldContent";
5080
- };
4204
+ text?: string;
5081
4205
  }) | ({
5082
4206
  __TYPE__: "ExternalLink";
5083
4207
  } & {
@@ -5088,11 +4212,7 @@ export declare const DocumentLegacy: {
5088
4212
  preview?: {
5089
4213
  title?: string;
5090
4214
  } | null | undefined;
5091
- title?: {
5092
- type: "Text";
5093
- value: string;
5094
- __TYPE__: "FieldContent";
5095
- };
4215
+ text?: string;
5096
4216
  }) | null | undefined;
5097
4217
  };
5098
4218
  } & {
@@ -5140,11 +4260,7 @@ export declare const DocumentLegacy: {
5140
4260
  kind: string;
5141
4261
  } & {
5142
4262
  date?: string | null | undefined;
5143
- title?: {
5144
- type: "Text";
5145
- value: string;
5146
- __TYPE__: "FieldContent";
5147
- };
4263
+ text?: string;
5148
4264
  }) | ({
5149
4265
  id: string;
5150
4266
  url: string;
@@ -5153,30 +4269,18 @@ export declare const DocumentLegacy: {
5153
4269
  size: string;
5154
4270
  } & {
5155
4271
  date?: string | null | undefined;
5156
- title?: {
5157
- type: "Text";
5158
- value: string;
5159
- __TYPE__: "FieldContent";
5160
- };
4272
+ text?: string;
5161
4273
  } & {
5162
4274
  __TYPE__: "FileLink";
5163
4275
  } & {
5164
4276
  size?: string;
5165
- title?: {
5166
- type: "Text";
5167
- value: string;
5168
- __TYPE__: "FieldContent";
5169
- };
4277
+ text?: string;
5170
4278
  }) | ({
5171
4279
  __TYPE__: "DocumentLink";
5172
4280
  } & {
5173
4281
  id: string;
5174
4282
  } & {
5175
- title?: {
5176
- type: "Text";
5177
- value: string;
5178
- __TYPE__: "FieldContent";
5179
- };
4283
+ text?: string;
5180
4284
  }) | ({
5181
4285
  __TYPE__: "ExternalLink";
5182
4286
  } & {
@@ -5187,11 +4291,7 @@ export declare const DocumentLegacy: {
5187
4291
  preview?: {
5188
4292
  title?: string;
5189
4293
  } | null | undefined;
5190
- title?: {
5191
- type: "Text";
5192
- value: string;
5193
- __TYPE__: "FieldContent";
5194
- };
4294
+ text?: string;
5195
4295
  });
5196
4296
  start: number;
5197
4297
  end: number;
@@ -5343,11 +4443,7 @@ export declare const DocumentLegacy: {
5343
4443
  kind: string;
5344
4444
  } & {
5345
4445
  date?: string | null | undefined;
5346
- title?: {
5347
- type: "Text";
5348
- value: string;
5349
- __TYPE__: "FieldContent";
5350
- };
4446
+ text?: string;
5351
4447
  }) | ({
5352
4448
  id: string;
5353
4449
  url: string;
@@ -5356,30 +4452,18 @@ export declare const DocumentLegacy: {
5356
4452
  size: string;
5357
4453
  } & {
5358
4454
  date?: string | null | undefined;
5359
- title?: {
5360
- type: "Text";
5361
- value: string;
5362
- __TYPE__: "FieldContent";
5363
- };
4455
+ text?: string;
5364
4456
  } & {
5365
4457
  __TYPE__: "FileLink";
5366
4458
  } & {
5367
4459
  size?: string;
5368
- title?: {
5369
- type: "Text";
5370
- value: string;
5371
- __TYPE__: "FieldContent";
5372
- };
4460
+ text?: string;
5373
4461
  }) | ({
5374
4462
  __TYPE__: "DocumentLink";
5375
4463
  } & {
5376
4464
  id: string;
5377
4465
  } & {
5378
- title?: {
5379
- type: "Text";
5380
- value: string;
5381
- __TYPE__: "FieldContent";
5382
- };
4466
+ text?: string;
5383
4467
  }) | ({
5384
4468
  __TYPE__: "ExternalLink";
5385
4469
  } & {
@@ -5390,11 +4474,7 @@ export declare const DocumentLegacy: {
5390
4474
  preview?: {
5391
4475
  title?: string;
5392
4476
  } | null | undefined;
5393
- title?: {
5394
- type: "Text";
5395
- value: string;
5396
- __TYPE__: "FieldContent";
5397
- };
4477
+ text?: string;
5398
4478
  });
5399
4479
  } | {
5400
4480
  __TYPE__: "StructuredTextContent";
@@ -5435,11 +4515,7 @@ export declare const DocumentLegacy: {
5435
4515
  kind: string;
5436
4516
  } & {
5437
4517
  date?: string | null | undefined;
5438
- title?: {
5439
- type: "Text";
5440
- value: string;
5441
- __TYPE__: "FieldContent";
5442
- };
4518
+ text?: string;
5443
4519
  }) | ({
5444
4520
  id: string;
5445
4521
  url: string;
@@ -5448,30 +4524,18 @@ export declare const DocumentLegacy: {
5448
4524
  size: string;
5449
4525
  } & {
5450
4526
  date?: string | null | undefined;
5451
- title?: {
5452
- type: "Text";
5453
- value: string;
5454
- __TYPE__: "FieldContent";
5455
- };
4527
+ text?: string;
5456
4528
  } & {
5457
4529
  __TYPE__: "FileLink";
5458
4530
  } & {
5459
4531
  size?: string;
5460
- title?: {
5461
- type: "Text";
5462
- value: string;
5463
- __TYPE__: "FieldContent";
5464
- };
4532
+ text?: string;
5465
4533
  }) | ({
5466
4534
  __TYPE__: "DocumentLink";
5467
4535
  } & {
5468
4536
  id: string;
5469
4537
  } & {
5470
- title?: {
5471
- type: "Text";
5472
- value: string;
5473
- __TYPE__: "FieldContent";
5474
- };
4538
+ text?: string;
5475
4539
  }) | ({
5476
4540
  __TYPE__: "ExternalLink";
5477
4541
  } & {
@@ -5482,11 +4546,7 @@ export declare const DocumentLegacy: {
5482
4546
  preview?: {
5483
4547
  title?: string;
5484
4548
  } | null | undefined;
5485
- title?: {
5486
- type: "Text";
5487
- value: string;
5488
- __TYPE__: "FieldContent";
5489
- };
4549
+ text?: string;
5490
4550
  }) | null | undefined;
5491
4551
  };
5492
4552
  } & {
@@ -5534,11 +4594,7 @@ export declare const DocumentLegacy: {
5534
4594
  kind: string;
5535
4595
  } & {
5536
4596
  date?: string | null | undefined;
5537
- title?: {
5538
- type: "Text";
5539
- value: string;
5540
- __TYPE__: "FieldContent";
5541
- };
4597
+ text?: string;
5542
4598
  }) | ({
5543
4599
  id: string;
5544
4600
  url: string;
@@ -5547,30 +4603,18 @@ export declare const DocumentLegacy: {
5547
4603
  size: string;
5548
4604
  } & {
5549
4605
  date?: string | null | undefined;
5550
- title?: {
5551
- type: "Text";
5552
- value: string;
5553
- __TYPE__: "FieldContent";
5554
- };
4606
+ text?: string;
5555
4607
  } & {
5556
4608
  __TYPE__: "FileLink";
5557
4609
  } & {
5558
4610
  size?: string;
5559
- title?: {
5560
- type: "Text";
5561
- value: string;
5562
- __TYPE__: "FieldContent";
5563
- };
4611
+ text?: string;
5564
4612
  }) | ({
5565
4613
  __TYPE__: "DocumentLink";
5566
4614
  } & {
5567
4615
  id: string;
5568
4616
  } & {
5569
- title?: {
5570
- type: "Text";
5571
- value: string;
5572
- __TYPE__: "FieldContent";
5573
- };
4617
+ text?: string;
5574
4618
  }) | ({
5575
4619
  __TYPE__: "ExternalLink";
5576
4620
  } & {
@@ -5581,11 +4625,7 @@ export declare const DocumentLegacy: {
5581
4625
  preview?: {
5582
4626
  title?: string;
5583
4627
  } | null | undefined;
5584
- title?: {
5585
- type: "Text";
5586
- value: string;
5587
- __TYPE__: "FieldContent";
5588
- };
4628
+ text?: string;
5589
4629
  });
5590
4630
  start: number;
5591
4631
  end: number;
@@ -5773,11 +4813,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5773
4813
  kind: string;
5774
4814
  } & {
5775
4815
  date?: string | null | undefined;
5776
- title?: {
5777
- type: "Text";
5778
- value: string;
5779
- __TYPE__: "FieldContent";
5780
- };
4816
+ text?: string;
5781
4817
  }) | ({
5782
4818
  id: string;
5783
4819
  url: string;
@@ -5786,30 +4822,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5786
4822
  size: string;
5787
4823
  } & {
5788
4824
  date?: string | null | undefined;
5789
- title?: {
5790
- type: "Text";
5791
- value: string;
5792
- __TYPE__: "FieldContent";
5793
- };
4825
+ text?: string;
5794
4826
  } & {
5795
4827
  __TYPE__: "FileLink";
5796
4828
  } & {
5797
4829
  size?: string;
5798
- title?: {
5799
- type: "Text";
5800
- value: string;
5801
- __TYPE__: "FieldContent";
5802
- };
4830
+ text?: string;
5803
4831
  }) | ({
5804
4832
  __TYPE__: "DocumentLink";
5805
4833
  } & {
5806
4834
  id: string;
5807
4835
  } & {
5808
- title?: {
5809
- type: "Text";
5810
- value: string;
5811
- __TYPE__: "FieldContent";
5812
- };
4836
+ text?: string;
5813
4837
  }) | ({
5814
4838
  __TYPE__: "ExternalLink";
5815
4839
  } & {
@@ -5820,11 +4844,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5820
4844
  preview?: {
5821
4845
  title?: string;
5822
4846
  } | null | undefined;
5823
- title?: {
5824
- type: "Text";
5825
- value: string;
5826
- __TYPE__: "FieldContent";
5827
- };
4847
+ text?: string;
5828
4848
  });
5829
4849
  } | {
5830
4850
  __TYPE__: "StructuredTextContent";
@@ -5865,11 +4885,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5865
4885
  kind: string;
5866
4886
  } & {
5867
4887
  date?: string | null | undefined;
5868
- title?: {
5869
- type: "Text";
5870
- value: string;
5871
- __TYPE__: "FieldContent";
5872
- };
4888
+ text?: string;
5873
4889
  }) | ({
5874
4890
  id: string;
5875
4891
  url: string;
@@ -5878,30 +4894,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5878
4894
  size: string;
5879
4895
  } & {
5880
4896
  date?: string | null | undefined;
5881
- title?: {
5882
- type: "Text";
5883
- value: string;
5884
- __TYPE__: "FieldContent";
5885
- };
4897
+ text?: string;
5886
4898
  } & {
5887
4899
  __TYPE__: "FileLink";
5888
4900
  } & {
5889
4901
  size?: string;
5890
- title?: {
5891
- type: "Text";
5892
- value: string;
5893
- __TYPE__: "FieldContent";
5894
- };
4902
+ text?: string;
5895
4903
  }) | ({
5896
4904
  __TYPE__: "DocumentLink";
5897
4905
  } & {
5898
4906
  id: string;
5899
4907
  } & {
5900
- title?: {
5901
- type: "Text";
5902
- value: string;
5903
- __TYPE__: "FieldContent";
5904
- };
4908
+ text?: string;
5905
4909
  }) | ({
5906
4910
  __TYPE__: "ExternalLink";
5907
4911
  } & {
@@ -5912,11 +4916,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5912
4916
  preview?: {
5913
4917
  title?: string;
5914
4918
  } | null | undefined;
5915
- title?: {
5916
- type: "Text";
5917
- value: string;
5918
- __TYPE__: "FieldContent";
5919
- };
4919
+ text?: string;
5920
4920
  }) | null | undefined;
5921
4921
  };
5922
4922
  } & {
@@ -5964,11 +4964,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5964
4964
  kind: string;
5965
4965
  } & {
5966
4966
  date?: string | null | undefined;
5967
- title?: {
5968
- type: "Text";
5969
- value: string;
5970
- __TYPE__: "FieldContent";
5971
- };
4967
+ text?: string;
5972
4968
  }) | ({
5973
4969
  id: string;
5974
4970
  url: string;
@@ -5977,30 +4973,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5977
4973
  size: string;
5978
4974
  } & {
5979
4975
  date?: string | null | undefined;
5980
- title?: {
5981
- type: "Text";
5982
- value: string;
5983
- __TYPE__: "FieldContent";
5984
- };
4976
+ text?: string;
5985
4977
  } & {
5986
4978
  __TYPE__: "FileLink";
5987
4979
  } & {
5988
4980
  size?: string;
5989
- title?: {
5990
- type: "Text";
5991
- value: string;
5992
- __TYPE__: "FieldContent";
5993
- };
4981
+ text?: string;
5994
4982
  }) | ({
5995
4983
  __TYPE__: "DocumentLink";
5996
4984
  } & {
5997
4985
  id: string;
5998
4986
  } & {
5999
- title?: {
6000
- type: "Text";
6001
- value: string;
6002
- __TYPE__: "FieldContent";
6003
- };
4987
+ text?: string;
6004
4988
  }) | ({
6005
4989
  __TYPE__: "ExternalLink";
6006
4990
  } & {
@@ -6011,11 +4995,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6011
4995
  preview?: {
6012
4996
  title?: string;
6013
4997
  } | null | undefined;
6014
- title?: {
6015
- type: "Text";
6016
- value: string;
6017
- __TYPE__: "FieldContent";
6018
- };
4998
+ text?: string;
6019
4999
  });
6020
5000
  start: number;
6021
5001
  end: number;
@@ -6172,11 +5152,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6172
5152
  kind: string;
6173
5153
  } & {
6174
5154
  date?: string | null | undefined;
6175
- title?: {
6176
- type: "Text";
6177
- value: string;
6178
- __TYPE__: "FieldContent";
6179
- };
5155
+ text?: string;
6180
5156
  }) | ({
6181
5157
  id: string;
6182
5158
  url: string;
@@ -6185,30 +5161,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6185
5161
  size: string;
6186
5162
  } & {
6187
5163
  date?: string | null | undefined;
6188
- title?: {
6189
- type: "Text";
6190
- value: string;
6191
- __TYPE__: "FieldContent";
6192
- };
5164
+ text?: string;
6193
5165
  } & {
6194
5166
  __TYPE__: "FileLink";
6195
5167
  } & {
6196
5168
  size?: string;
6197
- title?: {
6198
- type: "Text";
6199
- value: string;
6200
- __TYPE__: "FieldContent";
6201
- };
5169
+ text?: string;
6202
5170
  }) | ({
6203
5171
  __TYPE__: "DocumentLink";
6204
5172
  } & {
6205
5173
  id: string;
6206
5174
  } & {
6207
- title?: {
6208
- type: "Text";
6209
- value: string;
6210
- __TYPE__: "FieldContent";
6211
- };
5175
+ text?: string;
6212
5176
  }) | ({
6213
5177
  __TYPE__: "ExternalLink";
6214
5178
  } & {
@@ -6219,11 +5183,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6219
5183
  preview?: {
6220
5184
  title?: string;
6221
5185
  } | null | undefined;
6222
- title?: {
6223
- type: "Text";
6224
- value: string;
6225
- __TYPE__: "FieldContent";
6226
- };
5186
+ text?: string;
6227
5187
  });
6228
5188
  } | {
6229
5189
  __TYPE__: "StructuredTextContent";
@@ -6264,11 +5224,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6264
5224
  kind: string;
6265
5225
  } & {
6266
5226
  date?: string | null | undefined;
6267
- title?: {
6268
- type: "Text";
6269
- value: string;
6270
- __TYPE__: "FieldContent";
6271
- };
5227
+ text?: string;
6272
5228
  }) | ({
6273
5229
  id: string;
6274
5230
  url: string;
@@ -6277,30 +5233,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6277
5233
  size: string;
6278
5234
  } & {
6279
5235
  date?: string | null | undefined;
6280
- title?: {
6281
- type: "Text";
6282
- value: string;
6283
- __TYPE__: "FieldContent";
6284
- };
5236
+ text?: string;
6285
5237
  } & {
6286
5238
  __TYPE__: "FileLink";
6287
5239
  } & {
6288
5240
  size?: string;
6289
- title?: {
6290
- type: "Text";
6291
- value: string;
6292
- __TYPE__: "FieldContent";
6293
- };
5241
+ text?: string;
6294
5242
  }) | ({
6295
5243
  __TYPE__: "DocumentLink";
6296
5244
  } & {
6297
5245
  id: string;
6298
5246
  } & {
6299
- title?: {
6300
- type: "Text";
6301
- value: string;
6302
- __TYPE__: "FieldContent";
6303
- };
5247
+ text?: string;
6304
5248
  }) | ({
6305
5249
  __TYPE__: "ExternalLink";
6306
5250
  } & {
@@ -6311,11 +5255,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6311
5255
  preview?: {
6312
5256
  title?: string;
6313
5257
  } | null | undefined;
6314
- title?: {
6315
- type: "Text";
6316
- value: string;
6317
- __TYPE__: "FieldContent";
6318
- };
5258
+ text?: string;
6319
5259
  }) | null | undefined;
6320
5260
  };
6321
5261
  } & {
@@ -6363,11 +5303,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6363
5303
  kind: string;
6364
5304
  } & {
6365
5305
  date?: string | null | undefined;
6366
- title?: {
6367
- type: "Text";
6368
- value: string;
6369
- __TYPE__: "FieldContent";
6370
- };
5306
+ text?: string;
6371
5307
  }) | ({
6372
5308
  id: string;
6373
5309
  url: string;
@@ -6376,30 +5312,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6376
5312
  size: string;
6377
5313
  } & {
6378
5314
  date?: string | null | undefined;
6379
- title?: {
6380
- type: "Text";
6381
- value: string;
6382
- __TYPE__: "FieldContent";
6383
- };
5315
+ text?: string;
6384
5316
  } & {
6385
5317
  __TYPE__: "FileLink";
6386
5318
  } & {
6387
5319
  size?: string;
6388
- title?: {
6389
- type: "Text";
6390
- value: string;
6391
- __TYPE__: "FieldContent";
6392
- };
5320
+ text?: string;
6393
5321
  }) | ({
6394
5322
  __TYPE__: "DocumentLink";
6395
5323
  } & {
6396
5324
  id: string;
6397
5325
  } & {
6398
- title?: {
6399
- type: "Text";
6400
- value: string;
6401
- __TYPE__: "FieldContent";
6402
- };
5326
+ text?: string;
6403
5327
  }) | ({
6404
5328
  __TYPE__: "ExternalLink";
6405
5329
  } & {
@@ -6410,11 +5334,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6410
5334
  preview?: {
6411
5335
  title?: string;
6412
5336
  } | null | undefined;
6413
- title?: {
6414
- type: "Text";
6415
- value: string;
6416
- __TYPE__: "FieldContent";
6417
- };
5337
+ text?: string;
6418
5338
  });
6419
5339
  start: number;
6420
5340
  end: number;
@@ -6565,11 +5485,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6565
5485
  kind: string;
6566
5486
  } & {
6567
5487
  date?: string | null | undefined;
6568
- title?: {
6569
- type: "Text";
6570
- value: string;
6571
- __TYPE__: "FieldContent";
6572
- };
5488
+ text?: string;
6573
5489
  }) | ({
6574
5490
  id: string;
6575
5491
  url: string;
@@ -6578,30 +5494,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6578
5494
  size: string;
6579
5495
  } & {
6580
5496
  date?: string | null | undefined;
6581
- title?: {
6582
- type: "Text";
6583
- value: string;
6584
- __TYPE__: "FieldContent";
6585
- };
5497
+ text?: string;
6586
5498
  } & {
6587
5499
  __TYPE__: "FileLink";
6588
5500
  } & {
6589
5501
  size?: string;
6590
- title?: {
6591
- type: "Text";
6592
- value: string;
6593
- __TYPE__: "FieldContent";
6594
- };
5502
+ text?: string;
6595
5503
  }) | ({
6596
5504
  __TYPE__: "DocumentLink";
6597
5505
  } & {
6598
5506
  id: string;
6599
5507
  } & {
6600
- title?: {
6601
- type: "Text";
6602
- value: string;
6603
- __TYPE__: "FieldContent";
6604
- };
5508
+ text?: string;
6605
5509
  }) | ({
6606
5510
  __TYPE__: "ExternalLink";
6607
5511
  } & {
@@ -6612,11 +5516,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6612
5516
  preview?: {
6613
5517
  title?: string;
6614
5518
  } | null | undefined;
6615
- title?: {
6616
- type: "Text";
6617
- value: string;
6618
- __TYPE__: "FieldContent";
6619
- };
5519
+ text?: string;
6620
5520
  });
6621
5521
  } | {
6622
5522
  __TYPE__: "StructuredTextContent";
@@ -6657,11 +5557,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6657
5557
  kind: string;
6658
5558
  } & {
6659
5559
  date?: string | null | undefined;
6660
- title?: {
6661
- type: "Text";
6662
- value: string;
6663
- __TYPE__: "FieldContent";
6664
- };
5560
+ text?: string;
6665
5561
  }) | ({
6666
5562
  id: string;
6667
5563
  url: string;
@@ -6670,30 +5566,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6670
5566
  size: string;
6671
5567
  } & {
6672
5568
  date?: string | null | undefined;
6673
- title?: {
6674
- type: "Text";
6675
- value: string;
6676
- __TYPE__: "FieldContent";
6677
- };
5569
+ text?: string;
6678
5570
  } & {
6679
5571
  __TYPE__: "FileLink";
6680
5572
  } & {
6681
5573
  size?: string;
6682
- title?: {
6683
- type: "Text";
6684
- value: string;
6685
- __TYPE__: "FieldContent";
6686
- };
5574
+ text?: string;
6687
5575
  }) | ({
6688
5576
  __TYPE__: "DocumentLink";
6689
5577
  } & {
6690
5578
  id: string;
6691
5579
  } & {
6692
- title?: {
6693
- type: "Text";
6694
- value: string;
6695
- __TYPE__: "FieldContent";
6696
- };
5580
+ text?: string;
6697
5581
  }) | ({
6698
5582
  __TYPE__: "ExternalLink";
6699
5583
  } & {
@@ -6704,11 +5588,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6704
5588
  preview?: {
6705
5589
  title?: string;
6706
5590
  } | null | undefined;
6707
- title?: {
6708
- type: "Text";
6709
- value: string;
6710
- __TYPE__: "FieldContent";
6711
- };
5591
+ text?: string;
6712
5592
  }) | null | undefined;
6713
5593
  };
6714
5594
  } & {
@@ -6756,11 +5636,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6756
5636
  kind: string;
6757
5637
  } & {
6758
5638
  date?: string | null | undefined;
6759
- title?: {
6760
- type: "Text";
6761
- value: string;
6762
- __TYPE__: "FieldContent";
6763
- };
5639
+ text?: string;
6764
5640
  }) | ({
6765
5641
  id: string;
6766
5642
  url: string;
@@ -6769,30 +5645,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6769
5645
  size: string;
6770
5646
  } & {
6771
5647
  date?: string | null | undefined;
6772
- title?: {
6773
- type: "Text";
6774
- value: string;
6775
- __TYPE__: "FieldContent";
6776
- };
5648
+ text?: string;
6777
5649
  } & {
6778
5650
  __TYPE__: "FileLink";
6779
5651
  } & {
6780
5652
  size?: string;
6781
- title?: {
6782
- type: "Text";
6783
- value: string;
6784
- __TYPE__: "FieldContent";
6785
- };
5653
+ text?: string;
6786
5654
  }) | ({
6787
5655
  __TYPE__: "DocumentLink";
6788
5656
  } & {
6789
5657
  id: string;
6790
5658
  } & {
6791
- title?: {
6792
- type: "Text";
6793
- value: string;
6794
- __TYPE__: "FieldContent";
6795
- };
5659
+ text?: string;
6796
5660
  }) | ({
6797
5661
  __TYPE__: "ExternalLink";
6798
5662
  } & {
@@ -6803,11 +5667,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6803
5667
  preview?: {
6804
5668
  title?: string;
6805
5669
  } | null | undefined;
6806
- title?: {
6807
- type: "Text";
6808
- value: string;
6809
- __TYPE__: "FieldContent";
6810
- };
5670
+ text?: string;
6811
5671
  });
6812
5672
  start: number;
6813
5673
  end: number;
@@ -6959,11 +5819,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6959
5819
  kind: string;
6960
5820
  } & {
6961
5821
  date?: string | null | undefined;
6962
- title?: {
6963
- type: "Text";
6964
- value: string;
6965
- __TYPE__: "FieldContent";
6966
- };
5822
+ text?: string;
6967
5823
  }) | ({
6968
5824
  id: string;
6969
5825
  url: string;
@@ -6972,30 +5828,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6972
5828
  size: string;
6973
5829
  } & {
6974
5830
  date?: string | null | undefined;
6975
- title?: {
6976
- type: "Text";
6977
- value: string;
6978
- __TYPE__: "FieldContent";
6979
- };
5831
+ text?: string;
6980
5832
  } & {
6981
5833
  __TYPE__: "FileLink";
6982
5834
  } & {
6983
5835
  size?: string;
6984
- title?: {
6985
- type: "Text";
6986
- value: string;
6987
- __TYPE__: "FieldContent";
6988
- };
5836
+ text?: string;
6989
5837
  }) | ({
6990
5838
  __TYPE__: "DocumentLink";
6991
5839
  } & {
6992
5840
  id: string;
6993
5841
  } & {
6994
- title?: {
6995
- type: "Text";
6996
- value: string;
6997
- __TYPE__: "FieldContent";
6998
- };
5842
+ text?: string;
6999
5843
  }) | ({
7000
5844
  __TYPE__: "ExternalLink";
7001
5845
  } & {
@@ -7006,11 +5850,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7006
5850
  preview?: {
7007
5851
  title?: string;
7008
5852
  } | null | undefined;
7009
- title?: {
7010
- type: "Text";
7011
- value: string;
7012
- __TYPE__: "FieldContent";
7013
- };
5853
+ text?: string;
7014
5854
  });
7015
5855
  } | {
7016
5856
  __TYPE__: "StructuredTextContent";
@@ -7051,11 +5891,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7051
5891
  kind: string;
7052
5892
  } & {
7053
5893
  date?: string | null | undefined;
7054
- title?: {
7055
- type: "Text";
7056
- value: string;
7057
- __TYPE__: "FieldContent";
7058
- };
5894
+ text?: string;
7059
5895
  }) | ({
7060
5896
  id: string;
7061
5897
  url: string;
@@ -7064,30 +5900,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7064
5900
  size: string;
7065
5901
  } & {
7066
5902
  date?: string | null | undefined;
7067
- title?: {
7068
- type: "Text";
7069
- value: string;
7070
- __TYPE__: "FieldContent";
7071
- };
5903
+ text?: string;
7072
5904
  } & {
7073
5905
  __TYPE__: "FileLink";
7074
5906
  } & {
7075
5907
  size?: string;
7076
- title?: {
7077
- type: "Text";
7078
- value: string;
7079
- __TYPE__: "FieldContent";
7080
- };
5908
+ text?: string;
7081
5909
  }) | ({
7082
5910
  __TYPE__: "DocumentLink";
7083
5911
  } & {
7084
5912
  id: string;
7085
5913
  } & {
7086
- title?: {
7087
- type: "Text";
7088
- value: string;
7089
- __TYPE__: "FieldContent";
7090
- };
5914
+ text?: string;
7091
5915
  }) | ({
7092
5916
  __TYPE__: "ExternalLink";
7093
5917
  } & {
@@ -7098,11 +5922,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7098
5922
  preview?: {
7099
5923
  title?: string;
7100
5924
  } | null | undefined;
7101
- title?: {
7102
- type: "Text";
7103
- value: string;
7104
- __TYPE__: "FieldContent";
7105
- };
5925
+ text?: string;
7106
5926
  }) | null | undefined;
7107
5927
  };
7108
5928
  } & {
@@ -7150,11 +5970,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7150
5970
  kind: string;
7151
5971
  } & {
7152
5972
  date?: string | null | undefined;
7153
- title?: {
7154
- type: "Text";
7155
- value: string;
7156
- __TYPE__: "FieldContent";
7157
- };
5973
+ text?: string;
7158
5974
  }) | ({
7159
5975
  id: string;
7160
5976
  url: string;
@@ -7163,30 +5979,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7163
5979
  size: string;
7164
5980
  } & {
7165
5981
  date?: string | null | undefined;
7166
- title?: {
7167
- type: "Text";
7168
- value: string;
7169
- __TYPE__: "FieldContent";
7170
- };
5982
+ text?: string;
7171
5983
  } & {
7172
5984
  __TYPE__: "FileLink";
7173
5985
  } & {
7174
5986
  size?: string;
7175
- title?: {
7176
- type: "Text";
7177
- value: string;
7178
- __TYPE__: "FieldContent";
7179
- };
5987
+ text?: string;
7180
5988
  }) | ({
7181
5989
  __TYPE__: "DocumentLink";
7182
5990
  } & {
7183
5991
  id: string;
7184
5992
  } & {
7185
- title?: {
7186
- type: "Text";
7187
- value: string;
7188
- __TYPE__: "FieldContent";
7189
- };
5993
+ text?: string;
7190
5994
  }) | ({
7191
5995
  __TYPE__: "ExternalLink";
7192
5996
  } & {
@@ -7197,11 +6001,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7197
6001
  preview?: {
7198
6002
  title?: string;
7199
6003
  } | null | undefined;
7200
- title?: {
7201
- type: "Text";
7202
- value: string;
7203
- __TYPE__: "FieldContent";
7204
- };
6004
+ text?: string;
7205
6005
  });
7206
6006
  start: number;
7207
6007
  end: number;
@@ -7355,11 +6155,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7355
6155
  kind: string;
7356
6156
  } & {
7357
6157
  date?: string | null | undefined;
7358
- title?: {
7359
- type: "Text";
7360
- value: string;
7361
- __TYPE__: "FieldContent";
7362
- };
6158
+ text?: string;
7363
6159
  }) | ({
7364
6160
  id: string;
7365
6161
  url: string;
@@ -7368,30 +6164,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7368
6164
  size: string;
7369
6165
  } & {
7370
6166
  date?: string | null | undefined;
7371
- title?: {
7372
- type: "Text";
7373
- value: string;
7374
- __TYPE__: "FieldContent";
7375
- };
6167
+ text?: string;
7376
6168
  } & {
7377
6169
  __TYPE__: "FileLink";
7378
6170
  } & {
7379
6171
  size?: string;
7380
- title?: {
7381
- type: "Text";
7382
- value: string;
7383
- __TYPE__: "FieldContent";
7384
- };
6172
+ text?: string;
7385
6173
  }) | ({
7386
6174
  __TYPE__: "DocumentLink";
7387
6175
  } & {
7388
6176
  id: string;
7389
6177
  } & {
7390
- title?: {
7391
- type: "Text";
7392
- value: string;
7393
- __TYPE__: "FieldContent";
7394
- };
6178
+ text?: string;
7395
6179
  }) | ({
7396
6180
  __TYPE__: "ExternalLink";
7397
6181
  } & {
@@ -7402,11 +6186,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7402
6186
  preview?: {
7403
6187
  title?: string;
7404
6188
  } | null | undefined;
7405
- title?: {
7406
- type: "Text";
7407
- value: string;
7408
- __TYPE__: "FieldContent";
7409
- };
6189
+ text?: string;
7410
6190
  });
7411
6191
  } | {
7412
6192
  __TYPE__: "StructuredTextContent";
@@ -7447,11 +6227,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7447
6227
  kind: string;
7448
6228
  } & {
7449
6229
  date?: string | null | undefined;
7450
- title?: {
7451
- type: "Text";
7452
- value: string;
7453
- __TYPE__: "FieldContent";
7454
- };
6230
+ text?: string;
7455
6231
  }) | ({
7456
6232
  id: string;
7457
6233
  url: string;
@@ -7460,30 +6236,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7460
6236
  size: string;
7461
6237
  } & {
7462
6238
  date?: string | null | undefined;
7463
- title?: {
7464
- type: "Text";
7465
- value: string;
7466
- __TYPE__: "FieldContent";
7467
- };
6239
+ text?: string;
7468
6240
  } & {
7469
6241
  __TYPE__: "FileLink";
7470
6242
  } & {
7471
6243
  size?: string;
7472
- title?: {
7473
- type: "Text";
7474
- value: string;
7475
- __TYPE__: "FieldContent";
7476
- };
6244
+ text?: string;
7477
6245
  }) | ({
7478
6246
  __TYPE__: "DocumentLink";
7479
6247
  } & {
7480
6248
  id: string;
7481
6249
  } & {
7482
- title?: {
7483
- type: "Text";
7484
- value: string;
7485
- __TYPE__: "FieldContent";
7486
- };
6250
+ text?: string;
7487
6251
  }) | ({
7488
6252
  __TYPE__: "ExternalLink";
7489
6253
  } & {
@@ -7494,11 +6258,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7494
6258
  preview?: {
7495
6259
  title?: string;
7496
6260
  } | null | undefined;
7497
- title?: {
7498
- type: "Text";
7499
- value: string;
7500
- __TYPE__: "FieldContent";
7501
- };
6261
+ text?: string;
7502
6262
  }) | null | undefined;
7503
6263
  };
7504
6264
  } & {
@@ -7546,11 +6306,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7546
6306
  kind: string;
7547
6307
  } & {
7548
6308
  date?: string | null | undefined;
7549
- title?: {
7550
- type: "Text";
7551
- value: string;
7552
- __TYPE__: "FieldContent";
7553
- };
6309
+ text?: string;
7554
6310
  }) | ({
7555
6311
  id: string;
7556
6312
  url: string;
@@ -7559,30 +6315,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7559
6315
  size: string;
7560
6316
  } & {
7561
6317
  date?: string | null | undefined;
7562
- title?: {
7563
- type: "Text";
7564
- value: string;
7565
- __TYPE__: "FieldContent";
7566
- };
6318
+ text?: string;
7567
6319
  } & {
7568
6320
  __TYPE__: "FileLink";
7569
6321
  } & {
7570
6322
  size?: string;
7571
- title?: {
7572
- type: "Text";
7573
- value: string;
7574
- __TYPE__: "FieldContent";
7575
- };
6323
+ text?: string;
7576
6324
  }) | ({
7577
6325
  __TYPE__: "DocumentLink";
7578
6326
  } & {
7579
6327
  id: string;
7580
6328
  } & {
7581
- title?: {
7582
- type: "Text";
7583
- value: string;
7584
- __TYPE__: "FieldContent";
7585
- };
6329
+ text?: string;
7586
6330
  }) | ({
7587
6331
  __TYPE__: "ExternalLink";
7588
6332
  } & {
@@ -7593,11 +6337,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7593
6337
  preview?: {
7594
6338
  title?: string;
7595
6339
  } | null | undefined;
7596
- title?: {
7597
- type: "Text";
7598
- value: string;
7599
- __TYPE__: "FieldContent";
7600
- };
6340
+ text?: string;
7601
6341
  });
7602
6342
  start: number;
7603
6343
  end: number;
@@ -7749,11 +6489,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7749
6489
  kind: string;
7750
6490
  } & {
7751
6491
  date?: string | null | undefined;
7752
- title?: {
7753
- type: "Text";
7754
- value: string;
7755
- __TYPE__: "FieldContent";
7756
- };
6492
+ text?: string;
7757
6493
  }) | ({
7758
6494
  id: string;
7759
6495
  url: string;
@@ -7762,30 +6498,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7762
6498
  size: string;
7763
6499
  } & {
7764
6500
  date?: string | null | undefined;
7765
- title?: {
7766
- type: "Text";
7767
- value: string;
7768
- __TYPE__: "FieldContent";
7769
- };
6501
+ text?: string;
7770
6502
  } & {
7771
6503
  __TYPE__: "FileLink";
7772
6504
  } & {
7773
6505
  size?: string;
7774
- title?: {
7775
- type: "Text";
7776
- value: string;
7777
- __TYPE__: "FieldContent";
7778
- };
6506
+ text?: string;
7779
6507
  }) | ({
7780
6508
  __TYPE__: "DocumentLink";
7781
6509
  } & {
7782
6510
  id: string;
7783
6511
  } & {
7784
- title?: {
7785
- type: "Text";
7786
- value: string;
7787
- __TYPE__: "FieldContent";
7788
- };
6512
+ text?: string;
7789
6513
  }) | ({
7790
6514
  __TYPE__: "ExternalLink";
7791
6515
  } & {
@@ -7796,11 +6520,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7796
6520
  preview?: {
7797
6521
  title?: string;
7798
6522
  } | null | undefined;
7799
- title?: {
7800
- type: "Text";
7801
- value: string;
7802
- __TYPE__: "FieldContent";
7803
- };
6523
+ text?: string;
7804
6524
  });
7805
6525
  } | {
7806
6526
  __TYPE__: "StructuredTextContent";
@@ -7841,11 +6561,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7841
6561
  kind: string;
7842
6562
  } & {
7843
6563
  date?: string | null | undefined;
7844
- title?: {
7845
- type: "Text";
7846
- value: string;
7847
- __TYPE__: "FieldContent";
7848
- };
6564
+ text?: string;
7849
6565
  }) | ({
7850
6566
  id: string;
7851
6567
  url: string;
@@ -7854,30 +6570,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7854
6570
  size: string;
7855
6571
  } & {
7856
6572
  date?: string | null | undefined;
7857
- title?: {
7858
- type: "Text";
7859
- value: string;
7860
- __TYPE__: "FieldContent";
7861
- };
6573
+ text?: string;
7862
6574
  } & {
7863
6575
  __TYPE__: "FileLink";
7864
6576
  } & {
7865
6577
  size?: string;
7866
- title?: {
7867
- type: "Text";
7868
- value: string;
7869
- __TYPE__: "FieldContent";
7870
- };
6578
+ text?: string;
7871
6579
  }) | ({
7872
6580
  __TYPE__: "DocumentLink";
7873
6581
  } & {
7874
6582
  id: string;
7875
6583
  } & {
7876
- title?: {
7877
- type: "Text";
7878
- value: string;
7879
- __TYPE__: "FieldContent";
7880
- };
6584
+ text?: string;
7881
6585
  }) | ({
7882
6586
  __TYPE__: "ExternalLink";
7883
6587
  } & {
@@ -7888,11 +6592,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7888
6592
  preview?: {
7889
6593
  title?: string;
7890
6594
  } | null | undefined;
7891
- title?: {
7892
- type: "Text";
7893
- value: string;
7894
- __TYPE__: "FieldContent";
7895
- };
6595
+ text?: string;
7896
6596
  }) | null | undefined;
7897
6597
  };
7898
6598
  } & {
@@ -7940,11 +6640,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7940
6640
  kind: string;
7941
6641
  } & {
7942
6642
  date?: string | null | undefined;
7943
- title?: {
7944
- type: "Text";
7945
- value: string;
7946
- __TYPE__: "FieldContent";
7947
- };
6643
+ text?: string;
7948
6644
  }) | ({
7949
6645
  id: string;
7950
6646
  url: string;
@@ -7953,30 +6649,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7953
6649
  size: string;
7954
6650
  } & {
7955
6651
  date?: string | null | undefined;
7956
- title?: {
7957
- type: "Text";
7958
- value: string;
7959
- __TYPE__: "FieldContent";
7960
- };
6652
+ text?: string;
7961
6653
  } & {
7962
6654
  __TYPE__: "FileLink";
7963
6655
  } & {
7964
6656
  size?: string;
7965
- title?: {
7966
- type: "Text";
7967
- value: string;
7968
- __TYPE__: "FieldContent";
7969
- };
6657
+ text?: string;
7970
6658
  }) | ({
7971
6659
  __TYPE__: "DocumentLink";
7972
6660
  } & {
7973
6661
  id: string;
7974
6662
  } & {
7975
- title?: {
7976
- type: "Text";
7977
- value: string;
7978
- __TYPE__: "FieldContent";
7979
- };
6663
+ text?: string;
7980
6664
  }) | ({
7981
6665
  __TYPE__: "ExternalLink";
7982
6666
  } & {
@@ -7987,11 +6671,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7987
6671
  preview?: {
7988
6672
  title?: string;
7989
6673
  } | null | undefined;
7990
- title?: {
7991
- type: "Text";
7992
- value: string;
7993
- __TYPE__: "FieldContent";
7994
- };
6674
+ text?: string;
7995
6675
  });
7996
6676
  start: number;
7997
6677
  end: number;