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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/lib/_internal/utils.d.ts +3 -2
  2. package/lib/content/Document.d.ts +1457 -149
  3. package/lib/content/LegacyContentCtx.d.ts +15 -0
  4. package/lib/content/fields/RepeatableContent.d.ts +236 -0
  5. package/lib/content/fields/RepeatableContent.js +97 -0
  6. package/lib/content/fields/WidgetContent.d.ts +1465 -157
  7. package/lib/content/fields/nestable/LinkContent.d.ts +55 -32
  8. package/lib/content/fields/nestable/LinkContent.js +25 -10
  9. package/lib/content/fields/nestable/NestableContent.d.ts +242 -24
  10. package/lib/content/fields/nestable/NestableContent.js +21 -2
  11. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +106 -106
  12. package/lib/content/fields/nestable/RichTextContent/index.d.ts +20 -20
  13. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +482 -46
  14. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +84 -10
  15. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +484 -48
  16. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +242 -24
  17. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +243 -25
  18. package/lib/content/fields/slices/Slice/index.d.ts +815 -85
  19. package/lib/content/fields/slices/SliceItem.d.ts +814 -84
  20. package/lib/content/fields/slices/SlicesContent.d.ts +1222 -132
  21. package/lib/customtypes/CustomType.d.ts +18 -0
  22. package/lib/customtypes/Section.d.ts +18 -0
  23. package/lib/customtypes/diff/SharedSlice.d.ts +8 -0
  24. package/lib/customtypes/diff/Variation.d.ts +8 -0
  25. package/lib/customtypes/widgets/Group.d.ts +6 -0
  26. package/lib/customtypes/widgets/Widget.d.ts +36 -0
  27. package/lib/customtypes/widgets/Widget.js +15 -0
  28. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
  29. package/lib/customtypes/widgets/nestable/Link.js +5 -1
  30. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +3 -1
  31. package/lib/customtypes/widgets/nestable/NestableWidget.js +18 -1
  32. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  33. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
  34. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
  35. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -0
  36. package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
  37. package/package.json +1 -1
  38. package/src/_internal/utils.ts +3 -1
  39. package/src/content/fields/RepeatableContent.ts +156 -0
  40. package/src/content/fields/nestable/LinkContent.ts +26 -26
  41. package/src/content/fields/nestable/NestableContent.ts +28 -3
  42. package/src/customtypes/widgets/Widget.ts +15 -0
  43. package/src/customtypes/widgets/nestable/Link.ts +5 -1
  44. package/src/customtypes/widgets/nestable/NestableWidget.ts +34 -16
@@ -116,7 +116,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
116
116
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
117
117
  __TYPE__: t.LiteralC<"ImageLink">;
118
118
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
119
- kind: t.Type<"image", "image", unknown>;
119
+ kind: t.StringC;
120
120
  id: t.StringC;
121
121
  url: t.StringC;
122
122
  height: t.StringC;
@@ -133,7 +133,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
133
133
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
134
134
  __TYPE__: t.LiteralC<"FileLink">;
135
135
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
136
- kind: t.Type<"file", "file", unknown>;
136
+ kind: t.StringC;
137
137
  id: t.StringC;
138
138
  url: t.StringC;
139
139
  name: t.StringC;
@@ -211,7 +211,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
211
211
  linkTo: t.UnionC<[t.Type<({
212
212
  __TYPE__: "ImageLink";
213
213
  } & {
214
- kind: "image";
214
+ kind: string;
215
215
  id: string;
216
216
  url: string;
217
217
  height: string;
@@ -223,7 +223,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
223
223
  }) | ({
224
224
  __TYPE__: "FileLink";
225
225
  } & {
226
- kind: "file";
226
+ kind: string;
227
227
  id: string;
228
228
  url: string;
229
229
  name: string;
@@ -247,7 +247,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
247
247
  }), ({
248
248
  __TYPE__: "ImageLink";
249
249
  } & {
250
- kind: "image";
250
+ kind: string;
251
251
  id: string;
252
252
  url: string;
253
253
  height: string;
@@ -259,7 +259,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
259
259
  }) | ({
260
260
  __TYPE__: "FileLink";
261
261
  } & {
262
- kind: "file";
262
+ kind: string;
263
263
  id: string;
264
264
  url: string;
265
265
  name: string;
@@ -318,7 +318,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
318
318
  data: ({
319
319
  __TYPE__: "ImageLink";
320
320
  } & {
321
- kind: "image";
321
+ kind: string;
322
322
  id: string;
323
323
  url: string;
324
324
  height: string;
@@ -330,7 +330,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
330
330
  }) | ({
331
331
  __TYPE__: "FileLink";
332
332
  } & {
333
- kind: "file";
333
+ kind: string;
334
334
  id: string;
335
335
  url: string;
336
336
  name: string;
@@ -368,7 +368,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
368
368
  data: ({
369
369
  __TYPE__: "ImageLink";
370
370
  } & {
371
- kind: "image";
371
+ kind: string;
372
372
  id: string;
373
373
  url: string;
374
374
  height: string;
@@ -380,7 +380,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
380
380
  }) | ({
381
381
  __TYPE__: "FileLink";
382
382
  } & {
383
- kind: "file";
383
+ kind: string;
384
384
  id: string;
385
385
  url: string;
386
386
  name: string;
@@ -422,6 +422,80 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
422
422
  }>]>>]>>;
423
423
  }>>, t.ExactC<t.TypeC<{
424
424
  __TYPE__: t.LiteralC<"SeparatorContent">;
425
+ }>>, t.ExactC<t.TypeC<{
426
+ __TYPE__: t.LiteralC<"RepeatableContent">;
427
+ type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
428
+ value: t.ArrayC<t.ExactC<t.TypeC<{
429
+ __TYPE__: t.LiteralC<"LinkContent">;
430
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
431
+ __TYPE__: t.LiteralC<"ImageLink">;
432
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
433
+ kind: t.StringC;
434
+ id: t.StringC;
435
+ url: t.StringC;
436
+ height: t.StringC;
437
+ width: t.StringC;
438
+ size: t.StringC;
439
+ name: t.StringC;
440
+ }>>, t.ExactC<t.PartialC<{
441
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
442
+ }>>]>, t.ExactC<t.PartialC<{
443
+ text: t.StringC;
444
+ }>>]>, t.ExactC<t.TypeC<{
445
+ kind: t.LiteralC<"image">;
446
+ text: t.StringC;
447
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
448
+ __TYPE__: t.LiteralC<"FileLink">;
449
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
450
+ kind: t.StringC;
451
+ id: t.StringC;
452
+ url: t.StringC;
453
+ name: t.StringC;
454
+ size: t.StringC;
455
+ }>, t.PartialC<{
456
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
457
+ }>]>>, t.ExactC<t.PartialC<{
458
+ text: t.StringC;
459
+ }>>]>, t.ExactC<t.TypeC<{
460
+ kind: t.LiteralC<"file">;
461
+ text: t.StringC;
462
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
463
+ __TYPE__: t.LiteralC<"DocumentLink">;
464
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
465
+ id: t.Type<string, string, unknown>;
466
+ }>>, t.ExactC<t.PartialC<{
467
+ text: t.StringC;
468
+ }>>]>, t.ExactC<t.TypeC<{
469
+ kind: t.LiteralC<"document">;
470
+ text: t.StringC;
471
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
472
+ __TYPE__: t.LiteralC<"ExternalLink">;
473
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
474
+ url: t.StringC;
475
+ }>, t.PartialC<{
476
+ kind: t.LiteralC<"web">;
477
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
478
+ preview: t.UnionC<[t.Type<{
479
+ title?: string;
480
+ }, {
481
+ title?: string;
482
+ }, unknown>, t.NullC, t.UndefinedC]>;
483
+ }>]>>, t.ExactC<t.PartialC<{
484
+ text: t.StringC;
485
+ }>>]>, t.ExactC<t.TypeC<{
486
+ kind: t.LiteralC<"web">;
487
+ text: t.StringC;
488
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
489
+ __TYPE__: t.LiteralC<"MediaLink">;
490
+ }>>, t.ExactC<t.TypeC<{
491
+ kind: t.LiteralC<"media">;
492
+ text: t.StringC;
493
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
494
+ __TYPE__: t.LiteralC<"AnyLink">;
495
+ }>>, t.ExactC<t.TypeC<{
496
+ text: t.StringC;
497
+ }>>]>]>;
498
+ }>>>;
425
499
  }>>]>, t.TypeC<{
426
500
  __TYPE__: t.LiteralC<"UIDContent">;
427
501
  value: t.StringC;
@@ -548,7 +622,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
548
622
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
549
623
  __TYPE__: t.LiteralC<"ImageLink">;
550
624
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
551
- kind: t.Type<"image", "image", unknown>;
625
+ kind: t.StringC;
552
626
  id: t.StringC;
553
627
  url: t.StringC;
554
628
  height: t.StringC;
@@ -565,7 +639,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
565
639
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
566
640
  __TYPE__: t.LiteralC<"FileLink">;
567
641
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
568
- kind: t.Type<"file", "file", unknown>;
642
+ kind: t.StringC;
569
643
  id: t.StringC;
570
644
  url: t.StringC;
571
645
  name: t.StringC;
@@ -643,7 +717,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
643
717
  linkTo: t.UnionC<[t.Type<({
644
718
  __TYPE__: "ImageLink";
645
719
  } & {
646
- kind: "image";
720
+ kind: string;
647
721
  id: string;
648
722
  url: string;
649
723
  height: string;
@@ -655,7 +729,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
655
729
  }) | ({
656
730
  __TYPE__: "FileLink";
657
731
  } & {
658
- kind: "file";
732
+ kind: string;
659
733
  id: string;
660
734
  url: string;
661
735
  name: string;
@@ -679,7 +753,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
679
753
  }), ({
680
754
  __TYPE__: "ImageLink";
681
755
  } & {
682
- kind: "image";
756
+ kind: string;
683
757
  id: string;
684
758
  url: string;
685
759
  height: string;
@@ -691,7 +765,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
691
765
  }) | ({
692
766
  __TYPE__: "FileLink";
693
767
  } & {
694
- kind: "file";
768
+ kind: string;
695
769
  id: string;
696
770
  url: string;
697
771
  name: string;
@@ -750,7 +824,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
750
824
  data: ({
751
825
  __TYPE__: "ImageLink";
752
826
  } & {
753
- kind: "image";
827
+ kind: string;
754
828
  id: string;
755
829
  url: string;
756
830
  height: string;
@@ -762,7 +836,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
762
836
  }) | ({
763
837
  __TYPE__: "FileLink";
764
838
  } & {
765
- kind: "file";
839
+ kind: string;
766
840
  id: string;
767
841
  url: string;
768
842
  name: string;
@@ -800,7 +874,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
800
874
  data: ({
801
875
  __TYPE__: "ImageLink";
802
876
  } & {
803
- kind: "image";
877
+ kind: string;
804
878
  id: string;
805
879
  url: string;
806
880
  height: string;
@@ -812,7 +886,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
812
886
  }) | ({
813
887
  __TYPE__: "FileLink";
814
888
  } & {
815
- kind: "file";
889
+ kind: string;
816
890
  id: string;
817
891
  url: string;
818
892
  name: string;
@@ -854,6 +928,80 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
854
928
  }>]>>]>>;
855
929
  }>>, t.ExactC<t.TypeC<{
856
930
  __TYPE__: t.LiteralC<"SeparatorContent">;
931
+ }>>, t.ExactC<t.TypeC<{
932
+ __TYPE__: t.LiteralC<"RepeatableContent">;
933
+ type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
934
+ value: t.ArrayC<t.ExactC<t.TypeC<{
935
+ __TYPE__: t.LiteralC<"LinkContent">;
936
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
937
+ __TYPE__: t.LiteralC<"ImageLink">;
938
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
939
+ kind: t.StringC;
940
+ id: t.StringC;
941
+ url: t.StringC;
942
+ height: t.StringC;
943
+ width: t.StringC;
944
+ size: t.StringC;
945
+ name: t.StringC;
946
+ }>>, t.ExactC<t.PartialC<{
947
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
948
+ }>>]>, t.ExactC<t.PartialC<{
949
+ text: t.StringC;
950
+ }>>]>, t.ExactC<t.TypeC<{
951
+ kind: t.LiteralC<"image">;
952
+ text: t.StringC;
953
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
954
+ __TYPE__: t.LiteralC<"FileLink">;
955
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
956
+ kind: t.StringC;
957
+ id: t.StringC;
958
+ url: t.StringC;
959
+ name: t.StringC;
960
+ size: t.StringC;
961
+ }>, t.PartialC<{
962
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
963
+ }>]>>, t.ExactC<t.PartialC<{
964
+ text: t.StringC;
965
+ }>>]>, t.ExactC<t.TypeC<{
966
+ kind: t.LiteralC<"file">;
967
+ text: t.StringC;
968
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
969
+ __TYPE__: t.LiteralC<"DocumentLink">;
970
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
971
+ id: t.Type<string, string, unknown>;
972
+ }>>, t.ExactC<t.PartialC<{
973
+ text: t.StringC;
974
+ }>>]>, t.ExactC<t.TypeC<{
975
+ kind: t.LiteralC<"document">;
976
+ text: t.StringC;
977
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
978
+ __TYPE__: t.LiteralC<"ExternalLink">;
979
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
980
+ url: t.StringC;
981
+ }>, t.PartialC<{
982
+ kind: t.LiteralC<"web">;
983
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
984
+ preview: t.UnionC<[t.Type<{
985
+ title?: string;
986
+ }, {
987
+ title?: string;
988
+ }, unknown>, t.NullC, t.UndefinedC]>;
989
+ }>]>>, t.ExactC<t.PartialC<{
990
+ text: t.StringC;
991
+ }>>]>, t.ExactC<t.TypeC<{
992
+ kind: t.LiteralC<"web">;
993
+ text: t.StringC;
994
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
995
+ __TYPE__: t.LiteralC<"MediaLink">;
996
+ }>>, t.ExactC<t.TypeC<{
997
+ kind: t.LiteralC<"media">;
998
+ text: t.StringC;
999
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1000
+ __TYPE__: t.LiteralC<"AnyLink">;
1001
+ }>>, t.ExactC<t.TypeC<{
1002
+ text: t.StringC;
1003
+ }>>]>]>;
1004
+ }>>>;
857
1005
  }>>]>>;
858
1006
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
859
1007
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -972,7 +1120,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
972
1120
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
973
1121
  __TYPE__: t.LiteralC<"ImageLink">;
974
1122
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
975
- kind: t.Type<"image", "image", unknown>;
1123
+ kind: t.StringC;
976
1124
  id: t.StringC;
977
1125
  url: t.StringC;
978
1126
  height: t.StringC;
@@ -989,7 +1137,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
989
1137
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
990
1138
  __TYPE__: t.LiteralC<"FileLink">;
991
1139
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
992
- kind: t.Type<"file", "file", unknown>;
1140
+ kind: t.StringC;
993
1141
  id: t.StringC;
994
1142
  url: t.StringC;
995
1143
  name: t.StringC;
@@ -1067,7 +1215,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1067
1215
  linkTo: t.UnionC<[t.Type<({
1068
1216
  __TYPE__: "ImageLink";
1069
1217
  } & {
1070
- kind: "image";
1218
+ kind: string;
1071
1219
  id: string;
1072
1220
  url: string;
1073
1221
  height: string;
@@ -1079,7 +1227,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1079
1227
  }) | ({
1080
1228
  __TYPE__: "FileLink";
1081
1229
  } & {
1082
- kind: "file";
1230
+ kind: string;
1083
1231
  id: string;
1084
1232
  url: string;
1085
1233
  name: string;
@@ -1103,7 +1251,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1103
1251
  }), ({
1104
1252
  __TYPE__: "ImageLink";
1105
1253
  } & {
1106
- kind: "image";
1254
+ kind: string;
1107
1255
  id: string;
1108
1256
  url: string;
1109
1257
  height: string;
@@ -1115,7 +1263,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1115
1263
  }) | ({
1116
1264
  __TYPE__: "FileLink";
1117
1265
  } & {
1118
- kind: "file";
1266
+ kind: string;
1119
1267
  id: string;
1120
1268
  url: string;
1121
1269
  name: string;
@@ -1174,7 +1322,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1174
1322
  data: ({
1175
1323
  __TYPE__: "ImageLink";
1176
1324
  } & {
1177
- kind: "image";
1325
+ kind: string;
1178
1326
  id: string;
1179
1327
  url: string;
1180
1328
  height: string;
@@ -1186,7 +1334,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1186
1334
  }) | ({
1187
1335
  __TYPE__: "FileLink";
1188
1336
  } & {
1189
- kind: "file";
1337
+ kind: string;
1190
1338
  id: string;
1191
1339
  url: string;
1192
1340
  name: string;
@@ -1224,7 +1372,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1224
1372
  data: ({
1225
1373
  __TYPE__: "ImageLink";
1226
1374
  } & {
1227
- kind: "image";
1375
+ kind: string;
1228
1376
  id: string;
1229
1377
  url: string;
1230
1378
  height: string;
@@ -1236,7 +1384,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1236
1384
  }) | ({
1237
1385
  __TYPE__: "FileLink";
1238
1386
  } & {
1239
- kind: "file";
1387
+ kind: string;
1240
1388
  id: string;
1241
1389
  url: string;
1242
1390
  name: string;
@@ -1278,6 +1426,80 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1278
1426
  }>]>>]>>;
1279
1427
  }>>, t.ExactC<t.TypeC<{
1280
1428
  __TYPE__: t.LiteralC<"SeparatorContent">;
1429
+ }>>, t.ExactC<t.TypeC<{
1430
+ __TYPE__: t.LiteralC<"RepeatableContent">;
1431
+ type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
1432
+ value: t.ArrayC<t.ExactC<t.TypeC<{
1433
+ __TYPE__: t.LiteralC<"LinkContent">;
1434
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1435
+ __TYPE__: t.LiteralC<"ImageLink">;
1436
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1437
+ kind: t.StringC;
1438
+ id: t.StringC;
1439
+ url: t.StringC;
1440
+ height: t.StringC;
1441
+ width: t.StringC;
1442
+ size: t.StringC;
1443
+ name: t.StringC;
1444
+ }>>, t.ExactC<t.PartialC<{
1445
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1446
+ }>>]>, t.ExactC<t.PartialC<{
1447
+ text: t.StringC;
1448
+ }>>]>, t.ExactC<t.TypeC<{
1449
+ kind: t.LiteralC<"image">;
1450
+ text: t.StringC;
1451
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1452
+ __TYPE__: t.LiteralC<"FileLink">;
1453
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1454
+ kind: t.StringC;
1455
+ id: t.StringC;
1456
+ url: t.StringC;
1457
+ name: t.StringC;
1458
+ size: t.StringC;
1459
+ }>, t.PartialC<{
1460
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1461
+ }>]>>, t.ExactC<t.PartialC<{
1462
+ text: t.StringC;
1463
+ }>>]>, t.ExactC<t.TypeC<{
1464
+ kind: t.LiteralC<"file">;
1465
+ text: t.StringC;
1466
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1467
+ __TYPE__: t.LiteralC<"DocumentLink">;
1468
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1469
+ id: t.Type<string, string, unknown>;
1470
+ }>>, t.ExactC<t.PartialC<{
1471
+ text: t.StringC;
1472
+ }>>]>, t.ExactC<t.TypeC<{
1473
+ kind: t.LiteralC<"document">;
1474
+ text: t.StringC;
1475
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1476
+ __TYPE__: t.LiteralC<"ExternalLink">;
1477
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1478
+ url: t.StringC;
1479
+ }>, t.PartialC<{
1480
+ kind: t.LiteralC<"web">;
1481
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1482
+ preview: t.UnionC<[t.Type<{
1483
+ title?: string;
1484
+ }, {
1485
+ title?: string;
1486
+ }, unknown>, t.NullC, t.UndefinedC]>;
1487
+ }>]>>, t.ExactC<t.PartialC<{
1488
+ text: t.StringC;
1489
+ }>>]>, t.ExactC<t.TypeC<{
1490
+ kind: t.LiteralC<"web">;
1491
+ text: t.StringC;
1492
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1493
+ __TYPE__: t.LiteralC<"MediaLink">;
1494
+ }>>, t.ExactC<t.TypeC<{
1495
+ kind: t.LiteralC<"media">;
1496
+ text: t.StringC;
1497
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1498
+ __TYPE__: t.LiteralC<"AnyLink">;
1499
+ }>>, t.ExactC<t.TypeC<{
1500
+ text: t.StringC;
1501
+ }>>]>]>;
1502
+ }>>>;
1281
1503
  }>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>>;
1282
1504
  }>>>;
1283
1505
  }>>, t.ExactC<t.TypeC<{
@@ -1398,7 +1620,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1398
1620
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1399
1621
  __TYPE__: t.LiteralC<"ImageLink">;
1400
1622
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1401
- kind: t.Type<"image", "image", unknown>;
1623
+ kind: t.StringC;
1402
1624
  id: t.StringC;
1403
1625
  url: t.StringC;
1404
1626
  height: t.StringC;
@@ -1415,7 +1637,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1415
1637
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1416
1638
  __TYPE__: t.LiteralC<"FileLink">;
1417
1639
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1418
- kind: t.Type<"file", "file", unknown>;
1640
+ kind: t.StringC;
1419
1641
  id: t.StringC;
1420
1642
  url: t.StringC;
1421
1643
  name: t.StringC;
@@ -1493,7 +1715,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1493
1715
  linkTo: t.UnionC<[t.Type<({
1494
1716
  __TYPE__: "ImageLink";
1495
1717
  } & {
1496
- kind: "image";
1718
+ kind: string;
1497
1719
  id: string;
1498
1720
  url: string;
1499
1721
  height: string;
@@ -1505,7 +1727,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1505
1727
  }) | ({
1506
1728
  __TYPE__: "FileLink";
1507
1729
  } & {
1508
- kind: "file";
1730
+ kind: string;
1509
1731
  id: string;
1510
1732
  url: string;
1511
1733
  name: string;
@@ -1529,7 +1751,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1529
1751
  }), ({
1530
1752
  __TYPE__: "ImageLink";
1531
1753
  } & {
1532
- kind: "image";
1754
+ kind: string;
1533
1755
  id: string;
1534
1756
  url: string;
1535
1757
  height: string;
@@ -1541,7 +1763,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1541
1763
  }) | ({
1542
1764
  __TYPE__: "FileLink";
1543
1765
  } & {
1544
- kind: "file";
1766
+ kind: string;
1545
1767
  id: string;
1546
1768
  url: string;
1547
1769
  name: string;
@@ -1600,7 +1822,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1600
1822
  data: ({
1601
1823
  __TYPE__: "ImageLink";
1602
1824
  } & {
1603
- kind: "image";
1825
+ kind: string;
1604
1826
  id: string;
1605
1827
  url: string;
1606
1828
  height: string;
@@ -1612,7 +1834,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1612
1834
  }) | ({
1613
1835
  __TYPE__: "FileLink";
1614
1836
  } & {
1615
- kind: "file";
1837
+ kind: string;
1616
1838
  id: string;
1617
1839
  url: string;
1618
1840
  name: string;
@@ -1650,7 +1872,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1650
1872
  data: ({
1651
1873
  __TYPE__: "ImageLink";
1652
1874
  } & {
1653
- kind: "image";
1875
+ kind: string;
1654
1876
  id: string;
1655
1877
  url: string;
1656
1878
  height: string;
@@ -1662,7 +1884,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1662
1884
  }) | ({
1663
1885
  __TYPE__: "FileLink";
1664
1886
  } & {
1665
- kind: "file";
1887
+ kind: string;
1666
1888
  id: string;
1667
1889
  url: string;
1668
1890
  name: string;
@@ -1704,6 +1926,80 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1704
1926
  }>]>>]>>;
1705
1927
  }>>, t.ExactC<t.TypeC<{
1706
1928
  __TYPE__: t.LiteralC<"SeparatorContent">;
1929
+ }>>, t.ExactC<t.TypeC<{
1930
+ __TYPE__: t.LiteralC<"RepeatableContent">;
1931
+ type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
1932
+ value: t.ArrayC<t.ExactC<t.TypeC<{
1933
+ __TYPE__: t.LiteralC<"LinkContent">;
1934
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1935
+ __TYPE__: t.LiteralC<"ImageLink">;
1936
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1937
+ kind: t.StringC;
1938
+ id: t.StringC;
1939
+ url: t.StringC;
1940
+ height: t.StringC;
1941
+ width: t.StringC;
1942
+ size: t.StringC;
1943
+ name: t.StringC;
1944
+ }>>, t.ExactC<t.PartialC<{
1945
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1946
+ }>>]>, t.ExactC<t.PartialC<{
1947
+ text: t.StringC;
1948
+ }>>]>, t.ExactC<t.TypeC<{
1949
+ kind: t.LiteralC<"image">;
1950
+ text: t.StringC;
1951
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1952
+ __TYPE__: t.LiteralC<"FileLink">;
1953
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1954
+ kind: t.StringC;
1955
+ id: t.StringC;
1956
+ url: t.StringC;
1957
+ name: t.StringC;
1958
+ size: t.StringC;
1959
+ }>, t.PartialC<{
1960
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1961
+ }>]>>, t.ExactC<t.PartialC<{
1962
+ text: t.StringC;
1963
+ }>>]>, t.ExactC<t.TypeC<{
1964
+ kind: t.LiteralC<"file">;
1965
+ text: t.StringC;
1966
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1967
+ __TYPE__: t.LiteralC<"DocumentLink">;
1968
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1969
+ id: t.Type<string, string, unknown>;
1970
+ }>>, t.ExactC<t.PartialC<{
1971
+ text: t.StringC;
1972
+ }>>]>, t.ExactC<t.TypeC<{
1973
+ kind: t.LiteralC<"document">;
1974
+ text: t.StringC;
1975
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1976
+ __TYPE__: t.LiteralC<"ExternalLink">;
1977
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1978
+ url: t.StringC;
1979
+ }>, t.PartialC<{
1980
+ kind: t.LiteralC<"web">;
1981
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1982
+ preview: t.UnionC<[t.Type<{
1983
+ title?: string;
1984
+ }, {
1985
+ title?: string;
1986
+ }, unknown>, t.NullC, t.UndefinedC]>;
1987
+ }>]>>, t.ExactC<t.PartialC<{
1988
+ text: t.StringC;
1989
+ }>>]>, t.ExactC<t.TypeC<{
1990
+ kind: t.LiteralC<"web">;
1991
+ text: t.StringC;
1992
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1993
+ __TYPE__: t.LiteralC<"MediaLink">;
1994
+ }>>, t.ExactC<t.TypeC<{
1995
+ kind: t.LiteralC<"media">;
1996
+ text: t.StringC;
1997
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1998
+ __TYPE__: t.LiteralC<"AnyLink">;
1999
+ }>>, t.ExactC<t.TypeC<{
2000
+ text: t.StringC;
2001
+ }>>]>]>;
2002
+ }>>>;
1707
2003
  }>>]>, t.Type<GroupContent, GroupContent, unknown>]>>;
1708
2004
  items: t.ArrayC<t.ExactC<t.TypeC<{
1709
2005
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -1822,7 +2118,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1822
2118
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1823
2119
  __TYPE__: t.LiteralC<"ImageLink">;
1824
2120
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1825
- kind: t.Type<"image", "image", unknown>;
2121
+ kind: t.StringC;
1826
2122
  id: t.StringC;
1827
2123
  url: t.StringC;
1828
2124
  height: t.StringC;
@@ -1839,7 +2135,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1839
2135
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1840
2136
  __TYPE__: t.LiteralC<"FileLink">;
1841
2137
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1842
- kind: t.Type<"file", "file", unknown>;
2138
+ kind: t.StringC;
1843
2139
  id: t.StringC;
1844
2140
  url: t.StringC;
1845
2141
  name: t.StringC;
@@ -1917,7 +2213,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1917
2213
  linkTo: t.UnionC<[t.Type<({
1918
2214
  __TYPE__: "ImageLink";
1919
2215
  } & {
1920
- kind: "image";
2216
+ kind: string;
1921
2217
  id: string;
1922
2218
  url: string;
1923
2219
  height: string;
@@ -1929,7 +2225,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1929
2225
  }) | ({
1930
2226
  __TYPE__: "FileLink";
1931
2227
  } & {
1932
- kind: "file";
2228
+ kind: string;
1933
2229
  id: string;
1934
2230
  url: string;
1935
2231
  name: string;
@@ -1953,7 +2249,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1953
2249
  }), ({
1954
2250
  __TYPE__: "ImageLink";
1955
2251
  } & {
1956
- kind: "image";
2252
+ kind: string;
1957
2253
  id: string;
1958
2254
  url: string;
1959
2255
  height: string;
@@ -1965,7 +2261,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
1965
2261
  }) | ({
1966
2262
  __TYPE__: "FileLink";
1967
2263
  } & {
1968
- kind: "file";
2264
+ kind: string;
1969
2265
  id: string;
1970
2266
  url: string;
1971
2267
  name: string;
@@ -2024,7 +2320,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2024
2320
  data: ({
2025
2321
  __TYPE__: "ImageLink";
2026
2322
  } & {
2027
- kind: "image";
2323
+ kind: string;
2028
2324
  id: string;
2029
2325
  url: string;
2030
2326
  height: string;
@@ -2036,7 +2332,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2036
2332
  }) | ({
2037
2333
  __TYPE__: "FileLink";
2038
2334
  } & {
2039
- kind: "file";
2335
+ kind: string;
2040
2336
  id: string;
2041
2337
  url: string;
2042
2338
  name: string;
@@ -2074,7 +2370,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2074
2370
  data: ({
2075
2371
  __TYPE__: "ImageLink";
2076
2372
  } & {
2077
- kind: "image";
2373
+ kind: string;
2078
2374
  id: string;
2079
2375
  url: string;
2080
2376
  height: string;
@@ -2086,7 +2382,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2086
2382
  }) | ({
2087
2383
  __TYPE__: "FileLink";
2088
2384
  } & {
2089
- kind: "file";
2385
+ kind: string;
2090
2386
  id: string;
2091
2387
  url: string;
2092
2388
  name: string;
@@ -2128,6 +2424,80 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2128
2424
  }>]>>]>>;
2129
2425
  }>>, t.ExactC<t.TypeC<{
2130
2426
  __TYPE__: t.LiteralC<"SeparatorContent">;
2427
+ }>>, t.ExactC<t.TypeC<{
2428
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2429
+ type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
2430
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2431
+ __TYPE__: t.LiteralC<"LinkContent">;
2432
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2433
+ __TYPE__: t.LiteralC<"ImageLink">;
2434
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2435
+ kind: t.StringC;
2436
+ id: t.StringC;
2437
+ url: t.StringC;
2438
+ height: t.StringC;
2439
+ width: t.StringC;
2440
+ size: t.StringC;
2441
+ name: t.StringC;
2442
+ }>>, t.ExactC<t.PartialC<{
2443
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2444
+ }>>]>, t.ExactC<t.PartialC<{
2445
+ text: t.StringC;
2446
+ }>>]>, t.ExactC<t.TypeC<{
2447
+ kind: t.LiteralC<"image">;
2448
+ text: t.StringC;
2449
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2450
+ __TYPE__: t.LiteralC<"FileLink">;
2451
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2452
+ kind: t.StringC;
2453
+ id: t.StringC;
2454
+ url: t.StringC;
2455
+ name: t.StringC;
2456
+ size: t.StringC;
2457
+ }>, t.PartialC<{
2458
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2459
+ }>]>>, t.ExactC<t.PartialC<{
2460
+ text: t.StringC;
2461
+ }>>]>, t.ExactC<t.TypeC<{
2462
+ kind: t.LiteralC<"file">;
2463
+ text: t.StringC;
2464
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2465
+ __TYPE__: t.LiteralC<"DocumentLink">;
2466
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2467
+ id: t.Type<string, string, unknown>;
2468
+ }>>, t.ExactC<t.PartialC<{
2469
+ text: t.StringC;
2470
+ }>>]>, t.ExactC<t.TypeC<{
2471
+ kind: t.LiteralC<"document">;
2472
+ text: t.StringC;
2473
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2474
+ __TYPE__: t.LiteralC<"ExternalLink">;
2475
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2476
+ url: t.StringC;
2477
+ }>, t.PartialC<{
2478
+ kind: t.LiteralC<"web">;
2479
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2480
+ preview: t.UnionC<[t.Type<{
2481
+ title?: string;
2482
+ }, {
2483
+ title?: string;
2484
+ }, unknown>, t.NullC, t.UndefinedC]>;
2485
+ }>]>>, t.ExactC<t.PartialC<{
2486
+ text: t.StringC;
2487
+ }>>]>, t.ExactC<t.TypeC<{
2488
+ kind: t.LiteralC<"web">;
2489
+ text: t.StringC;
2490
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2491
+ __TYPE__: t.LiteralC<"MediaLink">;
2492
+ }>>, t.ExactC<t.TypeC<{
2493
+ kind: t.LiteralC<"media">;
2494
+ text: t.StringC;
2495
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2496
+ __TYPE__: t.LiteralC<"AnyLink">;
2497
+ }>>, t.ExactC<t.TypeC<{
2498
+ text: t.StringC;
2499
+ }>>]>]>;
2500
+ }>>>;
2131
2501
  }>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>>;
2132
2502
  }>>>;
2133
2503
  }>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -2245,7 +2615,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2245
2615
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2246
2616
  __TYPE__: t.LiteralC<"ImageLink">;
2247
2617
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2248
- kind: t.Type<"image", "image", unknown>;
2618
+ kind: t.StringC;
2249
2619
  id: t.StringC;
2250
2620
  url: t.StringC;
2251
2621
  height: t.StringC;
@@ -2262,7 +2632,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2262
2632
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2263
2633
  __TYPE__: t.LiteralC<"FileLink">;
2264
2634
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2265
- kind: t.Type<"file", "file", unknown>;
2635
+ kind: t.StringC;
2266
2636
  id: t.StringC;
2267
2637
  url: t.StringC;
2268
2638
  name: t.StringC;
@@ -2340,7 +2710,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2340
2710
  linkTo: t.UnionC<[t.Type<({
2341
2711
  __TYPE__: "ImageLink";
2342
2712
  } & {
2343
- kind: "image";
2713
+ kind: string;
2344
2714
  id: string;
2345
2715
  url: string;
2346
2716
  height: string;
@@ -2352,7 +2722,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2352
2722
  }) | ({
2353
2723
  __TYPE__: "FileLink";
2354
2724
  } & {
2355
- kind: "file";
2725
+ kind: string;
2356
2726
  id: string;
2357
2727
  url: string;
2358
2728
  name: string;
@@ -2376,7 +2746,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2376
2746
  }), ({
2377
2747
  __TYPE__: "ImageLink";
2378
2748
  } & {
2379
- kind: "image";
2749
+ kind: string;
2380
2750
  id: string;
2381
2751
  url: string;
2382
2752
  height: string;
@@ -2388,7 +2758,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2388
2758
  }) | ({
2389
2759
  __TYPE__: "FileLink";
2390
2760
  } & {
2391
- kind: "file";
2761
+ kind: string;
2392
2762
  id: string;
2393
2763
  url: string;
2394
2764
  name: string;
@@ -2447,7 +2817,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2447
2817
  data: ({
2448
2818
  __TYPE__: "ImageLink";
2449
2819
  } & {
2450
- kind: "image";
2820
+ kind: string;
2451
2821
  id: string;
2452
2822
  url: string;
2453
2823
  height: string;
@@ -2459,7 +2829,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2459
2829
  }) | ({
2460
2830
  __TYPE__: "FileLink";
2461
2831
  } & {
2462
- kind: "file";
2832
+ kind: string;
2463
2833
  id: string;
2464
2834
  url: string;
2465
2835
  name: string;
@@ -2497,7 +2867,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2497
2867
  data: ({
2498
2868
  __TYPE__: "ImageLink";
2499
2869
  } & {
2500
- kind: "image";
2870
+ kind: string;
2501
2871
  id: string;
2502
2872
  url: string;
2503
2873
  height: string;
@@ -2509,7 +2879,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2509
2879
  }) | ({
2510
2880
  __TYPE__: "FileLink";
2511
2881
  } & {
2512
- kind: "file";
2882
+ kind: string;
2513
2883
  id: string;
2514
2884
  url: string;
2515
2885
  name: string;
@@ -2551,20 +2921,94 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
2551
2921
  }>]>>]>>;
2552
2922
  }>>, t.ExactC<t.TypeC<{
2553
2923
  __TYPE__: t.LiteralC<"SeparatorContent">;
2554
- }>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>;
2555
- }>>;
2556
- }>]>;
2557
- export declare const isWidgetContent: (u: unknown) => u is {
2558
- type: string;
2559
- __TYPE__: "EmptyContent";
2560
- } | {
2561
- __TYPE__: "BooleanContent";
2562
- value: boolean;
2563
- } | ({
2564
- embed_url: string;
2565
- type: string;
2566
- } & {
2567
- version?: string | number | null;
2924
+ }>>, t.ExactC<t.TypeC<{
2925
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2926
+ type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
2927
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2928
+ __TYPE__: t.LiteralC<"LinkContent">;
2929
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2930
+ __TYPE__: t.LiteralC<"ImageLink">;
2931
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2932
+ kind: t.StringC;
2933
+ id: t.StringC;
2934
+ url: t.StringC;
2935
+ height: t.StringC;
2936
+ width: t.StringC;
2937
+ size: t.StringC;
2938
+ name: t.StringC;
2939
+ }>>, t.ExactC<t.PartialC<{
2940
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2941
+ }>>]>, t.ExactC<t.PartialC<{
2942
+ text: t.StringC;
2943
+ }>>]>, t.ExactC<t.TypeC<{
2944
+ kind: t.LiteralC<"image">;
2945
+ text: t.StringC;
2946
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2947
+ __TYPE__: t.LiteralC<"FileLink">;
2948
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2949
+ kind: t.StringC;
2950
+ id: t.StringC;
2951
+ url: t.StringC;
2952
+ name: t.StringC;
2953
+ size: t.StringC;
2954
+ }>, t.PartialC<{
2955
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2956
+ }>]>>, t.ExactC<t.PartialC<{
2957
+ text: t.StringC;
2958
+ }>>]>, t.ExactC<t.TypeC<{
2959
+ kind: t.LiteralC<"file">;
2960
+ text: t.StringC;
2961
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2962
+ __TYPE__: t.LiteralC<"DocumentLink">;
2963
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2964
+ id: t.Type<string, string, unknown>;
2965
+ }>>, t.ExactC<t.PartialC<{
2966
+ text: t.StringC;
2967
+ }>>]>, t.ExactC<t.TypeC<{
2968
+ kind: t.LiteralC<"document">;
2969
+ text: t.StringC;
2970
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2971
+ __TYPE__: t.LiteralC<"ExternalLink">;
2972
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2973
+ url: t.StringC;
2974
+ }>, t.PartialC<{
2975
+ kind: t.LiteralC<"web">;
2976
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2977
+ preview: t.UnionC<[t.Type<{
2978
+ title?: string;
2979
+ }, {
2980
+ title?: string;
2981
+ }, unknown>, t.NullC, t.UndefinedC]>;
2982
+ }>]>>, t.ExactC<t.PartialC<{
2983
+ text: t.StringC;
2984
+ }>>]>, t.ExactC<t.TypeC<{
2985
+ kind: t.LiteralC<"web">;
2986
+ text: t.StringC;
2987
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2988
+ __TYPE__: t.LiteralC<"MediaLink">;
2989
+ }>>, t.ExactC<t.TypeC<{
2990
+ kind: t.LiteralC<"media">;
2991
+ text: t.StringC;
2992
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2993
+ __TYPE__: t.LiteralC<"AnyLink">;
2994
+ }>>, t.ExactC<t.TypeC<{
2995
+ text: t.StringC;
2996
+ }>>]>]>;
2997
+ }>>>;
2998
+ }>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>;
2999
+ }>>;
3000
+ }>]>;
3001
+ export declare const isWidgetContent: (u: unknown) => u is {
3002
+ type: string;
3003
+ __TYPE__: "EmptyContent";
3004
+ } | {
3005
+ __TYPE__: "BooleanContent";
3006
+ value: boolean;
3007
+ } | ({
3008
+ embed_url: string;
3009
+ type: string;
3010
+ } & {
3011
+ version?: string | number | null;
2568
3012
  title?: string | null | undefined;
2569
3013
  author_name?: string | null | undefined;
2570
3014
  author_url?: string | null | undefined;
@@ -2671,7 +3115,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2671
3115
  value: ({
2672
3116
  __TYPE__: "ImageLink";
2673
3117
  } & (({
2674
- kind: "image";
3118
+ kind: string;
2675
3119
  id: string;
2676
3120
  url: string;
2677
3121
  height: string;
@@ -2688,7 +3132,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2688
3132
  })) | ({
2689
3133
  __TYPE__: "FileLink";
2690
3134
  } & (({
2691
- kind: "file";
3135
+ kind: string;
2692
3136
  id: string;
2693
3137
  url: string;
2694
3138
  name: string;
@@ -2735,6 +3179,78 @@ export declare const isWidgetContent: (u: unknown) => u is {
2735
3179
  text: string;
2736
3180
  });
2737
3181
  } | {
3182
+ __TYPE__: "RepeatableContent";
3183
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
3184
+ value: {
3185
+ __TYPE__: "LinkContent";
3186
+ value: ({
3187
+ __TYPE__: "ImageLink";
3188
+ } & (({
3189
+ kind: string;
3190
+ id: string;
3191
+ url: string;
3192
+ height: string;
3193
+ width: string;
3194
+ size: string;
3195
+ name: string;
3196
+ } & {
3197
+ date?: string | null | undefined;
3198
+ } & {
3199
+ text?: string;
3200
+ }) | {
3201
+ kind: "image";
3202
+ text: string;
3203
+ })) | ({
3204
+ __TYPE__: "FileLink";
3205
+ } & (({
3206
+ kind: string;
3207
+ id: string;
3208
+ url: string;
3209
+ name: string;
3210
+ size: string;
3211
+ } & {
3212
+ date?: string | null | undefined;
3213
+ } & {
3214
+ text?: string;
3215
+ }) | {
3216
+ kind: "file";
3217
+ text: string;
3218
+ })) | ({
3219
+ __TYPE__: "MediaLink";
3220
+ } & {
3221
+ kind: "media";
3222
+ text: string;
3223
+ }) | ({
3224
+ __TYPE__: "DocumentLink";
3225
+ } & (({
3226
+ id: string;
3227
+ } & {
3228
+ text?: string;
3229
+ }) | {
3230
+ kind: "document";
3231
+ text: string;
3232
+ })) | ({
3233
+ __TYPE__: "ExternalLink";
3234
+ } & (({
3235
+ url: string;
3236
+ } & {
3237
+ kind?: "web";
3238
+ target?: string | null | undefined;
3239
+ preview?: {
3240
+ title?: string;
3241
+ } | null | undefined;
3242
+ } & {
3243
+ text?: string;
3244
+ }) | {
3245
+ kind: "web";
3246
+ text: string;
3247
+ })) | ({
3248
+ __TYPE__: "AnyLink";
3249
+ } & {
3250
+ text: string;
3251
+ });
3252
+ }[];
3253
+ } | GroupContent | {
2738
3254
  __TYPE__: "StructuredTextContent";
2739
3255
  value: (({
2740
3256
  type: "image";
@@ -2764,7 +3280,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2764
3280
  linkTo?: ({
2765
3281
  __TYPE__: "ImageLink";
2766
3282
  } & {
2767
- kind: "image";
3283
+ kind: string;
2768
3284
  id: string;
2769
3285
  url: string;
2770
3286
  height: string;
@@ -2776,7 +3292,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2776
3292
  }) | ({
2777
3293
  __TYPE__: "FileLink";
2778
3294
  } & {
2779
- kind: "file";
3295
+ kind: string;
2780
3296
  id: string;
2781
3297
  url: string;
2782
3298
  name: string;
@@ -2835,7 +3351,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2835
3351
  data: ({
2836
3352
  __TYPE__: "ImageLink";
2837
3353
  } & {
2838
- kind: "image";
3354
+ kind: string;
2839
3355
  id: string;
2840
3356
  url: string;
2841
3357
  height: string;
@@ -2847,7 +3363,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2847
3363
  }) | ({
2848
3364
  __TYPE__: "FileLink";
2849
3365
  } & {
2850
- kind: "file";
3366
+ kind: string;
2851
3367
  id: string;
2852
3368
  url: string;
2853
3369
  name: string;
@@ -2889,7 +3405,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
2889
3405
  }))[];
2890
3406
  } | {
2891
3407
  __TYPE__: "SeparatorContent";
2892
- } | GroupContent | {
3408
+ } | {
2893
3409
  __TYPE__: "UIDContent";
2894
3410
  value: string;
2895
3411
  } | {
@@ -3015,7 +3531,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3015
3531
  value: ({
3016
3532
  __TYPE__: "ImageLink";
3017
3533
  } & (({
3018
- kind: "image";
3534
+ kind: string;
3019
3535
  id: string;
3020
3536
  url: string;
3021
3537
  height: string;
@@ -3032,7 +3548,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3032
3548
  })) | ({
3033
3549
  __TYPE__: "FileLink";
3034
3550
  } & (({
3035
- kind: "file";
3551
+ kind: string;
3036
3552
  id: string;
3037
3553
  url: string;
3038
3554
  name: string;
@@ -3079,6 +3595,78 @@ export declare const isWidgetContent: (u: unknown) => u is {
3079
3595
  text: string;
3080
3596
  });
3081
3597
  } | {
3598
+ __TYPE__: "RepeatableContent";
3599
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
3600
+ value: {
3601
+ __TYPE__: "LinkContent";
3602
+ value: ({
3603
+ __TYPE__: "ImageLink";
3604
+ } & (({
3605
+ kind: string;
3606
+ id: string;
3607
+ url: string;
3608
+ height: string;
3609
+ width: string;
3610
+ size: string;
3611
+ name: string;
3612
+ } & {
3613
+ date?: string | null | undefined;
3614
+ } & {
3615
+ text?: string;
3616
+ }) | {
3617
+ kind: "image";
3618
+ text: string;
3619
+ })) | ({
3620
+ __TYPE__: "FileLink";
3621
+ } & (({
3622
+ kind: string;
3623
+ id: string;
3624
+ url: string;
3625
+ name: string;
3626
+ size: string;
3627
+ } & {
3628
+ date?: string | null | undefined;
3629
+ } & {
3630
+ text?: string;
3631
+ }) | {
3632
+ kind: "file";
3633
+ text: string;
3634
+ })) | ({
3635
+ __TYPE__: "MediaLink";
3636
+ } & {
3637
+ kind: "media";
3638
+ text: string;
3639
+ }) | ({
3640
+ __TYPE__: "DocumentLink";
3641
+ } & (({
3642
+ id: string;
3643
+ } & {
3644
+ text?: string;
3645
+ }) | {
3646
+ kind: "document";
3647
+ text: string;
3648
+ })) | ({
3649
+ __TYPE__: "ExternalLink";
3650
+ } & (({
3651
+ url: string;
3652
+ } & {
3653
+ kind?: "web";
3654
+ target?: string | null | undefined;
3655
+ preview?: {
3656
+ title?: string;
3657
+ } | null | undefined;
3658
+ } & {
3659
+ text?: string;
3660
+ }) | {
3661
+ kind: "web";
3662
+ text: string;
3663
+ })) | ({
3664
+ __TYPE__: "AnyLink";
3665
+ } & {
3666
+ text: string;
3667
+ });
3668
+ }[];
3669
+ } | GroupContent | {
3082
3670
  __TYPE__: "StructuredTextContent";
3083
3671
  value: (({
3084
3672
  type: "image";
@@ -3108,7 +3696,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3108
3696
  linkTo?: ({
3109
3697
  __TYPE__: "ImageLink";
3110
3698
  } & {
3111
- kind: "image";
3699
+ kind: string;
3112
3700
  id: string;
3113
3701
  url: string;
3114
3702
  height: string;
@@ -3120,7 +3708,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3120
3708
  }) | ({
3121
3709
  __TYPE__: "FileLink";
3122
3710
  } & {
3123
- kind: "file";
3711
+ kind: string;
3124
3712
  id: string;
3125
3713
  url: string;
3126
3714
  name: string;
@@ -3179,7 +3767,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3179
3767
  data: ({
3180
3768
  __TYPE__: "ImageLink";
3181
3769
  } & {
3182
- kind: "image";
3770
+ kind: string;
3183
3771
  id: string;
3184
3772
  url: string;
3185
3773
  height: string;
@@ -3191,7 +3779,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3191
3779
  }) | ({
3192
3780
  __TYPE__: "FileLink";
3193
3781
  } & {
3194
- kind: "file";
3782
+ kind: string;
3195
3783
  id: string;
3196
3784
  url: string;
3197
3785
  name: string;
@@ -3233,7 +3821,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3233
3821
  }))[];
3234
3822
  } | {
3235
3823
  __TYPE__: "SeparatorContent";
3236
- } | GroupContent | {
3824
+ } | {
3237
3825
  __TYPE__: "CompositeSliceContent";
3238
3826
  nonRepeat: {
3239
3827
  [x: string]: {
@@ -3353,7 +3941,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3353
3941
  value: ({
3354
3942
  __TYPE__: "ImageLink";
3355
3943
  } & (({
3356
- kind: "image";
3944
+ kind: string;
3357
3945
  id: string;
3358
3946
  url: string;
3359
3947
  height: string;
@@ -3370,7 +3958,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3370
3958
  })) | ({
3371
3959
  __TYPE__: "FileLink";
3372
3960
  } & (({
3373
- kind: "file";
3961
+ kind: string;
3374
3962
  id: string;
3375
3963
  url: string;
3376
3964
  name: string;
@@ -3416,6 +4004,78 @@ export declare const isWidgetContent: (u: unknown) => u is {
3416
4004
  } & {
3417
4005
  text: string;
3418
4006
  });
4007
+ } | {
4008
+ __TYPE__: "RepeatableContent";
4009
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
4010
+ value: {
4011
+ __TYPE__: "LinkContent";
4012
+ value: ({
4013
+ __TYPE__: "ImageLink";
4014
+ } & (({
4015
+ kind: string;
4016
+ id: string;
4017
+ url: string;
4018
+ height: string;
4019
+ width: string;
4020
+ size: string;
4021
+ name: string;
4022
+ } & {
4023
+ date?: string | null | undefined;
4024
+ } & {
4025
+ text?: string;
4026
+ }) | {
4027
+ kind: "image";
4028
+ text: string;
4029
+ })) | ({
4030
+ __TYPE__: "FileLink";
4031
+ } & (({
4032
+ kind: string;
4033
+ id: string;
4034
+ url: string;
4035
+ name: string;
4036
+ size: string;
4037
+ } & {
4038
+ date?: string | null | undefined;
4039
+ } & {
4040
+ text?: string;
4041
+ }) | {
4042
+ kind: "file";
4043
+ text: string;
4044
+ })) | ({
4045
+ __TYPE__: "MediaLink";
4046
+ } & {
4047
+ kind: "media";
4048
+ text: string;
4049
+ }) | ({
4050
+ __TYPE__: "DocumentLink";
4051
+ } & (({
4052
+ id: string;
4053
+ } & {
4054
+ text?: string;
4055
+ }) | {
4056
+ kind: "document";
4057
+ text: string;
4058
+ })) | ({
4059
+ __TYPE__: "ExternalLink";
4060
+ } & (({
4061
+ url: string;
4062
+ } & {
4063
+ kind?: "web";
4064
+ target?: string | null | undefined;
4065
+ preview?: {
4066
+ title?: string;
4067
+ } | null | undefined;
4068
+ } & {
4069
+ text?: string;
4070
+ }) | {
4071
+ kind: "web";
4072
+ text: string;
4073
+ })) | ({
4074
+ __TYPE__: "AnyLink";
4075
+ } & {
4076
+ text: string;
4077
+ });
4078
+ }[];
3419
4079
  } | {
3420
4080
  __TYPE__: "StructuredTextContent";
3421
4081
  value: (({
@@ -3446,7 +4106,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3446
4106
  linkTo?: ({
3447
4107
  __TYPE__: "ImageLink";
3448
4108
  } & {
3449
- kind: "image";
4109
+ kind: string;
3450
4110
  id: string;
3451
4111
  url: string;
3452
4112
  height: string;
@@ -3458,7 +4118,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3458
4118
  }) | ({
3459
4119
  __TYPE__: "FileLink";
3460
4120
  } & {
3461
- kind: "file";
4121
+ kind: string;
3462
4122
  id: string;
3463
4123
  url: string;
3464
4124
  name: string;
@@ -3517,7 +4177,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3517
4177
  data: ({
3518
4178
  __TYPE__: "ImageLink";
3519
4179
  } & {
3520
- kind: "image";
4180
+ kind: string;
3521
4181
  id: string;
3522
4182
  url: string;
3523
4183
  height: string;
@@ -3529,7 +4189,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3529
4189
  }) | ({
3530
4190
  __TYPE__: "FileLink";
3531
4191
  } & {
3532
- kind: "file";
4192
+ kind: string;
3533
4193
  id: string;
3534
4194
  url: string;
3535
4195
  name: string;
@@ -3692,7 +4352,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3692
4352
  value: ({
3693
4353
  __TYPE__: "ImageLink";
3694
4354
  } & (({
3695
- kind: "image";
4355
+ kind: string;
3696
4356
  id: string;
3697
4357
  url: string;
3698
4358
  height: string;
@@ -3709,7 +4369,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3709
4369
  })) | ({
3710
4370
  __TYPE__: "FileLink";
3711
4371
  } & (({
3712
- kind: "file";
4372
+ kind: string;
3713
4373
  id: string;
3714
4374
  url: string;
3715
4375
  name: string;
@@ -3756,6 +4416,78 @@ export declare const isWidgetContent: (u: unknown) => u is {
3756
4416
  text: string;
3757
4417
  });
3758
4418
  } | {
4419
+ __TYPE__: "RepeatableContent";
4420
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
4421
+ value: {
4422
+ __TYPE__: "LinkContent";
4423
+ value: ({
4424
+ __TYPE__: "ImageLink";
4425
+ } & (({
4426
+ kind: string;
4427
+ id: string;
4428
+ url: string;
4429
+ height: string;
4430
+ width: string;
4431
+ size: string;
4432
+ name: string;
4433
+ } & {
4434
+ date?: string | null | undefined;
4435
+ } & {
4436
+ text?: string;
4437
+ }) | {
4438
+ kind: "image";
4439
+ text: string;
4440
+ })) | ({
4441
+ __TYPE__: "FileLink";
4442
+ } & (({
4443
+ kind: string;
4444
+ id: string;
4445
+ url: string;
4446
+ name: string;
4447
+ size: string;
4448
+ } & {
4449
+ date?: string | null | undefined;
4450
+ } & {
4451
+ text?: string;
4452
+ }) | {
4453
+ kind: "file";
4454
+ text: string;
4455
+ })) | ({
4456
+ __TYPE__: "MediaLink";
4457
+ } & {
4458
+ kind: "media";
4459
+ text: string;
4460
+ }) | ({
4461
+ __TYPE__: "DocumentLink";
4462
+ } & (({
4463
+ id: string;
4464
+ } & {
4465
+ text?: string;
4466
+ }) | {
4467
+ kind: "document";
4468
+ text: string;
4469
+ })) | ({
4470
+ __TYPE__: "ExternalLink";
4471
+ } & (({
4472
+ url: string;
4473
+ } & {
4474
+ kind?: "web";
4475
+ target?: string | null | undefined;
4476
+ preview?: {
4477
+ title?: string;
4478
+ } | null | undefined;
4479
+ } & {
4480
+ text?: string;
4481
+ }) | {
4482
+ kind: "web";
4483
+ text: string;
4484
+ })) | ({
4485
+ __TYPE__: "AnyLink";
4486
+ } & {
4487
+ text: string;
4488
+ });
4489
+ }[];
4490
+ } | GroupContent | {
3759
4491
  __TYPE__: "StructuredTextContent";
3760
4492
  value: (({
3761
4493
  type: "image";
@@ -3785,7 +4517,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3785
4517
  linkTo?: ({
3786
4518
  __TYPE__: "ImageLink";
3787
4519
  } & {
3788
- kind: "image";
4520
+ kind: string;
3789
4521
  id: string;
3790
4522
  url: string;
3791
4523
  height: string;
@@ -3797,7 +4529,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3797
4529
  }) | ({
3798
4530
  __TYPE__: "FileLink";
3799
4531
  } & {
3800
- kind: "file";
4532
+ kind: string;
3801
4533
  id: string;
3802
4534
  url: string;
3803
4535
  name: string;
@@ -3856,7 +4588,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3856
4588
  data: ({
3857
4589
  __TYPE__: "ImageLink";
3858
4590
  } & {
3859
- kind: "image";
4591
+ kind: string;
3860
4592
  id: string;
3861
4593
  url: string;
3862
4594
  height: string;
@@ -3868,7 +4600,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3868
4600
  }) | ({
3869
4601
  __TYPE__: "FileLink";
3870
4602
  } & {
3871
- kind: "file";
4603
+ kind: string;
3872
4604
  id: string;
3873
4605
  url: string;
3874
4606
  name: string;
@@ -3910,7 +4642,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
3910
4642
  }))[];
3911
4643
  } | {
3912
4644
  __TYPE__: "SeparatorContent";
3913
- } | GroupContent][];
4645
+ }][];
3914
4646
  }[];
3915
4647
  } | {
3916
4648
  __TYPE__: "SharedSliceContent";
@@ -4033,7 +4765,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4033
4765
  value: ({
4034
4766
  __TYPE__: "ImageLink";
4035
4767
  } & (({
4036
- kind: "image";
4768
+ kind: string;
4037
4769
  id: string;
4038
4770
  url: string;
4039
4771
  height: string;
@@ -4050,7 +4782,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4050
4782
  })) | ({
4051
4783
  __TYPE__: "FileLink";
4052
4784
  } & (({
4053
- kind: "file";
4785
+ kind: string;
4054
4786
  id: string;
4055
4787
  url: string;
4056
4788
  name: string;
@@ -4097,6 +4829,78 @@ export declare const isWidgetContent: (u: unknown) => u is {
4097
4829
  text: string;
4098
4830
  });
4099
4831
  } | {
4832
+ __TYPE__: "RepeatableContent";
4833
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
4834
+ value: {
4835
+ __TYPE__: "LinkContent";
4836
+ value: ({
4837
+ __TYPE__: "ImageLink";
4838
+ } & (({
4839
+ kind: string;
4840
+ id: string;
4841
+ url: string;
4842
+ height: string;
4843
+ width: string;
4844
+ size: string;
4845
+ name: string;
4846
+ } & {
4847
+ date?: string | null | undefined;
4848
+ } & {
4849
+ text?: string;
4850
+ }) | {
4851
+ kind: "image";
4852
+ text: string;
4853
+ })) | ({
4854
+ __TYPE__: "FileLink";
4855
+ } & (({
4856
+ kind: string;
4857
+ id: string;
4858
+ url: string;
4859
+ name: string;
4860
+ size: string;
4861
+ } & {
4862
+ date?: string | null | undefined;
4863
+ } & {
4864
+ text?: string;
4865
+ }) | {
4866
+ kind: "file";
4867
+ text: string;
4868
+ })) | ({
4869
+ __TYPE__: "MediaLink";
4870
+ } & {
4871
+ kind: "media";
4872
+ text: string;
4873
+ }) | ({
4874
+ __TYPE__: "DocumentLink";
4875
+ } & (({
4876
+ id: string;
4877
+ } & {
4878
+ text?: string;
4879
+ }) | {
4880
+ kind: "document";
4881
+ text: string;
4882
+ })) | ({
4883
+ __TYPE__: "ExternalLink";
4884
+ } & (({
4885
+ url: string;
4886
+ } & {
4887
+ kind?: "web";
4888
+ target?: string | null | undefined;
4889
+ preview?: {
4890
+ title?: string;
4891
+ } | null | undefined;
4892
+ } & {
4893
+ text?: string;
4894
+ }) | {
4895
+ kind: "web";
4896
+ text: string;
4897
+ })) | ({
4898
+ __TYPE__: "AnyLink";
4899
+ } & {
4900
+ text: string;
4901
+ });
4902
+ }[];
4903
+ } | GroupContent | {
4100
4904
  __TYPE__: "StructuredTextContent";
4101
4905
  value: (({
4102
4906
  type: "image";
@@ -4126,7 +4930,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4126
4930
  linkTo?: ({
4127
4931
  __TYPE__: "ImageLink";
4128
4932
  } & {
4129
- kind: "image";
4933
+ kind: string;
4130
4934
  id: string;
4131
4935
  url: string;
4132
4936
  height: string;
@@ -4138,7 +4942,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4138
4942
  }) | ({
4139
4943
  __TYPE__: "FileLink";
4140
4944
  } & {
4141
- kind: "file";
4945
+ kind: string;
4142
4946
  id: string;
4143
4947
  url: string;
4144
4948
  name: string;
@@ -4197,7 +5001,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4197
5001
  data: ({
4198
5002
  __TYPE__: "ImageLink";
4199
5003
  } & {
4200
- kind: "image";
5004
+ kind: string;
4201
5005
  id: string;
4202
5006
  url: string;
4203
5007
  height: string;
@@ -4209,7 +5013,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4209
5013
  }) | ({
4210
5014
  __TYPE__: "FileLink";
4211
5015
  } & {
4212
- kind: "file";
5016
+ kind: string;
4213
5017
  id: string;
4214
5018
  url: string;
4215
5019
  name: string;
@@ -4251,7 +5055,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4251
5055
  }))[];
4252
5056
  } | {
4253
5057
  __TYPE__: "SeparatorContent";
4254
- } | GroupContent;
5058
+ };
4255
5059
  };
4256
5060
  items: {
4257
5061
  __TYPE__: "GroupItemContent";
@@ -4372,7 +5176,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4372
5176
  value: ({
4373
5177
  __TYPE__: "ImageLink";
4374
5178
  } & (({
4375
- kind: "image";
5179
+ kind: string;
4376
5180
  id: string;
4377
5181
  url: string;
4378
5182
  height: string;
@@ -4389,7 +5193,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4389
5193
  })) | ({
4390
5194
  __TYPE__: "FileLink";
4391
5195
  } & (({
4392
- kind: "file";
5196
+ kind: string;
4393
5197
  id: string;
4394
5198
  url: string;
4395
5199
  name: string;
@@ -4436,6 +5240,78 @@ export declare const isWidgetContent: (u: unknown) => u is {
4436
5240
  text: string;
4437
5241
  });
4438
5242
  } | {
5243
+ __TYPE__: "RepeatableContent";
5244
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
5245
+ value: {
5246
+ __TYPE__: "LinkContent";
5247
+ value: ({
5248
+ __TYPE__: "ImageLink";
5249
+ } & (({
5250
+ kind: string;
5251
+ id: string;
5252
+ url: string;
5253
+ height: string;
5254
+ width: string;
5255
+ size: string;
5256
+ name: string;
5257
+ } & {
5258
+ date?: string | null | undefined;
5259
+ } & {
5260
+ text?: string;
5261
+ }) | {
5262
+ kind: "image";
5263
+ text: string;
5264
+ })) | ({
5265
+ __TYPE__: "FileLink";
5266
+ } & (({
5267
+ kind: string;
5268
+ id: string;
5269
+ url: string;
5270
+ name: string;
5271
+ size: string;
5272
+ } & {
5273
+ date?: string | null | undefined;
5274
+ } & {
5275
+ text?: string;
5276
+ }) | {
5277
+ kind: "file";
5278
+ text: string;
5279
+ })) | ({
5280
+ __TYPE__: "MediaLink";
5281
+ } & {
5282
+ kind: "media";
5283
+ text: string;
5284
+ }) | ({
5285
+ __TYPE__: "DocumentLink";
5286
+ } & (({
5287
+ id: string;
5288
+ } & {
5289
+ text?: string;
5290
+ }) | {
5291
+ kind: "document";
5292
+ text: string;
5293
+ })) | ({
5294
+ __TYPE__: "ExternalLink";
5295
+ } & (({
5296
+ url: string;
5297
+ } & {
5298
+ kind?: "web";
5299
+ target?: string | null | undefined;
5300
+ preview?: {
5301
+ title?: string;
5302
+ } | null | undefined;
5303
+ } & {
5304
+ text?: string;
5305
+ }) | {
5306
+ kind: "web";
5307
+ text: string;
5308
+ })) | ({
5309
+ __TYPE__: "AnyLink";
5310
+ } & {
5311
+ text: string;
5312
+ });
5313
+ }[];
5314
+ } | GroupContent | {
4439
5315
  __TYPE__: "StructuredTextContent";
4440
5316
  value: (({
4441
5317
  type: "image";
@@ -4465,7 +5341,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4465
5341
  linkTo?: ({
4466
5342
  __TYPE__: "ImageLink";
4467
5343
  } & {
4468
- kind: "image";
5344
+ kind: string;
4469
5345
  id: string;
4470
5346
  url: string;
4471
5347
  height: string;
@@ -4477,7 +5353,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4477
5353
  }) | ({
4478
5354
  __TYPE__: "FileLink";
4479
5355
  } & {
4480
- kind: "file";
5356
+ kind: string;
4481
5357
  id: string;
4482
5358
  url: string;
4483
5359
  name: string;
@@ -4536,7 +5412,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4536
5412
  data: ({
4537
5413
  __TYPE__: "ImageLink";
4538
5414
  } & {
4539
- kind: "image";
5415
+ kind: string;
4540
5416
  id: string;
4541
5417
  url: string;
4542
5418
  height: string;
@@ -4548,7 +5424,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4548
5424
  }) | ({
4549
5425
  __TYPE__: "FileLink";
4550
5426
  } & {
4551
- kind: "file";
5427
+ kind: string;
4552
5428
  id: string;
4553
5429
  url: string;
4554
5430
  name: string;
@@ -4590,7 +5466,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
4590
5466
  }))[];
4591
5467
  } | {
4592
5468
  __TYPE__: "SeparatorContent";
4593
- } | GroupContent][];
5469
+ }][];
4594
5470
  }[];
4595
5471
  };
4596
5472
  }[];
@@ -4715,7 +5591,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4715
5591
  value: ({
4716
5592
  __TYPE__: "ImageLink";
4717
5593
  } & (({
4718
- kind: "image";
5594
+ kind: string;
4719
5595
  id: string;
4720
5596
  url: string;
4721
5597
  height: string;
@@ -4732,7 +5608,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4732
5608
  })) | ({
4733
5609
  __TYPE__: "FileLink";
4734
5610
  } & (({
4735
- kind: "file";
5611
+ kind: string;
4736
5612
  id: string;
4737
5613
  url: string;
4738
5614
  name: string;
@@ -4778,6 +5654,78 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4778
5654
  } & {
4779
5655
  text: string;
4780
5656
  });
5657
+ }> | import("fp-ts/lib/Either").Right<{
5658
+ __TYPE__: "RepeatableContent";
5659
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
5660
+ value: {
5661
+ __TYPE__: "LinkContent";
5662
+ value: ({
5663
+ __TYPE__: "ImageLink";
5664
+ } & (({
5665
+ kind: string;
5666
+ id: string;
5667
+ url: string;
5668
+ height: string;
5669
+ width: string;
5670
+ size: string;
5671
+ name: string;
5672
+ } & {
5673
+ date?: string | null | undefined;
5674
+ } & {
5675
+ text?: string;
5676
+ }) | {
5677
+ kind: "image";
5678
+ text: string;
5679
+ })) | ({
5680
+ __TYPE__: "FileLink";
5681
+ } & (({
5682
+ kind: string;
5683
+ id: string;
5684
+ url: string;
5685
+ name: string;
5686
+ size: string;
5687
+ } & {
5688
+ date?: string | null | undefined;
5689
+ } & {
5690
+ text?: string;
5691
+ }) | {
5692
+ kind: "file";
5693
+ text: string;
5694
+ })) | ({
5695
+ __TYPE__: "MediaLink";
5696
+ } & {
5697
+ kind: "media";
5698
+ text: string;
5699
+ }) | ({
5700
+ __TYPE__: "DocumentLink";
5701
+ } & (({
5702
+ id: string;
5703
+ } & {
5704
+ text?: string;
5705
+ }) | {
5706
+ kind: "document";
5707
+ text: string;
5708
+ })) | ({
5709
+ __TYPE__: "ExternalLink";
5710
+ } & (({
5711
+ url: string;
5712
+ } & {
5713
+ kind?: "web";
5714
+ target?: string | null | undefined;
5715
+ preview?: {
5716
+ title?: string;
5717
+ } | null | undefined;
5718
+ } & {
5719
+ text?: string;
5720
+ }) | {
5721
+ kind: "web";
5722
+ text: string;
5723
+ })) | ({
5724
+ __TYPE__: "AnyLink";
5725
+ } & {
5726
+ text: string;
5727
+ });
5728
+ }[];
4781
5729
  }> | import("fp-ts/lib/Either").Right<{
4782
5730
  __TYPE__: "StructuredTextContent";
4783
5731
  value: (({
@@ -4808,7 +5756,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4808
5756
  linkTo?: ({
4809
5757
  __TYPE__: "ImageLink";
4810
5758
  } & {
4811
- kind: "image";
5759
+ kind: string;
4812
5760
  id: string;
4813
5761
  url: string;
4814
5762
  height: string;
@@ -4820,7 +5768,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4820
5768
  }) | ({
4821
5769
  __TYPE__: "FileLink";
4822
5770
  } & {
4823
- kind: "file";
5771
+ kind: string;
4824
5772
  id: string;
4825
5773
  url: string;
4826
5774
  name: string;
@@ -4879,7 +5827,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4879
5827
  data: ({
4880
5828
  __TYPE__: "ImageLink";
4881
5829
  } & {
4882
- kind: "image";
5830
+ kind: string;
4883
5831
  id: string;
4884
5832
  url: string;
4885
5833
  height: string;
@@ -4891,7 +5839,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4891
5839
  }) | ({
4892
5840
  __TYPE__: "FileLink";
4893
5841
  } & {
4894
- kind: "file";
5842
+ kind: string;
4895
5843
  id: string;
4896
5844
  url: string;
4897
5845
  name: string;
@@ -4933,7 +5881,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
4933
5881
  }))[];
4934
5882
  }> | import("fp-ts/lib/Either").Right<{
4935
5883
  __TYPE__: "SeparatorContent";
4936
- }> | import("fp-ts/lib/Either").Right<GroupContent> | import("fp-ts/lib/Either").Right<{
5884
+ }> | import("fp-ts/lib/Either").Right<{
4937
5885
  __TYPE__: "UIDContent";
4938
5886
  value: string;
4939
5887
  }> | import("fp-ts/lib/Either").Right<{
@@ -5059,7 +6007,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5059
6007
  value: ({
5060
6008
  __TYPE__: "ImageLink";
5061
6009
  } & (({
5062
- kind: "image";
6010
+ kind: string;
5063
6011
  id: string;
5064
6012
  url: string;
5065
6013
  height: string;
@@ -5076,7 +6024,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5076
6024
  })) | ({
5077
6025
  __TYPE__: "FileLink";
5078
6026
  } & (({
5079
- kind: "file";
6027
+ kind: string;
5080
6028
  id: string;
5081
6029
  url: string;
5082
6030
  name: string;
@@ -5123,6 +6071,78 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5123
6071
  text: string;
5124
6072
  });
5125
6073
  } | {
6074
+ __TYPE__: "RepeatableContent";
6075
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
6076
+ value: {
6077
+ __TYPE__: "LinkContent";
6078
+ value: ({
6079
+ __TYPE__: "ImageLink";
6080
+ } & (({
6081
+ kind: string;
6082
+ id: string;
6083
+ url: string;
6084
+ height: string;
6085
+ width: string;
6086
+ size: string;
6087
+ name: string;
6088
+ } & {
6089
+ date?: string | null | undefined;
6090
+ } & {
6091
+ text?: string;
6092
+ }) | {
6093
+ kind: "image";
6094
+ text: string;
6095
+ })) | ({
6096
+ __TYPE__: "FileLink";
6097
+ } & (({
6098
+ kind: string;
6099
+ id: string;
6100
+ url: string;
6101
+ name: string;
6102
+ size: string;
6103
+ } & {
6104
+ date?: string | null | undefined;
6105
+ } & {
6106
+ text?: string;
6107
+ }) | {
6108
+ kind: "file";
6109
+ text: string;
6110
+ })) | ({
6111
+ __TYPE__: "MediaLink";
6112
+ } & {
6113
+ kind: "media";
6114
+ text: string;
6115
+ }) | ({
6116
+ __TYPE__: "DocumentLink";
6117
+ } & (({
6118
+ id: string;
6119
+ } & {
6120
+ text?: string;
6121
+ }) | {
6122
+ kind: "document";
6123
+ text: string;
6124
+ })) | ({
6125
+ __TYPE__: "ExternalLink";
6126
+ } & (({
6127
+ url: string;
6128
+ } & {
6129
+ kind?: "web";
6130
+ target?: string | null | undefined;
6131
+ preview?: {
6132
+ title?: string;
6133
+ } | null | undefined;
6134
+ } & {
6135
+ text?: string;
6136
+ }) | {
6137
+ kind: "web";
6138
+ text: string;
6139
+ })) | ({
6140
+ __TYPE__: "AnyLink";
6141
+ } & {
6142
+ text: string;
6143
+ });
6144
+ }[];
6145
+ } | GroupContent | {
5126
6146
  __TYPE__: "StructuredTextContent";
5127
6147
  value: (({
5128
6148
  type: "image";
@@ -5152,7 +6172,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5152
6172
  linkTo?: ({
5153
6173
  __TYPE__: "ImageLink";
5154
6174
  } & {
5155
- kind: "image";
6175
+ kind: string;
5156
6176
  id: string;
5157
6177
  url: string;
5158
6178
  height: string;
@@ -5164,7 +6184,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5164
6184
  }) | ({
5165
6185
  __TYPE__: "FileLink";
5166
6186
  } & {
5167
- kind: "file";
6187
+ kind: string;
5168
6188
  id: string;
5169
6189
  url: string;
5170
6190
  name: string;
@@ -5223,7 +6243,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5223
6243
  data: ({
5224
6244
  __TYPE__: "ImageLink";
5225
6245
  } & {
5226
- kind: "image";
6246
+ kind: string;
5227
6247
  id: string;
5228
6248
  url: string;
5229
6249
  height: string;
@@ -5235,7 +6255,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5235
6255
  }) | ({
5236
6256
  __TYPE__: "FileLink";
5237
6257
  } & {
5238
- kind: "file";
6258
+ kind: string;
5239
6259
  id: string;
5240
6260
  url: string;
5241
6261
  name: string;
@@ -5277,7 +6297,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5277
6297
  }))[];
5278
6298
  } | {
5279
6299
  __TYPE__: "SeparatorContent";
5280
- } | GroupContent | {
6300
+ } | {
5281
6301
  __TYPE__: "CompositeSliceContent";
5282
6302
  nonRepeat: {
5283
6303
  [x: string]: {
@@ -5397,7 +6417,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5397
6417
  value: ({
5398
6418
  __TYPE__: "ImageLink";
5399
6419
  } & (({
5400
- kind: "image";
6420
+ kind: string;
5401
6421
  id: string;
5402
6422
  url: string;
5403
6423
  height: string;
@@ -5414,7 +6434,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5414
6434
  })) | ({
5415
6435
  __TYPE__: "FileLink";
5416
6436
  } & (({
5417
- kind: "file";
6437
+ kind: string;
5418
6438
  id: string;
5419
6439
  url: string;
5420
6440
  name: string;
@@ -5460,6 +6480,78 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5460
6480
  } & {
5461
6481
  text: string;
5462
6482
  });
6483
+ } | {
6484
+ __TYPE__: "RepeatableContent";
6485
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
6486
+ value: {
6487
+ __TYPE__: "LinkContent";
6488
+ value: ({
6489
+ __TYPE__: "ImageLink";
6490
+ } & (({
6491
+ kind: string;
6492
+ id: string;
6493
+ url: string;
6494
+ height: string;
6495
+ width: string;
6496
+ size: string;
6497
+ name: string;
6498
+ } & {
6499
+ date?: string | null | undefined;
6500
+ } & {
6501
+ text?: string;
6502
+ }) | {
6503
+ kind: "image";
6504
+ text: string;
6505
+ })) | ({
6506
+ __TYPE__: "FileLink";
6507
+ } & (({
6508
+ kind: string;
6509
+ id: string;
6510
+ url: string;
6511
+ name: string;
6512
+ size: string;
6513
+ } & {
6514
+ date?: string | null | undefined;
6515
+ } & {
6516
+ text?: string;
6517
+ }) | {
6518
+ kind: "file";
6519
+ text: string;
6520
+ })) | ({
6521
+ __TYPE__: "MediaLink";
6522
+ } & {
6523
+ kind: "media";
6524
+ text: string;
6525
+ }) | ({
6526
+ __TYPE__: "DocumentLink";
6527
+ } & (({
6528
+ id: string;
6529
+ } & {
6530
+ text?: string;
6531
+ }) | {
6532
+ kind: "document";
6533
+ text: string;
6534
+ })) | ({
6535
+ __TYPE__: "ExternalLink";
6536
+ } & (({
6537
+ url: string;
6538
+ } & {
6539
+ kind?: "web";
6540
+ target?: string | null | undefined;
6541
+ preview?: {
6542
+ title?: string;
6543
+ } | null | undefined;
6544
+ } & {
6545
+ text?: string;
6546
+ }) | {
6547
+ kind: "web";
6548
+ text: string;
6549
+ })) | ({
6550
+ __TYPE__: "AnyLink";
6551
+ } & {
6552
+ text: string;
6553
+ });
6554
+ }[];
5463
6555
  } | {
5464
6556
  __TYPE__: "StructuredTextContent";
5465
6557
  value: (({
@@ -5490,7 +6582,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5490
6582
  linkTo?: ({
5491
6583
  __TYPE__: "ImageLink";
5492
6584
  } & {
5493
- kind: "image";
6585
+ kind: string;
5494
6586
  id: string;
5495
6587
  url: string;
5496
6588
  height: string;
@@ -5502,7 +6594,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5502
6594
  }) | ({
5503
6595
  __TYPE__: "FileLink";
5504
6596
  } & {
5505
- kind: "file";
6597
+ kind: string;
5506
6598
  id: string;
5507
6599
  url: string;
5508
6600
  name: string;
@@ -5561,7 +6653,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5561
6653
  data: ({
5562
6654
  __TYPE__: "ImageLink";
5563
6655
  } & {
5564
- kind: "image";
6656
+ kind: string;
5565
6657
  id: string;
5566
6658
  url: string;
5567
6659
  height: string;
@@ -5573,7 +6665,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5573
6665
  }) | ({
5574
6666
  __TYPE__: "FileLink";
5575
6667
  } & {
5576
- kind: "file";
6668
+ kind: string;
5577
6669
  id: string;
5578
6670
  url: string;
5579
6671
  name: string;
@@ -5736,7 +6828,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5736
6828
  value: ({
5737
6829
  __TYPE__: "ImageLink";
5738
6830
  } & (({
5739
- kind: "image";
6831
+ kind: string;
5740
6832
  id: string;
5741
6833
  url: string;
5742
6834
  height: string;
@@ -5753,7 +6845,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5753
6845
  })) | ({
5754
6846
  __TYPE__: "FileLink";
5755
6847
  } & (({
5756
- kind: "file";
6848
+ kind: string;
5757
6849
  id: string;
5758
6850
  url: string;
5759
6851
  name: string;
@@ -5800,6 +6892,78 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5800
6892
  text: string;
5801
6893
  });
5802
6894
  } | {
6895
+ __TYPE__: "RepeatableContent";
6896
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
6897
+ value: {
6898
+ __TYPE__: "LinkContent";
6899
+ value: ({
6900
+ __TYPE__: "ImageLink";
6901
+ } & (({
6902
+ kind: string;
6903
+ id: string;
6904
+ url: string;
6905
+ height: string;
6906
+ width: string;
6907
+ size: string;
6908
+ name: string;
6909
+ } & {
6910
+ date?: string | null | undefined;
6911
+ } & {
6912
+ text?: string;
6913
+ }) | {
6914
+ kind: "image";
6915
+ text: string;
6916
+ })) | ({
6917
+ __TYPE__: "FileLink";
6918
+ } & (({
6919
+ kind: string;
6920
+ id: string;
6921
+ url: string;
6922
+ name: string;
6923
+ size: string;
6924
+ } & {
6925
+ date?: string | null | undefined;
6926
+ } & {
6927
+ text?: string;
6928
+ }) | {
6929
+ kind: "file";
6930
+ text: string;
6931
+ })) | ({
6932
+ __TYPE__: "MediaLink";
6933
+ } & {
6934
+ kind: "media";
6935
+ text: string;
6936
+ }) | ({
6937
+ __TYPE__: "DocumentLink";
6938
+ } & (({
6939
+ id: string;
6940
+ } & {
6941
+ text?: string;
6942
+ }) | {
6943
+ kind: "document";
6944
+ text: string;
6945
+ })) | ({
6946
+ __TYPE__: "ExternalLink";
6947
+ } & (({
6948
+ url: string;
6949
+ } & {
6950
+ kind?: "web";
6951
+ target?: string | null | undefined;
6952
+ preview?: {
6953
+ title?: string;
6954
+ } | null | undefined;
6955
+ } & {
6956
+ text?: string;
6957
+ }) | {
6958
+ kind: "web";
6959
+ text: string;
6960
+ })) | ({
6961
+ __TYPE__: "AnyLink";
6962
+ } & {
6963
+ text: string;
6964
+ });
6965
+ }[];
6966
+ } | GroupContent | {
5803
6967
  __TYPE__: "StructuredTextContent";
5804
6968
  value: (({
5805
6969
  type: "image";
@@ -5829,7 +6993,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5829
6993
  linkTo?: ({
5830
6994
  __TYPE__: "ImageLink";
5831
6995
  } & {
5832
- kind: "image";
6996
+ kind: string;
5833
6997
  id: string;
5834
6998
  url: string;
5835
6999
  height: string;
@@ -5841,7 +7005,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5841
7005
  }) | ({
5842
7006
  __TYPE__: "FileLink";
5843
7007
  } & {
5844
- kind: "file";
7008
+ kind: string;
5845
7009
  id: string;
5846
7010
  url: string;
5847
7011
  name: string;
@@ -5900,7 +7064,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5900
7064
  data: ({
5901
7065
  __TYPE__: "ImageLink";
5902
7066
  } & {
5903
- kind: "image";
7067
+ kind: string;
5904
7068
  id: string;
5905
7069
  url: string;
5906
7070
  height: string;
@@ -5912,7 +7076,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5912
7076
  }) | ({
5913
7077
  __TYPE__: "FileLink";
5914
7078
  } & {
5915
- kind: "file";
7079
+ kind: string;
5916
7080
  id: string;
5917
7081
  url: string;
5918
7082
  name: string;
@@ -5954,7 +7118,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
5954
7118
  }))[];
5955
7119
  } | {
5956
7120
  __TYPE__: "SeparatorContent";
5957
- } | GroupContent][];
7121
+ }][];
5958
7122
  }[];
5959
7123
  } | {
5960
7124
  __TYPE__: "SharedSliceContent";
@@ -6077,7 +7241,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6077
7241
  value: ({
6078
7242
  __TYPE__: "ImageLink";
6079
7243
  } & (({
6080
- kind: "image";
7244
+ kind: string;
6081
7245
  id: string;
6082
7246
  url: string;
6083
7247
  height: string;
@@ -6094,7 +7258,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6094
7258
  })) | ({
6095
7259
  __TYPE__: "FileLink";
6096
7260
  } & (({
6097
- kind: "file";
7261
+ kind: string;
6098
7262
  id: string;
6099
7263
  url: string;
6100
7264
  name: string;
@@ -6141,6 +7305,78 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6141
7305
  text: string;
6142
7306
  });
6143
7307
  } | {
7308
+ __TYPE__: "RepeatableContent";
7309
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
7310
+ value: {
7311
+ __TYPE__: "LinkContent";
7312
+ value: ({
7313
+ __TYPE__: "ImageLink";
7314
+ } & (({
7315
+ kind: string;
7316
+ id: string;
7317
+ url: string;
7318
+ height: string;
7319
+ width: string;
7320
+ size: string;
7321
+ name: string;
7322
+ } & {
7323
+ date?: string | null | undefined;
7324
+ } & {
7325
+ text?: string;
7326
+ }) | {
7327
+ kind: "image";
7328
+ text: string;
7329
+ })) | ({
7330
+ __TYPE__: "FileLink";
7331
+ } & (({
7332
+ kind: string;
7333
+ id: string;
7334
+ url: string;
7335
+ name: string;
7336
+ size: string;
7337
+ } & {
7338
+ date?: string | null | undefined;
7339
+ } & {
7340
+ text?: string;
7341
+ }) | {
7342
+ kind: "file";
7343
+ text: string;
7344
+ })) | ({
7345
+ __TYPE__: "MediaLink";
7346
+ } & {
7347
+ kind: "media";
7348
+ text: string;
7349
+ }) | ({
7350
+ __TYPE__: "DocumentLink";
7351
+ } & (({
7352
+ id: string;
7353
+ } & {
7354
+ text?: string;
7355
+ }) | {
7356
+ kind: "document";
7357
+ text: string;
7358
+ })) | ({
7359
+ __TYPE__: "ExternalLink";
7360
+ } & (({
7361
+ url: string;
7362
+ } & {
7363
+ kind?: "web";
7364
+ target?: string | null | undefined;
7365
+ preview?: {
7366
+ title?: string;
7367
+ } | null | undefined;
7368
+ } & {
7369
+ text?: string;
7370
+ }) | {
7371
+ kind: "web";
7372
+ text: string;
7373
+ })) | ({
7374
+ __TYPE__: "AnyLink";
7375
+ } & {
7376
+ text: string;
7377
+ });
7378
+ }[];
7379
+ } | GroupContent | {
6144
7380
  __TYPE__: "StructuredTextContent";
6145
7381
  value: (({
6146
7382
  type: "image";
@@ -6170,7 +7406,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6170
7406
  linkTo?: ({
6171
7407
  __TYPE__: "ImageLink";
6172
7408
  } & {
6173
- kind: "image";
7409
+ kind: string;
6174
7410
  id: string;
6175
7411
  url: string;
6176
7412
  height: string;
@@ -6182,7 +7418,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6182
7418
  }) | ({
6183
7419
  __TYPE__: "FileLink";
6184
7420
  } & {
6185
- kind: "file";
7421
+ kind: string;
6186
7422
  id: string;
6187
7423
  url: string;
6188
7424
  name: string;
@@ -6241,7 +7477,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6241
7477
  data: ({
6242
7478
  __TYPE__: "ImageLink";
6243
7479
  } & {
6244
- kind: "image";
7480
+ kind: string;
6245
7481
  id: string;
6246
7482
  url: string;
6247
7483
  height: string;
@@ -6253,7 +7489,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6253
7489
  }) | ({
6254
7490
  __TYPE__: "FileLink";
6255
7491
  } & {
6256
- kind: "file";
7492
+ kind: string;
6257
7493
  id: string;
6258
7494
  url: string;
6259
7495
  name: string;
@@ -6295,7 +7531,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6295
7531
  }))[];
6296
7532
  } | {
6297
7533
  __TYPE__: "SeparatorContent";
6298
- } | GroupContent;
7534
+ };
6299
7535
  };
6300
7536
  items: {
6301
7537
  __TYPE__: "GroupItemContent";
@@ -6416,7 +7652,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6416
7652
  value: ({
6417
7653
  __TYPE__: "ImageLink";
6418
7654
  } & (({
6419
- kind: "image";
7655
+ kind: string;
6420
7656
  id: string;
6421
7657
  url: string;
6422
7658
  height: string;
@@ -6433,7 +7669,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6433
7669
  })) | ({
6434
7670
  __TYPE__: "FileLink";
6435
7671
  } & (({
6436
- kind: "file";
7672
+ kind: string;
6437
7673
  id: string;
6438
7674
  url: string;
6439
7675
  name: string;
@@ -6480,6 +7716,78 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6480
7716
  text: string;
6481
7717
  });
6482
7718
  } | {
7719
+ __TYPE__: "RepeatableContent";
7720
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
7721
+ value: {
7722
+ __TYPE__: "LinkContent";
7723
+ value: ({
7724
+ __TYPE__: "ImageLink";
7725
+ } & (({
7726
+ kind: string;
7727
+ id: string;
7728
+ url: string;
7729
+ height: string;
7730
+ width: string;
7731
+ size: string;
7732
+ name: string;
7733
+ } & {
7734
+ date?: string | null | undefined;
7735
+ } & {
7736
+ text?: string;
7737
+ }) | {
7738
+ kind: "image";
7739
+ text: string;
7740
+ })) | ({
7741
+ __TYPE__: "FileLink";
7742
+ } & (({
7743
+ kind: string;
7744
+ id: string;
7745
+ url: string;
7746
+ name: string;
7747
+ size: string;
7748
+ } & {
7749
+ date?: string | null | undefined;
7750
+ } & {
7751
+ text?: string;
7752
+ }) | {
7753
+ kind: "file";
7754
+ text: string;
7755
+ })) | ({
7756
+ __TYPE__: "MediaLink";
7757
+ } & {
7758
+ kind: "media";
7759
+ text: string;
7760
+ }) | ({
7761
+ __TYPE__: "DocumentLink";
7762
+ } & (({
7763
+ id: string;
7764
+ } & {
7765
+ text?: string;
7766
+ }) | {
7767
+ kind: "document";
7768
+ text: string;
7769
+ })) | ({
7770
+ __TYPE__: "ExternalLink";
7771
+ } & (({
7772
+ url: string;
7773
+ } & {
7774
+ kind?: "web";
7775
+ target?: string | null | undefined;
7776
+ preview?: {
7777
+ title?: string;
7778
+ } | null | undefined;
7779
+ } & {
7780
+ text?: string;
7781
+ }) | {
7782
+ kind: "web";
7783
+ text: string;
7784
+ })) | ({
7785
+ __TYPE__: "AnyLink";
7786
+ } & {
7787
+ text: string;
7788
+ });
7789
+ }[];
7790
+ } | GroupContent | {
6483
7791
  __TYPE__: "StructuredTextContent";
6484
7792
  value: (({
6485
7793
  type: "image";
@@ -6509,7 +7817,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6509
7817
  linkTo?: ({
6510
7818
  __TYPE__: "ImageLink";
6511
7819
  } & {
6512
- kind: "image";
7820
+ kind: string;
6513
7821
  id: string;
6514
7822
  url: string;
6515
7823
  height: string;
@@ -6521,7 +7829,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6521
7829
  }) | ({
6522
7830
  __TYPE__: "FileLink";
6523
7831
  } & {
6524
- kind: "file";
7832
+ kind: string;
6525
7833
  id: string;
6526
7834
  url: string;
6527
7835
  name: string;
@@ -6580,7 +7888,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6580
7888
  data: ({
6581
7889
  __TYPE__: "ImageLink";
6582
7890
  } & {
6583
- kind: "image";
7891
+ kind: string;
6584
7892
  id: string;
6585
7893
  url: string;
6586
7894
  height: string;
@@ -6592,7 +7900,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6592
7900
  }) | ({
6593
7901
  __TYPE__: "FileLink";
6594
7902
  } & {
6595
- kind: "file";
7903
+ kind: string;
6596
7904
  id: string;
6597
7905
  url: string;
6598
7906
  name: string;
@@ -6634,10 +7942,10 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
6634
7942
  }))[];
6635
7943
  } | {
6636
7944
  __TYPE__: "SeparatorContent";
6637
- } | GroupContent][];
7945
+ }][];
6638
7946
  }[];
6639
7947
  };
6640
7948
  }[];
6641
- }> | undefined;
7949
+ }> | import("fp-ts/lib/Either").Right<GroupContent> | undefined;
6642
7950
  encode(value: WidgetContent): import("../LegacyContentCtx").WithTypes<unknown> | undefined;
6643
7951
  };