@prismicio/types-internal 2.9.0-alpha.3 → 3.0.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.
- package/lib/_internal/utils.d.ts +2 -3
- package/lib/content/Document.d.ts +212 -1520
- package/lib/content/Document.js +0 -11
- package/lib/content/LegacyContentCtx.d.ts +2 -2
- package/lib/content/LegacyContentCtx.js +1 -4
- package/lib/content/fields/GroupContent.js +0 -13
- package/lib/content/fields/WidgetContent.d.ts +186 -1494
- package/lib/content/fields/index.d.ts +0 -1
- package/lib/content/fields/index.js +0 -1
- package/lib/content/fields/nestable/LinkContent.d.ts +32 -32
- package/lib/content/fields/nestable/LinkContent.js +10 -2
- package/lib/content/fields/nestable/NestableContent.d.ts +22 -240
- package/lib/content/fields/nestable/NestableContent.js +1 -8
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +106 -106
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +20 -20
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +46 -482
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +10 -84
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +48 -484
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +4 -20
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +23 -241
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +23 -241
- package/lib/content/fields/slices/Slice/index.d.ts +85 -815
- package/lib/content/fields/slices/SliceItem.d.ts +84 -814
- package/lib/content/fields/slices/SlicesContent.d.ts +118 -1208
- package/lib/customtypes/CustomType.d.ts +0 -18
- package/lib/customtypes/Section.d.ts +0 -18
- package/lib/customtypes/diff/SharedSlice.d.ts +0 -8
- package/lib/customtypes/diff/Variation.d.ts +0 -8
- package/lib/customtypes/widgets/Group.d.ts +0 -6
- package/lib/customtypes/widgets/Widget.d.ts +0 -21
- package/lib/customtypes/widgets/nestable/Link.d.ts +0 -10
- package/lib/customtypes/widgets/nestable/Link.js +0 -5
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -1
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -2
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -2
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -8
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -6
- package/lib/customtypes/widgets/slices/Slices.d.ts +0 -28
- package/package.json +1 -1
- package/src/_internal/utils.ts +1 -3
- package/src/content/Document.ts +0 -12
- package/src/content/LegacyContentCtx.ts +1 -4
- package/src/content/fields/GroupContent.ts +0 -13
- package/src/content/fields/index.ts +0 -1
- package/src/content/fields/nestable/LinkContent.ts +26 -2
- package/src/content/fields/nestable/NestableContent.ts +1 -12
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +0 -18
- package/src/customtypes/widgets/nestable/Link.ts +0 -6
- package/src/content/fields/RepeatableContent.ts +0 -147
|
@@ -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.
|
|
119
|
+
kind: t.Type<"image", "image", unknown>;
|
|
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.
|
|
136
|
+
kind: t.Type<"file", "file", unknown>;
|
|
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:
|
|
214
|
+
kind: "image";
|
|
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:
|
|
226
|
+
kind: "file";
|
|
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:
|
|
250
|
+
kind: "image";
|
|
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:
|
|
262
|
+
kind: "file";
|
|
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:
|
|
321
|
+
kind: "image";
|
|
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:
|
|
333
|
+
kind: "file";
|
|
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:
|
|
371
|
+
kind: "image";
|
|
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:
|
|
383
|
+
kind: "file";
|
|
384
384
|
id: string;
|
|
385
385
|
url: string;
|
|
386
386
|
name: string;
|
|
@@ -422,80 +422,6 @@ 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.LiteralC<"Link">;
|
|
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
|
-
}>>>;
|
|
499
425
|
}>>]>, t.TypeC<{
|
|
500
426
|
__TYPE__: t.LiteralC<"UIDContent">;
|
|
501
427
|
value: t.StringC;
|
|
@@ -622,7 +548,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
622
548
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
623
549
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
624
550
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
625
|
-
kind: t.
|
|
551
|
+
kind: t.Type<"image", "image", unknown>;
|
|
626
552
|
id: t.StringC;
|
|
627
553
|
url: t.StringC;
|
|
628
554
|
height: t.StringC;
|
|
@@ -639,7 +565,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
639
565
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
640
566
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
641
567
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
642
|
-
kind: t.
|
|
568
|
+
kind: t.Type<"file", "file", unknown>;
|
|
643
569
|
id: t.StringC;
|
|
644
570
|
url: t.StringC;
|
|
645
571
|
name: t.StringC;
|
|
@@ -717,7 +643,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
717
643
|
linkTo: t.UnionC<[t.Type<({
|
|
718
644
|
__TYPE__: "ImageLink";
|
|
719
645
|
} & {
|
|
720
|
-
kind:
|
|
646
|
+
kind: "image";
|
|
721
647
|
id: string;
|
|
722
648
|
url: string;
|
|
723
649
|
height: string;
|
|
@@ -729,7 +655,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
729
655
|
}) | ({
|
|
730
656
|
__TYPE__: "FileLink";
|
|
731
657
|
} & {
|
|
732
|
-
kind:
|
|
658
|
+
kind: "file";
|
|
733
659
|
id: string;
|
|
734
660
|
url: string;
|
|
735
661
|
name: string;
|
|
@@ -753,7 +679,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
753
679
|
}), ({
|
|
754
680
|
__TYPE__: "ImageLink";
|
|
755
681
|
} & {
|
|
756
|
-
kind:
|
|
682
|
+
kind: "image";
|
|
757
683
|
id: string;
|
|
758
684
|
url: string;
|
|
759
685
|
height: string;
|
|
@@ -765,7 +691,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
765
691
|
}) | ({
|
|
766
692
|
__TYPE__: "FileLink";
|
|
767
693
|
} & {
|
|
768
|
-
kind:
|
|
694
|
+
kind: "file";
|
|
769
695
|
id: string;
|
|
770
696
|
url: string;
|
|
771
697
|
name: string;
|
|
@@ -824,7 +750,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
824
750
|
data: ({
|
|
825
751
|
__TYPE__: "ImageLink";
|
|
826
752
|
} & {
|
|
827
|
-
kind:
|
|
753
|
+
kind: "image";
|
|
828
754
|
id: string;
|
|
829
755
|
url: string;
|
|
830
756
|
height: string;
|
|
@@ -836,7 +762,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
836
762
|
}) | ({
|
|
837
763
|
__TYPE__: "FileLink";
|
|
838
764
|
} & {
|
|
839
|
-
kind:
|
|
765
|
+
kind: "file";
|
|
840
766
|
id: string;
|
|
841
767
|
url: string;
|
|
842
768
|
name: string;
|
|
@@ -874,7 +800,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
874
800
|
data: ({
|
|
875
801
|
__TYPE__: "ImageLink";
|
|
876
802
|
} & {
|
|
877
|
-
kind:
|
|
803
|
+
kind: "image";
|
|
878
804
|
id: string;
|
|
879
805
|
url: string;
|
|
880
806
|
height: string;
|
|
@@ -886,7 +812,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
886
812
|
}) | ({
|
|
887
813
|
__TYPE__: "FileLink";
|
|
888
814
|
} & {
|
|
889
|
-
kind:
|
|
815
|
+
kind: "file";
|
|
890
816
|
id: string;
|
|
891
817
|
url: string;
|
|
892
818
|
name: string;
|
|
@@ -928,80 +854,6 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
928
854
|
}>]>>]>>;
|
|
929
855
|
}>>, t.ExactC<t.TypeC<{
|
|
930
856
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
931
|
-
}>>, t.ExactC<t.TypeC<{
|
|
932
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
933
|
-
type: t.LiteralC<"Link">;
|
|
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
|
-
}>>>;
|
|
1005
857
|
}>>]>>;
|
|
1006
858
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1007
859
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -1120,7 +972,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1120
972
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1121
973
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1122
974
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1123
|
-
kind: t.
|
|
975
|
+
kind: t.Type<"image", "image", unknown>;
|
|
1124
976
|
id: t.StringC;
|
|
1125
977
|
url: t.StringC;
|
|
1126
978
|
height: t.StringC;
|
|
@@ -1137,7 +989,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1137
989
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1138
990
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1139
991
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1140
|
-
kind: t.
|
|
992
|
+
kind: t.Type<"file", "file", unknown>;
|
|
1141
993
|
id: t.StringC;
|
|
1142
994
|
url: t.StringC;
|
|
1143
995
|
name: t.StringC;
|
|
@@ -1215,7 +1067,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1215
1067
|
linkTo: t.UnionC<[t.Type<({
|
|
1216
1068
|
__TYPE__: "ImageLink";
|
|
1217
1069
|
} & {
|
|
1218
|
-
kind:
|
|
1070
|
+
kind: "image";
|
|
1219
1071
|
id: string;
|
|
1220
1072
|
url: string;
|
|
1221
1073
|
height: string;
|
|
@@ -1227,7 +1079,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1227
1079
|
}) | ({
|
|
1228
1080
|
__TYPE__: "FileLink";
|
|
1229
1081
|
} & {
|
|
1230
|
-
kind:
|
|
1082
|
+
kind: "file";
|
|
1231
1083
|
id: string;
|
|
1232
1084
|
url: string;
|
|
1233
1085
|
name: string;
|
|
@@ -1251,7 +1103,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1251
1103
|
}), ({
|
|
1252
1104
|
__TYPE__: "ImageLink";
|
|
1253
1105
|
} & {
|
|
1254
|
-
kind:
|
|
1106
|
+
kind: "image";
|
|
1255
1107
|
id: string;
|
|
1256
1108
|
url: string;
|
|
1257
1109
|
height: string;
|
|
@@ -1263,7 +1115,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1263
1115
|
}) | ({
|
|
1264
1116
|
__TYPE__: "FileLink";
|
|
1265
1117
|
} & {
|
|
1266
|
-
kind:
|
|
1118
|
+
kind: "file";
|
|
1267
1119
|
id: string;
|
|
1268
1120
|
url: string;
|
|
1269
1121
|
name: string;
|
|
@@ -1322,7 +1174,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1322
1174
|
data: ({
|
|
1323
1175
|
__TYPE__: "ImageLink";
|
|
1324
1176
|
} & {
|
|
1325
|
-
kind:
|
|
1177
|
+
kind: "image";
|
|
1326
1178
|
id: string;
|
|
1327
1179
|
url: string;
|
|
1328
1180
|
height: string;
|
|
@@ -1334,7 +1186,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1334
1186
|
}) | ({
|
|
1335
1187
|
__TYPE__: "FileLink";
|
|
1336
1188
|
} & {
|
|
1337
|
-
kind:
|
|
1189
|
+
kind: "file";
|
|
1338
1190
|
id: string;
|
|
1339
1191
|
url: string;
|
|
1340
1192
|
name: string;
|
|
@@ -1372,7 +1224,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1372
1224
|
data: ({
|
|
1373
1225
|
__TYPE__: "ImageLink";
|
|
1374
1226
|
} & {
|
|
1375
|
-
kind:
|
|
1227
|
+
kind: "image";
|
|
1376
1228
|
id: string;
|
|
1377
1229
|
url: string;
|
|
1378
1230
|
height: string;
|
|
@@ -1384,7 +1236,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1384
1236
|
}) | ({
|
|
1385
1237
|
__TYPE__: "FileLink";
|
|
1386
1238
|
} & {
|
|
1387
|
-
kind:
|
|
1239
|
+
kind: "file";
|
|
1388
1240
|
id: string;
|
|
1389
1241
|
url: string;
|
|
1390
1242
|
name: string;
|
|
@@ -1426,80 +1278,6 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1426
1278
|
}>]>>]>>;
|
|
1427
1279
|
}>>, t.ExactC<t.TypeC<{
|
|
1428
1280
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1429
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1430
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1431
|
-
type: t.LiteralC<"Link">;
|
|
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
|
-
}>>>;
|
|
1503
1281
|
}>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>>;
|
|
1504
1282
|
}>>>;
|
|
1505
1283
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -1620,7 +1398,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1620
1398
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1621
1399
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1622
1400
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1623
|
-
kind: t.
|
|
1401
|
+
kind: t.Type<"image", "image", unknown>;
|
|
1624
1402
|
id: t.StringC;
|
|
1625
1403
|
url: t.StringC;
|
|
1626
1404
|
height: t.StringC;
|
|
@@ -1637,7 +1415,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1637
1415
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1638
1416
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1639
1417
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1640
|
-
kind: t.
|
|
1418
|
+
kind: t.Type<"file", "file", unknown>;
|
|
1641
1419
|
id: t.StringC;
|
|
1642
1420
|
url: t.StringC;
|
|
1643
1421
|
name: t.StringC;
|
|
@@ -1715,7 +1493,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1715
1493
|
linkTo: t.UnionC<[t.Type<({
|
|
1716
1494
|
__TYPE__: "ImageLink";
|
|
1717
1495
|
} & {
|
|
1718
|
-
kind:
|
|
1496
|
+
kind: "image";
|
|
1719
1497
|
id: string;
|
|
1720
1498
|
url: string;
|
|
1721
1499
|
height: string;
|
|
@@ -1727,7 +1505,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1727
1505
|
}) | ({
|
|
1728
1506
|
__TYPE__: "FileLink";
|
|
1729
1507
|
} & {
|
|
1730
|
-
kind:
|
|
1508
|
+
kind: "file";
|
|
1731
1509
|
id: string;
|
|
1732
1510
|
url: string;
|
|
1733
1511
|
name: string;
|
|
@@ -1751,7 +1529,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1751
1529
|
}), ({
|
|
1752
1530
|
__TYPE__: "ImageLink";
|
|
1753
1531
|
} & {
|
|
1754
|
-
kind:
|
|
1532
|
+
kind: "image";
|
|
1755
1533
|
id: string;
|
|
1756
1534
|
url: string;
|
|
1757
1535
|
height: string;
|
|
@@ -1763,7 +1541,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1763
1541
|
}) | ({
|
|
1764
1542
|
__TYPE__: "FileLink";
|
|
1765
1543
|
} & {
|
|
1766
|
-
kind:
|
|
1544
|
+
kind: "file";
|
|
1767
1545
|
id: string;
|
|
1768
1546
|
url: string;
|
|
1769
1547
|
name: string;
|
|
@@ -1822,7 +1600,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1822
1600
|
data: ({
|
|
1823
1601
|
__TYPE__: "ImageLink";
|
|
1824
1602
|
} & {
|
|
1825
|
-
kind:
|
|
1603
|
+
kind: "image";
|
|
1826
1604
|
id: string;
|
|
1827
1605
|
url: string;
|
|
1828
1606
|
height: string;
|
|
@@ -1834,7 +1612,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1834
1612
|
}) | ({
|
|
1835
1613
|
__TYPE__: "FileLink";
|
|
1836
1614
|
} & {
|
|
1837
|
-
kind:
|
|
1615
|
+
kind: "file";
|
|
1838
1616
|
id: string;
|
|
1839
1617
|
url: string;
|
|
1840
1618
|
name: string;
|
|
@@ -1872,7 +1650,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1872
1650
|
data: ({
|
|
1873
1651
|
__TYPE__: "ImageLink";
|
|
1874
1652
|
} & {
|
|
1875
|
-
kind:
|
|
1653
|
+
kind: "image";
|
|
1876
1654
|
id: string;
|
|
1877
1655
|
url: string;
|
|
1878
1656
|
height: string;
|
|
@@ -1884,7 +1662,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1884
1662
|
}) | ({
|
|
1885
1663
|
__TYPE__: "FileLink";
|
|
1886
1664
|
} & {
|
|
1887
|
-
kind:
|
|
1665
|
+
kind: "file";
|
|
1888
1666
|
id: string;
|
|
1889
1667
|
url: string;
|
|
1890
1668
|
name: string;
|
|
@@ -1926,80 +1704,6 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
1926
1704
|
}>]>>]>>;
|
|
1927
1705
|
}>>, t.ExactC<t.TypeC<{
|
|
1928
1706
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1929
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1930
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1931
|
-
type: t.LiteralC<"Link">;
|
|
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
|
-
}>>>;
|
|
2003
1707
|
}>>]>, t.Type<GroupContent, GroupContent, unknown>]>>;
|
|
2004
1708
|
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2005
1709
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -2118,7 +1822,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2118
1822
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2119
1823
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2120
1824
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2121
|
-
kind: t.
|
|
1825
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2122
1826
|
id: t.StringC;
|
|
2123
1827
|
url: t.StringC;
|
|
2124
1828
|
height: t.StringC;
|
|
@@ -2135,7 +1839,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2135
1839
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2136
1840
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2137
1841
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2138
|
-
kind: t.
|
|
1842
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2139
1843
|
id: t.StringC;
|
|
2140
1844
|
url: t.StringC;
|
|
2141
1845
|
name: t.StringC;
|
|
@@ -2213,7 +1917,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2213
1917
|
linkTo: t.UnionC<[t.Type<({
|
|
2214
1918
|
__TYPE__: "ImageLink";
|
|
2215
1919
|
} & {
|
|
2216
|
-
kind:
|
|
1920
|
+
kind: "image";
|
|
2217
1921
|
id: string;
|
|
2218
1922
|
url: string;
|
|
2219
1923
|
height: string;
|
|
@@ -2225,7 +1929,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2225
1929
|
}) | ({
|
|
2226
1930
|
__TYPE__: "FileLink";
|
|
2227
1931
|
} & {
|
|
2228
|
-
kind:
|
|
1932
|
+
kind: "file";
|
|
2229
1933
|
id: string;
|
|
2230
1934
|
url: string;
|
|
2231
1935
|
name: string;
|
|
@@ -2249,7 +1953,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2249
1953
|
}), ({
|
|
2250
1954
|
__TYPE__: "ImageLink";
|
|
2251
1955
|
} & {
|
|
2252
|
-
kind:
|
|
1956
|
+
kind: "image";
|
|
2253
1957
|
id: string;
|
|
2254
1958
|
url: string;
|
|
2255
1959
|
height: string;
|
|
@@ -2261,7 +1965,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2261
1965
|
}) | ({
|
|
2262
1966
|
__TYPE__: "FileLink";
|
|
2263
1967
|
} & {
|
|
2264
|
-
kind:
|
|
1968
|
+
kind: "file";
|
|
2265
1969
|
id: string;
|
|
2266
1970
|
url: string;
|
|
2267
1971
|
name: string;
|
|
@@ -2320,7 +2024,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2320
2024
|
data: ({
|
|
2321
2025
|
__TYPE__: "ImageLink";
|
|
2322
2026
|
} & {
|
|
2323
|
-
kind:
|
|
2027
|
+
kind: "image";
|
|
2324
2028
|
id: string;
|
|
2325
2029
|
url: string;
|
|
2326
2030
|
height: string;
|
|
@@ -2332,7 +2036,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2332
2036
|
}) | ({
|
|
2333
2037
|
__TYPE__: "FileLink";
|
|
2334
2038
|
} & {
|
|
2335
|
-
kind:
|
|
2039
|
+
kind: "file";
|
|
2336
2040
|
id: string;
|
|
2337
2041
|
url: string;
|
|
2338
2042
|
name: string;
|
|
@@ -2370,7 +2074,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2370
2074
|
data: ({
|
|
2371
2075
|
__TYPE__: "ImageLink";
|
|
2372
2076
|
} & {
|
|
2373
|
-
kind:
|
|
2077
|
+
kind: "image";
|
|
2374
2078
|
id: string;
|
|
2375
2079
|
url: string;
|
|
2376
2080
|
height: string;
|
|
@@ -2382,7 +2086,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2382
2086
|
}) | ({
|
|
2383
2087
|
__TYPE__: "FileLink";
|
|
2384
2088
|
} & {
|
|
2385
|
-
kind:
|
|
2089
|
+
kind: "file";
|
|
2386
2090
|
id: string;
|
|
2387
2091
|
url: string;
|
|
2388
2092
|
name: string;
|
|
@@ -2424,80 +2128,6 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2424
2128
|
}>]>>]>>;
|
|
2425
2129
|
}>>, t.ExactC<t.TypeC<{
|
|
2426
2130
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2427
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2428
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2429
|
-
type: t.LiteralC<"Link">;
|
|
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
|
-
}>>>;
|
|
2501
2131
|
}>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>>;
|
|
2502
2132
|
}>>>;
|
|
2503
2133
|
}>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -2615,7 +2245,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2615
2245
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2616
2246
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2617
2247
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2618
|
-
kind: t.
|
|
2248
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2619
2249
|
id: t.StringC;
|
|
2620
2250
|
url: t.StringC;
|
|
2621
2251
|
height: t.StringC;
|
|
@@ -2632,7 +2262,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2632
2262
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2633
2263
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2634
2264
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2635
|
-
kind: t.
|
|
2265
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2636
2266
|
id: t.StringC;
|
|
2637
2267
|
url: t.StringC;
|
|
2638
2268
|
name: t.StringC;
|
|
@@ -2710,7 +2340,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2710
2340
|
linkTo: t.UnionC<[t.Type<({
|
|
2711
2341
|
__TYPE__: "ImageLink";
|
|
2712
2342
|
} & {
|
|
2713
|
-
kind:
|
|
2343
|
+
kind: "image";
|
|
2714
2344
|
id: string;
|
|
2715
2345
|
url: string;
|
|
2716
2346
|
height: string;
|
|
@@ -2722,7 +2352,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2722
2352
|
}) | ({
|
|
2723
2353
|
__TYPE__: "FileLink";
|
|
2724
2354
|
} & {
|
|
2725
|
-
kind:
|
|
2355
|
+
kind: "file";
|
|
2726
2356
|
id: string;
|
|
2727
2357
|
url: string;
|
|
2728
2358
|
name: string;
|
|
@@ -2746,7 +2376,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2746
2376
|
}), ({
|
|
2747
2377
|
__TYPE__: "ImageLink";
|
|
2748
2378
|
} & {
|
|
2749
|
-
kind:
|
|
2379
|
+
kind: "image";
|
|
2750
2380
|
id: string;
|
|
2751
2381
|
url: string;
|
|
2752
2382
|
height: string;
|
|
@@ -2758,7 +2388,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2758
2388
|
}) | ({
|
|
2759
2389
|
__TYPE__: "FileLink";
|
|
2760
2390
|
} & {
|
|
2761
|
-
kind:
|
|
2391
|
+
kind: "file";
|
|
2762
2392
|
id: string;
|
|
2763
2393
|
url: string;
|
|
2764
2394
|
name: string;
|
|
@@ -2817,7 +2447,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2817
2447
|
data: ({
|
|
2818
2448
|
__TYPE__: "ImageLink";
|
|
2819
2449
|
} & {
|
|
2820
|
-
kind:
|
|
2450
|
+
kind: "image";
|
|
2821
2451
|
id: string;
|
|
2822
2452
|
url: string;
|
|
2823
2453
|
height: string;
|
|
@@ -2829,7 +2459,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2829
2459
|
}) | ({
|
|
2830
2460
|
__TYPE__: "FileLink";
|
|
2831
2461
|
} & {
|
|
2832
|
-
kind:
|
|
2462
|
+
kind: "file";
|
|
2833
2463
|
id: string;
|
|
2834
2464
|
url: string;
|
|
2835
2465
|
name: string;
|
|
@@ -2867,7 +2497,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2867
2497
|
data: ({
|
|
2868
2498
|
__TYPE__: "ImageLink";
|
|
2869
2499
|
} & {
|
|
2870
|
-
kind:
|
|
2500
|
+
kind: "image";
|
|
2871
2501
|
id: string;
|
|
2872
2502
|
url: string;
|
|
2873
2503
|
height: string;
|
|
@@ -2879,7 +2509,7 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2879
2509
|
}) | ({
|
|
2880
2510
|
__TYPE__: "FileLink";
|
|
2881
2511
|
} & {
|
|
2882
|
-
kind:
|
|
2512
|
+
kind: "file";
|
|
2883
2513
|
id: string;
|
|
2884
2514
|
url: string;
|
|
2885
2515
|
name: string;
|
|
@@ -2921,80 +2551,6 @@ export declare const WidgetContent: t.UnionC<[t.Type<GroupContent, GroupContent,
|
|
|
2921
2551
|
}>]>>]>>;
|
|
2922
2552
|
}>>, t.ExactC<t.TypeC<{
|
|
2923
2553
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2924
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2925
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2926
|
-
type: t.LiteralC<"Link">;
|
|
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
2554
|
}>>]>, t.Type<GroupContent, GroupContent, unknown>]>]>;
|
|
2999
2555
|
}>>;
|
|
3000
2556
|
}>]>;
|
|
@@ -3115,7 +2671,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3115
2671
|
value: ({
|
|
3116
2672
|
__TYPE__: "ImageLink";
|
|
3117
2673
|
} & (({
|
|
3118
|
-
kind:
|
|
2674
|
+
kind: "image";
|
|
3119
2675
|
id: string;
|
|
3120
2676
|
url: string;
|
|
3121
2677
|
height: string;
|
|
@@ -3132,7 +2688,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3132
2688
|
})) | ({
|
|
3133
2689
|
__TYPE__: "FileLink";
|
|
3134
2690
|
} & (({
|
|
3135
|
-
kind:
|
|
2691
|
+
kind: "file";
|
|
3136
2692
|
id: string;
|
|
3137
2693
|
url: string;
|
|
3138
2694
|
name: string;
|
|
@@ -3179,78 +2735,6 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3179
2735
|
text: string;
|
|
3180
2736
|
});
|
|
3181
2737
|
} | {
|
|
3182
|
-
__TYPE__: "RepeatableContent";
|
|
3183
|
-
type: "Link";
|
|
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 | {
|
|
3254
2738
|
__TYPE__: "StructuredTextContent";
|
|
3255
2739
|
value: (({
|
|
3256
2740
|
type: "image";
|
|
@@ -3280,7 +2764,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3280
2764
|
linkTo?: ({
|
|
3281
2765
|
__TYPE__: "ImageLink";
|
|
3282
2766
|
} & {
|
|
3283
|
-
kind:
|
|
2767
|
+
kind: "image";
|
|
3284
2768
|
id: string;
|
|
3285
2769
|
url: string;
|
|
3286
2770
|
height: string;
|
|
@@ -3292,7 +2776,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3292
2776
|
}) | ({
|
|
3293
2777
|
__TYPE__: "FileLink";
|
|
3294
2778
|
} & {
|
|
3295
|
-
kind:
|
|
2779
|
+
kind: "file";
|
|
3296
2780
|
id: string;
|
|
3297
2781
|
url: string;
|
|
3298
2782
|
name: string;
|
|
@@ -3351,7 +2835,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3351
2835
|
data: ({
|
|
3352
2836
|
__TYPE__: "ImageLink";
|
|
3353
2837
|
} & {
|
|
3354
|
-
kind:
|
|
2838
|
+
kind: "image";
|
|
3355
2839
|
id: string;
|
|
3356
2840
|
url: string;
|
|
3357
2841
|
height: string;
|
|
@@ -3363,7 +2847,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3363
2847
|
}) | ({
|
|
3364
2848
|
__TYPE__: "FileLink";
|
|
3365
2849
|
} & {
|
|
3366
|
-
kind:
|
|
2850
|
+
kind: "file";
|
|
3367
2851
|
id: string;
|
|
3368
2852
|
url: string;
|
|
3369
2853
|
name: string;
|
|
@@ -3405,7 +2889,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3405
2889
|
}))[];
|
|
3406
2890
|
} | {
|
|
3407
2891
|
__TYPE__: "SeparatorContent";
|
|
3408
|
-
} | {
|
|
2892
|
+
} | GroupContent | {
|
|
3409
2893
|
__TYPE__: "UIDContent";
|
|
3410
2894
|
value: string;
|
|
3411
2895
|
} | {
|
|
@@ -3531,7 +3015,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3531
3015
|
value: ({
|
|
3532
3016
|
__TYPE__: "ImageLink";
|
|
3533
3017
|
} & (({
|
|
3534
|
-
kind:
|
|
3018
|
+
kind: "image";
|
|
3535
3019
|
id: string;
|
|
3536
3020
|
url: string;
|
|
3537
3021
|
height: string;
|
|
@@ -3548,7 +3032,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3548
3032
|
})) | ({
|
|
3549
3033
|
__TYPE__: "FileLink";
|
|
3550
3034
|
} & (({
|
|
3551
|
-
kind:
|
|
3035
|
+
kind: "file";
|
|
3552
3036
|
id: string;
|
|
3553
3037
|
url: string;
|
|
3554
3038
|
name: string;
|
|
@@ -3595,78 +3079,6 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3595
3079
|
text: string;
|
|
3596
3080
|
});
|
|
3597
3081
|
} | {
|
|
3598
|
-
__TYPE__: "RepeatableContent";
|
|
3599
|
-
type: "Link";
|
|
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 | {
|
|
3670
3082
|
__TYPE__: "StructuredTextContent";
|
|
3671
3083
|
value: (({
|
|
3672
3084
|
type: "image";
|
|
@@ -3696,7 +3108,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3696
3108
|
linkTo?: ({
|
|
3697
3109
|
__TYPE__: "ImageLink";
|
|
3698
3110
|
} & {
|
|
3699
|
-
kind:
|
|
3111
|
+
kind: "image";
|
|
3700
3112
|
id: string;
|
|
3701
3113
|
url: string;
|
|
3702
3114
|
height: string;
|
|
@@ -3708,7 +3120,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3708
3120
|
}) | ({
|
|
3709
3121
|
__TYPE__: "FileLink";
|
|
3710
3122
|
} & {
|
|
3711
|
-
kind:
|
|
3123
|
+
kind: "file";
|
|
3712
3124
|
id: string;
|
|
3713
3125
|
url: string;
|
|
3714
3126
|
name: string;
|
|
@@ -3767,7 +3179,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3767
3179
|
data: ({
|
|
3768
3180
|
__TYPE__: "ImageLink";
|
|
3769
3181
|
} & {
|
|
3770
|
-
kind:
|
|
3182
|
+
kind: "image";
|
|
3771
3183
|
id: string;
|
|
3772
3184
|
url: string;
|
|
3773
3185
|
height: string;
|
|
@@ -3779,7 +3191,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3779
3191
|
}) | ({
|
|
3780
3192
|
__TYPE__: "FileLink";
|
|
3781
3193
|
} & {
|
|
3782
|
-
kind:
|
|
3194
|
+
kind: "file";
|
|
3783
3195
|
id: string;
|
|
3784
3196
|
url: string;
|
|
3785
3197
|
name: string;
|
|
@@ -3821,7 +3233,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3821
3233
|
}))[];
|
|
3822
3234
|
} | {
|
|
3823
3235
|
__TYPE__: "SeparatorContent";
|
|
3824
|
-
} | {
|
|
3236
|
+
} | GroupContent | {
|
|
3825
3237
|
__TYPE__: "CompositeSliceContent";
|
|
3826
3238
|
nonRepeat: {
|
|
3827
3239
|
[x: string]: {
|
|
@@ -3941,7 +3353,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3941
3353
|
value: ({
|
|
3942
3354
|
__TYPE__: "ImageLink";
|
|
3943
3355
|
} & (({
|
|
3944
|
-
kind:
|
|
3356
|
+
kind: "image";
|
|
3945
3357
|
id: string;
|
|
3946
3358
|
url: string;
|
|
3947
3359
|
height: string;
|
|
@@ -3958,7 +3370,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3958
3370
|
})) | ({
|
|
3959
3371
|
__TYPE__: "FileLink";
|
|
3960
3372
|
} & (({
|
|
3961
|
-
kind:
|
|
3373
|
+
kind: "file";
|
|
3962
3374
|
id: string;
|
|
3963
3375
|
url: string;
|
|
3964
3376
|
name: string;
|
|
@@ -4004,78 +3416,6 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4004
3416
|
} & {
|
|
4005
3417
|
text: string;
|
|
4006
3418
|
});
|
|
4007
|
-
} | {
|
|
4008
|
-
__TYPE__: "RepeatableContent";
|
|
4009
|
-
type: "Link";
|
|
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
|
-
}[];
|
|
4079
3419
|
} | {
|
|
4080
3420
|
__TYPE__: "StructuredTextContent";
|
|
4081
3421
|
value: (({
|
|
@@ -4106,7 +3446,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4106
3446
|
linkTo?: ({
|
|
4107
3447
|
__TYPE__: "ImageLink";
|
|
4108
3448
|
} & {
|
|
4109
|
-
kind:
|
|
3449
|
+
kind: "image";
|
|
4110
3450
|
id: string;
|
|
4111
3451
|
url: string;
|
|
4112
3452
|
height: string;
|
|
@@ -4118,7 +3458,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4118
3458
|
}) | ({
|
|
4119
3459
|
__TYPE__: "FileLink";
|
|
4120
3460
|
} & {
|
|
4121
|
-
kind:
|
|
3461
|
+
kind: "file";
|
|
4122
3462
|
id: string;
|
|
4123
3463
|
url: string;
|
|
4124
3464
|
name: string;
|
|
@@ -4177,7 +3517,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4177
3517
|
data: ({
|
|
4178
3518
|
__TYPE__: "ImageLink";
|
|
4179
3519
|
} & {
|
|
4180
|
-
kind:
|
|
3520
|
+
kind: "image";
|
|
4181
3521
|
id: string;
|
|
4182
3522
|
url: string;
|
|
4183
3523
|
height: string;
|
|
@@ -4189,7 +3529,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4189
3529
|
}) | ({
|
|
4190
3530
|
__TYPE__: "FileLink";
|
|
4191
3531
|
} & {
|
|
4192
|
-
kind:
|
|
3532
|
+
kind: "file";
|
|
4193
3533
|
id: string;
|
|
4194
3534
|
url: string;
|
|
4195
3535
|
name: string;
|
|
@@ -4352,7 +3692,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4352
3692
|
value: ({
|
|
4353
3693
|
__TYPE__: "ImageLink";
|
|
4354
3694
|
} & (({
|
|
4355
|
-
kind:
|
|
3695
|
+
kind: "image";
|
|
4356
3696
|
id: string;
|
|
4357
3697
|
url: string;
|
|
4358
3698
|
height: string;
|
|
@@ -4369,125 +3709,53 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4369
3709
|
})) | ({
|
|
4370
3710
|
__TYPE__: "FileLink";
|
|
4371
3711
|
} & (({
|
|
4372
|
-
kind: string;
|
|
4373
|
-
id: string;
|
|
4374
|
-
url: string;
|
|
4375
|
-
name: string;
|
|
4376
|
-
size: string;
|
|
4377
|
-
} & {
|
|
4378
|
-
date?: string | null | undefined;
|
|
4379
|
-
} & {
|
|
4380
|
-
text?: string;
|
|
4381
|
-
}) | {
|
|
4382
3712
|
kind: "file";
|
|
4383
|
-
text: string;
|
|
4384
|
-
})) | ({
|
|
4385
|
-
__TYPE__: "MediaLink";
|
|
4386
|
-
} & {
|
|
4387
|
-
kind: "media";
|
|
4388
|
-
text: string;
|
|
4389
|
-
}) | ({
|
|
4390
|
-
__TYPE__: "DocumentLink";
|
|
4391
|
-
} & (({
|
|
4392
3713
|
id: string;
|
|
4393
|
-
} & {
|
|
4394
|
-
text?: string;
|
|
4395
|
-
}) | {
|
|
4396
|
-
kind: "document";
|
|
4397
|
-
text: string;
|
|
4398
|
-
})) | ({
|
|
4399
|
-
__TYPE__: "ExternalLink";
|
|
4400
|
-
} & (({
|
|
4401
3714
|
url: string;
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
}
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
}
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
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 | {
|
|
3715
|
+
name: string;
|
|
3716
|
+
size: string;
|
|
3717
|
+
} & {
|
|
3718
|
+
date?: string | null | undefined;
|
|
3719
|
+
} & {
|
|
3720
|
+
text?: string;
|
|
3721
|
+
}) | {
|
|
3722
|
+
kind: "file";
|
|
3723
|
+
text: string;
|
|
3724
|
+
})) | ({
|
|
3725
|
+
__TYPE__: "MediaLink";
|
|
3726
|
+
} & {
|
|
3727
|
+
kind: "media";
|
|
3728
|
+
text: string;
|
|
3729
|
+
}) | ({
|
|
3730
|
+
__TYPE__: "DocumentLink";
|
|
3731
|
+
} & (({
|
|
3732
|
+
id: string;
|
|
3733
|
+
} & {
|
|
3734
|
+
text?: string;
|
|
3735
|
+
}) | {
|
|
3736
|
+
kind: "document";
|
|
3737
|
+
text: string;
|
|
3738
|
+
})) | ({
|
|
3739
|
+
__TYPE__: "ExternalLink";
|
|
3740
|
+
} & (({
|
|
3741
|
+
url: string;
|
|
3742
|
+
} & {
|
|
3743
|
+
kind?: "web";
|
|
3744
|
+
target?: string | null | undefined;
|
|
3745
|
+
preview?: {
|
|
3746
|
+
title?: string;
|
|
3747
|
+
} | null | undefined;
|
|
3748
|
+
} & {
|
|
3749
|
+
text?: string;
|
|
3750
|
+
}) | {
|
|
3751
|
+
kind: "web";
|
|
3752
|
+
text: string;
|
|
3753
|
+
})) | ({
|
|
3754
|
+
__TYPE__: "AnyLink";
|
|
3755
|
+
} & {
|
|
3756
|
+
text: string;
|
|
3757
|
+
});
|
|
3758
|
+
} | {
|
|
4491
3759
|
__TYPE__: "StructuredTextContent";
|
|
4492
3760
|
value: (({
|
|
4493
3761
|
type: "image";
|
|
@@ -4517,7 +3785,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4517
3785
|
linkTo?: ({
|
|
4518
3786
|
__TYPE__: "ImageLink";
|
|
4519
3787
|
} & {
|
|
4520
|
-
kind:
|
|
3788
|
+
kind: "image";
|
|
4521
3789
|
id: string;
|
|
4522
3790
|
url: string;
|
|
4523
3791
|
height: string;
|
|
@@ -4529,7 +3797,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4529
3797
|
}) | ({
|
|
4530
3798
|
__TYPE__: "FileLink";
|
|
4531
3799
|
} & {
|
|
4532
|
-
kind:
|
|
3800
|
+
kind: "file";
|
|
4533
3801
|
id: string;
|
|
4534
3802
|
url: string;
|
|
4535
3803
|
name: string;
|
|
@@ -4588,7 +3856,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4588
3856
|
data: ({
|
|
4589
3857
|
__TYPE__: "ImageLink";
|
|
4590
3858
|
} & {
|
|
4591
|
-
kind:
|
|
3859
|
+
kind: "image";
|
|
4592
3860
|
id: string;
|
|
4593
3861
|
url: string;
|
|
4594
3862
|
height: string;
|
|
@@ -4600,7 +3868,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4600
3868
|
}) | ({
|
|
4601
3869
|
__TYPE__: "FileLink";
|
|
4602
3870
|
} & {
|
|
4603
|
-
kind:
|
|
3871
|
+
kind: "file";
|
|
4604
3872
|
id: string;
|
|
4605
3873
|
url: string;
|
|
4606
3874
|
name: string;
|
|
@@ -4642,7 +3910,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4642
3910
|
}))[];
|
|
4643
3911
|
} | {
|
|
4644
3912
|
__TYPE__: "SeparatorContent";
|
|
4645
|
-
}][];
|
|
3913
|
+
} | GroupContent][];
|
|
4646
3914
|
}[];
|
|
4647
3915
|
} | {
|
|
4648
3916
|
__TYPE__: "SharedSliceContent";
|
|
@@ -4765,7 +4033,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4765
4033
|
value: ({
|
|
4766
4034
|
__TYPE__: "ImageLink";
|
|
4767
4035
|
} & (({
|
|
4768
|
-
kind:
|
|
4036
|
+
kind: "image";
|
|
4769
4037
|
id: string;
|
|
4770
4038
|
url: string;
|
|
4771
4039
|
height: string;
|
|
@@ -4782,7 +4050,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4782
4050
|
})) | ({
|
|
4783
4051
|
__TYPE__: "FileLink";
|
|
4784
4052
|
} & (({
|
|
4785
|
-
kind:
|
|
4053
|
+
kind: "file";
|
|
4786
4054
|
id: string;
|
|
4787
4055
|
url: string;
|
|
4788
4056
|
name: string;
|
|
@@ -4829,78 +4097,6 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4829
4097
|
text: string;
|
|
4830
4098
|
});
|
|
4831
4099
|
} | {
|
|
4832
|
-
__TYPE__: "RepeatableContent";
|
|
4833
|
-
type: "Link";
|
|
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 | {
|
|
4904
4100
|
__TYPE__: "StructuredTextContent";
|
|
4905
4101
|
value: (({
|
|
4906
4102
|
type: "image";
|
|
@@ -4930,7 +4126,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4930
4126
|
linkTo?: ({
|
|
4931
4127
|
__TYPE__: "ImageLink";
|
|
4932
4128
|
} & {
|
|
4933
|
-
kind:
|
|
4129
|
+
kind: "image";
|
|
4934
4130
|
id: string;
|
|
4935
4131
|
url: string;
|
|
4936
4132
|
height: string;
|
|
@@ -4942,7 +4138,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4942
4138
|
}) | ({
|
|
4943
4139
|
__TYPE__: "FileLink";
|
|
4944
4140
|
} & {
|
|
4945
|
-
kind:
|
|
4141
|
+
kind: "file";
|
|
4946
4142
|
id: string;
|
|
4947
4143
|
url: string;
|
|
4948
4144
|
name: string;
|
|
@@ -5001,7 +4197,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5001
4197
|
data: ({
|
|
5002
4198
|
__TYPE__: "ImageLink";
|
|
5003
4199
|
} & {
|
|
5004
|
-
kind:
|
|
4200
|
+
kind: "image";
|
|
5005
4201
|
id: string;
|
|
5006
4202
|
url: string;
|
|
5007
4203
|
height: string;
|
|
@@ -5013,7 +4209,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5013
4209
|
}) | ({
|
|
5014
4210
|
__TYPE__: "FileLink";
|
|
5015
4211
|
} & {
|
|
5016
|
-
kind:
|
|
4212
|
+
kind: "file";
|
|
5017
4213
|
id: string;
|
|
5018
4214
|
url: string;
|
|
5019
4215
|
name: string;
|
|
@@ -5055,7 +4251,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5055
4251
|
}))[];
|
|
5056
4252
|
} | {
|
|
5057
4253
|
__TYPE__: "SeparatorContent";
|
|
5058
|
-
};
|
|
4254
|
+
} | GroupContent;
|
|
5059
4255
|
};
|
|
5060
4256
|
items: {
|
|
5061
4257
|
__TYPE__: "GroupItemContent";
|
|
@@ -5176,7 +4372,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5176
4372
|
value: ({
|
|
5177
4373
|
__TYPE__: "ImageLink";
|
|
5178
4374
|
} & (({
|
|
5179
|
-
kind:
|
|
4375
|
+
kind: "image";
|
|
5180
4376
|
id: string;
|
|
5181
4377
|
url: string;
|
|
5182
4378
|
height: string;
|
|
@@ -5193,7 +4389,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5193
4389
|
})) | ({
|
|
5194
4390
|
__TYPE__: "FileLink";
|
|
5195
4391
|
} & (({
|
|
5196
|
-
kind:
|
|
4392
|
+
kind: "file";
|
|
5197
4393
|
id: string;
|
|
5198
4394
|
url: string;
|
|
5199
4395
|
name: string;
|
|
@@ -5240,78 +4436,6 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5240
4436
|
text: string;
|
|
5241
4437
|
});
|
|
5242
4438
|
} | {
|
|
5243
|
-
__TYPE__: "RepeatableContent";
|
|
5244
|
-
type: "Link";
|
|
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 | {
|
|
5315
4439
|
__TYPE__: "StructuredTextContent";
|
|
5316
4440
|
value: (({
|
|
5317
4441
|
type: "image";
|
|
@@ -5341,7 +4465,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5341
4465
|
linkTo?: ({
|
|
5342
4466
|
__TYPE__: "ImageLink";
|
|
5343
4467
|
} & {
|
|
5344
|
-
kind:
|
|
4468
|
+
kind: "image";
|
|
5345
4469
|
id: string;
|
|
5346
4470
|
url: string;
|
|
5347
4471
|
height: string;
|
|
@@ -5353,7 +4477,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5353
4477
|
}) | ({
|
|
5354
4478
|
__TYPE__: "FileLink";
|
|
5355
4479
|
} & {
|
|
5356
|
-
kind:
|
|
4480
|
+
kind: "file";
|
|
5357
4481
|
id: string;
|
|
5358
4482
|
url: string;
|
|
5359
4483
|
name: string;
|
|
@@ -5412,7 +4536,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5412
4536
|
data: ({
|
|
5413
4537
|
__TYPE__: "ImageLink";
|
|
5414
4538
|
} & {
|
|
5415
|
-
kind:
|
|
4539
|
+
kind: "image";
|
|
5416
4540
|
id: string;
|
|
5417
4541
|
url: string;
|
|
5418
4542
|
height: string;
|
|
@@ -5424,7 +4548,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5424
4548
|
}) | ({
|
|
5425
4549
|
__TYPE__: "FileLink";
|
|
5426
4550
|
} & {
|
|
5427
|
-
kind:
|
|
4551
|
+
kind: "file";
|
|
5428
4552
|
id: string;
|
|
5429
4553
|
url: string;
|
|
5430
4554
|
name: string;
|
|
@@ -5466,7 +4590,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5466
4590
|
}))[];
|
|
5467
4591
|
} | {
|
|
5468
4592
|
__TYPE__: "SeparatorContent";
|
|
5469
|
-
}][];
|
|
4593
|
+
} | GroupContent][];
|
|
5470
4594
|
}[];
|
|
5471
4595
|
};
|
|
5472
4596
|
}[];
|
|
@@ -5591,7 +4715,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5591
4715
|
value: ({
|
|
5592
4716
|
__TYPE__: "ImageLink";
|
|
5593
4717
|
} & (({
|
|
5594
|
-
kind:
|
|
4718
|
+
kind: "image";
|
|
5595
4719
|
id: string;
|
|
5596
4720
|
url: string;
|
|
5597
4721
|
height: string;
|
|
@@ -5608,7 +4732,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5608
4732
|
})) | ({
|
|
5609
4733
|
__TYPE__: "FileLink";
|
|
5610
4734
|
} & (({
|
|
5611
|
-
kind:
|
|
4735
|
+
kind: "file";
|
|
5612
4736
|
id: string;
|
|
5613
4737
|
url: string;
|
|
5614
4738
|
name: string;
|
|
@@ -5654,78 +4778,6 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5654
4778
|
} & {
|
|
5655
4779
|
text: string;
|
|
5656
4780
|
});
|
|
5657
|
-
}> | import("fp-ts/lib/Either").Right<{
|
|
5658
|
-
__TYPE__: "RepeatableContent";
|
|
5659
|
-
type: "Link";
|
|
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
|
-
}[];
|
|
5729
4781
|
}> | import("fp-ts/lib/Either").Right<{
|
|
5730
4782
|
__TYPE__: "StructuredTextContent";
|
|
5731
4783
|
value: (({
|
|
@@ -5756,7 +4808,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5756
4808
|
linkTo?: ({
|
|
5757
4809
|
__TYPE__: "ImageLink";
|
|
5758
4810
|
} & {
|
|
5759
|
-
kind:
|
|
4811
|
+
kind: "image";
|
|
5760
4812
|
id: string;
|
|
5761
4813
|
url: string;
|
|
5762
4814
|
height: string;
|
|
@@ -5768,7 +4820,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5768
4820
|
}) | ({
|
|
5769
4821
|
__TYPE__: "FileLink";
|
|
5770
4822
|
} & {
|
|
5771
|
-
kind:
|
|
4823
|
+
kind: "file";
|
|
5772
4824
|
id: string;
|
|
5773
4825
|
url: string;
|
|
5774
4826
|
name: string;
|
|
@@ -5827,7 +4879,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5827
4879
|
data: ({
|
|
5828
4880
|
__TYPE__: "ImageLink";
|
|
5829
4881
|
} & {
|
|
5830
|
-
kind:
|
|
4882
|
+
kind: "image";
|
|
5831
4883
|
id: string;
|
|
5832
4884
|
url: string;
|
|
5833
4885
|
height: string;
|
|
@@ -5839,7 +4891,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5839
4891
|
}) | ({
|
|
5840
4892
|
__TYPE__: "FileLink";
|
|
5841
4893
|
} & {
|
|
5842
|
-
kind:
|
|
4894
|
+
kind: "file";
|
|
5843
4895
|
id: string;
|
|
5844
4896
|
url: string;
|
|
5845
4897
|
name: string;
|
|
@@ -5881,7 +4933,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5881
4933
|
}))[];
|
|
5882
4934
|
}> | import("fp-ts/lib/Either").Right<{
|
|
5883
4935
|
__TYPE__: "SeparatorContent";
|
|
5884
|
-
}> | import("fp-ts/lib/Either").Right<{
|
|
4936
|
+
}> | import("fp-ts/lib/Either").Right<GroupContent> | import("fp-ts/lib/Either").Right<{
|
|
5885
4937
|
__TYPE__: "UIDContent";
|
|
5886
4938
|
value: string;
|
|
5887
4939
|
}> | import("fp-ts/lib/Either").Right<{
|
|
@@ -6007,7 +5059,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6007
5059
|
value: ({
|
|
6008
5060
|
__TYPE__: "ImageLink";
|
|
6009
5061
|
} & (({
|
|
6010
|
-
kind:
|
|
5062
|
+
kind: "image";
|
|
6011
5063
|
id: string;
|
|
6012
5064
|
url: string;
|
|
6013
5065
|
height: string;
|
|
@@ -6024,7 +5076,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6024
5076
|
})) | ({
|
|
6025
5077
|
__TYPE__: "FileLink";
|
|
6026
5078
|
} & (({
|
|
6027
|
-
kind:
|
|
5079
|
+
kind: "file";
|
|
6028
5080
|
id: string;
|
|
6029
5081
|
url: string;
|
|
6030
5082
|
name: string;
|
|
@@ -6071,78 +5123,6 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6071
5123
|
text: string;
|
|
6072
5124
|
});
|
|
6073
5125
|
} | {
|
|
6074
|
-
__TYPE__: "RepeatableContent";
|
|
6075
|
-
type: "Link";
|
|
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 | {
|
|
6146
5126
|
__TYPE__: "StructuredTextContent";
|
|
6147
5127
|
value: (({
|
|
6148
5128
|
type: "image";
|
|
@@ -6172,7 +5152,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6172
5152
|
linkTo?: ({
|
|
6173
5153
|
__TYPE__: "ImageLink";
|
|
6174
5154
|
} & {
|
|
6175
|
-
kind:
|
|
5155
|
+
kind: "image";
|
|
6176
5156
|
id: string;
|
|
6177
5157
|
url: string;
|
|
6178
5158
|
height: string;
|
|
@@ -6184,7 +5164,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6184
5164
|
}) | ({
|
|
6185
5165
|
__TYPE__: "FileLink";
|
|
6186
5166
|
} & {
|
|
6187
|
-
kind:
|
|
5167
|
+
kind: "file";
|
|
6188
5168
|
id: string;
|
|
6189
5169
|
url: string;
|
|
6190
5170
|
name: string;
|
|
@@ -6243,7 +5223,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6243
5223
|
data: ({
|
|
6244
5224
|
__TYPE__: "ImageLink";
|
|
6245
5225
|
} & {
|
|
6246
|
-
kind:
|
|
5226
|
+
kind: "image";
|
|
6247
5227
|
id: string;
|
|
6248
5228
|
url: string;
|
|
6249
5229
|
height: string;
|
|
@@ -6255,7 +5235,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6255
5235
|
}) | ({
|
|
6256
5236
|
__TYPE__: "FileLink";
|
|
6257
5237
|
} & {
|
|
6258
|
-
kind:
|
|
5238
|
+
kind: "file";
|
|
6259
5239
|
id: string;
|
|
6260
5240
|
url: string;
|
|
6261
5241
|
name: string;
|
|
@@ -6297,7 +5277,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6297
5277
|
}))[];
|
|
6298
5278
|
} | {
|
|
6299
5279
|
__TYPE__: "SeparatorContent";
|
|
6300
|
-
} | {
|
|
5280
|
+
} | GroupContent | {
|
|
6301
5281
|
__TYPE__: "CompositeSliceContent";
|
|
6302
5282
|
nonRepeat: {
|
|
6303
5283
|
[x: string]: {
|
|
@@ -6417,7 +5397,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6417
5397
|
value: ({
|
|
6418
5398
|
__TYPE__: "ImageLink";
|
|
6419
5399
|
} & (({
|
|
6420
|
-
kind:
|
|
5400
|
+
kind: "image";
|
|
6421
5401
|
id: string;
|
|
6422
5402
|
url: string;
|
|
6423
5403
|
height: string;
|
|
@@ -6434,7 +5414,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6434
5414
|
})) | ({
|
|
6435
5415
|
__TYPE__: "FileLink";
|
|
6436
5416
|
} & (({
|
|
6437
|
-
kind:
|
|
5417
|
+
kind: "file";
|
|
6438
5418
|
id: string;
|
|
6439
5419
|
url: string;
|
|
6440
5420
|
name: string;
|
|
@@ -6480,78 +5460,6 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6480
5460
|
} & {
|
|
6481
5461
|
text: string;
|
|
6482
5462
|
});
|
|
6483
|
-
} | {
|
|
6484
|
-
__TYPE__: "RepeatableContent";
|
|
6485
|
-
type: "Link";
|
|
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
|
-
}[];
|
|
6555
5463
|
} | {
|
|
6556
5464
|
__TYPE__: "StructuredTextContent";
|
|
6557
5465
|
value: (({
|
|
@@ -6582,7 +5490,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6582
5490
|
linkTo?: ({
|
|
6583
5491
|
__TYPE__: "ImageLink";
|
|
6584
5492
|
} & {
|
|
6585
|
-
kind:
|
|
5493
|
+
kind: "image";
|
|
6586
5494
|
id: string;
|
|
6587
5495
|
url: string;
|
|
6588
5496
|
height: string;
|
|
@@ -6594,7 +5502,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6594
5502
|
}) | ({
|
|
6595
5503
|
__TYPE__: "FileLink";
|
|
6596
5504
|
} & {
|
|
6597
|
-
kind:
|
|
5505
|
+
kind: "file";
|
|
6598
5506
|
id: string;
|
|
6599
5507
|
url: string;
|
|
6600
5508
|
name: string;
|
|
@@ -6653,7 +5561,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6653
5561
|
data: ({
|
|
6654
5562
|
__TYPE__: "ImageLink";
|
|
6655
5563
|
} & {
|
|
6656
|
-
kind:
|
|
5564
|
+
kind: "image";
|
|
6657
5565
|
id: string;
|
|
6658
5566
|
url: string;
|
|
6659
5567
|
height: string;
|
|
@@ -6665,7 +5573,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6665
5573
|
}) | ({
|
|
6666
5574
|
__TYPE__: "FileLink";
|
|
6667
5575
|
} & {
|
|
6668
|
-
kind:
|
|
5576
|
+
kind: "file";
|
|
6669
5577
|
id: string;
|
|
6670
5578
|
url: string;
|
|
6671
5579
|
name: string;
|
|
@@ -6828,7 +5736,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6828
5736
|
value: ({
|
|
6829
5737
|
__TYPE__: "ImageLink";
|
|
6830
5738
|
} & (({
|
|
6831
|
-
kind:
|
|
5739
|
+
kind: "image";
|
|
6832
5740
|
id: string;
|
|
6833
5741
|
url: string;
|
|
6834
5742
|
height: string;
|
|
@@ -6845,7 +5753,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6845
5753
|
})) | ({
|
|
6846
5754
|
__TYPE__: "FileLink";
|
|
6847
5755
|
} & (({
|
|
6848
|
-
kind:
|
|
5756
|
+
kind: "file";
|
|
6849
5757
|
id: string;
|
|
6850
5758
|
url: string;
|
|
6851
5759
|
name: string;
|
|
@@ -6892,78 +5800,6 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6892
5800
|
text: string;
|
|
6893
5801
|
});
|
|
6894
5802
|
} | {
|
|
6895
|
-
__TYPE__: "RepeatableContent";
|
|
6896
|
-
type: "Link";
|
|
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 | {
|
|
6967
5803
|
__TYPE__: "StructuredTextContent";
|
|
6968
5804
|
value: (({
|
|
6969
5805
|
type: "image";
|
|
@@ -6993,7 +5829,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6993
5829
|
linkTo?: ({
|
|
6994
5830
|
__TYPE__: "ImageLink";
|
|
6995
5831
|
} & {
|
|
6996
|
-
kind:
|
|
5832
|
+
kind: "image";
|
|
6997
5833
|
id: string;
|
|
6998
5834
|
url: string;
|
|
6999
5835
|
height: string;
|
|
@@ -7005,7 +5841,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7005
5841
|
}) | ({
|
|
7006
5842
|
__TYPE__: "FileLink";
|
|
7007
5843
|
} & {
|
|
7008
|
-
kind:
|
|
5844
|
+
kind: "file";
|
|
7009
5845
|
id: string;
|
|
7010
5846
|
url: string;
|
|
7011
5847
|
name: string;
|
|
@@ -7064,7 +5900,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7064
5900
|
data: ({
|
|
7065
5901
|
__TYPE__: "ImageLink";
|
|
7066
5902
|
} & {
|
|
7067
|
-
kind:
|
|
5903
|
+
kind: "image";
|
|
7068
5904
|
id: string;
|
|
7069
5905
|
url: string;
|
|
7070
5906
|
height: string;
|
|
@@ -7076,7 +5912,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7076
5912
|
}) | ({
|
|
7077
5913
|
__TYPE__: "FileLink";
|
|
7078
5914
|
} & {
|
|
7079
|
-
kind:
|
|
5915
|
+
kind: "file";
|
|
7080
5916
|
id: string;
|
|
7081
5917
|
url: string;
|
|
7082
5918
|
name: string;
|
|
@@ -7118,7 +5954,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7118
5954
|
}))[];
|
|
7119
5955
|
} | {
|
|
7120
5956
|
__TYPE__: "SeparatorContent";
|
|
7121
|
-
}][];
|
|
5957
|
+
} | GroupContent][];
|
|
7122
5958
|
}[];
|
|
7123
5959
|
} | {
|
|
7124
5960
|
__TYPE__: "SharedSliceContent";
|
|
@@ -7241,7 +6077,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7241
6077
|
value: ({
|
|
7242
6078
|
__TYPE__: "ImageLink";
|
|
7243
6079
|
} & (({
|
|
7244
|
-
kind:
|
|
6080
|
+
kind: "image";
|
|
7245
6081
|
id: string;
|
|
7246
6082
|
url: string;
|
|
7247
6083
|
height: string;
|
|
@@ -7258,7 +6094,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7258
6094
|
})) | ({
|
|
7259
6095
|
__TYPE__: "FileLink";
|
|
7260
6096
|
} & (({
|
|
7261
|
-
kind:
|
|
6097
|
+
kind: "file";
|
|
7262
6098
|
id: string;
|
|
7263
6099
|
url: string;
|
|
7264
6100
|
name: string;
|
|
@@ -7305,78 +6141,6 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7305
6141
|
text: string;
|
|
7306
6142
|
});
|
|
7307
6143
|
} | {
|
|
7308
|
-
__TYPE__: "RepeatableContent";
|
|
7309
|
-
type: "Link";
|
|
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 | {
|
|
7380
6144
|
__TYPE__: "StructuredTextContent";
|
|
7381
6145
|
value: (({
|
|
7382
6146
|
type: "image";
|
|
@@ -7406,7 +6170,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7406
6170
|
linkTo?: ({
|
|
7407
6171
|
__TYPE__: "ImageLink";
|
|
7408
6172
|
} & {
|
|
7409
|
-
kind:
|
|
6173
|
+
kind: "image";
|
|
7410
6174
|
id: string;
|
|
7411
6175
|
url: string;
|
|
7412
6176
|
height: string;
|
|
@@ -7418,7 +6182,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7418
6182
|
}) | ({
|
|
7419
6183
|
__TYPE__: "FileLink";
|
|
7420
6184
|
} & {
|
|
7421
|
-
kind:
|
|
6185
|
+
kind: "file";
|
|
7422
6186
|
id: string;
|
|
7423
6187
|
url: string;
|
|
7424
6188
|
name: string;
|
|
@@ -7477,7 +6241,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7477
6241
|
data: ({
|
|
7478
6242
|
__TYPE__: "ImageLink";
|
|
7479
6243
|
} & {
|
|
7480
|
-
kind:
|
|
6244
|
+
kind: "image";
|
|
7481
6245
|
id: string;
|
|
7482
6246
|
url: string;
|
|
7483
6247
|
height: string;
|
|
@@ -7489,7 +6253,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7489
6253
|
}) | ({
|
|
7490
6254
|
__TYPE__: "FileLink";
|
|
7491
6255
|
} & {
|
|
7492
|
-
kind:
|
|
6256
|
+
kind: "file";
|
|
7493
6257
|
id: string;
|
|
7494
6258
|
url: string;
|
|
7495
6259
|
name: string;
|
|
@@ -7531,7 +6295,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7531
6295
|
}))[];
|
|
7532
6296
|
} | {
|
|
7533
6297
|
__TYPE__: "SeparatorContent";
|
|
7534
|
-
};
|
|
6298
|
+
} | GroupContent;
|
|
7535
6299
|
};
|
|
7536
6300
|
items: {
|
|
7537
6301
|
__TYPE__: "GroupItemContent";
|
|
@@ -7652,7 +6416,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7652
6416
|
value: ({
|
|
7653
6417
|
__TYPE__: "ImageLink";
|
|
7654
6418
|
} & (({
|
|
7655
|
-
kind:
|
|
6419
|
+
kind: "image";
|
|
7656
6420
|
id: string;
|
|
7657
6421
|
url: string;
|
|
7658
6422
|
height: string;
|
|
@@ -7669,7 +6433,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7669
6433
|
})) | ({
|
|
7670
6434
|
__TYPE__: "FileLink";
|
|
7671
6435
|
} & (({
|
|
7672
|
-
kind:
|
|
6436
|
+
kind: "file";
|
|
7673
6437
|
id: string;
|
|
7674
6438
|
url: string;
|
|
7675
6439
|
name: string;
|
|
@@ -7716,78 +6480,6 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7716
6480
|
text: string;
|
|
7717
6481
|
});
|
|
7718
6482
|
} | {
|
|
7719
|
-
__TYPE__: "RepeatableContent";
|
|
7720
|
-
type: "Link";
|
|
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 | {
|
|
7791
6483
|
__TYPE__: "StructuredTextContent";
|
|
7792
6484
|
value: (({
|
|
7793
6485
|
type: "image";
|
|
@@ -7817,7 +6509,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7817
6509
|
linkTo?: ({
|
|
7818
6510
|
__TYPE__: "ImageLink";
|
|
7819
6511
|
} & {
|
|
7820
|
-
kind:
|
|
6512
|
+
kind: "image";
|
|
7821
6513
|
id: string;
|
|
7822
6514
|
url: string;
|
|
7823
6515
|
height: string;
|
|
@@ -7829,7 +6521,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7829
6521
|
}) | ({
|
|
7830
6522
|
__TYPE__: "FileLink";
|
|
7831
6523
|
} & {
|
|
7832
|
-
kind:
|
|
6524
|
+
kind: "file";
|
|
7833
6525
|
id: string;
|
|
7834
6526
|
url: string;
|
|
7835
6527
|
name: string;
|
|
@@ -7888,7 +6580,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7888
6580
|
data: ({
|
|
7889
6581
|
__TYPE__: "ImageLink";
|
|
7890
6582
|
} & {
|
|
7891
|
-
kind:
|
|
6583
|
+
kind: "image";
|
|
7892
6584
|
id: string;
|
|
7893
6585
|
url: string;
|
|
7894
6586
|
height: string;
|
|
@@ -7900,7 +6592,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7900
6592
|
}) | ({
|
|
7901
6593
|
__TYPE__: "FileLink";
|
|
7902
6594
|
} & {
|
|
7903
|
-
kind:
|
|
6595
|
+
kind: "file";
|
|
7904
6596
|
id: string;
|
|
7905
6597
|
url: string;
|
|
7906
6598
|
name: string;
|
|
@@ -7942,10 +6634,10 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7942
6634
|
}))[];
|
|
7943
6635
|
} | {
|
|
7944
6636
|
__TYPE__: "SeparatorContent";
|
|
7945
|
-
}][];
|
|
6637
|
+
} | GroupContent][];
|
|
7946
6638
|
}[];
|
|
7947
6639
|
};
|
|
7948
6640
|
}[];
|
|
7949
|
-
}> |
|
|
6641
|
+
}> | undefined;
|
|
7950
6642
|
encode(value: WidgetContent): import("../LegacyContentCtx").WithTypes<unknown> | undefined;
|
|
7951
6643
|
};
|