@prismicio/types-internal 3.0.0 → 3.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_internal/utils.d.ts +3 -2
- package/lib/content/Document.d.ts +1561 -361
- package/lib/content/Document.js +11 -0
- package/lib/content/LegacyContentCtx.d.ts +2 -2
- package/lib/content/LegacyContentCtx.js +4 -1
- package/lib/content/fields/GroupContent.js +13 -0
- package/lib/content/fields/RepeatableContent.d.ts +34 -40
- package/lib/content/fields/WidgetContent.d.ts +1558 -358
- package/lib/content/fields/index.d.ts +1 -0
- package/lib/content/fields/index.js +1 -0
- package/lib/content/fields/nestable/LinkContent.d.ts +122 -146
- package/lib/content/fields/nestable/LinkContent.js +19 -39
- package/lib/content/fields/nestable/NestableContent.d.ts +254 -54
- package/lib/content/fields/nestable/NestableContent.js +8 -1
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +66 -66
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +510 -110
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +86 -18
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +512 -112
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +20 -4
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +255 -55
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +255 -55
- package/lib/content/fields/slices/Slice/index.d.ts +855 -185
- package/lib/content/fields/slices/SliceItem.d.ts +854 -184
- package/lib/content/fields/slices/SlicesContent.d.ts +1278 -278
- package/lib/customtypes/CustomType.d.ts +18 -0
- package/lib/customtypes/Section.d.ts +18 -0
- package/lib/customtypes/diff/SharedSlice.d.ts +8 -0
- package/lib/customtypes/diff/Variation.d.ts +8 -0
- package/lib/customtypes/widgets/Group.d.ts +6 -0
- package/lib/customtypes/widgets/Widget.d.ts +21 -0
- package/lib/customtypes/widgets/nestable/Link.d.ts +10 -0
- package/lib/customtypes/widgets/nestable/Link.js +5 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -0
- package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
- package/package.json +2 -1
- package/src/_internal/utils.ts +3 -1
- package/src/content/Document.ts +12 -0
- package/src/content/LegacyContentCtx.ts +4 -1
- package/src/content/fields/GroupContent.ts +13 -0
- package/src/content/fields/RepeatableContent.ts +147 -0
- package/src/content/fields/index.ts +1 -0
- package/src/content/fields/nestable/LinkContent.ts +19 -39
- package/src/content/fields/nestable/NestableContent.ts +12 -1
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +18 -0
- package/src/customtypes/widgets/nestable/Link.ts +6 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
- package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
- package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
|
@@ -117,7 +117,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
117
117
|
__TYPE__: "LinkContent";
|
|
118
118
|
value: ({
|
|
119
119
|
__TYPE__: "ImageLink";
|
|
120
|
-
} & (({
|
|
120
|
+
} & ((({
|
|
121
121
|
kind: "image";
|
|
122
122
|
id: string;
|
|
123
123
|
url: string;
|
|
@@ -127,14 +127,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
127
127
|
name: string;
|
|
128
128
|
} & {
|
|
129
129
|
date?: string | null | undefined;
|
|
130
|
-
} & {
|
|
131
|
-
text?: string;
|
|
132
130
|
}) | {
|
|
133
131
|
kind: "image";
|
|
134
|
-
|
|
132
|
+
}) & {
|
|
133
|
+
text?: string;
|
|
135
134
|
})) | ({
|
|
136
135
|
__TYPE__: "FileLink";
|
|
137
|
-
} & (({
|
|
136
|
+
} & ((({
|
|
138
137
|
kind: "file";
|
|
139
138
|
id: string;
|
|
140
139
|
url: string;
|
|
@@ -142,28 +141,27 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
142
141
|
size: string;
|
|
143
142
|
} & {
|
|
144
143
|
date?: string | null | undefined;
|
|
145
|
-
} & {
|
|
146
|
-
text?: string;
|
|
147
144
|
}) | {
|
|
148
145
|
kind: "file";
|
|
149
|
-
|
|
146
|
+
}) & {
|
|
147
|
+
text?: string;
|
|
150
148
|
})) | ({
|
|
151
149
|
__TYPE__: "MediaLink";
|
|
152
150
|
} & {
|
|
153
151
|
kind: "media";
|
|
154
|
-
|
|
152
|
+
} & {
|
|
153
|
+
text?: string;
|
|
155
154
|
}) | ({
|
|
156
155
|
__TYPE__: "DocumentLink";
|
|
157
156
|
} & (({
|
|
158
157
|
id: string;
|
|
159
|
-
}
|
|
160
|
-
text?: string;
|
|
161
|
-
}) | {
|
|
158
|
+
} | {
|
|
162
159
|
kind: "document";
|
|
163
|
-
|
|
160
|
+
}) & {
|
|
161
|
+
text?: string;
|
|
164
162
|
})) | ({
|
|
165
163
|
__TYPE__: "ExternalLink";
|
|
166
|
-
} & (({
|
|
164
|
+
} & ((({
|
|
167
165
|
url: string;
|
|
168
166
|
} & {
|
|
169
167
|
kind?: "web";
|
|
@@ -171,16 +169,84 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
171
169
|
preview?: {
|
|
172
170
|
title?: string;
|
|
173
171
|
} | null | undefined;
|
|
174
|
-
} & {
|
|
175
|
-
text?: string;
|
|
176
172
|
}) | {
|
|
177
173
|
kind: "web";
|
|
178
|
-
|
|
174
|
+
}) & {
|
|
175
|
+
text?: string;
|
|
179
176
|
})) | ({
|
|
180
177
|
__TYPE__: "AnyLink";
|
|
181
178
|
} & {
|
|
182
|
-
text
|
|
179
|
+
text?: string;
|
|
183
180
|
});
|
|
181
|
+
}> | import("fp-ts/lib/Either").Right<{
|
|
182
|
+
__TYPE__: "RepeatableContent";
|
|
183
|
+
type: "Link";
|
|
184
|
+
value: {
|
|
185
|
+
__TYPE__: "LinkContent";
|
|
186
|
+
value: ({
|
|
187
|
+
__TYPE__: "ImageLink";
|
|
188
|
+
} & ((({
|
|
189
|
+
kind: "image";
|
|
190
|
+
id: string;
|
|
191
|
+
url: string;
|
|
192
|
+
height: string;
|
|
193
|
+
width: string;
|
|
194
|
+
size: string;
|
|
195
|
+
name: string;
|
|
196
|
+
} & {
|
|
197
|
+
date?: string | null | undefined;
|
|
198
|
+
}) | {
|
|
199
|
+
kind: "image";
|
|
200
|
+
}) & {
|
|
201
|
+
text?: string;
|
|
202
|
+
})) | ({
|
|
203
|
+
__TYPE__: "FileLink";
|
|
204
|
+
} & ((({
|
|
205
|
+
kind: "file";
|
|
206
|
+
id: string;
|
|
207
|
+
url: string;
|
|
208
|
+
name: string;
|
|
209
|
+
size: string;
|
|
210
|
+
} & {
|
|
211
|
+
date?: string | null | undefined;
|
|
212
|
+
}) | {
|
|
213
|
+
kind: "file";
|
|
214
|
+
}) & {
|
|
215
|
+
text?: string;
|
|
216
|
+
})) | ({
|
|
217
|
+
__TYPE__: "MediaLink";
|
|
218
|
+
} & {
|
|
219
|
+
kind: "media";
|
|
220
|
+
} & {
|
|
221
|
+
text?: string;
|
|
222
|
+
}) | ({
|
|
223
|
+
__TYPE__: "DocumentLink";
|
|
224
|
+
} & (({
|
|
225
|
+
id: string;
|
|
226
|
+
} | {
|
|
227
|
+
kind: "document";
|
|
228
|
+
}) & {
|
|
229
|
+
text?: string;
|
|
230
|
+
})) | ({
|
|
231
|
+
__TYPE__: "ExternalLink";
|
|
232
|
+
} & ((({
|
|
233
|
+
url: string;
|
|
234
|
+
} & {
|
|
235
|
+
kind?: "web";
|
|
236
|
+
target?: string | null | undefined;
|
|
237
|
+
preview?: {
|
|
238
|
+
title?: string;
|
|
239
|
+
} | null | undefined;
|
|
240
|
+
}) | {
|
|
241
|
+
kind: "web";
|
|
242
|
+
}) & {
|
|
243
|
+
text?: string;
|
|
244
|
+
})) | ({
|
|
245
|
+
__TYPE__: "AnyLink";
|
|
246
|
+
} & {
|
|
247
|
+
text?: string;
|
|
248
|
+
});
|
|
249
|
+
}[];
|
|
184
250
|
}> | import("fp-ts/lib/Either").Right<{
|
|
185
251
|
__TYPE__: "StructuredTextContent";
|
|
186
252
|
value: (({
|
|
@@ -336,7 +402,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
336
402
|
}))[];
|
|
337
403
|
}> | import("fp-ts/lib/Either").Right<{
|
|
338
404
|
__TYPE__: "SeparatorContent";
|
|
339
|
-
}> | import("fp-ts/lib/Either").Right<
|
|
405
|
+
}> | import("fp-ts/lib/Either").Right<{
|
|
340
406
|
__TYPE__: "CompositeSliceContent";
|
|
341
407
|
nonRepeat: {
|
|
342
408
|
[x: string]: {
|
|
@@ -455,7 +521,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
455
521
|
__TYPE__: "LinkContent";
|
|
456
522
|
value: ({
|
|
457
523
|
__TYPE__: "ImageLink";
|
|
458
|
-
} & (({
|
|
524
|
+
} & ((({
|
|
459
525
|
kind: "image";
|
|
460
526
|
id: string;
|
|
461
527
|
url: string;
|
|
@@ -465,14 +531,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
465
531
|
name: string;
|
|
466
532
|
} & {
|
|
467
533
|
date?: string | null | undefined;
|
|
468
|
-
} & {
|
|
469
|
-
text?: string;
|
|
470
534
|
}) | {
|
|
471
535
|
kind: "image";
|
|
472
|
-
|
|
536
|
+
}) & {
|
|
537
|
+
text?: string;
|
|
473
538
|
})) | ({
|
|
474
539
|
__TYPE__: "FileLink";
|
|
475
|
-
} & (({
|
|
540
|
+
} & ((({
|
|
476
541
|
kind: "file";
|
|
477
542
|
id: string;
|
|
478
543
|
url: string;
|
|
@@ -480,28 +545,27 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
480
545
|
size: string;
|
|
481
546
|
} & {
|
|
482
547
|
date?: string | null | undefined;
|
|
483
|
-
} & {
|
|
484
|
-
text?: string;
|
|
485
548
|
}) | {
|
|
486
549
|
kind: "file";
|
|
487
|
-
|
|
550
|
+
}) & {
|
|
551
|
+
text?: string;
|
|
488
552
|
})) | ({
|
|
489
553
|
__TYPE__: "MediaLink";
|
|
490
554
|
} & {
|
|
491
555
|
kind: "media";
|
|
492
|
-
|
|
556
|
+
} & {
|
|
557
|
+
text?: string;
|
|
493
558
|
}) | ({
|
|
494
559
|
__TYPE__: "DocumentLink";
|
|
495
560
|
} & (({
|
|
496
561
|
id: string;
|
|
497
|
-
}
|
|
498
|
-
text?: string;
|
|
499
|
-
}) | {
|
|
562
|
+
} | {
|
|
500
563
|
kind: "document";
|
|
501
|
-
|
|
564
|
+
}) & {
|
|
565
|
+
text?: string;
|
|
502
566
|
})) | ({
|
|
503
567
|
__TYPE__: "ExternalLink";
|
|
504
|
-
} & (({
|
|
568
|
+
} & ((({
|
|
505
569
|
url: string;
|
|
506
570
|
} & {
|
|
507
571
|
kind?: "web";
|
|
@@ -509,16 +573,84 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
509
573
|
preview?: {
|
|
510
574
|
title?: string;
|
|
511
575
|
} | null | undefined;
|
|
512
|
-
} & {
|
|
513
|
-
text?: string;
|
|
514
576
|
}) | {
|
|
515
577
|
kind: "web";
|
|
516
|
-
|
|
578
|
+
}) & {
|
|
579
|
+
text?: string;
|
|
517
580
|
})) | ({
|
|
518
581
|
__TYPE__: "AnyLink";
|
|
519
582
|
} & {
|
|
520
|
-
text
|
|
583
|
+
text?: string;
|
|
521
584
|
});
|
|
585
|
+
} | {
|
|
586
|
+
__TYPE__: "RepeatableContent";
|
|
587
|
+
type: "Link";
|
|
588
|
+
value: {
|
|
589
|
+
__TYPE__: "LinkContent";
|
|
590
|
+
value: ({
|
|
591
|
+
__TYPE__: "ImageLink";
|
|
592
|
+
} & ((({
|
|
593
|
+
kind: "image";
|
|
594
|
+
id: string;
|
|
595
|
+
url: string;
|
|
596
|
+
height: string;
|
|
597
|
+
width: string;
|
|
598
|
+
size: string;
|
|
599
|
+
name: string;
|
|
600
|
+
} & {
|
|
601
|
+
date?: string | null | undefined;
|
|
602
|
+
}) | {
|
|
603
|
+
kind: "image";
|
|
604
|
+
}) & {
|
|
605
|
+
text?: string;
|
|
606
|
+
})) | ({
|
|
607
|
+
__TYPE__: "FileLink";
|
|
608
|
+
} & ((({
|
|
609
|
+
kind: "file";
|
|
610
|
+
id: string;
|
|
611
|
+
url: string;
|
|
612
|
+
name: string;
|
|
613
|
+
size: string;
|
|
614
|
+
} & {
|
|
615
|
+
date?: string | null | undefined;
|
|
616
|
+
}) | {
|
|
617
|
+
kind: "file";
|
|
618
|
+
}) & {
|
|
619
|
+
text?: string;
|
|
620
|
+
})) | ({
|
|
621
|
+
__TYPE__: "MediaLink";
|
|
622
|
+
} & {
|
|
623
|
+
kind: "media";
|
|
624
|
+
} & {
|
|
625
|
+
text?: string;
|
|
626
|
+
}) | ({
|
|
627
|
+
__TYPE__: "DocumentLink";
|
|
628
|
+
} & (({
|
|
629
|
+
id: string;
|
|
630
|
+
} | {
|
|
631
|
+
kind: "document";
|
|
632
|
+
}) & {
|
|
633
|
+
text?: string;
|
|
634
|
+
})) | ({
|
|
635
|
+
__TYPE__: "ExternalLink";
|
|
636
|
+
} & ((({
|
|
637
|
+
url: string;
|
|
638
|
+
} & {
|
|
639
|
+
kind?: "web";
|
|
640
|
+
target?: string | null | undefined;
|
|
641
|
+
preview?: {
|
|
642
|
+
title?: string;
|
|
643
|
+
} | null | undefined;
|
|
644
|
+
}) | {
|
|
645
|
+
kind: "web";
|
|
646
|
+
}) & {
|
|
647
|
+
text?: string;
|
|
648
|
+
})) | ({
|
|
649
|
+
__TYPE__: "AnyLink";
|
|
650
|
+
} & {
|
|
651
|
+
text?: string;
|
|
652
|
+
});
|
|
653
|
+
}[];
|
|
522
654
|
} | {
|
|
523
655
|
__TYPE__: "StructuredTextContent";
|
|
524
656
|
value: (({
|
|
@@ -794,7 +926,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
794
926
|
__TYPE__: "LinkContent";
|
|
795
927
|
value: ({
|
|
796
928
|
__TYPE__: "ImageLink";
|
|
797
|
-
} & (({
|
|
929
|
+
} & ((({
|
|
798
930
|
kind: "image";
|
|
799
931
|
id: string;
|
|
800
932
|
url: string;
|
|
@@ -804,14 +936,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
804
936
|
name: string;
|
|
805
937
|
} & {
|
|
806
938
|
date?: string | null | undefined;
|
|
807
|
-
} & {
|
|
808
|
-
text?: string;
|
|
809
939
|
}) | {
|
|
810
940
|
kind: "image";
|
|
811
|
-
|
|
941
|
+
}) & {
|
|
942
|
+
text?: string;
|
|
812
943
|
})) | ({
|
|
813
944
|
__TYPE__: "FileLink";
|
|
814
|
-
} & (({
|
|
945
|
+
} & ((({
|
|
815
946
|
kind: "file";
|
|
816
947
|
id: string;
|
|
817
948
|
url: string;
|
|
@@ -819,28 +950,27 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
819
950
|
size: string;
|
|
820
951
|
} & {
|
|
821
952
|
date?: string | null | undefined;
|
|
822
|
-
} & {
|
|
823
|
-
text?: string;
|
|
824
953
|
}) | {
|
|
825
954
|
kind: "file";
|
|
826
|
-
|
|
955
|
+
}) & {
|
|
956
|
+
text?: string;
|
|
827
957
|
})) | ({
|
|
828
958
|
__TYPE__: "MediaLink";
|
|
829
959
|
} & {
|
|
830
960
|
kind: "media";
|
|
831
|
-
|
|
961
|
+
} & {
|
|
962
|
+
text?: string;
|
|
832
963
|
}) | ({
|
|
833
964
|
__TYPE__: "DocumentLink";
|
|
834
965
|
} & (({
|
|
835
966
|
id: string;
|
|
836
|
-
}
|
|
837
|
-
text?: string;
|
|
838
|
-
}) | {
|
|
967
|
+
} | {
|
|
839
968
|
kind: "document";
|
|
840
|
-
|
|
969
|
+
}) & {
|
|
970
|
+
text?: string;
|
|
841
971
|
})) | ({
|
|
842
972
|
__TYPE__: "ExternalLink";
|
|
843
|
-
} & (({
|
|
973
|
+
} & ((({
|
|
844
974
|
url: string;
|
|
845
975
|
} & {
|
|
846
976
|
kind?: "web";
|
|
@@ -848,17 +978,85 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
848
978
|
preview?: {
|
|
849
979
|
title?: string;
|
|
850
980
|
} | null | undefined;
|
|
851
|
-
} & {
|
|
852
|
-
text?: string;
|
|
853
981
|
}) | {
|
|
854
982
|
kind: "web";
|
|
855
|
-
|
|
983
|
+
}) & {
|
|
984
|
+
text?: string;
|
|
856
985
|
})) | ({
|
|
857
986
|
__TYPE__: "AnyLink";
|
|
858
987
|
} & {
|
|
859
|
-
text
|
|
988
|
+
text?: string;
|
|
860
989
|
});
|
|
861
990
|
} | {
|
|
991
|
+
__TYPE__: "RepeatableContent";
|
|
992
|
+
type: "Link";
|
|
993
|
+
value: {
|
|
994
|
+
__TYPE__: "LinkContent";
|
|
995
|
+
value: ({
|
|
996
|
+
__TYPE__: "ImageLink";
|
|
997
|
+
} & ((({
|
|
998
|
+
kind: "image";
|
|
999
|
+
id: string;
|
|
1000
|
+
url: string;
|
|
1001
|
+
height: string;
|
|
1002
|
+
width: string;
|
|
1003
|
+
size: string;
|
|
1004
|
+
name: string;
|
|
1005
|
+
} & {
|
|
1006
|
+
date?: string | null | undefined;
|
|
1007
|
+
}) | {
|
|
1008
|
+
kind: "image";
|
|
1009
|
+
}) & {
|
|
1010
|
+
text?: string;
|
|
1011
|
+
})) | ({
|
|
1012
|
+
__TYPE__: "FileLink";
|
|
1013
|
+
} & ((({
|
|
1014
|
+
kind: "file";
|
|
1015
|
+
id: string;
|
|
1016
|
+
url: string;
|
|
1017
|
+
name: string;
|
|
1018
|
+
size: string;
|
|
1019
|
+
} & {
|
|
1020
|
+
date?: string | null | undefined;
|
|
1021
|
+
}) | {
|
|
1022
|
+
kind: "file";
|
|
1023
|
+
}) & {
|
|
1024
|
+
text?: string;
|
|
1025
|
+
})) | ({
|
|
1026
|
+
__TYPE__: "MediaLink";
|
|
1027
|
+
} & {
|
|
1028
|
+
kind: "media";
|
|
1029
|
+
} & {
|
|
1030
|
+
text?: string;
|
|
1031
|
+
}) | ({
|
|
1032
|
+
__TYPE__: "DocumentLink";
|
|
1033
|
+
} & (({
|
|
1034
|
+
id: string;
|
|
1035
|
+
} | {
|
|
1036
|
+
kind: "document";
|
|
1037
|
+
}) & {
|
|
1038
|
+
text?: string;
|
|
1039
|
+
})) | ({
|
|
1040
|
+
__TYPE__: "ExternalLink";
|
|
1041
|
+
} & ((({
|
|
1042
|
+
url: string;
|
|
1043
|
+
} & {
|
|
1044
|
+
kind?: "web";
|
|
1045
|
+
target?: string | null | undefined;
|
|
1046
|
+
preview?: {
|
|
1047
|
+
title?: string;
|
|
1048
|
+
} | null | undefined;
|
|
1049
|
+
}) | {
|
|
1050
|
+
kind: "web";
|
|
1051
|
+
}) & {
|
|
1052
|
+
text?: string;
|
|
1053
|
+
})) | ({
|
|
1054
|
+
__TYPE__: "AnyLink";
|
|
1055
|
+
} & {
|
|
1056
|
+
text?: string;
|
|
1057
|
+
});
|
|
1058
|
+
}[];
|
|
1059
|
+
} | import("../..").GroupContent | {
|
|
862
1060
|
__TYPE__: "StructuredTextContent";
|
|
863
1061
|
value: (({
|
|
864
1062
|
type: "image";
|
|
@@ -1013,7 +1211,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1013
1211
|
}))[];
|
|
1014
1212
|
} | {
|
|
1015
1213
|
__TYPE__: "SeparatorContent";
|
|
1016
|
-
}
|
|
1214
|
+
}][];
|
|
1017
1215
|
}[];
|
|
1018
1216
|
}> | import("fp-ts/lib/Either").Right<{
|
|
1019
1217
|
__TYPE__: "SharedSliceContent";
|
|
@@ -1135,7 +1333,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1135
1333
|
__TYPE__: "LinkContent";
|
|
1136
1334
|
value: ({
|
|
1137
1335
|
__TYPE__: "ImageLink";
|
|
1138
|
-
} & (({
|
|
1336
|
+
} & ((({
|
|
1139
1337
|
kind: "image";
|
|
1140
1338
|
id: string;
|
|
1141
1339
|
url: string;
|
|
@@ -1145,14 +1343,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1145
1343
|
name: string;
|
|
1146
1344
|
} & {
|
|
1147
1345
|
date?: string | null | undefined;
|
|
1148
|
-
} & {
|
|
1149
|
-
text?: string;
|
|
1150
1346
|
}) | {
|
|
1151
1347
|
kind: "image";
|
|
1152
|
-
|
|
1348
|
+
}) & {
|
|
1349
|
+
text?: string;
|
|
1153
1350
|
})) | ({
|
|
1154
1351
|
__TYPE__: "FileLink";
|
|
1155
|
-
} & (({
|
|
1352
|
+
} & ((({
|
|
1156
1353
|
kind: "file";
|
|
1157
1354
|
id: string;
|
|
1158
1355
|
url: string;
|
|
@@ -1160,28 +1357,27 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1160
1357
|
size: string;
|
|
1161
1358
|
} & {
|
|
1162
1359
|
date?: string | null | undefined;
|
|
1163
|
-
} & {
|
|
1164
|
-
text?: string;
|
|
1165
1360
|
}) | {
|
|
1166
1361
|
kind: "file";
|
|
1167
|
-
|
|
1362
|
+
}) & {
|
|
1363
|
+
text?: string;
|
|
1168
1364
|
})) | ({
|
|
1169
1365
|
__TYPE__: "MediaLink";
|
|
1170
1366
|
} & {
|
|
1171
1367
|
kind: "media";
|
|
1172
|
-
|
|
1368
|
+
} & {
|
|
1369
|
+
text?: string;
|
|
1173
1370
|
}) | ({
|
|
1174
1371
|
__TYPE__: "DocumentLink";
|
|
1175
1372
|
} & (({
|
|
1176
1373
|
id: string;
|
|
1177
|
-
}
|
|
1178
|
-
text?: string;
|
|
1179
|
-
}) | {
|
|
1374
|
+
} | {
|
|
1180
1375
|
kind: "document";
|
|
1181
|
-
|
|
1376
|
+
}) & {
|
|
1377
|
+
text?: string;
|
|
1182
1378
|
})) | ({
|
|
1183
1379
|
__TYPE__: "ExternalLink";
|
|
1184
|
-
} & (({
|
|
1380
|
+
} & ((({
|
|
1185
1381
|
url: string;
|
|
1186
1382
|
} & {
|
|
1187
1383
|
kind?: "web";
|
|
@@ -1189,17 +1385,85 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1189
1385
|
preview?: {
|
|
1190
1386
|
title?: string;
|
|
1191
1387
|
} | null | undefined;
|
|
1192
|
-
} & {
|
|
1193
|
-
text?: string;
|
|
1194
1388
|
}) | {
|
|
1195
1389
|
kind: "web";
|
|
1196
|
-
|
|
1390
|
+
}) & {
|
|
1391
|
+
text?: string;
|
|
1197
1392
|
})) | ({
|
|
1198
1393
|
__TYPE__: "AnyLink";
|
|
1199
1394
|
} & {
|
|
1200
|
-
text
|
|
1395
|
+
text?: string;
|
|
1201
1396
|
});
|
|
1202
1397
|
} | {
|
|
1398
|
+
__TYPE__: "RepeatableContent";
|
|
1399
|
+
type: "Link";
|
|
1400
|
+
value: {
|
|
1401
|
+
__TYPE__: "LinkContent";
|
|
1402
|
+
value: ({
|
|
1403
|
+
__TYPE__: "ImageLink";
|
|
1404
|
+
} & ((({
|
|
1405
|
+
kind: "image";
|
|
1406
|
+
id: string;
|
|
1407
|
+
url: string;
|
|
1408
|
+
height: string;
|
|
1409
|
+
width: string;
|
|
1410
|
+
size: string;
|
|
1411
|
+
name: string;
|
|
1412
|
+
} & {
|
|
1413
|
+
date?: string | null | undefined;
|
|
1414
|
+
}) | {
|
|
1415
|
+
kind: "image";
|
|
1416
|
+
}) & {
|
|
1417
|
+
text?: string;
|
|
1418
|
+
})) | ({
|
|
1419
|
+
__TYPE__: "FileLink";
|
|
1420
|
+
} & ((({
|
|
1421
|
+
kind: "file";
|
|
1422
|
+
id: string;
|
|
1423
|
+
url: string;
|
|
1424
|
+
name: string;
|
|
1425
|
+
size: string;
|
|
1426
|
+
} & {
|
|
1427
|
+
date?: string | null | undefined;
|
|
1428
|
+
}) | {
|
|
1429
|
+
kind: "file";
|
|
1430
|
+
}) & {
|
|
1431
|
+
text?: string;
|
|
1432
|
+
})) | ({
|
|
1433
|
+
__TYPE__: "MediaLink";
|
|
1434
|
+
} & {
|
|
1435
|
+
kind: "media";
|
|
1436
|
+
} & {
|
|
1437
|
+
text?: string;
|
|
1438
|
+
}) | ({
|
|
1439
|
+
__TYPE__: "DocumentLink";
|
|
1440
|
+
} & (({
|
|
1441
|
+
id: string;
|
|
1442
|
+
} | {
|
|
1443
|
+
kind: "document";
|
|
1444
|
+
}) & {
|
|
1445
|
+
text?: string;
|
|
1446
|
+
})) | ({
|
|
1447
|
+
__TYPE__: "ExternalLink";
|
|
1448
|
+
} & ((({
|
|
1449
|
+
url: string;
|
|
1450
|
+
} & {
|
|
1451
|
+
kind?: "web";
|
|
1452
|
+
target?: string | null | undefined;
|
|
1453
|
+
preview?: {
|
|
1454
|
+
title?: string;
|
|
1455
|
+
} | null | undefined;
|
|
1456
|
+
}) | {
|
|
1457
|
+
kind: "web";
|
|
1458
|
+
}) & {
|
|
1459
|
+
text?: string;
|
|
1460
|
+
})) | ({
|
|
1461
|
+
__TYPE__: "AnyLink";
|
|
1462
|
+
} & {
|
|
1463
|
+
text?: string;
|
|
1464
|
+
});
|
|
1465
|
+
}[];
|
|
1466
|
+
} | import("../..").GroupContent | {
|
|
1203
1467
|
__TYPE__: "StructuredTextContent";
|
|
1204
1468
|
value: (({
|
|
1205
1469
|
type: "image";
|
|
@@ -1354,7 +1618,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1354
1618
|
}))[];
|
|
1355
1619
|
} | {
|
|
1356
1620
|
__TYPE__: "SeparatorContent";
|
|
1357
|
-
}
|
|
1621
|
+
};
|
|
1358
1622
|
};
|
|
1359
1623
|
items: {
|
|
1360
1624
|
__TYPE__: "GroupItemContent";
|
|
@@ -1474,7 +1738,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1474
1738
|
__TYPE__: "LinkContent";
|
|
1475
1739
|
value: ({
|
|
1476
1740
|
__TYPE__: "ImageLink";
|
|
1477
|
-
} & (({
|
|
1741
|
+
} & ((({
|
|
1478
1742
|
kind: "image";
|
|
1479
1743
|
id: string;
|
|
1480
1744
|
url: string;
|
|
@@ -1484,14 +1748,13 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1484
1748
|
name: string;
|
|
1485
1749
|
} & {
|
|
1486
1750
|
date?: string | null | undefined;
|
|
1487
|
-
} & {
|
|
1488
|
-
text?: string;
|
|
1489
1751
|
}) | {
|
|
1490
1752
|
kind: "image";
|
|
1491
|
-
|
|
1753
|
+
}) & {
|
|
1754
|
+
text?: string;
|
|
1492
1755
|
})) | ({
|
|
1493
1756
|
__TYPE__: "FileLink";
|
|
1494
|
-
} & (({
|
|
1757
|
+
} & ((({
|
|
1495
1758
|
kind: "file";
|
|
1496
1759
|
id: string;
|
|
1497
1760
|
url: string;
|
|
@@ -1499,28 +1762,27 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1499
1762
|
size: string;
|
|
1500
1763
|
} & {
|
|
1501
1764
|
date?: string | null | undefined;
|
|
1502
|
-
} & {
|
|
1503
|
-
text?: string;
|
|
1504
1765
|
}) | {
|
|
1505
1766
|
kind: "file";
|
|
1506
|
-
|
|
1767
|
+
}) & {
|
|
1768
|
+
text?: string;
|
|
1507
1769
|
})) | ({
|
|
1508
1770
|
__TYPE__: "MediaLink";
|
|
1509
1771
|
} & {
|
|
1510
1772
|
kind: "media";
|
|
1511
|
-
|
|
1773
|
+
} & {
|
|
1774
|
+
text?: string;
|
|
1512
1775
|
}) | ({
|
|
1513
1776
|
__TYPE__: "DocumentLink";
|
|
1514
1777
|
} & (({
|
|
1515
1778
|
id: string;
|
|
1516
|
-
}
|
|
1517
|
-
text?: string;
|
|
1518
|
-
}) | {
|
|
1779
|
+
} | {
|
|
1519
1780
|
kind: "document";
|
|
1520
|
-
|
|
1781
|
+
}) & {
|
|
1782
|
+
text?: string;
|
|
1521
1783
|
})) | ({
|
|
1522
1784
|
__TYPE__: "ExternalLink";
|
|
1523
|
-
} & (({
|
|
1785
|
+
} & ((({
|
|
1524
1786
|
url: string;
|
|
1525
1787
|
} & {
|
|
1526
1788
|
kind?: "web";
|
|
@@ -1528,17 +1790,85 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1528
1790
|
preview?: {
|
|
1529
1791
|
title?: string;
|
|
1530
1792
|
} | null | undefined;
|
|
1531
|
-
} & {
|
|
1532
|
-
text?: string;
|
|
1533
1793
|
}) | {
|
|
1534
1794
|
kind: "web";
|
|
1535
|
-
|
|
1795
|
+
}) & {
|
|
1796
|
+
text?: string;
|
|
1536
1797
|
})) | ({
|
|
1537
1798
|
__TYPE__: "AnyLink";
|
|
1538
1799
|
} & {
|
|
1539
|
-
text
|
|
1800
|
+
text?: string;
|
|
1540
1801
|
});
|
|
1541
1802
|
} | {
|
|
1803
|
+
__TYPE__: "RepeatableContent";
|
|
1804
|
+
type: "Link";
|
|
1805
|
+
value: {
|
|
1806
|
+
__TYPE__: "LinkContent";
|
|
1807
|
+
value: ({
|
|
1808
|
+
__TYPE__: "ImageLink";
|
|
1809
|
+
} & ((({
|
|
1810
|
+
kind: "image";
|
|
1811
|
+
id: string;
|
|
1812
|
+
url: string;
|
|
1813
|
+
height: string;
|
|
1814
|
+
width: string;
|
|
1815
|
+
size: string;
|
|
1816
|
+
name: string;
|
|
1817
|
+
} & {
|
|
1818
|
+
date?: string | null | undefined;
|
|
1819
|
+
}) | {
|
|
1820
|
+
kind: "image";
|
|
1821
|
+
}) & {
|
|
1822
|
+
text?: string;
|
|
1823
|
+
})) | ({
|
|
1824
|
+
__TYPE__: "FileLink";
|
|
1825
|
+
} & ((({
|
|
1826
|
+
kind: "file";
|
|
1827
|
+
id: string;
|
|
1828
|
+
url: string;
|
|
1829
|
+
name: string;
|
|
1830
|
+
size: string;
|
|
1831
|
+
} & {
|
|
1832
|
+
date?: string | null | undefined;
|
|
1833
|
+
}) | {
|
|
1834
|
+
kind: "file";
|
|
1835
|
+
}) & {
|
|
1836
|
+
text?: string;
|
|
1837
|
+
})) | ({
|
|
1838
|
+
__TYPE__: "MediaLink";
|
|
1839
|
+
} & {
|
|
1840
|
+
kind: "media";
|
|
1841
|
+
} & {
|
|
1842
|
+
text?: string;
|
|
1843
|
+
}) | ({
|
|
1844
|
+
__TYPE__: "DocumentLink";
|
|
1845
|
+
} & (({
|
|
1846
|
+
id: string;
|
|
1847
|
+
} | {
|
|
1848
|
+
kind: "document";
|
|
1849
|
+
}) & {
|
|
1850
|
+
text?: string;
|
|
1851
|
+
})) | ({
|
|
1852
|
+
__TYPE__: "ExternalLink";
|
|
1853
|
+
} & ((({
|
|
1854
|
+
url: string;
|
|
1855
|
+
} & {
|
|
1856
|
+
kind?: "web";
|
|
1857
|
+
target?: string | null | undefined;
|
|
1858
|
+
preview?: {
|
|
1859
|
+
title?: string;
|
|
1860
|
+
} | null | undefined;
|
|
1861
|
+
}) | {
|
|
1862
|
+
kind: "web";
|
|
1863
|
+
}) & {
|
|
1864
|
+
text?: string;
|
|
1865
|
+
})) | ({
|
|
1866
|
+
__TYPE__: "AnyLink";
|
|
1867
|
+
} & {
|
|
1868
|
+
text?: string;
|
|
1869
|
+
});
|
|
1870
|
+
}[];
|
|
1871
|
+
} | import("../..").GroupContent | {
|
|
1542
1872
|
__TYPE__: "StructuredTextContent";
|
|
1543
1873
|
value: (({
|
|
1544
1874
|
type: "image";
|
|
@@ -1693,9 +2023,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1693
2023
|
}))[];
|
|
1694
2024
|
} | {
|
|
1695
2025
|
__TYPE__: "SeparatorContent";
|
|
1696
|
-
}
|
|
2026
|
+
}][];
|
|
1697
2027
|
}[];
|
|
1698
|
-
}> | undefined;
|
|
2028
|
+
}> | import("fp-ts/lib/Either").Right<import("../..").GroupContent> | undefined;
|
|
1699
2029
|
encode: (value: SliceContent) => import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
|
|
1700
2030
|
};
|
|
1701
2031
|
export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -1814,7 +2144,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1814
2144
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1815
2145
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1816
2146
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1817
|
-
}>>, t.
|
|
2147
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1818
2148
|
kind: t.Type<"image", "image", unknown>;
|
|
1819
2149
|
id: t.StringC;
|
|
1820
2150
|
url: t.StringC;
|
|
@@ -1824,14 +2154,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1824
2154
|
name: t.StringC;
|
|
1825
2155
|
}>>, t.ExactC<t.PartialC<{
|
|
1826
2156
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1827
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
1828
|
-
text: t.StringC;
|
|
1829
2157
|
}>>]>, t.ExactC<t.TypeC<{
|
|
1830
2158
|
kind: t.LiteralC<"image">;
|
|
2159
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1831
2160
|
text: t.StringC;
|
|
1832
2161
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1833
2162
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1834
|
-
}>>, t.
|
|
2163
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1835
2164
|
kind: t.Type<"file", "file", unknown>;
|
|
1836
2165
|
id: t.StringC;
|
|
1837
2166
|
url: t.StringC;
|
|
@@ -1839,23 +2168,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1839
2168
|
size: t.StringC;
|
|
1840
2169
|
}>, t.PartialC<{
|
|
1841
2170
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1842
|
-
}>]>>, t.ExactC<t.
|
|
1843
|
-
text: t.StringC;
|
|
1844
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2171
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1845
2172
|
kind: t.LiteralC<"file">;
|
|
2173
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1846
2174
|
text: t.StringC;
|
|
1847
2175
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1848
2176
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1849
|
-
}>>, t.
|
|
2177
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
1850
2178
|
id: t.Type<string, string, unknown>;
|
|
1851
|
-
}>>, t.ExactC<t.
|
|
1852
|
-
text: t.StringC;
|
|
1853
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2179
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1854
2180
|
kind: t.LiteralC<"document">;
|
|
2181
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1855
2182
|
text: t.StringC;
|
|
1856
2183
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1857
2184
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1858
|
-
}>>, t.
|
|
2185
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1859
2186
|
url: t.StringC;
|
|
1860
2187
|
}>, t.PartialC<{
|
|
1861
2188
|
kind: t.LiteralC<"web">;
|
|
@@ -1865,19 +2192,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1865
2192
|
}, {
|
|
1866
2193
|
title?: string;
|
|
1867
2194
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1868
|
-
}>]>>, t.ExactC<t.
|
|
1869
|
-
text: t.StringC;
|
|
1870
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2195
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1871
2196
|
kind: t.LiteralC<"web">;
|
|
2197
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1872
2198
|
text: t.StringC;
|
|
1873
2199
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1874
2200
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1875
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2201
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1876
2202
|
kind: t.LiteralC<"media">;
|
|
2203
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1877
2204
|
text: t.StringC;
|
|
1878
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2205
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1879
2206
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1880
|
-
}>>, t.ExactC<t.
|
|
2207
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1881
2208
|
text: t.StringC;
|
|
1882
2209
|
}>>]>]>;
|
|
1883
2210
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -2121,6 +2448,77 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2121
2448
|
}>]>>]>>;
|
|
2122
2449
|
}>>, t.ExactC<t.TypeC<{
|
|
2123
2450
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2451
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2452
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2453
|
+
type: t.LiteralC<"Link">;
|
|
2454
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2455
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2456
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2457
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2458
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2459
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2460
|
+
id: t.StringC;
|
|
2461
|
+
url: t.StringC;
|
|
2462
|
+
height: t.StringC;
|
|
2463
|
+
width: t.StringC;
|
|
2464
|
+
size: t.StringC;
|
|
2465
|
+
name: t.StringC;
|
|
2466
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2467
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2468
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2469
|
+
kind: t.LiteralC<"image">;
|
|
2470
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2471
|
+
text: t.StringC;
|
|
2472
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2473
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2474
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2475
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2476
|
+
id: t.StringC;
|
|
2477
|
+
url: t.StringC;
|
|
2478
|
+
name: t.StringC;
|
|
2479
|
+
size: t.StringC;
|
|
2480
|
+
}>, t.PartialC<{
|
|
2481
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2482
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2483
|
+
kind: t.LiteralC<"file">;
|
|
2484
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2485
|
+
text: t.StringC;
|
|
2486
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2487
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2488
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2489
|
+
id: t.Type<string, string, unknown>;
|
|
2490
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2491
|
+
kind: t.LiteralC<"document">;
|
|
2492
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2493
|
+
text: t.StringC;
|
|
2494
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2495
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2496
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2497
|
+
url: t.StringC;
|
|
2498
|
+
}>, t.PartialC<{
|
|
2499
|
+
kind: t.LiteralC<"web">;
|
|
2500
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2501
|
+
preview: t.UnionC<[t.Type<{
|
|
2502
|
+
title?: string;
|
|
2503
|
+
}, {
|
|
2504
|
+
title?: string;
|
|
2505
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2506
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2507
|
+
kind: t.LiteralC<"web">;
|
|
2508
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2509
|
+
text: t.StringC;
|
|
2510
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2511
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2512
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2513
|
+
kind: t.LiteralC<"media">;
|
|
2514
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2515
|
+
text: t.StringC;
|
|
2516
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2517
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2518
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2519
|
+
text: t.StringC;
|
|
2520
|
+
}>>]>]>;
|
|
2521
|
+
}>>>;
|
|
2124
2522
|
}>>]>>;
|
|
2125
2523
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2126
2524
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -2238,7 +2636,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2238
2636
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2239
2637
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2240
2638
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2241
|
-
}>>, t.
|
|
2639
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2242
2640
|
kind: t.Type<"image", "image", unknown>;
|
|
2243
2641
|
id: t.StringC;
|
|
2244
2642
|
url: t.StringC;
|
|
@@ -2248,14 +2646,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2248
2646
|
name: t.StringC;
|
|
2249
2647
|
}>>, t.ExactC<t.PartialC<{
|
|
2250
2648
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2251
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
2252
|
-
text: t.StringC;
|
|
2253
2649
|
}>>]>, t.ExactC<t.TypeC<{
|
|
2254
2650
|
kind: t.LiteralC<"image">;
|
|
2651
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2255
2652
|
text: t.StringC;
|
|
2256
2653
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2257
2654
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2258
|
-
}>>, t.
|
|
2655
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2259
2656
|
kind: t.Type<"file", "file", unknown>;
|
|
2260
2657
|
id: t.StringC;
|
|
2261
2658
|
url: t.StringC;
|
|
@@ -2263,23 +2660,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2263
2660
|
size: t.StringC;
|
|
2264
2661
|
}>, t.PartialC<{
|
|
2265
2662
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2266
|
-
}>]>>, t.ExactC<t.
|
|
2267
|
-
text: t.StringC;
|
|
2268
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2663
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2269
2664
|
kind: t.LiteralC<"file">;
|
|
2665
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2270
2666
|
text: t.StringC;
|
|
2271
2667
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2272
2668
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2273
|
-
}>>, t.
|
|
2669
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2274
2670
|
id: t.Type<string, string, unknown>;
|
|
2275
|
-
}>>, t.ExactC<t.
|
|
2276
|
-
text: t.StringC;
|
|
2277
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2671
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2278
2672
|
kind: t.LiteralC<"document">;
|
|
2673
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2279
2674
|
text: t.StringC;
|
|
2280
2675
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2281
2676
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2282
|
-
}>>, t.
|
|
2677
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2283
2678
|
url: t.StringC;
|
|
2284
2679
|
}>, t.PartialC<{
|
|
2285
2680
|
kind: t.LiteralC<"web">;
|
|
@@ -2289,19 +2684,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2289
2684
|
}, {
|
|
2290
2685
|
title?: string;
|
|
2291
2686
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2292
|
-
}>]>>, t.ExactC<t.
|
|
2293
|
-
text: t.StringC;
|
|
2294
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2687
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2295
2688
|
kind: t.LiteralC<"web">;
|
|
2689
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2296
2690
|
text: t.StringC;
|
|
2297
2691
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2298
2692
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2299
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2693
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2300
2694
|
kind: t.LiteralC<"media">;
|
|
2695
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2301
2696
|
text: t.StringC;
|
|
2302
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2697
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2303
2698
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2304
|
-
}>>, t.ExactC<t.
|
|
2699
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2305
2700
|
text: t.StringC;
|
|
2306
2701
|
}>>]>]>;
|
|
2307
2702
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -2545,6 +2940,77 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2545
2940
|
}>]>>]>>;
|
|
2546
2941
|
}>>, t.ExactC<t.TypeC<{
|
|
2547
2942
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2943
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2944
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2945
|
+
type: t.LiteralC<"Link">;
|
|
2946
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2947
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2948
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2949
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2950
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2951
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2952
|
+
id: t.StringC;
|
|
2953
|
+
url: t.StringC;
|
|
2954
|
+
height: t.StringC;
|
|
2955
|
+
width: t.StringC;
|
|
2956
|
+
size: t.StringC;
|
|
2957
|
+
name: t.StringC;
|
|
2958
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2959
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2960
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2961
|
+
kind: t.LiteralC<"image">;
|
|
2962
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2963
|
+
text: t.StringC;
|
|
2964
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2965
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2966
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2967
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2968
|
+
id: t.StringC;
|
|
2969
|
+
url: t.StringC;
|
|
2970
|
+
name: t.StringC;
|
|
2971
|
+
size: t.StringC;
|
|
2972
|
+
}>, t.PartialC<{
|
|
2973
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2974
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2975
|
+
kind: t.LiteralC<"file">;
|
|
2976
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2977
|
+
text: t.StringC;
|
|
2978
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2979
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2980
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2981
|
+
id: t.Type<string, string, unknown>;
|
|
2982
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2983
|
+
kind: t.LiteralC<"document">;
|
|
2984
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2985
|
+
text: t.StringC;
|
|
2986
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2987
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2988
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2989
|
+
url: t.StringC;
|
|
2990
|
+
}>, t.PartialC<{
|
|
2991
|
+
kind: t.LiteralC<"web">;
|
|
2992
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2993
|
+
preview: t.UnionC<[t.Type<{
|
|
2994
|
+
title?: string;
|
|
2995
|
+
}, {
|
|
2996
|
+
title?: string;
|
|
2997
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2998
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2999
|
+
kind: t.LiteralC<"web">;
|
|
3000
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3001
|
+
text: t.StringC;
|
|
3002
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3003
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3004
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3005
|
+
kind: t.LiteralC<"media">;
|
|
3006
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3007
|
+
text: t.StringC;
|
|
3008
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3009
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3010
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3011
|
+
text: t.StringC;
|
|
3012
|
+
}>>]>]>;
|
|
3013
|
+
}>>>;
|
|
2548
3014
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>>;
|
|
2549
3015
|
}>>>;
|
|
2550
3016
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -2664,7 +3130,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2664
3130
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2665
3131
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2666
3132
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2667
|
-
}>>, t.
|
|
3133
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2668
3134
|
kind: t.Type<"image", "image", unknown>;
|
|
2669
3135
|
id: t.StringC;
|
|
2670
3136
|
url: t.StringC;
|
|
@@ -2674,14 +3140,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2674
3140
|
name: t.StringC;
|
|
2675
3141
|
}>>, t.ExactC<t.PartialC<{
|
|
2676
3142
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2677
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
2678
|
-
text: t.StringC;
|
|
2679
3143
|
}>>]>, t.ExactC<t.TypeC<{
|
|
2680
3144
|
kind: t.LiteralC<"image">;
|
|
3145
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2681
3146
|
text: t.StringC;
|
|
2682
3147
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2683
3148
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
2684
|
-
}>>, t.
|
|
3149
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2685
3150
|
kind: t.Type<"file", "file", unknown>;
|
|
2686
3151
|
id: t.StringC;
|
|
2687
3152
|
url: t.StringC;
|
|
@@ -2689,23 +3154,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2689
3154
|
size: t.StringC;
|
|
2690
3155
|
}>, t.PartialC<{
|
|
2691
3156
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2692
|
-
}>]>>, t.ExactC<t.
|
|
2693
|
-
text: t.StringC;
|
|
2694
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3157
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2695
3158
|
kind: t.LiteralC<"file">;
|
|
3159
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2696
3160
|
text: t.StringC;
|
|
2697
3161
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2698
3162
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2699
|
-
}>>, t.
|
|
3163
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2700
3164
|
id: t.Type<string, string, unknown>;
|
|
2701
|
-
}>>, t.ExactC<t.
|
|
2702
|
-
text: t.StringC;
|
|
2703
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3165
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2704
3166
|
kind: t.LiteralC<"document">;
|
|
3167
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2705
3168
|
text: t.StringC;
|
|
2706
3169
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2707
3170
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2708
|
-
}>>, t.
|
|
3171
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2709
3172
|
url: t.StringC;
|
|
2710
3173
|
}>, t.PartialC<{
|
|
2711
3174
|
kind: t.LiteralC<"web">;
|
|
@@ -2715,19 +3178,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2715
3178
|
}, {
|
|
2716
3179
|
title?: string;
|
|
2717
3180
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2718
|
-
}>]>>, t.ExactC<t.
|
|
2719
|
-
text: t.StringC;
|
|
2720
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3181
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2721
3182
|
kind: t.LiteralC<"web">;
|
|
3183
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2722
3184
|
text: t.StringC;
|
|
2723
3185
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2724
3186
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2725
|
-
}>>, t.ExactC<t.TypeC<{
|
|
3187
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2726
3188
|
kind: t.LiteralC<"media">;
|
|
3189
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2727
3190
|
text: t.StringC;
|
|
2728
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3191
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2729
3192
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2730
|
-
}>>, t.ExactC<t.
|
|
3193
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2731
3194
|
text: t.StringC;
|
|
2732
3195
|
}>>]>]>;
|
|
2733
3196
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -2971,6 +3434,77 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2971
3434
|
}>]>>]>>;
|
|
2972
3435
|
}>>, t.ExactC<t.TypeC<{
|
|
2973
3436
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3437
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3438
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3439
|
+
type: t.LiteralC<"Link">;
|
|
3440
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3441
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3442
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3443
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3444
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3445
|
+
kind: t.Type<"image", "image", unknown>;
|
|
3446
|
+
id: t.StringC;
|
|
3447
|
+
url: t.StringC;
|
|
3448
|
+
height: t.StringC;
|
|
3449
|
+
width: t.StringC;
|
|
3450
|
+
size: t.StringC;
|
|
3451
|
+
name: t.StringC;
|
|
3452
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3453
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3454
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3455
|
+
kind: t.LiteralC<"image">;
|
|
3456
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3457
|
+
text: t.StringC;
|
|
3458
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3459
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
3460
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3461
|
+
kind: t.Type<"file", "file", unknown>;
|
|
3462
|
+
id: t.StringC;
|
|
3463
|
+
url: t.StringC;
|
|
3464
|
+
name: t.StringC;
|
|
3465
|
+
size: t.StringC;
|
|
3466
|
+
}>, t.PartialC<{
|
|
3467
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3468
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3469
|
+
kind: t.LiteralC<"file">;
|
|
3470
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3471
|
+
text: t.StringC;
|
|
3472
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3473
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3474
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
3475
|
+
id: t.Type<string, string, unknown>;
|
|
3476
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3477
|
+
kind: t.LiteralC<"document">;
|
|
3478
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3479
|
+
text: t.StringC;
|
|
3480
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3481
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3482
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3483
|
+
url: t.StringC;
|
|
3484
|
+
}>, t.PartialC<{
|
|
3485
|
+
kind: t.LiteralC<"web">;
|
|
3486
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3487
|
+
preview: t.UnionC<[t.Type<{
|
|
3488
|
+
title?: string;
|
|
3489
|
+
}, {
|
|
3490
|
+
title?: string;
|
|
3491
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3492
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3493
|
+
kind: t.LiteralC<"web">;
|
|
3494
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3495
|
+
text: t.StringC;
|
|
3496
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3497
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3498
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3499
|
+
kind: t.LiteralC<"media">;
|
|
3500
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3501
|
+
text: t.StringC;
|
|
3502
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3503
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3504
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3505
|
+
text: t.StringC;
|
|
3506
|
+
}>>]>]>;
|
|
3507
|
+
}>>>;
|
|
2974
3508
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>>;
|
|
2975
3509
|
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2976
3510
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -3088,7 +3622,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3088
3622
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3089
3623
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3090
3624
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3091
|
-
}>>, t.
|
|
3625
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3092
3626
|
kind: t.Type<"image", "image", unknown>;
|
|
3093
3627
|
id: t.StringC;
|
|
3094
3628
|
url: t.StringC;
|
|
@@ -3098,14 +3632,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3098
3632
|
name: t.StringC;
|
|
3099
3633
|
}>>, t.ExactC<t.PartialC<{
|
|
3100
3634
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3101
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
3102
|
-
text: t.StringC;
|
|
3103
3635
|
}>>]>, t.ExactC<t.TypeC<{
|
|
3104
3636
|
kind: t.LiteralC<"image">;
|
|
3637
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3105
3638
|
text: t.StringC;
|
|
3106
3639
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3107
3640
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
3108
|
-
}>>, t.
|
|
3641
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3109
3642
|
kind: t.Type<"file", "file", unknown>;
|
|
3110
3643
|
id: t.StringC;
|
|
3111
3644
|
url: t.StringC;
|
|
@@ -3113,23 +3646,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3113
3646
|
size: t.StringC;
|
|
3114
3647
|
}>, t.PartialC<{
|
|
3115
3648
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3116
|
-
}>]>>, t.ExactC<t.
|
|
3117
|
-
text: t.StringC;
|
|
3118
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3649
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3119
3650
|
kind: t.LiteralC<"file">;
|
|
3651
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3120
3652
|
text: t.StringC;
|
|
3121
3653
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3122
3654
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3123
|
-
}>>, t.
|
|
3655
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
3124
3656
|
id: t.Type<string, string, unknown>;
|
|
3125
|
-
}>>, t.ExactC<t.
|
|
3126
|
-
text: t.StringC;
|
|
3127
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3657
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3128
3658
|
kind: t.LiteralC<"document">;
|
|
3659
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3129
3660
|
text: t.StringC;
|
|
3130
3661
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3131
3662
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3132
|
-
}>>, t.
|
|
3663
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3133
3664
|
url: t.StringC;
|
|
3134
3665
|
}>, t.PartialC<{
|
|
3135
3666
|
kind: t.LiteralC<"web">;
|
|
@@ -3139,19 +3670,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3139
3670
|
}, {
|
|
3140
3671
|
title?: string;
|
|
3141
3672
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3142
|
-
}>]>>, t.ExactC<t.
|
|
3143
|
-
text: t.StringC;
|
|
3144
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3673
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3145
3674
|
kind: t.LiteralC<"web">;
|
|
3675
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3146
3676
|
text: t.StringC;
|
|
3147
3677
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3148
3678
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3149
|
-
}>>, t.ExactC<t.TypeC<{
|
|
3679
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3150
3680
|
kind: t.LiteralC<"media">;
|
|
3681
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3151
3682
|
text: t.StringC;
|
|
3152
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3683
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3153
3684
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3154
|
-
}>>, t.ExactC<t.
|
|
3685
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3155
3686
|
text: t.StringC;
|
|
3156
3687
|
}>>]>]>;
|
|
3157
3688
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -3395,6 +3926,77 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3395
3926
|
}>]>>]>>;
|
|
3396
3927
|
}>>, t.ExactC<t.TypeC<{
|
|
3397
3928
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3929
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3930
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3931
|
+
type: t.LiteralC<"Link">;
|
|
3932
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3933
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3934
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3935
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3936
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3937
|
+
kind: t.Type<"image", "image", unknown>;
|
|
3938
|
+
id: t.StringC;
|
|
3939
|
+
url: t.StringC;
|
|
3940
|
+
height: t.StringC;
|
|
3941
|
+
width: t.StringC;
|
|
3942
|
+
size: t.StringC;
|
|
3943
|
+
name: t.StringC;
|
|
3944
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3945
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3946
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3947
|
+
kind: t.LiteralC<"image">;
|
|
3948
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3949
|
+
text: t.StringC;
|
|
3950
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3951
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
3952
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3953
|
+
kind: t.Type<"file", "file", unknown>;
|
|
3954
|
+
id: t.StringC;
|
|
3955
|
+
url: t.StringC;
|
|
3956
|
+
name: t.StringC;
|
|
3957
|
+
size: t.StringC;
|
|
3958
|
+
}>, t.PartialC<{
|
|
3959
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3960
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3961
|
+
kind: t.LiteralC<"file">;
|
|
3962
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3963
|
+
text: t.StringC;
|
|
3964
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3965
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3966
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
3967
|
+
id: t.Type<string, string, unknown>;
|
|
3968
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3969
|
+
kind: t.LiteralC<"document">;
|
|
3970
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3971
|
+
text: t.StringC;
|
|
3972
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3973
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3974
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3975
|
+
url: t.StringC;
|
|
3976
|
+
}>, t.PartialC<{
|
|
3977
|
+
kind: t.LiteralC<"web">;
|
|
3978
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3979
|
+
preview: t.UnionC<[t.Type<{
|
|
3980
|
+
title?: string;
|
|
3981
|
+
}, {
|
|
3982
|
+
title?: string;
|
|
3983
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3984
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3985
|
+
kind: t.LiteralC<"web">;
|
|
3986
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3987
|
+
text: t.StringC;
|
|
3988
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3989
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3990
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3991
|
+
kind: t.LiteralC<"media">;
|
|
3992
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3993
|
+
text: t.StringC;
|
|
3994
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3995
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3996
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3997
|
+
text: t.StringC;
|
|
3998
|
+
}>>]>]>;
|
|
3999
|
+
}>>>;
|
|
3398
4000
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>>;
|
|
3399
4001
|
}>>>;
|
|
3400
4002
|
}>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -3511,7 +4113,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3511
4113
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3512
4114
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3513
4115
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3514
|
-
}>>, t.
|
|
4116
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3515
4117
|
kind: t.Type<"image", "image", unknown>;
|
|
3516
4118
|
id: t.StringC;
|
|
3517
4119
|
url: t.StringC;
|
|
@@ -3521,14 +4123,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3521
4123
|
name: t.StringC;
|
|
3522
4124
|
}>>, t.ExactC<t.PartialC<{
|
|
3523
4125
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3524
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
3525
|
-
text: t.StringC;
|
|
3526
4126
|
}>>]>, t.ExactC<t.TypeC<{
|
|
3527
4127
|
kind: t.LiteralC<"image">;
|
|
4128
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3528
4129
|
text: t.StringC;
|
|
3529
4130
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3530
4131
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
3531
|
-
}>>, t.
|
|
4132
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3532
4133
|
kind: t.Type<"file", "file", unknown>;
|
|
3533
4134
|
id: t.StringC;
|
|
3534
4135
|
url: t.StringC;
|
|
@@ -3536,23 +4137,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3536
4137
|
size: t.StringC;
|
|
3537
4138
|
}>, t.PartialC<{
|
|
3538
4139
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3539
|
-
}>]>>, t.ExactC<t.
|
|
3540
|
-
text: t.StringC;
|
|
3541
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
4140
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3542
4141
|
kind: t.LiteralC<"file">;
|
|
4142
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3543
4143
|
text: t.StringC;
|
|
3544
4144
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3545
4145
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3546
|
-
}>>, t.
|
|
4146
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
3547
4147
|
id: t.Type<string, string, unknown>;
|
|
3548
|
-
}>>, t.ExactC<t.
|
|
3549
|
-
text: t.StringC;
|
|
3550
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
4148
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3551
4149
|
kind: t.LiteralC<"document">;
|
|
4150
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3552
4151
|
text: t.StringC;
|
|
3553
4152
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3554
4153
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3555
|
-
}>>, t.
|
|
4154
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3556
4155
|
url: t.StringC;
|
|
3557
4156
|
}>, t.PartialC<{
|
|
3558
4157
|
kind: t.LiteralC<"web">;
|
|
@@ -3562,19 +4161,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3562
4161
|
}, {
|
|
3563
4162
|
title?: string;
|
|
3564
4163
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3565
|
-
}>]>>, t.ExactC<t.
|
|
3566
|
-
text: t.StringC;
|
|
3567
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
4164
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3568
4165
|
kind: t.LiteralC<"web">;
|
|
4166
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3569
4167
|
text: t.StringC;
|
|
3570
4168
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3571
4169
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3572
|
-
}>>, t.ExactC<t.TypeC<{
|
|
4170
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3573
4171
|
kind: t.LiteralC<"media">;
|
|
4172
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3574
4173
|
text: t.StringC;
|
|
3575
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4174
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3576
4175
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3577
|
-
}>>, t.ExactC<t.
|
|
4176
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3578
4177
|
text: t.StringC;
|
|
3579
4178
|
}>>]>]>;
|
|
3580
4179
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -3818,6 +4417,77 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3818
4417
|
}>]>>]>>;
|
|
3819
4418
|
}>>, t.ExactC<t.TypeC<{
|
|
3820
4419
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
4420
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4421
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
4422
|
+
type: t.LiteralC<"Link">;
|
|
4423
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
4424
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
4425
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4426
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
4427
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4428
|
+
kind: t.Type<"image", "image", unknown>;
|
|
4429
|
+
id: t.StringC;
|
|
4430
|
+
url: t.StringC;
|
|
4431
|
+
height: t.StringC;
|
|
4432
|
+
width: t.StringC;
|
|
4433
|
+
size: t.StringC;
|
|
4434
|
+
name: t.StringC;
|
|
4435
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4436
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4437
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4438
|
+
kind: t.LiteralC<"image">;
|
|
4439
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
4440
|
+
text: t.StringC;
|
|
4441
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4442
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
4443
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4444
|
+
kind: t.Type<"file", "file", unknown>;
|
|
4445
|
+
id: t.StringC;
|
|
4446
|
+
url: t.StringC;
|
|
4447
|
+
name: t.StringC;
|
|
4448
|
+
size: t.StringC;
|
|
4449
|
+
}>, t.PartialC<{
|
|
4450
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4451
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4452
|
+
kind: t.LiteralC<"file">;
|
|
4453
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
4454
|
+
text: t.StringC;
|
|
4455
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4456
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
4457
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
4458
|
+
id: t.Type<string, string, unknown>;
|
|
4459
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4460
|
+
kind: t.LiteralC<"document">;
|
|
4461
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
4462
|
+
text: t.StringC;
|
|
4463
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4464
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
4465
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4466
|
+
url: t.StringC;
|
|
4467
|
+
}>, t.PartialC<{
|
|
4468
|
+
kind: t.LiteralC<"web">;
|
|
4469
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4470
|
+
preview: t.UnionC<[t.Type<{
|
|
4471
|
+
title?: string;
|
|
4472
|
+
}, {
|
|
4473
|
+
title?: string;
|
|
4474
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
4475
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
4476
|
+
kind: t.LiteralC<"web">;
|
|
4477
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
4478
|
+
text: t.StringC;
|
|
4479
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4480
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
4481
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4482
|
+
kind: t.LiteralC<"media">;
|
|
4483
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4484
|
+
text: t.StringC;
|
|
4485
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4486
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
4487
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4488
|
+
text: t.StringC;
|
|
4489
|
+
}>>]>]>;
|
|
4490
|
+
}>>>;
|
|
3821
4491
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>;
|
|
3822
4492
|
export declare type SliceContent = t.TypeOf<typeof SliceContent>;
|
|
3823
4493
|
export * from "./CompositeSliceContent";
|