@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
@@ -125,11 +125,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
125
125
  kind: t.StringC;
126
126
  }>, t.PartialC<{
127
127
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
128
- title: t.ExactC<t.TypeC<{
129
- type: t.LiteralC<"Text">;
130
- value: t.Type<string, string, unknown>;
131
- __TYPE__: t.LiteralC<"FieldContent">;
132
- }>>;
128
+ text: t.StringC;
133
129
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
134
130
  id: t.StringC;
135
131
  url: t.StringC;
@@ -138,30 +134,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
138
134
  size: t.StringC;
139
135
  }>, t.PartialC<{
140
136
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
141
- title: t.ExactC<t.TypeC<{
142
- type: t.LiteralC<"Text">;
143
- value: t.Type<string, string, unknown>;
144
- __TYPE__: t.LiteralC<"FieldContent">;
145
- }>>;
137
+ text: t.StringC;
146
138
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
147
139
  __TYPE__: t.LiteralC<"FileLink">;
148
140
  }>, t.PartialC<{
149
141
  size: t.StringC;
150
- title: t.ExactC<t.TypeC<{
151
- type: t.LiteralC<"Text">;
152
- value: t.Type<string, string, unknown>;
153
- __TYPE__: t.LiteralC<"FieldContent">;
154
- }>>;
142
+ text: t.StringC;
155
143
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
156
144
  __TYPE__: t.LiteralC<"DocumentLink">;
157
145
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
158
146
  id: t.Type<string, string, unknown>;
159
147
  }>, t.PartialC<{
160
- title: t.ExactC<t.TypeC<{
161
- type: t.LiteralC<"Text">;
162
- value: t.Type<string, string, unknown>;
163
- __TYPE__: t.LiteralC<"FieldContent">;
164
- }>>;
148
+ text: t.StringC;
165
149
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
166
150
  __TYPE__: t.LiteralC<"ExternalLink">;
167
151
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -174,11 +158,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
174
158
  }, {
175
159
  title?: string;
176
160
  }, unknown>, t.NullC, t.UndefinedC]>;
177
- title: t.ExactC<t.TypeC<{
178
- type: t.LiteralC<"Text">;
179
- value: t.Type<string, string, unknown>;
180
- __TYPE__: t.LiteralC<"FieldContent">;
181
- }>>;
161
+ text: t.StringC;
182
162
  }>]>>]>]>;
183
163
  }>>, t.ExactC<t.TypeC<{
184
164
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -219,11 +199,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
219
199
  kind: string;
220
200
  } & {
221
201
  date?: string | null | undefined;
222
- title?: {
223
- type: "Text";
224
- value: string;
225
- __TYPE__: "FieldContent";
226
- };
202
+ text?: string;
227
203
  }) | ({
228
204
  id: string;
229
205
  url: string;
@@ -232,30 +208,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
232
208
  size: string;
233
209
  } & {
234
210
  date?: string | null | undefined;
235
- title?: {
236
- type: "Text";
237
- value: string;
238
- __TYPE__: "FieldContent";
239
- };
211
+ text?: string;
240
212
  } & {
241
213
  __TYPE__: "FileLink";
242
214
  } & {
243
215
  size?: string;
244
- title?: {
245
- type: "Text";
246
- value: string;
247
- __TYPE__: "FieldContent";
248
- };
216
+ text?: string;
249
217
  }) | ({
250
218
  __TYPE__: "DocumentLink";
251
219
  } & {
252
220
  id: string;
253
221
  } & {
254
- title?: {
255
- type: "Text";
256
- value: string;
257
- __TYPE__: "FieldContent";
258
- };
222
+ text?: string;
259
223
  }) | ({
260
224
  __TYPE__: "ExternalLink";
261
225
  } & {
@@ -266,11 +230,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
266
230
  preview?: {
267
231
  title?: string;
268
232
  } | null | undefined;
269
- title?: {
270
- type: "Text";
271
- value: string;
272
- __TYPE__: "FieldContent";
273
- };
233
+ text?: string;
274
234
  }), ({
275
235
  __TYPE__: "ImageLink";
276
236
  } & {
@@ -283,11 +243,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
283
243
  kind: string;
284
244
  } & {
285
245
  date?: string | null | undefined;
286
- title?: {
287
- type: "Text";
288
- value: string;
289
- __TYPE__: "FieldContent";
290
- };
246
+ text?: string;
291
247
  }) | ({
292
248
  id: string;
293
249
  url: string;
@@ -296,30 +252,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
296
252
  size: string;
297
253
  } & {
298
254
  date?: string | null | undefined;
299
- title?: {
300
- type: "Text";
301
- value: string;
302
- __TYPE__: "FieldContent";
303
- };
255
+ text?: string;
304
256
  } & {
305
257
  __TYPE__: "FileLink";
306
258
  } & {
307
259
  size?: string;
308
- title?: {
309
- type: "Text";
310
- value: string;
311
- __TYPE__: "FieldContent";
312
- };
260
+ text?: string;
313
261
  }) | ({
314
262
  __TYPE__: "DocumentLink";
315
263
  } & {
316
264
  id: string;
317
265
  } & {
318
- title?: {
319
- type: "Text";
320
- value: string;
321
- __TYPE__: "FieldContent";
322
- };
266
+ text?: string;
323
267
  }) | ({
324
268
  __TYPE__: "ExternalLink";
325
269
  } & {
@@ -330,11 +274,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
330
274
  preview?: {
331
275
  title?: string;
332
276
  } | null | undefined;
333
- title?: {
334
- type: "Text";
335
- value: string;
336
- __TYPE__: "FieldContent";
337
- };
277
+ text?: string;
338
278
  }), unknown>, t.NullC, t.UndefinedC]>;
339
279
  }>]>;
340
280
  }>, t.PartialC<{
@@ -382,11 +322,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
382
322
  kind: string;
383
323
  } & {
384
324
  date?: string | null | undefined;
385
- title?: {
386
- type: "Text";
387
- value: string;
388
- __TYPE__: "FieldContent";
389
- };
325
+ text?: string;
390
326
  }) | ({
391
327
  id: string;
392
328
  url: string;
@@ -395,30 +331,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
395
331
  size: string;
396
332
  } & {
397
333
  date?: string | null | undefined;
398
- title?: {
399
- type: "Text";
400
- value: string;
401
- __TYPE__: "FieldContent";
402
- };
334
+ text?: string;
403
335
  } & {
404
336
  __TYPE__: "FileLink";
405
337
  } & {
406
338
  size?: string;
407
- title?: {
408
- type: "Text";
409
- value: string;
410
- __TYPE__: "FieldContent";
411
- };
339
+ text?: string;
412
340
  }) | ({
413
341
  __TYPE__: "DocumentLink";
414
342
  } & {
415
343
  id: string;
416
344
  } & {
417
- title?: {
418
- type: "Text";
419
- value: string;
420
- __TYPE__: "FieldContent";
421
- };
345
+ text?: string;
422
346
  }) | ({
423
347
  __TYPE__: "ExternalLink";
424
348
  } & {
@@ -429,11 +353,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
429
353
  preview?: {
430
354
  title?: string;
431
355
  } | null | undefined;
432
- title?: {
433
- type: "Text";
434
- value: string;
435
- __TYPE__: "FieldContent";
436
- };
356
+ text?: string;
437
357
  });
438
358
  start: number;
439
359
  end: number;
@@ -460,11 +380,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
460
380
  kind: string;
461
381
  } & {
462
382
  date?: string | null | undefined;
463
- title?: {
464
- type: "Text";
465
- value: string;
466
- __TYPE__: "FieldContent";
467
- };
383
+ text?: string;
468
384
  }) | ({
469
385
  id: string;
470
386
  url: string;
@@ -473,30 +389,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
473
389
  size: string;
474
390
  } & {
475
391
  date?: string | null | undefined;
476
- title?: {
477
- type: "Text";
478
- value: string;
479
- __TYPE__: "FieldContent";
480
- };
392
+ text?: string;
481
393
  } & {
482
394
  __TYPE__: "FileLink";
483
395
  } & {
484
396
  size?: string;
485
- title?: {
486
- type: "Text";
487
- value: string;
488
- __TYPE__: "FieldContent";
489
- };
397
+ text?: string;
490
398
  }) | ({
491
399
  __TYPE__: "DocumentLink";
492
400
  } & {
493
401
  id: string;
494
402
  } & {
495
- title?: {
496
- type: "Text";
497
- value: string;
498
- __TYPE__: "FieldContent";
499
- };
403
+ text?: string;
500
404
  }) | ({
501
405
  __TYPE__: "ExternalLink";
502
406
  } & {
@@ -507,11 +411,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
507
411
  preview?: {
508
412
  title?: string;
509
413
  } | null | undefined;
510
- title?: {
511
- type: "Text";
512
- value: string;
513
- __TYPE__: "FieldContent";
514
- };
414
+ text?: string;
515
415
  });
516
416
  start: number;
517
417
  end: number;
@@ -668,11 +568,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
668
568
  kind: t.StringC;
669
569
  }>, t.PartialC<{
670
570
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
671
- title: t.ExactC<t.TypeC<{
672
- type: t.LiteralC<"Text">;
673
- value: t.Type<string, string, unknown>;
674
- __TYPE__: t.LiteralC<"FieldContent">;
675
- }>>;
571
+ text: t.StringC;
676
572
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
677
573
  id: t.StringC;
678
574
  url: t.StringC;
@@ -681,30 +577,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
681
577
  size: t.StringC;
682
578
  }>, t.PartialC<{
683
579
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
684
- title: t.ExactC<t.TypeC<{
685
- type: t.LiteralC<"Text">;
686
- value: t.Type<string, string, unknown>;
687
- __TYPE__: t.LiteralC<"FieldContent">;
688
- }>>;
580
+ text: t.StringC;
689
581
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
690
582
  __TYPE__: t.LiteralC<"FileLink">;
691
583
  }>, t.PartialC<{
692
584
  size: t.StringC;
693
- title: t.ExactC<t.TypeC<{
694
- type: t.LiteralC<"Text">;
695
- value: t.Type<string, string, unknown>;
696
- __TYPE__: t.LiteralC<"FieldContent">;
697
- }>>;
585
+ text: t.StringC;
698
586
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
699
587
  __TYPE__: t.LiteralC<"DocumentLink">;
700
588
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
701
589
  id: t.Type<string, string, unknown>;
702
590
  }>, t.PartialC<{
703
- title: t.ExactC<t.TypeC<{
704
- type: t.LiteralC<"Text">;
705
- value: t.Type<string, string, unknown>;
706
- __TYPE__: t.LiteralC<"FieldContent">;
707
- }>>;
591
+ text: t.StringC;
708
592
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
709
593
  __TYPE__: t.LiteralC<"ExternalLink">;
710
594
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -717,11 +601,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
717
601
  }, {
718
602
  title?: string;
719
603
  }, unknown>, t.NullC, t.UndefinedC]>;
720
- title: t.ExactC<t.TypeC<{
721
- type: t.LiteralC<"Text">;
722
- value: t.Type<string, string, unknown>;
723
- __TYPE__: t.LiteralC<"FieldContent">;
724
- }>>;
604
+ text: t.StringC;
725
605
  }>]>>]>]>;
726
606
  }>>, t.ExactC<t.TypeC<{
727
607
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -762,11 +642,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
762
642
  kind: string;
763
643
  } & {
764
644
  date?: string | null | undefined;
765
- title?: {
766
- type: "Text";
767
- value: string;
768
- __TYPE__: "FieldContent";
769
- };
645
+ text?: string;
770
646
  }) | ({
771
647
  id: string;
772
648
  url: string;
@@ -775,30 +651,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
775
651
  size: string;
776
652
  } & {
777
653
  date?: string | null | undefined;
778
- title?: {
779
- type: "Text";
780
- value: string;
781
- __TYPE__: "FieldContent";
782
- };
654
+ text?: string;
783
655
  } & {
784
656
  __TYPE__: "FileLink";
785
657
  } & {
786
658
  size?: string;
787
- title?: {
788
- type: "Text";
789
- value: string;
790
- __TYPE__: "FieldContent";
791
- };
659
+ text?: string;
792
660
  }) | ({
793
661
  __TYPE__: "DocumentLink";
794
662
  } & {
795
663
  id: string;
796
664
  } & {
797
- title?: {
798
- type: "Text";
799
- value: string;
800
- __TYPE__: "FieldContent";
801
- };
665
+ text?: string;
802
666
  }) | ({
803
667
  __TYPE__: "ExternalLink";
804
668
  } & {
@@ -809,11 +673,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
809
673
  preview?: {
810
674
  title?: string;
811
675
  } | null | undefined;
812
- title?: {
813
- type: "Text";
814
- value: string;
815
- __TYPE__: "FieldContent";
816
- };
676
+ text?: string;
817
677
  }), ({
818
678
  __TYPE__: "ImageLink";
819
679
  } & {
@@ -826,11 +686,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
826
686
  kind: string;
827
687
  } & {
828
688
  date?: string | null | undefined;
829
- title?: {
830
- type: "Text";
831
- value: string;
832
- __TYPE__: "FieldContent";
833
- };
689
+ text?: string;
834
690
  }) | ({
835
691
  id: string;
836
692
  url: string;
@@ -839,30 +695,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
839
695
  size: string;
840
696
  } & {
841
697
  date?: string | null | undefined;
842
- title?: {
843
- type: "Text";
844
- value: string;
845
- __TYPE__: "FieldContent";
846
- };
698
+ text?: string;
847
699
  } & {
848
700
  __TYPE__: "FileLink";
849
701
  } & {
850
702
  size?: string;
851
- title?: {
852
- type: "Text";
853
- value: string;
854
- __TYPE__: "FieldContent";
855
- };
703
+ text?: string;
856
704
  }) | ({
857
705
  __TYPE__: "DocumentLink";
858
706
  } & {
859
707
  id: string;
860
708
  } & {
861
- title?: {
862
- type: "Text";
863
- value: string;
864
- __TYPE__: "FieldContent";
865
- };
709
+ text?: string;
866
710
  }) | ({
867
711
  __TYPE__: "ExternalLink";
868
712
  } & {
@@ -873,11 +717,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
873
717
  preview?: {
874
718
  title?: string;
875
719
  } | null | undefined;
876
- title?: {
877
- type: "Text";
878
- value: string;
879
- __TYPE__: "FieldContent";
880
- };
720
+ text?: string;
881
721
  }), unknown>, t.NullC, t.UndefinedC]>;
882
722
  }>]>;
883
723
  }>, t.PartialC<{
@@ -925,11 +765,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
925
765
  kind: string;
926
766
  } & {
927
767
  date?: string | null | undefined;
928
- title?: {
929
- type: "Text";
930
- value: string;
931
- __TYPE__: "FieldContent";
932
- };
768
+ text?: string;
933
769
  }) | ({
934
770
  id: string;
935
771
  url: string;
@@ -938,30 +774,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
938
774
  size: string;
939
775
  } & {
940
776
  date?: string | null | undefined;
941
- title?: {
942
- type: "Text";
943
- value: string;
944
- __TYPE__: "FieldContent";
945
- };
777
+ text?: string;
946
778
  } & {
947
779
  __TYPE__: "FileLink";
948
780
  } & {
949
781
  size?: string;
950
- title?: {
951
- type: "Text";
952
- value: string;
953
- __TYPE__: "FieldContent";
954
- };
782
+ text?: string;
955
783
  }) | ({
956
784
  __TYPE__: "DocumentLink";
957
785
  } & {
958
786
  id: string;
959
787
  } & {
960
- title?: {
961
- type: "Text";
962
- value: string;
963
- __TYPE__: "FieldContent";
964
- };
788
+ text?: string;
965
789
  }) | ({
966
790
  __TYPE__: "ExternalLink";
967
791
  } & {
@@ -972,11 +796,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
972
796
  preview?: {
973
797
  title?: string;
974
798
  } | null | undefined;
975
- title?: {
976
- type: "Text";
977
- value: string;
978
- __TYPE__: "FieldContent";
979
- };
799
+ text?: string;
980
800
  });
981
801
  start: number;
982
802
  end: number;
@@ -1003,11 +823,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1003
823
  kind: string;
1004
824
  } & {
1005
825
  date?: string | null | undefined;
1006
- title?: {
1007
- type: "Text";
1008
- value: string;
1009
- __TYPE__: "FieldContent";
1010
- };
826
+ text?: string;
1011
827
  }) | ({
1012
828
  id: string;
1013
829
  url: string;
@@ -1016,30 +832,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1016
832
  size: string;
1017
833
  } & {
1018
834
  date?: string | null | undefined;
1019
- title?: {
1020
- type: "Text";
1021
- value: string;
1022
- __TYPE__: "FieldContent";
1023
- };
835
+ text?: string;
1024
836
  } & {
1025
837
  __TYPE__: "FileLink";
1026
838
  } & {
1027
839
  size?: string;
1028
- title?: {
1029
- type: "Text";
1030
- value: string;
1031
- __TYPE__: "FieldContent";
1032
- };
840
+ text?: string;
1033
841
  }) | ({
1034
842
  __TYPE__: "DocumentLink";
1035
843
  } & {
1036
844
  id: string;
1037
845
  } & {
1038
- title?: {
1039
- type: "Text";
1040
- value: string;
1041
- __TYPE__: "FieldContent";
1042
- };
846
+ text?: string;
1043
847
  }) | ({
1044
848
  __TYPE__: "ExternalLink";
1045
849
  } & {
@@ -1050,11 +854,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1050
854
  preview?: {
1051
855
  title?: string;
1052
856
  } | null | undefined;
1053
- title?: {
1054
- type: "Text";
1055
- value: string;
1056
- __TYPE__: "FieldContent";
1057
- };
857
+ text?: string;
1058
858
  });
1059
859
  start: number;
1060
860
  end: number;
@@ -1203,11 +1003,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1203
1003
  kind: t.StringC;
1204
1004
  }>, t.PartialC<{
1205
1005
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1206
- title: t.ExactC<t.TypeC<{
1207
- type: t.LiteralC<"Text">;
1208
- value: t.Type<string, string, unknown>;
1209
- __TYPE__: t.LiteralC<"FieldContent">;
1210
- }>>;
1006
+ text: t.StringC;
1211
1007
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1212
1008
  id: t.StringC;
1213
1009
  url: t.StringC;
@@ -1216,30 +1012,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1216
1012
  size: t.StringC;
1217
1013
  }>, t.PartialC<{
1218
1014
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1219
- title: t.ExactC<t.TypeC<{
1220
- type: t.LiteralC<"Text">;
1221
- value: t.Type<string, string, unknown>;
1222
- __TYPE__: t.LiteralC<"FieldContent">;
1223
- }>>;
1015
+ text: t.StringC;
1224
1016
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1225
1017
  __TYPE__: t.LiteralC<"FileLink">;
1226
1018
  }>, t.PartialC<{
1227
1019
  size: t.StringC;
1228
- title: t.ExactC<t.TypeC<{
1229
- type: t.LiteralC<"Text">;
1230
- value: t.Type<string, string, unknown>;
1231
- __TYPE__: t.LiteralC<"FieldContent">;
1232
- }>>;
1020
+ text: t.StringC;
1233
1021
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1234
1022
  __TYPE__: t.LiteralC<"DocumentLink">;
1235
1023
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1236
1024
  id: t.Type<string, string, unknown>;
1237
1025
  }>, t.PartialC<{
1238
- title: t.ExactC<t.TypeC<{
1239
- type: t.LiteralC<"Text">;
1240
- value: t.Type<string, string, unknown>;
1241
- __TYPE__: t.LiteralC<"FieldContent">;
1242
- }>>;
1026
+ text: t.StringC;
1243
1027
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1244
1028
  __TYPE__: t.LiteralC<"ExternalLink">;
1245
1029
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -1252,11 +1036,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1252
1036
  }, {
1253
1037
  title?: string;
1254
1038
  }, unknown>, t.NullC, t.UndefinedC]>;
1255
- title: t.ExactC<t.TypeC<{
1256
- type: t.LiteralC<"Text">;
1257
- value: t.Type<string, string, unknown>;
1258
- __TYPE__: t.LiteralC<"FieldContent">;
1259
- }>>;
1039
+ text: t.StringC;
1260
1040
  }>]>>]>]>;
1261
1041
  }>>, t.ExactC<t.TypeC<{
1262
1042
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1297,11 +1077,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1297
1077
  kind: string;
1298
1078
  } & {
1299
1079
  date?: string | null | undefined;
1300
- title?: {
1301
- type: "Text";
1302
- value: string;
1303
- __TYPE__: "FieldContent";
1304
- };
1080
+ text?: string;
1305
1081
  }) | ({
1306
1082
  id: string;
1307
1083
  url: string;
@@ -1310,30 +1086,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1310
1086
  size: string;
1311
1087
  } & {
1312
1088
  date?: string | null | undefined;
1313
- title?: {
1314
- type: "Text";
1315
- value: string;
1316
- __TYPE__: "FieldContent";
1317
- };
1089
+ text?: string;
1318
1090
  } & {
1319
1091
  __TYPE__: "FileLink";
1320
1092
  } & {
1321
1093
  size?: string;
1322
- title?: {
1323
- type: "Text";
1324
- value: string;
1325
- __TYPE__: "FieldContent";
1326
- };
1094
+ text?: string;
1327
1095
  }) | ({
1328
1096
  __TYPE__: "DocumentLink";
1329
1097
  } & {
1330
1098
  id: string;
1331
1099
  } & {
1332
- title?: {
1333
- type: "Text";
1334
- value: string;
1335
- __TYPE__: "FieldContent";
1336
- };
1100
+ text?: string;
1337
1101
  }) | ({
1338
1102
  __TYPE__: "ExternalLink";
1339
1103
  } & {
@@ -1344,11 +1108,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1344
1108
  preview?: {
1345
1109
  title?: string;
1346
1110
  } | null | undefined;
1347
- title?: {
1348
- type: "Text";
1349
- value: string;
1350
- __TYPE__: "FieldContent";
1351
- };
1111
+ text?: string;
1352
1112
  }), ({
1353
1113
  __TYPE__: "ImageLink";
1354
1114
  } & {
@@ -1361,11 +1121,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1361
1121
  kind: string;
1362
1122
  } & {
1363
1123
  date?: string | null | undefined;
1364
- title?: {
1365
- type: "Text";
1366
- value: string;
1367
- __TYPE__: "FieldContent";
1368
- };
1124
+ text?: string;
1369
1125
  }) | ({
1370
1126
  id: string;
1371
1127
  url: string;
@@ -1374,30 +1130,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1374
1130
  size: string;
1375
1131
  } & {
1376
1132
  date?: string | null | undefined;
1377
- title?: {
1378
- type: "Text";
1379
- value: string;
1380
- __TYPE__: "FieldContent";
1381
- };
1133
+ text?: string;
1382
1134
  } & {
1383
1135
  __TYPE__: "FileLink";
1384
1136
  } & {
1385
1137
  size?: string;
1386
- title?: {
1387
- type: "Text";
1388
- value: string;
1389
- __TYPE__: "FieldContent";
1390
- };
1138
+ text?: string;
1391
1139
  }) | ({
1392
1140
  __TYPE__: "DocumentLink";
1393
1141
  } & {
1394
1142
  id: string;
1395
1143
  } & {
1396
- title?: {
1397
- type: "Text";
1398
- value: string;
1399
- __TYPE__: "FieldContent";
1400
- };
1144
+ text?: string;
1401
1145
  }) | ({
1402
1146
  __TYPE__: "ExternalLink";
1403
1147
  } & {
@@ -1408,11 +1152,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1408
1152
  preview?: {
1409
1153
  title?: string;
1410
1154
  } | null | undefined;
1411
- title?: {
1412
- type: "Text";
1413
- value: string;
1414
- __TYPE__: "FieldContent";
1415
- };
1155
+ text?: string;
1416
1156
  }), unknown>, t.NullC, t.UndefinedC]>;
1417
1157
  }>]>;
1418
1158
  }>, t.PartialC<{
@@ -1460,11 +1200,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1460
1200
  kind: string;
1461
1201
  } & {
1462
1202
  date?: string | null | undefined;
1463
- title?: {
1464
- type: "Text";
1465
- value: string;
1466
- __TYPE__: "FieldContent";
1467
- };
1203
+ text?: string;
1468
1204
  }) | ({
1469
1205
  id: string;
1470
1206
  url: string;
@@ -1473,30 +1209,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1473
1209
  size: string;
1474
1210
  } & {
1475
1211
  date?: string | null | undefined;
1476
- title?: {
1477
- type: "Text";
1478
- value: string;
1479
- __TYPE__: "FieldContent";
1480
- };
1212
+ text?: string;
1481
1213
  } & {
1482
1214
  __TYPE__: "FileLink";
1483
1215
  } & {
1484
1216
  size?: string;
1485
- title?: {
1486
- type: "Text";
1487
- value: string;
1488
- __TYPE__: "FieldContent";
1489
- };
1217
+ text?: string;
1490
1218
  }) | ({
1491
1219
  __TYPE__: "DocumentLink";
1492
1220
  } & {
1493
1221
  id: string;
1494
1222
  } & {
1495
- title?: {
1496
- type: "Text";
1497
- value: string;
1498
- __TYPE__: "FieldContent";
1499
- };
1223
+ text?: string;
1500
1224
  }) | ({
1501
1225
  __TYPE__: "ExternalLink";
1502
1226
  } & {
@@ -1507,11 +1231,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1507
1231
  preview?: {
1508
1232
  title?: string;
1509
1233
  } | null | undefined;
1510
- title?: {
1511
- type: "Text";
1512
- value: string;
1513
- __TYPE__: "FieldContent";
1514
- };
1234
+ text?: string;
1515
1235
  });
1516
1236
  start: number;
1517
1237
  end: number;
@@ -1538,11 +1258,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1538
1258
  kind: string;
1539
1259
  } & {
1540
1260
  date?: string | null | undefined;
1541
- title?: {
1542
- type: "Text";
1543
- value: string;
1544
- __TYPE__: "FieldContent";
1545
- };
1261
+ text?: string;
1546
1262
  }) | ({
1547
1263
  id: string;
1548
1264
  url: string;
@@ -1551,30 +1267,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1551
1267
  size: string;
1552
1268
  } & {
1553
1269
  date?: string | null | undefined;
1554
- title?: {
1555
- type: "Text";
1556
- value: string;
1557
- __TYPE__: "FieldContent";
1558
- };
1270
+ text?: string;
1559
1271
  } & {
1560
1272
  __TYPE__: "FileLink";
1561
1273
  } & {
1562
1274
  size?: string;
1563
- title?: {
1564
- type: "Text";
1565
- value: string;
1566
- __TYPE__: "FieldContent";
1567
- };
1275
+ text?: string;
1568
1276
  }) | ({
1569
1277
  __TYPE__: "DocumentLink";
1570
1278
  } & {
1571
1279
  id: string;
1572
1280
  } & {
1573
- title?: {
1574
- type: "Text";
1575
- value: string;
1576
- __TYPE__: "FieldContent";
1577
- };
1281
+ text?: string;
1578
1282
  }) | ({
1579
1283
  __TYPE__: "ExternalLink";
1580
1284
  } & {
@@ -1585,11 +1289,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1585
1289
  preview?: {
1586
1290
  title?: string;
1587
1291
  } | null | undefined;
1588
- title?: {
1589
- type: "Text";
1590
- value: string;
1591
- __TYPE__: "FieldContent";
1592
- };
1292
+ text?: string;
1593
1293
  });
1594
1294
  start: number;
1595
1295
  end: number;
@@ -1740,11 +1440,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1740
1440
  kind: t.StringC;
1741
1441
  }>, t.PartialC<{
1742
1442
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1743
- title: t.ExactC<t.TypeC<{
1744
- type: t.LiteralC<"Text">;
1745
- value: t.Type<string, string, unknown>;
1746
- __TYPE__: t.LiteralC<"FieldContent">;
1747
- }>>;
1443
+ text: t.StringC;
1748
1444
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1749
1445
  id: t.StringC;
1750
1446
  url: t.StringC;
@@ -1753,30 +1449,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1753
1449
  size: t.StringC;
1754
1450
  }>, t.PartialC<{
1755
1451
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1756
- title: t.ExactC<t.TypeC<{
1757
- type: t.LiteralC<"Text">;
1758
- value: t.Type<string, string, unknown>;
1759
- __TYPE__: t.LiteralC<"FieldContent">;
1760
- }>>;
1452
+ text: t.StringC;
1761
1453
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1762
1454
  __TYPE__: t.LiteralC<"FileLink">;
1763
1455
  }>, t.PartialC<{
1764
1456
  size: t.StringC;
1765
- title: t.ExactC<t.TypeC<{
1766
- type: t.LiteralC<"Text">;
1767
- value: t.Type<string, string, unknown>;
1768
- __TYPE__: t.LiteralC<"FieldContent">;
1769
- }>>;
1457
+ text: t.StringC;
1770
1458
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1771
1459
  __TYPE__: t.LiteralC<"DocumentLink">;
1772
1460
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1773
1461
  id: t.Type<string, string, unknown>;
1774
1462
  }>, t.PartialC<{
1775
- title: t.ExactC<t.TypeC<{
1776
- type: t.LiteralC<"Text">;
1777
- value: t.Type<string, string, unknown>;
1778
- __TYPE__: t.LiteralC<"FieldContent">;
1779
- }>>;
1463
+ text: t.StringC;
1780
1464
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1781
1465
  __TYPE__: t.LiteralC<"ExternalLink">;
1782
1466
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -1789,11 +1473,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1789
1473
  }, {
1790
1474
  title?: string;
1791
1475
  }, unknown>, t.NullC, t.UndefinedC]>;
1792
- title: t.ExactC<t.TypeC<{
1793
- type: t.LiteralC<"Text">;
1794
- value: t.Type<string, string, unknown>;
1795
- __TYPE__: t.LiteralC<"FieldContent">;
1796
- }>>;
1476
+ text: t.StringC;
1797
1477
  }>]>>]>]>;
1798
1478
  }>>, t.ExactC<t.TypeC<{
1799
1479
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -1834,11 +1514,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1834
1514
  kind: string;
1835
1515
  } & {
1836
1516
  date?: string | null | undefined;
1837
- title?: {
1838
- type: "Text";
1839
- value: string;
1840
- __TYPE__: "FieldContent";
1841
- };
1517
+ text?: string;
1842
1518
  }) | ({
1843
1519
  id: string;
1844
1520
  url: string;
@@ -1847,30 +1523,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1847
1523
  size: string;
1848
1524
  } & {
1849
1525
  date?: string | null | undefined;
1850
- title?: {
1851
- type: "Text";
1852
- value: string;
1853
- __TYPE__: "FieldContent";
1854
- };
1526
+ text?: string;
1855
1527
  } & {
1856
1528
  __TYPE__: "FileLink";
1857
1529
  } & {
1858
1530
  size?: string;
1859
- title?: {
1860
- type: "Text";
1861
- value: string;
1862
- __TYPE__: "FieldContent";
1863
- };
1531
+ text?: string;
1864
1532
  }) | ({
1865
1533
  __TYPE__: "DocumentLink";
1866
1534
  } & {
1867
1535
  id: string;
1868
1536
  } & {
1869
- title?: {
1870
- type: "Text";
1871
- value: string;
1872
- __TYPE__: "FieldContent";
1873
- };
1537
+ text?: string;
1874
1538
  }) | ({
1875
1539
  __TYPE__: "ExternalLink";
1876
1540
  } & {
@@ -1881,11 +1545,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1881
1545
  preview?: {
1882
1546
  title?: string;
1883
1547
  } | null | undefined;
1884
- title?: {
1885
- type: "Text";
1886
- value: string;
1887
- __TYPE__: "FieldContent";
1888
- };
1548
+ text?: string;
1889
1549
  }), ({
1890
1550
  __TYPE__: "ImageLink";
1891
1551
  } & {
@@ -1898,11 +1558,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1898
1558
  kind: string;
1899
1559
  } & {
1900
1560
  date?: string | null | undefined;
1901
- title?: {
1902
- type: "Text";
1903
- value: string;
1904
- __TYPE__: "FieldContent";
1905
- };
1561
+ text?: string;
1906
1562
  }) | ({
1907
1563
  id: string;
1908
1564
  url: string;
@@ -1911,30 +1567,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1911
1567
  size: string;
1912
1568
  } & {
1913
1569
  date?: string | null | undefined;
1914
- title?: {
1915
- type: "Text";
1916
- value: string;
1917
- __TYPE__: "FieldContent";
1918
- };
1570
+ text?: string;
1919
1571
  } & {
1920
1572
  __TYPE__: "FileLink";
1921
1573
  } & {
1922
1574
  size?: string;
1923
- title?: {
1924
- type: "Text";
1925
- value: string;
1926
- __TYPE__: "FieldContent";
1927
- };
1575
+ text?: string;
1928
1576
  }) | ({
1929
1577
  __TYPE__: "DocumentLink";
1930
1578
  } & {
1931
1579
  id: string;
1932
1580
  } & {
1933
- title?: {
1934
- type: "Text";
1935
- value: string;
1936
- __TYPE__: "FieldContent";
1937
- };
1581
+ text?: string;
1938
1582
  }) | ({
1939
1583
  __TYPE__: "ExternalLink";
1940
1584
  } & {
@@ -1945,11 +1589,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1945
1589
  preview?: {
1946
1590
  title?: string;
1947
1591
  } | null | undefined;
1948
- title?: {
1949
- type: "Text";
1950
- value: string;
1951
- __TYPE__: "FieldContent";
1952
- };
1592
+ text?: string;
1953
1593
  }), unknown>, t.NullC, t.UndefinedC]>;
1954
1594
  }>]>;
1955
1595
  }>, t.PartialC<{
@@ -1997,11 +1637,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1997
1637
  kind: string;
1998
1638
  } & {
1999
1639
  date?: string | null | undefined;
2000
- title?: {
2001
- type: "Text";
2002
- value: string;
2003
- __TYPE__: "FieldContent";
2004
- };
1640
+ text?: string;
2005
1641
  }) | ({
2006
1642
  id: string;
2007
1643
  url: string;
@@ -2010,30 +1646,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2010
1646
  size: string;
2011
1647
  } & {
2012
1648
  date?: string | null | undefined;
2013
- title?: {
2014
- type: "Text";
2015
- value: string;
2016
- __TYPE__: "FieldContent";
2017
- };
1649
+ text?: string;
2018
1650
  } & {
2019
1651
  __TYPE__: "FileLink";
2020
1652
  } & {
2021
1653
  size?: string;
2022
- title?: {
2023
- type: "Text";
2024
- value: string;
2025
- __TYPE__: "FieldContent";
2026
- };
1654
+ text?: string;
2027
1655
  }) | ({
2028
1656
  __TYPE__: "DocumentLink";
2029
1657
  } & {
2030
1658
  id: string;
2031
1659
  } & {
2032
- title?: {
2033
- type: "Text";
2034
- value: string;
2035
- __TYPE__: "FieldContent";
2036
- };
1660
+ text?: string;
2037
1661
  }) | ({
2038
1662
  __TYPE__: "ExternalLink";
2039
1663
  } & {
@@ -2044,11 +1668,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2044
1668
  preview?: {
2045
1669
  title?: string;
2046
1670
  } | null | undefined;
2047
- title?: {
2048
- type: "Text";
2049
- value: string;
2050
- __TYPE__: "FieldContent";
2051
- };
1671
+ text?: string;
2052
1672
  });
2053
1673
  start: number;
2054
1674
  end: number;
@@ -2075,11 +1695,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2075
1695
  kind: string;
2076
1696
  } & {
2077
1697
  date?: string | null | undefined;
2078
- title?: {
2079
- type: "Text";
2080
- value: string;
2081
- __TYPE__: "FieldContent";
2082
- };
1698
+ text?: string;
2083
1699
  }) | ({
2084
1700
  id: string;
2085
1701
  url: string;
@@ -2088,30 +1704,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2088
1704
  size: string;
2089
1705
  } & {
2090
1706
  date?: string | null | undefined;
2091
- title?: {
2092
- type: "Text";
2093
- value: string;
2094
- __TYPE__: "FieldContent";
2095
- };
1707
+ text?: string;
2096
1708
  } & {
2097
1709
  __TYPE__: "FileLink";
2098
1710
  } & {
2099
1711
  size?: string;
2100
- title?: {
2101
- type: "Text";
2102
- value: string;
2103
- __TYPE__: "FieldContent";
2104
- };
1712
+ text?: string;
2105
1713
  }) | ({
2106
1714
  __TYPE__: "DocumentLink";
2107
1715
  } & {
2108
1716
  id: string;
2109
1717
  } & {
2110
- title?: {
2111
- type: "Text";
2112
- value: string;
2113
- __TYPE__: "FieldContent";
2114
- };
1718
+ text?: string;
2115
1719
  }) | ({
2116
1720
  __TYPE__: "ExternalLink";
2117
1721
  } & {
@@ -2122,11 +1726,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2122
1726
  preview?: {
2123
1727
  title?: string;
2124
1728
  } | null | undefined;
2125
- title?: {
2126
- type: "Text";
2127
- value: string;
2128
- __TYPE__: "FieldContent";
2129
- };
1729
+ text?: string;
2130
1730
  });
2131
1731
  start: number;
2132
1732
  end: number;
@@ -2275,11 +1875,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2275
1875
  kind: t.StringC;
2276
1876
  }>, t.PartialC<{
2277
1877
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2278
- title: t.ExactC<t.TypeC<{
2279
- type: t.LiteralC<"Text">;
2280
- value: t.Type<string, string, unknown>;
2281
- __TYPE__: t.LiteralC<"FieldContent">;
2282
- }>>;
1878
+ text: t.StringC;
2283
1879
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2284
1880
  id: t.StringC;
2285
1881
  url: t.StringC;
@@ -2288,30 +1884,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2288
1884
  size: t.StringC;
2289
1885
  }>, t.PartialC<{
2290
1886
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2291
- title: t.ExactC<t.TypeC<{
2292
- type: t.LiteralC<"Text">;
2293
- value: t.Type<string, string, unknown>;
2294
- __TYPE__: t.LiteralC<"FieldContent">;
2295
- }>>;
1887
+ text: t.StringC;
2296
1888
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2297
1889
  __TYPE__: t.LiteralC<"FileLink">;
2298
1890
  }>, t.PartialC<{
2299
1891
  size: t.StringC;
2300
- title: t.ExactC<t.TypeC<{
2301
- type: t.LiteralC<"Text">;
2302
- value: t.Type<string, string, unknown>;
2303
- __TYPE__: t.LiteralC<"FieldContent">;
2304
- }>>;
1892
+ text: t.StringC;
2305
1893
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2306
1894
  __TYPE__: t.LiteralC<"DocumentLink">;
2307
1895
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2308
1896
  id: t.Type<string, string, unknown>;
2309
1897
  }>, t.PartialC<{
2310
- title: t.ExactC<t.TypeC<{
2311
- type: t.LiteralC<"Text">;
2312
- value: t.Type<string, string, unknown>;
2313
- __TYPE__: t.LiteralC<"FieldContent">;
2314
- }>>;
1898
+ text: t.StringC;
2315
1899
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2316
1900
  __TYPE__: t.LiteralC<"ExternalLink">;
2317
1901
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2324,11 +1908,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2324
1908
  }, {
2325
1909
  title?: string;
2326
1910
  }, unknown>, t.NullC, t.UndefinedC]>;
2327
- title: t.ExactC<t.TypeC<{
2328
- type: t.LiteralC<"Text">;
2329
- value: t.Type<string, string, unknown>;
2330
- __TYPE__: t.LiteralC<"FieldContent">;
2331
- }>>;
1911
+ text: t.StringC;
2332
1912
  }>]>>]>]>;
2333
1913
  }>>, t.ExactC<t.TypeC<{
2334
1914
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2369,11 +1949,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2369
1949
  kind: string;
2370
1950
  } & {
2371
1951
  date?: string | null | undefined;
2372
- title?: {
2373
- type: "Text";
2374
- value: string;
2375
- __TYPE__: "FieldContent";
2376
- };
1952
+ text?: string;
2377
1953
  }) | ({
2378
1954
  id: string;
2379
1955
  url: string;
@@ -2382,30 +1958,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2382
1958
  size: string;
2383
1959
  } & {
2384
1960
  date?: string | null | undefined;
2385
- title?: {
2386
- type: "Text";
2387
- value: string;
2388
- __TYPE__: "FieldContent";
2389
- };
1961
+ text?: string;
2390
1962
  } & {
2391
1963
  __TYPE__: "FileLink";
2392
1964
  } & {
2393
1965
  size?: string;
2394
- title?: {
2395
- type: "Text";
2396
- value: string;
2397
- __TYPE__: "FieldContent";
2398
- };
1966
+ text?: string;
2399
1967
  }) | ({
2400
1968
  __TYPE__: "DocumentLink";
2401
1969
  } & {
2402
1970
  id: string;
2403
1971
  } & {
2404
- title?: {
2405
- type: "Text";
2406
- value: string;
2407
- __TYPE__: "FieldContent";
2408
- };
1972
+ text?: string;
2409
1973
  }) | ({
2410
1974
  __TYPE__: "ExternalLink";
2411
1975
  } & {
@@ -2416,11 +1980,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2416
1980
  preview?: {
2417
1981
  title?: string;
2418
1982
  } | null | undefined;
2419
- title?: {
2420
- type: "Text";
2421
- value: string;
2422
- __TYPE__: "FieldContent";
2423
- };
1983
+ text?: string;
2424
1984
  }), ({
2425
1985
  __TYPE__: "ImageLink";
2426
1986
  } & {
@@ -2433,11 +1993,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2433
1993
  kind: string;
2434
1994
  } & {
2435
1995
  date?: string | null | undefined;
2436
- title?: {
2437
- type: "Text";
2438
- value: string;
2439
- __TYPE__: "FieldContent";
2440
- };
1996
+ text?: string;
2441
1997
  }) | ({
2442
1998
  id: string;
2443
1999
  url: string;
@@ -2446,30 +2002,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2446
2002
  size: string;
2447
2003
  } & {
2448
2004
  date?: string | null | undefined;
2449
- title?: {
2450
- type: "Text";
2451
- value: string;
2452
- __TYPE__: "FieldContent";
2453
- };
2005
+ text?: string;
2454
2006
  } & {
2455
2007
  __TYPE__: "FileLink";
2456
2008
  } & {
2457
2009
  size?: string;
2458
- title?: {
2459
- type: "Text";
2460
- value: string;
2461
- __TYPE__: "FieldContent";
2462
- };
2010
+ text?: string;
2463
2011
  }) | ({
2464
2012
  __TYPE__: "DocumentLink";
2465
2013
  } & {
2466
2014
  id: string;
2467
2015
  } & {
2468
- title?: {
2469
- type: "Text";
2470
- value: string;
2471
- __TYPE__: "FieldContent";
2472
- };
2016
+ text?: string;
2473
2017
  }) | ({
2474
2018
  __TYPE__: "ExternalLink";
2475
2019
  } & {
@@ -2480,11 +2024,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2480
2024
  preview?: {
2481
2025
  title?: string;
2482
2026
  } | null | undefined;
2483
- title?: {
2484
- type: "Text";
2485
- value: string;
2486
- __TYPE__: "FieldContent";
2487
- };
2027
+ text?: string;
2488
2028
  }), unknown>, t.NullC, t.UndefinedC]>;
2489
2029
  }>]>;
2490
2030
  }>, t.PartialC<{
@@ -2532,11 +2072,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2532
2072
  kind: string;
2533
2073
  } & {
2534
2074
  date?: string | null | undefined;
2535
- title?: {
2536
- type: "Text";
2537
- value: string;
2538
- __TYPE__: "FieldContent";
2539
- };
2075
+ text?: string;
2540
2076
  }) | ({
2541
2077
  id: string;
2542
2078
  url: string;
@@ -2545,30 +2081,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2545
2081
  size: string;
2546
2082
  } & {
2547
2083
  date?: string | null | undefined;
2548
- title?: {
2549
- type: "Text";
2550
- value: string;
2551
- __TYPE__: "FieldContent";
2552
- };
2084
+ text?: string;
2553
2085
  } & {
2554
2086
  __TYPE__: "FileLink";
2555
2087
  } & {
2556
2088
  size?: string;
2557
- title?: {
2558
- type: "Text";
2559
- value: string;
2560
- __TYPE__: "FieldContent";
2561
- };
2089
+ text?: string;
2562
2090
  }) | ({
2563
2091
  __TYPE__: "DocumentLink";
2564
2092
  } & {
2565
2093
  id: string;
2566
2094
  } & {
2567
- title?: {
2568
- type: "Text";
2569
- value: string;
2570
- __TYPE__: "FieldContent";
2571
- };
2095
+ text?: string;
2572
2096
  }) | ({
2573
2097
  __TYPE__: "ExternalLink";
2574
2098
  } & {
@@ -2579,11 +2103,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2579
2103
  preview?: {
2580
2104
  title?: string;
2581
2105
  } | null | undefined;
2582
- title?: {
2583
- type: "Text";
2584
- value: string;
2585
- __TYPE__: "FieldContent";
2586
- };
2106
+ text?: string;
2587
2107
  });
2588
2108
  start: number;
2589
2109
  end: number;
@@ -2610,11 +2130,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2610
2130
  kind: string;
2611
2131
  } & {
2612
2132
  date?: string | null | undefined;
2613
- title?: {
2614
- type: "Text";
2615
- value: string;
2616
- __TYPE__: "FieldContent";
2617
- };
2133
+ text?: string;
2618
2134
  }) | ({
2619
2135
  id: string;
2620
2136
  url: string;
@@ -2623,30 +2139,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2623
2139
  size: string;
2624
2140
  } & {
2625
2141
  date?: string | null | undefined;
2626
- title?: {
2627
- type: "Text";
2628
- value: string;
2629
- __TYPE__: "FieldContent";
2630
- };
2142
+ text?: string;
2631
2143
  } & {
2632
2144
  __TYPE__: "FileLink";
2633
2145
  } & {
2634
2146
  size?: string;
2635
- title?: {
2636
- type: "Text";
2637
- value: string;
2638
- __TYPE__: "FieldContent";
2639
- };
2147
+ text?: string;
2640
2148
  }) | ({
2641
2149
  __TYPE__: "DocumentLink";
2642
2150
  } & {
2643
2151
  id: string;
2644
2152
  } & {
2645
- title?: {
2646
- type: "Text";
2647
- value: string;
2648
- __TYPE__: "FieldContent";
2649
- };
2153
+ text?: string;
2650
2154
  }) | ({
2651
2155
  __TYPE__: "ExternalLink";
2652
2156
  } & {
@@ -2657,11 +2161,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2657
2161
  preview?: {
2658
2162
  title?: string;
2659
2163
  } | null | undefined;
2660
- title?: {
2661
- type: "Text";
2662
- value: string;
2663
- __TYPE__: "FieldContent";
2664
- };
2164
+ text?: string;
2665
2165
  });
2666
2166
  start: number;
2667
2167
  end: number;
@@ -2809,11 +2309,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2809
2309
  kind: t.StringC;
2810
2310
  }>, t.PartialC<{
2811
2311
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2812
- title: t.ExactC<t.TypeC<{
2813
- type: t.LiteralC<"Text">;
2814
- value: t.Type<string, string, unknown>;
2815
- __TYPE__: t.LiteralC<"FieldContent">;
2816
- }>>;
2312
+ text: t.StringC;
2817
2313
  }>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2818
2314
  id: t.StringC;
2819
2315
  url: t.StringC;
@@ -2822,30 +2318,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2822
2318
  size: t.StringC;
2823
2319
  }>, t.PartialC<{
2824
2320
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2825
- title: t.ExactC<t.TypeC<{
2826
- type: t.LiteralC<"Text">;
2827
- value: t.Type<string, string, unknown>;
2828
- __TYPE__: t.LiteralC<"FieldContent">;
2829
- }>>;
2321
+ text: t.StringC;
2830
2322
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2831
2323
  __TYPE__: t.LiteralC<"FileLink">;
2832
2324
  }>, t.PartialC<{
2833
2325
  size: t.StringC;
2834
- title: t.ExactC<t.TypeC<{
2835
- type: t.LiteralC<"Text">;
2836
- value: t.Type<string, string, unknown>;
2837
- __TYPE__: t.LiteralC<"FieldContent">;
2838
- }>>;
2326
+ text: t.StringC;
2839
2327
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2840
2328
  __TYPE__: t.LiteralC<"DocumentLink">;
2841
2329
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2842
2330
  id: t.Type<string, string, unknown>;
2843
2331
  }>, t.PartialC<{
2844
- title: t.ExactC<t.TypeC<{
2845
- type: t.LiteralC<"Text">;
2846
- value: t.Type<string, string, unknown>;
2847
- __TYPE__: t.LiteralC<"FieldContent">;
2848
- }>>;
2332
+ text: t.StringC;
2849
2333
  }>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2850
2334
  __TYPE__: t.LiteralC<"ExternalLink">;
2851
2335
  }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -2858,11 +2342,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2858
2342
  }, {
2859
2343
  title?: string;
2860
2344
  }, unknown>, t.NullC, t.UndefinedC]>;
2861
- title: t.ExactC<t.TypeC<{
2862
- type: t.LiteralC<"Text">;
2863
- value: t.Type<string, string, unknown>;
2864
- __TYPE__: t.LiteralC<"FieldContent">;
2865
- }>>;
2345
+ text: t.StringC;
2866
2346
  }>]>>]>]>;
2867
2347
  }>>, t.ExactC<t.TypeC<{
2868
2348
  __TYPE__: t.LiteralC<"StructuredTextContent">;
@@ -2903,11 +2383,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2903
2383
  kind: string;
2904
2384
  } & {
2905
2385
  date?: string | null | undefined;
2906
- title?: {
2907
- type: "Text";
2908
- value: string;
2909
- __TYPE__: "FieldContent";
2910
- };
2386
+ text?: string;
2911
2387
  }) | ({
2912
2388
  id: string;
2913
2389
  url: string;
@@ -2916,30 +2392,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2916
2392
  size: string;
2917
2393
  } & {
2918
2394
  date?: string | null | undefined;
2919
- title?: {
2920
- type: "Text";
2921
- value: string;
2922
- __TYPE__: "FieldContent";
2923
- };
2395
+ text?: string;
2924
2396
  } & {
2925
2397
  __TYPE__: "FileLink";
2926
2398
  } & {
2927
2399
  size?: string;
2928
- title?: {
2929
- type: "Text";
2930
- value: string;
2931
- __TYPE__: "FieldContent";
2932
- };
2400
+ text?: string;
2933
2401
  }) | ({
2934
2402
  __TYPE__: "DocumentLink";
2935
2403
  } & {
2936
2404
  id: string;
2937
2405
  } & {
2938
- title?: {
2939
- type: "Text";
2940
- value: string;
2941
- __TYPE__: "FieldContent";
2942
- };
2406
+ text?: string;
2943
2407
  }) | ({
2944
2408
  __TYPE__: "ExternalLink";
2945
2409
  } & {
@@ -2950,11 +2414,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2950
2414
  preview?: {
2951
2415
  title?: string;
2952
2416
  } | null | undefined;
2953
- title?: {
2954
- type: "Text";
2955
- value: string;
2956
- __TYPE__: "FieldContent";
2957
- };
2417
+ text?: string;
2958
2418
  }), ({
2959
2419
  __TYPE__: "ImageLink";
2960
2420
  } & {
@@ -2967,11 +2427,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2967
2427
  kind: string;
2968
2428
  } & {
2969
2429
  date?: string | null | undefined;
2970
- title?: {
2971
- type: "Text";
2972
- value: string;
2973
- __TYPE__: "FieldContent";
2974
- };
2430
+ text?: string;
2975
2431
  }) | ({
2976
2432
  id: string;
2977
2433
  url: string;
@@ -2980,30 +2436,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2980
2436
  size: string;
2981
2437
  } & {
2982
2438
  date?: string | null | undefined;
2983
- title?: {
2984
- type: "Text";
2985
- value: string;
2986
- __TYPE__: "FieldContent";
2987
- };
2439
+ text?: string;
2988
2440
  } & {
2989
2441
  __TYPE__: "FileLink";
2990
2442
  } & {
2991
2443
  size?: string;
2992
- title?: {
2993
- type: "Text";
2994
- value: string;
2995
- __TYPE__: "FieldContent";
2996
- };
2444
+ text?: string;
2997
2445
  }) | ({
2998
2446
  __TYPE__: "DocumentLink";
2999
2447
  } & {
3000
2448
  id: string;
3001
2449
  } & {
3002
- title?: {
3003
- type: "Text";
3004
- value: string;
3005
- __TYPE__: "FieldContent";
3006
- };
2450
+ text?: string;
3007
2451
  }) | ({
3008
2452
  __TYPE__: "ExternalLink";
3009
2453
  } & {
@@ -3014,11 +2458,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3014
2458
  preview?: {
3015
2459
  title?: string;
3016
2460
  } | null | undefined;
3017
- title?: {
3018
- type: "Text";
3019
- value: string;
3020
- __TYPE__: "FieldContent";
3021
- };
2461
+ text?: string;
3022
2462
  }), unknown>, t.NullC, t.UndefinedC]>;
3023
2463
  }>]>;
3024
2464
  }>, t.PartialC<{
@@ -3066,11 +2506,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3066
2506
  kind: string;
3067
2507
  } & {
3068
2508
  date?: string | null | undefined;
3069
- title?: {
3070
- type: "Text";
3071
- value: string;
3072
- __TYPE__: "FieldContent";
3073
- };
2509
+ text?: string;
3074
2510
  }) | ({
3075
2511
  id: string;
3076
2512
  url: string;
@@ -3079,30 +2515,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3079
2515
  size: string;
3080
2516
  } & {
3081
2517
  date?: string | null | undefined;
3082
- title?: {
3083
- type: "Text";
3084
- value: string;
3085
- __TYPE__: "FieldContent";
3086
- };
2518
+ text?: string;
3087
2519
  } & {
3088
2520
  __TYPE__: "FileLink";
3089
2521
  } & {
3090
2522
  size?: string;
3091
- title?: {
3092
- type: "Text";
3093
- value: string;
3094
- __TYPE__: "FieldContent";
3095
- };
2523
+ text?: string;
3096
2524
  }) | ({
3097
2525
  __TYPE__: "DocumentLink";
3098
2526
  } & {
3099
2527
  id: string;
3100
2528
  } & {
3101
- title?: {
3102
- type: "Text";
3103
- value: string;
3104
- __TYPE__: "FieldContent";
3105
- };
2529
+ text?: string;
3106
2530
  }) | ({
3107
2531
  __TYPE__: "ExternalLink";
3108
2532
  } & {
@@ -3113,11 +2537,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3113
2537
  preview?: {
3114
2538
  title?: string;
3115
2539
  } | null | undefined;
3116
- title?: {
3117
- type: "Text";
3118
- value: string;
3119
- __TYPE__: "FieldContent";
3120
- };
2540
+ text?: string;
3121
2541
  });
3122
2542
  start: number;
3123
2543
  end: number;
@@ -3144,11 +2564,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3144
2564
  kind: string;
3145
2565
  } & {
3146
2566
  date?: string | null | undefined;
3147
- title?: {
3148
- type: "Text";
3149
- value: string;
3150
- __TYPE__: "FieldContent";
3151
- };
2567
+ text?: string;
3152
2568
  }) | ({
3153
2569
  id: string;
3154
2570
  url: string;
@@ -3157,30 +2573,18 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3157
2573
  size: string;
3158
2574
  } & {
3159
2575
  date?: string | null | undefined;
3160
- title?: {
3161
- type: "Text";
3162
- value: string;
3163
- __TYPE__: "FieldContent";
3164
- };
2576
+ text?: string;
3165
2577
  } & {
3166
2578
  __TYPE__: "FileLink";
3167
2579
  } & {
3168
2580
  size?: string;
3169
- title?: {
3170
- type: "Text";
3171
- value: string;
3172
- __TYPE__: "FieldContent";
3173
- };
2581
+ text?: string;
3174
2582
  }) | ({
3175
2583
  __TYPE__: "DocumentLink";
3176
2584
  } & {
3177
2585
  id: string;
3178
2586
  } & {
3179
- title?: {
3180
- type: "Text";
3181
- value: string;
3182
- __TYPE__: "FieldContent";
3183
- };
2587
+ text?: string;
3184
2588
  }) | ({
3185
2589
  __TYPE__: "ExternalLink";
3186
2590
  } & {
@@ -3191,11 +2595,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
3191
2595
  preview?: {
3192
2596
  title?: string;
3193
2597
  } | null | undefined;
3194
- title?: {
3195
- type: "Text";
3196
- value: string;
3197
- __TYPE__: "FieldContent";
3198
- };
2598
+ text?: string;
3199
2599
  });
3200
2600
  start: number;
3201
2601
  end: number;
@@ -3346,11 +2746,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3346
2746
  kind: string;
3347
2747
  } & {
3348
2748
  date?: string | null | undefined;
3349
- title?: {
3350
- type: "Text";
3351
- value: string;
3352
- __TYPE__: "FieldContent";
3353
- };
2749
+ text?: string;
3354
2750
  }) | ({
3355
2751
  id: string;
3356
2752
  url: string;
@@ -3359,30 +2755,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
3359
2755
  size: string;
3360
2756
  } & {
3361
2757
  date?: string | null | undefined;
3362
- title?: {
3363
- type: "Text";
3364
- value: string;
3365
- __TYPE__: "FieldContent";
3366
- };
3367
- } & {
3368
- __TYPE__: "FileLink";
2758
+ text?: string;
3369
2759
  } & {
3370
- size?: string;
3371
- title?: {
3372
- type: "Text";
3373
- value: string;
3374
- __TYPE__: "FieldContent";
3375
- };
2760
+ __TYPE__: "FileLink";
2761
+ } & {
2762
+ size?: string;
2763
+ text?: string;
3376
2764
  }) | ({
3377
2765
  __TYPE__: "DocumentLink";
3378
2766
  } & {
3379
2767
  id: string;
3380
2768
  } & {
3381
- title?: {
3382
- type: "Text";
3383
- value: string;
3384
- __TYPE__: "FieldContent";
3385
- };
2769
+ text?: string;
3386
2770
  }) | ({
3387
2771
  __TYPE__: "ExternalLink";
3388
2772
  } & {
@@ -3393,11 +2777,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3393
2777
  preview?: {
3394
2778
  title?: string;
3395
2779
  } | null | undefined;
3396
- title?: {
3397
- type: "Text";
3398
- value: string;
3399
- __TYPE__: "FieldContent";
3400
- };
2780
+ text?: string;
3401
2781
  });
3402
2782
  } | {
3403
2783
  __TYPE__: "StructuredTextContent";
@@ -3438,11 +2818,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3438
2818
  kind: string;
3439
2819
  } & {
3440
2820
  date?: string | null | undefined;
3441
- title?: {
3442
- type: "Text";
3443
- value: string;
3444
- __TYPE__: "FieldContent";
3445
- };
2821
+ text?: string;
3446
2822
  }) | ({
3447
2823
  id: string;
3448
2824
  url: string;
@@ -3451,30 +2827,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
3451
2827
  size: string;
3452
2828
  } & {
3453
2829
  date?: string | null | undefined;
3454
- title?: {
3455
- type: "Text";
3456
- value: string;
3457
- __TYPE__: "FieldContent";
3458
- };
2830
+ text?: string;
3459
2831
  } & {
3460
2832
  __TYPE__: "FileLink";
3461
2833
  } & {
3462
2834
  size?: string;
3463
- title?: {
3464
- type: "Text";
3465
- value: string;
3466
- __TYPE__: "FieldContent";
3467
- };
2835
+ text?: string;
3468
2836
  }) | ({
3469
2837
  __TYPE__: "DocumentLink";
3470
2838
  } & {
3471
2839
  id: string;
3472
2840
  } & {
3473
- title?: {
3474
- type: "Text";
3475
- value: string;
3476
- __TYPE__: "FieldContent";
3477
- };
2841
+ text?: string;
3478
2842
  }) | ({
3479
2843
  __TYPE__: "ExternalLink";
3480
2844
  } & {
@@ -3485,11 +2849,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3485
2849
  preview?: {
3486
2850
  title?: string;
3487
2851
  } | null | undefined;
3488
- title?: {
3489
- type: "Text";
3490
- value: string;
3491
- __TYPE__: "FieldContent";
3492
- };
2852
+ text?: string;
3493
2853
  }) | null | undefined;
3494
2854
  };
3495
2855
  } & {
@@ -3537,11 +2897,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3537
2897
  kind: string;
3538
2898
  } & {
3539
2899
  date?: string | null | undefined;
3540
- title?: {
3541
- type: "Text";
3542
- value: string;
3543
- __TYPE__: "FieldContent";
3544
- };
2900
+ text?: string;
3545
2901
  }) | ({
3546
2902
  id: string;
3547
2903
  url: string;
@@ -3550,30 +2906,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
3550
2906
  size: string;
3551
2907
  } & {
3552
2908
  date?: string | null | undefined;
3553
- title?: {
3554
- type: "Text";
3555
- value: string;
3556
- __TYPE__: "FieldContent";
3557
- };
2909
+ text?: string;
3558
2910
  } & {
3559
2911
  __TYPE__: "FileLink";
3560
2912
  } & {
3561
2913
  size?: string;
3562
- title?: {
3563
- type: "Text";
3564
- value: string;
3565
- __TYPE__: "FieldContent";
3566
- };
2914
+ text?: string;
3567
2915
  }) | ({
3568
2916
  __TYPE__: "DocumentLink";
3569
2917
  } & {
3570
2918
  id: string;
3571
2919
  } & {
3572
- title?: {
3573
- type: "Text";
3574
- value: string;
3575
- __TYPE__: "FieldContent";
3576
- };
2920
+ text?: string;
3577
2921
  }) | ({
3578
2922
  __TYPE__: "ExternalLink";
3579
2923
  } & {
@@ -3584,11 +2928,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3584
2928
  preview?: {
3585
2929
  title?: string;
3586
2930
  } | null | undefined;
3587
- title?: {
3588
- type: "Text";
3589
- value: string;
3590
- __TYPE__: "FieldContent";
3591
- };
2931
+ text?: string;
3592
2932
  });
3593
2933
  start: number;
3594
2934
  end: number;
@@ -3745,11 +3085,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3745
3085
  kind: string;
3746
3086
  } & {
3747
3087
  date?: string | null | undefined;
3748
- title?: {
3749
- type: "Text";
3750
- value: string;
3751
- __TYPE__: "FieldContent";
3752
- };
3088
+ text?: string;
3753
3089
  }) | ({
3754
3090
  id: string;
3755
3091
  url: string;
@@ -3758,30 +3094,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
3758
3094
  size: string;
3759
3095
  } & {
3760
3096
  date?: string | null | undefined;
3761
- title?: {
3762
- type: "Text";
3763
- value: string;
3764
- __TYPE__: "FieldContent";
3765
- };
3097
+ text?: string;
3766
3098
  } & {
3767
3099
  __TYPE__: "FileLink";
3768
3100
  } & {
3769
3101
  size?: string;
3770
- title?: {
3771
- type: "Text";
3772
- value: string;
3773
- __TYPE__: "FieldContent";
3774
- };
3102
+ text?: string;
3775
3103
  }) | ({
3776
3104
  __TYPE__: "DocumentLink";
3777
3105
  } & {
3778
3106
  id: string;
3779
3107
  } & {
3780
- title?: {
3781
- type: "Text";
3782
- value: string;
3783
- __TYPE__: "FieldContent";
3784
- };
3108
+ text?: string;
3785
3109
  }) | ({
3786
3110
  __TYPE__: "ExternalLink";
3787
3111
  } & {
@@ -3792,11 +3116,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3792
3116
  preview?: {
3793
3117
  title?: string;
3794
3118
  } | null | undefined;
3795
- title?: {
3796
- type: "Text";
3797
- value: string;
3798
- __TYPE__: "FieldContent";
3799
- };
3119
+ text?: string;
3800
3120
  });
3801
3121
  } | {
3802
3122
  __TYPE__: "StructuredTextContent";
@@ -3837,11 +3157,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3837
3157
  kind: string;
3838
3158
  } & {
3839
3159
  date?: string | null | undefined;
3840
- title?: {
3841
- type: "Text";
3842
- value: string;
3843
- __TYPE__: "FieldContent";
3844
- };
3160
+ text?: string;
3845
3161
  }) | ({
3846
3162
  id: string;
3847
3163
  url: string;
@@ -3850,30 +3166,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
3850
3166
  size: string;
3851
3167
  } & {
3852
3168
  date?: string | null | undefined;
3853
- title?: {
3854
- type: "Text";
3855
- value: string;
3856
- __TYPE__: "FieldContent";
3857
- };
3169
+ text?: string;
3858
3170
  } & {
3859
3171
  __TYPE__: "FileLink";
3860
3172
  } & {
3861
3173
  size?: string;
3862
- title?: {
3863
- type: "Text";
3864
- value: string;
3865
- __TYPE__: "FieldContent";
3866
- };
3174
+ text?: string;
3867
3175
  }) | ({
3868
3176
  __TYPE__: "DocumentLink";
3869
3177
  } & {
3870
3178
  id: string;
3871
3179
  } & {
3872
- title?: {
3873
- type: "Text";
3874
- value: string;
3875
- __TYPE__: "FieldContent";
3876
- };
3180
+ text?: string;
3877
3181
  }) | ({
3878
3182
  __TYPE__: "ExternalLink";
3879
3183
  } & {
@@ -3884,11 +3188,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3884
3188
  preview?: {
3885
3189
  title?: string;
3886
3190
  } | null | undefined;
3887
- title?: {
3888
- type: "Text";
3889
- value: string;
3890
- __TYPE__: "FieldContent";
3891
- };
3191
+ text?: string;
3892
3192
  }) | null | undefined;
3893
3193
  };
3894
3194
  } & {
@@ -3936,11 +3236,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3936
3236
  kind: string;
3937
3237
  } & {
3938
3238
  date?: string | null | undefined;
3939
- title?: {
3940
- type: "Text";
3941
- value: string;
3942
- __TYPE__: "FieldContent";
3943
- };
3239
+ text?: string;
3944
3240
  }) | ({
3945
3241
  id: string;
3946
3242
  url: string;
@@ -3949,30 +3245,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
3949
3245
  size: string;
3950
3246
  } & {
3951
3247
  date?: string | null | undefined;
3952
- title?: {
3953
- type: "Text";
3954
- value: string;
3955
- __TYPE__: "FieldContent";
3956
- };
3248
+ text?: string;
3957
3249
  } & {
3958
3250
  __TYPE__: "FileLink";
3959
3251
  } & {
3960
3252
  size?: string;
3961
- title?: {
3962
- type: "Text";
3963
- value: string;
3964
- __TYPE__: "FieldContent";
3965
- };
3253
+ text?: string;
3966
3254
  }) | ({
3967
3255
  __TYPE__: "DocumentLink";
3968
3256
  } & {
3969
3257
  id: string;
3970
3258
  } & {
3971
- title?: {
3972
- type: "Text";
3973
- value: string;
3974
- __TYPE__: "FieldContent";
3975
- };
3259
+ text?: string;
3976
3260
  }) | ({
3977
3261
  __TYPE__: "ExternalLink";
3978
3262
  } & {
@@ -3983,11 +3267,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3983
3267
  preview?: {
3984
3268
  title?: string;
3985
3269
  } | null | undefined;
3986
- title?: {
3987
- type: "Text";
3988
- value: string;
3989
- __TYPE__: "FieldContent";
3990
- };
3270
+ text?: string;
3991
3271
  });
3992
3272
  start: number;
3993
3273
  end: number;
@@ -4138,11 +3418,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4138
3418
  kind: string;
4139
3419
  } & {
4140
3420
  date?: string | null | undefined;
4141
- title?: {
4142
- type: "Text";
4143
- value: string;
4144
- __TYPE__: "FieldContent";
4145
- };
3421
+ text?: string;
4146
3422
  }) | ({
4147
3423
  id: string;
4148
3424
  url: string;
@@ -4151,30 +3427,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4151
3427
  size: string;
4152
3428
  } & {
4153
3429
  date?: string | null | undefined;
4154
- title?: {
4155
- type: "Text";
4156
- value: string;
4157
- __TYPE__: "FieldContent";
4158
- };
3430
+ text?: string;
4159
3431
  } & {
4160
3432
  __TYPE__: "FileLink";
4161
3433
  } & {
4162
3434
  size?: string;
4163
- title?: {
4164
- type: "Text";
4165
- value: string;
4166
- __TYPE__: "FieldContent";
4167
- };
3435
+ text?: string;
4168
3436
  }) | ({
4169
3437
  __TYPE__: "DocumentLink";
4170
3438
  } & {
4171
3439
  id: string;
4172
3440
  } & {
4173
- title?: {
4174
- type: "Text";
4175
- value: string;
4176
- __TYPE__: "FieldContent";
4177
- };
3441
+ text?: string;
4178
3442
  }) | ({
4179
3443
  __TYPE__: "ExternalLink";
4180
3444
  } & {
@@ -4185,11 +3449,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4185
3449
  preview?: {
4186
3450
  title?: string;
4187
3451
  } | null | undefined;
4188
- title?: {
4189
- type: "Text";
4190
- value: string;
4191
- __TYPE__: "FieldContent";
4192
- };
3452
+ text?: string;
4193
3453
  });
4194
3454
  } | {
4195
3455
  __TYPE__: "StructuredTextContent";
@@ -4230,11 +3490,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4230
3490
  kind: string;
4231
3491
  } & {
4232
3492
  date?: string | null | undefined;
4233
- title?: {
4234
- type: "Text";
4235
- value: string;
4236
- __TYPE__: "FieldContent";
4237
- };
3493
+ text?: string;
4238
3494
  }) | ({
4239
3495
  id: string;
4240
3496
  url: string;
@@ -4243,30 +3499,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4243
3499
  size: string;
4244
3500
  } & {
4245
3501
  date?: string | null | undefined;
4246
- title?: {
4247
- type: "Text";
4248
- value: string;
4249
- __TYPE__: "FieldContent";
4250
- };
3502
+ text?: string;
4251
3503
  } & {
4252
3504
  __TYPE__: "FileLink";
4253
3505
  } & {
4254
3506
  size?: string;
4255
- title?: {
4256
- type: "Text";
4257
- value: string;
4258
- __TYPE__: "FieldContent";
4259
- };
3507
+ text?: string;
4260
3508
  }) | ({
4261
3509
  __TYPE__: "DocumentLink";
4262
3510
  } & {
4263
3511
  id: string;
4264
3512
  } & {
4265
- title?: {
4266
- type: "Text";
4267
- value: string;
4268
- __TYPE__: "FieldContent";
4269
- };
3513
+ text?: string;
4270
3514
  }) | ({
4271
3515
  __TYPE__: "ExternalLink";
4272
3516
  } & {
@@ -4277,11 +3521,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4277
3521
  preview?: {
4278
3522
  title?: string;
4279
3523
  } | null | undefined;
4280
- title?: {
4281
- type: "Text";
4282
- value: string;
4283
- __TYPE__: "FieldContent";
4284
- };
3524
+ text?: string;
4285
3525
  }) | null | undefined;
4286
3526
  };
4287
3527
  } & {
@@ -4329,11 +3569,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4329
3569
  kind: string;
4330
3570
  } & {
4331
3571
  date?: string | null | undefined;
4332
- title?: {
4333
- type: "Text";
4334
- value: string;
4335
- __TYPE__: "FieldContent";
4336
- };
3572
+ text?: string;
4337
3573
  }) | ({
4338
3574
  id: string;
4339
3575
  url: string;
@@ -4342,30 +3578,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4342
3578
  size: string;
4343
3579
  } & {
4344
3580
  date?: string | null | undefined;
4345
- title?: {
4346
- type: "Text";
4347
- value: string;
4348
- __TYPE__: "FieldContent";
4349
- };
3581
+ text?: string;
4350
3582
  } & {
4351
3583
  __TYPE__: "FileLink";
4352
3584
  } & {
4353
3585
  size?: string;
4354
- title?: {
4355
- type: "Text";
4356
- value: string;
4357
- __TYPE__: "FieldContent";
4358
- };
3586
+ text?: string;
4359
3587
  }) | ({
4360
3588
  __TYPE__: "DocumentLink";
4361
3589
  } & {
4362
3590
  id: string;
4363
3591
  } & {
4364
- title?: {
4365
- type: "Text";
4366
- value: string;
4367
- __TYPE__: "FieldContent";
4368
- };
3592
+ text?: string;
4369
3593
  }) | ({
4370
3594
  __TYPE__: "ExternalLink";
4371
3595
  } & {
@@ -4376,11 +3600,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4376
3600
  preview?: {
4377
3601
  title?: string;
4378
3602
  } | null | undefined;
4379
- title?: {
4380
- type: "Text";
4381
- value: string;
4382
- __TYPE__: "FieldContent";
4383
- };
3603
+ text?: string;
4384
3604
  });
4385
3605
  start: number;
4386
3606
  end: number;
@@ -4532,11 +3752,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4532
3752
  kind: string;
4533
3753
  } & {
4534
3754
  date?: string | null | undefined;
4535
- title?: {
4536
- type: "Text";
4537
- value: string;
4538
- __TYPE__: "FieldContent";
4539
- };
3755
+ text?: string;
4540
3756
  }) | ({
4541
3757
  id: string;
4542
3758
  url: string;
@@ -4545,30 +3761,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4545
3761
  size: string;
4546
3762
  } & {
4547
3763
  date?: string | null | undefined;
4548
- title?: {
4549
- type: "Text";
4550
- value: string;
4551
- __TYPE__: "FieldContent";
4552
- };
3764
+ text?: string;
4553
3765
  } & {
4554
3766
  __TYPE__: "FileLink";
4555
3767
  } & {
4556
3768
  size?: string;
4557
- title?: {
4558
- type: "Text";
4559
- value: string;
4560
- __TYPE__: "FieldContent";
4561
- };
3769
+ text?: string;
4562
3770
  }) | ({
4563
3771
  __TYPE__: "DocumentLink";
4564
3772
  } & {
4565
3773
  id: string;
4566
3774
  } & {
4567
- title?: {
4568
- type: "Text";
4569
- value: string;
4570
- __TYPE__: "FieldContent";
4571
- };
3775
+ text?: string;
4572
3776
  }) | ({
4573
3777
  __TYPE__: "ExternalLink";
4574
3778
  } & {
@@ -4579,11 +3783,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4579
3783
  preview?: {
4580
3784
  title?: string;
4581
3785
  } | null | undefined;
4582
- title?: {
4583
- type: "Text";
4584
- value: string;
4585
- __TYPE__: "FieldContent";
4586
- };
3786
+ text?: string;
4587
3787
  });
4588
3788
  } | {
4589
3789
  __TYPE__: "StructuredTextContent";
@@ -4624,11 +3824,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4624
3824
  kind: string;
4625
3825
  } & {
4626
3826
  date?: string | null | undefined;
4627
- title?: {
4628
- type: "Text";
4629
- value: string;
4630
- __TYPE__: "FieldContent";
4631
- };
3827
+ text?: string;
4632
3828
  }) | ({
4633
3829
  id: string;
4634
3830
  url: string;
@@ -4637,30 +3833,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4637
3833
  size: string;
4638
3834
  } & {
4639
3835
  date?: string | null | undefined;
4640
- title?: {
4641
- type: "Text";
4642
- value: string;
4643
- __TYPE__: "FieldContent";
4644
- };
3836
+ text?: string;
4645
3837
  } & {
4646
3838
  __TYPE__: "FileLink";
4647
3839
  } & {
4648
3840
  size?: string;
4649
- title?: {
4650
- type: "Text";
4651
- value: string;
4652
- __TYPE__: "FieldContent";
4653
- };
3841
+ text?: string;
4654
3842
  }) | ({
4655
3843
  __TYPE__: "DocumentLink";
4656
3844
  } & {
4657
3845
  id: string;
4658
3846
  } & {
4659
- title?: {
4660
- type: "Text";
4661
- value: string;
4662
- __TYPE__: "FieldContent";
4663
- };
3847
+ text?: string;
4664
3848
  }) | ({
4665
3849
  __TYPE__: "ExternalLink";
4666
3850
  } & {
@@ -4671,11 +3855,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4671
3855
  preview?: {
4672
3856
  title?: string;
4673
3857
  } | null | undefined;
4674
- title?: {
4675
- type: "Text";
4676
- value: string;
4677
- __TYPE__: "FieldContent";
4678
- };
3858
+ text?: string;
4679
3859
  }) | null | undefined;
4680
3860
  };
4681
3861
  } & {
@@ -4723,11 +3903,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4723
3903
  kind: string;
4724
3904
  } & {
4725
3905
  date?: string | null | undefined;
4726
- title?: {
4727
- type: "Text";
4728
- value: string;
4729
- __TYPE__: "FieldContent";
4730
- };
3906
+ text?: string;
4731
3907
  }) | ({
4732
3908
  id: string;
4733
3909
  url: string;
@@ -4736,30 +3912,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4736
3912
  size: string;
4737
3913
  } & {
4738
3914
  date?: string | null | undefined;
4739
- title?: {
4740
- type: "Text";
4741
- value: string;
4742
- __TYPE__: "FieldContent";
4743
- };
3915
+ text?: string;
4744
3916
  } & {
4745
3917
  __TYPE__: "FileLink";
4746
3918
  } & {
4747
3919
  size?: string;
4748
- title?: {
4749
- type: "Text";
4750
- value: string;
4751
- __TYPE__: "FieldContent";
4752
- };
3920
+ text?: string;
4753
3921
  }) | ({
4754
3922
  __TYPE__: "DocumentLink";
4755
3923
  } & {
4756
3924
  id: string;
4757
3925
  } & {
4758
- title?: {
4759
- type: "Text";
4760
- value: string;
4761
- __TYPE__: "FieldContent";
4762
- };
3926
+ text?: string;
4763
3927
  }) | ({
4764
3928
  __TYPE__: "ExternalLink";
4765
3929
  } & {
@@ -4770,11 +3934,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4770
3934
  preview?: {
4771
3935
  title?: string;
4772
3936
  } | null | undefined;
4773
- title?: {
4774
- type: "Text";
4775
- value: string;
4776
- __TYPE__: "FieldContent";
4777
- };
3937
+ text?: string;
4778
3938
  });
4779
3939
  start: number;
4780
3940
  end: number;
@@ -4928,11 +4088,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4928
4088
  kind: string;
4929
4089
  } & {
4930
4090
  date?: string | null | undefined;
4931
- title?: {
4932
- type: "Text";
4933
- value: string;
4934
- __TYPE__: "FieldContent";
4935
- };
4091
+ text?: string;
4936
4092
  }) | ({
4937
4093
  id: string;
4938
4094
  url: string;
@@ -4941,30 +4097,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
4941
4097
  size: string;
4942
4098
  } & {
4943
4099
  date?: string | null | undefined;
4944
- title?: {
4945
- type: "Text";
4946
- value: string;
4947
- __TYPE__: "FieldContent";
4948
- };
4100
+ text?: string;
4949
4101
  } & {
4950
4102
  __TYPE__: "FileLink";
4951
4103
  } & {
4952
4104
  size?: string;
4953
- title?: {
4954
- type: "Text";
4955
- value: string;
4956
- __TYPE__: "FieldContent";
4957
- };
4105
+ text?: string;
4958
4106
  }) | ({
4959
4107
  __TYPE__: "DocumentLink";
4960
4108
  } & {
4961
4109
  id: string;
4962
4110
  } & {
4963
- title?: {
4964
- type: "Text";
4965
- value: string;
4966
- __TYPE__: "FieldContent";
4967
- };
4111
+ text?: string;
4968
4112
  }) | ({
4969
4113
  __TYPE__: "ExternalLink";
4970
4114
  } & {
@@ -4975,11 +4119,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4975
4119
  preview?: {
4976
4120
  title?: string;
4977
4121
  } | null | undefined;
4978
- title?: {
4979
- type: "Text";
4980
- value: string;
4981
- __TYPE__: "FieldContent";
4982
- };
4122
+ text?: string;
4983
4123
  });
4984
4124
  } | {
4985
4125
  __TYPE__: "StructuredTextContent";
@@ -5020,11 +4160,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5020
4160
  kind: string;
5021
4161
  } & {
5022
4162
  date?: string | null | undefined;
5023
- title?: {
5024
- type: "Text";
5025
- value: string;
5026
- __TYPE__: "FieldContent";
5027
- };
4163
+ text?: string;
5028
4164
  }) | ({
5029
4165
  id: string;
5030
4166
  url: string;
@@ -5033,30 +4169,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
5033
4169
  size: string;
5034
4170
  } & {
5035
4171
  date?: string | null | undefined;
5036
- title?: {
5037
- type: "Text";
5038
- value: string;
5039
- __TYPE__: "FieldContent";
5040
- };
4172
+ text?: string;
5041
4173
  } & {
5042
4174
  __TYPE__: "FileLink";
5043
4175
  } & {
5044
4176
  size?: string;
5045
- title?: {
5046
- type: "Text";
5047
- value: string;
5048
- __TYPE__: "FieldContent";
5049
- };
4177
+ text?: string;
5050
4178
  }) | ({
5051
4179
  __TYPE__: "DocumentLink";
5052
4180
  } & {
5053
4181
  id: string;
5054
4182
  } & {
5055
- title?: {
5056
- type: "Text";
5057
- value: string;
5058
- __TYPE__: "FieldContent";
5059
- };
4183
+ text?: string;
5060
4184
  }) | ({
5061
4185
  __TYPE__: "ExternalLink";
5062
4186
  } & {
@@ -5067,11 +4191,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5067
4191
  preview?: {
5068
4192
  title?: string;
5069
4193
  } | null | undefined;
5070
- title?: {
5071
- type: "Text";
5072
- value: string;
5073
- __TYPE__: "FieldContent";
5074
- };
4194
+ text?: string;
5075
4195
  }) | null | undefined;
5076
4196
  };
5077
4197
  } & {
@@ -5119,11 +4239,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5119
4239
  kind: string;
5120
4240
  } & {
5121
4241
  date?: string | null | undefined;
5122
- title?: {
5123
- type: "Text";
5124
- value: string;
5125
- __TYPE__: "FieldContent";
5126
- };
4242
+ text?: string;
5127
4243
  }) | ({
5128
4244
  id: string;
5129
4245
  url: string;
@@ -5132,30 +4248,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
5132
4248
  size: string;
5133
4249
  } & {
5134
4250
  date?: string | null | undefined;
5135
- title?: {
5136
- type: "Text";
5137
- value: string;
5138
- __TYPE__: "FieldContent";
5139
- };
4251
+ text?: string;
5140
4252
  } & {
5141
4253
  __TYPE__: "FileLink";
5142
4254
  } & {
5143
4255
  size?: string;
5144
- title?: {
5145
- type: "Text";
5146
- value: string;
5147
- __TYPE__: "FieldContent";
5148
- };
4256
+ text?: string;
5149
4257
  }) | ({
5150
4258
  __TYPE__: "DocumentLink";
5151
4259
  } & {
5152
4260
  id: string;
5153
4261
  } & {
5154
- title?: {
5155
- type: "Text";
5156
- value: string;
5157
- __TYPE__: "FieldContent";
5158
- };
4262
+ text?: string;
5159
4263
  }) | ({
5160
4264
  __TYPE__: "ExternalLink";
5161
4265
  } & {
@@ -5166,11 +4270,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5166
4270
  preview?: {
5167
4271
  title?: string;
5168
4272
  } | null | undefined;
5169
- title?: {
5170
- type: "Text";
5171
- value: string;
5172
- __TYPE__: "FieldContent";
5173
- };
4273
+ text?: string;
5174
4274
  });
5175
4275
  start: number;
5176
4276
  end: number;
@@ -5322,11 +4422,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5322
4422
  kind: string;
5323
4423
  } & {
5324
4424
  date?: string | null | undefined;
5325
- title?: {
5326
- type: "Text";
5327
- value: string;
5328
- __TYPE__: "FieldContent";
5329
- };
4425
+ text?: string;
5330
4426
  }) | ({
5331
4427
  id: string;
5332
4428
  url: string;
@@ -5335,30 +4431,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
5335
4431
  size: string;
5336
4432
  } & {
5337
4433
  date?: string | null | undefined;
5338
- title?: {
5339
- type: "Text";
5340
- value: string;
5341
- __TYPE__: "FieldContent";
5342
- };
4434
+ text?: string;
5343
4435
  } & {
5344
4436
  __TYPE__: "FileLink";
5345
4437
  } & {
5346
4438
  size?: string;
5347
- title?: {
5348
- type: "Text";
5349
- value: string;
5350
- __TYPE__: "FieldContent";
5351
- };
4439
+ text?: string;
5352
4440
  }) | ({
5353
4441
  __TYPE__: "DocumentLink";
5354
4442
  } & {
5355
4443
  id: string;
5356
4444
  } & {
5357
- title?: {
5358
- type: "Text";
5359
- value: string;
5360
- __TYPE__: "FieldContent";
5361
- };
4445
+ text?: string;
5362
4446
  }) | ({
5363
4447
  __TYPE__: "ExternalLink";
5364
4448
  } & {
@@ -5369,11 +4453,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5369
4453
  preview?: {
5370
4454
  title?: string;
5371
4455
  } | null | undefined;
5372
- title?: {
5373
- type: "Text";
5374
- value: string;
5375
- __TYPE__: "FieldContent";
5376
- };
4456
+ text?: string;
5377
4457
  });
5378
4458
  } | {
5379
4459
  __TYPE__: "StructuredTextContent";
@@ -5414,11 +4494,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5414
4494
  kind: string;
5415
4495
  } & {
5416
4496
  date?: string | null | undefined;
5417
- title?: {
5418
- type: "Text";
5419
- value: string;
5420
- __TYPE__: "FieldContent";
5421
- };
4497
+ text?: string;
5422
4498
  }) | ({
5423
4499
  id: string;
5424
4500
  url: string;
@@ -5427,30 +4503,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
5427
4503
  size: string;
5428
4504
  } & {
5429
4505
  date?: string | null | undefined;
5430
- title?: {
5431
- type: "Text";
5432
- value: string;
5433
- __TYPE__: "FieldContent";
5434
- };
4506
+ text?: string;
5435
4507
  } & {
5436
4508
  __TYPE__: "FileLink";
5437
4509
  } & {
5438
4510
  size?: string;
5439
- title?: {
5440
- type: "Text";
5441
- value: string;
5442
- __TYPE__: "FieldContent";
5443
- };
4511
+ text?: string;
5444
4512
  }) | ({
5445
4513
  __TYPE__: "DocumentLink";
5446
4514
  } & {
5447
4515
  id: string;
5448
4516
  } & {
5449
- title?: {
5450
- type: "Text";
5451
- value: string;
5452
- __TYPE__: "FieldContent";
5453
- };
4517
+ text?: string;
5454
4518
  }) | ({
5455
4519
  __TYPE__: "ExternalLink";
5456
4520
  } & {
@@ -5461,11 +4525,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5461
4525
  preview?: {
5462
4526
  title?: string;
5463
4527
  } | null | undefined;
5464
- title?: {
5465
- type: "Text";
5466
- value: string;
5467
- __TYPE__: "FieldContent";
5468
- };
4528
+ text?: string;
5469
4529
  }) | null | undefined;
5470
4530
  };
5471
4531
  } & {
@@ -5513,11 +4573,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5513
4573
  kind: string;
5514
4574
  } & {
5515
4575
  date?: string | null | undefined;
5516
- title?: {
5517
- type: "Text";
5518
- value: string;
5519
- __TYPE__: "FieldContent";
5520
- };
4576
+ text?: string;
5521
4577
  }) | ({
5522
4578
  id: string;
5523
4579
  url: string;
@@ -5526,30 +4582,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
5526
4582
  size: string;
5527
4583
  } & {
5528
4584
  date?: string | null | undefined;
5529
- title?: {
5530
- type: "Text";
5531
- value: string;
5532
- __TYPE__: "FieldContent";
5533
- };
4585
+ text?: string;
5534
4586
  } & {
5535
4587
  __TYPE__: "FileLink";
5536
4588
  } & {
5537
4589
  size?: string;
5538
- title?: {
5539
- type: "Text";
5540
- value: string;
5541
- __TYPE__: "FieldContent";
5542
- };
4590
+ text?: string;
5543
4591
  }) | ({
5544
4592
  __TYPE__: "DocumentLink";
5545
4593
  } & {
5546
4594
  id: string;
5547
4595
  } & {
5548
- title?: {
5549
- type: "Text";
5550
- value: string;
5551
- __TYPE__: "FieldContent";
5552
- };
4596
+ text?: string;
5553
4597
  }) | ({
5554
4598
  __TYPE__: "ExternalLink";
5555
4599
  } & {
@@ -5560,11 +4604,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
5560
4604
  preview?: {
5561
4605
  title?: string;
5562
4606
  } | null | undefined;
5563
- title?: {
5564
- type: "Text";
5565
- value: string;
5566
- __TYPE__: "FieldContent";
5567
- };
4607
+ text?: string;
5568
4608
  });
5569
4609
  start: number;
5570
4610
  end: number;
@@ -5720,11 +4760,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5720
4760
  kind: string;
5721
4761
  } & {
5722
4762
  date?: string | null | undefined;
5723
- title?: {
5724
- type: "Text";
5725
- value: string;
5726
- __TYPE__: "FieldContent";
5727
- };
4763
+ text?: string;
5728
4764
  }) | ({
5729
4765
  id: string;
5730
4766
  url: string;
@@ -5733,30 +4769,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5733
4769
  size: string;
5734
4770
  } & {
5735
4771
  date?: string | null | undefined;
5736
- title?: {
5737
- type: "Text";
5738
- value: string;
5739
- __TYPE__: "FieldContent";
5740
- };
4772
+ text?: string;
5741
4773
  } & {
5742
4774
  __TYPE__: "FileLink";
5743
4775
  } & {
5744
4776
  size?: string;
5745
- title?: {
5746
- type: "Text";
5747
- value: string;
5748
- __TYPE__: "FieldContent";
5749
- };
4777
+ text?: string;
5750
4778
  }) | ({
5751
4779
  __TYPE__: "DocumentLink";
5752
4780
  } & {
5753
4781
  id: string;
5754
4782
  } & {
5755
- title?: {
5756
- type: "Text";
5757
- value: string;
5758
- __TYPE__: "FieldContent";
5759
- };
4783
+ text?: string;
5760
4784
  }) | ({
5761
4785
  __TYPE__: "ExternalLink";
5762
4786
  } & {
@@ -5767,11 +4791,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5767
4791
  preview?: {
5768
4792
  title?: string;
5769
4793
  } | null | undefined;
5770
- title?: {
5771
- type: "Text";
5772
- value: string;
5773
- __TYPE__: "FieldContent";
5774
- };
4794
+ text?: string;
5775
4795
  });
5776
4796
  }> | import("fp-ts/lib/Either").Right<{
5777
4797
  __TYPE__: "StructuredTextContent";
@@ -5812,11 +4832,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5812
4832
  kind: string;
5813
4833
  } & {
5814
4834
  date?: string | null | undefined;
5815
- title?: {
5816
- type: "Text";
5817
- value: string;
5818
- __TYPE__: "FieldContent";
5819
- };
4835
+ text?: string;
5820
4836
  }) | ({
5821
4837
  id: string;
5822
4838
  url: string;
@@ -5825,30 +4841,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5825
4841
  size: string;
5826
4842
  } & {
5827
4843
  date?: string | null | undefined;
5828
- title?: {
5829
- type: "Text";
5830
- value: string;
5831
- __TYPE__: "FieldContent";
5832
- };
4844
+ text?: string;
5833
4845
  } & {
5834
4846
  __TYPE__: "FileLink";
5835
4847
  } & {
5836
4848
  size?: string;
5837
- title?: {
5838
- type: "Text";
5839
- value: string;
5840
- __TYPE__: "FieldContent";
5841
- };
4849
+ text?: string;
5842
4850
  }) | ({
5843
4851
  __TYPE__: "DocumentLink";
5844
4852
  } & {
5845
4853
  id: string;
5846
4854
  } & {
5847
- title?: {
5848
- type: "Text";
5849
- value: string;
5850
- __TYPE__: "FieldContent";
5851
- };
4855
+ text?: string;
5852
4856
  }) | ({
5853
4857
  __TYPE__: "ExternalLink";
5854
4858
  } & {
@@ -5859,11 +4863,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5859
4863
  preview?: {
5860
4864
  title?: string;
5861
4865
  } | null | undefined;
5862
- title?: {
5863
- type: "Text";
5864
- value: string;
5865
- __TYPE__: "FieldContent";
5866
- };
4866
+ text?: string;
5867
4867
  }) | null | undefined;
5868
4868
  };
5869
4869
  } & {
@@ -5911,11 +4911,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5911
4911
  kind: string;
5912
4912
  } & {
5913
4913
  date?: string | null | undefined;
5914
- title?: {
5915
- type: "Text";
5916
- value: string;
5917
- __TYPE__: "FieldContent";
5918
- };
4914
+ text?: string;
5919
4915
  }) | ({
5920
4916
  id: string;
5921
4917
  url: string;
@@ -5924,30 +4920,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5924
4920
  size: string;
5925
4921
  } & {
5926
4922
  date?: string | null | undefined;
5927
- title?: {
5928
- type: "Text";
5929
- value: string;
5930
- __TYPE__: "FieldContent";
5931
- };
4923
+ text?: string;
5932
4924
  } & {
5933
4925
  __TYPE__: "FileLink";
5934
4926
  } & {
5935
4927
  size?: string;
5936
- title?: {
5937
- type: "Text";
5938
- value: string;
5939
- __TYPE__: "FieldContent";
5940
- };
4928
+ text?: string;
5941
4929
  }) | ({
5942
4930
  __TYPE__: "DocumentLink";
5943
4931
  } & {
5944
4932
  id: string;
5945
4933
  } & {
5946
- title?: {
5947
- type: "Text";
5948
- value: string;
5949
- __TYPE__: "FieldContent";
5950
- };
4934
+ text?: string;
5951
4935
  }) | ({
5952
4936
  __TYPE__: "ExternalLink";
5953
4937
  } & {
@@ -5958,11 +4942,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5958
4942
  preview?: {
5959
4943
  title?: string;
5960
4944
  } | null | undefined;
5961
- title?: {
5962
- type: "Text";
5963
- value: string;
5964
- __TYPE__: "FieldContent";
5965
- };
4945
+ text?: string;
5966
4946
  });
5967
4947
  start: number;
5968
4948
  end: number;
@@ -6119,11 +5099,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6119
5099
  kind: string;
6120
5100
  } & {
6121
5101
  date?: string | null | undefined;
6122
- title?: {
6123
- type: "Text";
6124
- value: string;
6125
- __TYPE__: "FieldContent";
6126
- };
5102
+ text?: string;
6127
5103
  }) | ({
6128
5104
  id: string;
6129
5105
  url: string;
@@ -6132,30 +5108,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6132
5108
  size: string;
6133
5109
  } & {
6134
5110
  date?: string | null | undefined;
6135
- title?: {
6136
- type: "Text";
6137
- value: string;
6138
- __TYPE__: "FieldContent";
6139
- };
5111
+ text?: string;
6140
5112
  } & {
6141
5113
  __TYPE__: "FileLink";
6142
5114
  } & {
6143
5115
  size?: string;
6144
- title?: {
6145
- type: "Text";
6146
- value: string;
6147
- __TYPE__: "FieldContent";
6148
- };
5116
+ text?: string;
6149
5117
  }) | ({
6150
5118
  __TYPE__: "DocumentLink";
6151
5119
  } & {
6152
5120
  id: string;
6153
5121
  } & {
6154
- title?: {
6155
- type: "Text";
6156
- value: string;
6157
- __TYPE__: "FieldContent";
6158
- };
5122
+ text?: string;
6159
5123
  }) | ({
6160
5124
  __TYPE__: "ExternalLink";
6161
5125
  } & {
@@ -6166,11 +5130,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6166
5130
  preview?: {
6167
5131
  title?: string;
6168
5132
  } | null | undefined;
6169
- title?: {
6170
- type: "Text";
6171
- value: string;
6172
- __TYPE__: "FieldContent";
6173
- };
5133
+ text?: string;
6174
5134
  });
6175
5135
  } | {
6176
5136
  __TYPE__: "StructuredTextContent";
@@ -6211,11 +5171,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6211
5171
  kind: string;
6212
5172
  } & {
6213
5173
  date?: string | null | undefined;
6214
- title?: {
6215
- type: "Text";
6216
- value: string;
6217
- __TYPE__: "FieldContent";
6218
- };
5174
+ text?: string;
6219
5175
  }) | ({
6220
5176
  id: string;
6221
5177
  url: string;
@@ -6224,30 +5180,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6224
5180
  size: string;
6225
5181
  } & {
6226
5182
  date?: string | null | undefined;
6227
- title?: {
6228
- type: "Text";
6229
- value: string;
6230
- __TYPE__: "FieldContent";
6231
- };
5183
+ text?: string;
6232
5184
  } & {
6233
5185
  __TYPE__: "FileLink";
6234
5186
  } & {
6235
5187
  size?: string;
6236
- title?: {
6237
- type: "Text";
6238
- value: string;
6239
- __TYPE__: "FieldContent";
6240
- };
5188
+ text?: string;
6241
5189
  }) | ({
6242
5190
  __TYPE__: "DocumentLink";
6243
5191
  } & {
6244
5192
  id: string;
6245
5193
  } & {
6246
- title?: {
6247
- type: "Text";
6248
- value: string;
6249
- __TYPE__: "FieldContent";
6250
- };
5194
+ text?: string;
6251
5195
  }) | ({
6252
5196
  __TYPE__: "ExternalLink";
6253
5197
  } & {
@@ -6258,11 +5202,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6258
5202
  preview?: {
6259
5203
  title?: string;
6260
5204
  } | null | undefined;
6261
- title?: {
6262
- type: "Text";
6263
- value: string;
6264
- __TYPE__: "FieldContent";
6265
- };
5205
+ text?: string;
6266
5206
  }) | null | undefined;
6267
5207
  };
6268
5208
  } & {
@@ -6310,11 +5250,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6310
5250
  kind: string;
6311
5251
  } & {
6312
5252
  date?: string | null | undefined;
6313
- title?: {
6314
- type: "Text";
6315
- value: string;
6316
- __TYPE__: "FieldContent";
6317
- };
5253
+ text?: string;
6318
5254
  }) | ({
6319
5255
  id: string;
6320
5256
  url: string;
@@ -6323,30 +5259,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6323
5259
  size: string;
6324
5260
  } & {
6325
5261
  date?: string | null | undefined;
6326
- title?: {
6327
- type: "Text";
6328
- value: string;
6329
- __TYPE__: "FieldContent";
6330
- };
5262
+ text?: string;
6331
5263
  } & {
6332
5264
  __TYPE__: "FileLink";
6333
5265
  } & {
6334
5266
  size?: string;
6335
- title?: {
6336
- type: "Text";
6337
- value: string;
6338
- __TYPE__: "FieldContent";
6339
- };
5267
+ text?: string;
6340
5268
  }) | ({
6341
5269
  __TYPE__: "DocumentLink";
6342
5270
  } & {
6343
5271
  id: string;
6344
5272
  } & {
6345
- title?: {
6346
- type: "Text";
6347
- value: string;
6348
- __TYPE__: "FieldContent";
6349
- };
5273
+ text?: string;
6350
5274
  }) | ({
6351
5275
  __TYPE__: "ExternalLink";
6352
5276
  } & {
@@ -6357,11 +5281,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6357
5281
  preview?: {
6358
5282
  title?: string;
6359
5283
  } | null | undefined;
6360
- title?: {
6361
- type: "Text";
6362
- value: string;
6363
- __TYPE__: "FieldContent";
6364
- };
5284
+ text?: string;
6365
5285
  });
6366
5286
  start: number;
6367
5287
  end: number;
@@ -6512,11 +5432,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6512
5432
  kind: string;
6513
5433
  } & {
6514
5434
  date?: string | null | undefined;
6515
- title?: {
6516
- type: "Text";
6517
- value: string;
6518
- __TYPE__: "FieldContent";
6519
- };
5435
+ text?: string;
6520
5436
  }) | ({
6521
5437
  id: string;
6522
5438
  url: string;
@@ -6525,30 +5441,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6525
5441
  size: string;
6526
5442
  } & {
6527
5443
  date?: string | null | undefined;
6528
- title?: {
6529
- type: "Text";
6530
- value: string;
6531
- __TYPE__: "FieldContent";
6532
- };
5444
+ text?: string;
6533
5445
  } & {
6534
5446
  __TYPE__: "FileLink";
6535
5447
  } & {
6536
5448
  size?: string;
6537
- title?: {
6538
- type: "Text";
6539
- value: string;
6540
- __TYPE__: "FieldContent";
6541
- };
5449
+ text?: string;
6542
5450
  }) | ({
6543
5451
  __TYPE__: "DocumentLink";
6544
5452
  } & {
6545
5453
  id: string;
6546
5454
  } & {
6547
- title?: {
6548
- type: "Text";
6549
- value: string;
6550
- __TYPE__: "FieldContent";
6551
- };
5455
+ text?: string;
6552
5456
  }) | ({
6553
5457
  __TYPE__: "ExternalLink";
6554
5458
  } & {
@@ -6559,11 +5463,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6559
5463
  preview?: {
6560
5464
  title?: string;
6561
5465
  } | null | undefined;
6562
- title?: {
6563
- type: "Text";
6564
- value: string;
6565
- __TYPE__: "FieldContent";
6566
- };
5466
+ text?: string;
6567
5467
  });
6568
5468
  } | {
6569
5469
  __TYPE__: "StructuredTextContent";
@@ -6604,11 +5504,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6604
5504
  kind: string;
6605
5505
  } & {
6606
5506
  date?: string | null | undefined;
6607
- title?: {
6608
- type: "Text";
6609
- value: string;
6610
- __TYPE__: "FieldContent";
6611
- };
5507
+ text?: string;
6612
5508
  }) | ({
6613
5509
  id: string;
6614
5510
  url: string;
@@ -6617,30 +5513,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6617
5513
  size: string;
6618
5514
  } & {
6619
5515
  date?: string | null | undefined;
6620
- title?: {
6621
- type: "Text";
6622
- value: string;
6623
- __TYPE__: "FieldContent";
6624
- };
5516
+ text?: string;
6625
5517
  } & {
6626
5518
  __TYPE__: "FileLink";
6627
5519
  } & {
6628
5520
  size?: string;
6629
- title?: {
6630
- type: "Text";
6631
- value: string;
6632
- __TYPE__: "FieldContent";
6633
- };
5521
+ text?: string;
6634
5522
  }) | ({
6635
5523
  __TYPE__: "DocumentLink";
6636
5524
  } & {
6637
5525
  id: string;
6638
5526
  } & {
6639
- title?: {
6640
- type: "Text";
6641
- value: string;
6642
- __TYPE__: "FieldContent";
6643
- };
5527
+ text?: string;
6644
5528
  }) | ({
6645
5529
  __TYPE__: "ExternalLink";
6646
5530
  } & {
@@ -6651,11 +5535,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6651
5535
  preview?: {
6652
5536
  title?: string;
6653
5537
  } | null | undefined;
6654
- title?: {
6655
- type: "Text";
6656
- value: string;
6657
- __TYPE__: "FieldContent";
6658
- };
5538
+ text?: string;
6659
5539
  }) | null | undefined;
6660
5540
  };
6661
5541
  } & {
@@ -6703,11 +5583,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6703
5583
  kind: string;
6704
5584
  } & {
6705
5585
  date?: string | null | undefined;
6706
- title?: {
6707
- type: "Text";
6708
- value: string;
6709
- __TYPE__: "FieldContent";
6710
- };
5586
+ text?: string;
6711
5587
  }) | ({
6712
5588
  id: string;
6713
5589
  url: string;
@@ -6716,30 +5592,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6716
5592
  size: string;
6717
5593
  } & {
6718
5594
  date?: string | null | undefined;
6719
- title?: {
6720
- type: "Text";
6721
- value: string;
6722
- __TYPE__: "FieldContent";
6723
- };
5595
+ text?: string;
6724
5596
  } & {
6725
5597
  __TYPE__: "FileLink";
6726
5598
  } & {
6727
5599
  size?: string;
6728
- title?: {
6729
- type: "Text";
6730
- value: string;
6731
- __TYPE__: "FieldContent";
6732
- };
5600
+ text?: string;
6733
5601
  }) | ({
6734
5602
  __TYPE__: "DocumentLink";
6735
5603
  } & {
6736
5604
  id: string;
6737
5605
  } & {
6738
- title?: {
6739
- type: "Text";
6740
- value: string;
6741
- __TYPE__: "FieldContent";
6742
- };
5606
+ text?: string;
6743
5607
  }) | ({
6744
5608
  __TYPE__: "ExternalLink";
6745
5609
  } & {
@@ -6750,11 +5614,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6750
5614
  preview?: {
6751
5615
  title?: string;
6752
5616
  } | null | undefined;
6753
- title?: {
6754
- type: "Text";
6755
- value: string;
6756
- __TYPE__: "FieldContent";
6757
- };
5617
+ text?: string;
6758
5618
  });
6759
5619
  start: number;
6760
5620
  end: number;
@@ -6906,11 +5766,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6906
5766
  kind: string;
6907
5767
  } & {
6908
5768
  date?: string | null | undefined;
6909
- title?: {
6910
- type: "Text";
6911
- value: string;
6912
- __TYPE__: "FieldContent";
6913
- };
5769
+ text?: string;
6914
5770
  }) | ({
6915
5771
  id: string;
6916
5772
  url: string;
@@ -6919,30 +5775,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6919
5775
  size: string;
6920
5776
  } & {
6921
5777
  date?: string | null | undefined;
6922
- title?: {
6923
- type: "Text";
6924
- value: string;
6925
- __TYPE__: "FieldContent";
6926
- };
5778
+ text?: string;
6927
5779
  } & {
6928
5780
  __TYPE__: "FileLink";
6929
5781
  } & {
6930
5782
  size?: string;
6931
- title?: {
6932
- type: "Text";
6933
- value: string;
6934
- __TYPE__: "FieldContent";
6935
- };
5783
+ text?: string;
6936
5784
  }) | ({
6937
5785
  __TYPE__: "DocumentLink";
6938
5786
  } & {
6939
5787
  id: string;
6940
5788
  } & {
6941
- title?: {
6942
- type: "Text";
6943
- value: string;
6944
- __TYPE__: "FieldContent";
6945
- };
5789
+ text?: string;
6946
5790
  }) | ({
6947
5791
  __TYPE__: "ExternalLink";
6948
5792
  } & {
@@ -6953,11 +5797,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6953
5797
  preview?: {
6954
5798
  title?: string;
6955
5799
  } | null | undefined;
6956
- title?: {
6957
- type: "Text";
6958
- value: string;
6959
- __TYPE__: "FieldContent";
6960
- };
5800
+ text?: string;
6961
5801
  });
6962
5802
  } | {
6963
5803
  __TYPE__: "StructuredTextContent";
@@ -6998,11 +5838,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6998
5838
  kind: string;
6999
5839
  } & {
7000
5840
  date?: string | null | undefined;
7001
- title?: {
7002
- type: "Text";
7003
- value: string;
7004
- __TYPE__: "FieldContent";
7005
- };
5841
+ text?: string;
7006
5842
  }) | ({
7007
5843
  id: string;
7008
5844
  url: string;
@@ -7011,30 +5847,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7011
5847
  size: string;
7012
5848
  } & {
7013
5849
  date?: string | null | undefined;
7014
- title?: {
7015
- type: "Text";
7016
- value: string;
7017
- __TYPE__: "FieldContent";
7018
- };
5850
+ text?: string;
7019
5851
  } & {
7020
5852
  __TYPE__: "FileLink";
7021
5853
  } & {
7022
5854
  size?: string;
7023
- title?: {
7024
- type: "Text";
7025
- value: string;
7026
- __TYPE__: "FieldContent";
7027
- };
5855
+ text?: string;
7028
5856
  }) | ({
7029
5857
  __TYPE__: "DocumentLink";
7030
5858
  } & {
7031
5859
  id: string;
7032
5860
  } & {
7033
- title?: {
7034
- type: "Text";
7035
- value: string;
7036
- __TYPE__: "FieldContent";
7037
- };
5861
+ text?: string;
7038
5862
  }) | ({
7039
5863
  __TYPE__: "ExternalLink";
7040
5864
  } & {
@@ -7045,11 +5869,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7045
5869
  preview?: {
7046
5870
  title?: string;
7047
5871
  } | null | undefined;
7048
- title?: {
7049
- type: "Text";
7050
- value: string;
7051
- __TYPE__: "FieldContent";
7052
- };
5872
+ text?: string;
7053
5873
  }) | null | undefined;
7054
5874
  };
7055
5875
  } & {
@@ -7097,11 +5917,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7097
5917
  kind: string;
7098
5918
  } & {
7099
5919
  date?: string | null | undefined;
7100
- title?: {
7101
- type: "Text";
7102
- value: string;
7103
- __TYPE__: "FieldContent";
7104
- };
5920
+ text?: string;
7105
5921
  }) | ({
7106
5922
  id: string;
7107
5923
  url: string;
@@ -7110,30 +5926,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7110
5926
  size: string;
7111
5927
  } & {
7112
5928
  date?: string | null | undefined;
7113
- title?: {
7114
- type: "Text";
7115
- value: string;
7116
- __TYPE__: "FieldContent";
7117
- };
5929
+ text?: string;
7118
5930
  } & {
7119
5931
  __TYPE__: "FileLink";
7120
5932
  } & {
7121
5933
  size?: string;
7122
- title?: {
7123
- type: "Text";
7124
- value: string;
7125
- __TYPE__: "FieldContent";
7126
- };
5934
+ text?: string;
7127
5935
  }) | ({
7128
5936
  __TYPE__: "DocumentLink";
7129
5937
  } & {
7130
5938
  id: string;
7131
5939
  } & {
7132
- title?: {
7133
- type: "Text";
7134
- value: string;
7135
- __TYPE__: "FieldContent";
7136
- };
5940
+ text?: string;
7137
5941
  }) | ({
7138
5942
  __TYPE__: "ExternalLink";
7139
5943
  } & {
@@ -7144,11 +5948,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7144
5948
  preview?: {
7145
5949
  title?: string;
7146
5950
  } | null | undefined;
7147
- title?: {
7148
- type: "Text";
7149
- value: string;
7150
- __TYPE__: "FieldContent";
7151
- };
5951
+ text?: string;
7152
5952
  });
7153
5953
  start: number;
7154
5954
  end: number;
@@ -7302,11 +6102,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7302
6102
  kind: string;
7303
6103
  } & {
7304
6104
  date?: string | null | undefined;
7305
- title?: {
7306
- type: "Text";
7307
- value: string;
7308
- __TYPE__: "FieldContent";
7309
- };
6105
+ text?: string;
7310
6106
  }) | ({
7311
6107
  id: string;
7312
6108
  url: string;
@@ -7315,30 +6111,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7315
6111
  size: string;
7316
6112
  } & {
7317
6113
  date?: string | null | undefined;
7318
- title?: {
7319
- type: "Text";
7320
- value: string;
7321
- __TYPE__: "FieldContent";
7322
- };
6114
+ text?: string;
7323
6115
  } & {
7324
6116
  __TYPE__: "FileLink";
7325
6117
  } & {
7326
6118
  size?: string;
7327
- title?: {
7328
- type: "Text";
7329
- value: string;
7330
- __TYPE__: "FieldContent";
7331
- };
6119
+ text?: string;
7332
6120
  }) | ({
7333
6121
  __TYPE__: "DocumentLink";
7334
6122
  } & {
7335
6123
  id: string;
7336
6124
  } & {
7337
- title?: {
7338
- type: "Text";
7339
- value: string;
7340
- __TYPE__: "FieldContent";
7341
- };
6125
+ text?: string;
7342
6126
  }) | ({
7343
6127
  __TYPE__: "ExternalLink";
7344
6128
  } & {
@@ -7349,11 +6133,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7349
6133
  preview?: {
7350
6134
  title?: string;
7351
6135
  } | null | undefined;
7352
- title?: {
7353
- type: "Text";
7354
- value: string;
7355
- __TYPE__: "FieldContent";
7356
- };
6136
+ text?: string;
7357
6137
  });
7358
6138
  } | {
7359
6139
  __TYPE__: "StructuredTextContent";
@@ -7394,11 +6174,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7394
6174
  kind: string;
7395
6175
  } & {
7396
6176
  date?: string | null | undefined;
7397
- title?: {
7398
- type: "Text";
7399
- value: string;
7400
- __TYPE__: "FieldContent";
7401
- };
6177
+ text?: string;
7402
6178
  }) | ({
7403
6179
  id: string;
7404
6180
  url: string;
@@ -7407,30 +6183,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7407
6183
  size: string;
7408
6184
  } & {
7409
6185
  date?: string | null | undefined;
7410
- title?: {
7411
- type: "Text";
7412
- value: string;
7413
- __TYPE__: "FieldContent";
7414
- };
6186
+ text?: string;
7415
6187
  } & {
7416
6188
  __TYPE__: "FileLink";
7417
6189
  } & {
7418
6190
  size?: string;
7419
- title?: {
7420
- type: "Text";
7421
- value: string;
7422
- __TYPE__: "FieldContent";
7423
- };
6191
+ text?: string;
7424
6192
  }) | ({
7425
6193
  __TYPE__: "DocumentLink";
7426
6194
  } & {
7427
6195
  id: string;
7428
6196
  } & {
7429
- title?: {
7430
- type: "Text";
7431
- value: string;
7432
- __TYPE__: "FieldContent";
7433
- };
6197
+ text?: string;
7434
6198
  }) | ({
7435
6199
  __TYPE__: "ExternalLink";
7436
6200
  } & {
@@ -7441,11 +6205,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7441
6205
  preview?: {
7442
6206
  title?: string;
7443
6207
  } | null | undefined;
7444
- title?: {
7445
- type: "Text";
7446
- value: string;
7447
- __TYPE__: "FieldContent";
7448
- };
6208
+ text?: string;
7449
6209
  }) | null | undefined;
7450
6210
  };
7451
6211
  } & {
@@ -7493,11 +6253,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7493
6253
  kind: string;
7494
6254
  } & {
7495
6255
  date?: string | null | undefined;
7496
- title?: {
7497
- type: "Text";
7498
- value: string;
7499
- __TYPE__: "FieldContent";
7500
- };
6256
+ text?: string;
7501
6257
  }) | ({
7502
6258
  id: string;
7503
6259
  url: string;
@@ -7506,30 +6262,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7506
6262
  size: string;
7507
6263
  } & {
7508
6264
  date?: string | null | undefined;
7509
- title?: {
7510
- type: "Text";
7511
- value: string;
7512
- __TYPE__: "FieldContent";
7513
- };
6265
+ text?: string;
7514
6266
  } & {
7515
6267
  __TYPE__: "FileLink";
7516
6268
  } & {
7517
6269
  size?: string;
7518
- title?: {
7519
- type: "Text";
7520
- value: string;
7521
- __TYPE__: "FieldContent";
7522
- };
6270
+ text?: string;
7523
6271
  }) | ({
7524
6272
  __TYPE__: "DocumentLink";
7525
6273
  } & {
7526
6274
  id: string;
7527
6275
  } & {
7528
- title?: {
7529
- type: "Text";
7530
- value: string;
7531
- __TYPE__: "FieldContent";
7532
- };
6276
+ text?: string;
7533
6277
  }) | ({
7534
6278
  __TYPE__: "ExternalLink";
7535
6279
  } & {
@@ -7540,11 +6284,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7540
6284
  preview?: {
7541
6285
  title?: string;
7542
6286
  } | null | undefined;
7543
- title?: {
7544
- type: "Text";
7545
- value: string;
7546
- __TYPE__: "FieldContent";
7547
- };
6287
+ text?: string;
7548
6288
  });
7549
6289
  start: number;
7550
6290
  end: number;
@@ -7696,11 +6436,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7696
6436
  kind: string;
7697
6437
  } & {
7698
6438
  date?: string | null | undefined;
7699
- title?: {
7700
- type: "Text";
7701
- value: string;
7702
- __TYPE__: "FieldContent";
7703
- };
6439
+ text?: string;
7704
6440
  }) | ({
7705
6441
  id: string;
7706
6442
  url: string;
@@ -7709,30 +6445,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7709
6445
  size: string;
7710
6446
  } & {
7711
6447
  date?: string | null | undefined;
7712
- title?: {
7713
- type: "Text";
7714
- value: string;
7715
- __TYPE__: "FieldContent";
7716
- };
6448
+ text?: string;
7717
6449
  } & {
7718
6450
  __TYPE__: "FileLink";
7719
6451
  } & {
7720
6452
  size?: string;
7721
- title?: {
7722
- type: "Text";
7723
- value: string;
7724
- __TYPE__: "FieldContent";
7725
- };
6453
+ text?: string;
7726
6454
  }) | ({
7727
6455
  __TYPE__: "DocumentLink";
7728
6456
  } & {
7729
6457
  id: string;
7730
6458
  } & {
7731
- title?: {
7732
- type: "Text";
7733
- value: string;
7734
- __TYPE__: "FieldContent";
7735
- };
6459
+ text?: string;
7736
6460
  }) | ({
7737
6461
  __TYPE__: "ExternalLink";
7738
6462
  } & {
@@ -7743,11 +6467,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7743
6467
  preview?: {
7744
6468
  title?: string;
7745
6469
  } | null | undefined;
7746
- title?: {
7747
- type: "Text";
7748
- value: string;
7749
- __TYPE__: "FieldContent";
7750
- };
6470
+ text?: string;
7751
6471
  });
7752
6472
  } | {
7753
6473
  __TYPE__: "StructuredTextContent";
@@ -7788,11 +6508,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7788
6508
  kind: string;
7789
6509
  } & {
7790
6510
  date?: string | null | undefined;
7791
- title?: {
7792
- type: "Text";
7793
- value: string;
7794
- __TYPE__: "FieldContent";
7795
- };
6511
+ text?: string;
7796
6512
  }) | ({
7797
6513
  id: string;
7798
6514
  url: string;
@@ -7801,30 +6517,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7801
6517
  size: string;
7802
6518
  } & {
7803
6519
  date?: string | null | undefined;
7804
- title?: {
7805
- type: "Text";
7806
- value: string;
7807
- __TYPE__: "FieldContent";
7808
- };
6520
+ text?: string;
7809
6521
  } & {
7810
6522
  __TYPE__: "FileLink";
7811
6523
  } & {
7812
6524
  size?: string;
7813
- title?: {
7814
- type: "Text";
7815
- value: string;
7816
- __TYPE__: "FieldContent";
7817
- };
6525
+ text?: string;
7818
6526
  }) | ({
7819
6527
  __TYPE__: "DocumentLink";
7820
6528
  } & {
7821
6529
  id: string;
7822
6530
  } & {
7823
- title?: {
7824
- type: "Text";
7825
- value: string;
7826
- __TYPE__: "FieldContent";
7827
- };
6531
+ text?: string;
7828
6532
  }) | ({
7829
6533
  __TYPE__: "ExternalLink";
7830
6534
  } & {
@@ -7835,11 +6539,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7835
6539
  preview?: {
7836
6540
  title?: string;
7837
6541
  } | null | undefined;
7838
- title?: {
7839
- type: "Text";
7840
- value: string;
7841
- __TYPE__: "FieldContent";
7842
- };
6542
+ text?: string;
7843
6543
  }) | null | undefined;
7844
6544
  };
7845
6545
  } & {
@@ -7887,11 +6587,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7887
6587
  kind: string;
7888
6588
  } & {
7889
6589
  date?: string | null | undefined;
7890
- title?: {
7891
- type: "Text";
7892
- value: string;
7893
- __TYPE__: "FieldContent";
7894
- };
6590
+ text?: string;
7895
6591
  }) | ({
7896
6592
  id: string;
7897
6593
  url: string;
@@ -7900,30 +6596,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7900
6596
  size: string;
7901
6597
  } & {
7902
6598
  date?: string | null | undefined;
7903
- title?: {
7904
- type: "Text";
7905
- value: string;
7906
- __TYPE__: "FieldContent";
7907
- };
6599
+ text?: string;
7908
6600
  } & {
7909
6601
  __TYPE__: "FileLink";
7910
6602
  } & {
7911
6603
  size?: string;
7912
- title?: {
7913
- type: "Text";
7914
- value: string;
7915
- __TYPE__: "FieldContent";
7916
- };
6604
+ text?: string;
7917
6605
  }) | ({
7918
6606
  __TYPE__: "DocumentLink";
7919
6607
  } & {
7920
6608
  id: string;
7921
6609
  } & {
7922
- title?: {
7923
- type: "Text";
7924
- value: string;
7925
- __TYPE__: "FieldContent";
7926
- };
6610
+ text?: string;
7927
6611
  }) | ({
7928
6612
  __TYPE__: "ExternalLink";
7929
6613
  } & {
@@ -7934,11 +6618,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
7934
6618
  preview?: {
7935
6619
  title?: string;
7936
6620
  } | null | undefined;
7937
- title?: {
7938
- type: "Text";
7939
- value: string;
7940
- __TYPE__: "FieldContent";
7941
- };
6621
+ text?: string;
7942
6622
  });
7943
6623
  start: number;
7944
6624
  end: number;