@prismicio/types-internal 3.0.0 → 3.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_internal/utils.d.ts +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
|
@@ -123,7 +123,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
123
123
|
__TYPE__: "LinkContent";
|
|
124
124
|
value: ({
|
|
125
125
|
__TYPE__: "ImageLink";
|
|
126
|
-
} & (({
|
|
126
|
+
} & ((({
|
|
127
127
|
kind: "image";
|
|
128
128
|
id: string;
|
|
129
129
|
url: string;
|
|
@@ -133,14 +133,13 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
133
133
|
name: string;
|
|
134
134
|
} & {
|
|
135
135
|
date?: string | null | undefined;
|
|
136
|
-
} & {
|
|
137
|
-
text?: string;
|
|
138
136
|
}) | {
|
|
139
137
|
kind: "image";
|
|
140
|
-
|
|
138
|
+
}) & {
|
|
139
|
+
text?: string;
|
|
141
140
|
})) | ({
|
|
142
141
|
__TYPE__: "FileLink";
|
|
143
|
-
} & (({
|
|
142
|
+
} & ((({
|
|
144
143
|
kind: "file";
|
|
145
144
|
id: string;
|
|
146
145
|
url: string;
|
|
@@ -148,28 +147,27 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
148
147
|
size: string;
|
|
149
148
|
} & {
|
|
150
149
|
date?: string | null | undefined;
|
|
151
|
-
} & {
|
|
152
|
-
text?: string;
|
|
153
150
|
}) | {
|
|
154
151
|
kind: "file";
|
|
155
|
-
|
|
152
|
+
}) & {
|
|
153
|
+
text?: string;
|
|
156
154
|
})) | ({
|
|
157
155
|
__TYPE__: "MediaLink";
|
|
158
156
|
} & {
|
|
159
157
|
kind: "media";
|
|
160
|
-
|
|
158
|
+
} & {
|
|
159
|
+
text?: string;
|
|
161
160
|
}) | ({
|
|
162
161
|
__TYPE__: "DocumentLink";
|
|
163
162
|
} & (({
|
|
164
163
|
id: string;
|
|
165
|
-
}
|
|
166
|
-
text?: string;
|
|
167
|
-
}) | {
|
|
164
|
+
} | {
|
|
168
165
|
kind: "document";
|
|
169
|
-
|
|
166
|
+
}) & {
|
|
167
|
+
text?: string;
|
|
170
168
|
})) | ({
|
|
171
169
|
__TYPE__: "ExternalLink";
|
|
172
|
-
} & (({
|
|
170
|
+
} & ((({
|
|
173
171
|
url: string;
|
|
174
172
|
} & {
|
|
175
173
|
kind?: "web";
|
|
@@ -177,16 +175,84 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
177
175
|
preview?: {
|
|
178
176
|
title?: string;
|
|
179
177
|
} | null | undefined;
|
|
180
|
-
} & {
|
|
181
|
-
text?: string;
|
|
182
178
|
}) | {
|
|
183
179
|
kind: "web";
|
|
184
|
-
|
|
180
|
+
}) & {
|
|
181
|
+
text?: string;
|
|
185
182
|
})) | ({
|
|
186
183
|
__TYPE__: "AnyLink";
|
|
187
184
|
} & {
|
|
188
|
-
text
|
|
185
|
+
text?: string;
|
|
189
186
|
});
|
|
187
|
+
} | {
|
|
188
|
+
__TYPE__: "RepeatableContent";
|
|
189
|
+
type: "Link";
|
|
190
|
+
value: {
|
|
191
|
+
__TYPE__: "LinkContent";
|
|
192
|
+
value: ({
|
|
193
|
+
__TYPE__: "ImageLink";
|
|
194
|
+
} & ((({
|
|
195
|
+
kind: "image";
|
|
196
|
+
id: string;
|
|
197
|
+
url: string;
|
|
198
|
+
height: string;
|
|
199
|
+
width: string;
|
|
200
|
+
size: string;
|
|
201
|
+
name: string;
|
|
202
|
+
} & {
|
|
203
|
+
date?: string | null | undefined;
|
|
204
|
+
}) | {
|
|
205
|
+
kind: "image";
|
|
206
|
+
}) & {
|
|
207
|
+
text?: string;
|
|
208
|
+
})) | ({
|
|
209
|
+
__TYPE__: "FileLink";
|
|
210
|
+
} & ((({
|
|
211
|
+
kind: "file";
|
|
212
|
+
id: string;
|
|
213
|
+
url: string;
|
|
214
|
+
name: string;
|
|
215
|
+
size: string;
|
|
216
|
+
} & {
|
|
217
|
+
date?: string | null | undefined;
|
|
218
|
+
}) | {
|
|
219
|
+
kind: "file";
|
|
220
|
+
}) & {
|
|
221
|
+
text?: string;
|
|
222
|
+
})) | ({
|
|
223
|
+
__TYPE__: "MediaLink";
|
|
224
|
+
} & {
|
|
225
|
+
kind: "media";
|
|
226
|
+
} & {
|
|
227
|
+
text?: string;
|
|
228
|
+
}) | ({
|
|
229
|
+
__TYPE__: "DocumentLink";
|
|
230
|
+
} & (({
|
|
231
|
+
id: string;
|
|
232
|
+
} | {
|
|
233
|
+
kind: "document";
|
|
234
|
+
}) & {
|
|
235
|
+
text?: string;
|
|
236
|
+
})) | ({
|
|
237
|
+
__TYPE__: "ExternalLink";
|
|
238
|
+
} & ((({
|
|
239
|
+
url: string;
|
|
240
|
+
} & {
|
|
241
|
+
kind?: "web";
|
|
242
|
+
target?: string | null | undefined;
|
|
243
|
+
preview?: {
|
|
244
|
+
title?: string;
|
|
245
|
+
} | null | undefined;
|
|
246
|
+
}) | {
|
|
247
|
+
kind: "web";
|
|
248
|
+
}) & {
|
|
249
|
+
text?: string;
|
|
250
|
+
})) | ({
|
|
251
|
+
__TYPE__: "AnyLink";
|
|
252
|
+
} & {
|
|
253
|
+
text?: string;
|
|
254
|
+
});
|
|
255
|
+
}[];
|
|
190
256
|
} | {
|
|
191
257
|
__TYPE__: "StructuredTextContent";
|
|
192
258
|
value: (({
|
|
@@ -462,7 +528,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
462
528
|
__TYPE__: "LinkContent";
|
|
463
529
|
value: ({
|
|
464
530
|
__TYPE__: "ImageLink";
|
|
465
|
-
} & (({
|
|
531
|
+
} & ((({
|
|
466
532
|
kind: "image";
|
|
467
533
|
id: string;
|
|
468
534
|
url: string;
|
|
@@ -472,14 +538,13 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
472
538
|
name: string;
|
|
473
539
|
} & {
|
|
474
540
|
date?: string | null | undefined;
|
|
475
|
-
} & {
|
|
476
|
-
text?: string;
|
|
477
541
|
}) | {
|
|
478
542
|
kind: "image";
|
|
479
|
-
|
|
543
|
+
}) & {
|
|
544
|
+
text?: string;
|
|
480
545
|
})) | ({
|
|
481
546
|
__TYPE__: "FileLink";
|
|
482
|
-
} & (({
|
|
547
|
+
} & ((({
|
|
483
548
|
kind: "file";
|
|
484
549
|
id: string;
|
|
485
550
|
url: string;
|
|
@@ -487,28 +552,27 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
487
552
|
size: string;
|
|
488
553
|
} & {
|
|
489
554
|
date?: string | null | undefined;
|
|
490
|
-
} & {
|
|
491
|
-
text?: string;
|
|
492
555
|
}) | {
|
|
493
556
|
kind: "file";
|
|
494
|
-
|
|
557
|
+
}) & {
|
|
558
|
+
text?: string;
|
|
495
559
|
})) | ({
|
|
496
560
|
__TYPE__: "MediaLink";
|
|
497
561
|
} & {
|
|
498
562
|
kind: "media";
|
|
499
|
-
|
|
563
|
+
} & {
|
|
564
|
+
text?: string;
|
|
500
565
|
}) | ({
|
|
501
566
|
__TYPE__: "DocumentLink";
|
|
502
567
|
} & (({
|
|
503
568
|
id: string;
|
|
504
|
-
}
|
|
505
|
-
text?: string;
|
|
506
|
-
}) | {
|
|
569
|
+
} | {
|
|
507
570
|
kind: "document";
|
|
508
|
-
|
|
571
|
+
}) & {
|
|
572
|
+
text?: string;
|
|
509
573
|
})) | ({
|
|
510
574
|
__TYPE__: "ExternalLink";
|
|
511
|
-
} & (({
|
|
575
|
+
} & ((({
|
|
512
576
|
url: string;
|
|
513
577
|
} & {
|
|
514
578
|
kind?: "web";
|
|
@@ -516,17 +580,85 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
516
580
|
preview?: {
|
|
517
581
|
title?: string;
|
|
518
582
|
} | null | undefined;
|
|
519
|
-
} & {
|
|
520
|
-
text?: string;
|
|
521
583
|
}) | {
|
|
522
584
|
kind: "web";
|
|
523
|
-
|
|
585
|
+
}) & {
|
|
586
|
+
text?: string;
|
|
524
587
|
})) | ({
|
|
525
588
|
__TYPE__: "AnyLink";
|
|
526
589
|
} & {
|
|
527
|
-
text
|
|
590
|
+
text?: string;
|
|
528
591
|
});
|
|
529
592
|
} | {
|
|
593
|
+
__TYPE__: "RepeatableContent";
|
|
594
|
+
type: "Link";
|
|
595
|
+
value: {
|
|
596
|
+
__TYPE__: "LinkContent";
|
|
597
|
+
value: ({
|
|
598
|
+
__TYPE__: "ImageLink";
|
|
599
|
+
} & ((({
|
|
600
|
+
kind: "image";
|
|
601
|
+
id: string;
|
|
602
|
+
url: string;
|
|
603
|
+
height: string;
|
|
604
|
+
width: string;
|
|
605
|
+
size: string;
|
|
606
|
+
name: string;
|
|
607
|
+
} & {
|
|
608
|
+
date?: string | null | undefined;
|
|
609
|
+
}) | {
|
|
610
|
+
kind: "image";
|
|
611
|
+
}) & {
|
|
612
|
+
text?: string;
|
|
613
|
+
})) | ({
|
|
614
|
+
__TYPE__: "FileLink";
|
|
615
|
+
} & ((({
|
|
616
|
+
kind: "file";
|
|
617
|
+
id: string;
|
|
618
|
+
url: string;
|
|
619
|
+
name: string;
|
|
620
|
+
size: string;
|
|
621
|
+
} & {
|
|
622
|
+
date?: string | null | undefined;
|
|
623
|
+
}) | {
|
|
624
|
+
kind: "file";
|
|
625
|
+
}) & {
|
|
626
|
+
text?: string;
|
|
627
|
+
})) | ({
|
|
628
|
+
__TYPE__: "MediaLink";
|
|
629
|
+
} & {
|
|
630
|
+
kind: "media";
|
|
631
|
+
} & {
|
|
632
|
+
text?: string;
|
|
633
|
+
}) | ({
|
|
634
|
+
__TYPE__: "DocumentLink";
|
|
635
|
+
} & (({
|
|
636
|
+
id: string;
|
|
637
|
+
} | {
|
|
638
|
+
kind: "document";
|
|
639
|
+
}) & {
|
|
640
|
+
text?: string;
|
|
641
|
+
})) | ({
|
|
642
|
+
__TYPE__: "ExternalLink";
|
|
643
|
+
} & ((({
|
|
644
|
+
url: string;
|
|
645
|
+
} & {
|
|
646
|
+
kind?: "web";
|
|
647
|
+
target?: string | null | undefined;
|
|
648
|
+
preview?: {
|
|
649
|
+
title?: string;
|
|
650
|
+
} | null | undefined;
|
|
651
|
+
}) | {
|
|
652
|
+
kind: "web";
|
|
653
|
+
}) & {
|
|
654
|
+
text?: string;
|
|
655
|
+
})) | ({
|
|
656
|
+
__TYPE__: "AnyLink";
|
|
657
|
+
} & {
|
|
658
|
+
text?: string;
|
|
659
|
+
});
|
|
660
|
+
}[];
|
|
661
|
+
} | import("../../GroupContent").GroupContent | {
|
|
530
662
|
__TYPE__: "StructuredTextContent";
|
|
531
663
|
value: (({
|
|
532
664
|
type: "image";
|
|
@@ -681,7 +813,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
681
813
|
}))[];
|
|
682
814
|
} | {
|
|
683
815
|
__TYPE__: "SeparatorContent";
|
|
684
|
-
}
|
|
816
|
+
}][];
|
|
685
817
|
}[];
|
|
686
818
|
};
|
|
687
819
|
export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
@@ -803,7 +935,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
803
935
|
__TYPE__: "LinkContent";
|
|
804
936
|
value: ({
|
|
805
937
|
__TYPE__: "ImageLink";
|
|
806
|
-
} & (({
|
|
938
|
+
} & ((({
|
|
807
939
|
kind: "image";
|
|
808
940
|
id: string;
|
|
809
941
|
url: string;
|
|
@@ -813,14 +945,13 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
813
945
|
name: string;
|
|
814
946
|
} & {
|
|
815
947
|
date?: string | null | undefined;
|
|
816
|
-
} & {
|
|
817
|
-
text?: string;
|
|
818
948
|
}) | {
|
|
819
949
|
kind: "image";
|
|
820
|
-
|
|
950
|
+
}) & {
|
|
951
|
+
text?: string;
|
|
821
952
|
})) | ({
|
|
822
953
|
__TYPE__: "FileLink";
|
|
823
|
-
} & (({
|
|
954
|
+
} & ((({
|
|
824
955
|
kind: "file";
|
|
825
956
|
id: string;
|
|
826
957
|
url: string;
|
|
@@ -828,28 +959,27 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
828
959
|
size: string;
|
|
829
960
|
} & {
|
|
830
961
|
date?: string | null | undefined;
|
|
831
|
-
} & {
|
|
832
|
-
text?: string;
|
|
833
962
|
}) | {
|
|
834
963
|
kind: "file";
|
|
835
|
-
|
|
964
|
+
}) & {
|
|
965
|
+
text?: string;
|
|
836
966
|
})) | ({
|
|
837
967
|
__TYPE__: "MediaLink";
|
|
838
968
|
} & {
|
|
839
969
|
kind: "media";
|
|
840
|
-
|
|
970
|
+
} & {
|
|
971
|
+
text?: string;
|
|
841
972
|
}) | ({
|
|
842
973
|
__TYPE__: "DocumentLink";
|
|
843
974
|
} & (({
|
|
844
975
|
id: string;
|
|
845
|
-
}
|
|
846
|
-
text?: string;
|
|
847
|
-
}) | {
|
|
976
|
+
} | {
|
|
848
977
|
kind: "document";
|
|
849
|
-
|
|
978
|
+
}) & {
|
|
979
|
+
text?: string;
|
|
850
980
|
})) | ({
|
|
851
981
|
__TYPE__: "ExternalLink";
|
|
852
|
-
} & (({
|
|
982
|
+
} & ((({
|
|
853
983
|
url: string;
|
|
854
984
|
} & {
|
|
855
985
|
kind?: "web";
|
|
@@ -857,16 +987,84 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
857
987
|
preview?: {
|
|
858
988
|
title?: string;
|
|
859
989
|
} | null | undefined;
|
|
860
|
-
} & {
|
|
861
|
-
text?: string;
|
|
862
990
|
}) | {
|
|
863
991
|
kind: "web";
|
|
864
|
-
|
|
992
|
+
}) & {
|
|
993
|
+
text?: string;
|
|
865
994
|
})) | ({
|
|
866
995
|
__TYPE__: "AnyLink";
|
|
867
996
|
} & {
|
|
868
|
-
text
|
|
997
|
+
text?: string;
|
|
869
998
|
});
|
|
999
|
+
} | {
|
|
1000
|
+
__TYPE__: "RepeatableContent";
|
|
1001
|
+
type: "Link";
|
|
1002
|
+
value: {
|
|
1003
|
+
__TYPE__: "LinkContent";
|
|
1004
|
+
value: ({
|
|
1005
|
+
__TYPE__: "ImageLink";
|
|
1006
|
+
} & ((({
|
|
1007
|
+
kind: "image";
|
|
1008
|
+
id: string;
|
|
1009
|
+
url: string;
|
|
1010
|
+
height: string;
|
|
1011
|
+
width: string;
|
|
1012
|
+
size: string;
|
|
1013
|
+
name: string;
|
|
1014
|
+
} & {
|
|
1015
|
+
date?: string | null | undefined;
|
|
1016
|
+
}) | {
|
|
1017
|
+
kind: "image";
|
|
1018
|
+
}) & {
|
|
1019
|
+
text?: string;
|
|
1020
|
+
})) | ({
|
|
1021
|
+
__TYPE__: "FileLink";
|
|
1022
|
+
} & ((({
|
|
1023
|
+
kind: "file";
|
|
1024
|
+
id: string;
|
|
1025
|
+
url: string;
|
|
1026
|
+
name: string;
|
|
1027
|
+
size: string;
|
|
1028
|
+
} & {
|
|
1029
|
+
date?: string | null | undefined;
|
|
1030
|
+
}) | {
|
|
1031
|
+
kind: "file";
|
|
1032
|
+
}) & {
|
|
1033
|
+
text?: string;
|
|
1034
|
+
})) | ({
|
|
1035
|
+
__TYPE__: "MediaLink";
|
|
1036
|
+
} & {
|
|
1037
|
+
kind: "media";
|
|
1038
|
+
} & {
|
|
1039
|
+
text?: string;
|
|
1040
|
+
}) | ({
|
|
1041
|
+
__TYPE__: "DocumentLink";
|
|
1042
|
+
} & (({
|
|
1043
|
+
id: string;
|
|
1044
|
+
} | {
|
|
1045
|
+
kind: "document";
|
|
1046
|
+
}) & {
|
|
1047
|
+
text?: string;
|
|
1048
|
+
})) | ({
|
|
1049
|
+
__TYPE__: "ExternalLink";
|
|
1050
|
+
} & ((({
|
|
1051
|
+
url: string;
|
|
1052
|
+
} & {
|
|
1053
|
+
kind?: "web";
|
|
1054
|
+
target?: string | null | undefined;
|
|
1055
|
+
preview?: {
|
|
1056
|
+
title?: string;
|
|
1057
|
+
} | null | undefined;
|
|
1058
|
+
}) | {
|
|
1059
|
+
kind: "web";
|
|
1060
|
+
}) & {
|
|
1061
|
+
text?: string;
|
|
1062
|
+
})) | ({
|
|
1063
|
+
__TYPE__: "AnyLink";
|
|
1064
|
+
} & {
|
|
1065
|
+
text?: string;
|
|
1066
|
+
});
|
|
1067
|
+
}[];
|
|
870
1068
|
} | {
|
|
871
1069
|
__TYPE__: "StructuredTextContent";
|
|
872
1070
|
value: (({
|
|
@@ -1142,7 +1340,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1142
1340
|
__TYPE__: "LinkContent";
|
|
1143
1341
|
value: ({
|
|
1144
1342
|
__TYPE__: "ImageLink";
|
|
1145
|
-
} & (({
|
|
1343
|
+
} & ((({
|
|
1146
1344
|
kind: "image";
|
|
1147
1345
|
id: string;
|
|
1148
1346
|
url: string;
|
|
@@ -1152,14 +1350,13 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1152
1350
|
name: string;
|
|
1153
1351
|
} & {
|
|
1154
1352
|
date?: string | null | undefined;
|
|
1155
|
-
} & {
|
|
1156
|
-
text?: string;
|
|
1157
1353
|
}) | {
|
|
1158
1354
|
kind: "image";
|
|
1159
|
-
|
|
1355
|
+
}) & {
|
|
1356
|
+
text?: string;
|
|
1160
1357
|
})) | ({
|
|
1161
1358
|
__TYPE__: "FileLink";
|
|
1162
|
-
} & (({
|
|
1359
|
+
} & ((({
|
|
1163
1360
|
kind: "file";
|
|
1164
1361
|
id: string;
|
|
1165
1362
|
url: string;
|
|
@@ -1167,28 +1364,27 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1167
1364
|
size: string;
|
|
1168
1365
|
} & {
|
|
1169
1366
|
date?: string | null | undefined;
|
|
1170
|
-
} & {
|
|
1171
|
-
text?: string;
|
|
1172
1367
|
}) | {
|
|
1173
1368
|
kind: "file";
|
|
1174
|
-
|
|
1369
|
+
}) & {
|
|
1370
|
+
text?: string;
|
|
1175
1371
|
})) | ({
|
|
1176
1372
|
__TYPE__: "MediaLink";
|
|
1177
1373
|
} & {
|
|
1178
1374
|
kind: "media";
|
|
1179
|
-
|
|
1375
|
+
} & {
|
|
1376
|
+
text?: string;
|
|
1180
1377
|
}) | ({
|
|
1181
1378
|
__TYPE__: "DocumentLink";
|
|
1182
1379
|
} & (({
|
|
1183
1380
|
id: string;
|
|
1184
|
-
}
|
|
1185
|
-
text?: string;
|
|
1186
|
-
}) | {
|
|
1381
|
+
} | {
|
|
1187
1382
|
kind: "document";
|
|
1188
|
-
|
|
1383
|
+
}) & {
|
|
1384
|
+
text?: string;
|
|
1189
1385
|
})) | ({
|
|
1190
1386
|
__TYPE__: "ExternalLink";
|
|
1191
|
-
} & (({
|
|
1387
|
+
} & ((({
|
|
1192
1388
|
url: string;
|
|
1193
1389
|
} & {
|
|
1194
1390
|
kind?: "web";
|
|
@@ -1196,17 +1392,85 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1196
1392
|
preview?: {
|
|
1197
1393
|
title?: string;
|
|
1198
1394
|
} | null | undefined;
|
|
1199
|
-
} & {
|
|
1200
|
-
text?: string;
|
|
1201
1395
|
}) | {
|
|
1202
1396
|
kind: "web";
|
|
1203
|
-
|
|
1397
|
+
}) & {
|
|
1398
|
+
text?: string;
|
|
1204
1399
|
})) | ({
|
|
1205
1400
|
__TYPE__: "AnyLink";
|
|
1206
1401
|
} & {
|
|
1207
|
-
text
|
|
1402
|
+
text?: string;
|
|
1208
1403
|
});
|
|
1209
1404
|
} | {
|
|
1405
|
+
__TYPE__: "RepeatableContent";
|
|
1406
|
+
type: "Link";
|
|
1407
|
+
value: {
|
|
1408
|
+
__TYPE__: "LinkContent";
|
|
1409
|
+
value: ({
|
|
1410
|
+
__TYPE__: "ImageLink";
|
|
1411
|
+
} & ((({
|
|
1412
|
+
kind: "image";
|
|
1413
|
+
id: string;
|
|
1414
|
+
url: string;
|
|
1415
|
+
height: string;
|
|
1416
|
+
width: string;
|
|
1417
|
+
size: string;
|
|
1418
|
+
name: string;
|
|
1419
|
+
} & {
|
|
1420
|
+
date?: string | null | undefined;
|
|
1421
|
+
}) | {
|
|
1422
|
+
kind: "image";
|
|
1423
|
+
}) & {
|
|
1424
|
+
text?: string;
|
|
1425
|
+
})) | ({
|
|
1426
|
+
__TYPE__: "FileLink";
|
|
1427
|
+
} & ((({
|
|
1428
|
+
kind: "file";
|
|
1429
|
+
id: string;
|
|
1430
|
+
url: string;
|
|
1431
|
+
name: string;
|
|
1432
|
+
size: string;
|
|
1433
|
+
} & {
|
|
1434
|
+
date?: string | null | undefined;
|
|
1435
|
+
}) | {
|
|
1436
|
+
kind: "file";
|
|
1437
|
+
}) & {
|
|
1438
|
+
text?: string;
|
|
1439
|
+
})) | ({
|
|
1440
|
+
__TYPE__: "MediaLink";
|
|
1441
|
+
} & {
|
|
1442
|
+
kind: "media";
|
|
1443
|
+
} & {
|
|
1444
|
+
text?: string;
|
|
1445
|
+
}) | ({
|
|
1446
|
+
__TYPE__: "DocumentLink";
|
|
1447
|
+
} & (({
|
|
1448
|
+
id: string;
|
|
1449
|
+
} | {
|
|
1450
|
+
kind: "document";
|
|
1451
|
+
}) & {
|
|
1452
|
+
text?: string;
|
|
1453
|
+
})) | ({
|
|
1454
|
+
__TYPE__: "ExternalLink";
|
|
1455
|
+
} & ((({
|
|
1456
|
+
url: string;
|
|
1457
|
+
} & {
|
|
1458
|
+
kind?: "web";
|
|
1459
|
+
target?: string | null | undefined;
|
|
1460
|
+
preview?: {
|
|
1461
|
+
title?: string;
|
|
1462
|
+
} | null | undefined;
|
|
1463
|
+
}) | {
|
|
1464
|
+
kind: "web";
|
|
1465
|
+
}) & {
|
|
1466
|
+
text?: string;
|
|
1467
|
+
})) | ({
|
|
1468
|
+
__TYPE__: "AnyLink";
|
|
1469
|
+
} & {
|
|
1470
|
+
text?: string;
|
|
1471
|
+
});
|
|
1472
|
+
}[];
|
|
1473
|
+
} | import("../../GroupContent").GroupContent | {
|
|
1210
1474
|
__TYPE__: "StructuredTextContent";
|
|
1211
1475
|
value: (({
|
|
1212
1476
|
type: "image";
|
|
@@ -1361,7 +1625,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1361
1625
|
}))[];
|
|
1362
1626
|
} | {
|
|
1363
1627
|
__TYPE__: "SeparatorContent";
|
|
1364
|
-
}
|
|
1628
|
+
}][];
|
|
1365
1629
|
}[];
|
|
1366
1630
|
}, WithTypes<{
|
|
1367
1631
|
repeat?: unknown[];
|
|
@@ -1485,7 +1749,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1485
1749
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1486
1750
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1487
1751
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1488
|
-
}>>, t.
|
|
1752
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1489
1753
|
kind: t.Type<"image", "image", unknown>;
|
|
1490
1754
|
id: t.StringC;
|
|
1491
1755
|
url: t.StringC;
|
|
@@ -1495,14 +1759,13 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1495
1759
|
name: t.StringC;
|
|
1496
1760
|
}>>, t.ExactC<t.PartialC<{
|
|
1497
1761
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1498
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
1499
|
-
text: t.StringC;
|
|
1500
1762
|
}>>]>, t.ExactC<t.TypeC<{
|
|
1501
1763
|
kind: t.LiteralC<"image">;
|
|
1764
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1502
1765
|
text: t.StringC;
|
|
1503
1766
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1504
1767
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1505
|
-
}>>, t.
|
|
1768
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1506
1769
|
kind: t.Type<"file", "file", unknown>;
|
|
1507
1770
|
id: t.StringC;
|
|
1508
1771
|
url: t.StringC;
|
|
@@ -1510,23 +1773,21 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1510
1773
|
size: t.StringC;
|
|
1511
1774
|
}>, t.PartialC<{
|
|
1512
1775
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1513
|
-
}>]>>, t.ExactC<t.
|
|
1514
|
-
text: t.StringC;
|
|
1515
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1776
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1516
1777
|
kind: t.LiteralC<"file">;
|
|
1778
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1517
1779
|
text: t.StringC;
|
|
1518
1780
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1519
1781
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1520
|
-
}>>, t.
|
|
1782
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
1521
1783
|
id: t.Type<string, string, unknown>;
|
|
1522
|
-
}>>, t.ExactC<t.
|
|
1523
|
-
text: t.StringC;
|
|
1524
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1784
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1525
1785
|
kind: t.LiteralC<"document">;
|
|
1786
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1526
1787
|
text: t.StringC;
|
|
1527
1788
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1528
1789
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1529
|
-
}>>, t.
|
|
1790
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1530
1791
|
url: t.StringC;
|
|
1531
1792
|
}>, t.PartialC<{
|
|
1532
1793
|
kind: t.LiteralC<"web">;
|
|
@@ -1536,19 +1797,19 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1536
1797
|
}, {
|
|
1537
1798
|
title?: string;
|
|
1538
1799
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1539
|
-
}>]>>, t.ExactC<t.
|
|
1540
|
-
text: t.StringC;
|
|
1541
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
1800
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1542
1801
|
kind: t.LiteralC<"web">;
|
|
1802
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1543
1803
|
text: t.StringC;
|
|
1544
1804
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1545
1805
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1546
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1806
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1547
1807
|
kind: t.LiteralC<"media">;
|
|
1808
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1548
1809
|
text: t.StringC;
|
|
1549
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1810
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1550
1811
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1551
|
-
}>>, t.ExactC<t.
|
|
1812
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1552
1813
|
text: t.StringC;
|
|
1553
1814
|
}>>]>]>;
|
|
1554
1815
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -1792,6 +2053,77 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1792
2053
|
}>]>>]>>;
|
|
1793
2054
|
}>>, t.ExactC<t.TypeC<{
|
|
1794
2055
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2056
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2057
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2058
|
+
type: t.LiteralC<"Link">;
|
|
2059
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2060
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2061
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2062
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2063
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2064
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2065
|
+
id: t.StringC;
|
|
2066
|
+
url: t.StringC;
|
|
2067
|
+
height: t.StringC;
|
|
2068
|
+
width: t.StringC;
|
|
2069
|
+
size: t.StringC;
|
|
2070
|
+
name: t.StringC;
|
|
2071
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2072
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2073
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2074
|
+
kind: t.LiteralC<"image">;
|
|
2075
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2076
|
+
text: t.StringC;
|
|
2077
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2078
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2079
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2080
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2081
|
+
id: t.StringC;
|
|
2082
|
+
url: t.StringC;
|
|
2083
|
+
name: t.StringC;
|
|
2084
|
+
size: t.StringC;
|
|
2085
|
+
}>, t.PartialC<{
|
|
2086
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2087
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2088
|
+
kind: t.LiteralC<"file">;
|
|
2089
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2090
|
+
text: t.StringC;
|
|
2091
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2092
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2093
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2094
|
+
id: t.Type<string, string, unknown>;
|
|
2095
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2096
|
+
kind: t.LiteralC<"document">;
|
|
2097
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2098
|
+
text: t.StringC;
|
|
2099
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2100
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2101
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2102
|
+
url: t.StringC;
|
|
2103
|
+
}>, t.PartialC<{
|
|
2104
|
+
kind: t.LiteralC<"web">;
|
|
2105
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2106
|
+
preview: t.UnionC<[t.Type<{
|
|
2107
|
+
title?: string;
|
|
2108
|
+
}, {
|
|
2109
|
+
title?: string;
|
|
2110
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2111
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2112
|
+
kind: t.LiteralC<"web">;
|
|
2113
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2114
|
+
text: t.StringC;
|
|
2115
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2116
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2117
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2118
|
+
kind: t.LiteralC<"media">;
|
|
2119
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2120
|
+
text: t.StringC;
|
|
2121
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2122
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2123
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2124
|
+
text: t.StringC;
|
|
2125
|
+
}>>]>]>;
|
|
2126
|
+
}>>>;
|
|
1795
2127
|
}>>]>>;
|
|
1796
2128
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1797
2129
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -1909,7 +2241,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1909
2241
|
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1910
2242
|
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1911
2243
|
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1912
|
-
}>>, t.
|
|
2244
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1913
2245
|
kind: t.Type<"image", "image", unknown>;
|
|
1914
2246
|
id: t.StringC;
|
|
1915
2247
|
url: t.StringC;
|
|
@@ -1919,14 +2251,13 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1919
2251
|
name: t.StringC;
|
|
1920
2252
|
}>>, t.ExactC<t.PartialC<{
|
|
1921
2253
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1922
|
-
}>>]>, t.ExactC<t.PartialC<{
|
|
1923
|
-
text: t.StringC;
|
|
1924
2254
|
}>>]>, t.ExactC<t.TypeC<{
|
|
1925
2255
|
kind: t.LiteralC<"image">;
|
|
2256
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1926
2257
|
text: t.StringC;
|
|
1927
2258
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1928
2259
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1929
|
-
}>>, t.
|
|
2260
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1930
2261
|
kind: t.Type<"file", "file", unknown>;
|
|
1931
2262
|
id: t.StringC;
|
|
1932
2263
|
url: t.StringC;
|
|
@@ -1934,23 +2265,21 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1934
2265
|
size: t.StringC;
|
|
1935
2266
|
}>, t.PartialC<{
|
|
1936
2267
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1937
|
-
}>]>>, t.ExactC<t.
|
|
1938
|
-
text: t.StringC;
|
|
1939
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2268
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1940
2269
|
kind: t.LiteralC<"file">;
|
|
2270
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1941
2271
|
text: t.StringC;
|
|
1942
2272
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1943
2273
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1944
|
-
}>>, t.
|
|
2274
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
1945
2275
|
id: t.Type<string, string, unknown>;
|
|
1946
|
-
}>>, t.ExactC<t.
|
|
1947
|
-
text: t.StringC;
|
|
1948
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2276
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1949
2277
|
kind: t.LiteralC<"document">;
|
|
2278
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1950
2279
|
text: t.StringC;
|
|
1951
2280
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1952
2281
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1953
|
-
}>>, t.
|
|
2282
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1954
2283
|
url: t.StringC;
|
|
1955
2284
|
}>, t.PartialC<{
|
|
1956
2285
|
kind: t.LiteralC<"web">;
|
|
@@ -1960,19 +2289,19 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1960
2289
|
}, {
|
|
1961
2290
|
title?: string;
|
|
1962
2291
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1963
|
-
}>]>>, t.ExactC<t.
|
|
1964
|
-
text: t.StringC;
|
|
1965
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2292
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
1966
2293
|
kind: t.LiteralC<"web">;
|
|
2294
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1967
2295
|
text: t.StringC;
|
|
1968
2296
|
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1969
2297
|
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1970
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2298
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1971
2299
|
kind: t.LiteralC<"media">;
|
|
2300
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1972
2301
|
text: t.StringC;
|
|
1973
|
-
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2302
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1974
2303
|
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1975
|
-
}>>, t.ExactC<t.
|
|
2304
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1976
2305
|
text: t.StringC;
|
|
1977
2306
|
}>>]>]>;
|
|
1978
2307
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -2216,6 +2545,77 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2216
2545
|
}>]>>]>>;
|
|
2217
2546
|
}>>, t.ExactC<t.TypeC<{
|
|
2218
2547
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2548
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2549
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2550
|
+
type: t.LiteralC<"Link">;
|
|
2551
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2552
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2553
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2554
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2555
|
+
}>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2556
|
+
kind: t.Type<"image", "image", unknown>;
|
|
2557
|
+
id: t.StringC;
|
|
2558
|
+
url: t.StringC;
|
|
2559
|
+
height: t.StringC;
|
|
2560
|
+
width: t.StringC;
|
|
2561
|
+
size: t.StringC;
|
|
2562
|
+
name: t.StringC;
|
|
2563
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2564
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2565
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2566
|
+
kind: t.LiteralC<"image">;
|
|
2567
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2568
|
+
text: t.StringC;
|
|
2569
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2570
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2571
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2572
|
+
kind: t.Type<"file", "file", unknown>;
|
|
2573
|
+
id: t.StringC;
|
|
2574
|
+
url: t.StringC;
|
|
2575
|
+
name: t.StringC;
|
|
2576
|
+
size: t.StringC;
|
|
2577
|
+
}>, t.PartialC<{
|
|
2578
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2579
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2580
|
+
kind: t.LiteralC<"file">;
|
|
2581
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2582
|
+
text: t.StringC;
|
|
2583
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2584
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2585
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
2586
|
+
id: t.Type<string, string, unknown>;
|
|
2587
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2588
|
+
kind: t.LiteralC<"document">;
|
|
2589
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2590
|
+
text: t.StringC;
|
|
2591
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2592
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2593
|
+
}>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2594
|
+
url: t.StringC;
|
|
2595
|
+
}>, t.PartialC<{
|
|
2596
|
+
kind: t.LiteralC<"web">;
|
|
2597
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2598
|
+
preview: t.UnionC<[t.Type<{
|
|
2599
|
+
title?: string;
|
|
2600
|
+
}, {
|
|
2601
|
+
title?: string;
|
|
2602
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2603
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2604
|
+
kind: t.LiteralC<"web">;
|
|
2605
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2606
|
+
text: t.StringC;
|
|
2607
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2608
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2609
|
+
}>>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2610
|
+
kind: t.LiteralC<"media">;
|
|
2611
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2612
|
+
text: t.StringC;
|
|
2613
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2614
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2615
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2616
|
+
text: t.StringC;
|
|
2617
|
+
}>>]>]>;
|
|
2618
|
+
}>>>;
|
|
2219
2619
|
}>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
|
|
2220
2620
|
}>>>;
|
|
2221
2621
|
}>>;
|