@prismicio/types-internal 2.6.0 → 2.7.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/content/Document.d.ts +1729 -13
- package/lib/content/fields/WidgetContent.d.ts +1728 -12
- package/lib/content/fields/nestable/LinkContent.d.ts +206 -8
- package/lib/content/fields/nestable/LinkContent.js +11 -1
- package/lib/content/fields/nestable/NestableContent.d.ts +288 -2
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +537 -6
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +260 -0
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +576 -4
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +132 -2
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +576 -4
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +288 -2
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +288 -2
- package/lib/content/fields/slices/Slice/index.d.ts +1050 -10
- package/lib/content/fields/slices/SliceItem.d.ts +1050 -10
- package/lib/content/fields/slices/SlicesContent.d.ts +1440 -10
- package/lib/customtypes/CustomType.d.ts +342 -162
- package/lib/customtypes/Section.d.ts +342 -162
- package/lib/customtypes/diff/SharedSlice.d.ts +152 -72
- package/lib/customtypes/diff/Variation.d.ts +152 -72
- package/lib/customtypes/widgets/Group.d.ts +60 -0
- package/lib/customtypes/widgets/Widget.d.ts +318 -108
- package/lib/customtypes/widgets/nestable/Link.d.ts +20 -0
- package/lib/customtypes/widgets/nestable/Link.js +2 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +10 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +20 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +20 -0
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +80 -0
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +87 -27
- package/lib/customtypes/widgets/slices/Slices.d.ts +424 -144
- package/package.json +1 -1
- package/src/content/fields/nestable/LinkContent.ts +13 -1
- package/src/customtypes/widgets/nestable/Link.ts +2 -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
|
@@ -133,6 +133,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
133
133
|
kind: string;
|
|
134
134
|
} & {
|
|
135
135
|
date?: string | null | undefined;
|
|
136
|
+
title?: {
|
|
137
|
+
type: "Text";
|
|
138
|
+
value: string;
|
|
139
|
+
__TYPE__: "FieldContent";
|
|
140
|
+
};
|
|
136
141
|
}) | ({
|
|
137
142
|
id: string;
|
|
138
143
|
url: string;
|
|
@@ -141,14 +146,30 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
141
146
|
size: string;
|
|
142
147
|
} & {
|
|
143
148
|
date?: string | null | undefined;
|
|
149
|
+
title?: {
|
|
150
|
+
type: "Text";
|
|
151
|
+
value: string;
|
|
152
|
+
__TYPE__: "FieldContent";
|
|
153
|
+
};
|
|
144
154
|
} & {
|
|
145
155
|
__TYPE__: "FileLink";
|
|
146
156
|
} & {
|
|
147
157
|
size?: string;
|
|
158
|
+
title?: {
|
|
159
|
+
type: "Text";
|
|
160
|
+
value: string;
|
|
161
|
+
__TYPE__: "FieldContent";
|
|
162
|
+
};
|
|
148
163
|
}) | ({
|
|
149
164
|
__TYPE__: "DocumentLink";
|
|
150
165
|
} & {
|
|
151
166
|
id: string;
|
|
167
|
+
} & {
|
|
168
|
+
title?: {
|
|
169
|
+
type: "Text";
|
|
170
|
+
value: string;
|
|
171
|
+
__TYPE__: "FieldContent";
|
|
172
|
+
};
|
|
152
173
|
}) | ({
|
|
153
174
|
__TYPE__: "ExternalLink";
|
|
154
175
|
} & {
|
|
@@ -159,6 +180,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
159
180
|
preview?: {
|
|
160
181
|
title?: string;
|
|
161
182
|
} | null | undefined;
|
|
183
|
+
title?: {
|
|
184
|
+
type: "Text";
|
|
185
|
+
value: string;
|
|
186
|
+
__TYPE__: "FieldContent";
|
|
187
|
+
};
|
|
162
188
|
});
|
|
163
189
|
} | {
|
|
164
190
|
__TYPE__: "StructuredTextContent";
|
|
@@ -199,6 +225,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
199
225
|
kind: string;
|
|
200
226
|
} & {
|
|
201
227
|
date?: string | null | undefined;
|
|
228
|
+
title?: {
|
|
229
|
+
type: "Text";
|
|
230
|
+
value: string;
|
|
231
|
+
__TYPE__: "FieldContent";
|
|
232
|
+
};
|
|
202
233
|
}) | ({
|
|
203
234
|
id: string;
|
|
204
235
|
url: string;
|
|
@@ -207,14 +238,30 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
207
238
|
size: string;
|
|
208
239
|
} & {
|
|
209
240
|
date?: string | null | undefined;
|
|
241
|
+
title?: {
|
|
242
|
+
type: "Text";
|
|
243
|
+
value: string;
|
|
244
|
+
__TYPE__: "FieldContent";
|
|
245
|
+
};
|
|
210
246
|
} & {
|
|
211
247
|
__TYPE__: "FileLink";
|
|
212
248
|
} & {
|
|
213
249
|
size?: string;
|
|
250
|
+
title?: {
|
|
251
|
+
type: "Text";
|
|
252
|
+
value: string;
|
|
253
|
+
__TYPE__: "FieldContent";
|
|
254
|
+
};
|
|
214
255
|
}) | ({
|
|
215
256
|
__TYPE__: "DocumentLink";
|
|
216
257
|
} & {
|
|
217
258
|
id: string;
|
|
259
|
+
} & {
|
|
260
|
+
title?: {
|
|
261
|
+
type: "Text";
|
|
262
|
+
value: string;
|
|
263
|
+
__TYPE__: "FieldContent";
|
|
264
|
+
};
|
|
218
265
|
}) | ({
|
|
219
266
|
__TYPE__: "ExternalLink";
|
|
220
267
|
} & {
|
|
@@ -225,6 +272,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
225
272
|
preview?: {
|
|
226
273
|
title?: string;
|
|
227
274
|
} | null | undefined;
|
|
275
|
+
title?: {
|
|
276
|
+
type: "Text";
|
|
277
|
+
value: string;
|
|
278
|
+
__TYPE__: "FieldContent";
|
|
279
|
+
};
|
|
228
280
|
}) | null | undefined;
|
|
229
281
|
};
|
|
230
282
|
} & {
|
|
@@ -272,6 +324,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
272
324
|
kind: string;
|
|
273
325
|
} & {
|
|
274
326
|
date?: string | null | undefined;
|
|
327
|
+
title?: {
|
|
328
|
+
type: "Text";
|
|
329
|
+
value: string;
|
|
330
|
+
__TYPE__: "FieldContent";
|
|
331
|
+
};
|
|
275
332
|
}) | ({
|
|
276
333
|
id: string;
|
|
277
334
|
url: string;
|
|
@@ -280,14 +337,30 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
280
337
|
size: string;
|
|
281
338
|
} & {
|
|
282
339
|
date?: string | null | undefined;
|
|
340
|
+
title?: {
|
|
341
|
+
type: "Text";
|
|
342
|
+
value: string;
|
|
343
|
+
__TYPE__: "FieldContent";
|
|
344
|
+
};
|
|
283
345
|
} & {
|
|
284
346
|
__TYPE__: "FileLink";
|
|
285
347
|
} & {
|
|
286
348
|
size?: string;
|
|
349
|
+
title?: {
|
|
350
|
+
type: "Text";
|
|
351
|
+
value: string;
|
|
352
|
+
__TYPE__: "FieldContent";
|
|
353
|
+
};
|
|
287
354
|
}) | ({
|
|
288
355
|
__TYPE__: "DocumentLink";
|
|
289
356
|
} & {
|
|
290
357
|
id: string;
|
|
358
|
+
} & {
|
|
359
|
+
title?: {
|
|
360
|
+
type: "Text";
|
|
361
|
+
value: string;
|
|
362
|
+
__TYPE__: "FieldContent";
|
|
363
|
+
};
|
|
291
364
|
}) | ({
|
|
292
365
|
__TYPE__: "ExternalLink";
|
|
293
366
|
} & {
|
|
@@ -298,6 +371,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
298
371
|
preview?: {
|
|
299
372
|
title?: string;
|
|
300
373
|
} | null | undefined;
|
|
374
|
+
title?: {
|
|
375
|
+
type: "Text";
|
|
376
|
+
value: string;
|
|
377
|
+
__TYPE__: "FieldContent";
|
|
378
|
+
};
|
|
301
379
|
});
|
|
302
380
|
start: number;
|
|
303
381
|
end: number;
|
|
@@ -449,6 +527,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
449
527
|
kind: string;
|
|
450
528
|
} & {
|
|
451
529
|
date?: string | null | undefined;
|
|
530
|
+
title?: {
|
|
531
|
+
type: "Text";
|
|
532
|
+
value: string;
|
|
533
|
+
__TYPE__: "FieldContent";
|
|
534
|
+
};
|
|
452
535
|
}) | ({
|
|
453
536
|
id: string;
|
|
454
537
|
url: string;
|
|
@@ -457,14 +540,30 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
457
540
|
size: string;
|
|
458
541
|
} & {
|
|
459
542
|
date?: string | null | undefined;
|
|
543
|
+
title?: {
|
|
544
|
+
type: "Text";
|
|
545
|
+
value: string;
|
|
546
|
+
__TYPE__: "FieldContent";
|
|
547
|
+
};
|
|
460
548
|
} & {
|
|
461
549
|
__TYPE__: "FileLink";
|
|
462
550
|
} & {
|
|
463
551
|
size?: string;
|
|
552
|
+
title?: {
|
|
553
|
+
type: "Text";
|
|
554
|
+
value: string;
|
|
555
|
+
__TYPE__: "FieldContent";
|
|
556
|
+
};
|
|
464
557
|
}) | ({
|
|
465
558
|
__TYPE__: "DocumentLink";
|
|
466
559
|
} & {
|
|
467
560
|
id: string;
|
|
561
|
+
} & {
|
|
562
|
+
title?: {
|
|
563
|
+
type: "Text";
|
|
564
|
+
value: string;
|
|
565
|
+
__TYPE__: "FieldContent";
|
|
566
|
+
};
|
|
468
567
|
}) | ({
|
|
469
568
|
__TYPE__: "ExternalLink";
|
|
470
569
|
} & {
|
|
@@ -475,6 +574,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
475
574
|
preview?: {
|
|
476
575
|
title?: string;
|
|
477
576
|
} | null | undefined;
|
|
577
|
+
title?: {
|
|
578
|
+
type: "Text";
|
|
579
|
+
value: string;
|
|
580
|
+
__TYPE__: "FieldContent";
|
|
581
|
+
};
|
|
478
582
|
});
|
|
479
583
|
} | {
|
|
480
584
|
__TYPE__: "StructuredTextContent";
|
|
@@ -515,6 +619,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
515
619
|
kind: string;
|
|
516
620
|
} & {
|
|
517
621
|
date?: string | null | undefined;
|
|
622
|
+
title?: {
|
|
623
|
+
type: "Text";
|
|
624
|
+
value: string;
|
|
625
|
+
__TYPE__: "FieldContent";
|
|
626
|
+
};
|
|
518
627
|
}) | ({
|
|
519
628
|
id: string;
|
|
520
629
|
url: string;
|
|
@@ -523,14 +632,30 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
523
632
|
size: string;
|
|
524
633
|
} & {
|
|
525
634
|
date?: string | null | undefined;
|
|
635
|
+
title?: {
|
|
636
|
+
type: "Text";
|
|
637
|
+
value: string;
|
|
638
|
+
__TYPE__: "FieldContent";
|
|
639
|
+
};
|
|
526
640
|
} & {
|
|
527
641
|
__TYPE__: "FileLink";
|
|
528
642
|
} & {
|
|
529
643
|
size?: string;
|
|
644
|
+
title?: {
|
|
645
|
+
type: "Text";
|
|
646
|
+
value: string;
|
|
647
|
+
__TYPE__: "FieldContent";
|
|
648
|
+
};
|
|
530
649
|
}) | ({
|
|
531
650
|
__TYPE__: "DocumentLink";
|
|
532
651
|
} & {
|
|
533
652
|
id: string;
|
|
653
|
+
} & {
|
|
654
|
+
title?: {
|
|
655
|
+
type: "Text";
|
|
656
|
+
value: string;
|
|
657
|
+
__TYPE__: "FieldContent";
|
|
658
|
+
};
|
|
534
659
|
}) | ({
|
|
535
660
|
__TYPE__: "ExternalLink";
|
|
536
661
|
} & {
|
|
@@ -541,6 +666,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
541
666
|
preview?: {
|
|
542
667
|
title?: string;
|
|
543
668
|
} | null | undefined;
|
|
669
|
+
title?: {
|
|
670
|
+
type: "Text";
|
|
671
|
+
value: string;
|
|
672
|
+
__TYPE__: "FieldContent";
|
|
673
|
+
};
|
|
544
674
|
}) | null | undefined;
|
|
545
675
|
};
|
|
546
676
|
} & {
|
|
@@ -588,6 +718,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
588
718
|
kind: string;
|
|
589
719
|
} & {
|
|
590
720
|
date?: string | null | undefined;
|
|
721
|
+
title?: {
|
|
722
|
+
type: "Text";
|
|
723
|
+
value: string;
|
|
724
|
+
__TYPE__: "FieldContent";
|
|
725
|
+
};
|
|
591
726
|
}) | ({
|
|
592
727
|
id: string;
|
|
593
728
|
url: string;
|
|
@@ -596,14 +731,30 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
596
731
|
size: string;
|
|
597
732
|
} & {
|
|
598
733
|
date?: string | null | undefined;
|
|
734
|
+
title?: {
|
|
735
|
+
type: "Text";
|
|
736
|
+
value: string;
|
|
737
|
+
__TYPE__: "FieldContent";
|
|
738
|
+
};
|
|
599
739
|
} & {
|
|
600
740
|
__TYPE__: "FileLink";
|
|
601
741
|
} & {
|
|
602
742
|
size?: string;
|
|
743
|
+
title?: {
|
|
744
|
+
type: "Text";
|
|
745
|
+
value: string;
|
|
746
|
+
__TYPE__: "FieldContent";
|
|
747
|
+
};
|
|
603
748
|
}) | ({
|
|
604
749
|
__TYPE__: "DocumentLink";
|
|
605
750
|
} & {
|
|
606
751
|
id: string;
|
|
752
|
+
} & {
|
|
753
|
+
title?: {
|
|
754
|
+
type: "Text";
|
|
755
|
+
value: string;
|
|
756
|
+
__TYPE__: "FieldContent";
|
|
757
|
+
};
|
|
607
758
|
}) | ({
|
|
608
759
|
__TYPE__: "ExternalLink";
|
|
609
760
|
} & {
|
|
@@ -614,6 +765,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
614
765
|
preview?: {
|
|
615
766
|
title?: string;
|
|
616
767
|
} | null | undefined;
|
|
768
|
+
title?: {
|
|
769
|
+
type: "Text";
|
|
770
|
+
value: string;
|
|
771
|
+
__TYPE__: "FieldContent";
|
|
772
|
+
};
|
|
617
773
|
});
|
|
618
774
|
start: number;
|
|
619
775
|
end: number;
|
|
@@ -767,6 +923,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
767
923
|
kind: string;
|
|
768
924
|
} & {
|
|
769
925
|
date?: string | null | undefined;
|
|
926
|
+
title?: {
|
|
927
|
+
type: "Text";
|
|
928
|
+
value: string;
|
|
929
|
+
__TYPE__: "FieldContent";
|
|
930
|
+
};
|
|
770
931
|
}) | ({
|
|
771
932
|
id: string;
|
|
772
933
|
url: string;
|
|
@@ -775,14 +936,30 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
775
936
|
size: string;
|
|
776
937
|
} & {
|
|
777
938
|
date?: string | null | undefined;
|
|
939
|
+
title?: {
|
|
940
|
+
type: "Text";
|
|
941
|
+
value: string;
|
|
942
|
+
__TYPE__: "FieldContent";
|
|
943
|
+
};
|
|
778
944
|
} & {
|
|
779
945
|
__TYPE__: "FileLink";
|
|
780
946
|
} & {
|
|
781
947
|
size?: string;
|
|
948
|
+
title?: {
|
|
949
|
+
type: "Text";
|
|
950
|
+
value: string;
|
|
951
|
+
__TYPE__: "FieldContent";
|
|
952
|
+
};
|
|
782
953
|
}) | ({
|
|
783
954
|
__TYPE__: "DocumentLink";
|
|
784
955
|
} & {
|
|
785
956
|
id: string;
|
|
957
|
+
} & {
|
|
958
|
+
title?: {
|
|
959
|
+
type: "Text";
|
|
960
|
+
value: string;
|
|
961
|
+
__TYPE__: "FieldContent";
|
|
962
|
+
};
|
|
786
963
|
}) | ({
|
|
787
964
|
__TYPE__: "ExternalLink";
|
|
788
965
|
} & {
|
|
@@ -793,6 +970,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
793
970
|
preview?: {
|
|
794
971
|
title?: string;
|
|
795
972
|
} | null | undefined;
|
|
973
|
+
title?: {
|
|
974
|
+
type: "Text";
|
|
975
|
+
value: string;
|
|
976
|
+
__TYPE__: "FieldContent";
|
|
977
|
+
};
|
|
796
978
|
});
|
|
797
979
|
} | {
|
|
798
980
|
__TYPE__: "StructuredTextContent";
|
|
@@ -833,6 +1015,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
833
1015
|
kind: string;
|
|
834
1016
|
} & {
|
|
835
1017
|
date?: string | null | undefined;
|
|
1018
|
+
title?: {
|
|
1019
|
+
type: "Text";
|
|
1020
|
+
value: string;
|
|
1021
|
+
__TYPE__: "FieldContent";
|
|
1022
|
+
};
|
|
836
1023
|
}) | ({
|
|
837
1024
|
id: string;
|
|
838
1025
|
url: string;
|
|
@@ -841,14 +1028,30 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
841
1028
|
size: string;
|
|
842
1029
|
} & {
|
|
843
1030
|
date?: string | null | undefined;
|
|
1031
|
+
title?: {
|
|
1032
|
+
type: "Text";
|
|
1033
|
+
value: string;
|
|
1034
|
+
__TYPE__: "FieldContent";
|
|
1035
|
+
};
|
|
844
1036
|
} & {
|
|
845
1037
|
__TYPE__: "FileLink";
|
|
846
1038
|
} & {
|
|
847
1039
|
size?: string;
|
|
1040
|
+
title?: {
|
|
1041
|
+
type: "Text";
|
|
1042
|
+
value: string;
|
|
1043
|
+
__TYPE__: "FieldContent";
|
|
1044
|
+
};
|
|
848
1045
|
}) | ({
|
|
849
1046
|
__TYPE__: "DocumentLink";
|
|
850
1047
|
} & {
|
|
851
1048
|
id: string;
|
|
1049
|
+
} & {
|
|
1050
|
+
title?: {
|
|
1051
|
+
type: "Text";
|
|
1052
|
+
value: string;
|
|
1053
|
+
__TYPE__: "FieldContent";
|
|
1054
|
+
};
|
|
852
1055
|
}) | ({
|
|
853
1056
|
__TYPE__: "ExternalLink";
|
|
854
1057
|
} & {
|
|
@@ -859,6 +1062,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
859
1062
|
preview?: {
|
|
860
1063
|
title?: string;
|
|
861
1064
|
} | null | undefined;
|
|
1065
|
+
title?: {
|
|
1066
|
+
type: "Text";
|
|
1067
|
+
value: string;
|
|
1068
|
+
__TYPE__: "FieldContent";
|
|
1069
|
+
};
|
|
862
1070
|
}) | null | undefined;
|
|
863
1071
|
};
|
|
864
1072
|
} & {
|
|
@@ -906,6 +1114,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
906
1114
|
kind: string;
|
|
907
1115
|
} & {
|
|
908
1116
|
date?: string | null | undefined;
|
|
1117
|
+
title?: {
|
|
1118
|
+
type: "Text";
|
|
1119
|
+
value: string;
|
|
1120
|
+
__TYPE__: "FieldContent";
|
|
1121
|
+
};
|
|
909
1122
|
}) | ({
|
|
910
1123
|
id: string;
|
|
911
1124
|
url: string;
|
|
@@ -914,14 +1127,30 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
914
1127
|
size: string;
|
|
915
1128
|
} & {
|
|
916
1129
|
date?: string | null | undefined;
|
|
1130
|
+
title?: {
|
|
1131
|
+
type: "Text";
|
|
1132
|
+
value: string;
|
|
1133
|
+
__TYPE__: "FieldContent";
|
|
1134
|
+
};
|
|
917
1135
|
} & {
|
|
918
1136
|
__TYPE__: "FileLink";
|
|
919
1137
|
} & {
|
|
920
1138
|
size?: string;
|
|
1139
|
+
title?: {
|
|
1140
|
+
type: "Text";
|
|
1141
|
+
value: string;
|
|
1142
|
+
__TYPE__: "FieldContent";
|
|
1143
|
+
};
|
|
921
1144
|
}) | ({
|
|
922
1145
|
__TYPE__: "DocumentLink";
|
|
923
1146
|
} & {
|
|
924
1147
|
id: string;
|
|
1148
|
+
} & {
|
|
1149
|
+
title?: {
|
|
1150
|
+
type: "Text";
|
|
1151
|
+
value: string;
|
|
1152
|
+
__TYPE__: "FieldContent";
|
|
1153
|
+
};
|
|
925
1154
|
}) | ({
|
|
926
1155
|
__TYPE__: "ExternalLink";
|
|
927
1156
|
} & {
|
|
@@ -932,6 +1161,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
932
1161
|
preview?: {
|
|
933
1162
|
title?: string;
|
|
934
1163
|
} | null | undefined;
|
|
1164
|
+
title?: {
|
|
1165
|
+
type: "Text";
|
|
1166
|
+
value: string;
|
|
1167
|
+
__TYPE__: "FieldContent";
|
|
1168
|
+
};
|
|
935
1169
|
});
|
|
936
1170
|
start: number;
|
|
937
1171
|
end: number;
|
|
@@ -1083,6 +1317,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1083
1317
|
kind: string;
|
|
1084
1318
|
} & {
|
|
1085
1319
|
date?: string | null | undefined;
|
|
1320
|
+
title?: {
|
|
1321
|
+
type: "Text";
|
|
1322
|
+
value: string;
|
|
1323
|
+
__TYPE__: "FieldContent";
|
|
1324
|
+
};
|
|
1086
1325
|
}) | ({
|
|
1087
1326
|
id: string;
|
|
1088
1327
|
url: string;
|
|
@@ -1091,14 +1330,30 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1091
1330
|
size: string;
|
|
1092
1331
|
} & {
|
|
1093
1332
|
date?: string | null | undefined;
|
|
1333
|
+
title?: {
|
|
1334
|
+
type: "Text";
|
|
1335
|
+
value: string;
|
|
1336
|
+
__TYPE__: "FieldContent";
|
|
1337
|
+
};
|
|
1094
1338
|
} & {
|
|
1095
1339
|
__TYPE__: "FileLink";
|
|
1096
1340
|
} & {
|
|
1097
1341
|
size?: string;
|
|
1342
|
+
title?: {
|
|
1343
|
+
type: "Text";
|
|
1344
|
+
value: string;
|
|
1345
|
+
__TYPE__: "FieldContent";
|
|
1346
|
+
};
|
|
1098
1347
|
}) | ({
|
|
1099
1348
|
__TYPE__: "DocumentLink";
|
|
1100
1349
|
} & {
|
|
1101
1350
|
id: string;
|
|
1351
|
+
} & {
|
|
1352
|
+
title?: {
|
|
1353
|
+
type: "Text";
|
|
1354
|
+
value: string;
|
|
1355
|
+
__TYPE__: "FieldContent";
|
|
1356
|
+
};
|
|
1102
1357
|
}) | ({
|
|
1103
1358
|
__TYPE__: "ExternalLink";
|
|
1104
1359
|
} & {
|
|
@@ -1109,6 +1364,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1109
1364
|
preview?: {
|
|
1110
1365
|
title?: string;
|
|
1111
1366
|
} | null | undefined;
|
|
1367
|
+
title?: {
|
|
1368
|
+
type: "Text";
|
|
1369
|
+
value: string;
|
|
1370
|
+
__TYPE__: "FieldContent";
|
|
1371
|
+
};
|
|
1112
1372
|
});
|
|
1113
1373
|
} | {
|
|
1114
1374
|
__TYPE__: "StructuredTextContent";
|
|
@@ -1149,6 +1409,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1149
1409
|
kind: string;
|
|
1150
1410
|
} & {
|
|
1151
1411
|
date?: string | null | undefined;
|
|
1412
|
+
title?: {
|
|
1413
|
+
type: "Text";
|
|
1414
|
+
value: string;
|
|
1415
|
+
__TYPE__: "FieldContent";
|
|
1416
|
+
};
|
|
1152
1417
|
}) | ({
|
|
1153
1418
|
id: string;
|
|
1154
1419
|
url: string;
|
|
@@ -1157,14 +1422,30 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1157
1422
|
size: string;
|
|
1158
1423
|
} & {
|
|
1159
1424
|
date?: string | null | undefined;
|
|
1425
|
+
title?: {
|
|
1426
|
+
type: "Text";
|
|
1427
|
+
value: string;
|
|
1428
|
+
__TYPE__: "FieldContent";
|
|
1429
|
+
};
|
|
1160
1430
|
} & {
|
|
1161
1431
|
__TYPE__: "FileLink";
|
|
1162
1432
|
} & {
|
|
1163
1433
|
size?: string;
|
|
1434
|
+
title?: {
|
|
1435
|
+
type: "Text";
|
|
1436
|
+
value: string;
|
|
1437
|
+
__TYPE__: "FieldContent";
|
|
1438
|
+
};
|
|
1164
1439
|
}) | ({
|
|
1165
1440
|
__TYPE__: "DocumentLink";
|
|
1166
1441
|
} & {
|
|
1167
1442
|
id: string;
|
|
1443
|
+
} & {
|
|
1444
|
+
title?: {
|
|
1445
|
+
type: "Text";
|
|
1446
|
+
value: string;
|
|
1447
|
+
__TYPE__: "FieldContent";
|
|
1448
|
+
};
|
|
1168
1449
|
}) | ({
|
|
1169
1450
|
__TYPE__: "ExternalLink";
|
|
1170
1451
|
} & {
|
|
@@ -1175,6 +1456,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1175
1456
|
preview?: {
|
|
1176
1457
|
title?: string;
|
|
1177
1458
|
} | null | undefined;
|
|
1459
|
+
title?: {
|
|
1460
|
+
type: "Text";
|
|
1461
|
+
value: string;
|
|
1462
|
+
__TYPE__: "FieldContent";
|
|
1463
|
+
};
|
|
1178
1464
|
}) | null | undefined;
|
|
1179
1465
|
};
|
|
1180
1466
|
} & {
|
|
@@ -1222,6 +1508,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1222
1508
|
kind: string;
|
|
1223
1509
|
} & {
|
|
1224
1510
|
date?: string | null | undefined;
|
|
1511
|
+
title?: {
|
|
1512
|
+
type: "Text";
|
|
1513
|
+
value: string;
|
|
1514
|
+
__TYPE__: "FieldContent";
|
|
1515
|
+
};
|
|
1225
1516
|
}) | ({
|
|
1226
1517
|
id: string;
|
|
1227
1518
|
url: string;
|
|
@@ -1230,14 +1521,30 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1230
1521
|
size: string;
|
|
1231
1522
|
} & {
|
|
1232
1523
|
date?: string | null | undefined;
|
|
1524
|
+
title?: {
|
|
1525
|
+
type: "Text";
|
|
1526
|
+
value: string;
|
|
1527
|
+
__TYPE__: "FieldContent";
|
|
1528
|
+
};
|
|
1233
1529
|
} & {
|
|
1234
1530
|
__TYPE__: "FileLink";
|
|
1235
1531
|
} & {
|
|
1236
1532
|
size?: string;
|
|
1533
|
+
title?: {
|
|
1534
|
+
type: "Text";
|
|
1535
|
+
value: string;
|
|
1536
|
+
__TYPE__: "FieldContent";
|
|
1537
|
+
};
|
|
1237
1538
|
}) | ({
|
|
1238
1539
|
__TYPE__: "DocumentLink";
|
|
1239
1540
|
} & {
|
|
1240
1541
|
id: string;
|
|
1542
|
+
} & {
|
|
1543
|
+
title?: {
|
|
1544
|
+
type: "Text";
|
|
1545
|
+
value: string;
|
|
1546
|
+
__TYPE__: "FieldContent";
|
|
1547
|
+
};
|
|
1241
1548
|
}) | ({
|
|
1242
1549
|
__TYPE__: "ExternalLink";
|
|
1243
1550
|
} & {
|
|
@@ -1248,6 +1555,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1248
1555
|
preview?: {
|
|
1249
1556
|
title?: string;
|
|
1250
1557
|
} | null | undefined;
|
|
1558
|
+
title?: {
|
|
1559
|
+
type: "Text";
|
|
1560
|
+
value: string;
|
|
1561
|
+
__TYPE__: "FieldContent";
|
|
1562
|
+
};
|
|
1251
1563
|
});
|
|
1252
1564
|
start: number;
|
|
1253
1565
|
end: number;
|
|
@@ -1403,6 +1715,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1403
1715
|
kind: t.StringC;
|
|
1404
1716
|
}>, t.PartialC<{
|
|
1405
1717
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1718
|
+
title: t.ExactC<t.TypeC<{
|
|
1719
|
+
type: t.LiteralC<"Text">;
|
|
1720
|
+
value: t.Type<string, string, unknown>;
|
|
1721
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
1722
|
+
}>>;
|
|
1406
1723
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1407
1724
|
id: t.StringC;
|
|
1408
1725
|
url: t.StringC;
|
|
@@ -1411,15 +1728,31 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1411
1728
|
size: t.StringC;
|
|
1412
1729
|
}>, t.PartialC<{
|
|
1413
1730
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1731
|
+
title: t.ExactC<t.TypeC<{
|
|
1732
|
+
type: t.LiteralC<"Text">;
|
|
1733
|
+
value: t.Type<string, string, unknown>;
|
|
1734
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
1735
|
+
}>>;
|
|
1414
1736
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1415
1737
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1416
1738
|
}>, t.PartialC<{
|
|
1417
1739
|
size: t.StringC;
|
|
1740
|
+
title: t.ExactC<t.TypeC<{
|
|
1741
|
+
type: t.LiteralC<"Text">;
|
|
1742
|
+
value: t.Type<string, string, unknown>;
|
|
1743
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
1744
|
+
}>>;
|
|
1418
1745
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1419
1746
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1420
|
-
}>>, t.ExactC<t.TypeC<{
|
|
1747
|
+
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1421
1748
|
id: t.Type<string, string, unknown>;
|
|
1422
|
-
}
|
|
1749
|
+
}>, t.PartialC<{
|
|
1750
|
+
title: t.ExactC<t.TypeC<{
|
|
1751
|
+
type: t.LiteralC<"Text">;
|
|
1752
|
+
value: t.Type<string, string, unknown>;
|
|
1753
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
1754
|
+
}>>;
|
|
1755
|
+
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1423
1756
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1424
1757
|
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1425
1758
|
url: t.StringC;
|
|
@@ -1431,6 +1764,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1431
1764
|
}, {
|
|
1432
1765
|
title?: string;
|
|
1433
1766
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1767
|
+
title: t.ExactC<t.TypeC<{
|
|
1768
|
+
type: t.LiteralC<"Text">;
|
|
1769
|
+
value: t.Type<string, string, unknown>;
|
|
1770
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
1771
|
+
}>>;
|
|
1434
1772
|
}>]>>]>]>;
|
|
1435
1773
|
}>>, t.ExactC<t.TypeC<{
|
|
1436
1774
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -1471,6 +1809,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1471
1809
|
kind: string;
|
|
1472
1810
|
} & {
|
|
1473
1811
|
date?: string | null | undefined;
|
|
1812
|
+
title?: {
|
|
1813
|
+
type: "Text";
|
|
1814
|
+
value: string;
|
|
1815
|
+
__TYPE__: "FieldContent";
|
|
1816
|
+
};
|
|
1474
1817
|
}) | ({
|
|
1475
1818
|
id: string;
|
|
1476
1819
|
url: string;
|
|
@@ -1479,14 +1822,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1479
1822
|
size: string;
|
|
1480
1823
|
} & {
|
|
1481
1824
|
date?: string | null | undefined;
|
|
1825
|
+
title?: {
|
|
1826
|
+
type: "Text";
|
|
1827
|
+
value: string;
|
|
1828
|
+
__TYPE__: "FieldContent";
|
|
1829
|
+
};
|
|
1482
1830
|
} & {
|
|
1483
1831
|
__TYPE__: "FileLink";
|
|
1484
1832
|
} & {
|
|
1485
1833
|
size?: string;
|
|
1834
|
+
title?: {
|
|
1835
|
+
type: "Text";
|
|
1836
|
+
value: string;
|
|
1837
|
+
__TYPE__: "FieldContent";
|
|
1838
|
+
};
|
|
1486
1839
|
}) | ({
|
|
1487
1840
|
__TYPE__: "DocumentLink";
|
|
1488
1841
|
} & {
|
|
1489
1842
|
id: string;
|
|
1843
|
+
} & {
|
|
1844
|
+
title?: {
|
|
1845
|
+
type: "Text";
|
|
1846
|
+
value: string;
|
|
1847
|
+
__TYPE__: "FieldContent";
|
|
1848
|
+
};
|
|
1490
1849
|
}) | ({
|
|
1491
1850
|
__TYPE__: "ExternalLink";
|
|
1492
1851
|
} & {
|
|
@@ -1497,6 +1856,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1497
1856
|
preview?: {
|
|
1498
1857
|
title?: string;
|
|
1499
1858
|
} | null | undefined;
|
|
1859
|
+
title?: {
|
|
1860
|
+
type: "Text";
|
|
1861
|
+
value: string;
|
|
1862
|
+
__TYPE__: "FieldContent";
|
|
1863
|
+
};
|
|
1500
1864
|
}), ({
|
|
1501
1865
|
__TYPE__: "ImageLink";
|
|
1502
1866
|
} & {
|
|
@@ -1509,6 +1873,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1509
1873
|
kind: string;
|
|
1510
1874
|
} & {
|
|
1511
1875
|
date?: string | null | undefined;
|
|
1876
|
+
title?: {
|
|
1877
|
+
type: "Text";
|
|
1878
|
+
value: string;
|
|
1879
|
+
__TYPE__: "FieldContent";
|
|
1880
|
+
};
|
|
1512
1881
|
}) | ({
|
|
1513
1882
|
id: string;
|
|
1514
1883
|
url: string;
|
|
@@ -1517,14 +1886,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1517
1886
|
size: string;
|
|
1518
1887
|
} & {
|
|
1519
1888
|
date?: string | null | undefined;
|
|
1889
|
+
title?: {
|
|
1890
|
+
type: "Text";
|
|
1891
|
+
value: string;
|
|
1892
|
+
__TYPE__: "FieldContent";
|
|
1893
|
+
};
|
|
1520
1894
|
} & {
|
|
1521
1895
|
__TYPE__: "FileLink";
|
|
1522
1896
|
} & {
|
|
1523
1897
|
size?: string;
|
|
1898
|
+
title?: {
|
|
1899
|
+
type: "Text";
|
|
1900
|
+
value: string;
|
|
1901
|
+
__TYPE__: "FieldContent";
|
|
1902
|
+
};
|
|
1524
1903
|
}) | ({
|
|
1525
1904
|
__TYPE__: "DocumentLink";
|
|
1526
1905
|
} & {
|
|
1527
1906
|
id: string;
|
|
1907
|
+
} & {
|
|
1908
|
+
title?: {
|
|
1909
|
+
type: "Text";
|
|
1910
|
+
value: string;
|
|
1911
|
+
__TYPE__: "FieldContent";
|
|
1912
|
+
};
|
|
1528
1913
|
}) | ({
|
|
1529
1914
|
__TYPE__: "ExternalLink";
|
|
1530
1915
|
} & {
|
|
@@ -1535,6 +1920,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1535
1920
|
preview?: {
|
|
1536
1921
|
title?: string;
|
|
1537
1922
|
} | null | undefined;
|
|
1923
|
+
title?: {
|
|
1924
|
+
type: "Text";
|
|
1925
|
+
value: string;
|
|
1926
|
+
__TYPE__: "FieldContent";
|
|
1927
|
+
};
|
|
1538
1928
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1539
1929
|
}>]>;
|
|
1540
1930
|
}>, t.PartialC<{
|
|
@@ -1582,6 +1972,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1582
1972
|
kind: string;
|
|
1583
1973
|
} & {
|
|
1584
1974
|
date?: string | null | undefined;
|
|
1975
|
+
title?: {
|
|
1976
|
+
type: "Text";
|
|
1977
|
+
value: string;
|
|
1978
|
+
__TYPE__: "FieldContent";
|
|
1979
|
+
};
|
|
1585
1980
|
}) | ({
|
|
1586
1981
|
id: string;
|
|
1587
1982
|
url: string;
|
|
@@ -1590,14 +1985,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1590
1985
|
size: string;
|
|
1591
1986
|
} & {
|
|
1592
1987
|
date?: string | null | undefined;
|
|
1988
|
+
title?: {
|
|
1989
|
+
type: "Text";
|
|
1990
|
+
value: string;
|
|
1991
|
+
__TYPE__: "FieldContent";
|
|
1992
|
+
};
|
|
1593
1993
|
} & {
|
|
1594
1994
|
__TYPE__: "FileLink";
|
|
1595
1995
|
} & {
|
|
1596
1996
|
size?: string;
|
|
1997
|
+
title?: {
|
|
1998
|
+
type: "Text";
|
|
1999
|
+
value: string;
|
|
2000
|
+
__TYPE__: "FieldContent";
|
|
2001
|
+
};
|
|
1597
2002
|
}) | ({
|
|
1598
2003
|
__TYPE__: "DocumentLink";
|
|
1599
2004
|
} & {
|
|
1600
2005
|
id: string;
|
|
2006
|
+
} & {
|
|
2007
|
+
title?: {
|
|
2008
|
+
type: "Text";
|
|
2009
|
+
value: string;
|
|
2010
|
+
__TYPE__: "FieldContent";
|
|
2011
|
+
};
|
|
1601
2012
|
}) | ({
|
|
1602
2013
|
__TYPE__: "ExternalLink";
|
|
1603
2014
|
} & {
|
|
@@ -1608,6 +2019,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1608
2019
|
preview?: {
|
|
1609
2020
|
title?: string;
|
|
1610
2021
|
} | null | undefined;
|
|
2022
|
+
title?: {
|
|
2023
|
+
type: "Text";
|
|
2024
|
+
value: string;
|
|
2025
|
+
__TYPE__: "FieldContent";
|
|
2026
|
+
};
|
|
1611
2027
|
});
|
|
1612
2028
|
start: number;
|
|
1613
2029
|
end: number;
|
|
@@ -1634,6 +2050,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1634
2050
|
kind: string;
|
|
1635
2051
|
} & {
|
|
1636
2052
|
date?: string | null | undefined;
|
|
2053
|
+
title?: {
|
|
2054
|
+
type: "Text";
|
|
2055
|
+
value: string;
|
|
2056
|
+
__TYPE__: "FieldContent";
|
|
2057
|
+
};
|
|
1637
2058
|
}) | ({
|
|
1638
2059
|
id: string;
|
|
1639
2060
|
url: string;
|
|
@@ -1642,14 +2063,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1642
2063
|
size: string;
|
|
1643
2064
|
} & {
|
|
1644
2065
|
date?: string | null | undefined;
|
|
2066
|
+
title?: {
|
|
2067
|
+
type: "Text";
|
|
2068
|
+
value: string;
|
|
2069
|
+
__TYPE__: "FieldContent";
|
|
2070
|
+
};
|
|
1645
2071
|
} & {
|
|
1646
2072
|
__TYPE__: "FileLink";
|
|
1647
2073
|
} & {
|
|
1648
2074
|
size?: string;
|
|
2075
|
+
title?: {
|
|
2076
|
+
type: "Text";
|
|
2077
|
+
value: string;
|
|
2078
|
+
__TYPE__: "FieldContent";
|
|
2079
|
+
};
|
|
1649
2080
|
}) | ({
|
|
1650
2081
|
__TYPE__: "DocumentLink";
|
|
1651
2082
|
} & {
|
|
1652
2083
|
id: string;
|
|
2084
|
+
} & {
|
|
2085
|
+
title?: {
|
|
2086
|
+
type: "Text";
|
|
2087
|
+
value: string;
|
|
2088
|
+
__TYPE__: "FieldContent";
|
|
2089
|
+
};
|
|
1653
2090
|
}) | ({
|
|
1654
2091
|
__TYPE__: "ExternalLink";
|
|
1655
2092
|
} & {
|
|
@@ -1660,6 +2097,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1660
2097
|
preview?: {
|
|
1661
2098
|
title?: string;
|
|
1662
2099
|
} | null | undefined;
|
|
2100
|
+
title?: {
|
|
2101
|
+
type: "Text";
|
|
2102
|
+
value: string;
|
|
2103
|
+
__TYPE__: "FieldContent";
|
|
2104
|
+
};
|
|
1663
2105
|
});
|
|
1664
2106
|
start: number;
|
|
1665
2107
|
end: number;
|
|
@@ -1808,6 +2250,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1808
2250
|
kind: t.StringC;
|
|
1809
2251
|
}>, t.PartialC<{
|
|
1810
2252
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2253
|
+
title: t.ExactC<t.TypeC<{
|
|
2254
|
+
type: t.LiteralC<"Text">;
|
|
2255
|
+
value: t.Type<string, string, unknown>;
|
|
2256
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
2257
|
+
}>>;
|
|
1811
2258
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1812
2259
|
id: t.StringC;
|
|
1813
2260
|
url: t.StringC;
|
|
@@ -1816,15 +2263,31 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1816
2263
|
size: t.StringC;
|
|
1817
2264
|
}>, t.PartialC<{
|
|
1818
2265
|
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2266
|
+
title: t.ExactC<t.TypeC<{
|
|
2267
|
+
type: t.LiteralC<"Text">;
|
|
2268
|
+
value: t.Type<string, string, unknown>;
|
|
2269
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
2270
|
+
}>>;
|
|
1819
2271
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1820
2272
|
__TYPE__: t.LiteralC<"FileLink">;
|
|
1821
2273
|
}>, t.PartialC<{
|
|
1822
2274
|
size: t.StringC;
|
|
2275
|
+
title: t.ExactC<t.TypeC<{
|
|
2276
|
+
type: t.LiteralC<"Text">;
|
|
2277
|
+
value: t.Type<string, string, unknown>;
|
|
2278
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
2279
|
+
}>>;
|
|
1823
2280
|
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1824
2281
|
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1825
|
-
}>>, t.ExactC<t.TypeC<{
|
|
2282
|
+
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1826
2283
|
id: t.Type<string, string, unknown>;
|
|
1827
|
-
}
|
|
2284
|
+
}>, t.PartialC<{
|
|
2285
|
+
title: t.ExactC<t.TypeC<{
|
|
2286
|
+
type: t.LiteralC<"Text">;
|
|
2287
|
+
value: t.Type<string, string, unknown>;
|
|
2288
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
2289
|
+
}>>;
|
|
2290
|
+
}>]>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1828
2291
|
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1829
2292
|
}>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1830
2293
|
url: t.StringC;
|
|
@@ -1836,6 +2299,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1836
2299
|
}, {
|
|
1837
2300
|
title?: string;
|
|
1838
2301
|
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2302
|
+
title: t.ExactC<t.TypeC<{
|
|
2303
|
+
type: t.LiteralC<"Text">;
|
|
2304
|
+
value: t.Type<string, string, unknown>;
|
|
2305
|
+
__TYPE__: t.LiteralC<"FieldContent">;
|
|
2306
|
+
}>>;
|
|
1839
2307
|
}>]>>]>]>;
|
|
1840
2308
|
}>>, t.ExactC<t.TypeC<{
|
|
1841
2309
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
@@ -1876,6 +2344,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1876
2344
|
kind: string;
|
|
1877
2345
|
} & {
|
|
1878
2346
|
date?: string | null | undefined;
|
|
2347
|
+
title?: {
|
|
2348
|
+
type: "Text";
|
|
2349
|
+
value: string;
|
|
2350
|
+
__TYPE__: "FieldContent";
|
|
2351
|
+
};
|
|
1879
2352
|
}) | ({
|
|
1880
2353
|
id: string;
|
|
1881
2354
|
url: string;
|
|
@@ -1884,14 +2357,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1884
2357
|
size: string;
|
|
1885
2358
|
} & {
|
|
1886
2359
|
date?: string | null | undefined;
|
|
2360
|
+
title?: {
|
|
2361
|
+
type: "Text";
|
|
2362
|
+
value: string;
|
|
2363
|
+
__TYPE__: "FieldContent";
|
|
2364
|
+
};
|
|
1887
2365
|
} & {
|
|
1888
2366
|
__TYPE__: "FileLink";
|
|
1889
2367
|
} & {
|
|
1890
2368
|
size?: string;
|
|
2369
|
+
title?: {
|
|
2370
|
+
type: "Text";
|
|
2371
|
+
value: string;
|
|
2372
|
+
__TYPE__: "FieldContent";
|
|
2373
|
+
};
|
|
1891
2374
|
}) | ({
|
|
1892
2375
|
__TYPE__: "DocumentLink";
|
|
1893
2376
|
} & {
|
|
1894
2377
|
id: string;
|
|
2378
|
+
} & {
|
|
2379
|
+
title?: {
|
|
2380
|
+
type: "Text";
|
|
2381
|
+
value: string;
|
|
2382
|
+
__TYPE__: "FieldContent";
|
|
2383
|
+
};
|
|
1895
2384
|
}) | ({
|
|
1896
2385
|
__TYPE__: "ExternalLink";
|
|
1897
2386
|
} & {
|
|
@@ -1902,6 +2391,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1902
2391
|
preview?: {
|
|
1903
2392
|
title?: string;
|
|
1904
2393
|
} | null | undefined;
|
|
2394
|
+
title?: {
|
|
2395
|
+
type: "Text";
|
|
2396
|
+
value: string;
|
|
2397
|
+
__TYPE__: "FieldContent";
|
|
2398
|
+
};
|
|
1905
2399
|
}), ({
|
|
1906
2400
|
__TYPE__: "ImageLink";
|
|
1907
2401
|
} & {
|
|
@@ -1914,6 +2408,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1914
2408
|
kind: string;
|
|
1915
2409
|
} & {
|
|
1916
2410
|
date?: string | null | undefined;
|
|
2411
|
+
title?: {
|
|
2412
|
+
type: "Text";
|
|
2413
|
+
value: string;
|
|
2414
|
+
__TYPE__: "FieldContent";
|
|
2415
|
+
};
|
|
1917
2416
|
}) | ({
|
|
1918
2417
|
id: string;
|
|
1919
2418
|
url: string;
|
|
@@ -1922,14 +2421,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1922
2421
|
size: string;
|
|
1923
2422
|
} & {
|
|
1924
2423
|
date?: string | null | undefined;
|
|
2424
|
+
title?: {
|
|
2425
|
+
type: "Text";
|
|
2426
|
+
value: string;
|
|
2427
|
+
__TYPE__: "FieldContent";
|
|
2428
|
+
};
|
|
1925
2429
|
} & {
|
|
1926
2430
|
__TYPE__: "FileLink";
|
|
1927
2431
|
} & {
|
|
1928
2432
|
size?: string;
|
|
2433
|
+
title?: {
|
|
2434
|
+
type: "Text";
|
|
2435
|
+
value: string;
|
|
2436
|
+
__TYPE__: "FieldContent";
|
|
2437
|
+
};
|
|
1929
2438
|
}) | ({
|
|
1930
2439
|
__TYPE__: "DocumentLink";
|
|
1931
2440
|
} & {
|
|
1932
2441
|
id: string;
|
|
2442
|
+
} & {
|
|
2443
|
+
title?: {
|
|
2444
|
+
type: "Text";
|
|
2445
|
+
value: string;
|
|
2446
|
+
__TYPE__: "FieldContent";
|
|
2447
|
+
};
|
|
1933
2448
|
}) | ({
|
|
1934
2449
|
__TYPE__: "ExternalLink";
|
|
1935
2450
|
} & {
|
|
@@ -1940,6 +2455,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1940
2455
|
preview?: {
|
|
1941
2456
|
title?: string;
|
|
1942
2457
|
} | null | undefined;
|
|
2458
|
+
title?: {
|
|
2459
|
+
type: "Text";
|
|
2460
|
+
value: string;
|
|
2461
|
+
__TYPE__: "FieldContent";
|
|
2462
|
+
};
|
|
1943
2463
|
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
1944
2464
|
}>]>;
|
|
1945
2465
|
}>, t.PartialC<{
|
|
@@ -1987,6 +2507,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1987
2507
|
kind: string;
|
|
1988
2508
|
} & {
|
|
1989
2509
|
date?: string | null | undefined;
|
|
2510
|
+
title?: {
|
|
2511
|
+
type: "Text";
|
|
2512
|
+
value: string;
|
|
2513
|
+
__TYPE__: "FieldContent";
|
|
2514
|
+
};
|
|
1990
2515
|
}) | ({
|
|
1991
2516
|
id: string;
|
|
1992
2517
|
url: string;
|
|
@@ -1995,14 +2520,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1995
2520
|
size: string;
|
|
1996
2521
|
} & {
|
|
1997
2522
|
date?: string | null | undefined;
|
|
2523
|
+
title?: {
|
|
2524
|
+
type: "Text";
|
|
2525
|
+
value: string;
|
|
2526
|
+
__TYPE__: "FieldContent";
|
|
2527
|
+
};
|
|
1998
2528
|
} & {
|
|
1999
2529
|
__TYPE__: "FileLink";
|
|
2000
2530
|
} & {
|
|
2001
2531
|
size?: string;
|
|
2532
|
+
title?: {
|
|
2533
|
+
type: "Text";
|
|
2534
|
+
value: string;
|
|
2535
|
+
__TYPE__: "FieldContent";
|
|
2536
|
+
};
|
|
2002
2537
|
}) | ({
|
|
2003
2538
|
__TYPE__: "DocumentLink";
|
|
2004
2539
|
} & {
|
|
2005
2540
|
id: string;
|
|
2541
|
+
} & {
|
|
2542
|
+
title?: {
|
|
2543
|
+
type: "Text";
|
|
2544
|
+
value: string;
|
|
2545
|
+
__TYPE__: "FieldContent";
|
|
2546
|
+
};
|
|
2006
2547
|
}) | ({
|
|
2007
2548
|
__TYPE__: "ExternalLink";
|
|
2008
2549
|
} & {
|
|
@@ -2013,6 +2554,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2013
2554
|
preview?: {
|
|
2014
2555
|
title?: string;
|
|
2015
2556
|
} | null | undefined;
|
|
2557
|
+
title?: {
|
|
2558
|
+
type: "Text";
|
|
2559
|
+
value: string;
|
|
2560
|
+
__TYPE__: "FieldContent";
|
|
2561
|
+
};
|
|
2016
2562
|
});
|
|
2017
2563
|
start: number;
|
|
2018
2564
|
end: number;
|
|
@@ -2039,6 +2585,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2039
2585
|
kind: string;
|
|
2040
2586
|
} & {
|
|
2041
2587
|
date?: string | null | undefined;
|
|
2588
|
+
title?: {
|
|
2589
|
+
type: "Text";
|
|
2590
|
+
value: string;
|
|
2591
|
+
__TYPE__: "FieldContent";
|
|
2592
|
+
};
|
|
2042
2593
|
}) | ({
|
|
2043
2594
|
id: string;
|
|
2044
2595
|
url: string;
|
|
@@ -2047,14 +2598,30 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2047
2598
|
size: string;
|
|
2048
2599
|
} & {
|
|
2049
2600
|
date?: string | null | undefined;
|
|
2601
|
+
title?: {
|
|
2602
|
+
type: "Text";
|
|
2603
|
+
value: string;
|
|
2604
|
+
__TYPE__: "FieldContent";
|
|
2605
|
+
};
|
|
2050
2606
|
} & {
|
|
2051
2607
|
__TYPE__: "FileLink";
|
|
2052
2608
|
} & {
|
|
2053
2609
|
size?: string;
|
|
2610
|
+
title?: {
|
|
2611
|
+
type: "Text";
|
|
2612
|
+
value: string;
|
|
2613
|
+
__TYPE__: "FieldContent";
|
|
2614
|
+
};
|
|
2054
2615
|
}) | ({
|
|
2055
2616
|
__TYPE__: "DocumentLink";
|
|
2056
2617
|
} & {
|
|
2057
2618
|
id: string;
|
|
2619
|
+
} & {
|
|
2620
|
+
title?: {
|
|
2621
|
+
type: "Text";
|
|
2622
|
+
value: string;
|
|
2623
|
+
__TYPE__: "FieldContent";
|
|
2624
|
+
};
|
|
2058
2625
|
}) | ({
|
|
2059
2626
|
__TYPE__: "ExternalLink";
|
|
2060
2627
|
} & {
|
|
@@ -2065,6 +2632,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2065
2632
|
preview?: {
|
|
2066
2633
|
title?: string;
|
|
2067
2634
|
} | null | undefined;
|
|
2635
|
+
title?: {
|
|
2636
|
+
type: "Text";
|
|
2637
|
+
value: string;
|
|
2638
|
+
__TYPE__: "FieldContent";
|
|
2639
|
+
};
|
|
2068
2640
|
});
|
|
2069
2641
|
start: number;
|
|
2070
2642
|
end: number;
|