@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
|
@@ -134,6 +134,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
134
134
|
name: string;
|
|
135
135
|
} & {
|
|
136
136
|
date?: string | null | undefined;
|
|
137
|
+
} & {
|
|
137
138
|
text?: string;
|
|
138
139
|
}) | {
|
|
139
140
|
kind: "image";
|
|
@@ -148,6 +149,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
148
149
|
size: string;
|
|
149
150
|
} & {
|
|
150
151
|
date?: string | null | undefined;
|
|
152
|
+
} & {
|
|
151
153
|
text?: string;
|
|
152
154
|
}) | {
|
|
153
155
|
kind: "file";
|
|
@@ -176,6 +178,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
176
178
|
preview?: {
|
|
177
179
|
title?: string;
|
|
178
180
|
} | null | undefined;
|
|
181
|
+
} & {
|
|
179
182
|
text?: string;
|
|
180
183
|
}) | {
|
|
181
184
|
kind: "web";
|
|
@@ -214,7 +217,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
214
217
|
} & {
|
|
215
218
|
linkTo?: ({
|
|
216
219
|
__TYPE__: "ImageLink";
|
|
217
|
-
} &
|
|
220
|
+
} & {
|
|
218
221
|
kind: "image";
|
|
219
222
|
id: string;
|
|
220
223
|
url: string;
|
|
@@ -224,13 +227,9 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
224
227
|
name: string;
|
|
225
228
|
} & {
|
|
226
229
|
date?: string | null | undefined;
|
|
227
|
-
|
|
228
|
-
}) | {
|
|
229
|
-
kind: "image";
|
|
230
|
-
text: string;
|
|
231
|
-
})) | ({
|
|
230
|
+
}) | ({
|
|
232
231
|
__TYPE__: "FileLink";
|
|
233
|
-
} &
|
|
232
|
+
} & {
|
|
234
233
|
kind: "file";
|
|
235
234
|
id: string;
|
|
236
235
|
url: string;
|
|
@@ -238,27 +237,13 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
238
237
|
size: string;
|
|
239
238
|
} & {
|
|
240
239
|
date?: string | null | undefined;
|
|
241
|
-
text?: string;
|
|
242
|
-
}) | {
|
|
243
|
-
kind: "file";
|
|
244
|
-
text: string;
|
|
245
|
-
})) | ({
|
|
246
|
-
__TYPE__: "MediaLink";
|
|
247
|
-
} & {
|
|
248
|
-
kind: "media";
|
|
249
|
-
text: string;
|
|
250
240
|
}) | ({
|
|
251
241
|
__TYPE__: "DocumentLink";
|
|
252
|
-
} & (({
|
|
253
|
-
id: string;
|
|
254
242
|
} & {
|
|
255
|
-
|
|
256
|
-
}) | {
|
|
257
|
-
kind: "document";
|
|
258
|
-
text: string;
|
|
259
|
-
})) | ({
|
|
243
|
+
id: string;
|
|
244
|
+
}) | ({
|
|
260
245
|
__TYPE__: "ExternalLink";
|
|
261
|
-
} &
|
|
246
|
+
} & {
|
|
262
247
|
url: string;
|
|
263
248
|
} & {
|
|
264
249
|
kind?: "web";
|
|
@@ -266,14 +251,6 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
266
251
|
preview?: {
|
|
267
252
|
title?: string;
|
|
268
253
|
} | null | undefined;
|
|
269
|
-
text?: string;
|
|
270
|
-
}) | {
|
|
271
|
-
kind: "web";
|
|
272
|
-
text: string;
|
|
273
|
-
})) | ({
|
|
274
|
-
__TYPE__: "AnyLink";
|
|
275
|
-
} & {
|
|
276
|
-
text: string;
|
|
277
254
|
}) | null | undefined;
|
|
278
255
|
};
|
|
279
256
|
} & {
|
|
@@ -311,7 +288,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
311
288
|
spans?: ({
|
|
312
289
|
data: ({
|
|
313
290
|
__TYPE__: "ImageLink";
|
|
314
|
-
} &
|
|
291
|
+
} & {
|
|
315
292
|
kind: "image";
|
|
316
293
|
id: string;
|
|
317
294
|
url: string;
|
|
@@ -321,13 +298,9 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
321
298
|
name: string;
|
|
322
299
|
} & {
|
|
323
300
|
date?: string | null | undefined;
|
|
324
|
-
|
|
325
|
-
}) | {
|
|
326
|
-
kind: "image";
|
|
327
|
-
text: string;
|
|
328
|
-
})) | ({
|
|
301
|
+
}) | ({
|
|
329
302
|
__TYPE__: "FileLink";
|
|
330
|
-
} &
|
|
303
|
+
} & {
|
|
331
304
|
kind: "file";
|
|
332
305
|
id: string;
|
|
333
306
|
url: string;
|
|
@@ -335,27 +308,13 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
335
308
|
size: string;
|
|
336
309
|
} & {
|
|
337
310
|
date?: string | null | undefined;
|
|
338
|
-
text?: string;
|
|
339
|
-
}) | {
|
|
340
|
-
kind: "file";
|
|
341
|
-
text: string;
|
|
342
|
-
})) | ({
|
|
343
|
-
__TYPE__: "MediaLink";
|
|
344
|
-
} & {
|
|
345
|
-
kind: "media";
|
|
346
|
-
text: string;
|
|
347
311
|
}) | ({
|
|
348
312
|
__TYPE__: "DocumentLink";
|
|
349
|
-
} & (({
|
|
350
|
-
id: string;
|
|
351
313
|
} & {
|
|
352
|
-
|
|
353
|
-
}) | {
|
|
354
|
-
kind: "document";
|
|
355
|
-
text: string;
|
|
356
|
-
})) | ({
|
|
314
|
+
id: string;
|
|
315
|
+
}) | ({
|
|
357
316
|
__TYPE__: "ExternalLink";
|
|
358
|
-
} &
|
|
317
|
+
} & {
|
|
359
318
|
url: string;
|
|
360
319
|
} & {
|
|
361
320
|
kind?: "web";
|
|
@@ -363,14 +322,6 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
363
322
|
preview?: {
|
|
364
323
|
title?: string;
|
|
365
324
|
} | null | undefined;
|
|
366
|
-
text?: string;
|
|
367
|
-
}) | {
|
|
368
|
-
kind: "web";
|
|
369
|
-
text: string;
|
|
370
|
-
})) | ({
|
|
371
|
-
__TYPE__: "AnyLink";
|
|
372
|
-
} & {
|
|
373
|
-
text: string;
|
|
374
325
|
});
|
|
375
326
|
start: number;
|
|
376
327
|
end: number;
|
|
@@ -522,6 +473,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
522
473
|
name: string;
|
|
523
474
|
} & {
|
|
524
475
|
date?: string | null | undefined;
|
|
476
|
+
} & {
|
|
525
477
|
text?: string;
|
|
526
478
|
}) | {
|
|
527
479
|
kind: "image";
|
|
@@ -536,6 +488,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
536
488
|
size: string;
|
|
537
489
|
} & {
|
|
538
490
|
date?: string | null | undefined;
|
|
491
|
+
} & {
|
|
539
492
|
text?: string;
|
|
540
493
|
}) | {
|
|
541
494
|
kind: "file";
|
|
@@ -564,6 +517,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
564
517
|
preview?: {
|
|
565
518
|
title?: string;
|
|
566
519
|
} | null | undefined;
|
|
520
|
+
} & {
|
|
567
521
|
text?: string;
|
|
568
522
|
}) | {
|
|
569
523
|
kind: "web";
|
|
@@ -602,7 +556,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
602
556
|
} & {
|
|
603
557
|
linkTo?: ({
|
|
604
558
|
__TYPE__: "ImageLink";
|
|
605
|
-
} &
|
|
559
|
+
} & {
|
|
606
560
|
kind: "image";
|
|
607
561
|
id: string;
|
|
608
562
|
url: string;
|
|
@@ -612,13 +566,9 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
612
566
|
name: string;
|
|
613
567
|
} & {
|
|
614
568
|
date?: string | null | undefined;
|
|
615
|
-
|
|
616
|
-
}) | {
|
|
617
|
-
kind: "image";
|
|
618
|
-
text: string;
|
|
619
|
-
})) | ({
|
|
569
|
+
}) | ({
|
|
620
570
|
__TYPE__: "FileLink";
|
|
621
|
-
} &
|
|
571
|
+
} & {
|
|
622
572
|
kind: "file";
|
|
623
573
|
id: string;
|
|
624
574
|
url: string;
|
|
@@ -626,27 +576,13 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
626
576
|
size: string;
|
|
627
577
|
} & {
|
|
628
578
|
date?: string | null | undefined;
|
|
629
|
-
text?: string;
|
|
630
|
-
}) | {
|
|
631
|
-
kind: "file";
|
|
632
|
-
text: string;
|
|
633
|
-
})) | ({
|
|
634
|
-
__TYPE__: "MediaLink";
|
|
635
|
-
} & {
|
|
636
|
-
kind: "media";
|
|
637
|
-
text: string;
|
|
638
579
|
}) | ({
|
|
639
580
|
__TYPE__: "DocumentLink";
|
|
640
|
-
} & (({
|
|
641
|
-
id: string;
|
|
642
581
|
} & {
|
|
643
|
-
|
|
644
|
-
}) | {
|
|
645
|
-
kind: "document";
|
|
646
|
-
text: string;
|
|
647
|
-
})) | ({
|
|
582
|
+
id: string;
|
|
583
|
+
}) | ({
|
|
648
584
|
__TYPE__: "ExternalLink";
|
|
649
|
-
} &
|
|
585
|
+
} & {
|
|
650
586
|
url: string;
|
|
651
587
|
} & {
|
|
652
588
|
kind?: "web";
|
|
@@ -654,14 +590,6 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
654
590
|
preview?: {
|
|
655
591
|
title?: string;
|
|
656
592
|
} | null | undefined;
|
|
657
|
-
text?: string;
|
|
658
|
-
}) | {
|
|
659
|
-
kind: "web";
|
|
660
|
-
text: string;
|
|
661
|
-
})) | ({
|
|
662
|
-
__TYPE__: "AnyLink";
|
|
663
|
-
} & {
|
|
664
|
-
text: string;
|
|
665
593
|
}) | null | undefined;
|
|
666
594
|
};
|
|
667
595
|
} & {
|
|
@@ -699,7 +627,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
699
627
|
spans?: ({
|
|
700
628
|
data: ({
|
|
701
629
|
__TYPE__: "ImageLink";
|
|
702
|
-
} &
|
|
630
|
+
} & {
|
|
703
631
|
kind: "image";
|
|
704
632
|
id: string;
|
|
705
633
|
url: string;
|
|
@@ -709,13 +637,9 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
709
637
|
name: string;
|
|
710
638
|
} & {
|
|
711
639
|
date?: string | null | undefined;
|
|
712
|
-
|
|
713
|
-
}) | {
|
|
714
|
-
kind: "image";
|
|
715
|
-
text: string;
|
|
716
|
-
})) | ({
|
|
640
|
+
}) | ({
|
|
717
641
|
__TYPE__: "FileLink";
|
|
718
|
-
} &
|
|
642
|
+
} & {
|
|
719
643
|
kind: "file";
|
|
720
644
|
id: string;
|
|
721
645
|
url: string;
|
|
@@ -723,27 +647,13 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
723
647
|
size: string;
|
|
724
648
|
} & {
|
|
725
649
|
date?: string | null | undefined;
|
|
726
|
-
text?: string;
|
|
727
|
-
}) | {
|
|
728
|
-
kind: "file";
|
|
729
|
-
text: string;
|
|
730
|
-
})) | ({
|
|
731
|
-
__TYPE__: "MediaLink";
|
|
732
|
-
} & {
|
|
733
|
-
kind: "media";
|
|
734
|
-
text: string;
|
|
735
650
|
}) | ({
|
|
736
651
|
__TYPE__: "DocumentLink";
|
|
737
|
-
} & (({
|
|
738
|
-
id: string;
|
|
739
652
|
} & {
|
|
740
|
-
|
|
741
|
-
}) | {
|
|
742
|
-
kind: "document";
|
|
743
|
-
text: string;
|
|
744
|
-
})) | ({
|
|
653
|
+
id: string;
|
|
654
|
+
}) | ({
|
|
745
655
|
__TYPE__: "ExternalLink";
|
|
746
|
-
} &
|
|
656
|
+
} & {
|
|
747
657
|
url: string;
|
|
748
658
|
} & {
|
|
749
659
|
kind?: "web";
|
|
@@ -751,14 +661,6 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
751
661
|
preview?: {
|
|
752
662
|
title?: string;
|
|
753
663
|
} | null | undefined;
|
|
754
|
-
text?: string;
|
|
755
|
-
}) | {
|
|
756
|
-
kind: "web";
|
|
757
|
-
text: string;
|
|
758
|
-
})) | ({
|
|
759
|
-
__TYPE__: "AnyLink";
|
|
760
|
-
} & {
|
|
761
|
-
text: string;
|
|
762
664
|
});
|
|
763
665
|
start: number;
|
|
764
666
|
end: number;
|
|
@@ -913,6 +815,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
913
815
|
name: string;
|
|
914
816
|
} & {
|
|
915
817
|
date?: string | null | undefined;
|
|
818
|
+
} & {
|
|
916
819
|
text?: string;
|
|
917
820
|
}) | {
|
|
918
821
|
kind: "image";
|
|
@@ -927,6 +830,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
927
830
|
size: string;
|
|
928
831
|
} & {
|
|
929
832
|
date?: string | null | undefined;
|
|
833
|
+
} & {
|
|
930
834
|
text?: string;
|
|
931
835
|
}) | {
|
|
932
836
|
kind: "file";
|
|
@@ -955,6 +859,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
955
859
|
preview?: {
|
|
956
860
|
title?: string;
|
|
957
861
|
} | null | undefined;
|
|
862
|
+
} & {
|
|
958
863
|
text?: string;
|
|
959
864
|
}) | {
|
|
960
865
|
kind: "web";
|
|
@@ -993,7 +898,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
993
898
|
} & {
|
|
994
899
|
linkTo?: ({
|
|
995
900
|
__TYPE__: "ImageLink";
|
|
996
|
-
} &
|
|
901
|
+
} & {
|
|
997
902
|
kind: "image";
|
|
998
903
|
id: string;
|
|
999
904
|
url: string;
|
|
@@ -1003,13 +908,9 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1003
908
|
name: string;
|
|
1004
909
|
} & {
|
|
1005
910
|
date?: string | null | undefined;
|
|
1006
|
-
|
|
1007
|
-
}) | {
|
|
1008
|
-
kind: "image";
|
|
1009
|
-
text: string;
|
|
1010
|
-
})) | ({
|
|
911
|
+
}) | ({
|
|
1011
912
|
__TYPE__: "FileLink";
|
|
1012
|
-
} &
|
|
913
|
+
} & {
|
|
1013
914
|
kind: "file";
|
|
1014
915
|
id: string;
|
|
1015
916
|
url: string;
|
|
@@ -1017,27 +918,13 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1017
918
|
size: string;
|
|
1018
919
|
} & {
|
|
1019
920
|
date?: string | null | undefined;
|
|
1020
|
-
text?: string;
|
|
1021
|
-
}) | {
|
|
1022
|
-
kind: "file";
|
|
1023
|
-
text: string;
|
|
1024
|
-
})) | ({
|
|
1025
|
-
__TYPE__: "MediaLink";
|
|
1026
|
-
} & {
|
|
1027
|
-
kind: "media";
|
|
1028
|
-
text: string;
|
|
1029
921
|
}) | ({
|
|
1030
922
|
__TYPE__: "DocumentLink";
|
|
1031
|
-
} & (({
|
|
1032
|
-
id: string;
|
|
1033
923
|
} & {
|
|
1034
|
-
|
|
1035
|
-
}) | {
|
|
1036
|
-
kind: "document";
|
|
1037
|
-
text: string;
|
|
1038
|
-
})) | ({
|
|
924
|
+
id: string;
|
|
925
|
+
}) | ({
|
|
1039
926
|
__TYPE__: "ExternalLink";
|
|
1040
|
-
} &
|
|
927
|
+
} & {
|
|
1041
928
|
url: string;
|
|
1042
929
|
} & {
|
|
1043
930
|
kind?: "web";
|
|
@@ -1045,14 +932,6 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1045
932
|
preview?: {
|
|
1046
933
|
title?: string;
|
|
1047
934
|
} | null | undefined;
|
|
1048
|
-
text?: string;
|
|
1049
|
-
}) | {
|
|
1050
|
-
kind: "web";
|
|
1051
|
-
text: string;
|
|
1052
|
-
})) | ({
|
|
1053
|
-
__TYPE__: "AnyLink";
|
|
1054
|
-
} & {
|
|
1055
|
-
text: string;
|
|
1056
935
|
}) | null | undefined;
|
|
1057
936
|
};
|
|
1058
937
|
} & {
|
|
@@ -1090,7 +969,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1090
969
|
spans?: ({
|
|
1091
970
|
data: ({
|
|
1092
971
|
__TYPE__: "ImageLink";
|
|
1093
|
-
} &
|
|
972
|
+
} & {
|
|
1094
973
|
kind: "image";
|
|
1095
974
|
id: string;
|
|
1096
975
|
url: string;
|
|
@@ -1100,13 +979,9 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1100
979
|
name: string;
|
|
1101
980
|
} & {
|
|
1102
981
|
date?: string | null | undefined;
|
|
1103
|
-
|
|
1104
|
-
}) | {
|
|
1105
|
-
kind: "image";
|
|
1106
|
-
text: string;
|
|
1107
|
-
})) | ({
|
|
982
|
+
}) | ({
|
|
1108
983
|
__TYPE__: "FileLink";
|
|
1109
|
-
} &
|
|
984
|
+
} & {
|
|
1110
985
|
kind: "file";
|
|
1111
986
|
id: string;
|
|
1112
987
|
url: string;
|
|
@@ -1114,27 +989,13 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1114
989
|
size: string;
|
|
1115
990
|
} & {
|
|
1116
991
|
date?: string | null | undefined;
|
|
1117
|
-
text?: string;
|
|
1118
|
-
}) | {
|
|
1119
|
-
kind: "file";
|
|
1120
|
-
text: string;
|
|
1121
|
-
})) | ({
|
|
1122
|
-
__TYPE__: "MediaLink";
|
|
1123
|
-
} & {
|
|
1124
|
-
kind: "media";
|
|
1125
|
-
text: string;
|
|
1126
992
|
}) | ({
|
|
1127
993
|
__TYPE__: "DocumentLink";
|
|
1128
|
-
} & (({
|
|
1129
|
-
id: string;
|
|
1130
994
|
} & {
|
|
1131
|
-
|
|
1132
|
-
}) | {
|
|
1133
|
-
kind: "document";
|
|
1134
|
-
text: string;
|
|
1135
|
-
})) | ({
|
|
995
|
+
id: string;
|
|
996
|
+
}) | ({
|
|
1136
997
|
__TYPE__: "ExternalLink";
|
|
1137
|
-
} &
|
|
998
|
+
} & {
|
|
1138
999
|
url: string;
|
|
1139
1000
|
} & {
|
|
1140
1001
|
kind?: "web";
|
|
@@ -1142,14 +1003,6 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1142
1003
|
preview?: {
|
|
1143
1004
|
title?: string;
|
|
1144
1005
|
} | null | undefined;
|
|
1145
|
-
text?: string;
|
|
1146
|
-
}) | {
|
|
1147
|
-
kind: "web";
|
|
1148
|
-
text: string;
|
|
1149
|
-
})) | ({
|
|
1150
|
-
__TYPE__: "AnyLink";
|
|
1151
|
-
} & {
|
|
1152
|
-
text: string;
|
|
1153
1006
|
});
|
|
1154
1007
|
start: number;
|
|
1155
1008
|
end: number;
|
|
@@ -1301,6 +1154,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1301
1154
|
name: string;
|
|
1302
1155
|
} & {
|
|
1303
1156
|
date?: string | null | undefined;
|
|
1157
|
+
} & {
|
|
1304
1158
|
text?: string;
|
|
1305
1159
|
}) | {
|
|
1306
1160
|
kind: "image";
|
|
@@ -1315,6 +1169,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1315
1169
|
size: string;
|
|
1316
1170
|
} & {
|
|
1317
1171
|
date?: string | null | undefined;
|
|
1172
|
+
} & {
|
|
1318
1173
|
text?: string;
|
|
1319
1174
|
}) | {
|
|
1320
1175
|
kind: "file";
|
|
@@ -1343,6 +1198,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1343
1198
|
preview?: {
|
|
1344
1199
|
title?: string;
|
|
1345
1200
|
} | null | undefined;
|
|
1201
|
+
} & {
|
|
1346
1202
|
text?: string;
|
|
1347
1203
|
}) | {
|
|
1348
1204
|
kind: "web";
|
|
@@ -1381,7 +1237,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1381
1237
|
} & {
|
|
1382
1238
|
linkTo?: ({
|
|
1383
1239
|
__TYPE__: "ImageLink";
|
|
1384
|
-
} &
|
|
1240
|
+
} & {
|
|
1385
1241
|
kind: "image";
|
|
1386
1242
|
id: string;
|
|
1387
1243
|
url: string;
|
|
@@ -1391,13 +1247,9 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1391
1247
|
name: string;
|
|
1392
1248
|
} & {
|
|
1393
1249
|
date?: string | null | undefined;
|
|
1394
|
-
|
|
1395
|
-
}) | {
|
|
1396
|
-
kind: "image";
|
|
1397
|
-
text: string;
|
|
1398
|
-
})) | ({
|
|
1250
|
+
}) | ({
|
|
1399
1251
|
__TYPE__: "FileLink";
|
|
1400
|
-
} &
|
|
1252
|
+
} & {
|
|
1401
1253
|
kind: "file";
|
|
1402
1254
|
id: string;
|
|
1403
1255
|
url: string;
|
|
@@ -1405,27 +1257,13 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1405
1257
|
size: string;
|
|
1406
1258
|
} & {
|
|
1407
1259
|
date?: string | null | undefined;
|
|
1408
|
-
text?: string;
|
|
1409
|
-
}) | {
|
|
1410
|
-
kind: "file";
|
|
1411
|
-
text: string;
|
|
1412
|
-
})) | ({
|
|
1413
|
-
__TYPE__: "MediaLink";
|
|
1414
|
-
} & {
|
|
1415
|
-
kind: "media";
|
|
1416
|
-
text: string;
|
|
1417
1260
|
}) | ({
|
|
1418
1261
|
__TYPE__: "DocumentLink";
|
|
1419
|
-
} & (({
|
|
1420
|
-
id: string;
|
|
1421
1262
|
} & {
|
|
1422
|
-
|
|
1423
|
-
}) | {
|
|
1424
|
-
kind: "document";
|
|
1425
|
-
text: string;
|
|
1426
|
-
})) | ({
|
|
1263
|
+
id: string;
|
|
1264
|
+
}) | ({
|
|
1427
1265
|
__TYPE__: "ExternalLink";
|
|
1428
|
-
} &
|
|
1266
|
+
} & {
|
|
1429
1267
|
url: string;
|
|
1430
1268
|
} & {
|
|
1431
1269
|
kind?: "web";
|
|
@@ -1433,14 +1271,6 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1433
1271
|
preview?: {
|
|
1434
1272
|
title?: string;
|
|
1435
1273
|
} | null | undefined;
|
|
1436
|
-
text?: string;
|
|
1437
|
-
}) | {
|
|
1438
|
-
kind: "web";
|
|
1439
|
-
text: string;
|
|
1440
|
-
})) | ({
|
|
1441
|
-
__TYPE__: "AnyLink";
|
|
1442
|
-
} & {
|
|
1443
|
-
text: string;
|
|
1444
1274
|
}) | null | undefined;
|
|
1445
1275
|
};
|
|
1446
1276
|
} & {
|
|
@@ -1478,7 +1308,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1478
1308
|
spans?: ({
|
|
1479
1309
|
data: ({
|
|
1480
1310
|
__TYPE__: "ImageLink";
|
|
1481
|
-
} &
|
|
1311
|
+
} & {
|
|
1482
1312
|
kind: "image";
|
|
1483
1313
|
id: string;
|
|
1484
1314
|
url: string;
|
|
@@ -1488,13 +1318,9 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1488
1318
|
name: string;
|
|
1489
1319
|
} & {
|
|
1490
1320
|
date?: string | null | undefined;
|
|
1491
|
-
|
|
1492
|
-
}) | {
|
|
1493
|
-
kind: "image";
|
|
1494
|
-
text: string;
|
|
1495
|
-
})) | ({
|
|
1321
|
+
}) | ({
|
|
1496
1322
|
__TYPE__: "FileLink";
|
|
1497
|
-
} &
|
|
1323
|
+
} & {
|
|
1498
1324
|
kind: "file";
|
|
1499
1325
|
id: string;
|
|
1500
1326
|
url: string;
|
|
@@ -1502,27 +1328,13 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1502
1328
|
size: string;
|
|
1503
1329
|
} & {
|
|
1504
1330
|
date?: string | null | undefined;
|
|
1505
|
-
text?: string;
|
|
1506
|
-
}) | {
|
|
1507
|
-
kind: "file";
|
|
1508
|
-
text: string;
|
|
1509
|
-
})) | ({
|
|
1510
|
-
__TYPE__: "MediaLink";
|
|
1511
|
-
} & {
|
|
1512
|
-
kind: "media";
|
|
1513
|
-
text: string;
|
|
1514
1331
|
}) | ({
|
|
1515
1332
|
__TYPE__: "DocumentLink";
|
|
1516
|
-
} & (({
|
|
1517
|
-
id: string;
|
|
1518
1333
|
} & {
|
|
1519
|
-
|
|
1520
|
-
}) | {
|
|
1521
|
-
kind: "document";
|
|
1522
|
-
text: string;
|
|
1523
|
-
})) | ({
|
|
1334
|
+
id: string;
|
|
1335
|
+
}) | ({
|
|
1524
1336
|
__TYPE__: "ExternalLink";
|
|
1525
|
-
} &
|
|
1337
|
+
} & {
|
|
1526
1338
|
url: string;
|
|
1527
1339
|
} & {
|
|
1528
1340
|
kind?: "web";
|
|
@@ -1530,14 +1342,6 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1530
1342
|
preview?: {
|
|
1531
1343
|
title?: string;
|
|
1532
1344
|
} | null | undefined;
|
|
1533
|
-
text?: string;
|
|
1534
|
-
}) | {
|
|
1535
|
-
kind: "web";
|
|
1536
|
-
text: string;
|
|
1537
|
-
})) | ({
|
|
1538
|
-
__TYPE__: "AnyLink";
|
|
1539
|
-
} & {
|
|
1540
|
-
text: string;
|
|
1541
1345
|
});
|
|
1542
1346
|
start: number;
|
|
1543
1347
|
end: number;
|
|
@@ -1685,7 +1489,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1685
1489
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1686
1490
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1687
1491
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1688
|
-
}>>, t.UnionC<[t.
|
|
1492
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1689
1493
|
kind: t.Type<"image", "image", unknown>;
|
|
1690
1494
|
id: t.StringC;
|
|
1691
1495
|
url: t.StringC;
|
|
@@ -1693,15 +1497,16 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1693
1497
|
width: t.StringC;
|
|
1694
1498
|
size: t.StringC;
|
|
1695
1499
|
name: t.StringC;
|
|
1696
|
-
}
|
|
1500
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1697
1501
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1502
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1698
1503
|
text: t.StringC;
|
|
1699
|
-
}
|
|
1504
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1700
1505
|
kind: t.LiteralC<"image">;
|
|
1701
1506
|
text: t.StringC;
|
|
1702
1507
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1703
1508
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1704
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1509
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1705
1510
|
kind: t.Type<"file", "file", unknown>;
|
|
1706
1511
|
id: t.StringC;
|
|
1707
1512
|
url: t.StringC;
|
|
@@ -1709,22 +1514,23 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1709
1514
|
size: t.StringC;
|
|
1710
1515
|
}>, t.PartialC<{
|
|
1711
1516
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1517
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
1712
1518
|
text: t.StringC;
|
|
1713
|
-
}
|
|
1519
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1714
1520
|
kind: t.LiteralC<"file">;
|
|
1715
1521
|
text: t.StringC;
|
|
1716
1522
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1717
1523
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1718
|
-
}>>, t.UnionC<[t.
|
|
1524
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1719
1525
|
id: t.Type<string, string, unknown>;
|
|
1720
|
-
}
|
|
1526
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1721
1527
|
text: t.StringC;
|
|
1722
|
-
}
|
|
1528
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1723
1529
|
kind: t.LiteralC<"document">;
|
|
1724
1530
|
text: t.StringC;
|
|
1725
1531
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1726
1532
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1727
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1533
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1728
1534
|
url: t.StringC;
|
|
1729
1535
|
}>, t.PartialC<{
|
|
1730
1536
|
kind: t.LiteralC<"web">;
|
|
@@ -1734,8 +1540,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1734
1540
|
}, {
|
|
1735
1541
|
title?: string;
|
|
1736
1542
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1543
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
1737
1544
|
text: t.StringC;
|
|
1738
|
-
}
|
|
1545
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1739
1546
|
kind: t.LiteralC<"web">;
|
|
1740
1547
|
text: t.StringC;
|
|
1741
1548
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -1777,7 +1584,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1777
1584
|
}>]>>, t.PartialC<{
|
|
1778
1585
|
linkTo: t.UnionC<[t.Type<({
|
|
1779
1586
|
__TYPE__: "ImageLink";
|
|
1780
|
-
} &
|
|
1587
|
+
} & {
|
|
1781
1588
|
kind: "image";
|
|
1782
1589
|
id: string;
|
|
1783
1590
|
url: string;
|
|
@@ -1787,13 +1594,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1787
1594
|
name: string;
|
|
1788
1595
|
} & {
|
|
1789
1596
|
date?: string | null | undefined;
|
|
1790
|
-
|
|
1791
|
-
}) | {
|
|
1792
|
-
kind: "image";
|
|
1793
|
-
text: string;
|
|
1794
|
-
})) | ({
|
|
1597
|
+
}) | ({
|
|
1795
1598
|
__TYPE__: "FileLink";
|
|
1796
|
-
} &
|
|
1599
|
+
} & {
|
|
1797
1600
|
kind: "file";
|
|
1798
1601
|
id: string;
|
|
1799
1602
|
url: string;
|
|
@@ -1801,27 +1604,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1801
1604
|
size: string;
|
|
1802
1605
|
} & {
|
|
1803
1606
|
date?: string | null | undefined;
|
|
1804
|
-
text?: string;
|
|
1805
|
-
}) | {
|
|
1806
|
-
kind: "file";
|
|
1807
|
-
text: string;
|
|
1808
|
-
})) | ({
|
|
1809
|
-
__TYPE__: "MediaLink";
|
|
1810
|
-
} & {
|
|
1811
|
-
kind: "media";
|
|
1812
|
-
text: string;
|
|
1813
1607
|
}) | ({
|
|
1814
1608
|
__TYPE__: "DocumentLink";
|
|
1815
|
-
} & (({
|
|
1816
|
-
id: string;
|
|
1817
1609
|
} & {
|
|
1818
|
-
|
|
1819
|
-
}) | {
|
|
1820
|
-
kind: "document";
|
|
1821
|
-
text: string;
|
|
1822
|
-
})) | ({
|
|
1610
|
+
id: string;
|
|
1611
|
+
}) | ({
|
|
1823
1612
|
__TYPE__: "ExternalLink";
|
|
1824
|
-
} &
|
|
1613
|
+
} & {
|
|
1825
1614
|
url: string;
|
|
1826
1615
|
} & {
|
|
1827
1616
|
kind?: "web";
|
|
@@ -1829,17 +1618,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1829
1618
|
preview?: {
|
|
1830
1619
|
title?: string;
|
|
1831
1620
|
} | null | undefined;
|
|
1832
|
-
text?: string;
|
|
1833
|
-
}) | {
|
|
1834
|
-
kind: "web";
|
|
1835
|
-
text: string;
|
|
1836
|
-
})) | ({
|
|
1837
|
-
__TYPE__: "AnyLink";
|
|
1838
|
-
} & {
|
|
1839
|
-
text: string;
|
|
1840
1621
|
}), ({
|
|
1841
1622
|
__TYPE__: "ImageLink";
|
|
1842
|
-
} &
|
|
1623
|
+
} & {
|
|
1843
1624
|
kind: "image";
|
|
1844
1625
|
id: string;
|
|
1845
1626
|
url: string;
|
|
@@ -1849,13 +1630,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1849
1630
|
name: string;
|
|
1850
1631
|
} & {
|
|
1851
1632
|
date?: string | null | undefined;
|
|
1852
|
-
|
|
1853
|
-
}) | {
|
|
1854
|
-
kind: "image";
|
|
1855
|
-
text: string;
|
|
1856
|
-
})) | ({
|
|
1633
|
+
}) | ({
|
|
1857
1634
|
__TYPE__: "FileLink";
|
|
1858
|
-
} &
|
|
1635
|
+
} & {
|
|
1859
1636
|
kind: "file";
|
|
1860
1637
|
id: string;
|
|
1861
1638
|
url: string;
|
|
@@ -1863,27 +1640,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1863
1640
|
size: string;
|
|
1864
1641
|
} & {
|
|
1865
1642
|
date?: string | null | undefined;
|
|
1866
|
-
text?: string;
|
|
1867
|
-
}) | {
|
|
1868
|
-
kind: "file";
|
|
1869
|
-
text: string;
|
|
1870
|
-
})) | ({
|
|
1871
|
-
__TYPE__: "MediaLink";
|
|
1872
|
-
} & {
|
|
1873
|
-
kind: "media";
|
|
1874
|
-
text: string;
|
|
1875
1643
|
}) | ({
|
|
1876
1644
|
__TYPE__: "DocumentLink";
|
|
1877
|
-
} & (({
|
|
1878
|
-
id: string;
|
|
1879
1645
|
} & {
|
|
1880
|
-
|
|
1881
|
-
}) | {
|
|
1882
|
-
kind: "document";
|
|
1883
|
-
text: string;
|
|
1884
|
-
})) | ({
|
|
1646
|
+
id: string;
|
|
1647
|
+
}) | ({
|
|
1885
1648
|
__TYPE__: "ExternalLink";
|
|
1886
|
-
} &
|
|
1649
|
+
} & {
|
|
1887
1650
|
url: string;
|
|
1888
1651
|
} & {
|
|
1889
1652
|
kind?: "web";
|
|
@@ -1891,14 +1654,6 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1891
1654
|
preview?: {
|
|
1892
1655
|
title?: string;
|
|
1893
1656
|
} | null | undefined;
|
|
1894
|
-
text?: string;
|
|
1895
|
-
}) | {
|
|
1896
|
-
kind: "web";
|
|
1897
|
-
text: string;
|
|
1898
|
-
})) | ({
|
|
1899
|
-
__TYPE__: "AnyLink";
|
|
1900
|
-
} & {
|
|
1901
|
-
text: string;
|
|
1902
1657
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1903
1658
|
}>]>;
|
|
1904
1659
|
}>, t.PartialC<{
|
|
@@ -1936,7 +1691,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1936
1691
|
spans: t.Type<({
|
|
1937
1692
|
data: ({
|
|
1938
1693
|
__TYPE__: "ImageLink";
|
|
1939
|
-
} &
|
|
1694
|
+
} & {
|
|
1940
1695
|
kind: "image";
|
|
1941
1696
|
id: string;
|
|
1942
1697
|
url: string;
|
|
@@ -1946,13 +1701,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1946
1701
|
name: string;
|
|
1947
1702
|
} & {
|
|
1948
1703
|
date?: string | null | undefined;
|
|
1949
|
-
|
|
1950
|
-
}) | {
|
|
1951
|
-
kind: "image";
|
|
1952
|
-
text: string;
|
|
1953
|
-
})) | ({
|
|
1704
|
+
}) | ({
|
|
1954
1705
|
__TYPE__: "FileLink";
|
|
1955
|
-
} &
|
|
1706
|
+
} & {
|
|
1956
1707
|
kind: "file";
|
|
1957
1708
|
id: string;
|
|
1958
1709
|
url: string;
|
|
@@ -1960,27 +1711,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1960
1711
|
size: string;
|
|
1961
1712
|
} & {
|
|
1962
1713
|
date?: string | null | undefined;
|
|
1963
|
-
text?: string;
|
|
1964
|
-
}) | {
|
|
1965
|
-
kind: "file";
|
|
1966
|
-
text: string;
|
|
1967
|
-
})) | ({
|
|
1968
|
-
__TYPE__: "MediaLink";
|
|
1969
|
-
} & {
|
|
1970
|
-
kind: "media";
|
|
1971
|
-
text: string;
|
|
1972
1714
|
}) | ({
|
|
1973
1715
|
__TYPE__: "DocumentLink";
|
|
1974
|
-
} & (({
|
|
1975
|
-
id: string;
|
|
1976
1716
|
} & {
|
|
1977
|
-
|
|
1978
|
-
}) | {
|
|
1979
|
-
kind: "document";
|
|
1980
|
-
text: string;
|
|
1981
|
-
})) | ({
|
|
1717
|
+
id: string;
|
|
1718
|
+
}) | ({
|
|
1982
1719
|
__TYPE__: "ExternalLink";
|
|
1983
|
-
} &
|
|
1720
|
+
} & {
|
|
1984
1721
|
url: string;
|
|
1985
1722
|
} & {
|
|
1986
1723
|
kind?: "web";
|
|
@@ -1988,14 +1725,6 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1988
1725
|
preview?: {
|
|
1989
1726
|
title?: string;
|
|
1990
1727
|
} | null | undefined;
|
|
1991
|
-
text?: string;
|
|
1992
|
-
}) | {
|
|
1993
|
-
kind: "web";
|
|
1994
|
-
text: string;
|
|
1995
|
-
})) | ({
|
|
1996
|
-
__TYPE__: "AnyLink";
|
|
1997
|
-
} & {
|
|
1998
|
-
text: string;
|
|
1999
1728
|
});
|
|
2000
1729
|
start: number;
|
|
2001
1730
|
end: number;
|
|
@@ -2012,7 +1741,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2012
1741
|
})[], ({
|
|
2013
1742
|
data: ({
|
|
2014
1743
|
__TYPE__: "ImageLink";
|
|
2015
|
-
} &
|
|
1744
|
+
} & {
|
|
2016
1745
|
kind: "image";
|
|
2017
1746
|
id: string;
|
|
2018
1747
|
url: string;
|
|
@@ -2022,13 +1751,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2022
1751
|
name: string;
|
|
2023
1752
|
} & {
|
|
2024
1753
|
date?: string | null | undefined;
|
|
2025
|
-
|
|
2026
|
-
}) | {
|
|
2027
|
-
kind: "image";
|
|
2028
|
-
text: string;
|
|
2029
|
-
})) | ({
|
|
1754
|
+
}) | ({
|
|
2030
1755
|
__TYPE__: "FileLink";
|
|
2031
|
-
} &
|
|
1756
|
+
} & {
|
|
2032
1757
|
kind: "file";
|
|
2033
1758
|
id: string;
|
|
2034
1759
|
url: string;
|
|
@@ -2036,27 +1761,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2036
1761
|
size: string;
|
|
2037
1762
|
} & {
|
|
2038
1763
|
date?: string | null | undefined;
|
|
2039
|
-
text?: string;
|
|
2040
|
-
}) | {
|
|
2041
|
-
kind: "file";
|
|
2042
|
-
text: string;
|
|
2043
|
-
})) | ({
|
|
2044
|
-
__TYPE__: "MediaLink";
|
|
2045
|
-
} & {
|
|
2046
|
-
kind: "media";
|
|
2047
|
-
text: string;
|
|
2048
1764
|
}) | ({
|
|
2049
1765
|
__TYPE__: "DocumentLink";
|
|
2050
|
-
} & (({
|
|
2051
|
-
id: string;
|
|
2052
1766
|
} & {
|
|
2053
|
-
|
|
2054
|
-
}) | {
|
|
2055
|
-
kind: "document";
|
|
2056
|
-
text: string;
|
|
2057
|
-
})) | ({
|
|
1767
|
+
id: string;
|
|
1768
|
+
}) | ({
|
|
2058
1769
|
__TYPE__: "ExternalLink";
|
|
2059
|
-
} &
|
|
1770
|
+
} & {
|
|
2060
1771
|
url: string;
|
|
2061
1772
|
} & {
|
|
2062
1773
|
kind?: "web";
|
|
@@ -2064,14 +1775,6 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2064
1775
|
preview?: {
|
|
2065
1776
|
title?: string;
|
|
2066
1777
|
} | null | undefined;
|
|
2067
|
-
text?: string;
|
|
2068
|
-
}) | {
|
|
2069
|
-
kind: "web";
|
|
2070
|
-
text: string;
|
|
2071
|
-
})) | ({
|
|
2072
|
-
__TYPE__: "AnyLink";
|
|
2073
|
-
} & {
|
|
2074
|
-
text: string;
|
|
2075
1778
|
});
|
|
2076
1779
|
start: number;
|
|
2077
1780
|
end: number;
|
|
@@ -2210,7 +1913,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2210
1913
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2211
1914
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2212
1915
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2213
|
-
}>>, t.UnionC<[t.
|
|
1916
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2214
1917
|
kind: t.Type<"image", "image", unknown>;
|
|
2215
1918
|
id: t.StringC;
|
|
2216
1919
|
url: t.StringC;
|
|
@@ -2218,15 +1921,16 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2218
1921
|
width: t.StringC;
|
|
2219
1922
|
size: t.StringC;
|
|
2220
1923
|
name: t.StringC;
|
|
2221
|
-
}
|
|
1924
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2222
1925
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1926
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2223
1927
|
text: t.StringC;
|
|
2224
|
-
}
|
|
1928
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2225
1929
|
kind: t.LiteralC<"image">;
|
|
2226
1930
|
text: t.StringC;
|
|
2227
1931
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2228
1932
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2229
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1933
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2230
1934
|
kind: t.Type<"file", "file", unknown>;
|
|
2231
1935
|
id: t.StringC;
|
|
2232
1936
|
url: t.StringC;
|
|
@@ -2234,22 +1938,23 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2234
1938
|
size: t.StringC;
|
|
2235
1939
|
}>, t.PartialC<{
|
|
2236
1940
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1941
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2237
1942
|
text: t.StringC;
|
|
2238
|
-
}
|
|
1943
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2239
1944
|
kind: t.LiteralC<"file">;
|
|
2240
1945
|
text: t.StringC;
|
|
2241
1946
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2242
1947
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2243
|
-
}>>, t.UnionC<[t.
|
|
1948
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2244
1949
|
id: t.Type<string, string, unknown>;
|
|
2245
|
-
}
|
|
1950
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2246
1951
|
text: t.StringC;
|
|
2247
|
-
}
|
|
1952
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2248
1953
|
kind: t.LiteralC<"document">;
|
|
2249
1954
|
text: t.StringC;
|
|
2250
1955
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2251
1956
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2252
|
-
}>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1957
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2253
1958
|
url: t.StringC;
|
|
2254
1959
|
}>, t.PartialC<{
|
|
2255
1960
|
kind: t.LiteralC<"web">;
|
|
@@ -2259,8 +1964,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2259
1964
|
}, {
|
|
2260
1965
|
title?: string;
|
|
2261
1966
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1967
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2262
1968
|
text: t.StringC;
|
|
2263
|
-
}
|
|
1969
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2264
1970
|
kind: t.LiteralC<"web">;
|
|
2265
1971
|
text: t.StringC;
|
|
2266
1972
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -2302,7 +2008,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2302
2008
|
}>]>>, t.PartialC<{
|
|
2303
2009
|
linkTo: t.UnionC<[t.Type<({
|
|
2304
2010
|
__TYPE__: "ImageLink";
|
|
2305
|
-
} &
|
|
2011
|
+
} & {
|
|
2306
2012
|
kind: "image";
|
|
2307
2013
|
id: string;
|
|
2308
2014
|
url: string;
|
|
@@ -2312,13 +2018,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2312
2018
|
name: string;
|
|
2313
2019
|
} & {
|
|
2314
2020
|
date?: string | null | undefined;
|
|
2315
|
-
|
|
2316
|
-
}) | {
|
|
2317
|
-
kind: "image";
|
|
2318
|
-
text: string;
|
|
2319
|
-
})) | ({
|
|
2021
|
+
}) | ({
|
|
2320
2022
|
__TYPE__: "FileLink";
|
|
2321
|
-
} &
|
|
2023
|
+
} & {
|
|
2322
2024
|
kind: "file";
|
|
2323
2025
|
id: string;
|
|
2324
2026
|
url: string;
|
|
@@ -2326,27 +2028,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2326
2028
|
size: string;
|
|
2327
2029
|
} & {
|
|
2328
2030
|
date?: string | null | undefined;
|
|
2329
|
-
text?: string;
|
|
2330
|
-
}) | {
|
|
2331
|
-
kind: "file";
|
|
2332
|
-
text: string;
|
|
2333
|
-
})) | ({
|
|
2334
|
-
__TYPE__: "MediaLink";
|
|
2335
|
-
} & {
|
|
2336
|
-
kind: "media";
|
|
2337
|
-
text: string;
|
|
2338
2031
|
}) | ({
|
|
2339
2032
|
__TYPE__: "DocumentLink";
|
|
2340
|
-
} & (({
|
|
2341
|
-
id: string;
|
|
2342
2033
|
} & {
|
|
2343
|
-
|
|
2344
|
-
}) | {
|
|
2345
|
-
kind: "document";
|
|
2346
|
-
text: string;
|
|
2347
|
-
})) | ({
|
|
2034
|
+
id: string;
|
|
2035
|
+
}) | ({
|
|
2348
2036
|
__TYPE__: "ExternalLink";
|
|
2349
|
-
} &
|
|
2037
|
+
} & {
|
|
2350
2038
|
url: string;
|
|
2351
2039
|
} & {
|
|
2352
2040
|
kind?: "web";
|
|
@@ -2354,17 +2042,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2354
2042
|
preview?: {
|
|
2355
2043
|
title?: string;
|
|
2356
2044
|
} | null | undefined;
|
|
2357
|
-
text?: string;
|
|
2358
|
-
}) | {
|
|
2359
|
-
kind: "web";
|
|
2360
|
-
text: string;
|
|
2361
|
-
})) | ({
|
|
2362
|
-
__TYPE__: "AnyLink";
|
|
2363
|
-
} & {
|
|
2364
|
-
text: string;
|
|
2365
2045
|
}), ({
|
|
2366
2046
|
__TYPE__: "ImageLink";
|
|
2367
|
-
} &
|
|
2047
|
+
} & {
|
|
2368
2048
|
kind: "image";
|
|
2369
2049
|
id: string;
|
|
2370
2050
|
url: string;
|
|
@@ -2374,13 +2054,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2374
2054
|
name: string;
|
|
2375
2055
|
} & {
|
|
2376
2056
|
date?: string | null | undefined;
|
|
2377
|
-
|
|
2378
|
-
}) | {
|
|
2379
|
-
kind: "image";
|
|
2380
|
-
text: string;
|
|
2381
|
-
})) | ({
|
|
2057
|
+
}) | ({
|
|
2382
2058
|
__TYPE__: "FileLink";
|
|
2383
|
-
} &
|
|
2059
|
+
} & {
|
|
2384
2060
|
kind: "file";
|
|
2385
2061
|
id: string;
|
|
2386
2062
|
url: string;
|
|
@@ -2388,27 +2064,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2388
2064
|
size: string;
|
|
2389
2065
|
} & {
|
|
2390
2066
|
date?: string | null | undefined;
|
|
2391
|
-
text?: string;
|
|
2392
|
-
}) | {
|
|
2393
|
-
kind: "file";
|
|
2394
|
-
text: string;
|
|
2395
|
-
})) | ({
|
|
2396
|
-
__TYPE__: "MediaLink";
|
|
2397
|
-
} & {
|
|
2398
|
-
kind: "media";
|
|
2399
|
-
text: string;
|
|
2400
2067
|
}) | ({
|
|
2401
2068
|
__TYPE__: "DocumentLink";
|
|
2402
|
-
} & (({
|
|
2403
|
-
id: string;
|
|
2404
2069
|
} & {
|
|
2405
|
-
|
|
2406
|
-
}) | {
|
|
2407
|
-
kind: "document";
|
|
2408
|
-
text: string;
|
|
2409
|
-
})) | ({
|
|
2070
|
+
id: string;
|
|
2071
|
+
}) | ({
|
|
2410
2072
|
__TYPE__: "ExternalLink";
|
|
2411
|
-
} &
|
|
2073
|
+
} & {
|
|
2412
2074
|
url: string;
|
|
2413
2075
|
} & {
|
|
2414
2076
|
kind?: "web";
|
|
@@ -2416,14 +2078,6 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2416
2078
|
preview?: {
|
|
2417
2079
|
title?: string;
|
|
2418
2080
|
} | null | undefined;
|
|
2419
|
-
text?: string;
|
|
2420
|
-
}) | {
|
|
2421
|
-
kind: "web";
|
|
2422
|
-
text: string;
|
|
2423
|
-
})) | ({
|
|
2424
|
-
__TYPE__: "AnyLink";
|
|
2425
|
-
} & {
|
|
2426
|
-
text: string;
|
|
2427
2081
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2428
2082
|
}>]>;
|
|
2429
2083
|
}>, t.PartialC<{
|
|
@@ -2461,7 +2115,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2461
2115
|
spans: t.Type<({
|
|
2462
2116
|
data: ({
|
|
2463
2117
|
__TYPE__: "ImageLink";
|
|
2464
|
-
} &
|
|
2118
|
+
} & {
|
|
2465
2119
|
kind: "image";
|
|
2466
2120
|
id: string;
|
|
2467
2121
|
url: string;
|
|
@@ -2471,13 +2125,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2471
2125
|
name: string;
|
|
2472
2126
|
} & {
|
|
2473
2127
|
date?: string | null | undefined;
|
|
2474
|
-
|
|
2475
|
-
}) | {
|
|
2476
|
-
kind: "image";
|
|
2477
|
-
text: string;
|
|
2478
|
-
})) | ({
|
|
2128
|
+
}) | ({
|
|
2479
2129
|
__TYPE__: "FileLink";
|
|
2480
|
-
} &
|
|
2130
|
+
} & {
|
|
2481
2131
|
kind: "file";
|
|
2482
2132
|
id: string;
|
|
2483
2133
|
url: string;
|
|
@@ -2485,27 +2135,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2485
2135
|
size: string;
|
|
2486
2136
|
} & {
|
|
2487
2137
|
date?: string | null | undefined;
|
|
2488
|
-
text?: string;
|
|
2489
|
-
}) | {
|
|
2490
|
-
kind: "file";
|
|
2491
|
-
text: string;
|
|
2492
|
-
})) | ({
|
|
2493
|
-
__TYPE__: "MediaLink";
|
|
2494
|
-
} & {
|
|
2495
|
-
kind: "media";
|
|
2496
|
-
text: string;
|
|
2497
2138
|
}) | ({
|
|
2498
2139
|
__TYPE__: "DocumentLink";
|
|
2499
|
-
} & (({
|
|
2500
|
-
id: string;
|
|
2501
2140
|
} & {
|
|
2502
|
-
|
|
2503
|
-
}) | {
|
|
2504
|
-
kind: "document";
|
|
2505
|
-
text: string;
|
|
2506
|
-
})) | ({
|
|
2141
|
+
id: string;
|
|
2142
|
+
}) | ({
|
|
2507
2143
|
__TYPE__: "ExternalLink";
|
|
2508
|
-
} &
|
|
2144
|
+
} & {
|
|
2509
2145
|
url: string;
|
|
2510
2146
|
} & {
|
|
2511
2147
|
kind?: "web";
|
|
@@ -2513,14 +2149,6 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2513
2149
|
preview?: {
|
|
2514
2150
|
title?: string;
|
|
2515
2151
|
} | null | undefined;
|
|
2516
|
-
text?: string;
|
|
2517
|
-
}) | {
|
|
2518
|
-
kind: "web";
|
|
2519
|
-
text: string;
|
|
2520
|
-
})) | ({
|
|
2521
|
-
__TYPE__: "AnyLink";
|
|
2522
|
-
} & {
|
|
2523
|
-
text: string;
|
|
2524
2152
|
});
|
|
2525
2153
|
start: number;
|
|
2526
2154
|
end: number;
|
|
@@ -2537,7 +2165,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2537
2165
|
})[], ({
|
|
2538
2166
|
data: ({
|
|
2539
2167
|
__TYPE__: "ImageLink";
|
|
2540
|
-
} &
|
|
2168
|
+
} & {
|
|
2541
2169
|
kind: "image";
|
|
2542
2170
|
id: string;
|
|
2543
2171
|
url: string;
|
|
@@ -2547,13 +2175,9 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2547
2175
|
name: string;
|
|
2548
2176
|
} & {
|
|
2549
2177
|
date?: string | null | undefined;
|
|
2550
|
-
|
|
2551
|
-
}) | {
|
|
2552
|
-
kind: "image";
|
|
2553
|
-
text: string;
|
|
2554
|
-
})) | ({
|
|
2178
|
+
}) | ({
|
|
2555
2179
|
__TYPE__: "FileLink";
|
|
2556
|
-
} &
|
|
2180
|
+
} & {
|
|
2557
2181
|
kind: "file";
|
|
2558
2182
|
id: string;
|
|
2559
2183
|
url: string;
|
|
@@ -2561,27 +2185,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2561
2185
|
size: string;
|
|
2562
2186
|
} & {
|
|
2563
2187
|
date?: string | null | undefined;
|
|
2564
|
-
text?: string;
|
|
2565
|
-
}) | {
|
|
2566
|
-
kind: "file";
|
|
2567
|
-
text: string;
|
|
2568
|
-
})) | ({
|
|
2569
|
-
__TYPE__: "MediaLink";
|
|
2570
|
-
} & {
|
|
2571
|
-
kind: "media";
|
|
2572
|
-
text: string;
|
|
2573
2188
|
}) | ({
|
|
2574
2189
|
__TYPE__: "DocumentLink";
|
|
2575
|
-
} & (({
|
|
2576
|
-
id: string;
|
|
2577
2190
|
} & {
|
|
2578
|
-
|
|
2579
|
-
}) | {
|
|
2580
|
-
kind: "document";
|
|
2581
|
-
text: string;
|
|
2582
|
-
})) | ({
|
|
2191
|
+
id: string;
|
|
2192
|
+
}) | ({
|
|
2583
2193
|
__TYPE__: "ExternalLink";
|
|
2584
|
-
} &
|
|
2194
|
+
} & {
|
|
2585
2195
|
url: string;
|
|
2586
2196
|
} & {
|
|
2587
2197
|
kind?: "web";
|
|
@@ -2589,14 +2199,6 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2589
2199
|
preview?: {
|
|
2590
2200
|
title?: string;
|
|
2591
2201
|
} | null | undefined;
|
|
2592
|
-
text?: string;
|
|
2593
|
-
}) | {
|
|
2594
|
-
kind: "web";
|
|
2595
|
-
text: string;
|
|
2596
|
-
})) | ({
|
|
2597
|
-
__TYPE__: "AnyLink";
|
|
2598
|
-
} & {
|
|
2599
|
-
text: string;
|
|
2600
2202
|
});
|
|
2601
2203
|
start: number;
|
|
2602
2204
|
end: number;
|