@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
|
@@ -119,7 +119,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
119
119
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
120
120
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
121
121
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
122
|
-
kind: t.
|
|
122
|
+
kind: t.Type<"image", "image", unknown>;
|
|
123
123
|
id: t.StringC;
|
|
124
124
|
url: t.StringC;
|
|
125
125
|
height: t.StringC;
|
|
@@ -136,7 +136,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
136
136
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
137
137
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
138
138
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
139
|
-
kind: t.
|
|
139
|
+
kind: t.Type<"file", "file", unknown>;
|
|
140
140
|
id: t.StringC;
|
|
141
141
|
url: t.StringC;
|
|
142
142
|
name: t.StringC;
|
|
@@ -214,7 +214,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
214
214
|
linkTo: t.UnionC<[t.Type<({
|
|
215
215
|
__TYPE__: "ImageLink";
|
|
216
216
|
} & {
|
|
217
|
-
kind:
|
|
217
|
+
kind: "image";
|
|
218
218
|
id: string;
|
|
219
219
|
url: string;
|
|
220
220
|
height: string;
|
|
@@ -226,7 +226,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
226
226
|
}) | ({
|
|
227
227
|
__TYPE__: "FileLink";
|
|
228
228
|
} & {
|
|
229
|
-
kind:
|
|
229
|
+
kind: "file";
|
|
230
230
|
id: string;
|
|
231
231
|
url: string;
|
|
232
232
|
name: string;
|
|
@@ -250,7 +250,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
250
250
|
}), ({
|
|
251
251
|
__TYPE__: "ImageLink";
|
|
252
252
|
} & {
|
|
253
|
-
kind:
|
|
253
|
+
kind: "image";
|
|
254
254
|
id: string;
|
|
255
255
|
url: string;
|
|
256
256
|
height: string;
|
|
@@ -262,7 +262,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
262
262
|
}) | ({
|
|
263
263
|
__TYPE__: "FileLink";
|
|
264
264
|
} & {
|
|
265
|
-
kind:
|
|
265
|
+
kind: "file";
|
|
266
266
|
id: string;
|
|
267
267
|
url: string;
|
|
268
268
|
name: string;
|
|
@@ -321,7 +321,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
321
321
|
data: ({
|
|
322
322
|
__TYPE__: "ImageLink";
|
|
323
323
|
} & {
|
|
324
|
-
kind:
|
|
324
|
+
kind: "image";
|
|
325
325
|
id: string;
|
|
326
326
|
url: string;
|
|
327
327
|
height: string;
|
|
@@ -333,7 +333,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
333
333
|
}) | ({
|
|
334
334
|
__TYPE__: "FileLink";
|
|
335
335
|
} & {
|
|
336
|
-
kind:
|
|
336
|
+
kind: "file";
|
|
337
337
|
id: string;
|
|
338
338
|
url: string;
|
|
339
339
|
name: string;
|
|
@@ -371,7 +371,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
371
371
|
data: ({
|
|
372
372
|
__TYPE__: "ImageLink";
|
|
373
373
|
} & {
|
|
374
|
-
kind:
|
|
374
|
+
kind: "image";
|
|
375
375
|
id: string;
|
|
376
376
|
url: string;
|
|
377
377
|
height: string;
|
|
@@ -383,7 +383,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
383
383
|
}) | ({
|
|
384
384
|
__TYPE__: "FileLink";
|
|
385
385
|
} & {
|
|
386
|
-
kind:
|
|
386
|
+
kind: "file";
|
|
387
387
|
id: string;
|
|
388
388
|
url: string;
|
|
389
389
|
name: string;
|
|
@@ -425,80 +425,6 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
425
425
|
}>]>>]>>;
|
|
426
426
|
}>>, t.ExactC<t.TypeC<{
|
|
427
427
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
428
|
-
}>>, t.ExactC<t.TypeC<{
|
|
429
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
430
|
-
type: t.LiteralC<"Link">;
|
|
431
|
-
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
432
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
433
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
434
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
435
|
-
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
436
|
-
kind: t.StringC;
|
|
437
|
-
id: t.StringC;
|
|
438
|
-
url: t.StringC;
|
|
439
|
-
height: t.StringC;
|
|
440
|
-
width: t.StringC;
|
|
441
|
-
size: t.StringC;
|
|
442
|
-
name: t.StringC;
|
|
443
|
-
}>>, t.ExactC<t.PartialC<{
|
|
444
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
445
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
446
|
-
text: t.StringC;
|
|
447
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
448
|
-
kind: t.LiteralC<"image">;
|
|
449
|
-
text: t.StringC;
|
|
450
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
451
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
452
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
453
|
-
kind: t.StringC;
|
|
454
|
-
id: t.StringC;
|
|
455
|
-
url: t.StringC;
|
|
456
|
-
name: t.StringC;
|
|
457
|
-
size: t.StringC;
|
|
458
|
-
}>, t.PartialC<{
|
|
459
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
460
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
461
|
-
text: t.StringC;
|
|
462
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
463
|
-
kind: t.LiteralC<"file">;
|
|
464
|
-
text: t.StringC;
|
|
465
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
466
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
467
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
468
|
-
id: t.Type<string, string, unknown>;
|
|
469
|
-
}>>, t.ExactC<t.PartialC<{
|
|
470
|
-
text: t.StringC;
|
|
471
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
472
|
-
kind: t.LiteralC<"document">;
|
|
473
|
-
text: t.StringC;
|
|
474
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
475
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
476
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
477
|
-
url: t.StringC;
|
|
478
|
-
}>, t.PartialC<{
|
|
479
|
-
kind: t.LiteralC<"web">;
|
|
480
|
-
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
481
|
-
preview: t.UnionC<[t.Type<{
|
|
482
|
-
title?: string;
|
|
483
|
-
}, {
|
|
484
|
-
title?: string;
|
|
485
|
-
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
486
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
487
|
-
text: t.StringC;
|
|
488
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
489
|
-
kind: t.LiteralC<"web">;
|
|
490
|
-
text: t.StringC;
|
|
491
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
492
|
-
__TYPE__: t.LiteralC<"MediaLink">;
|
|
493
|
-
}>>, t.ExactC<t.TypeC<{
|
|
494
|
-
kind: t.LiteralC<"media">;
|
|
495
|
-
text: t.StringC;
|
|
496
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
497
|
-
__TYPE__: t.LiteralC<"AnyLink">;
|
|
498
|
-
}>>, t.ExactC<t.TypeC<{
|
|
499
|
-
text: t.StringC;
|
|
500
|
-
}>>]>]>;
|
|
501
|
-
}>>>;
|
|
502
428
|
}>>]>, t.TypeC<{
|
|
503
429
|
__TYPE__: t.LiteralC<"UIDContent">;
|
|
504
430
|
value: t.StringC;
|
|
@@ -625,7 +551,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
625
551
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
626
552
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
627
553
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
628
|
-
kind: t.
|
|
554
|
+
kind: t.Type<"image", "image", unknown>;
|
|
629
555
|
id: t.StringC;
|
|
630
556
|
url: t.StringC;
|
|
631
557
|
height: t.StringC;
|
|
@@ -642,7 +568,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
642
568
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
643
569
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
644
570
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
645
|
-
kind: t.
|
|
571
|
+
kind: t.Type<"file", "file", unknown>;
|
|
646
572
|
id: t.StringC;
|
|
647
573
|
url: t.StringC;
|
|
648
574
|
name: t.StringC;
|
|
@@ -720,7 +646,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
720
646
|
linkTo: t.UnionC<[t.Type<({
|
|
721
647
|
__TYPE__: "ImageLink";
|
|
722
648
|
} & {
|
|
723
|
-
kind:
|
|
649
|
+
kind: "image";
|
|
724
650
|
id: string;
|
|
725
651
|
url: string;
|
|
726
652
|
height: string;
|
|
@@ -732,7 +658,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
732
658
|
}) | ({
|
|
733
659
|
__TYPE__: "FileLink";
|
|
734
660
|
} & {
|
|
735
|
-
kind:
|
|
661
|
+
kind: "file";
|
|
736
662
|
id: string;
|
|
737
663
|
url: string;
|
|
738
664
|
name: string;
|
|
@@ -756,7 +682,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
756
682
|
}), ({
|
|
757
683
|
__TYPE__: "ImageLink";
|
|
758
684
|
} & {
|
|
759
|
-
kind:
|
|
685
|
+
kind: "image";
|
|
760
686
|
id: string;
|
|
761
687
|
url: string;
|
|
762
688
|
height: string;
|
|
@@ -768,7 +694,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
768
694
|
}) | ({
|
|
769
695
|
__TYPE__: "FileLink";
|
|
770
696
|
} & {
|
|
771
|
-
kind:
|
|
697
|
+
kind: "file";
|
|
772
698
|
id: string;
|
|
773
699
|
url: string;
|
|
774
700
|
name: string;
|
|
@@ -827,7 +753,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
827
753
|
data: ({
|
|
828
754
|
__TYPE__: "ImageLink";
|
|
829
755
|
} & {
|
|
830
|
-
kind:
|
|
756
|
+
kind: "image";
|
|
831
757
|
id: string;
|
|
832
758
|
url: string;
|
|
833
759
|
height: string;
|
|
@@ -839,7 +765,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
839
765
|
}) | ({
|
|
840
766
|
__TYPE__: "FileLink";
|
|
841
767
|
} & {
|
|
842
|
-
kind:
|
|
768
|
+
kind: "file";
|
|
843
769
|
id: string;
|
|
844
770
|
url: string;
|
|
845
771
|
name: string;
|
|
@@ -877,7 +803,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
877
803
|
data: ({
|
|
878
804
|
__TYPE__: "ImageLink";
|
|
879
805
|
} & {
|
|
880
|
-
kind:
|
|
806
|
+
kind: "image";
|
|
881
807
|
id: string;
|
|
882
808
|
url: string;
|
|
883
809
|
height: string;
|
|
@@ -889,7 +815,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
889
815
|
}) | ({
|
|
890
816
|
__TYPE__: "FileLink";
|
|
891
817
|
} & {
|
|
892
|
-
kind:
|
|
818
|
+
kind: "file";
|
|
893
819
|
id: string;
|
|
894
820
|
url: string;
|
|
895
821
|
name: string;
|
|
@@ -931,80 +857,6 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
931
857
|
}>]>>]>>;
|
|
932
858
|
}>>, t.ExactC<t.TypeC<{
|
|
933
859
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
934
|
-
}>>, t.ExactC<t.TypeC<{
|
|
935
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
936
|
-
type: t.LiteralC<"Link">;
|
|
937
|
-
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
938
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
939
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
940
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
941
|
-
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
942
|
-
kind: t.StringC;
|
|
943
|
-
id: t.StringC;
|
|
944
|
-
url: t.StringC;
|
|
945
|
-
height: t.StringC;
|
|
946
|
-
width: t.StringC;
|
|
947
|
-
size: t.StringC;
|
|
948
|
-
name: t.StringC;
|
|
949
|
-
}>>, t.ExactC<t.PartialC<{
|
|
950
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
951
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
952
|
-
text: t.StringC;
|
|
953
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
954
|
-
kind: t.LiteralC<"image">;
|
|
955
|
-
text: t.StringC;
|
|
956
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
957
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
958
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
959
|
-
kind: t.StringC;
|
|
960
|
-
id: t.StringC;
|
|
961
|
-
url: t.StringC;
|
|
962
|
-
name: t.StringC;
|
|
963
|
-
size: t.StringC;
|
|
964
|
-
}>, t.PartialC<{
|
|
965
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
966
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
967
|
-
text: t.StringC;
|
|
968
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
969
|
-
kind: t.LiteralC<"file">;
|
|
970
|
-
text: t.StringC;
|
|
971
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
972
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
973
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
974
|
-
id: t.Type<string, string, unknown>;
|
|
975
|
-
}>>, t.ExactC<t.PartialC<{
|
|
976
|
-
text: t.StringC;
|
|
977
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
978
|
-
kind: t.LiteralC<"document">;
|
|
979
|
-
text: t.StringC;
|
|
980
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
981
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
982
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
983
|
-
url: t.StringC;
|
|
984
|
-
}>, t.PartialC<{
|
|
985
|
-
kind: t.LiteralC<"web">;
|
|
986
|
-
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
987
|
-
preview: t.UnionC<[t.Type<{
|
|
988
|
-
title?: string;
|
|
989
|
-
}, {
|
|
990
|
-
title?: string;
|
|
991
|
-
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
992
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
993
|
-
text: t.StringC;
|
|
994
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
995
|
-
kind: t.LiteralC<"web">;
|
|
996
|
-
text: t.StringC;
|
|
997
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
998
|
-
__TYPE__: t.LiteralC<"MediaLink">;
|
|
999
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1000
|
-
kind: t.LiteralC<"media">;
|
|
1001
|
-
text: t.StringC;
|
|
1002
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1003
|
-
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1004
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1005
|
-
text: t.StringC;
|
|
1006
|
-
}>>]>]>;
|
|
1007
|
-
}>>>;
|
|
1008
860
|
}>>]>>;
|
|
1009
861
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1010
862
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -1123,7 +975,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1123
975
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1124
976
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1125
977
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1126
|
-
kind: t.
|
|
978
|
+
kind: t.Type<"image", "image", unknown>;
|
|
1127
979
|
id: t.StringC;
|
|
1128
980
|
url: t.StringC;
|
|
1129
981
|
height: t.StringC;
|
|
@@ -1140,7 +992,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1140
992
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1141
993
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1142
994
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1143
|
-
kind: t.
|
|
995
|
+
kind: t.Type<"file", "file", unknown>;
|
|
1144
996
|
id: t.StringC;
|
|
1145
997
|
url: t.StringC;
|
|
1146
998
|
name: t.StringC;
|
|
@@ -1218,7 +1070,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1218
1070
|
linkTo: t.UnionC<[t.Type<({
|
|
1219
1071
|
__TYPE__: "ImageLink";
|
|
1220
1072
|
} & {
|
|
1221
|
-
kind:
|
|
1073
|
+
kind: "image";
|
|
1222
1074
|
id: string;
|
|
1223
1075
|
url: string;
|
|
1224
1076
|
height: string;
|
|
@@ -1230,7 +1082,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1230
1082
|
}) | ({
|
|
1231
1083
|
__TYPE__: "FileLink";
|
|
1232
1084
|
} & {
|
|
1233
|
-
kind:
|
|
1085
|
+
kind: "file";
|
|
1234
1086
|
id: string;
|
|
1235
1087
|
url: string;
|
|
1236
1088
|
name: string;
|
|
@@ -1254,7 +1106,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1254
1106
|
}), ({
|
|
1255
1107
|
__TYPE__: "ImageLink";
|
|
1256
1108
|
} & {
|
|
1257
|
-
kind:
|
|
1109
|
+
kind: "image";
|
|
1258
1110
|
id: string;
|
|
1259
1111
|
url: string;
|
|
1260
1112
|
height: string;
|
|
@@ -1266,7 +1118,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1266
1118
|
}) | ({
|
|
1267
1119
|
__TYPE__: "FileLink";
|
|
1268
1120
|
} & {
|
|
1269
|
-
kind:
|
|
1121
|
+
kind: "file";
|
|
1270
1122
|
id: string;
|
|
1271
1123
|
url: string;
|
|
1272
1124
|
name: string;
|
|
@@ -1325,7 +1177,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1325
1177
|
data: ({
|
|
1326
1178
|
__TYPE__: "ImageLink";
|
|
1327
1179
|
} & {
|
|
1328
|
-
kind:
|
|
1180
|
+
kind: "image";
|
|
1329
1181
|
id: string;
|
|
1330
1182
|
url: string;
|
|
1331
1183
|
height: string;
|
|
@@ -1337,7 +1189,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1337
1189
|
}) | ({
|
|
1338
1190
|
__TYPE__: "FileLink";
|
|
1339
1191
|
} & {
|
|
1340
|
-
kind:
|
|
1192
|
+
kind: "file";
|
|
1341
1193
|
id: string;
|
|
1342
1194
|
url: string;
|
|
1343
1195
|
name: string;
|
|
@@ -1375,7 +1227,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1375
1227
|
data: ({
|
|
1376
1228
|
__TYPE__: "ImageLink";
|
|
1377
1229
|
} & {
|
|
1378
|
-
kind:
|
|
1230
|
+
kind: "image";
|
|
1379
1231
|
id: string;
|
|
1380
1232
|
url: string;
|
|
1381
1233
|
height: string;
|
|
@@ -1387,7 +1239,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1387
1239
|
}) | ({
|
|
1388
1240
|
__TYPE__: "FileLink";
|
|
1389
1241
|
} & {
|
|
1390
|
-
kind:
|
|
1242
|
+
kind: "file";
|
|
1391
1243
|
id: string;
|
|
1392
1244
|
url: string;
|
|
1393
1245
|
name: string;
|
|
@@ -1429,80 +1281,6 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1429
1281
|
}>]>>]>>;
|
|
1430
1282
|
}>>, t.ExactC<t.TypeC<{
|
|
1431
1283
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1432
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1433
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1434
|
-
type: t.LiteralC<"Link">;
|
|
1435
|
-
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1436
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1437
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1438
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1439
|
-
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1440
|
-
kind: t.StringC;
|
|
1441
|
-
id: t.StringC;
|
|
1442
|
-
url: t.StringC;
|
|
1443
|
-
height: t.StringC;
|
|
1444
|
-
width: t.StringC;
|
|
1445
|
-
size: t.StringC;
|
|
1446
|
-
name: t.StringC;
|
|
1447
|
-
}>>, t.ExactC<t.PartialC<{
|
|
1448
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1449
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
1450
|
-
text: t.StringC;
|
|
1451
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1452
|
-
kind: t.LiteralC<"image">;
|
|
1453
|
-
text: t.StringC;
|
|
1454
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1455
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
1456
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1457
|
-
kind: t.StringC;
|
|
1458
|
-
id: t.StringC;
|
|
1459
|
-
url: t.StringC;
|
|
1460
|
-
name: t.StringC;
|
|
1461
|
-
size: t.StringC;
|
|
1462
|
-
}>, t.PartialC<{
|
|
1463
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1464
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
1465
|
-
text: t.StringC;
|
|
1466
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1467
|
-
kind: t.LiteralC<"file">;
|
|
1468
|
-
text: t.StringC;
|
|
1469
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1470
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1471
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1472
|
-
id: t.Type<string, string, unknown>;
|
|
1473
|
-
}>>, t.ExactC<t.PartialC<{
|
|
1474
|
-
text: t.StringC;
|
|
1475
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1476
|
-
kind: t.LiteralC<"document">;
|
|
1477
|
-
text: t.StringC;
|
|
1478
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1479
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1480
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1481
|
-
url: t.StringC;
|
|
1482
|
-
}>, t.PartialC<{
|
|
1483
|
-
kind: t.LiteralC<"web">;
|
|
1484
|
-
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1485
|
-
preview: t.UnionC<[t.Type<{
|
|
1486
|
-
title?: string;
|
|
1487
|
-
}, {
|
|
1488
|
-
title?: string;
|
|
1489
|
-
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1490
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
1491
|
-
text: t.StringC;
|
|
1492
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1493
|
-
kind: t.LiteralC<"web">;
|
|
1494
|
-
text: t.StringC;
|
|
1495
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1496
|
-
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1497
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1498
|
-
kind: t.LiteralC<"media">;
|
|
1499
|
-
text: t.StringC;
|
|
1500
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1501
|
-
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1502
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1503
|
-
text: t.StringC;
|
|
1504
|
-
}>>]>]>;
|
|
1505
|
-
}>>>;
|
|
1506
1284
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
|
|
1507
1285
|
}>>>;
|
|
1508
1286
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -1623,7 +1401,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1623
1401
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1624
1402
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1625
1403
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1626
|
-
kind: t.
|
|
1404
|
+
kind: t.Type<"image", "image", unknown>;
|
|
1627
1405
|
id: t.StringC;
|
|
1628
1406
|
url: t.StringC;
|
|
1629
1407
|
height: t.StringC;
|
|
@@ -1640,7 +1418,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1640
1418
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1641
1419
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1642
1420
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1643
|
-
kind: t.
|
|
1421
|
+
kind: t.Type<"file", "file", unknown>;
|
|
1644
1422
|
id: t.StringC;
|
|
1645
1423
|
url: t.StringC;
|
|
1646
1424
|
name: t.StringC;
|
|
@@ -1718,7 +1496,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1718
1496
|
linkTo: t.UnionC<[t.Type<({
|
|
1719
1497
|
__TYPE__: "ImageLink";
|
|
1720
1498
|
} & {
|
|
1721
|
-
kind:
|
|
1499
|
+
kind: "image";
|
|
1722
1500
|
id: string;
|
|
1723
1501
|
url: string;
|
|
1724
1502
|
height: string;
|
|
@@ -1730,7 +1508,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1730
1508
|
}) | ({
|
|
1731
1509
|
__TYPE__: "FileLink";
|
|
1732
1510
|
} & {
|
|
1733
|
-
kind:
|
|
1511
|
+
kind: "file";
|
|
1734
1512
|
id: string;
|
|
1735
1513
|
url: string;
|
|
1736
1514
|
name: string;
|
|
@@ -1754,7 +1532,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1754
1532
|
}), ({
|
|
1755
1533
|
__TYPE__: "ImageLink";
|
|
1756
1534
|
} & {
|
|
1757
|
-
kind:
|
|
1535
|
+
kind: "image";
|
|
1758
1536
|
id: string;
|
|
1759
1537
|
url: string;
|
|
1760
1538
|
height: string;
|
|
@@ -1766,7 +1544,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1766
1544
|
}) | ({
|
|
1767
1545
|
__TYPE__: "FileLink";
|
|
1768
1546
|
} & {
|
|
1769
|
-
kind:
|
|
1547
|
+
kind: "file";
|
|
1770
1548
|
id: string;
|
|
1771
1549
|
url: string;
|
|
1772
1550
|
name: string;
|
|
@@ -1825,7 +1603,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1825
1603
|
data: ({
|
|
1826
1604
|
__TYPE__: "ImageLink";
|
|
1827
1605
|
} & {
|
|
1828
|
-
kind:
|
|
1606
|
+
kind: "image";
|
|
1829
1607
|
id: string;
|
|
1830
1608
|
url: string;
|
|
1831
1609
|
height: string;
|
|
@@ -1837,7 +1615,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1837
1615
|
}) | ({
|
|
1838
1616
|
__TYPE__: "FileLink";
|
|
1839
1617
|
} & {
|
|
1840
|
-
kind:
|
|
1618
|
+
kind: "file";
|
|
1841
1619
|
id: string;
|
|
1842
1620
|
url: string;
|
|
1843
1621
|
name: string;
|
|
@@ -1875,7 +1653,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1875
1653
|
data: ({
|
|
1876
1654
|
__TYPE__: "ImageLink";
|
|
1877
1655
|
} & {
|
|
1878
|
-
kind:
|
|
1656
|
+
kind: "image";
|
|
1879
1657
|
id: string;
|
|
1880
1658
|
url: string;
|
|
1881
1659
|
height: string;
|
|
@@ -1887,7 +1665,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1887
1665
|
}) | ({
|
|
1888
1666
|
__TYPE__: "FileLink";
|
|
1889
1667
|
} & {
|
|
1890
|
-
kind:
|
|
1668
|
+
kind: "file";
|
|
1891
1669
|
id: string;
|
|
1892
1670
|
url: string;
|
|
1893
1671
|
name: string;
|
|
@@ -1929,80 +1707,6 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1929
1707
|
}>]>>]>>;
|
|
1930
1708
|
}>>, t.ExactC<t.TypeC<{
|
|
1931
1709
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1932
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1933
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1934
|
-
type: t.LiteralC<"Link">;
|
|
1935
|
-
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1936
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1937
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1938
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1939
|
-
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1940
|
-
kind: t.StringC;
|
|
1941
|
-
id: t.StringC;
|
|
1942
|
-
url: t.StringC;
|
|
1943
|
-
height: t.StringC;
|
|
1944
|
-
width: t.StringC;
|
|
1945
|
-
size: t.StringC;
|
|
1946
|
-
name: t.StringC;
|
|
1947
|
-
}>>, t.ExactC<t.PartialC<{
|
|
1948
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1949
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
1950
|
-
text: t.StringC;
|
|
1951
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1952
|
-
kind: t.LiteralC<"image">;
|
|
1953
|
-
text: t.StringC;
|
|
1954
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1955
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
1956
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1957
|
-
kind: t.StringC;
|
|
1958
|
-
id: t.StringC;
|
|
1959
|
-
url: t.StringC;
|
|
1960
|
-
name: t.StringC;
|
|
1961
|
-
size: t.StringC;
|
|
1962
|
-
}>, t.PartialC<{
|
|
1963
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1964
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
1965
|
-
text: t.StringC;
|
|
1966
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1967
|
-
kind: t.LiteralC<"file">;
|
|
1968
|
-
text: t.StringC;
|
|
1969
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1970
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1971
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1972
|
-
id: t.Type<string, string, unknown>;
|
|
1973
|
-
}>>, t.ExactC<t.PartialC<{
|
|
1974
|
-
text: t.StringC;
|
|
1975
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1976
|
-
kind: t.LiteralC<"document">;
|
|
1977
|
-
text: t.StringC;
|
|
1978
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1979
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1980
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1981
|
-
url: t.StringC;
|
|
1982
|
-
}>, t.PartialC<{
|
|
1983
|
-
kind: t.LiteralC<"web">;
|
|
1984
|
-
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1985
|
-
preview: t.UnionC<[t.Type<{
|
|
1986
|
-
title?: string;
|
|
1987
|
-
}, {
|
|
1988
|
-
title?: string;
|
|
1989
|
-
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1990
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
1991
|
-
text: t.StringC;
|
|
1992
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1993
|
-
kind: t.LiteralC<"web">;
|
|
1994
|
-
text: t.StringC;
|
|
1995
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1996
|
-
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1997
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1998
|
-
kind: t.LiteralC<"media">;
|
|
1999
|
-
text: t.StringC;
|
|
2000
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2001
|
-
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2002
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2003
|
-
text: t.StringC;
|
|
2004
|
-
}>>]>]>;
|
|
2005
|
-
}>>>;
|
|
2006
1710
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>>;
|
|
2007
1711
|
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2008
1712
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -2121,7 +1825,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2121
1825
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2122
1826
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2123
1827
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2124
|
-
kind: t.
|
|
1828
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2125
1829
|
id: t.StringC;
|
|
2126
1830
|
url: t.StringC;
|
|
2127
1831
|
height: t.StringC;
|
|
@@ -2138,7 +1842,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2138
1842
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2139
1843
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2140
1844
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2141
|
-
kind: t.
|
|
1845
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2142
1846
|
id: t.StringC;
|
|
2143
1847
|
url: t.StringC;
|
|
2144
1848
|
name: t.StringC;
|
|
@@ -2216,7 +1920,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2216
1920
|
linkTo: t.UnionC<[t.Type<({
|
|
2217
1921
|
__TYPE__: "ImageLink";
|
|
2218
1922
|
} & {
|
|
2219
|
-
kind:
|
|
1923
|
+
kind: "image";
|
|
2220
1924
|
id: string;
|
|
2221
1925
|
url: string;
|
|
2222
1926
|
height: string;
|
|
@@ -2228,7 +1932,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2228
1932
|
}) | ({
|
|
2229
1933
|
__TYPE__: "FileLink";
|
|
2230
1934
|
} & {
|
|
2231
|
-
kind:
|
|
1935
|
+
kind: "file";
|
|
2232
1936
|
id: string;
|
|
2233
1937
|
url: string;
|
|
2234
1938
|
name: string;
|
|
@@ -2252,7 +1956,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2252
1956
|
}), ({
|
|
2253
1957
|
__TYPE__: "ImageLink";
|
|
2254
1958
|
} & {
|
|
2255
|
-
kind:
|
|
1959
|
+
kind: "image";
|
|
2256
1960
|
id: string;
|
|
2257
1961
|
url: string;
|
|
2258
1962
|
height: string;
|
|
@@ -2264,7 +1968,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2264
1968
|
}) | ({
|
|
2265
1969
|
__TYPE__: "FileLink";
|
|
2266
1970
|
} & {
|
|
2267
|
-
kind:
|
|
1971
|
+
kind: "file";
|
|
2268
1972
|
id: string;
|
|
2269
1973
|
url: string;
|
|
2270
1974
|
name: string;
|
|
@@ -2323,7 +2027,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2323
2027
|
data: ({
|
|
2324
2028
|
__TYPE__: "ImageLink";
|
|
2325
2029
|
} & {
|
|
2326
|
-
kind:
|
|
2030
|
+
kind: "image";
|
|
2327
2031
|
id: string;
|
|
2328
2032
|
url: string;
|
|
2329
2033
|
height: string;
|
|
@@ -2335,7 +2039,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2335
2039
|
}) | ({
|
|
2336
2040
|
__TYPE__: "FileLink";
|
|
2337
2041
|
} & {
|
|
2338
|
-
kind:
|
|
2042
|
+
kind: "file";
|
|
2339
2043
|
id: string;
|
|
2340
2044
|
url: string;
|
|
2341
2045
|
name: string;
|
|
@@ -2373,7 +2077,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2373
2077
|
data: ({
|
|
2374
2078
|
__TYPE__: "ImageLink";
|
|
2375
2079
|
} & {
|
|
2376
|
-
kind:
|
|
2080
|
+
kind: "image";
|
|
2377
2081
|
id: string;
|
|
2378
2082
|
url: string;
|
|
2379
2083
|
height: string;
|
|
@@ -2385,7 +2089,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2385
2089
|
}) | ({
|
|
2386
2090
|
__TYPE__: "FileLink";
|
|
2387
2091
|
} & {
|
|
2388
|
-
kind:
|
|
2092
|
+
kind: "file";
|
|
2389
2093
|
id: string;
|
|
2390
2094
|
url: string;
|
|
2391
2095
|
name: string;
|
|
@@ -2427,80 +2131,6 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2427
2131
|
}>]>>]>>;
|
|
2428
2132
|
}>>, t.ExactC<t.TypeC<{
|
|
2429
2133
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2430
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2431
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2432
|
-
type: t.LiteralC<"Link">;
|
|
2433
|
-
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2434
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2435
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2436
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2437
|
-
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2438
|
-
kind: t.StringC;
|
|
2439
|
-
id: t.StringC;
|
|
2440
|
-
url: t.StringC;
|
|
2441
|
-
height: t.StringC;
|
|
2442
|
-
width: t.StringC;
|
|
2443
|
-
size: t.StringC;
|
|
2444
|
-
name: t.StringC;
|
|
2445
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2446
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2447
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
2448
|
-
text: t.StringC;
|
|
2449
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2450
|
-
kind: t.LiteralC<"image">;
|
|
2451
|
-
text: t.StringC;
|
|
2452
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2453
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
2454
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2455
|
-
kind: t.StringC;
|
|
2456
|
-
id: t.StringC;
|
|
2457
|
-
url: t.StringC;
|
|
2458
|
-
name: t.StringC;
|
|
2459
|
-
size: t.StringC;
|
|
2460
|
-
}>, t.PartialC<{
|
|
2461
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2462
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
2463
|
-
text: t.StringC;
|
|
2464
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2465
|
-
kind: t.LiteralC<"file">;
|
|
2466
|
-
text: t.StringC;
|
|
2467
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2468
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2469
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2470
|
-
id: t.Type<string, string, unknown>;
|
|
2471
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2472
|
-
text: t.StringC;
|
|
2473
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2474
|
-
kind: t.LiteralC<"document">;
|
|
2475
|
-
text: t.StringC;
|
|
2476
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2477
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2478
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2479
|
-
url: t.StringC;
|
|
2480
|
-
}>, t.PartialC<{
|
|
2481
|
-
kind: t.LiteralC<"web">;
|
|
2482
|
-
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2483
|
-
preview: t.UnionC<[t.Type<{
|
|
2484
|
-
title?: string;
|
|
2485
|
-
}, {
|
|
2486
|
-
title?: string;
|
|
2487
|
-
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2488
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
2489
|
-
text: t.StringC;
|
|
2490
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2491
|
-
kind: t.LiteralC<"web">;
|
|
2492
|
-
text: t.StringC;
|
|
2493
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2494
|
-
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2495
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2496
|
-
kind: t.LiteralC<"media">;
|
|
2497
|
-
text: t.StringC;
|
|
2498
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2499
|
-
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2500
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2501
|
-
text: t.StringC;
|
|
2502
|
-
}>>]>]>;
|
|
2503
|
-
}>>>;
|
|
2504
2134
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>>;
|
|
2505
2135
|
}>>>;
|
|
2506
2136
|
}>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -2618,7 +2248,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2618
2248
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2619
2249
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2620
2250
|
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2621
|
-
kind: t.
|
|
2251
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2622
2252
|
id: t.StringC;
|
|
2623
2253
|
url: t.StringC;
|
|
2624
2254
|
height: t.StringC;
|
|
@@ -2635,7 +2265,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2635
2265
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2636
2266
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2637
2267
|
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2638
|
-
kind: t.
|
|
2268
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2639
2269
|
id: t.StringC;
|
|
2640
2270
|
url: t.StringC;
|
|
2641
2271
|
name: t.StringC;
|
|
@@ -2713,7 +2343,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2713
2343
|
linkTo: t.UnionC<[t.Type<({
|
|
2714
2344
|
__TYPE__: "ImageLink";
|
|
2715
2345
|
} & {
|
|
2716
|
-
kind:
|
|
2346
|
+
kind: "image";
|
|
2717
2347
|
id: string;
|
|
2718
2348
|
url: string;
|
|
2719
2349
|
height: string;
|
|
@@ -2725,7 +2355,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2725
2355
|
}) | ({
|
|
2726
2356
|
__TYPE__: "FileLink";
|
|
2727
2357
|
} & {
|
|
2728
|
-
kind:
|
|
2358
|
+
kind: "file";
|
|
2729
2359
|
id: string;
|
|
2730
2360
|
url: string;
|
|
2731
2361
|
name: string;
|
|
@@ -2749,7 +2379,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2749
2379
|
}), ({
|
|
2750
2380
|
__TYPE__: "ImageLink";
|
|
2751
2381
|
} & {
|
|
2752
|
-
kind:
|
|
2382
|
+
kind: "image";
|
|
2753
2383
|
id: string;
|
|
2754
2384
|
url: string;
|
|
2755
2385
|
height: string;
|
|
@@ -2761,7 +2391,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2761
2391
|
}) | ({
|
|
2762
2392
|
__TYPE__: "FileLink";
|
|
2763
2393
|
} & {
|
|
2764
|
-
kind:
|
|
2394
|
+
kind: "file";
|
|
2765
2395
|
id: string;
|
|
2766
2396
|
url: string;
|
|
2767
2397
|
name: string;
|
|
@@ -2820,7 +2450,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2820
2450
|
data: ({
|
|
2821
2451
|
__TYPE__: "ImageLink";
|
|
2822
2452
|
} & {
|
|
2823
|
-
kind:
|
|
2453
|
+
kind: "image";
|
|
2824
2454
|
id: string;
|
|
2825
2455
|
url: string;
|
|
2826
2456
|
height: string;
|
|
@@ -2832,7 +2462,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2832
2462
|
}) | ({
|
|
2833
2463
|
__TYPE__: "FileLink";
|
|
2834
2464
|
} & {
|
|
2835
|
-
kind:
|
|
2465
|
+
kind: "file";
|
|
2836
2466
|
id: string;
|
|
2837
2467
|
url: string;
|
|
2838
2468
|
name: string;
|
|
@@ -2870,7 +2500,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2870
2500
|
data: ({
|
|
2871
2501
|
__TYPE__: "ImageLink";
|
|
2872
2502
|
} & {
|
|
2873
|
-
kind:
|
|
2503
|
+
kind: "image";
|
|
2874
2504
|
id: string;
|
|
2875
2505
|
url: string;
|
|
2876
2506
|
height: string;
|
|
@@ -2882,7 +2512,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2882
2512
|
}) | ({
|
|
2883
2513
|
__TYPE__: "FileLink";
|
|
2884
2514
|
} & {
|
|
2885
|
-
kind:
|
|
2515
|
+
kind: "file";
|
|
2886
2516
|
id: string;
|
|
2887
2517
|
url: string;
|
|
2888
2518
|
name: string;
|
|
@@ -2924,80 +2554,6 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2924
2554
|
}>]>>]>>;
|
|
2925
2555
|
}>>, t.ExactC<t.TypeC<{
|
|
2926
2556
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2927
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2928
|
-
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2929
|
-
type: t.LiteralC<"Link">;
|
|
2930
|
-
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2931
|
-
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2932
|
-
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2933
|
-
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2934
|
-
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2935
|
-
kind: t.StringC;
|
|
2936
|
-
id: t.StringC;
|
|
2937
|
-
url: t.StringC;
|
|
2938
|
-
height: t.StringC;
|
|
2939
|
-
width: t.StringC;
|
|
2940
|
-
size: t.StringC;
|
|
2941
|
-
name: t.StringC;
|
|
2942
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2943
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2944
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
2945
|
-
text: t.StringC;
|
|
2946
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2947
|
-
kind: t.LiteralC<"image">;
|
|
2948
|
-
text: t.StringC;
|
|
2949
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2950
|
-
__TYPE__: t.LiteralC<"FileLink">;
|
|
2951
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2952
|
-
kind: t.StringC;
|
|
2953
|
-
id: t.StringC;
|
|
2954
|
-
url: t.StringC;
|
|
2955
|
-
name: t.StringC;
|
|
2956
|
-
size: t.StringC;
|
|
2957
|
-
}>, t.PartialC<{
|
|
2958
|
-
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2959
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
2960
|
-
text: t.StringC;
|
|
2961
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2962
|
-
kind: t.LiteralC<"file">;
|
|
2963
|
-
text: t.StringC;
|
|
2964
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2965
|
-
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2966
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2967
|
-
id: t.Type<string, string, unknown>;
|
|
2968
|
-
}>>, t.ExactC<t.PartialC<{
|
|
2969
|
-
text: t.StringC;
|
|
2970
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2971
|
-
kind: t.LiteralC<"document">;
|
|
2972
|
-
text: t.StringC;
|
|
2973
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2974
|
-
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2975
|
-
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2976
|
-
url: t.StringC;
|
|
2977
|
-
}>, t.PartialC<{
|
|
2978
|
-
kind: t.LiteralC<"web">;
|
|
2979
|
-
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2980
|
-
preview: t.UnionC<[t.Type<{
|
|
2981
|
-
title?: string;
|
|
2982
|
-
}, {
|
|
2983
|
-
title?: string;
|
|
2984
|
-
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2985
|
-
}>]>>, t.ExactC<t.PartialC<{
|
|
2986
|
-
text: t.StringC;
|
|
2987
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2988
|
-
kind: t.LiteralC<"web">;
|
|
2989
|
-
text: t.StringC;
|
|
2990
|
-
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2991
|
-
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2992
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2993
|
-
kind: t.LiteralC<"media">;
|
|
2994
|
-
text: t.StringC;
|
|
2995
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2996
|
-
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2997
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2998
|
-
text: t.StringC;
|
|
2999
|
-
}>>]>]>;
|
|
3000
|
-
}>>>;
|
|
3001
2557
|
}>>]>, t.Type<import("./fields").GroupContent, import("./fields").GroupContent, unknown>]>]>;
|
|
3002
2558
|
}>>;
|
|
3003
2559
|
}>]>>;
|
|
@@ -3018,7 +2574,7 @@ declare function parseLegacyDocument(legacyDoc: unknown, customType: StaticCusto
|
|
|
3018
2574
|
}): Document | undefined;
|
|
3019
2575
|
declare function encodeToLegacyDocument(document: Document): DocumentLegacy;
|
|
3020
2576
|
export declare const DocumentLegacy: {
|
|
3021
|
-
_codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"
|
|
2577
|
+
_codec: (allTypes?: Map<string, "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp" | "Group" | "Slice" | "SharedSlice" | "Choice" | "Slices" | "UID"> | undefined) => t.Type<{
|
|
3022
2578
|
[x: string]: {
|
|
3023
2579
|
type: string;
|
|
3024
2580
|
__TYPE__: "EmptyContent";
|
|
@@ -3136,7 +2692,7 @@ export declare const DocumentLegacy: {
|
|
|
3136
2692
|
value: ({
|
|
3137
2693
|
__TYPE__: "ImageLink";
|
|
3138
2694
|
} & (({
|
|
3139
|
-
kind:
|
|
2695
|
+
kind: "image";
|
|
3140
2696
|
id: string;
|
|
3141
2697
|
url: string;
|
|
3142
2698
|
height: string;
|
|
@@ -3153,7 +2709,7 @@ export declare const DocumentLegacy: {
|
|
|
3153
2709
|
})) | ({
|
|
3154
2710
|
__TYPE__: "FileLink";
|
|
3155
2711
|
} & (({
|
|
3156
|
-
kind:
|
|
2712
|
+
kind: "file";
|
|
3157
2713
|
id: string;
|
|
3158
2714
|
url: string;
|
|
3159
2715
|
name: string;
|
|
@@ -3200,78 +2756,6 @@ export declare const DocumentLegacy: {
|
|
|
3200
2756
|
text: string;
|
|
3201
2757
|
});
|
|
3202
2758
|
} | {
|
|
3203
|
-
__TYPE__: "RepeatableContent";
|
|
3204
|
-
type: "Link";
|
|
3205
|
-
value: {
|
|
3206
|
-
__TYPE__: "LinkContent";
|
|
3207
|
-
value: ({
|
|
3208
|
-
__TYPE__: "ImageLink";
|
|
3209
|
-
} & (({
|
|
3210
|
-
kind: string;
|
|
3211
|
-
id: string;
|
|
3212
|
-
url: string;
|
|
3213
|
-
height: string;
|
|
3214
|
-
width: string;
|
|
3215
|
-
size: string;
|
|
3216
|
-
name: string;
|
|
3217
|
-
} & {
|
|
3218
|
-
date?: string | null | undefined;
|
|
3219
|
-
} & {
|
|
3220
|
-
text?: string;
|
|
3221
|
-
}) | {
|
|
3222
|
-
kind: "image";
|
|
3223
|
-
text: string;
|
|
3224
|
-
})) | ({
|
|
3225
|
-
__TYPE__: "FileLink";
|
|
3226
|
-
} & (({
|
|
3227
|
-
kind: string;
|
|
3228
|
-
id: string;
|
|
3229
|
-
url: string;
|
|
3230
|
-
name: string;
|
|
3231
|
-
size: string;
|
|
3232
|
-
} & {
|
|
3233
|
-
date?: string | null | undefined;
|
|
3234
|
-
} & {
|
|
3235
|
-
text?: string;
|
|
3236
|
-
}) | {
|
|
3237
|
-
kind: "file";
|
|
3238
|
-
text: string;
|
|
3239
|
-
})) | ({
|
|
3240
|
-
__TYPE__: "MediaLink";
|
|
3241
|
-
} & {
|
|
3242
|
-
kind: "media";
|
|
3243
|
-
text: string;
|
|
3244
|
-
}) | ({
|
|
3245
|
-
__TYPE__: "DocumentLink";
|
|
3246
|
-
} & (({
|
|
3247
|
-
id: string;
|
|
3248
|
-
} & {
|
|
3249
|
-
text?: string;
|
|
3250
|
-
}) | {
|
|
3251
|
-
kind: "document";
|
|
3252
|
-
text: string;
|
|
3253
|
-
})) | ({
|
|
3254
|
-
__TYPE__: "ExternalLink";
|
|
3255
|
-
} & (({
|
|
3256
|
-
url: string;
|
|
3257
|
-
} & {
|
|
3258
|
-
kind?: "web";
|
|
3259
|
-
target?: string | null | undefined;
|
|
3260
|
-
preview?: {
|
|
3261
|
-
title?: string;
|
|
3262
|
-
} | null | undefined;
|
|
3263
|
-
} & {
|
|
3264
|
-
text?: string;
|
|
3265
|
-
}) | {
|
|
3266
|
-
kind: "web";
|
|
3267
|
-
text: string;
|
|
3268
|
-
})) | ({
|
|
3269
|
-
__TYPE__: "AnyLink";
|
|
3270
|
-
} & {
|
|
3271
|
-
text: string;
|
|
3272
|
-
});
|
|
3273
|
-
}[];
|
|
3274
|
-
} | import("./fields").GroupContent | {
|
|
3275
2759
|
__TYPE__: "StructuredTextContent";
|
|
3276
2760
|
value: (({
|
|
3277
2761
|
type: "image";
|
|
@@ -3301,7 +2785,7 @@ export declare const DocumentLegacy: {
|
|
|
3301
2785
|
linkTo?: ({
|
|
3302
2786
|
__TYPE__: "ImageLink";
|
|
3303
2787
|
} & {
|
|
3304
|
-
kind:
|
|
2788
|
+
kind: "image";
|
|
3305
2789
|
id: string;
|
|
3306
2790
|
url: string;
|
|
3307
2791
|
height: string;
|
|
@@ -3313,7 +2797,7 @@ export declare const DocumentLegacy: {
|
|
|
3313
2797
|
}) | ({
|
|
3314
2798
|
__TYPE__: "FileLink";
|
|
3315
2799
|
} & {
|
|
3316
|
-
kind:
|
|
2800
|
+
kind: "file";
|
|
3317
2801
|
id: string;
|
|
3318
2802
|
url: string;
|
|
3319
2803
|
name: string;
|
|
@@ -3372,7 +2856,7 @@ export declare const DocumentLegacy: {
|
|
|
3372
2856
|
data: ({
|
|
3373
2857
|
__TYPE__: "ImageLink";
|
|
3374
2858
|
} & {
|
|
3375
|
-
kind:
|
|
2859
|
+
kind: "image";
|
|
3376
2860
|
id: string;
|
|
3377
2861
|
url: string;
|
|
3378
2862
|
height: string;
|
|
@@ -3384,7 +2868,7 @@ export declare const DocumentLegacy: {
|
|
|
3384
2868
|
}) | ({
|
|
3385
2869
|
__TYPE__: "FileLink";
|
|
3386
2870
|
} & {
|
|
3387
|
-
kind:
|
|
2871
|
+
kind: "file";
|
|
3388
2872
|
id: string;
|
|
3389
2873
|
url: string;
|
|
3390
2874
|
name: string;
|
|
@@ -3426,7 +2910,7 @@ export declare const DocumentLegacy: {
|
|
|
3426
2910
|
}))[];
|
|
3427
2911
|
} | {
|
|
3428
2912
|
__TYPE__: "SeparatorContent";
|
|
3429
|
-
} | {
|
|
2913
|
+
} | import("./fields").GroupContent | {
|
|
3430
2914
|
__TYPE__: "UIDContent";
|
|
3431
2915
|
value: string;
|
|
3432
2916
|
} | {
|
|
@@ -3552,7 +3036,7 @@ export declare const DocumentLegacy: {
|
|
|
3552
3036
|
value: ({
|
|
3553
3037
|
__TYPE__: "ImageLink";
|
|
3554
3038
|
} & (({
|
|
3555
|
-
kind:
|
|
3039
|
+
kind: "image";
|
|
3556
3040
|
id: string;
|
|
3557
3041
|
url: string;
|
|
3558
3042
|
height: string;
|
|
@@ -3569,7 +3053,7 @@ export declare const DocumentLegacy: {
|
|
|
3569
3053
|
})) | ({
|
|
3570
3054
|
__TYPE__: "FileLink";
|
|
3571
3055
|
} & (({
|
|
3572
|
-
kind:
|
|
3056
|
+
kind: "file";
|
|
3573
3057
|
id: string;
|
|
3574
3058
|
url: string;
|
|
3575
3059
|
name: string;
|
|
@@ -3616,78 +3100,6 @@ export declare const DocumentLegacy: {
|
|
|
3616
3100
|
text: string;
|
|
3617
3101
|
});
|
|
3618
3102
|
} | {
|
|
3619
|
-
__TYPE__: "RepeatableContent";
|
|
3620
|
-
type: "Link";
|
|
3621
|
-
value: {
|
|
3622
|
-
__TYPE__: "LinkContent";
|
|
3623
|
-
value: ({
|
|
3624
|
-
__TYPE__: "ImageLink";
|
|
3625
|
-
} & (({
|
|
3626
|
-
kind: string;
|
|
3627
|
-
id: string;
|
|
3628
|
-
url: string;
|
|
3629
|
-
height: string;
|
|
3630
|
-
width: string;
|
|
3631
|
-
size: string;
|
|
3632
|
-
name: string;
|
|
3633
|
-
} & {
|
|
3634
|
-
date?: string | null | undefined;
|
|
3635
|
-
} & {
|
|
3636
|
-
text?: string;
|
|
3637
|
-
}) | {
|
|
3638
|
-
kind: "image";
|
|
3639
|
-
text: string;
|
|
3640
|
-
})) | ({
|
|
3641
|
-
__TYPE__: "FileLink";
|
|
3642
|
-
} & (({
|
|
3643
|
-
kind: string;
|
|
3644
|
-
id: string;
|
|
3645
|
-
url: string;
|
|
3646
|
-
name: string;
|
|
3647
|
-
size: string;
|
|
3648
|
-
} & {
|
|
3649
|
-
date?: string | null | undefined;
|
|
3650
|
-
} & {
|
|
3651
|
-
text?: string;
|
|
3652
|
-
}) | {
|
|
3653
|
-
kind: "file";
|
|
3654
|
-
text: string;
|
|
3655
|
-
})) | ({
|
|
3656
|
-
__TYPE__: "MediaLink";
|
|
3657
|
-
} & {
|
|
3658
|
-
kind: "media";
|
|
3659
|
-
text: string;
|
|
3660
|
-
}) | ({
|
|
3661
|
-
__TYPE__: "DocumentLink";
|
|
3662
|
-
} & (({
|
|
3663
|
-
id: string;
|
|
3664
|
-
} & {
|
|
3665
|
-
text?: string;
|
|
3666
|
-
}) | {
|
|
3667
|
-
kind: "document";
|
|
3668
|
-
text: string;
|
|
3669
|
-
})) | ({
|
|
3670
|
-
__TYPE__: "ExternalLink";
|
|
3671
|
-
} & (({
|
|
3672
|
-
url: string;
|
|
3673
|
-
} & {
|
|
3674
|
-
kind?: "web";
|
|
3675
|
-
target?: string | null | undefined;
|
|
3676
|
-
preview?: {
|
|
3677
|
-
title?: string;
|
|
3678
|
-
} | null | undefined;
|
|
3679
|
-
} & {
|
|
3680
|
-
text?: string;
|
|
3681
|
-
}) | {
|
|
3682
|
-
kind: "web";
|
|
3683
|
-
text: string;
|
|
3684
|
-
})) | ({
|
|
3685
|
-
__TYPE__: "AnyLink";
|
|
3686
|
-
} & {
|
|
3687
|
-
text: string;
|
|
3688
|
-
});
|
|
3689
|
-
}[];
|
|
3690
|
-
} | import("./fields").GroupContent | {
|
|
3691
3103
|
__TYPE__: "StructuredTextContent";
|
|
3692
3104
|
value: (({
|
|
3693
3105
|
type: "image";
|
|
@@ -3717,7 +3129,7 @@ export declare const DocumentLegacy: {
|
|
|
3717
3129
|
linkTo?: ({
|
|
3718
3130
|
__TYPE__: "ImageLink";
|
|
3719
3131
|
} & {
|
|
3720
|
-
kind:
|
|
3132
|
+
kind: "image";
|
|
3721
3133
|
id: string;
|
|
3722
3134
|
url: string;
|
|
3723
3135
|
height: string;
|
|
@@ -3729,7 +3141,7 @@ export declare const DocumentLegacy: {
|
|
|
3729
3141
|
}) | ({
|
|
3730
3142
|
__TYPE__: "FileLink";
|
|
3731
3143
|
} & {
|
|
3732
|
-
kind:
|
|
3144
|
+
kind: "file";
|
|
3733
3145
|
id: string;
|
|
3734
3146
|
url: string;
|
|
3735
3147
|
name: string;
|
|
@@ -3788,7 +3200,7 @@ export declare const DocumentLegacy: {
|
|
|
3788
3200
|
data: ({
|
|
3789
3201
|
__TYPE__: "ImageLink";
|
|
3790
3202
|
} & {
|
|
3791
|
-
kind:
|
|
3203
|
+
kind: "image";
|
|
3792
3204
|
id: string;
|
|
3793
3205
|
url: string;
|
|
3794
3206
|
height: string;
|
|
@@ -3800,7 +3212,7 @@ export declare const DocumentLegacy: {
|
|
|
3800
3212
|
}) | ({
|
|
3801
3213
|
__TYPE__: "FileLink";
|
|
3802
3214
|
} & {
|
|
3803
|
-
kind:
|
|
3215
|
+
kind: "file";
|
|
3804
3216
|
id: string;
|
|
3805
3217
|
url: string;
|
|
3806
3218
|
name: string;
|
|
@@ -3842,7 +3254,7 @@ export declare const DocumentLegacy: {
|
|
|
3842
3254
|
}))[];
|
|
3843
3255
|
} | {
|
|
3844
3256
|
__TYPE__: "SeparatorContent";
|
|
3845
|
-
} | {
|
|
3257
|
+
} | import("./fields").GroupContent | {
|
|
3846
3258
|
__TYPE__: "CompositeSliceContent";
|
|
3847
3259
|
nonRepeat: {
|
|
3848
3260
|
[x: string]: {
|
|
@@ -3962,7 +3374,7 @@ export declare const DocumentLegacy: {
|
|
|
3962
3374
|
value: ({
|
|
3963
3375
|
__TYPE__: "ImageLink";
|
|
3964
3376
|
} & (({
|
|
3965
|
-
kind:
|
|
3377
|
+
kind: "image";
|
|
3966
3378
|
id: string;
|
|
3967
3379
|
url: string;
|
|
3968
3380
|
height: string;
|
|
@@ -3979,7 +3391,7 @@ export declare const DocumentLegacy: {
|
|
|
3979
3391
|
})) | ({
|
|
3980
3392
|
__TYPE__: "FileLink";
|
|
3981
3393
|
} & (({
|
|
3982
|
-
kind:
|
|
3394
|
+
kind: "file";
|
|
3983
3395
|
id: string;
|
|
3984
3396
|
url: string;
|
|
3985
3397
|
name: string;
|
|
@@ -4026,108 +3438,36 @@ export declare const DocumentLegacy: {
|
|
|
4026
3438
|
text: string;
|
|
4027
3439
|
});
|
|
4028
3440
|
} | {
|
|
4029
|
-
__TYPE__: "
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
3441
|
+
__TYPE__: "StructuredTextContent";
|
|
3442
|
+
value: (({
|
|
3443
|
+
type: "image";
|
|
3444
|
+
data: {
|
|
3445
|
+
origin: {
|
|
3446
|
+
id: string;
|
|
3447
|
+
url: string;
|
|
3448
|
+
width: number;
|
|
3449
|
+
height: number;
|
|
3450
|
+
};
|
|
3451
|
+
width: number;
|
|
3452
|
+
height: number;
|
|
3453
|
+
edit: {
|
|
3454
|
+
zoom: number;
|
|
3455
|
+
crop: {
|
|
3456
|
+
x: number;
|
|
3457
|
+
y: number;
|
|
3458
|
+
};
|
|
3459
|
+
background: string;
|
|
3460
|
+
};
|
|
4045
3461
|
} & {
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
})) | ({
|
|
4051
|
-
__TYPE__: "FileLink";
|
|
4052
|
-
} & (({
|
|
4053
|
-
kind: string;
|
|
4054
|
-
id: string;
|
|
4055
|
-
url: string;
|
|
4056
|
-
name: string;
|
|
4057
|
-
size: string;
|
|
4058
|
-
} & {
|
|
4059
|
-
date?: string | null | undefined;
|
|
4060
|
-
} & {
|
|
4061
|
-
text?: string;
|
|
4062
|
-
}) | {
|
|
4063
|
-
kind: "file";
|
|
4064
|
-
text: string;
|
|
4065
|
-
})) | ({
|
|
4066
|
-
__TYPE__: "MediaLink";
|
|
4067
|
-
} & {
|
|
4068
|
-
kind: "media";
|
|
4069
|
-
text: string;
|
|
4070
|
-
}) | ({
|
|
4071
|
-
__TYPE__: "DocumentLink";
|
|
4072
|
-
} & (({
|
|
4073
|
-
id: string;
|
|
4074
|
-
} & {
|
|
4075
|
-
text?: string;
|
|
4076
|
-
}) | {
|
|
4077
|
-
kind: "document";
|
|
4078
|
-
text: string;
|
|
4079
|
-
})) | ({
|
|
4080
|
-
__TYPE__: "ExternalLink";
|
|
4081
|
-
} & (({
|
|
4082
|
-
url: string;
|
|
4083
|
-
} & {
|
|
4084
|
-
kind?: "web";
|
|
4085
|
-
target?: string | null | undefined;
|
|
4086
|
-
preview?: {
|
|
4087
|
-
title?: string;
|
|
4088
|
-
} | null | undefined;
|
|
4089
|
-
} & {
|
|
4090
|
-
text?: string;
|
|
4091
|
-
}) | {
|
|
4092
|
-
kind: "web";
|
|
4093
|
-
text: string;
|
|
4094
|
-
})) | ({
|
|
4095
|
-
__TYPE__: "AnyLink";
|
|
4096
|
-
} & {
|
|
4097
|
-
text: string;
|
|
4098
|
-
});
|
|
4099
|
-
}[];
|
|
4100
|
-
} | {
|
|
4101
|
-
__TYPE__: "StructuredTextContent";
|
|
4102
|
-
value: (({
|
|
4103
|
-
type: "image";
|
|
4104
|
-
data: {
|
|
4105
|
-
origin: {
|
|
4106
|
-
id: string;
|
|
4107
|
-
url: string;
|
|
4108
|
-
width: number;
|
|
4109
|
-
height: number;
|
|
4110
|
-
};
|
|
4111
|
-
width: number;
|
|
4112
|
-
height: number;
|
|
4113
|
-
edit: {
|
|
4114
|
-
zoom: number;
|
|
4115
|
-
crop: {
|
|
4116
|
-
x: number;
|
|
4117
|
-
y: number;
|
|
4118
|
-
};
|
|
4119
|
-
background: string;
|
|
4120
|
-
};
|
|
4121
|
-
} & {
|
|
4122
|
-
url?: string;
|
|
4123
|
-
credits?: string | null;
|
|
4124
|
-
alt?: string | null;
|
|
4125
|
-
provider?: string | null | undefined;
|
|
3462
|
+
url?: string;
|
|
3463
|
+
credits?: string | null;
|
|
3464
|
+
alt?: string | null;
|
|
3465
|
+
provider?: string | null | undefined;
|
|
4126
3466
|
} & {
|
|
4127
3467
|
linkTo?: ({
|
|
4128
3468
|
__TYPE__: "ImageLink";
|
|
4129
3469
|
} & {
|
|
4130
|
-
kind:
|
|
3470
|
+
kind: "image";
|
|
4131
3471
|
id: string;
|
|
4132
3472
|
url: string;
|
|
4133
3473
|
height: string;
|
|
@@ -4139,7 +3479,7 @@ export declare const DocumentLegacy: {
|
|
|
4139
3479
|
}) | ({
|
|
4140
3480
|
__TYPE__: "FileLink";
|
|
4141
3481
|
} & {
|
|
4142
|
-
kind:
|
|
3482
|
+
kind: "file";
|
|
4143
3483
|
id: string;
|
|
4144
3484
|
url: string;
|
|
4145
3485
|
name: string;
|
|
@@ -4198,7 +3538,7 @@ export declare const DocumentLegacy: {
|
|
|
4198
3538
|
data: ({
|
|
4199
3539
|
__TYPE__: "ImageLink";
|
|
4200
3540
|
} & {
|
|
4201
|
-
kind:
|
|
3541
|
+
kind: "image";
|
|
4202
3542
|
id: string;
|
|
4203
3543
|
url: string;
|
|
4204
3544
|
height: string;
|
|
@@ -4210,7 +3550,7 @@ export declare const DocumentLegacy: {
|
|
|
4210
3550
|
}) | ({
|
|
4211
3551
|
__TYPE__: "FileLink";
|
|
4212
3552
|
} & {
|
|
4213
|
-
kind:
|
|
3553
|
+
kind: "file";
|
|
4214
3554
|
id: string;
|
|
4215
3555
|
url: string;
|
|
4216
3556
|
name: string;
|
|
@@ -4373,7 +3713,7 @@ export declare const DocumentLegacy: {
|
|
|
4373
3713
|
value: ({
|
|
4374
3714
|
__TYPE__: "ImageLink";
|
|
4375
3715
|
} & (({
|
|
4376
|
-
kind:
|
|
3716
|
+
kind: "image";
|
|
4377
3717
|
id: string;
|
|
4378
3718
|
url: string;
|
|
4379
3719
|
height: string;
|
|
@@ -4390,7 +3730,7 @@ export declare const DocumentLegacy: {
|
|
|
4390
3730
|
})) | ({
|
|
4391
3731
|
__TYPE__: "FileLink";
|
|
4392
3732
|
} & (({
|
|
4393
|
-
kind:
|
|
3733
|
+
kind: "file";
|
|
4394
3734
|
id: string;
|
|
4395
3735
|
url: string;
|
|
4396
3736
|
name: string;
|
|
@@ -4437,78 +3777,6 @@ export declare const DocumentLegacy: {
|
|
|
4437
3777
|
text: string;
|
|
4438
3778
|
});
|
|
4439
3779
|
} | {
|
|
4440
|
-
__TYPE__: "RepeatableContent";
|
|
4441
|
-
type: "Link";
|
|
4442
|
-
value: {
|
|
4443
|
-
__TYPE__: "LinkContent";
|
|
4444
|
-
value: ({
|
|
4445
|
-
__TYPE__: "ImageLink";
|
|
4446
|
-
} & (({
|
|
4447
|
-
kind: string;
|
|
4448
|
-
id: string;
|
|
4449
|
-
url: string;
|
|
4450
|
-
height: string;
|
|
4451
|
-
width: string;
|
|
4452
|
-
size: string;
|
|
4453
|
-
name: string;
|
|
4454
|
-
} & {
|
|
4455
|
-
date?: string | null | undefined;
|
|
4456
|
-
} & {
|
|
4457
|
-
text?: string;
|
|
4458
|
-
}) | {
|
|
4459
|
-
kind: "image";
|
|
4460
|
-
text: string;
|
|
4461
|
-
})) | ({
|
|
4462
|
-
__TYPE__: "FileLink";
|
|
4463
|
-
} & (({
|
|
4464
|
-
kind: string;
|
|
4465
|
-
id: string;
|
|
4466
|
-
url: string;
|
|
4467
|
-
name: string;
|
|
4468
|
-
size: string;
|
|
4469
|
-
} & {
|
|
4470
|
-
date?: string | null | undefined;
|
|
4471
|
-
} & {
|
|
4472
|
-
text?: string;
|
|
4473
|
-
}) | {
|
|
4474
|
-
kind: "file";
|
|
4475
|
-
text: string;
|
|
4476
|
-
})) | ({
|
|
4477
|
-
__TYPE__: "MediaLink";
|
|
4478
|
-
} & {
|
|
4479
|
-
kind: "media";
|
|
4480
|
-
text: string;
|
|
4481
|
-
}) | ({
|
|
4482
|
-
__TYPE__: "DocumentLink";
|
|
4483
|
-
} & (({
|
|
4484
|
-
id: string;
|
|
4485
|
-
} & {
|
|
4486
|
-
text?: string;
|
|
4487
|
-
}) | {
|
|
4488
|
-
kind: "document";
|
|
4489
|
-
text: string;
|
|
4490
|
-
})) | ({
|
|
4491
|
-
__TYPE__: "ExternalLink";
|
|
4492
|
-
} & (({
|
|
4493
|
-
url: string;
|
|
4494
|
-
} & {
|
|
4495
|
-
kind?: "web";
|
|
4496
|
-
target?: string | null | undefined;
|
|
4497
|
-
preview?: {
|
|
4498
|
-
title?: string;
|
|
4499
|
-
} | null | undefined;
|
|
4500
|
-
} & {
|
|
4501
|
-
text?: string;
|
|
4502
|
-
}) | {
|
|
4503
|
-
kind: "web";
|
|
4504
|
-
text: string;
|
|
4505
|
-
})) | ({
|
|
4506
|
-
__TYPE__: "AnyLink";
|
|
4507
|
-
} & {
|
|
4508
|
-
text: string;
|
|
4509
|
-
});
|
|
4510
|
-
}[];
|
|
4511
|
-
} | import("./fields").GroupContent | {
|
|
4512
3780
|
__TYPE__: "StructuredTextContent";
|
|
4513
3781
|
value: (({
|
|
4514
3782
|
type: "image";
|
|
@@ -4538,7 +3806,7 @@ export declare const DocumentLegacy: {
|
|
|
4538
3806
|
linkTo?: ({
|
|
4539
3807
|
__TYPE__: "ImageLink";
|
|
4540
3808
|
} & {
|
|
4541
|
-
kind:
|
|
3809
|
+
kind: "image";
|
|
4542
3810
|
id: string;
|
|
4543
3811
|
url: string;
|
|
4544
3812
|
height: string;
|
|
@@ -4550,7 +3818,7 @@ export declare const DocumentLegacy: {
|
|
|
4550
3818
|
}) | ({
|
|
4551
3819
|
__TYPE__: "FileLink";
|
|
4552
3820
|
} & {
|
|
4553
|
-
kind:
|
|
3821
|
+
kind: "file";
|
|
4554
3822
|
id: string;
|
|
4555
3823
|
url: string;
|
|
4556
3824
|
name: string;
|
|
@@ -4609,7 +3877,7 @@ export declare const DocumentLegacy: {
|
|
|
4609
3877
|
data: ({
|
|
4610
3878
|
__TYPE__: "ImageLink";
|
|
4611
3879
|
} & {
|
|
4612
|
-
kind:
|
|
3880
|
+
kind: "image";
|
|
4613
3881
|
id: string;
|
|
4614
3882
|
url: string;
|
|
4615
3883
|
height: string;
|
|
@@ -4621,7 +3889,7 @@ export declare const DocumentLegacy: {
|
|
|
4621
3889
|
}) | ({
|
|
4622
3890
|
__TYPE__: "FileLink";
|
|
4623
3891
|
} & {
|
|
4624
|
-
kind:
|
|
3892
|
+
kind: "file";
|
|
4625
3893
|
id: string;
|
|
4626
3894
|
url: string;
|
|
4627
3895
|
name: string;
|
|
@@ -4663,7 +3931,7 @@ export declare const DocumentLegacy: {
|
|
|
4663
3931
|
}))[];
|
|
4664
3932
|
} | {
|
|
4665
3933
|
__TYPE__: "SeparatorContent";
|
|
4666
|
-
}][];
|
|
3934
|
+
} | import("./fields").GroupContent][];
|
|
4667
3935
|
}[];
|
|
4668
3936
|
} | {
|
|
4669
3937
|
__TYPE__: "SharedSliceContent";
|
|
@@ -4786,7 +4054,7 @@ export declare const DocumentLegacy: {
|
|
|
4786
4054
|
value: ({
|
|
4787
4055
|
__TYPE__: "ImageLink";
|
|
4788
4056
|
} & (({
|
|
4789
|
-
kind:
|
|
4057
|
+
kind: "image";
|
|
4790
4058
|
id: string;
|
|
4791
4059
|
url: string;
|
|
4792
4060
|
height: string;
|
|
@@ -4803,7 +4071,7 @@ export declare const DocumentLegacy: {
|
|
|
4803
4071
|
})) | ({
|
|
4804
4072
|
__TYPE__: "FileLink";
|
|
4805
4073
|
} & (({
|
|
4806
|
-
kind:
|
|
4074
|
+
kind: "file";
|
|
4807
4075
|
id: string;
|
|
4808
4076
|
url: string;
|
|
4809
4077
|
name: string;
|
|
@@ -4850,78 +4118,6 @@ export declare const DocumentLegacy: {
|
|
|
4850
4118
|
text: string;
|
|
4851
4119
|
});
|
|
4852
4120
|
} | {
|
|
4853
|
-
__TYPE__: "RepeatableContent";
|
|
4854
|
-
type: "Link";
|
|
4855
|
-
value: {
|
|
4856
|
-
__TYPE__: "LinkContent";
|
|
4857
|
-
value: ({
|
|
4858
|
-
__TYPE__: "ImageLink";
|
|
4859
|
-
} & (({
|
|
4860
|
-
kind: string;
|
|
4861
|
-
id: string;
|
|
4862
|
-
url: string;
|
|
4863
|
-
height: string;
|
|
4864
|
-
width: string;
|
|
4865
|
-
size: string;
|
|
4866
|
-
name: string;
|
|
4867
|
-
} & {
|
|
4868
|
-
date?: string | null | undefined;
|
|
4869
|
-
} & {
|
|
4870
|
-
text?: string;
|
|
4871
|
-
}) | {
|
|
4872
|
-
kind: "image";
|
|
4873
|
-
text: string;
|
|
4874
|
-
})) | ({
|
|
4875
|
-
__TYPE__: "FileLink";
|
|
4876
|
-
} & (({
|
|
4877
|
-
kind: string;
|
|
4878
|
-
id: string;
|
|
4879
|
-
url: string;
|
|
4880
|
-
name: string;
|
|
4881
|
-
size: string;
|
|
4882
|
-
} & {
|
|
4883
|
-
date?: string | null | undefined;
|
|
4884
|
-
} & {
|
|
4885
|
-
text?: string;
|
|
4886
|
-
}) | {
|
|
4887
|
-
kind: "file";
|
|
4888
|
-
text: string;
|
|
4889
|
-
})) | ({
|
|
4890
|
-
__TYPE__: "MediaLink";
|
|
4891
|
-
} & {
|
|
4892
|
-
kind: "media";
|
|
4893
|
-
text: string;
|
|
4894
|
-
}) | ({
|
|
4895
|
-
__TYPE__: "DocumentLink";
|
|
4896
|
-
} & (({
|
|
4897
|
-
id: string;
|
|
4898
|
-
} & {
|
|
4899
|
-
text?: string;
|
|
4900
|
-
}) | {
|
|
4901
|
-
kind: "document";
|
|
4902
|
-
text: string;
|
|
4903
|
-
})) | ({
|
|
4904
|
-
__TYPE__: "ExternalLink";
|
|
4905
|
-
} & (({
|
|
4906
|
-
url: string;
|
|
4907
|
-
} & {
|
|
4908
|
-
kind?: "web";
|
|
4909
|
-
target?: string | null | undefined;
|
|
4910
|
-
preview?: {
|
|
4911
|
-
title?: string;
|
|
4912
|
-
} | null | undefined;
|
|
4913
|
-
} & {
|
|
4914
|
-
text?: string;
|
|
4915
|
-
}) | {
|
|
4916
|
-
kind: "web";
|
|
4917
|
-
text: string;
|
|
4918
|
-
})) | ({
|
|
4919
|
-
__TYPE__: "AnyLink";
|
|
4920
|
-
} & {
|
|
4921
|
-
text: string;
|
|
4922
|
-
});
|
|
4923
|
-
}[];
|
|
4924
|
-
} | import("./fields").GroupContent | {
|
|
4925
4121
|
__TYPE__: "StructuredTextContent";
|
|
4926
4122
|
value: (({
|
|
4927
4123
|
type: "image";
|
|
@@ -4951,7 +4147,7 @@ export declare const DocumentLegacy: {
|
|
|
4951
4147
|
linkTo?: ({
|
|
4952
4148
|
__TYPE__: "ImageLink";
|
|
4953
4149
|
} & {
|
|
4954
|
-
kind:
|
|
4150
|
+
kind: "image";
|
|
4955
4151
|
id: string;
|
|
4956
4152
|
url: string;
|
|
4957
4153
|
height: string;
|
|
@@ -4963,7 +4159,7 @@ export declare const DocumentLegacy: {
|
|
|
4963
4159
|
}) | ({
|
|
4964
4160
|
__TYPE__: "FileLink";
|
|
4965
4161
|
} & {
|
|
4966
|
-
kind:
|
|
4162
|
+
kind: "file";
|
|
4967
4163
|
id: string;
|
|
4968
4164
|
url: string;
|
|
4969
4165
|
name: string;
|
|
@@ -5022,7 +4218,7 @@ export declare const DocumentLegacy: {
|
|
|
5022
4218
|
data: ({
|
|
5023
4219
|
__TYPE__: "ImageLink";
|
|
5024
4220
|
} & {
|
|
5025
|
-
kind:
|
|
4221
|
+
kind: "image";
|
|
5026
4222
|
id: string;
|
|
5027
4223
|
url: string;
|
|
5028
4224
|
height: string;
|
|
@@ -5034,7 +4230,7 @@ export declare const DocumentLegacy: {
|
|
|
5034
4230
|
}) | ({
|
|
5035
4231
|
__TYPE__: "FileLink";
|
|
5036
4232
|
} & {
|
|
5037
|
-
kind:
|
|
4233
|
+
kind: "file";
|
|
5038
4234
|
id: string;
|
|
5039
4235
|
url: string;
|
|
5040
4236
|
name: string;
|
|
@@ -5076,7 +4272,7 @@ export declare const DocumentLegacy: {
|
|
|
5076
4272
|
}))[];
|
|
5077
4273
|
} | {
|
|
5078
4274
|
__TYPE__: "SeparatorContent";
|
|
5079
|
-
};
|
|
4275
|
+
} | import("./fields").GroupContent;
|
|
5080
4276
|
};
|
|
5081
4277
|
items: {
|
|
5082
4278
|
__TYPE__: "GroupItemContent";
|
|
@@ -5197,7 +4393,7 @@ export declare const DocumentLegacy: {
|
|
|
5197
4393
|
value: ({
|
|
5198
4394
|
__TYPE__: "ImageLink";
|
|
5199
4395
|
} & (({
|
|
5200
|
-
kind:
|
|
4396
|
+
kind: "image";
|
|
5201
4397
|
id: string;
|
|
5202
4398
|
url: string;
|
|
5203
4399
|
height: string;
|
|
@@ -5214,7 +4410,7 @@ export declare const DocumentLegacy: {
|
|
|
5214
4410
|
})) | ({
|
|
5215
4411
|
__TYPE__: "FileLink";
|
|
5216
4412
|
} & (({
|
|
5217
|
-
kind:
|
|
4413
|
+
kind: "file";
|
|
5218
4414
|
id: string;
|
|
5219
4415
|
url: string;
|
|
5220
4416
|
name: string;
|
|
@@ -5261,78 +4457,6 @@ export declare const DocumentLegacy: {
|
|
|
5261
4457
|
text: string;
|
|
5262
4458
|
});
|
|
5263
4459
|
} | {
|
|
5264
|
-
__TYPE__: "RepeatableContent";
|
|
5265
|
-
type: "Link";
|
|
5266
|
-
value: {
|
|
5267
|
-
__TYPE__: "LinkContent";
|
|
5268
|
-
value: ({
|
|
5269
|
-
__TYPE__: "ImageLink";
|
|
5270
|
-
} & (({
|
|
5271
|
-
kind: string;
|
|
5272
|
-
id: string;
|
|
5273
|
-
url: string;
|
|
5274
|
-
height: string;
|
|
5275
|
-
width: string;
|
|
5276
|
-
size: string;
|
|
5277
|
-
name: string;
|
|
5278
|
-
} & {
|
|
5279
|
-
date?: string | null | undefined;
|
|
5280
|
-
} & {
|
|
5281
|
-
text?: string;
|
|
5282
|
-
}) | {
|
|
5283
|
-
kind: "image";
|
|
5284
|
-
text: string;
|
|
5285
|
-
})) | ({
|
|
5286
|
-
__TYPE__: "FileLink";
|
|
5287
|
-
} & (({
|
|
5288
|
-
kind: string;
|
|
5289
|
-
id: string;
|
|
5290
|
-
url: string;
|
|
5291
|
-
name: string;
|
|
5292
|
-
size: string;
|
|
5293
|
-
} & {
|
|
5294
|
-
date?: string | null | undefined;
|
|
5295
|
-
} & {
|
|
5296
|
-
text?: string;
|
|
5297
|
-
}) | {
|
|
5298
|
-
kind: "file";
|
|
5299
|
-
text: string;
|
|
5300
|
-
})) | ({
|
|
5301
|
-
__TYPE__: "MediaLink";
|
|
5302
|
-
} & {
|
|
5303
|
-
kind: "media";
|
|
5304
|
-
text: string;
|
|
5305
|
-
}) | ({
|
|
5306
|
-
__TYPE__: "DocumentLink";
|
|
5307
|
-
} & (({
|
|
5308
|
-
id: string;
|
|
5309
|
-
} & {
|
|
5310
|
-
text?: string;
|
|
5311
|
-
}) | {
|
|
5312
|
-
kind: "document";
|
|
5313
|
-
text: string;
|
|
5314
|
-
})) | ({
|
|
5315
|
-
__TYPE__: "ExternalLink";
|
|
5316
|
-
} & (({
|
|
5317
|
-
url: string;
|
|
5318
|
-
} & {
|
|
5319
|
-
kind?: "web";
|
|
5320
|
-
target?: string | null | undefined;
|
|
5321
|
-
preview?: {
|
|
5322
|
-
title?: string;
|
|
5323
|
-
} | null | undefined;
|
|
5324
|
-
} & {
|
|
5325
|
-
text?: string;
|
|
5326
|
-
}) | {
|
|
5327
|
-
kind: "web";
|
|
5328
|
-
text: string;
|
|
5329
|
-
})) | ({
|
|
5330
|
-
__TYPE__: "AnyLink";
|
|
5331
|
-
} & {
|
|
5332
|
-
text: string;
|
|
5333
|
-
});
|
|
5334
|
-
}[];
|
|
5335
|
-
} | import("./fields").GroupContent | {
|
|
5336
4460
|
__TYPE__: "StructuredTextContent";
|
|
5337
4461
|
value: (({
|
|
5338
4462
|
type: "image";
|
|
@@ -5362,7 +4486,7 @@ export declare const DocumentLegacy: {
|
|
|
5362
4486
|
linkTo?: ({
|
|
5363
4487
|
__TYPE__: "ImageLink";
|
|
5364
4488
|
} & {
|
|
5365
|
-
kind:
|
|
4489
|
+
kind: "image";
|
|
5366
4490
|
id: string;
|
|
5367
4491
|
url: string;
|
|
5368
4492
|
height: string;
|
|
@@ -5374,7 +4498,7 @@ export declare const DocumentLegacy: {
|
|
|
5374
4498
|
}) | ({
|
|
5375
4499
|
__TYPE__: "FileLink";
|
|
5376
4500
|
} & {
|
|
5377
|
-
kind:
|
|
4501
|
+
kind: "file";
|
|
5378
4502
|
id: string;
|
|
5379
4503
|
url: string;
|
|
5380
4504
|
name: string;
|
|
@@ -5433,7 +4557,7 @@ export declare const DocumentLegacy: {
|
|
|
5433
4557
|
data: ({
|
|
5434
4558
|
__TYPE__: "ImageLink";
|
|
5435
4559
|
} & {
|
|
5436
|
-
kind:
|
|
4560
|
+
kind: "image";
|
|
5437
4561
|
id: string;
|
|
5438
4562
|
url: string;
|
|
5439
4563
|
height: string;
|
|
@@ -5445,7 +4569,7 @@ export declare const DocumentLegacy: {
|
|
|
5445
4569
|
}) | ({
|
|
5446
4570
|
__TYPE__: "FileLink";
|
|
5447
4571
|
} & {
|
|
5448
|
-
kind:
|
|
4572
|
+
kind: "file";
|
|
5449
4573
|
id: string;
|
|
5450
4574
|
url: string;
|
|
5451
4575
|
name: string;
|
|
@@ -5487,7 +4611,7 @@ export declare const DocumentLegacy: {
|
|
|
5487
4611
|
}))[];
|
|
5488
4612
|
} | {
|
|
5489
4613
|
__TYPE__: "SeparatorContent";
|
|
5490
|
-
}][];
|
|
4614
|
+
} | import("./fields").GroupContent][];
|
|
5491
4615
|
}[];
|
|
5492
4616
|
};
|
|
5493
4617
|
}[];
|
|
@@ -5644,7 +4768,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5644
4768
|
value: ({
|
|
5645
4769
|
__TYPE__: "ImageLink";
|
|
5646
4770
|
} & (({
|
|
5647
|
-
kind:
|
|
4771
|
+
kind: "image";
|
|
5648
4772
|
id: string;
|
|
5649
4773
|
url: string;
|
|
5650
4774
|
height: string;
|
|
@@ -5661,7 +4785,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5661
4785
|
})) | ({
|
|
5662
4786
|
__TYPE__: "FileLink";
|
|
5663
4787
|
} & (({
|
|
5664
|
-
kind:
|
|
4788
|
+
kind: "file";
|
|
5665
4789
|
id: string;
|
|
5666
4790
|
url: string;
|
|
5667
4791
|
name: string;
|
|
@@ -5708,78 +4832,6 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5708
4832
|
text: string;
|
|
5709
4833
|
});
|
|
5710
4834
|
} | {
|
|
5711
|
-
__TYPE__: "RepeatableContent";
|
|
5712
|
-
type: "Link";
|
|
5713
|
-
value: {
|
|
5714
|
-
__TYPE__: "LinkContent";
|
|
5715
|
-
value: ({
|
|
5716
|
-
__TYPE__: "ImageLink";
|
|
5717
|
-
} & (({
|
|
5718
|
-
kind: string;
|
|
5719
|
-
id: string;
|
|
5720
|
-
url: string;
|
|
5721
|
-
height: string;
|
|
5722
|
-
width: string;
|
|
5723
|
-
size: string;
|
|
5724
|
-
name: string;
|
|
5725
|
-
} & {
|
|
5726
|
-
date?: string | null | undefined;
|
|
5727
|
-
} & {
|
|
5728
|
-
text?: string;
|
|
5729
|
-
}) | {
|
|
5730
|
-
kind: "image";
|
|
5731
|
-
text: string;
|
|
5732
|
-
})) | ({
|
|
5733
|
-
__TYPE__: "FileLink";
|
|
5734
|
-
} & (({
|
|
5735
|
-
kind: string;
|
|
5736
|
-
id: string;
|
|
5737
|
-
url: string;
|
|
5738
|
-
name: string;
|
|
5739
|
-
size: string;
|
|
5740
|
-
} & {
|
|
5741
|
-
date?: string | null | undefined;
|
|
5742
|
-
} & {
|
|
5743
|
-
text?: string;
|
|
5744
|
-
}) | {
|
|
5745
|
-
kind: "file";
|
|
5746
|
-
text: string;
|
|
5747
|
-
})) | ({
|
|
5748
|
-
__TYPE__: "MediaLink";
|
|
5749
|
-
} & {
|
|
5750
|
-
kind: "media";
|
|
5751
|
-
text: string;
|
|
5752
|
-
}) | ({
|
|
5753
|
-
__TYPE__: "DocumentLink";
|
|
5754
|
-
} & (({
|
|
5755
|
-
id: string;
|
|
5756
|
-
} & {
|
|
5757
|
-
text?: string;
|
|
5758
|
-
}) | {
|
|
5759
|
-
kind: "document";
|
|
5760
|
-
text: string;
|
|
5761
|
-
})) | ({
|
|
5762
|
-
__TYPE__: "ExternalLink";
|
|
5763
|
-
} & (({
|
|
5764
|
-
url: string;
|
|
5765
|
-
} & {
|
|
5766
|
-
kind?: "web";
|
|
5767
|
-
target?: string | null | undefined;
|
|
5768
|
-
preview?: {
|
|
5769
|
-
title?: string;
|
|
5770
|
-
} | null | undefined;
|
|
5771
|
-
} & {
|
|
5772
|
-
text?: string;
|
|
5773
|
-
}) | {
|
|
5774
|
-
kind: "web";
|
|
5775
|
-
text: string;
|
|
5776
|
-
})) | ({
|
|
5777
|
-
__TYPE__: "AnyLink";
|
|
5778
|
-
} & {
|
|
5779
|
-
text: string;
|
|
5780
|
-
});
|
|
5781
|
-
}[];
|
|
5782
|
-
} | import("./fields").GroupContent | {
|
|
5783
4835
|
__TYPE__: "StructuredTextContent";
|
|
5784
4836
|
value: (({
|
|
5785
4837
|
type: "image";
|
|
@@ -5809,7 +4861,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5809
4861
|
linkTo?: ({
|
|
5810
4862
|
__TYPE__: "ImageLink";
|
|
5811
4863
|
} & {
|
|
5812
|
-
kind:
|
|
4864
|
+
kind: "image";
|
|
5813
4865
|
id: string;
|
|
5814
4866
|
url: string;
|
|
5815
4867
|
height: string;
|
|
@@ -5821,7 +4873,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5821
4873
|
}) | ({
|
|
5822
4874
|
__TYPE__: "FileLink";
|
|
5823
4875
|
} & {
|
|
5824
|
-
kind:
|
|
4876
|
+
kind: "file";
|
|
5825
4877
|
id: string;
|
|
5826
4878
|
url: string;
|
|
5827
4879
|
name: string;
|
|
@@ -5880,7 +4932,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5880
4932
|
data: ({
|
|
5881
4933
|
__TYPE__: "ImageLink";
|
|
5882
4934
|
} & {
|
|
5883
|
-
kind:
|
|
4935
|
+
kind: "image";
|
|
5884
4936
|
id: string;
|
|
5885
4937
|
url: string;
|
|
5886
4938
|
height: string;
|
|
@@ -5892,7 +4944,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5892
4944
|
}) | ({
|
|
5893
4945
|
__TYPE__: "FileLink";
|
|
5894
4946
|
} & {
|
|
5895
|
-
kind:
|
|
4947
|
+
kind: "file";
|
|
5896
4948
|
id: string;
|
|
5897
4949
|
url: string;
|
|
5898
4950
|
name: string;
|
|
@@ -5934,7 +4986,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5934
4986
|
}))[];
|
|
5935
4987
|
} | {
|
|
5936
4988
|
__TYPE__: "SeparatorContent";
|
|
5937
|
-
} | {
|
|
4989
|
+
} | import("./fields").GroupContent | {
|
|
5938
4990
|
__TYPE__: "UIDContent";
|
|
5939
4991
|
value: string;
|
|
5940
4992
|
} | {
|
|
@@ -6060,7 +5112,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6060
5112
|
value: ({
|
|
6061
5113
|
__TYPE__: "ImageLink";
|
|
6062
5114
|
} & (({
|
|
6063
|
-
kind:
|
|
5115
|
+
kind: "image";
|
|
6064
5116
|
id: string;
|
|
6065
5117
|
url: string;
|
|
6066
5118
|
height: string;
|
|
@@ -6077,7 +5129,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6077
5129
|
})) | ({
|
|
6078
5130
|
__TYPE__: "FileLink";
|
|
6079
5131
|
} & (({
|
|
6080
|
-
kind:
|
|
5132
|
+
kind: "file";
|
|
6081
5133
|
id: string;
|
|
6082
5134
|
url: string;
|
|
6083
5135
|
name: string;
|
|
@@ -6124,78 +5176,6 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6124
5176
|
text: string;
|
|
6125
5177
|
});
|
|
6126
5178
|
} | {
|
|
6127
|
-
__TYPE__: "RepeatableContent";
|
|
6128
|
-
type: "Link";
|
|
6129
|
-
value: {
|
|
6130
|
-
__TYPE__: "LinkContent";
|
|
6131
|
-
value: ({
|
|
6132
|
-
__TYPE__: "ImageLink";
|
|
6133
|
-
} & (({
|
|
6134
|
-
kind: string;
|
|
6135
|
-
id: string;
|
|
6136
|
-
url: string;
|
|
6137
|
-
height: string;
|
|
6138
|
-
width: string;
|
|
6139
|
-
size: string;
|
|
6140
|
-
name: string;
|
|
6141
|
-
} & {
|
|
6142
|
-
date?: string | null | undefined;
|
|
6143
|
-
} & {
|
|
6144
|
-
text?: string;
|
|
6145
|
-
}) | {
|
|
6146
|
-
kind: "image";
|
|
6147
|
-
text: string;
|
|
6148
|
-
})) | ({
|
|
6149
|
-
__TYPE__: "FileLink";
|
|
6150
|
-
} & (({
|
|
6151
|
-
kind: string;
|
|
6152
|
-
id: string;
|
|
6153
|
-
url: string;
|
|
6154
|
-
name: string;
|
|
6155
|
-
size: string;
|
|
6156
|
-
} & {
|
|
6157
|
-
date?: string | null | undefined;
|
|
6158
|
-
} & {
|
|
6159
|
-
text?: string;
|
|
6160
|
-
}) | {
|
|
6161
|
-
kind: "file";
|
|
6162
|
-
text: string;
|
|
6163
|
-
})) | ({
|
|
6164
|
-
__TYPE__: "MediaLink";
|
|
6165
|
-
} & {
|
|
6166
|
-
kind: "media";
|
|
6167
|
-
text: string;
|
|
6168
|
-
}) | ({
|
|
6169
|
-
__TYPE__: "DocumentLink";
|
|
6170
|
-
} & (({
|
|
6171
|
-
id: string;
|
|
6172
|
-
} & {
|
|
6173
|
-
text?: string;
|
|
6174
|
-
}) | {
|
|
6175
|
-
kind: "document";
|
|
6176
|
-
text: string;
|
|
6177
|
-
})) | ({
|
|
6178
|
-
__TYPE__: "ExternalLink";
|
|
6179
|
-
} & (({
|
|
6180
|
-
url: string;
|
|
6181
|
-
} & {
|
|
6182
|
-
kind?: "web";
|
|
6183
|
-
target?: string | null | undefined;
|
|
6184
|
-
preview?: {
|
|
6185
|
-
title?: string;
|
|
6186
|
-
} | null | undefined;
|
|
6187
|
-
} & {
|
|
6188
|
-
text?: string;
|
|
6189
|
-
}) | {
|
|
6190
|
-
kind: "web";
|
|
6191
|
-
text: string;
|
|
6192
|
-
})) | ({
|
|
6193
|
-
__TYPE__: "AnyLink";
|
|
6194
|
-
} & {
|
|
6195
|
-
text: string;
|
|
6196
|
-
});
|
|
6197
|
-
}[];
|
|
6198
|
-
} | import("./fields").GroupContent | {
|
|
6199
5179
|
__TYPE__: "StructuredTextContent";
|
|
6200
5180
|
value: (({
|
|
6201
5181
|
type: "image";
|
|
@@ -6225,7 +5205,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6225
5205
|
linkTo?: ({
|
|
6226
5206
|
__TYPE__: "ImageLink";
|
|
6227
5207
|
} & {
|
|
6228
|
-
kind:
|
|
5208
|
+
kind: "image";
|
|
6229
5209
|
id: string;
|
|
6230
5210
|
url: string;
|
|
6231
5211
|
height: string;
|
|
@@ -6237,7 +5217,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6237
5217
|
}) | ({
|
|
6238
5218
|
__TYPE__: "FileLink";
|
|
6239
5219
|
} & {
|
|
6240
|
-
kind:
|
|
5220
|
+
kind: "file";
|
|
6241
5221
|
id: string;
|
|
6242
5222
|
url: string;
|
|
6243
5223
|
name: string;
|
|
@@ -6296,7 +5276,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6296
5276
|
data: ({
|
|
6297
5277
|
__TYPE__: "ImageLink";
|
|
6298
5278
|
} & {
|
|
6299
|
-
kind:
|
|
5279
|
+
kind: "image";
|
|
6300
5280
|
id: string;
|
|
6301
5281
|
url: string;
|
|
6302
5282
|
height: string;
|
|
@@ -6308,7 +5288,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6308
5288
|
}) | ({
|
|
6309
5289
|
__TYPE__: "FileLink";
|
|
6310
5290
|
} & {
|
|
6311
|
-
kind:
|
|
5291
|
+
kind: "file";
|
|
6312
5292
|
id: string;
|
|
6313
5293
|
url: string;
|
|
6314
5294
|
name: string;
|
|
@@ -6350,7 +5330,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6350
5330
|
}))[];
|
|
6351
5331
|
} | {
|
|
6352
5332
|
__TYPE__: "SeparatorContent";
|
|
6353
|
-
} | {
|
|
5333
|
+
} | import("./fields").GroupContent | {
|
|
6354
5334
|
__TYPE__: "CompositeSliceContent";
|
|
6355
5335
|
nonRepeat: {
|
|
6356
5336
|
[x: string]: {
|
|
@@ -6470,7 +5450,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6470
5450
|
value: ({
|
|
6471
5451
|
__TYPE__: "ImageLink";
|
|
6472
5452
|
} & (({
|
|
6473
|
-
kind:
|
|
5453
|
+
kind: "image";
|
|
6474
5454
|
id: string;
|
|
6475
5455
|
url: string;
|
|
6476
5456
|
height: string;
|
|
@@ -6487,124 +5467,52 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6487
5467
|
})) | ({
|
|
6488
5468
|
__TYPE__: "FileLink";
|
|
6489
5469
|
} & (({
|
|
6490
|
-
kind:
|
|
6491
|
-
id: string;
|
|
6492
|
-
url: string;
|
|
6493
|
-
name: string;
|
|
6494
|
-
size: string;
|
|
6495
|
-
} & {
|
|
6496
|
-
date?: string | null | undefined;
|
|
6497
|
-
} & {
|
|
6498
|
-
text?: string;
|
|
6499
|
-
}) | {
|
|
6500
|
-
kind: "file";
|
|
6501
|
-
text: string;
|
|
6502
|
-
})) | ({
|
|
6503
|
-
__TYPE__: "MediaLink";
|
|
6504
|
-
} & {
|
|
6505
|
-
kind: "media";
|
|
6506
|
-
text: string;
|
|
6507
|
-
}) | ({
|
|
6508
|
-
__TYPE__: "DocumentLink";
|
|
6509
|
-
} & (({
|
|
6510
|
-
id: string;
|
|
6511
|
-
} & {
|
|
6512
|
-
text?: string;
|
|
6513
|
-
}) | {
|
|
6514
|
-
kind: "document";
|
|
6515
|
-
text: string;
|
|
6516
|
-
})) | ({
|
|
6517
|
-
__TYPE__: "ExternalLink";
|
|
6518
|
-
} & (({
|
|
6519
|
-
url: string;
|
|
6520
|
-
} & {
|
|
6521
|
-
kind?: "web";
|
|
6522
|
-
target?: string | null | undefined;
|
|
6523
|
-
preview?: {
|
|
6524
|
-
title?: string;
|
|
6525
|
-
} | null | undefined;
|
|
6526
|
-
} & {
|
|
6527
|
-
text?: string;
|
|
6528
|
-
}) | {
|
|
6529
|
-
kind: "web";
|
|
6530
|
-
text: string;
|
|
6531
|
-
})) | ({
|
|
6532
|
-
__TYPE__: "AnyLink";
|
|
6533
|
-
} & {
|
|
6534
|
-
text: string;
|
|
6535
|
-
});
|
|
6536
|
-
} | {
|
|
6537
|
-
__TYPE__: "RepeatableContent";
|
|
6538
|
-
type: "Link";
|
|
6539
|
-
value: {
|
|
6540
|
-
__TYPE__: "LinkContent";
|
|
6541
|
-
value: ({
|
|
6542
|
-
__TYPE__: "ImageLink";
|
|
6543
|
-
} & (({
|
|
6544
|
-
kind: string;
|
|
6545
|
-
id: string;
|
|
6546
|
-
url: string;
|
|
6547
|
-
height: string;
|
|
6548
|
-
width: string;
|
|
6549
|
-
size: string;
|
|
6550
|
-
name: string;
|
|
6551
|
-
} & {
|
|
6552
|
-
date?: string | null | undefined;
|
|
6553
|
-
} & {
|
|
6554
|
-
text?: string;
|
|
6555
|
-
}) | {
|
|
6556
|
-
kind: "image";
|
|
6557
|
-
text: string;
|
|
6558
|
-
})) | ({
|
|
6559
|
-
__TYPE__: "FileLink";
|
|
6560
|
-
} & (({
|
|
6561
|
-
kind: string;
|
|
6562
|
-
id: string;
|
|
6563
|
-
url: string;
|
|
6564
|
-
name: string;
|
|
6565
|
-
size: string;
|
|
6566
|
-
} & {
|
|
6567
|
-
date?: string | null | undefined;
|
|
6568
|
-
} & {
|
|
6569
|
-
text?: string;
|
|
6570
|
-
}) | {
|
|
6571
|
-
kind: "file";
|
|
6572
|
-
text: string;
|
|
6573
|
-
})) | ({
|
|
6574
|
-
__TYPE__: "MediaLink";
|
|
6575
|
-
} & {
|
|
6576
|
-
kind: "media";
|
|
6577
|
-
text: string;
|
|
6578
|
-
}) | ({
|
|
6579
|
-
__TYPE__: "DocumentLink";
|
|
6580
|
-
} & (({
|
|
6581
|
-
id: string;
|
|
6582
|
-
} & {
|
|
6583
|
-
text?: string;
|
|
6584
|
-
}) | {
|
|
6585
|
-
kind: "document";
|
|
6586
|
-
text: string;
|
|
6587
|
-
})) | ({
|
|
6588
|
-
__TYPE__: "ExternalLink";
|
|
6589
|
-
} & (({
|
|
6590
|
-
url: string;
|
|
6591
|
-
} & {
|
|
6592
|
-
kind?: "web";
|
|
6593
|
-
target?: string | null | undefined;
|
|
6594
|
-
preview?: {
|
|
6595
|
-
title?: string;
|
|
6596
|
-
} | null | undefined;
|
|
6597
|
-
} & {
|
|
6598
|
-
text?: string;
|
|
6599
|
-
}) | {
|
|
6600
|
-
kind: "web";
|
|
6601
|
-
text: string;
|
|
6602
|
-
})) | ({
|
|
6603
|
-
__TYPE__: "AnyLink";
|
|
6604
|
-
} & {
|
|
6605
|
-
text: string;
|
|
6606
|
-
});
|
|
6607
|
-
}[];
|
|
5470
|
+
kind: "file";
|
|
5471
|
+
id: string;
|
|
5472
|
+
url: string;
|
|
5473
|
+
name: string;
|
|
5474
|
+
size: string;
|
|
5475
|
+
} & {
|
|
5476
|
+
date?: string | null | undefined;
|
|
5477
|
+
} & {
|
|
5478
|
+
text?: string;
|
|
5479
|
+
}) | {
|
|
5480
|
+
kind: "file";
|
|
5481
|
+
text: string;
|
|
5482
|
+
})) | ({
|
|
5483
|
+
__TYPE__: "MediaLink";
|
|
5484
|
+
} & {
|
|
5485
|
+
kind: "media";
|
|
5486
|
+
text: string;
|
|
5487
|
+
}) | ({
|
|
5488
|
+
__TYPE__: "DocumentLink";
|
|
5489
|
+
} & (({
|
|
5490
|
+
id: string;
|
|
5491
|
+
} & {
|
|
5492
|
+
text?: string;
|
|
5493
|
+
}) | {
|
|
5494
|
+
kind: "document";
|
|
5495
|
+
text: string;
|
|
5496
|
+
})) | ({
|
|
5497
|
+
__TYPE__: "ExternalLink";
|
|
5498
|
+
} & (({
|
|
5499
|
+
url: string;
|
|
5500
|
+
} & {
|
|
5501
|
+
kind?: "web";
|
|
5502
|
+
target?: string | null | undefined;
|
|
5503
|
+
preview?: {
|
|
5504
|
+
title?: string;
|
|
5505
|
+
} | null | undefined;
|
|
5506
|
+
} & {
|
|
5507
|
+
text?: string;
|
|
5508
|
+
}) | {
|
|
5509
|
+
kind: "web";
|
|
5510
|
+
text: string;
|
|
5511
|
+
})) | ({
|
|
5512
|
+
__TYPE__: "AnyLink";
|
|
5513
|
+
} & {
|
|
5514
|
+
text: string;
|
|
5515
|
+
});
|
|
6608
5516
|
} | {
|
|
6609
5517
|
__TYPE__: "StructuredTextContent";
|
|
6610
5518
|
value: (({
|
|
@@ -6635,7 +5543,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6635
5543
|
linkTo?: ({
|
|
6636
5544
|
__TYPE__: "ImageLink";
|
|
6637
5545
|
} & {
|
|
6638
|
-
kind:
|
|
5546
|
+
kind: "image";
|
|
6639
5547
|
id: string;
|
|
6640
5548
|
url: string;
|
|
6641
5549
|
height: string;
|
|
@@ -6647,7 +5555,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6647
5555
|
}) | ({
|
|
6648
5556
|
__TYPE__: "FileLink";
|
|
6649
5557
|
} & {
|
|
6650
|
-
kind:
|
|
5558
|
+
kind: "file";
|
|
6651
5559
|
id: string;
|
|
6652
5560
|
url: string;
|
|
6653
5561
|
name: string;
|
|
@@ -6706,7 +5614,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6706
5614
|
data: ({
|
|
6707
5615
|
__TYPE__: "ImageLink";
|
|
6708
5616
|
} & {
|
|
6709
|
-
kind:
|
|
5617
|
+
kind: "image";
|
|
6710
5618
|
id: string;
|
|
6711
5619
|
url: string;
|
|
6712
5620
|
height: string;
|
|
@@ -6718,7 +5626,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6718
5626
|
}) | ({
|
|
6719
5627
|
__TYPE__: "FileLink";
|
|
6720
5628
|
} & {
|
|
6721
|
-
kind:
|
|
5629
|
+
kind: "file";
|
|
6722
5630
|
id: string;
|
|
6723
5631
|
url: string;
|
|
6724
5632
|
name: string;
|
|
@@ -6881,7 +5789,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6881
5789
|
value: ({
|
|
6882
5790
|
__TYPE__: "ImageLink";
|
|
6883
5791
|
} & (({
|
|
6884
|
-
kind:
|
|
5792
|
+
kind: "image";
|
|
6885
5793
|
id: string;
|
|
6886
5794
|
url: string;
|
|
6887
5795
|
height: string;
|
|
@@ -6898,7 +5806,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6898
5806
|
})) | ({
|
|
6899
5807
|
__TYPE__: "FileLink";
|
|
6900
5808
|
} & (({
|
|
6901
|
-
kind:
|
|
5809
|
+
kind: "file";
|
|
6902
5810
|
id: string;
|
|
6903
5811
|
url: string;
|
|
6904
5812
|
name: string;
|
|
@@ -6945,78 +5853,6 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6945
5853
|
text: string;
|
|
6946
5854
|
});
|
|
6947
5855
|
} | {
|
|
6948
|
-
__TYPE__: "RepeatableContent";
|
|
6949
|
-
type: "Link";
|
|
6950
|
-
value: {
|
|
6951
|
-
__TYPE__: "LinkContent";
|
|
6952
|
-
value: ({
|
|
6953
|
-
__TYPE__: "ImageLink";
|
|
6954
|
-
} & (({
|
|
6955
|
-
kind: string;
|
|
6956
|
-
id: string;
|
|
6957
|
-
url: string;
|
|
6958
|
-
height: string;
|
|
6959
|
-
width: string;
|
|
6960
|
-
size: string;
|
|
6961
|
-
name: string;
|
|
6962
|
-
} & {
|
|
6963
|
-
date?: string | null | undefined;
|
|
6964
|
-
} & {
|
|
6965
|
-
text?: string;
|
|
6966
|
-
}) | {
|
|
6967
|
-
kind: "image";
|
|
6968
|
-
text: string;
|
|
6969
|
-
})) | ({
|
|
6970
|
-
__TYPE__: "FileLink";
|
|
6971
|
-
} & (({
|
|
6972
|
-
kind: string;
|
|
6973
|
-
id: string;
|
|
6974
|
-
url: string;
|
|
6975
|
-
name: string;
|
|
6976
|
-
size: string;
|
|
6977
|
-
} & {
|
|
6978
|
-
date?: string | null | undefined;
|
|
6979
|
-
} & {
|
|
6980
|
-
text?: string;
|
|
6981
|
-
}) | {
|
|
6982
|
-
kind: "file";
|
|
6983
|
-
text: string;
|
|
6984
|
-
})) | ({
|
|
6985
|
-
__TYPE__: "MediaLink";
|
|
6986
|
-
} & {
|
|
6987
|
-
kind: "media";
|
|
6988
|
-
text: string;
|
|
6989
|
-
}) | ({
|
|
6990
|
-
__TYPE__: "DocumentLink";
|
|
6991
|
-
} & (({
|
|
6992
|
-
id: string;
|
|
6993
|
-
} & {
|
|
6994
|
-
text?: string;
|
|
6995
|
-
}) | {
|
|
6996
|
-
kind: "document";
|
|
6997
|
-
text: string;
|
|
6998
|
-
})) | ({
|
|
6999
|
-
__TYPE__: "ExternalLink";
|
|
7000
|
-
} & (({
|
|
7001
|
-
url: string;
|
|
7002
|
-
} & {
|
|
7003
|
-
kind?: "web";
|
|
7004
|
-
target?: string | null | undefined;
|
|
7005
|
-
preview?: {
|
|
7006
|
-
title?: string;
|
|
7007
|
-
} | null | undefined;
|
|
7008
|
-
} & {
|
|
7009
|
-
text?: string;
|
|
7010
|
-
}) | {
|
|
7011
|
-
kind: "web";
|
|
7012
|
-
text: string;
|
|
7013
|
-
})) | ({
|
|
7014
|
-
__TYPE__: "AnyLink";
|
|
7015
|
-
} & {
|
|
7016
|
-
text: string;
|
|
7017
|
-
});
|
|
7018
|
-
}[];
|
|
7019
|
-
} | import("./fields").GroupContent | {
|
|
7020
5856
|
__TYPE__: "StructuredTextContent";
|
|
7021
5857
|
value: (({
|
|
7022
5858
|
type: "image";
|
|
@@ -7046,7 +5882,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7046
5882
|
linkTo?: ({
|
|
7047
5883
|
__TYPE__: "ImageLink";
|
|
7048
5884
|
} & {
|
|
7049
|
-
kind:
|
|
5885
|
+
kind: "image";
|
|
7050
5886
|
id: string;
|
|
7051
5887
|
url: string;
|
|
7052
5888
|
height: string;
|
|
@@ -7058,7 +5894,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7058
5894
|
}) | ({
|
|
7059
5895
|
__TYPE__: "FileLink";
|
|
7060
5896
|
} & {
|
|
7061
|
-
kind:
|
|
5897
|
+
kind: "file";
|
|
7062
5898
|
id: string;
|
|
7063
5899
|
url: string;
|
|
7064
5900
|
name: string;
|
|
@@ -7117,7 +5953,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7117
5953
|
data: ({
|
|
7118
5954
|
__TYPE__: "ImageLink";
|
|
7119
5955
|
} & {
|
|
7120
|
-
kind:
|
|
5956
|
+
kind: "image";
|
|
7121
5957
|
id: string;
|
|
7122
5958
|
url: string;
|
|
7123
5959
|
height: string;
|
|
@@ -7129,7 +5965,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7129
5965
|
}) | ({
|
|
7130
5966
|
__TYPE__: "FileLink";
|
|
7131
5967
|
} & {
|
|
7132
|
-
kind:
|
|
5968
|
+
kind: "file";
|
|
7133
5969
|
id: string;
|
|
7134
5970
|
url: string;
|
|
7135
5971
|
name: string;
|
|
@@ -7171,7 +6007,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7171
6007
|
}))[];
|
|
7172
6008
|
} | {
|
|
7173
6009
|
__TYPE__: "SeparatorContent";
|
|
7174
|
-
}][];
|
|
6010
|
+
} | import("./fields").GroupContent][];
|
|
7175
6011
|
}[];
|
|
7176
6012
|
} | {
|
|
7177
6013
|
__TYPE__: "SharedSliceContent";
|
|
@@ -7294,7 +6130,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7294
6130
|
value: ({
|
|
7295
6131
|
__TYPE__: "ImageLink";
|
|
7296
6132
|
} & (({
|
|
7297
|
-
kind:
|
|
6133
|
+
kind: "image";
|
|
7298
6134
|
id: string;
|
|
7299
6135
|
url: string;
|
|
7300
6136
|
height: string;
|
|
@@ -7311,7 +6147,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7311
6147
|
})) | ({
|
|
7312
6148
|
__TYPE__: "FileLink";
|
|
7313
6149
|
} & (({
|
|
7314
|
-
kind:
|
|
6150
|
+
kind: "file";
|
|
7315
6151
|
id: string;
|
|
7316
6152
|
url: string;
|
|
7317
6153
|
name: string;
|
|
@@ -7358,78 +6194,6 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7358
6194
|
text: string;
|
|
7359
6195
|
});
|
|
7360
6196
|
} | {
|
|
7361
|
-
__TYPE__: "RepeatableContent";
|
|
7362
|
-
type: "Link";
|
|
7363
|
-
value: {
|
|
7364
|
-
__TYPE__: "LinkContent";
|
|
7365
|
-
value: ({
|
|
7366
|
-
__TYPE__: "ImageLink";
|
|
7367
|
-
} & (({
|
|
7368
|
-
kind: string;
|
|
7369
|
-
id: string;
|
|
7370
|
-
url: string;
|
|
7371
|
-
height: string;
|
|
7372
|
-
width: string;
|
|
7373
|
-
size: string;
|
|
7374
|
-
name: string;
|
|
7375
|
-
} & {
|
|
7376
|
-
date?: string | null | undefined;
|
|
7377
|
-
} & {
|
|
7378
|
-
text?: string;
|
|
7379
|
-
}) | {
|
|
7380
|
-
kind: "image";
|
|
7381
|
-
text: string;
|
|
7382
|
-
})) | ({
|
|
7383
|
-
__TYPE__: "FileLink";
|
|
7384
|
-
} & (({
|
|
7385
|
-
kind: string;
|
|
7386
|
-
id: string;
|
|
7387
|
-
url: string;
|
|
7388
|
-
name: string;
|
|
7389
|
-
size: string;
|
|
7390
|
-
} & {
|
|
7391
|
-
date?: string | null | undefined;
|
|
7392
|
-
} & {
|
|
7393
|
-
text?: string;
|
|
7394
|
-
}) | {
|
|
7395
|
-
kind: "file";
|
|
7396
|
-
text: string;
|
|
7397
|
-
})) | ({
|
|
7398
|
-
__TYPE__: "MediaLink";
|
|
7399
|
-
} & {
|
|
7400
|
-
kind: "media";
|
|
7401
|
-
text: string;
|
|
7402
|
-
}) | ({
|
|
7403
|
-
__TYPE__: "DocumentLink";
|
|
7404
|
-
} & (({
|
|
7405
|
-
id: string;
|
|
7406
|
-
} & {
|
|
7407
|
-
text?: string;
|
|
7408
|
-
}) | {
|
|
7409
|
-
kind: "document";
|
|
7410
|
-
text: string;
|
|
7411
|
-
})) | ({
|
|
7412
|
-
__TYPE__: "ExternalLink";
|
|
7413
|
-
} & (({
|
|
7414
|
-
url: string;
|
|
7415
|
-
} & {
|
|
7416
|
-
kind?: "web";
|
|
7417
|
-
target?: string | null | undefined;
|
|
7418
|
-
preview?: {
|
|
7419
|
-
title?: string;
|
|
7420
|
-
} | null | undefined;
|
|
7421
|
-
} & {
|
|
7422
|
-
text?: string;
|
|
7423
|
-
}) | {
|
|
7424
|
-
kind: "web";
|
|
7425
|
-
text: string;
|
|
7426
|
-
})) | ({
|
|
7427
|
-
__TYPE__: "AnyLink";
|
|
7428
|
-
} & {
|
|
7429
|
-
text: string;
|
|
7430
|
-
});
|
|
7431
|
-
}[];
|
|
7432
|
-
} | import("./fields").GroupContent | {
|
|
7433
6197
|
__TYPE__: "StructuredTextContent";
|
|
7434
6198
|
value: (({
|
|
7435
6199
|
type: "image";
|
|
@@ -7459,7 +6223,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7459
6223
|
linkTo?: ({
|
|
7460
6224
|
__TYPE__: "ImageLink";
|
|
7461
6225
|
} & {
|
|
7462
|
-
kind:
|
|
6226
|
+
kind: "image";
|
|
7463
6227
|
id: string;
|
|
7464
6228
|
url: string;
|
|
7465
6229
|
height: string;
|
|
@@ -7471,7 +6235,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7471
6235
|
}) | ({
|
|
7472
6236
|
__TYPE__: "FileLink";
|
|
7473
6237
|
} & {
|
|
7474
|
-
kind:
|
|
6238
|
+
kind: "file";
|
|
7475
6239
|
id: string;
|
|
7476
6240
|
url: string;
|
|
7477
6241
|
name: string;
|
|
@@ -7530,7 +6294,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7530
6294
|
data: ({
|
|
7531
6295
|
__TYPE__: "ImageLink";
|
|
7532
6296
|
} & {
|
|
7533
|
-
kind:
|
|
6297
|
+
kind: "image";
|
|
7534
6298
|
id: string;
|
|
7535
6299
|
url: string;
|
|
7536
6300
|
height: string;
|
|
@@ -7542,7 +6306,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7542
6306
|
}) | ({
|
|
7543
6307
|
__TYPE__: "FileLink";
|
|
7544
6308
|
} & {
|
|
7545
|
-
kind:
|
|
6309
|
+
kind: "file";
|
|
7546
6310
|
id: string;
|
|
7547
6311
|
url: string;
|
|
7548
6312
|
name: string;
|
|
@@ -7584,7 +6348,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7584
6348
|
}))[];
|
|
7585
6349
|
} | {
|
|
7586
6350
|
__TYPE__: "SeparatorContent";
|
|
7587
|
-
};
|
|
6351
|
+
} | import("./fields").GroupContent;
|
|
7588
6352
|
};
|
|
7589
6353
|
items: {
|
|
7590
6354
|
__TYPE__: "GroupItemContent";
|
|
@@ -7705,7 +6469,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7705
6469
|
value: ({
|
|
7706
6470
|
__TYPE__: "ImageLink";
|
|
7707
6471
|
} & (({
|
|
7708
|
-
kind:
|
|
6472
|
+
kind: "image";
|
|
7709
6473
|
id: string;
|
|
7710
6474
|
url: string;
|
|
7711
6475
|
height: string;
|
|
@@ -7722,7 +6486,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7722
6486
|
})) | ({
|
|
7723
6487
|
__TYPE__: "FileLink";
|
|
7724
6488
|
} & (({
|
|
7725
|
-
kind:
|
|
6489
|
+
kind: "file";
|
|
7726
6490
|
id: string;
|
|
7727
6491
|
url: string;
|
|
7728
6492
|
name: string;
|
|
@@ -7769,78 +6533,6 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7769
6533
|
text: string;
|
|
7770
6534
|
});
|
|
7771
6535
|
} | {
|
|
7772
|
-
__TYPE__: "RepeatableContent";
|
|
7773
|
-
type: "Link";
|
|
7774
|
-
value: {
|
|
7775
|
-
__TYPE__: "LinkContent";
|
|
7776
|
-
value: ({
|
|
7777
|
-
__TYPE__: "ImageLink";
|
|
7778
|
-
} & (({
|
|
7779
|
-
kind: string;
|
|
7780
|
-
id: string;
|
|
7781
|
-
url: string;
|
|
7782
|
-
height: string;
|
|
7783
|
-
width: string;
|
|
7784
|
-
size: string;
|
|
7785
|
-
name: string;
|
|
7786
|
-
} & {
|
|
7787
|
-
date?: string | null | undefined;
|
|
7788
|
-
} & {
|
|
7789
|
-
text?: string;
|
|
7790
|
-
}) | {
|
|
7791
|
-
kind: "image";
|
|
7792
|
-
text: string;
|
|
7793
|
-
})) | ({
|
|
7794
|
-
__TYPE__: "FileLink";
|
|
7795
|
-
} & (({
|
|
7796
|
-
kind: string;
|
|
7797
|
-
id: string;
|
|
7798
|
-
url: string;
|
|
7799
|
-
name: string;
|
|
7800
|
-
size: string;
|
|
7801
|
-
} & {
|
|
7802
|
-
date?: string | null | undefined;
|
|
7803
|
-
} & {
|
|
7804
|
-
text?: string;
|
|
7805
|
-
}) | {
|
|
7806
|
-
kind: "file";
|
|
7807
|
-
text: string;
|
|
7808
|
-
})) | ({
|
|
7809
|
-
__TYPE__: "MediaLink";
|
|
7810
|
-
} & {
|
|
7811
|
-
kind: "media";
|
|
7812
|
-
text: string;
|
|
7813
|
-
}) | ({
|
|
7814
|
-
__TYPE__: "DocumentLink";
|
|
7815
|
-
} & (({
|
|
7816
|
-
id: string;
|
|
7817
|
-
} & {
|
|
7818
|
-
text?: string;
|
|
7819
|
-
}) | {
|
|
7820
|
-
kind: "document";
|
|
7821
|
-
text: string;
|
|
7822
|
-
})) | ({
|
|
7823
|
-
__TYPE__: "ExternalLink";
|
|
7824
|
-
} & (({
|
|
7825
|
-
url: string;
|
|
7826
|
-
} & {
|
|
7827
|
-
kind?: "web";
|
|
7828
|
-
target?: string | null | undefined;
|
|
7829
|
-
preview?: {
|
|
7830
|
-
title?: string;
|
|
7831
|
-
} | null | undefined;
|
|
7832
|
-
} & {
|
|
7833
|
-
text?: string;
|
|
7834
|
-
}) | {
|
|
7835
|
-
kind: "web";
|
|
7836
|
-
text: string;
|
|
7837
|
-
})) | ({
|
|
7838
|
-
__TYPE__: "AnyLink";
|
|
7839
|
-
} & {
|
|
7840
|
-
text: string;
|
|
7841
|
-
});
|
|
7842
|
-
}[];
|
|
7843
|
-
} | import("./fields").GroupContent | {
|
|
7844
6536
|
__TYPE__: "StructuredTextContent";
|
|
7845
6537
|
value: (({
|
|
7846
6538
|
type: "image";
|
|
@@ -7870,7 +6562,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7870
6562
|
linkTo?: ({
|
|
7871
6563
|
__TYPE__: "ImageLink";
|
|
7872
6564
|
} & {
|
|
7873
|
-
kind:
|
|
6565
|
+
kind: "image";
|
|
7874
6566
|
id: string;
|
|
7875
6567
|
url: string;
|
|
7876
6568
|
height: string;
|
|
@@ -7882,7 +6574,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7882
6574
|
}) | ({
|
|
7883
6575
|
__TYPE__: "FileLink";
|
|
7884
6576
|
} & {
|
|
7885
|
-
kind:
|
|
6577
|
+
kind: "file";
|
|
7886
6578
|
id: string;
|
|
7887
6579
|
url: string;
|
|
7888
6580
|
name: string;
|
|
@@ -7941,7 +6633,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7941
6633
|
data: ({
|
|
7942
6634
|
__TYPE__: "ImageLink";
|
|
7943
6635
|
} & {
|
|
7944
|
-
kind:
|
|
6636
|
+
kind: "image";
|
|
7945
6637
|
id: string;
|
|
7946
6638
|
url: string;
|
|
7947
6639
|
height: string;
|
|
@@ -7953,7 +6645,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7953
6645
|
}) | ({
|
|
7954
6646
|
__TYPE__: "FileLink";
|
|
7955
6647
|
} & {
|
|
7956
|
-
kind:
|
|
6648
|
+
kind: "file";
|
|
7957
6649
|
id: string;
|
|
7958
6650
|
url: string;
|
|
7959
6651
|
name: string;
|
|
@@ -7995,7 +6687,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7995
6687
|
}))[];
|
|
7996
6688
|
} | {
|
|
7997
6689
|
__TYPE__: "SeparatorContent";
|
|
7998
|
-
}][];
|
|
6690
|
+
} | import("./fields").GroupContent][];
|
|
7999
6691
|
}[];
|
|
8000
6692
|
};
|
|
8001
6693
|
}[];
|