@prismicio/types-internal 2.7.0-alpha.8 → 2.7.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/content/Document.d.ts +409 -1603
- package/lib/content/fields/WidgetContent.d.ts +407 -1601
- package/lib/content/fields/nestable/LinkContent.d.ts +355 -30
- package/lib/content/fields/nestable/LinkContent.js +149 -46
- package/lib/content/fields/nestable/NestableContent.d.ts +67 -266
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +120 -654
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +8 -4
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +60 -320
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +134 -532
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +37 -138
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +134 -532
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +67 -266
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +67 -266
- package/lib/content/fields/slices/Slice/index.d.ts +260 -1010
- package/lib/content/fields/slices/SliceItem.d.ts +260 -1010
- package/lib/content/fields/slices/SlicesContent.d.ts +335 -1330
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +247 -54
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +10 -6
|
@@ -127,6 +127,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
127
127
|
name: string;
|
|
128
128
|
} & {
|
|
129
129
|
date?: string | null | undefined;
|
|
130
|
+
} & {
|
|
130
131
|
text?: string;
|
|
131
132
|
}) | {
|
|
132
133
|
kind: "image";
|
|
@@ -141,6 +142,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
141
142
|
size: string;
|
|
142
143
|
} & {
|
|
143
144
|
date?: string | null | undefined;
|
|
145
|
+
} & {
|
|
144
146
|
text?: string;
|
|
145
147
|
}) | {
|
|
146
148
|
kind: "file";
|
|
@@ -169,6 +171,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
169
171
|
preview?: {
|
|
170
172
|
title?: string;
|
|
171
173
|
} | null | undefined;
|
|
174
|
+
} & {
|
|
172
175
|
text?: string;
|
|
173
176
|
}) | {
|
|
174
177
|
kind: "web";
|
|
@@ -207,7 +210,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
207
210
|
} & {
|
|
208
211
|
linkTo?: ({
|
|
209
212
|
__TYPE__: "ImageLink";
|
|
210
|
-
} &
|
|
213
|
+
} & {
|
|
211
214
|
kind: "image";
|
|
212
215
|
id: string;
|
|
213
216
|
url: string;
|
|
@@ -217,13 +220,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
217
220
|
name: string;
|
|
218
221
|
} & {
|
|
219
222
|
date?: string | null | undefined;
|
|
220
|
-
|
|
221
|
-
}) | {
|
|
222
|
-
kind: "image";
|
|
223
|
-
text: string;
|
|
224
|
-
})) | ({
|
|
223
|
+
}) | ({
|
|
225
224
|
__TYPE__: "FileLink";
|
|
226
|
-
} &
|
|
225
|
+
} & {
|
|
227
226
|
kind: "file";
|
|
228
227
|
id: string;
|
|
229
228
|
url: string;
|
|
@@ -231,27 +230,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
231
230
|
size: string;
|
|
232
231
|
} & {
|
|
233
232
|
date?: string | null | undefined;
|
|
234
|
-
text?: string;
|
|
235
|
-
}) | {
|
|
236
|
-
kind: "file";
|
|
237
|
-
text: string;
|
|
238
|
-
})) | ({
|
|
239
|
-
__TYPE__: "MediaLink";
|
|
240
|
-
} & {
|
|
241
|
-
kind: "media";
|
|
242
|
-
text: string;
|
|
243
233
|
}) | ({
|
|
244
234
|
__TYPE__: "DocumentLink";
|
|
245
|
-
} & (({
|
|
246
|
-
id: string;
|
|
247
235
|
} & {
|
|
248
|
-
|
|
249
|
-
}) | {
|
|
250
|
-
kind: "document";
|
|
251
|
-
text: string;
|
|
252
|
-
})) | ({
|
|
236
|
+
id: string;
|
|
237
|
+
}) | ({
|
|
253
238
|
__TYPE__: "ExternalLink";
|
|
254
|
-
} &
|
|
239
|
+
} & {
|
|
255
240
|
url: string;
|
|
256
241
|
} & {
|
|
257
242
|
kind?: "web";
|
|
@@ -259,14 +244,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
259
244
|
preview?: {
|
|
260
245
|
title?: string;
|
|
261
246
|
} | null | undefined;
|
|
262
|
-
text?: string;
|
|
263
|
-
}) | {
|
|
264
|
-
kind: "web";
|
|
265
|
-
text: string;
|
|
266
|
-
})) | ({
|
|
267
|
-
__TYPE__: "AnyLink";
|
|
268
|
-
} & {
|
|
269
|
-
text: string;
|
|
270
247
|
}) | null | undefined;
|
|
271
248
|
};
|
|
272
249
|
} & {
|
|
@@ -304,7 +281,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
304
281
|
spans?: ({
|
|
305
282
|
data: ({
|
|
306
283
|
__TYPE__: "ImageLink";
|
|
307
|
-
} &
|
|
284
|
+
} & {
|
|
308
285
|
kind: "image";
|
|
309
286
|
id: string;
|
|
310
287
|
url: string;
|
|
@@ -314,13 +291,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
314
291
|
name: string;
|
|
315
292
|
} & {
|
|
316
293
|
date?: string | null | undefined;
|
|
317
|
-
|
|
318
|
-
}) | {
|
|
319
|
-
kind: "image";
|
|
320
|
-
text: string;
|
|
321
|
-
})) | ({
|
|
294
|
+
}) | ({
|
|
322
295
|
__TYPE__: "FileLink";
|
|
323
|
-
} &
|
|
296
|
+
} & {
|
|
324
297
|
kind: "file";
|
|
325
298
|
id: string;
|
|
326
299
|
url: string;
|
|
@@ -328,27 +301,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
328
301
|
size: string;
|
|
329
302
|
} & {
|
|
330
303
|
date?: string | null | undefined;
|
|
331
|
-
text?: string;
|
|
332
|
-
}) | {
|
|
333
|
-
kind: "file";
|
|
334
|
-
text: string;
|
|
335
|
-
})) | ({
|
|
336
|
-
__TYPE__: "MediaLink";
|
|
337
|
-
} & {
|
|
338
|
-
kind: "media";
|
|
339
|
-
text: string;
|
|
340
304
|
}) | ({
|
|
341
305
|
__TYPE__: "DocumentLink";
|
|
342
|
-
} & (({
|
|
343
|
-
id: string;
|
|
344
306
|
} & {
|
|
345
|
-
|
|
346
|
-
}) | {
|
|
347
|
-
kind: "document";
|
|
348
|
-
text: string;
|
|
349
|
-
})) | ({
|
|
307
|
+
id: string;
|
|
308
|
+
}) | ({
|
|
350
309
|
__TYPE__: "ExternalLink";
|
|
351
|
-
} &
|
|
310
|
+
} & {
|
|
352
311
|
url: string;
|
|
353
312
|
} & {
|
|
354
313
|
kind?: "web";
|
|
@@ -356,14 +315,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
356
315
|
preview?: {
|
|
357
316
|
title?: string;
|
|
358
317
|
} | null | undefined;
|
|
359
|
-
text?: string;
|
|
360
|
-
}) | {
|
|
361
|
-
kind: "web";
|
|
362
|
-
text: string;
|
|
363
|
-
})) | ({
|
|
364
|
-
__TYPE__: "AnyLink";
|
|
365
|
-
} & {
|
|
366
|
-
text: string;
|
|
367
318
|
});
|
|
368
319
|
start: number;
|
|
369
320
|
end: number;
|
|
@@ -514,6 +465,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
514
465
|
name: string;
|
|
515
466
|
} & {
|
|
516
467
|
date?: string | null | undefined;
|
|
468
|
+
} & {
|
|
517
469
|
text?: string;
|
|
518
470
|
}) | {
|
|
519
471
|
kind: "image";
|
|
@@ -528,6 +480,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
528
480
|
size: string;
|
|
529
481
|
} & {
|
|
530
482
|
date?: string | null | undefined;
|
|
483
|
+
} & {
|
|
531
484
|
text?: string;
|
|
532
485
|
}) | {
|
|
533
486
|
kind: "file";
|
|
@@ -556,6 +509,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
556
509
|
preview?: {
|
|
557
510
|
title?: string;
|
|
558
511
|
} | null | undefined;
|
|
512
|
+
} & {
|
|
559
513
|
text?: string;
|
|
560
514
|
}) | {
|
|
561
515
|
kind: "web";
|
|
@@ -594,7 +548,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
594
548
|
} & {
|
|
595
549
|
linkTo?: ({
|
|
596
550
|
__TYPE__: "ImageLink";
|
|
597
|
-
} &
|
|
551
|
+
} & {
|
|
598
552
|
kind: "image";
|
|
599
553
|
id: string;
|
|
600
554
|
url: string;
|
|
@@ -604,13 +558,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
604
558
|
name: string;
|
|
605
559
|
} & {
|
|
606
560
|
date?: string | null | undefined;
|
|
607
|
-
|
|
608
|
-
}) | {
|
|
609
|
-
kind: "image";
|
|
610
|
-
text: string;
|
|
611
|
-
})) | ({
|
|
561
|
+
}) | ({
|
|
612
562
|
__TYPE__: "FileLink";
|
|
613
|
-
} &
|
|
563
|
+
} & {
|
|
614
564
|
kind: "file";
|
|
615
565
|
id: string;
|
|
616
566
|
url: string;
|
|
@@ -618,27 +568,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
618
568
|
size: string;
|
|
619
569
|
} & {
|
|
620
570
|
date?: string | null | undefined;
|
|
621
|
-
text?: string;
|
|
622
|
-
}) | {
|
|
623
|
-
kind: "file";
|
|
624
|
-
text: string;
|
|
625
|
-
})) | ({
|
|
626
|
-
__TYPE__: "MediaLink";
|
|
627
|
-
} & {
|
|
628
|
-
kind: "media";
|
|
629
|
-
text: string;
|
|
630
571
|
}) | ({
|
|
631
572
|
__TYPE__: "DocumentLink";
|
|
632
|
-
} & (({
|
|
633
|
-
id: string;
|
|
634
573
|
} & {
|
|
635
|
-
|
|
636
|
-
}) | {
|
|
637
|
-
kind: "document";
|
|
638
|
-
text: string;
|
|
639
|
-
})) | ({
|
|
574
|
+
id: string;
|
|
575
|
+
}) | ({
|
|
640
576
|
__TYPE__: "ExternalLink";
|
|
641
|
-
} &
|
|
577
|
+
} & {
|
|
642
578
|
url: string;
|
|
643
579
|
} & {
|
|
644
580
|
kind?: "web";
|
|
@@ -646,14 +582,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
646
582
|
preview?: {
|
|
647
583
|
title?: string;
|
|
648
584
|
} | null | undefined;
|
|
649
|
-
text?: string;
|
|
650
|
-
}) | {
|
|
651
|
-
kind: "web";
|
|
652
|
-
text: string;
|
|
653
|
-
})) | ({
|
|
654
|
-
__TYPE__: "AnyLink";
|
|
655
|
-
} & {
|
|
656
|
-
text: string;
|
|
657
585
|
}) | null | undefined;
|
|
658
586
|
};
|
|
659
587
|
} & {
|
|
@@ -691,7 +619,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
691
619
|
spans?: ({
|
|
692
620
|
data: ({
|
|
693
621
|
__TYPE__: "ImageLink";
|
|
694
|
-
} &
|
|
622
|
+
} & {
|
|
695
623
|
kind: "image";
|
|
696
624
|
id: string;
|
|
697
625
|
url: string;
|
|
@@ -701,13 +629,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
701
629
|
name: string;
|
|
702
630
|
} & {
|
|
703
631
|
date?: string | null | undefined;
|
|
704
|
-
|
|
705
|
-
}) | {
|
|
706
|
-
kind: "image";
|
|
707
|
-
text: string;
|
|
708
|
-
})) | ({
|
|
632
|
+
}) | ({
|
|
709
633
|
__TYPE__: "FileLink";
|
|
710
|
-
} &
|
|
634
|
+
} & {
|
|
711
635
|
kind: "file";
|
|
712
636
|
id: string;
|
|
713
637
|
url: string;
|
|
@@ -715,27 +639,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
715
639
|
size: string;
|
|
716
640
|
} & {
|
|
717
641
|
date?: string | null | undefined;
|
|
718
|
-
text?: string;
|
|
719
|
-
}) | {
|
|
720
|
-
kind: "file";
|
|
721
|
-
text: string;
|
|
722
|
-
})) | ({
|
|
723
|
-
__TYPE__: "MediaLink";
|
|
724
|
-
} & {
|
|
725
|
-
kind: "media";
|
|
726
|
-
text: string;
|
|
727
642
|
}) | ({
|
|
728
643
|
__TYPE__: "DocumentLink";
|
|
729
|
-
} & (({
|
|
730
|
-
id: string;
|
|
731
644
|
} & {
|
|
732
|
-
|
|
733
|
-
}) | {
|
|
734
|
-
kind: "document";
|
|
735
|
-
text: string;
|
|
736
|
-
})) | ({
|
|
645
|
+
id: string;
|
|
646
|
+
}) | ({
|
|
737
647
|
__TYPE__: "ExternalLink";
|
|
738
|
-
} &
|
|
648
|
+
} & {
|
|
739
649
|
url: string;
|
|
740
650
|
} & {
|
|
741
651
|
kind?: "web";
|
|
@@ -743,14 +653,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
743
653
|
preview?: {
|
|
744
654
|
title?: string;
|
|
745
655
|
} | null | undefined;
|
|
746
|
-
text?: string;
|
|
747
|
-
}) | {
|
|
748
|
-
kind: "web";
|
|
749
|
-
text: string;
|
|
750
|
-
})) | ({
|
|
751
|
-
__TYPE__: "AnyLink";
|
|
752
|
-
} & {
|
|
753
|
-
text: string;
|
|
754
656
|
});
|
|
755
657
|
start: number;
|
|
756
658
|
end: number;
|
|
@@ -902,6 +804,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
902
804
|
name: string;
|
|
903
805
|
} & {
|
|
904
806
|
date?: string | null | undefined;
|
|
807
|
+
} & {
|
|
905
808
|
text?: string;
|
|
906
809
|
}) | {
|
|
907
810
|
kind: "image";
|
|
@@ -916,6 +819,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
916
819
|
size: string;
|
|
917
820
|
} & {
|
|
918
821
|
date?: string | null | undefined;
|
|
822
|
+
} & {
|
|
919
823
|
text?: string;
|
|
920
824
|
}) | {
|
|
921
825
|
kind: "file";
|
|
@@ -944,6 +848,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
944
848
|
preview?: {
|
|
945
849
|
title?: string;
|
|
946
850
|
} | null | undefined;
|
|
851
|
+
} & {
|
|
947
852
|
text?: string;
|
|
948
853
|
}) | {
|
|
949
854
|
kind: "web";
|
|
@@ -982,7 +887,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
982
887
|
} & {
|
|
983
888
|
linkTo?: ({
|
|
984
889
|
__TYPE__: "ImageLink";
|
|
985
|
-
} &
|
|
890
|
+
} & {
|
|
986
891
|
kind: "image";
|
|
987
892
|
id: string;
|
|
988
893
|
url: string;
|
|
@@ -992,13 +897,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
992
897
|
name: string;
|
|
993
898
|
} & {
|
|
994
899
|
date?: string | null | undefined;
|
|
995
|
-
|
|
996
|
-
}) | {
|
|
997
|
-
kind: "image";
|
|
998
|
-
text: string;
|
|
999
|
-
})) | ({
|
|
900
|
+
}) | ({
|
|
1000
901
|
__TYPE__: "FileLink";
|
|
1001
|
-
} &
|
|
902
|
+
} & {
|
|
1002
903
|
kind: "file";
|
|
1003
904
|
id: string;
|
|
1004
905
|
url: string;
|
|
@@ -1006,27 +907,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1006
907
|
size: string;
|
|
1007
908
|
} & {
|
|
1008
909
|
date?: string | null | undefined;
|
|
1009
|
-
text?: string;
|
|
1010
|
-
}) | {
|
|
1011
|
-
kind: "file";
|
|
1012
|
-
text: string;
|
|
1013
|
-
})) | ({
|
|
1014
|
-
__TYPE__: "MediaLink";
|
|
1015
|
-
} & {
|
|
1016
|
-
kind: "media";
|
|
1017
|
-
text: string;
|
|
1018
910
|
}) | ({
|
|
1019
911
|
__TYPE__: "DocumentLink";
|
|
1020
|
-
} & (({
|
|
1021
|
-
id: string;
|
|
1022
912
|
} & {
|
|
1023
|
-
|
|
1024
|
-
}) | {
|
|
1025
|
-
kind: "document";
|
|
1026
|
-
text: string;
|
|
1027
|
-
})) | ({
|
|
913
|
+
id: string;
|
|
914
|
+
}) | ({
|
|
1028
915
|
__TYPE__: "ExternalLink";
|
|
1029
|
-
} &
|
|
916
|
+
} & {
|
|
1030
917
|
url: string;
|
|
1031
918
|
} & {
|
|
1032
919
|
kind?: "web";
|
|
@@ -1034,14 +921,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1034
921
|
preview?: {
|
|
1035
922
|
title?: string;
|
|
1036
923
|
} | null | undefined;
|
|
1037
|
-
text?: string;
|
|
1038
|
-
}) | {
|
|
1039
|
-
kind: "web";
|
|
1040
|
-
text: string;
|
|
1041
|
-
})) | ({
|
|
1042
|
-
__TYPE__: "AnyLink";
|
|
1043
|
-
} & {
|
|
1044
|
-
text: string;
|
|
1045
924
|
}) | null | undefined;
|
|
1046
925
|
};
|
|
1047
926
|
} & {
|
|
@@ -1079,7 +958,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1079
958
|
spans?: ({
|
|
1080
959
|
data: ({
|
|
1081
960
|
__TYPE__: "ImageLink";
|
|
1082
|
-
} &
|
|
961
|
+
} & {
|
|
1083
962
|
kind: "image";
|
|
1084
963
|
id: string;
|
|
1085
964
|
url: string;
|
|
@@ -1089,13 +968,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1089
968
|
name: string;
|
|
1090
969
|
} & {
|
|
1091
970
|
date?: string | null | undefined;
|
|
1092
|
-
|
|
1093
|
-
}) | {
|
|
1094
|
-
kind: "image";
|
|
1095
|
-
text: string;
|
|
1096
|
-
})) | ({
|
|
971
|
+
}) | ({
|
|
1097
972
|
__TYPE__: "FileLink";
|
|
1098
|
-
} &
|
|
973
|
+
} & {
|
|
1099
974
|
kind: "file";
|
|
1100
975
|
id: string;
|
|
1101
976
|
url: string;
|
|
@@ -1103,27 +978,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1103
978
|
size: string;
|
|
1104
979
|
} & {
|
|
1105
980
|
date?: string | null | undefined;
|
|
1106
|
-
text?: string;
|
|
1107
|
-
}) | {
|
|
1108
|
-
kind: "file";
|
|
1109
|
-
text: string;
|
|
1110
|
-
})) | ({
|
|
1111
|
-
__TYPE__: "MediaLink";
|
|
1112
|
-
} & {
|
|
1113
|
-
kind: "media";
|
|
1114
|
-
text: string;
|
|
1115
981
|
}) | ({
|
|
1116
982
|
__TYPE__: "DocumentLink";
|
|
1117
|
-
} & (({
|
|
1118
|
-
id: string;
|
|
1119
983
|
} & {
|
|
1120
|
-
|
|
1121
|
-
}) | {
|
|
1122
|
-
kind: "document";
|
|
1123
|
-
text: string;
|
|
1124
|
-
})) | ({
|
|
984
|
+
id: string;
|
|
985
|
+
}) | ({
|
|
1125
986
|
__TYPE__: "ExternalLink";
|
|
1126
|
-
} &
|
|
987
|
+
} & {
|
|
1127
988
|
url: string;
|
|
1128
989
|
} & {
|
|
1129
990
|
kind?: "web";
|
|
@@ -1131,14 +992,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1131
992
|
preview?: {
|
|
1132
993
|
title?: string;
|
|
1133
994
|
} | null | undefined;
|
|
1134
|
-
text?: string;
|
|
1135
|
-
}) | {
|
|
1136
|
-
kind: "web";
|
|
1137
|
-
text: string;
|
|
1138
|
-
})) | ({
|
|
1139
|
-
__TYPE__: "AnyLink";
|
|
1140
|
-
} & {
|
|
1141
|
-
text: string;
|
|
1142
995
|
});
|
|
1143
996
|
start: number;
|
|
1144
997
|
end: number;
|
|
@@ -1292,6 +1145,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1292
1145
|
name: string;
|
|
1293
1146
|
} & {
|
|
1294
1147
|
date?: string | null | undefined;
|
|
1148
|
+
} & {
|
|
1295
1149
|
text?: string;
|
|
1296
1150
|
}) | {
|
|
1297
1151
|
kind: "image";
|
|
@@ -1306,6 +1160,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1306
1160
|
size: string;
|
|
1307
1161
|
} & {
|
|
1308
1162
|
date?: string | null | undefined;
|
|
1163
|
+
} & {
|
|
1309
1164
|
text?: string;
|
|
1310
1165
|
}) | {
|
|
1311
1166
|
kind: "file";
|
|
@@ -1334,6 +1189,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1334
1189
|
preview?: {
|
|
1335
1190
|
title?: string;
|
|
1336
1191
|
} | null | undefined;
|
|
1192
|
+
} & {
|
|
1337
1193
|
text?: string;
|
|
1338
1194
|
}) | {
|
|
1339
1195
|
kind: "web";
|
|
@@ -1372,7 +1228,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1372
1228
|
} & {
|
|
1373
1229
|
linkTo?: ({
|
|
1374
1230
|
__TYPE__: "ImageLink";
|
|
1375
|
-
} &
|
|
1231
|
+
} & {
|
|
1376
1232
|
kind: "image";
|
|
1377
1233
|
id: string;
|
|
1378
1234
|
url: string;
|
|
@@ -1382,13 +1238,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1382
1238
|
name: string;
|
|
1383
1239
|
} & {
|
|
1384
1240
|
date?: string | null | undefined;
|
|
1385
|
-
|
|
1386
|
-
}) | {
|
|
1387
|
-
kind: "image";
|
|
1388
|
-
text: string;
|
|
1389
|
-
})) | ({
|
|
1241
|
+
}) | ({
|
|
1390
1242
|
__TYPE__: "FileLink";
|
|
1391
|
-
} &
|
|
1243
|
+
} & {
|
|
1392
1244
|
kind: "file";
|
|
1393
1245
|
id: string;
|
|
1394
1246
|
url: string;
|
|
@@ -1396,27 +1248,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1396
1248
|
size: string;
|
|
1397
1249
|
} & {
|
|
1398
1250
|
date?: string | null | undefined;
|
|
1399
|
-
text?: string;
|
|
1400
|
-
}) | {
|
|
1401
|
-
kind: "file";
|
|
1402
|
-
text: string;
|
|
1403
|
-
})) | ({
|
|
1404
|
-
__TYPE__: "MediaLink";
|
|
1405
|
-
} & {
|
|
1406
|
-
kind: "media";
|
|
1407
|
-
text: string;
|
|
1408
1251
|
}) | ({
|
|
1409
1252
|
__TYPE__: "DocumentLink";
|
|
1410
|
-
} & (({
|
|
1411
|
-
id: string;
|
|
1412
1253
|
} & {
|
|
1413
|
-
|
|
1414
|
-
}) | {
|
|
1415
|
-
kind: "document";
|
|
1416
|
-
text: string;
|
|
1417
|
-
})) | ({
|
|
1254
|
+
id: string;
|
|
1255
|
+
}) | ({
|
|
1418
1256
|
__TYPE__: "ExternalLink";
|
|
1419
|
-
} &
|
|
1257
|
+
} & {
|
|
1420
1258
|
url: string;
|
|
1421
1259
|
} & {
|
|
1422
1260
|
kind?: "web";
|
|
@@ -1424,14 +1262,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1424
1262
|
preview?: {
|
|
1425
1263
|
title?: string;
|
|
1426
1264
|
} | null | undefined;
|
|
1427
|
-
text?: string;
|
|
1428
|
-
}) | {
|
|
1429
|
-
kind: "web";
|
|
1430
|
-
text: string;
|
|
1431
|
-
})) | ({
|
|
1432
|
-
__TYPE__: "AnyLink";
|
|
1433
|
-
} & {
|
|
1434
|
-
text: string;
|
|
1435
1265
|
}) | null | undefined;
|
|
1436
1266
|
};
|
|
1437
1267
|
} & {
|
|
@@ -1469,7 +1299,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1469
1299
|
spans?: ({
|
|
1470
1300
|
data: ({
|
|
1471
1301
|
__TYPE__: "ImageLink";
|
|
1472
|
-
} &
|
|
1302
|
+
} & {
|
|
1473
1303
|
kind: "image";
|
|
1474
1304
|
id: string;
|
|
1475
1305
|
url: string;
|
|
@@ -1479,13 +1309,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1479
1309
|
name: string;
|
|
1480
1310
|
} & {
|
|
1481
1311
|
date?: string | null | undefined;
|
|
1482
|
-
|
|
1483
|
-
}) | {
|
|
1484
|
-
kind: "image";
|
|
1485
|
-
text: string;
|
|
1486
|
-
})) | ({
|
|
1312
|
+
}) | ({
|
|
1487
1313
|
__TYPE__: "FileLink";
|
|
1488
|
-
} &
|
|
1314
|
+
} & {
|
|
1489
1315
|
kind: "file";
|
|
1490
1316
|
id: string;
|
|
1491
1317
|
url: string;
|
|
@@ -1493,27 +1319,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1493
1319
|
size: string;
|
|
1494
1320
|
} & {
|
|
1495
1321
|
date?: string | null | undefined;
|
|
1496
|
-
text?: string;
|
|
1497
|
-
}) | {
|
|
1498
|
-
kind: "file";
|
|
1499
|
-
text: string;
|
|
1500
|
-
})) | ({
|
|
1501
|
-
__TYPE__: "MediaLink";
|
|
1502
|
-
} & {
|
|
1503
|
-
kind: "media";
|
|
1504
|
-
text: string;
|
|
1505
1322
|
}) | ({
|
|
1506
1323
|
__TYPE__: "DocumentLink";
|
|
1507
|
-
} & (({
|
|
1508
|
-
id: string;
|
|
1509
1324
|
} & {
|
|
1510
|
-
|
|
1511
|
-
}) | {
|
|
1512
|
-
kind: "document";
|
|
1513
|
-
text: string;
|
|
1514
|
-
})) | ({
|
|
1325
|
+
id: string;
|
|
1326
|
+
}) | ({
|
|
1515
1327
|
__TYPE__: "ExternalLink";
|
|
1516
|
-
} &
|
|
1328
|
+
} & {
|
|
1517
1329
|
url: string;
|
|
1518
1330
|
} & {
|
|
1519
1331
|
kind?: "web";
|
|
@@ -1521,14 +1333,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1521
1333
|
preview?: {
|
|
1522
1334
|
title?: string;
|
|
1523
1335
|
} | null | undefined;
|
|
1524
|
-
text?: string;
|
|
1525
|
-
}) | {
|
|
1526
|
-
kind: "web";
|
|
1527
|
-
text: string;
|
|
1528
|
-
})) | ({
|
|
1529
|
-
__TYPE__: "AnyLink";
|
|
1530
|
-
} & {
|
|
1531
|
-
text: string;
|
|
1532
1336
|
});
|
|
1533
1337
|
start: number;
|
|
1534
1338
|
end: number;
|
|
@@ -1680,6 +1484,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1680
1484
|
name: string;
|
|
1681
1485
|
} & {
|
|
1682
1486
|
date?: string | null | undefined;
|
|
1487
|
+
} & {
|
|
1683
1488
|
text?: string;
|
|
1684
1489
|
}) | {
|
|
1685
1490
|
kind: "image";
|
|
@@ -1694,6 +1499,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1694
1499
|
size: string;
|
|
1695
1500
|
} & {
|
|
1696
1501
|
date?: string | null | undefined;
|
|
1502
|
+
} & {
|
|
1697
1503
|
text?: string;
|
|
1698
1504
|
}) | {
|
|
1699
1505
|
kind: "file";
|
|
@@ -1722,6 +1528,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1722
1528
|
preview?: {
|
|
1723
1529
|
title?: string;
|
|
1724
1530
|
} | null | undefined;
|
|
1531
|
+
} & {
|
|
1725
1532
|
text?: string;
|
|
1726
1533
|
}) | {
|
|
1727
1534
|
kind: "web";
|
|
@@ -1760,7 +1567,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1760
1567
|
} & {
|
|
1761
1568
|
linkTo?: ({
|
|
1762
1569
|
__TYPE__: "ImageLink";
|
|
1763
|
-
} &
|
|
1570
|
+
} & {
|
|
1764
1571
|
kind: "image";
|
|
1765
1572
|
id: string;
|
|
1766
1573
|
url: string;
|
|
@@ -1770,13 +1577,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1770
1577
|
name: string;
|
|
1771
1578
|
} & {
|
|
1772
1579
|
date?: string | null | undefined;
|
|
1773
|
-
|
|
1774
|
-
}) | {
|
|
1775
|
-
kind: "image";
|
|
1776
|
-
text: string;
|
|
1777
|
-
})) | ({
|
|
1580
|
+
}) | ({
|
|
1778
1581
|
__TYPE__: "FileLink";
|
|
1779
|
-
} &
|
|
1582
|
+
} & {
|
|
1780
1583
|
kind: "file";
|
|
1781
1584
|
id: string;
|
|
1782
1585
|
url: string;
|
|
@@ -1784,27 +1587,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1784
1587
|
size: string;
|
|
1785
1588
|
} & {
|
|
1786
1589
|
date?: string | null | undefined;
|
|
1787
|
-
text?: string;
|
|
1788
|
-
}) | {
|
|
1789
|
-
kind: "file";
|
|
1790
|
-
text: string;
|
|
1791
|
-
})) | ({
|
|
1792
|
-
__TYPE__: "MediaLink";
|
|
1793
|
-
} & {
|
|
1794
|
-
kind: "media";
|
|
1795
|
-
text: string;
|
|
1796
1590
|
}) | ({
|
|
1797
1591
|
__TYPE__: "DocumentLink";
|
|
1798
|
-
} & (({
|
|
1799
|
-
id: string;
|
|
1800
1592
|
} & {
|
|
1801
|
-
|
|
1802
|
-
}) | {
|
|
1803
|
-
kind: "document";
|
|
1804
|
-
text: string;
|
|
1805
|
-
})) | ({
|
|
1593
|
+
id: string;
|
|
1594
|
+
}) | ({
|
|
1806
1595
|
__TYPE__: "ExternalLink";
|
|
1807
|
-
} &
|
|
1596
|
+
} & {
|
|
1808
1597
|
url: string;
|
|
1809
1598
|
} & {
|
|
1810
1599
|
kind?: "web";
|
|
@@ -1812,14 +1601,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1812
1601
|
preview?: {
|
|
1813
1602
|
title?: string;
|
|
1814
1603
|
} | null | undefined;
|
|
1815
|
-
text?: string;
|
|
1816
|
-
}) | {
|
|
1817
|
-
kind: "web";
|
|
1818
|
-
text: string;
|
|
1819
|
-
})) | ({
|
|
1820
|
-
__TYPE__: "AnyLink";
|
|
1821
|
-
} & {
|
|
1822
|
-
text: string;
|
|
1823
1604
|
}) | null | undefined;
|
|
1824
1605
|
};
|
|
1825
1606
|
} & {
|
|
@@ -1857,7 +1638,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1857
1638
|
spans?: ({
|
|
1858
1639
|
data: ({
|
|
1859
1640
|
__TYPE__: "ImageLink";
|
|
1860
|
-
} &
|
|
1641
|
+
} & {
|
|
1861
1642
|
kind: "image";
|
|
1862
1643
|
id: string;
|
|
1863
1644
|
url: string;
|
|
@@ -1867,13 +1648,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1867
1648
|
name: string;
|
|
1868
1649
|
} & {
|
|
1869
1650
|
date?: string | null | undefined;
|
|
1870
|
-
|
|
1871
|
-
}) | {
|
|
1872
|
-
kind: "image";
|
|
1873
|
-
text: string;
|
|
1874
|
-
})) | ({
|
|
1651
|
+
}) | ({
|
|
1875
1652
|
__TYPE__: "FileLink";
|
|
1876
|
-
} &
|
|
1653
|
+
} & {
|
|
1877
1654
|
kind: "file";
|
|
1878
1655
|
id: string;
|
|
1879
1656
|
url: string;
|
|
@@ -1881,27 +1658,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1881
1658
|
size: string;
|
|
1882
1659
|
} & {
|
|
1883
1660
|
date?: string | null | undefined;
|
|
1884
|
-
text?: string;
|
|
1885
|
-
}) | {
|
|
1886
|
-
kind: "file";
|
|
1887
|
-
text: string;
|
|
1888
|
-
})) | ({
|
|
1889
|
-
__TYPE__: "MediaLink";
|
|
1890
|
-
} & {
|
|
1891
|
-
kind: "media";
|
|
1892
|
-
text: string;
|
|
1893
1661
|
}) | ({
|
|
1894
1662
|
__TYPE__: "DocumentLink";
|
|
1895
|
-
} & (({
|
|
1896
|
-
id: string;
|
|
1897
1663
|
} & {
|
|
1898
|
-
|
|
1899
|
-
}) | {
|
|
1900
|
-
kind: "document";
|
|
1901
|
-
text: string;
|
|
1902
|
-
})) | ({
|
|
1664
|
+
id: string;
|
|
1665
|
+
}) | ({
|
|
1903
1666
|
__TYPE__: "ExternalLink";
|
|
1904
|
-
} &
|
|
1667
|
+
} & {
|
|
1905
1668
|
url: string;
|
|
1906
1669
|
} & {
|
|
1907
1670
|
kind?: "web";
|
|
@@ -1909,14 +1672,6 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1909
1672
|
preview?: {
|
|
1910
1673
|
title?: string;
|
|
1911
1674
|
} | null | undefined;
|
|
1912
|
-
text?: string;
|
|
1913
|
-
}) | {
|
|
1914
|
-
kind: "web";
|
|
1915
|
-
text: string;
|
|
1916
|
-
})) | ({
|
|
1917
|
-
__TYPE__: "AnyLink";
|
|
1918
|
-
} & {
|
|
1919
|
-
text: string;
|
|
1920
1675
|
});
|
|
1921
1676
|
start: number;
|
|
1922
1677
|
end: number;
|
|
@@ -2059,7 +1814,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2059
1814
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2060
1815
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2061
1816
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2062
|
-
}>>, t.UnionC<[t.
|
|
1817
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2063
1818
|
kind: t.Type<"image", "image", unknown>;
|
|
2064
1819
|
id: t.StringC;
|
|
2065
1820
|
url: t.StringC;
|
|
@@ -2067,15 +1822,16 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2067
1822
|
width: t.StringC;
|
|
2068
1823
|
size: t.StringC;
|
|
2069
1824
|
name: t.StringC;
|
|
2070
|
-
}
|
|
1825
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2071
1826
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1827
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2072
1828
|
text: t.StringC;
|
|
2073
|
-
}
|
|
1829
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2074
1830
|
kind: t.LiteralC<"image">;
|
|
2075
1831
|
text: t.StringC;
|
|
2076
1832
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2077
1833
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2078
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1834
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2079
1835
|
kind: t.Type<"file", "file", unknown>;
|
|
2080
1836
|
id: t.StringC;
|
|
2081
1837
|
url: t.StringC;
|
|
@@ -2083,22 +1839,23 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2083
1839
|
size: t.StringC;
|
|
2084
1840
|
}>, t.PartialC<{
|
|
2085
1841
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1842
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2086
1843
|
text: t.StringC;
|
|
2087
|
-
}
|
|
1844
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2088
1845
|
kind: t.LiteralC<"file">;
|
|
2089
1846
|
text: t.StringC;
|
|
2090
1847
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2091
1848
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2092
|
-
}>>, t.UnionC<[t.
|
|
1849
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2093
1850
|
id: t.Type<string, string, unknown>;
|
|
2094
|
-
}
|
|
1851
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2095
1852
|
text: t.StringC;
|
|
2096
|
-
}
|
|
1853
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2097
1854
|
kind: t.LiteralC<"document">;
|
|
2098
1855
|
text: t.StringC;
|
|
2099
1856
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2100
1857
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2101
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1858
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2102
1859
|
url: t.StringC;
|
|
2103
1860
|
}>, t.PartialC<{
|
|
2104
1861
|
kind: t.LiteralC<"web">;
|
|
@@ -2108,8 +1865,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2108
1865
|
}, {
|
|
2109
1866
|
title?: string;
|
|
2110
1867
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1868
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2111
1869
|
text: t.StringC;
|
|
2112
|
-
}
|
|
1870
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2113
1871
|
kind: t.LiteralC<"web">;
|
|
2114
1872
|
text: t.StringC;
|
|
2115
1873
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -2151,7 +1909,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2151
1909
|
}>]>>, t.PartialC<{
|
|
2152
1910
|
linkTo: t.UnionC<[t.Type<({
|
|
2153
1911
|
__TYPE__: "ImageLink";
|
|
2154
|
-
} &
|
|
1912
|
+
} & {
|
|
2155
1913
|
kind: "image";
|
|
2156
1914
|
id: string;
|
|
2157
1915
|
url: string;
|
|
@@ -2161,13 +1919,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2161
1919
|
name: string;
|
|
2162
1920
|
} & {
|
|
2163
1921
|
date?: string | null | undefined;
|
|
2164
|
-
|
|
2165
|
-
}) | {
|
|
2166
|
-
kind: "image";
|
|
2167
|
-
text: string;
|
|
2168
|
-
})) | ({
|
|
1922
|
+
}) | ({
|
|
2169
1923
|
__TYPE__: "FileLink";
|
|
2170
|
-
} &
|
|
1924
|
+
} & {
|
|
2171
1925
|
kind: "file";
|
|
2172
1926
|
id: string;
|
|
2173
1927
|
url: string;
|
|
@@ -2175,27 +1929,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2175
1929
|
size: string;
|
|
2176
1930
|
} & {
|
|
2177
1931
|
date?: string | null | undefined;
|
|
2178
|
-
text?: string;
|
|
2179
|
-
}) | {
|
|
2180
|
-
kind: "file";
|
|
2181
|
-
text: string;
|
|
2182
|
-
})) | ({
|
|
2183
|
-
__TYPE__: "MediaLink";
|
|
2184
|
-
} & {
|
|
2185
|
-
kind: "media";
|
|
2186
|
-
text: string;
|
|
2187
1932
|
}) | ({
|
|
2188
1933
|
__TYPE__: "DocumentLink";
|
|
2189
|
-
} & (({
|
|
2190
|
-
id: string;
|
|
2191
1934
|
} & {
|
|
2192
|
-
|
|
2193
|
-
}) | {
|
|
2194
|
-
kind: "document";
|
|
2195
|
-
text: string;
|
|
2196
|
-
})) | ({
|
|
1935
|
+
id: string;
|
|
1936
|
+
}) | ({
|
|
2197
1937
|
__TYPE__: "ExternalLink";
|
|
2198
|
-
} &
|
|
1938
|
+
} & {
|
|
2199
1939
|
url: string;
|
|
2200
1940
|
} & {
|
|
2201
1941
|
kind?: "web";
|
|
@@ -2203,17 +1943,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2203
1943
|
preview?: {
|
|
2204
1944
|
title?: string;
|
|
2205
1945
|
} | null | undefined;
|
|
2206
|
-
text?: string;
|
|
2207
|
-
}) | {
|
|
2208
|
-
kind: "web";
|
|
2209
|
-
text: string;
|
|
2210
|
-
})) | ({
|
|
2211
|
-
__TYPE__: "AnyLink";
|
|
2212
|
-
} & {
|
|
2213
|
-
text: string;
|
|
2214
1946
|
}), ({
|
|
2215
1947
|
__TYPE__: "ImageLink";
|
|
2216
|
-
} &
|
|
1948
|
+
} & {
|
|
2217
1949
|
kind: "image";
|
|
2218
1950
|
id: string;
|
|
2219
1951
|
url: string;
|
|
@@ -2223,13 +1955,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2223
1955
|
name: string;
|
|
2224
1956
|
} & {
|
|
2225
1957
|
date?: string | null | undefined;
|
|
2226
|
-
|
|
2227
|
-
}) | {
|
|
2228
|
-
kind: "image";
|
|
2229
|
-
text: string;
|
|
2230
|
-
})) | ({
|
|
1958
|
+
}) | ({
|
|
2231
1959
|
__TYPE__: "FileLink";
|
|
2232
|
-
} &
|
|
1960
|
+
} & {
|
|
2233
1961
|
kind: "file";
|
|
2234
1962
|
id: string;
|
|
2235
1963
|
url: string;
|
|
@@ -2237,27 +1965,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2237
1965
|
size: string;
|
|
2238
1966
|
} & {
|
|
2239
1967
|
date?: string | null | undefined;
|
|
2240
|
-
text?: string;
|
|
2241
|
-
}) | {
|
|
2242
|
-
kind: "file";
|
|
2243
|
-
text: string;
|
|
2244
|
-
})) | ({
|
|
2245
|
-
__TYPE__: "MediaLink";
|
|
2246
|
-
} & {
|
|
2247
|
-
kind: "media";
|
|
2248
|
-
text: string;
|
|
2249
1968
|
}) | ({
|
|
2250
1969
|
__TYPE__: "DocumentLink";
|
|
2251
|
-
} & (({
|
|
2252
|
-
id: string;
|
|
2253
1970
|
} & {
|
|
2254
|
-
|
|
2255
|
-
}) | {
|
|
2256
|
-
kind: "document";
|
|
2257
|
-
text: string;
|
|
2258
|
-
})) | ({
|
|
1971
|
+
id: string;
|
|
1972
|
+
}) | ({
|
|
2259
1973
|
__TYPE__: "ExternalLink";
|
|
2260
|
-
} &
|
|
1974
|
+
} & {
|
|
2261
1975
|
url: string;
|
|
2262
1976
|
} & {
|
|
2263
1977
|
kind?: "web";
|
|
@@ -2265,14 +1979,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2265
1979
|
preview?: {
|
|
2266
1980
|
title?: string;
|
|
2267
1981
|
} | null | undefined;
|
|
2268
|
-
text?: string;
|
|
2269
|
-
}) | {
|
|
2270
|
-
kind: "web";
|
|
2271
|
-
text: string;
|
|
2272
|
-
})) | ({
|
|
2273
|
-
__TYPE__: "AnyLink";
|
|
2274
|
-
} & {
|
|
2275
|
-
text: string;
|
|
2276
1982
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2277
1983
|
}>]>;
|
|
2278
1984
|
}>, t.PartialC<{
|
|
@@ -2310,7 +2016,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2310
2016
|
spans: t.Type<({
|
|
2311
2017
|
data: ({
|
|
2312
2018
|
__TYPE__: "ImageLink";
|
|
2313
|
-
} &
|
|
2019
|
+
} & {
|
|
2314
2020
|
kind: "image";
|
|
2315
2021
|
id: string;
|
|
2316
2022
|
url: string;
|
|
@@ -2320,13 +2026,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2320
2026
|
name: string;
|
|
2321
2027
|
} & {
|
|
2322
2028
|
date?: string | null | undefined;
|
|
2323
|
-
|
|
2324
|
-
}) | {
|
|
2325
|
-
kind: "image";
|
|
2326
|
-
text: string;
|
|
2327
|
-
})) | ({
|
|
2029
|
+
}) | ({
|
|
2328
2030
|
__TYPE__: "FileLink";
|
|
2329
|
-
} &
|
|
2031
|
+
} & {
|
|
2330
2032
|
kind: "file";
|
|
2331
2033
|
id: string;
|
|
2332
2034
|
url: string;
|
|
@@ -2334,27 +2036,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2334
2036
|
size: string;
|
|
2335
2037
|
} & {
|
|
2336
2038
|
date?: string | null | undefined;
|
|
2337
|
-
text?: string;
|
|
2338
|
-
}) | {
|
|
2339
|
-
kind: "file";
|
|
2340
|
-
text: string;
|
|
2341
|
-
})) | ({
|
|
2342
|
-
__TYPE__: "MediaLink";
|
|
2343
|
-
} & {
|
|
2344
|
-
kind: "media";
|
|
2345
|
-
text: string;
|
|
2346
2039
|
}) | ({
|
|
2347
2040
|
__TYPE__: "DocumentLink";
|
|
2348
|
-
} &
|
|
2041
|
+
} & {
|
|
2349
2042
|
id: string;
|
|
2043
|
+
}) | ({
|
|
2044
|
+
__TYPE__: "ExternalLink";
|
|
2350
2045
|
} & {
|
|
2351
|
-
text?: string;
|
|
2352
|
-
}) | {
|
|
2353
|
-
kind: "document";
|
|
2354
|
-
text: string;
|
|
2355
|
-
})) | ({
|
|
2356
|
-
__TYPE__: "ExternalLink";
|
|
2357
|
-
} & (({
|
|
2358
2046
|
url: string;
|
|
2359
2047
|
} & {
|
|
2360
2048
|
kind?: "web";
|
|
@@ -2362,14 +2050,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2362
2050
|
preview?: {
|
|
2363
2051
|
title?: string;
|
|
2364
2052
|
} | null | undefined;
|
|
2365
|
-
text?: string;
|
|
2366
|
-
}) | {
|
|
2367
|
-
kind: "web";
|
|
2368
|
-
text: string;
|
|
2369
|
-
})) | ({
|
|
2370
|
-
__TYPE__: "AnyLink";
|
|
2371
|
-
} & {
|
|
2372
|
-
text: string;
|
|
2373
2053
|
});
|
|
2374
2054
|
start: number;
|
|
2375
2055
|
end: number;
|
|
@@ -2386,7 +2066,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2386
2066
|
})[], ({
|
|
2387
2067
|
data: ({
|
|
2388
2068
|
__TYPE__: "ImageLink";
|
|
2389
|
-
} &
|
|
2069
|
+
} & {
|
|
2390
2070
|
kind: "image";
|
|
2391
2071
|
id: string;
|
|
2392
2072
|
url: string;
|
|
@@ -2396,13 +2076,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2396
2076
|
name: string;
|
|
2397
2077
|
} & {
|
|
2398
2078
|
date?: string | null | undefined;
|
|
2399
|
-
|
|
2400
|
-
}) | {
|
|
2401
|
-
kind: "image";
|
|
2402
|
-
text: string;
|
|
2403
|
-
})) | ({
|
|
2079
|
+
}) | ({
|
|
2404
2080
|
__TYPE__: "FileLink";
|
|
2405
|
-
} &
|
|
2081
|
+
} & {
|
|
2406
2082
|
kind: "file";
|
|
2407
2083
|
id: string;
|
|
2408
2084
|
url: string;
|
|
@@ -2410,27 +2086,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2410
2086
|
size: string;
|
|
2411
2087
|
} & {
|
|
2412
2088
|
date?: string | null | undefined;
|
|
2413
|
-
text?: string;
|
|
2414
|
-
}) | {
|
|
2415
|
-
kind: "file";
|
|
2416
|
-
text: string;
|
|
2417
|
-
})) | ({
|
|
2418
|
-
__TYPE__: "MediaLink";
|
|
2419
|
-
} & {
|
|
2420
|
-
kind: "media";
|
|
2421
|
-
text: string;
|
|
2422
2089
|
}) | ({
|
|
2423
2090
|
__TYPE__: "DocumentLink";
|
|
2424
|
-
} & (({
|
|
2425
|
-
id: string;
|
|
2426
2091
|
} & {
|
|
2427
|
-
|
|
2428
|
-
}) | {
|
|
2429
|
-
kind: "document";
|
|
2430
|
-
text: string;
|
|
2431
|
-
})) | ({
|
|
2092
|
+
id: string;
|
|
2093
|
+
}) | ({
|
|
2432
2094
|
__TYPE__: "ExternalLink";
|
|
2433
|
-
} &
|
|
2095
|
+
} & {
|
|
2434
2096
|
url: string;
|
|
2435
2097
|
} & {
|
|
2436
2098
|
kind?: "web";
|
|
@@ -2438,14 +2100,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2438
2100
|
preview?: {
|
|
2439
2101
|
title?: string;
|
|
2440
2102
|
} | null | undefined;
|
|
2441
|
-
text?: string;
|
|
2442
|
-
}) | {
|
|
2443
|
-
kind: "web";
|
|
2444
|
-
text: string;
|
|
2445
|
-
})) | ({
|
|
2446
|
-
__TYPE__: "AnyLink";
|
|
2447
|
-
} & {
|
|
2448
|
-
text: string;
|
|
2449
2103
|
});
|
|
2450
2104
|
start: number;
|
|
2451
2105
|
end: number;
|
|
@@ -2584,7 +2238,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2584
2238
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2585
2239
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2586
2240
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2587
|
-
}>>, t.UnionC<[t.
|
|
2241
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2588
2242
|
kind: t.Type<"image", "image", unknown>;
|
|
2589
2243
|
id: t.StringC;
|
|
2590
2244
|
url: t.StringC;
|
|
@@ -2592,15 +2246,16 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2592
2246
|
width: t.StringC;
|
|
2593
2247
|
size: t.StringC;
|
|
2594
2248
|
name: t.StringC;
|
|
2595
|
-
}
|
|
2249
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2596
2250
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2251
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2597
2252
|
text: t.StringC;
|
|
2598
|
-
}
|
|
2253
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2599
2254
|
kind: t.LiteralC<"image">;
|
|
2600
2255
|
text: t.StringC;
|
|
2601
2256
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2602
2257
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2603
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2258
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2604
2259
|
kind: t.Type<"file", "file", unknown>;
|
|
2605
2260
|
id: t.StringC;
|
|
2606
2261
|
url: t.StringC;
|
|
@@ -2608,22 +2263,23 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2608
2263
|
size: t.StringC;
|
|
2609
2264
|
}>, t.PartialC<{
|
|
2610
2265
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2266
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2611
2267
|
text: t.StringC;
|
|
2612
|
-
}
|
|
2268
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2613
2269
|
kind: t.LiteralC<"file">;
|
|
2614
2270
|
text: t.StringC;
|
|
2615
2271
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2616
2272
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2617
|
-
}>>, t.UnionC<[t.
|
|
2273
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2618
2274
|
id: t.Type<string, string, unknown>;
|
|
2619
|
-
}
|
|
2275
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2620
2276
|
text: t.StringC;
|
|
2621
|
-
}
|
|
2277
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2622
2278
|
kind: t.LiteralC<"document">;
|
|
2623
2279
|
text: t.StringC;
|
|
2624
2280
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2625
2281
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2626
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2282
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2627
2283
|
url: t.StringC;
|
|
2628
2284
|
}>, t.PartialC<{
|
|
2629
2285
|
kind: t.LiteralC<"web">;
|
|
@@ -2633,8 +2289,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2633
2289
|
}, {
|
|
2634
2290
|
title?: string;
|
|
2635
2291
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2292
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2636
2293
|
text: t.StringC;
|
|
2637
|
-
}
|
|
2294
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2638
2295
|
kind: t.LiteralC<"web">;
|
|
2639
2296
|
text: t.StringC;
|
|
2640
2297
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -2676,7 +2333,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2676
2333
|
}>]>>, t.PartialC<{
|
|
2677
2334
|
linkTo: t.UnionC<[t.Type<({
|
|
2678
2335
|
__TYPE__: "ImageLink";
|
|
2679
|
-
} &
|
|
2336
|
+
} & {
|
|
2680
2337
|
kind: "image";
|
|
2681
2338
|
id: string;
|
|
2682
2339
|
url: string;
|
|
@@ -2686,13 +2343,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2686
2343
|
name: string;
|
|
2687
2344
|
} & {
|
|
2688
2345
|
date?: string | null | undefined;
|
|
2689
|
-
|
|
2690
|
-
}) | {
|
|
2691
|
-
kind: "image";
|
|
2692
|
-
text: string;
|
|
2693
|
-
})) | ({
|
|
2346
|
+
}) | ({
|
|
2694
2347
|
__TYPE__: "FileLink";
|
|
2695
|
-
} &
|
|
2348
|
+
} & {
|
|
2696
2349
|
kind: "file";
|
|
2697
2350
|
id: string;
|
|
2698
2351
|
url: string;
|
|
@@ -2700,27 +2353,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2700
2353
|
size: string;
|
|
2701
2354
|
} & {
|
|
2702
2355
|
date?: string | null | undefined;
|
|
2703
|
-
text?: string;
|
|
2704
|
-
}) | {
|
|
2705
|
-
kind: "file";
|
|
2706
|
-
text: string;
|
|
2707
|
-
})) | ({
|
|
2708
|
-
__TYPE__: "MediaLink";
|
|
2709
|
-
} & {
|
|
2710
|
-
kind: "media";
|
|
2711
|
-
text: string;
|
|
2712
2356
|
}) | ({
|
|
2713
2357
|
__TYPE__: "DocumentLink";
|
|
2714
|
-
} & (({
|
|
2715
|
-
id: string;
|
|
2716
2358
|
} & {
|
|
2717
|
-
|
|
2718
|
-
}) | {
|
|
2719
|
-
kind: "document";
|
|
2720
|
-
text: string;
|
|
2721
|
-
})) | ({
|
|
2359
|
+
id: string;
|
|
2360
|
+
}) | ({
|
|
2722
2361
|
__TYPE__: "ExternalLink";
|
|
2723
|
-
} &
|
|
2362
|
+
} & {
|
|
2724
2363
|
url: string;
|
|
2725
2364
|
} & {
|
|
2726
2365
|
kind?: "web";
|
|
@@ -2728,17 +2367,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2728
2367
|
preview?: {
|
|
2729
2368
|
title?: string;
|
|
2730
2369
|
} | null | undefined;
|
|
2731
|
-
text?: string;
|
|
2732
|
-
}) | {
|
|
2733
|
-
kind: "web";
|
|
2734
|
-
text: string;
|
|
2735
|
-
})) | ({
|
|
2736
|
-
__TYPE__: "AnyLink";
|
|
2737
|
-
} & {
|
|
2738
|
-
text: string;
|
|
2739
2370
|
}), ({
|
|
2740
2371
|
__TYPE__: "ImageLink";
|
|
2741
|
-
} &
|
|
2372
|
+
} & {
|
|
2742
2373
|
kind: "image";
|
|
2743
2374
|
id: string;
|
|
2744
2375
|
url: string;
|
|
@@ -2748,13 +2379,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2748
2379
|
name: string;
|
|
2749
2380
|
} & {
|
|
2750
2381
|
date?: string | null | undefined;
|
|
2751
|
-
|
|
2752
|
-
}) | {
|
|
2753
|
-
kind: "image";
|
|
2754
|
-
text: string;
|
|
2755
|
-
})) | ({
|
|
2382
|
+
}) | ({
|
|
2756
2383
|
__TYPE__: "FileLink";
|
|
2757
|
-
} &
|
|
2384
|
+
} & {
|
|
2758
2385
|
kind: "file";
|
|
2759
2386
|
id: string;
|
|
2760
2387
|
url: string;
|
|
@@ -2762,27 +2389,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2762
2389
|
size: string;
|
|
2763
2390
|
} & {
|
|
2764
2391
|
date?: string | null | undefined;
|
|
2765
|
-
text?: string;
|
|
2766
|
-
}) | {
|
|
2767
|
-
kind: "file";
|
|
2768
|
-
text: string;
|
|
2769
|
-
})) | ({
|
|
2770
|
-
__TYPE__: "MediaLink";
|
|
2771
|
-
} & {
|
|
2772
|
-
kind: "media";
|
|
2773
|
-
text: string;
|
|
2774
2392
|
}) | ({
|
|
2775
2393
|
__TYPE__: "DocumentLink";
|
|
2776
|
-
} & (({
|
|
2777
|
-
id: string;
|
|
2778
2394
|
} & {
|
|
2779
|
-
|
|
2780
|
-
}) | {
|
|
2781
|
-
kind: "document";
|
|
2782
|
-
text: string;
|
|
2783
|
-
})) | ({
|
|
2395
|
+
id: string;
|
|
2396
|
+
}) | ({
|
|
2784
2397
|
__TYPE__: "ExternalLink";
|
|
2785
|
-
} &
|
|
2398
|
+
} & {
|
|
2786
2399
|
url: string;
|
|
2787
2400
|
} & {
|
|
2788
2401
|
kind?: "web";
|
|
@@ -2790,14 +2403,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2790
2403
|
preview?: {
|
|
2791
2404
|
title?: string;
|
|
2792
2405
|
} | null | undefined;
|
|
2793
|
-
text?: string;
|
|
2794
|
-
}) | {
|
|
2795
|
-
kind: "web";
|
|
2796
|
-
text: string;
|
|
2797
|
-
})) | ({
|
|
2798
|
-
__TYPE__: "AnyLink";
|
|
2799
|
-
} & {
|
|
2800
|
-
text: string;
|
|
2801
2406
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2802
2407
|
}>]>;
|
|
2803
2408
|
}>, t.PartialC<{
|
|
@@ -2835,7 +2440,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2835
2440
|
spans: t.Type<({
|
|
2836
2441
|
data: ({
|
|
2837
2442
|
__TYPE__: "ImageLink";
|
|
2838
|
-
} &
|
|
2443
|
+
} & {
|
|
2839
2444
|
kind: "image";
|
|
2840
2445
|
id: string;
|
|
2841
2446
|
url: string;
|
|
@@ -2845,13 +2450,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2845
2450
|
name: string;
|
|
2846
2451
|
} & {
|
|
2847
2452
|
date?: string | null | undefined;
|
|
2848
|
-
|
|
2849
|
-
}) | {
|
|
2850
|
-
kind: "image";
|
|
2851
|
-
text: string;
|
|
2852
|
-
})) | ({
|
|
2453
|
+
}) | ({
|
|
2853
2454
|
__TYPE__: "FileLink";
|
|
2854
|
-
} &
|
|
2455
|
+
} & {
|
|
2855
2456
|
kind: "file";
|
|
2856
2457
|
id: string;
|
|
2857
2458
|
url: string;
|
|
@@ -2859,27 +2460,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2859
2460
|
size: string;
|
|
2860
2461
|
} & {
|
|
2861
2462
|
date?: string | null | undefined;
|
|
2862
|
-
text?: string;
|
|
2863
|
-
}) | {
|
|
2864
|
-
kind: "file";
|
|
2865
|
-
text: string;
|
|
2866
|
-
})) | ({
|
|
2867
|
-
__TYPE__: "MediaLink";
|
|
2868
|
-
} & {
|
|
2869
|
-
kind: "media";
|
|
2870
|
-
text: string;
|
|
2871
2463
|
}) | ({
|
|
2872
2464
|
__TYPE__: "DocumentLink";
|
|
2873
|
-
} & (({
|
|
2874
|
-
id: string;
|
|
2875
2465
|
} & {
|
|
2876
|
-
|
|
2877
|
-
}) | {
|
|
2878
|
-
kind: "document";
|
|
2879
|
-
text: string;
|
|
2880
|
-
})) | ({
|
|
2466
|
+
id: string;
|
|
2467
|
+
}) | ({
|
|
2881
2468
|
__TYPE__: "ExternalLink";
|
|
2882
|
-
} &
|
|
2469
|
+
} & {
|
|
2883
2470
|
url: string;
|
|
2884
2471
|
} & {
|
|
2885
2472
|
kind?: "web";
|
|
@@ -2887,14 +2474,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2887
2474
|
preview?: {
|
|
2888
2475
|
title?: string;
|
|
2889
2476
|
} | null | undefined;
|
|
2890
|
-
text?: string;
|
|
2891
|
-
}) | {
|
|
2892
|
-
kind: "web";
|
|
2893
|
-
text: string;
|
|
2894
|
-
})) | ({
|
|
2895
|
-
__TYPE__: "AnyLink";
|
|
2896
|
-
} & {
|
|
2897
|
-
text: string;
|
|
2898
2477
|
});
|
|
2899
2478
|
start: number;
|
|
2900
2479
|
end: number;
|
|
@@ -2911,7 +2490,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2911
2490
|
})[], ({
|
|
2912
2491
|
data: ({
|
|
2913
2492
|
__TYPE__: "ImageLink";
|
|
2914
|
-
} &
|
|
2493
|
+
} & {
|
|
2915
2494
|
kind: "image";
|
|
2916
2495
|
id: string;
|
|
2917
2496
|
url: string;
|
|
@@ -2921,13 +2500,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2921
2500
|
name: string;
|
|
2922
2501
|
} & {
|
|
2923
2502
|
date?: string | null | undefined;
|
|
2924
|
-
|
|
2925
|
-
}) | {
|
|
2926
|
-
kind: "image";
|
|
2927
|
-
text: string;
|
|
2928
|
-
})) | ({
|
|
2503
|
+
}) | ({
|
|
2929
2504
|
__TYPE__: "FileLink";
|
|
2930
|
-
} &
|
|
2505
|
+
} & {
|
|
2931
2506
|
kind: "file";
|
|
2932
2507
|
id: string;
|
|
2933
2508
|
url: string;
|
|
@@ -2935,27 +2510,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2935
2510
|
size: string;
|
|
2936
2511
|
} & {
|
|
2937
2512
|
date?: string | null | undefined;
|
|
2938
|
-
text?: string;
|
|
2939
|
-
}) | {
|
|
2940
|
-
kind: "file";
|
|
2941
|
-
text: string;
|
|
2942
|
-
})) | ({
|
|
2943
|
-
__TYPE__: "MediaLink";
|
|
2944
|
-
} & {
|
|
2945
|
-
kind: "media";
|
|
2946
|
-
text: string;
|
|
2947
2513
|
}) | ({
|
|
2948
2514
|
__TYPE__: "DocumentLink";
|
|
2949
|
-
} & (({
|
|
2950
|
-
id: string;
|
|
2951
2515
|
} & {
|
|
2952
|
-
|
|
2953
|
-
}) | {
|
|
2954
|
-
kind: "document";
|
|
2955
|
-
text: string;
|
|
2956
|
-
})) | ({
|
|
2516
|
+
id: string;
|
|
2517
|
+
}) | ({
|
|
2957
2518
|
__TYPE__: "ExternalLink";
|
|
2958
|
-
} &
|
|
2519
|
+
} & {
|
|
2959
2520
|
url: string;
|
|
2960
2521
|
} & {
|
|
2961
2522
|
kind?: "web";
|
|
@@ -2963,14 +2524,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2963
2524
|
preview?: {
|
|
2964
2525
|
title?: string;
|
|
2965
2526
|
} | null | undefined;
|
|
2966
|
-
text?: string;
|
|
2967
|
-
}) | {
|
|
2968
|
-
kind: "web";
|
|
2969
|
-
text: string;
|
|
2970
|
-
})) | ({
|
|
2971
|
-
__TYPE__: "AnyLink";
|
|
2972
|
-
} & {
|
|
2973
|
-
text: string;
|
|
2974
2527
|
});
|
|
2975
2528
|
start: number;
|
|
2976
2529
|
end: number;
|
|
@@ -3111,7 +2664,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3111
2664
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3112
2665
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3113
2666
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3114
|
-
}>>, t.UnionC<[t.
|
|
2667
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3115
2668
|
kind: t.Type<"image", "image", unknown>;
|
|
3116
2669
|
id: t.StringC;
|
|
3117
2670
|
url: t.StringC;
|
|
@@ -3119,15 +2672,16 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3119
2672
|
width: t.StringC;
|
|
3120
2673
|
size: t.StringC;
|
|
3121
2674
|
name: t.StringC;
|
|
3122
|
-
}
|
|
2675
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3123
2676
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2677
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3124
2678
|
text: t.StringC;
|
|
3125
|
-
}
|
|
2679
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3126
2680
|
kind: t.LiteralC<"image">;
|
|
3127
2681
|
text: t.StringC;
|
|
3128
2682
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3129
2683
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
3130
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2684
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3131
2685
|
kind: t.Type<"file", "file", unknown>;
|
|
3132
2686
|
id: t.StringC;
|
|
3133
2687
|
url: t.StringC;
|
|
@@ -3135,22 +2689,23 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3135
2689
|
size: t.StringC;
|
|
3136
2690
|
}>, t.PartialC<{
|
|
3137
2691
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2692
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3138
2693
|
text: t.StringC;
|
|
3139
|
-
}
|
|
2694
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3140
2695
|
kind: t.LiteralC<"file">;
|
|
3141
2696
|
text: t.StringC;
|
|
3142
2697
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3143
2698
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3144
|
-
}>>, t.UnionC<[t.
|
|
2699
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3145
2700
|
id: t.Type<string, string, unknown>;
|
|
3146
|
-
}
|
|
2701
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3147
2702
|
text: t.StringC;
|
|
3148
|
-
}
|
|
2703
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3149
2704
|
kind: t.LiteralC<"document">;
|
|
3150
2705
|
text: t.StringC;
|
|
3151
2706
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3152
2707
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3153
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2708
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3154
2709
|
url: t.StringC;
|
|
3155
2710
|
}>, t.PartialC<{
|
|
3156
2711
|
kind: t.LiteralC<"web">;
|
|
@@ -3160,8 +2715,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3160
2715
|
}, {
|
|
3161
2716
|
title?: string;
|
|
3162
2717
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2718
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3163
2719
|
text: t.StringC;
|
|
3164
|
-
}
|
|
2720
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3165
2721
|
kind: t.LiteralC<"web">;
|
|
3166
2722
|
text: t.StringC;
|
|
3167
2723
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -3203,7 +2759,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3203
2759
|
}>]>>, t.PartialC<{
|
|
3204
2760
|
linkTo: t.UnionC<[t.Type<({
|
|
3205
2761
|
__TYPE__: "ImageLink";
|
|
3206
|
-
} &
|
|
2762
|
+
} & {
|
|
3207
2763
|
kind: "image";
|
|
3208
2764
|
id: string;
|
|
3209
2765
|
url: string;
|
|
@@ -3213,13 +2769,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3213
2769
|
name: string;
|
|
3214
2770
|
} & {
|
|
3215
2771
|
date?: string | null | undefined;
|
|
3216
|
-
|
|
3217
|
-
}) | {
|
|
3218
|
-
kind: "image";
|
|
3219
|
-
text: string;
|
|
3220
|
-
})) | ({
|
|
2772
|
+
}) | ({
|
|
3221
2773
|
__TYPE__: "FileLink";
|
|
3222
|
-
} &
|
|
2774
|
+
} & {
|
|
3223
2775
|
kind: "file";
|
|
3224
2776
|
id: string;
|
|
3225
2777
|
url: string;
|
|
@@ -3227,27 +2779,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3227
2779
|
size: string;
|
|
3228
2780
|
} & {
|
|
3229
2781
|
date?: string | null | undefined;
|
|
3230
|
-
text?: string;
|
|
3231
|
-
}) | {
|
|
3232
|
-
kind: "file";
|
|
3233
|
-
text: string;
|
|
3234
|
-
})) | ({
|
|
3235
|
-
__TYPE__: "MediaLink";
|
|
3236
|
-
} & {
|
|
3237
|
-
kind: "media";
|
|
3238
|
-
text: string;
|
|
3239
2782
|
}) | ({
|
|
3240
2783
|
__TYPE__: "DocumentLink";
|
|
3241
|
-
} & (({
|
|
3242
|
-
id: string;
|
|
3243
2784
|
} & {
|
|
3244
|
-
|
|
3245
|
-
}) | {
|
|
3246
|
-
kind: "document";
|
|
3247
|
-
text: string;
|
|
3248
|
-
})) | ({
|
|
2785
|
+
id: string;
|
|
2786
|
+
}) | ({
|
|
3249
2787
|
__TYPE__: "ExternalLink";
|
|
3250
|
-
} &
|
|
2788
|
+
} & {
|
|
3251
2789
|
url: string;
|
|
3252
2790
|
} & {
|
|
3253
2791
|
kind?: "web";
|
|
@@ -3255,17 +2793,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3255
2793
|
preview?: {
|
|
3256
2794
|
title?: string;
|
|
3257
2795
|
} | null | undefined;
|
|
3258
|
-
text?: string;
|
|
3259
|
-
}) | {
|
|
3260
|
-
kind: "web";
|
|
3261
|
-
text: string;
|
|
3262
|
-
})) | ({
|
|
3263
|
-
__TYPE__: "AnyLink";
|
|
3264
|
-
} & {
|
|
3265
|
-
text: string;
|
|
3266
2796
|
}), ({
|
|
3267
2797
|
__TYPE__: "ImageLink";
|
|
3268
|
-
} &
|
|
2798
|
+
} & {
|
|
3269
2799
|
kind: "image";
|
|
3270
2800
|
id: string;
|
|
3271
2801
|
url: string;
|
|
@@ -3275,13 +2805,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3275
2805
|
name: string;
|
|
3276
2806
|
} & {
|
|
3277
2807
|
date?: string | null | undefined;
|
|
3278
|
-
|
|
3279
|
-
}) | {
|
|
3280
|
-
kind: "image";
|
|
3281
|
-
text: string;
|
|
3282
|
-
})) | ({
|
|
2808
|
+
}) | ({
|
|
3283
2809
|
__TYPE__: "FileLink";
|
|
3284
|
-
} &
|
|
2810
|
+
} & {
|
|
3285
2811
|
kind: "file";
|
|
3286
2812
|
id: string;
|
|
3287
2813
|
url: string;
|
|
@@ -3289,27 +2815,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3289
2815
|
size: string;
|
|
3290
2816
|
} & {
|
|
3291
2817
|
date?: string | null | undefined;
|
|
3292
|
-
text?: string;
|
|
3293
|
-
}) | {
|
|
3294
|
-
kind: "file";
|
|
3295
|
-
text: string;
|
|
3296
|
-
})) | ({
|
|
3297
|
-
__TYPE__: "MediaLink";
|
|
3298
|
-
} & {
|
|
3299
|
-
kind: "media";
|
|
3300
|
-
text: string;
|
|
3301
2818
|
}) | ({
|
|
3302
2819
|
__TYPE__: "DocumentLink";
|
|
3303
|
-
} & (({
|
|
3304
|
-
id: string;
|
|
3305
2820
|
} & {
|
|
3306
|
-
|
|
3307
|
-
}) | {
|
|
3308
|
-
kind: "document";
|
|
3309
|
-
text: string;
|
|
3310
|
-
})) | ({
|
|
2821
|
+
id: string;
|
|
2822
|
+
}) | ({
|
|
3311
2823
|
__TYPE__: "ExternalLink";
|
|
3312
|
-
} &
|
|
2824
|
+
} & {
|
|
3313
2825
|
url: string;
|
|
3314
2826
|
} & {
|
|
3315
2827
|
kind?: "web";
|
|
@@ -3317,14 +2829,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3317
2829
|
preview?: {
|
|
3318
2830
|
title?: string;
|
|
3319
2831
|
} | null | undefined;
|
|
3320
|
-
text?: string;
|
|
3321
|
-
}) | {
|
|
3322
|
-
kind: "web";
|
|
3323
|
-
text: string;
|
|
3324
|
-
})) | ({
|
|
3325
|
-
__TYPE__: "AnyLink";
|
|
3326
|
-
} & {
|
|
3327
|
-
text: string;
|
|
3328
2832
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
3329
2833
|
}>]>;
|
|
3330
2834
|
}>, t.PartialC<{
|
|
@@ -3362,7 +2866,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3362
2866
|
spans: t.Type<({
|
|
3363
2867
|
data: ({
|
|
3364
2868
|
__TYPE__: "ImageLink";
|
|
3365
|
-
} &
|
|
2869
|
+
} & {
|
|
3366
2870
|
kind: "image";
|
|
3367
2871
|
id: string;
|
|
3368
2872
|
url: string;
|
|
@@ -3372,13 +2876,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3372
2876
|
name: string;
|
|
3373
2877
|
} & {
|
|
3374
2878
|
date?: string | null | undefined;
|
|
3375
|
-
|
|
3376
|
-
}) | {
|
|
3377
|
-
kind: "image";
|
|
3378
|
-
text: string;
|
|
3379
|
-
})) | ({
|
|
2879
|
+
}) | ({
|
|
3380
2880
|
__TYPE__: "FileLink";
|
|
3381
|
-
} &
|
|
2881
|
+
} & {
|
|
3382
2882
|
kind: "file";
|
|
3383
2883
|
id: string;
|
|
3384
2884
|
url: string;
|
|
@@ -3386,27 +2886,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3386
2886
|
size: string;
|
|
3387
2887
|
} & {
|
|
3388
2888
|
date?: string | null | undefined;
|
|
3389
|
-
text?: string;
|
|
3390
|
-
}) | {
|
|
3391
|
-
kind: "file";
|
|
3392
|
-
text: string;
|
|
3393
|
-
})) | ({
|
|
3394
|
-
__TYPE__: "MediaLink";
|
|
3395
|
-
} & {
|
|
3396
|
-
kind: "media";
|
|
3397
|
-
text: string;
|
|
3398
2889
|
}) | ({
|
|
3399
2890
|
__TYPE__: "DocumentLink";
|
|
3400
|
-
} & (({
|
|
3401
|
-
id: string;
|
|
3402
2891
|
} & {
|
|
3403
|
-
|
|
3404
|
-
}) | {
|
|
3405
|
-
kind: "document";
|
|
3406
|
-
text: string;
|
|
3407
|
-
})) | ({
|
|
2892
|
+
id: string;
|
|
2893
|
+
}) | ({
|
|
3408
2894
|
__TYPE__: "ExternalLink";
|
|
3409
|
-
} &
|
|
2895
|
+
} & {
|
|
3410
2896
|
url: string;
|
|
3411
2897
|
} & {
|
|
3412
2898
|
kind?: "web";
|
|
@@ -3414,14 +2900,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3414
2900
|
preview?: {
|
|
3415
2901
|
title?: string;
|
|
3416
2902
|
} | null | undefined;
|
|
3417
|
-
text?: string;
|
|
3418
|
-
}) | {
|
|
3419
|
-
kind: "web";
|
|
3420
|
-
text: string;
|
|
3421
|
-
})) | ({
|
|
3422
|
-
__TYPE__: "AnyLink";
|
|
3423
|
-
} & {
|
|
3424
|
-
text: string;
|
|
3425
2903
|
});
|
|
3426
2904
|
start: number;
|
|
3427
2905
|
end: number;
|
|
@@ -3438,7 +2916,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3438
2916
|
})[], ({
|
|
3439
2917
|
data: ({
|
|
3440
2918
|
__TYPE__: "ImageLink";
|
|
3441
|
-
} &
|
|
2919
|
+
} & {
|
|
3442
2920
|
kind: "image";
|
|
3443
2921
|
id: string;
|
|
3444
2922
|
url: string;
|
|
@@ -3448,13 +2926,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3448
2926
|
name: string;
|
|
3449
2927
|
} & {
|
|
3450
2928
|
date?: string | null | undefined;
|
|
3451
|
-
|
|
3452
|
-
}) | {
|
|
3453
|
-
kind: "image";
|
|
3454
|
-
text: string;
|
|
3455
|
-
})) | ({
|
|
2929
|
+
}) | ({
|
|
3456
2930
|
__TYPE__: "FileLink";
|
|
3457
|
-
} &
|
|
2931
|
+
} & {
|
|
3458
2932
|
kind: "file";
|
|
3459
2933
|
id: string;
|
|
3460
2934
|
url: string;
|
|
@@ -3462,27 +2936,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3462
2936
|
size: string;
|
|
3463
2937
|
} & {
|
|
3464
2938
|
date?: string | null | undefined;
|
|
3465
|
-
text?: string;
|
|
3466
|
-
}) | {
|
|
3467
|
-
kind: "file";
|
|
3468
|
-
text: string;
|
|
3469
|
-
})) | ({
|
|
3470
|
-
__TYPE__: "MediaLink";
|
|
3471
|
-
} & {
|
|
3472
|
-
kind: "media";
|
|
3473
|
-
text: string;
|
|
3474
2939
|
}) | ({
|
|
3475
2940
|
__TYPE__: "DocumentLink";
|
|
3476
|
-
} & (({
|
|
3477
|
-
id: string;
|
|
3478
2941
|
} & {
|
|
3479
|
-
|
|
3480
|
-
}) | {
|
|
3481
|
-
kind: "document";
|
|
3482
|
-
text: string;
|
|
3483
|
-
})) | ({
|
|
2942
|
+
id: string;
|
|
2943
|
+
}) | ({
|
|
3484
2944
|
__TYPE__: "ExternalLink";
|
|
3485
|
-
} &
|
|
2945
|
+
} & {
|
|
3486
2946
|
url: string;
|
|
3487
2947
|
} & {
|
|
3488
2948
|
kind?: "web";
|
|
@@ -3490,14 +2950,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3490
2950
|
preview?: {
|
|
3491
2951
|
title?: string;
|
|
3492
2952
|
} | null | undefined;
|
|
3493
|
-
text?: string;
|
|
3494
|
-
}) | {
|
|
3495
|
-
kind: "web";
|
|
3496
|
-
text: string;
|
|
3497
|
-
})) | ({
|
|
3498
|
-
__TYPE__: "AnyLink";
|
|
3499
|
-
} & {
|
|
3500
|
-
text: string;
|
|
3501
2953
|
});
|
|
3502
2954
|
start: number;
|
|
3503
2955
|
end: number;
|
|
@@ -3636,7 +3088,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3636
3088
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3637
3089
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3638
3090
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3639
|
-
}>>, t.UnionC<[t.
|
|
3091
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3640
3092
|
kind: t.Type<"image", "image", unknown>;
|
|
3641
3093
|
id: t.StringC;
|
|
3642
3094
|
url: t.StringC;
|
|
@@ -3644,15 +3096,16 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3644
3096
|
width: t.StringC;
|
|
3645
3097
|
size: t.StringC;
|
|
3646
3098
|
name: t.StringC;
|
|
3647
|
-
}
|
|
3099
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3648
3100
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3101
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3649
3102
|
text: t.StringC;
|
|
3650
|
-
}
|
|
3103
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3651
3104
|
kind: t.LiteralC<"image">;
|
|
3652
3105
|
text: t.StringC;
|
|
3653
3106
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3654
3107
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
3655
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3108
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3656
3109
|
kind: t.Type<"file", "file", unknown>;
|
|
3657
3110
|
id: t.StringC;
|
|
3658
3111
|
url: t.StringC;
|
|
@@ -3660,22 +3113,23 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3660
3113
|
size: t.StringC;
|
|
3661
3114
|
}>, t.PartialC<{
|
|
3662
3115
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3116
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3663
3117
|
text: t.StringC;
|
|
3664
|
-
}
|
|
3118
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3665
3119
|
kind: t.LiteralC<"file">;
|
|
3666
3120
|
text: t.StringC;
|
|
3667
3121
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3668
3122
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3669
|
-
}>>, t.UnionC<[t.
|
|
3123
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3670
3124
|
id: t.Type<string, string, unknown>;
|
|
3671
|
-
}
|
|
3125
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3672
3126
|
text: t.StringC;
|
|
3673
|
-
}
|
|
3127
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3674
3128
|
kind: t.LiteralC<"document">;
|
|
3675
3129
|
text: t.StringC;
|
|
3676
3130
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3677
3131
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3678
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3132
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3679
3133
|
url: t.StringC;
|
|
3680
3134
|
}>, t.PartialC<{
|
|
3681
3135
|
kind: t.LiteralC<"web">;
|
|
@@ -3685,8 +3139,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3685
3139
|
}, {
|
|
3686
3140
|
title?: string;
|
|
3687
3141
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3142
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3688
3143
|
text: t.StringC;
|
|
3689
|
-
}
|
|
3144
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3690
3145
|
kind: t.LiteralC<"web">;
|
|
3691
3146
|
text: t.StringC;
|
|
3692
3147
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -3728,7 +3183,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3728
3183
|
}>]>>, t.PartialC<{
|
|
3729
3184
|
linkTo: t.UnionC<[t.Type<({
|
|
3730
3185
|
__TYPE__: "ImageLink";
|
|
3731
|
-
} &
|
|
3186
|
+
} & {
|
|
3732
3187
|
kind: "image";
|
|
3733
3188
|
id: string;
|
|
3734
3189
|
url: string;
|
|
@@ -3738,13 +3193,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3738
3193
|
name: string;
|
|
3739
3194
|
} & {
|
|
3740
3195
|
date?: string | null | undefined;
|
|
3741
|
-
|
|
3742
|
-
}) | {
|
|
3743
|
-
kind: "image";
|
|
3744
|
-
text: string;
|
|
3745
|
-
})) | ({
|
|
3196
|
+
}) | ({
|
|
3746
3197
|
__TYPE__: "FileLink";
|
|
3747
|
-
} &
|
|
3198
|
+
} & {
|
|
3748
3199
|
kind: "file";
|
|
3749
3200
|
id: string;
|
|
3750
3201
|
url: string;
|
|
@@ -3752,27 +3203,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3752
3203
|
size: string;
|
|
3753
3204
|
} & {
|
|
3754
3205
|
date?: string | null | undefined;
|
|
3755
|
-
text?: string;
|
|
3756
|
-
}) | {
|
|
3757
|
-
kind: "file";
|
|
3758
|
-
text: string;
|
|
3759
|
-
})) | ({
|
|
3760
|
-
__TYPE__: "MediaLink";
|
|
3761
|
-
} & {
|
|
3762
|
-
kind: "media";
|
|
3763
|
-
text: string;
|
|
3764
3206
|
}) | ({
|
|
3765
3207
|
__TYPE__: "DocumentLink";
|
|
3766
|
-
} & (({
|
|
3767
|
-
id: string;
|
|
3768
3208
|
} & {
|
|
3769
|
-
|
|
3770
|
-
}) | {
|
|
3771
|
-
kind: "document";
|
|
3772
|
-
text: string;
|
|
3773
|
-
})) | ({
|
|
3209
|
+
id: string;
|
|
3210
|
+
}) | ({
|
|
3774
3211
|
__TYPE__: "ExternalLink";
|
|
3775
|
-
} &
|
|
3212
|
+
} & {
|
|
3776
3213
|
url: string;
|
|
3777
3214
|
} & {
|
|
3778
3215
|
kind?: "web";
|
|
@@ -3780,17 +3217,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3780
3217
|
preview?: {
|
|
3781
3218
|
title?: string;
|
|
3782
3219
|
} | null | undefined;
|
|
3783
|
-
text?: string;
|
|
3784
|
-
}) | {
|
|
3785
|
-
kind: "web";
|
|
3786
|
-
text: string;
|
|
3787
|
-
})) | ({
|
|
3788
|
-
__TYPE__: "AnyLink";
|
|
3789
|
-
} & {
|
|
3790
|
-
text: string;
|
|
3791
3220
|
}), ({
|
|
3792
3221
|
__TYPE__: "ImageLink";
|
|
3793
|
-
} &
|
|
3222
|
+
} & {
|
|
3794
3223
|
kind: "image";
|
|
3795
3224
|
id: string;
|
|
3796
3225
|
url: string;
|
|
@@ -3800,13 +3229,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3800
3229
|
name: string;
|
|
3801
3230
|
} & {
|
|
3802
3231
|
date?: string | null | undefined;
|
|
3803
|
-
|
|
3804
|
-
}) | {
|
|
3805
|
-
kind: "image";
|
|
3806
|
-
text: string;
|
|
3807
|
-
})) | ({
|
|
3232
|
+
}) | ({
|
|
3808
3233
|
__TYPE__: "FileLink";
|
|
3809
|
-
} &
|
|
3234
|
+
} & {
|
|
3810
3235
|
kind: "file";
|
|
3811
3236
|
id: string;
|
|
3812
3237
|
url: string;
|
|
@@ -3814,27 +3239,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3814
3239
|
size: string;
|
|
3815
3240
|
} & {
|
|
3816
3241
|
date?: string | null | undefined;
|
|
3817
|
-
text?: string;
|
|
3818
|
-
}) | {
|
|
3819
|
-
kind: "file";
|
|
3820
|
-
text: string;
|
|
3821
|
-
})) | ({
|
|
3822
|
-
__TYPE__: "MediaLink";
|
|
3823
|
-
} & {
|
|
3824
|
-
kind: "media";
|
|
3825
|
-
text: string;
|
|
3826
3242
|
}) | ({
|
|
3827
3243
|
__TYPE__: "DocumentLink";
|
|
3828
|
-
} & (({
|
|
3829
|
-
id: string;
|
|
3830
3244
|
} & {
|
|
3831
|
-
|
|
3832
|
-
}) | {
|
|
3833
|
-
kind: "document";
|
|
3834
|
-
text: string;
|
|
3835
|
-
})) | ({
|
|
3245
|
+
id: string;
|
|
3246
|
+
}) | ({
|
|
3836
3247
|
__TYPE__: "ExternalLink";
|
|
3837
|
-
} &
|
|
3248
|
+
} & {
|
|
3838
3249
|
url: string;
|
|
3839
3250
|
} & {
|
|
3840
3251
|
kind?: "web";
|
|
@@ -3842,14 +3253,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3842
3253
|
preview?: {
|
|
3843
3254
|
title?: string;
|
|
3844
3255
|
} | null | undefined;
|
|
3845
|
-
text?: string;
|
|
3846
|
-
}) | {
|
|
3847
|
-
kind: "web";
|
|
3848
|
-
text: string;
|
|
3849
|
-
})) | ({
|
|
3850
|
-
__TYPE__: "AnyLink";
|
|
3851
|
-
} & {
|
|
3852
|
-
text: string;
|
|
3853
3256
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
3854
3257
|
}>]>;
|
|
3855
3258
|
}>, t.PartialC<{
|
|
@@ -3887,7 +3290,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3887
3290
|
spans: t.Type<({
|
|
3888
3291
|
data: ({
|
|
3889
3292
|
__TYPE__: "ImageLink";
|
|
3890
|
-
} &
|
|
3293
|
+
} & {
|
|
3891
3294
|
kind: "image";
|
|
3892
3295
|
id: string;
|
|
3893
3296
|
url: string;
|
|
@@ -3897,13 +3300,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3897
3300
|
name: string;
|
|
3898
3301
|
} & {
|
|
3899
3302
|
date?: string | null | undefined;
|
|
3900
|
-
|
|
3901
|
-
}) | {
|
|
3902
|
-
kind: "image";
|
|
3903
|
-
text: string;
|
|
3904
|
-
})) | ({
|
|
3303
|
+
}) | ({
|
|
3905
3304
|
__TYPE__: "FileLink";
|
|
3906
|
-
} &
|
|
3305
|
+
} & {
|
|
3907
3306
|
kind: "file";
|
|
3908
3307
|
id: string;
|
|
3909
3308
|
url: string;
|
|
@@ -3911,27 +3310,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3911
3310
|
size: string;
|
|
3912
3311
|
} & {
|
|
3913
3312
|
date?: string | null | undefined;
|
|
3914
|
-
text?: string;
|
|
3915
|
-
}) | {
|
|
3916
|
-
kind: "file";
|
|
3917
|
-
text: string;
|
|
3918
|
-
})) | ({
|
|
3919
|
-
__TYPE__: "MediaLink";
|
|
3920
|
-
} & {
|
|
3921
|
-
kind: "media";
|
|
3922
|
-
text: string;
|
|
3923
3313
|
}) | ({
|
|
3924
3314
|
__TYPE__: "DocumentLink";
|
|
3925
|
-
} & (({
|
|
3926
|
-
id: string;
|
|
3927
3315
|
} & {
|
|
3928
|
-
|
|
3929
|
-
}) | {
|
|
3930
|
-
kind: "document";
|
|
3931
|
-
text: string;
|
|
3932
|
-
})) | ({
|
|
3316
|
+
id: string;
|
|
3317
|
+
}) | ({
|
|
3933
3318
|
__TYPE__: "ExternalLink";
|
|
3934
|
-
} &
|
|
3319
|
+
} & {
|
|
3935
3320
|
url: string;
|
|
3936
3321
|
} & {
|
|
3937
3322
|
kind?: "web";
|
|
@@ -3939,14 +3324,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3939
3324
|
preview?: {
|
|
3940
3325
|
title?: string;
|
|
3941
3326
|
} | null | undefined;
|
|
3942
|
-
text?: string;
|
|
3943
|
-
}) | {
|
|
3944
|
-
kind: "web";
|
|
3945
|
-
text: string;
|
|
3946
|
-
})) | ({
|
|
3947
|
-
__TYPE__: "AnyLink";
|
|
3948
|
-
} & {
|
|
3949
|
-
text: string;
|
|
3950
3327
|
});
|
|
3951
3328
|
start: number;
|
|
3952
3329
|
end: number;
|
|
@@ -3963,7 +3340,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3963
3340
|
})[], ({
|
|
3964
3341
|
data: ({
|
|
3965
3342
|
__TYPE__: "ImageLink";
|
|
3966
|
-
} &
|
|
3343
|
+
} & {
|
|
3967
3344
|
kind: "image";
|
|
3968
3345
|
id: string;
|
|
3969
3346
|
url: string;
|
|
@@ -3973,13 +3350,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3973
3350
|
name: string;
|
|
3974
3351
|
} & {
|
|
3975
3352
|
date?: string | null | undefined;
|
|
3976
|
-
|
|
3977
|
-
}) | {
|
|
3978
|
-
kind: "image";
|
|
3979
|
-
text: string;
|
|
3980
|
-
})) | ({
|
|
3353
|
+
}) | ({
|
|
3981
3354
|
__TYPE__: "FileLink";
|
|
3982
|
-
} &
|
|
3355
|
+
} & {
|
|
3983
3356
|
kind: "file";
|
|
3984
3357
|
id: string;
|
|
3985
3358
|
url: string;
|
|
@@ -3987,27 +3360,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3987
3360
|
size: string;
|
|
3988
3361
|
} & {
|
|
3989
3362
|
date?: string | null | undefined;
|
|
3990
|
-
text?: string;
|
|
3991
|
-
}) | {
|
|
3992
|
-
kind: "file";
|
|
3993
|
-
text: string;
|
|
3994
|
-
})) | ({
|
|
3995
|
-
__TYPE__: "MediaLink";
|
|
3996
|
-
} & {
|
|
3997
|
-
kind: "media";
|
|
3998
|
-
text: string;
|
|
3999
3363
|
}) | ({
|
|
4000
3364
|
__TYPE__: "DocumentLink";
|
|
4001
|
-
} & (({
|
|
4002
|
-
id: string;
|
|
4003
3365
|
} & {
|
|
4004
|
-
|
|
4005
|
-
}) | {
|
|
4006
|
-
kind: "document";
|
|
4007
|
-
text: string;
|
|
4008
|
-
})) | ({
|
|
3366
|
+
id: string;
|
|
3367
|
+
}) | ({
|
|
4009
3368
|
__TYPE__: "ExternalLink";
|
|
4010
|
-
} &
|
|
3369
|
+
} & {
|
|
4011
3370
|
url: string;
|
|
4012
3371
|
} & {
|
|
4013
3372
|
kind?: "web";
|
|
@@ -4015,14 +3374,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4015
3374
|
preview?: {
|
|
4016
3375
|
title?: string;
|
|
4017
3376
|
} | null | undefined;
|
|
4018
|
-
text?: string;
|
|
4019
|
-
}) | {
|
|
4020
|
-
kind: "web";
|
|
4021
|
-
text: string;
|
|
4022
|
-
})) | ({
|
|
4023
|
-
__TYPE__: "AnyLink";
|
|
4024
|
-
} & {
|
|
4025
|
-
text: string;
|
|
4026
3377
|
});
|
|
4027
3378
|
start: number;
|
|
4028
3379
|
end: number;
|
|
@@ -4160,7 +3511,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4160
3511
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
4161
3512
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4162
3513
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
4163
|
-
}>>, t.UnionC<[t.
|
|
3514
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4164
3515
|
kind: t.Type<"image", "image", unknown>;
|
|
4165
3516
|
id: t.StringC;
|
|
4166
3517
|
url: t.StringC;
|
|
@@ -4168,15 +3519,16 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4168
3519
|
width: t.StringC;
|
|
4169
3520
|
size: t.StringC;
|
|
4170
3521
|
name: t.StringC;
|
|
4171
|
-
}
|
|
3522
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4172
3523
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3524
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
4173
3525
|
text: t.StringC;
|
|
4174
|
-
}
|
|
3526
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4175
3527
|
kind: t.LiteralC<"image">;
|
|
4176
3528
|
text: t.StringC;
|
|
4177
3529
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4178
3530
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
4179
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3531
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4180
3532
|
kind: t.Type<"file", "file", unknown>;
|
|
4181
3533
|
id: t.StringC;
|
|
4182
3534
|
url: t.StringC;
|
|
@@ -4184,22 +3536,23 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4184
3536
|
size: t.StringC;
|
|
4185
3537
|
}>, t.PartialC<{
|
|
4186
3538
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3539
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
4187
3540
|
text: t.StringC;
|
|
4188
|
-
}
|
|
3541
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4189
3542
|
kind: t.LiteralC<"file">;
|
|
4190
3543
|
text: t.StringC;
|
|
4191
3544
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4192
3545
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
4193
|
-
}>>, t.UnionC<[t.
|
|
3546
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4194
3547
|
id: t.Type<string, string, unknown>;
|
|
4195
|
-
}
|
|
3548
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4196
3549
|
text: t.StringC;
|
|
4197
|
-
}
|
|
3550
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4198
3551
|
kind: t.LiteralC<"document">;
|
|
4199
3552
|
text: t.StringC;
|
|
4200
3553
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4201
3554
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
4202
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3555
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4203
3556
|
url: t.StringC;
|
|
4204
3557
|
}>, t.PartialC<{
|
|
4205
3558
|
kind: t.LiteralC<"web">;
|
|
@@ -4209,8 +3562,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4209
3562
|
}, {
|
|
4210
3563
|
title?: string;
|
|
4211
3564
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3565
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
4212
3566
|
text: t.StringC;
|
|
4213
|
-
}
|
|
3567
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4214
3568
|
kind: t.LiteralC<"web">;
|
|
4215
3569
|
text: t.StringC;
|
|
4216
3570
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -4252,7 +3606,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4252
3606
|
}>]>>, t.PartialC<{
|
|
4253
3607
|
linkTo: t.UnionC<[t.Type<({
|
|
4254
3608
|
__TYPE__: "ImageLink";
|
|
4255
|
-
} &
|
|
3609
|
+
} & {
|
|
4256
3610
|
kind: "image";
|
|
4257
3611
|
id: string;
|
|
4258
3612
|
url: string;
|
|
@@ -4262,13 +3616,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4262
3616
|
name: string;
|
|
4263
3617
|
} & {
|
|
4264
3618
|
date?: string | null | undefined;
|
|
4265
|
-
|
|
4266
|
-
}) | {
|
|
4267
|
-
kind: "image";
|
|
4268
|
-
text: string;
|
|
4269
|
-
})) | ({
|
|
3619
|
+
}) | ({
|
|
4270
3620
|
__TYPE__: "FileLink";
|
|
4271
|
-
} &
|
|
3621
|
+
} & {
|
|
4272
3622
|
kind: "file";
|
|
4273
3623
|
id: string;
|
|
4274
3624
|
url: string;
|
|
@@ -4276,27 +3626,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4276
3626
|
size: string;
|
|
4277
3627
|
} & {
|
|
4278
3628
|
date?: string | null | undefined;
|
|
4279
|
-
text?: string;
|
|
4280
|
-
}) | {
|
|
4281
|
-
kind: "file";
|
|
4282
|
-
text: string;
|
|
4283
|
-
})) | ({
|
|
4284
|
-
__TYPE__: "MediaLink";
|
|
4285
|
-
} & {
|
|
4286
|
-
kind: "media";
|
|
4287
|
-
text: string;
|
|
4288
3629
|
}) | ({
|
|
4289
3630
|
__TYPE__: "DocumentLink";
|
|
4290
|
-
} & (({
|
|
4291
|
-
id: string;
|
|
4292
3631
|
} & {
|
|
4293
|
-
|
|
4294
|
-
}) | {
|
|
4295
|
-
kind: "document";
|
|
4296
|
-
text: string;
|
|
4297
|
-
})) | ({
|
|
3632
|
+
id: string;
|
|
3633
|
+
}) | ({
|
|
4298
3634
|
__TYPE__: "ExternalLink";
|
|
4299
|
-
} &
|
|
3635
|
+
} & {
|
|
4300
3636
|
url: string;
|
|
4301
3637
|
} & {
|
|
4302
3638
|
kind?: "web";
|
|
@@ -4304,17 +3640,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4304
3640
|
preview?: {
|
|
4305
3641
|
title?: string;
|
|
4306
3642
|
} | null | undefined;
|
|
4307
|
-
text?: string;
|
|
4308
|
-
}) | {
|
|
4309
|
-
kind: "web";
|
|
4310
|
-
text: string;
|
|
4311
|
-
})) | ({
|
|
4312
|
-
__TYPE__: "AnyLink";
|
|
4313
|
-
} & {
|
|
4314
|
-
text: string;
|
|
4315
3643
|
}), ({
|
|
4316
3644
|
__TYPE__: "ImageLink";
|
|
4317
|
-
} &
|
|
3645
|
+
} & {
|
|
4318
3646
|
kind: "image";
|
|
4319
3647
|
id: string;
|
|
4320
3648
|
url: string;
|
|
@@ -4324,13 +3652,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4324
3652
|
name: string;
|
|
4325
3653
|
} & {
|
|
4326
3654
|
date?: string | null | undefined;
|
|
4327
|
-
|
|
4328
|
-
}) | {
|
|
4329
|
-
kind: "image";
|
|
4330
|
-
text: string;
|
|
4331
|
-
})) | ({
|
|
3655
|
+
}) | ({
|
|
4332
3656
|
__TYPE__: "FileLink";
|
|
4333
|
-
} &
|
|
3657
|
+
} & {
|
|
4334
3658
|
kind: "file";
|
|
4335
3659
|
id: string;
|
|
4336
3660
|
url: string;
|
|
@@ -4338,27 +3662,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4338
3662
|
size: string;
|
|
4339
3663
|
} & {
|
|
4340
3664
|
date?: string | null | undefined;
|
|
4341
|
-
text?: string;
|
|
4342
|
-
}) | {
|
|
4343
|
-
kind: "file";
|
|
4344
|
-
text: string;
|
|
4345
|
-
})) | ({
|
|
4346
|
-
__TYPE__: "MediaLink";
|
|
4347
|
-
} & {
|
|
4348
|
-
kind: "media";
|
|
4349
|
-
text: string;
|
|
4350
3665
|
}) | ({
|
|
4351
3666
|
__TYPE__: "DocumentLink";
|
|
4352
|
-
} & (({
|
|
4353
|
-
id: string;
|
|
4354
3667
|
} & {
|
|
4355
|
-
|
|
4356
|
-
}) | {
|
|
4357
|
-
kind: "document";
|
|
4358
|
-
text: string;
|
|
4359
|
-
})) | ({
|
|
3668
|
+
id: string;
|
|
3669
|
+
}) | ({
|
|
4360
3670
|
__TYPE__: "ExternalLink";
|
|
4361
|
-
} &
|
|
3671
|
+
} & {
|
|
4362
3672
|
url: string;
|
|
4363
3673
|
} & {
|
|
4364
3674
|
kind?: "web";
|
|
@@ -4366,14 +3676,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4366
3676
|
preview?: {
|
|
4367
3677
|
title?: string;
|
|
4368
3678
|
} | null | undefined;
|
|
4369
|
-
text?: string;
|
|
4370
|
-
}) | {
|
|
4371
|
-
kind: "web";
|
|
4372
|
-
text: string;
|
|
4373
|
-
})) | ({
|
|
4374
|
-
__TYPE__: "AnyLink";
|
|
4375
|
-
} & {
|
|
4376
|
-
text: string;
|
|
4377
3679
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
4378
3680
|
}>]>;
|
|
4379
3681
|
}>, t.PartialC<{
|
|
@@ -4411,7 +3713,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4411
3713
|
spans: t.Type<({
|
|
4412
3714
|
data: ({
|
|
4413
3715
|
__TYPE__: "ImageLink";
|
|
4414
|
-
} &
|
|
3716
|
+
} & {
|
|
4415
3717
|
kind: "image";
|
|
4416
3718
|
id: string;
|
|
4417
3719
|
url: string;
|
|
@@ -4421,13 +3723,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4421
3723
|
name: string;
|
|
4422
3724
|
} & {
|
|
4423
3725
|
date?: string | null | undefined;
|
|
4424
|
-
|
|
4425
|
-
}) | {
|
|
4426
|
-
kind: "image";
|
|
4427
|
-
text: string;
|
|
4428
|
-
})) | ({
|
|
3726
|
+
}) | ({
|
|
4429
3727
|
__TYPE__: "FileLink";
|
|
4430
|
-
} &
|
|
3728
|
+
} & {
|
|
4431
3729
|
kind: "file";
|
|
4432
3730
|
id: string;
|
|
4433
3731
|
url: string;
|
|
@@ -4435,27 +3733,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4435
3733
|
size: string;
|
|
4436
3734
|
} & {
|
|
4437
3735
|
date?: string | null | undefined;
|
|
4438
|
-
text?: string;
|
|
4439
|
-
}) | {
|
|
4440
|
-
kind: "file";
|
|
4441
|
-
text: string;
|
|
4442
|
-
})) | ({
|
|
4443
|
-
__TYPE__: "MediaLink";
|
|
4444
|
-
} & {
|
|
4445
|
-
kind: "media";
|
|
4446
|
-
text: string;
|
|
4447
3736
|
}) | ({
|
|
4448
3737
|
__TYPE__: "DocumentLink";
|
|
4449
|
-
} & (({
|
|
4450
|
-
id: string;
|
|
4451
3738
|
} & {
|
|
4452
|
-
|
|
4453
|
-
}) | {
|
|
4454
|
-
kind: "document";
|
|
4455
|
-
text: string;
|
|
4456
|
-
})) | ({
|
|
3739
|
+
id: string;
|
|
3740
|
+
}) | ({
|
|
4457
3741
|
__TYPE__: "ExternalLink";
|
|
4458
|
-
} &
|
|
3742
|
+
} & {
|
|
4459
3743
|
url: string;
|
|
4460
3744
|
} & {
|
|
4461
3745
|
kind?: "web";
|
|
@@ -4463,14 +3747,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4463
3747
|
preview?: {
|
|
4464
3748
|
title?: string;
|
|
4465
3749
|
} | null | undefined;
|
|
4466
|
-
text?: string;
|
|
4467
|
-
}) | {
|
|
4468
|
-
kind: "web";
|
|
4469
|
-
text: string;
|
|
4470
|
-
})) | ({
|
|
4471
|
-
__TYPE__: "AnyLink";
|
|
4472
|
-
} & {
|
|
4473
|
-
text: string;
|
|
4474
3750
|
});
|
|
4475
3751
|
start: number;
|
|
4476
3752
|
end: number;
|
|
@@ -4487,7 +3763,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4487
3763
|
})[], ({
|
|
4488
3764
|
data: ({
|
|
4489
3765
|
__TYPE__: "ImageLink";
|
|
4490
|
-
} &
|
|
3766
|
+
} & {
|
|
4491
3767
|
kind: "image";
|
|
4492
3768
|
id: string;
|
|
4493
3769
|
url: string;
|
|
@@ -4497,13 +3773,9 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4497
3773
|
name: string;
|
|
4498
3774
|
} & {
|
|
4499
3775
|
date?: string | null | undefined;
|
|
4500
|
-
|
|
4501
|
-
}) | {
|
|
4502
|
-
kind: "image";
|
|
4503
|
-
text: string;
|
|
4504
|
-
})) | ({
|
|
3776
|
+
}) | ({
|
|
4505
3777
|
__TYPE__: "FileLink";
|
|
4506
|
-
} &
|
|
3778
|
+
} & {
|
|
4507
3779
|
kind: "file";
|
|
4508
3780
|
id: string;
|
|
4509
3781
|
url: string;
|
|
@@ -4511,27 +3783,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4511
3783
|
size: string;
|
|
4512
3784
|
} & {
|
|
4513
3785
|
date?: string | null | undefined;
|
|
4514
|
-
text?: string;
|
|
4515
|
-
}) | {
|
|
4516
|
-
kind: "file";
|
|
4517
|
-
text: string;
|
|
4518
|
-
})) | ({
|
|
4519
|
-
__TYPE__: "MediaLink";
|
|
4520
|
-
} & {
|
|
4521
|
-
kind: "media";
|
|
4522
|
-
text: string;
|
|
4523
3786
|
}) | ({
|
|
4524
3787
|
__TYPE__: "DocumentLink";
|
|
4525
|
-
} & (({
|
|
4526
|
-
id: string;
|
|
4527
3788
|
} & {
|
|
4528
|
-
|
|
4529
|
-
}) | {
|
|
4530
|
-
kind: "document";
|
|
4531
|
-
text: string;
|
|
4532
|
-
})) | ({
|
|
3789
|
+
id: string;
|
|
3790
|
+
}) | ({
|
|
4533
3791
|
__TYPE__: "ExternalLink";
|
|
4534
|
-
} &
|
|
3792
|
+
} & {
|
|
4535
3793
|
url: string;
|
|
4536
3794
|
} & {
|
|
4537
3795
|
kind?: "web";
|
|
@@ -4539,14 +3797,6 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4539
3797
|
preview?: {
|
|
4540
3798
|
title?: string;
|
|
4541
3799
|
} | null | undefined;
|
|
4542
|
-
text?: string;
|
|
4543
|
-
}) | {
|
|
4544
|
-
kind: "web";
|
|
4545
|
-
text: string;
|
|
4546
|
-
})) | ({
|
|
4547
|
-
__TYPE__: "AnyLink";
|
|
4548
|
-
} & {
|
|
4549
|
-
text: string;
|
|
4550
3800
|
});
|
|
4551
3801
|
start: number;
|
|
4552
3802
|
end: number;
|