@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.
Files changed (53) hide show
  1. package/lib/_internal/utils.d.ts +3 -2
  2. package/lib/content/Document.d.ts +1561 -361
  3. package/lib/content/Document.js +11 -0
  4. package/lib/content/LegacyContentCtx.d.ts +2 -2
  5. package/lib/content/LegacyContentCtx.js +4 -1
  6. package/lib/content/fields/GroupContent.js +13 -0
  7. package/lib/content/fields/RepeatableContent.d.ts +34 -40
  8. package/lib/content/fields/WidgetContent.d.ts +1558 -358
  9. package/lib/content/fields/index.d.ts +1 -0
  10. package/lib/content/fields/index.js +1 -0
  11. package/lib/content/fields/nestable/LinkContent.d.ts +122 -146
  12. package/lib/content/fields/nestable/LinkContent.js +19 -39
  13. package/lib/content/fields/nestable/NestableContent.d.ts +254 -54
  14. package/lib/content/fields/nestable/NestableContent.js +8 -1
  15. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +66 -66
  16. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +510 -110
  17. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +86 -18
  18. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +512 -112
  19. package/lib/content/fields/slices/Slice/SharedSliceContent.js +20 -4
  20. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +255 -55
  21. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +255 -55
  22. package/lib/content/fields/slices/Slice/index.d.ts +855 -185
  23. package/lib/content/fields/slices/SliceItem.d.ts +854 -184
  24. package/lib/content/fields/slices/SlicesContent.d.ts +1278 -278
  25. package/lib/customtypes/CustomType.d.ts +18 -0
  26. package/lib/customtypes/Section.d.ts +18 -0
  27. package/lib/customtypes/diff/SharedSlice.d.ts +8 -0
  28. package/lib/customtypes/diff/Variation.d.ts +8 -0
  29. package/lib/customtypes/widgets/Group.d.ts +6 -0
  30. package/lib/customtypes/widgets/Widget.d.ts +21 -0
  31. package/lib/customtypes/widgets/nestable/Link.d.ts +10 -0
  32. package/lib/customtypes/widgets/nestable/Link.js +5 -0
  33. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
  34. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  35. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
  36. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
  37. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -0
  38. package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
  39. package/package.json +2 -1
  40. package/src/_internal/utils.ts +3 -1
  41. package/src/content/Document.ts +12 -0
  42. package/src/content/LegacyContentCtx.ts +4 -1
  43. package/src/content/fields/GroupContent.ts +13 -0
  44. package/src/content/fields/RepeatableContent.ts +147 -0
  45. package/src/content/fields/index.ts +1 -0
  46. package/src/content/fields/nestable/LinkContent.ts +19 -39
  47. package/src/content/fields/nestable/NestableContent.ts +12 -1
  48. package/src/content/fields/slices/Slice/SharedSliceContent.ts +18 -0
  49. package/src/customtypes/widgets/nestable/Link.ts +6 -0
  50. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -727
  51. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  52. package/lib/customtypes/widgets/slices/SliceWidget.d.ts +0 -327
  53. package/lib/customtypes/widgets/slices/SliceWidget.js +0 -8
@@ -124,7 +124,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
124
124
  __TYPE__: "LinkContent";
125
125
  value: ({
126
126
  __TYPE__: "ImageLink";
127
- } & (({
127
+ } & ((({
128
128
  kind: "image";
129
129
  id: string;
130
130
  url: string;
@@ -134,14 +134,13 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
134
134
  name: string;
135
135
  } & {
136
136
  date?: string | null | undefined;
137
- } & {
138
- text?: string;
139
137
  }) | {
140
138
  kind: "image";
141
- text: string;
139
+ }) & {
140
+ text?: string;
142
141
  })) | ({
143
142
  __TYPE__: "FileLink";
144
- } & (({
143
+ } & ((({
145
144
  kind: "file";
146
145
  id: string;
147
146
  url: string;
@@ -149,28 +148,27 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
149
148
  size: string;
150
149
  } & {
151
150
  date?: string | null | undefined;
152
- } & {
153
- text?: string;
154
151
  }) | {
155
152
  kind: "file";
156
- text: string;
153
+ }) & {
154
+ text?: string;
157
155
  })) | ({
158
156
  __TYPE__: "MediaLink";
159
157
  } & {
160
158
  kind: "media";
161
- text: string;
159
+ } & {
160
+ text?: string;
162
161
  }) | ({
163
162
  __TYPE__: "DocumentLink";
164
163
  } & (({
165
164
  id: string;
166
- } & {
167
- text?: string;
168
- }) | {
165
+ } | {
169
166
  kind: "document";
170
- text: string;
167
+ }) & {
168
+ text?: string;
171
169
  })) | ({
172
170
  __TYPE__: "ExternalLink";
173
- } & (({
171
+ } & ((({
174
172
  url: string;
175
173
  } & {
176
174
  kind?: "web";
@@ -178,17 +176,85 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
178
176
  preview?: {
179
177
  title?: string;
180
178
  } | null | undefined;
181
- } & {
182
- text?: string;
183
179
  }) | {
184
180
  kind: "web";
185
- text: string;
181
+ }) & {
182
+ text?: string;
186
183
  })) | ({
187
184
  __TYPE__: "AnyLink";
188
185
  } & {
189
- text: string;
186
+ text?: string;
190
187
  });
191
188
  } | {
189
+ __TYPE__: "RepeatableContent";
190
+ type: "Link";
191
+ value: {
192
+ __TYPE__: "LinkContent";
193
+ value: ({
194
+ __TYPE__: "ImageLink";
195
+ } & ((({
196
+ kind: "image";
197
+ id: string;
198
+ url: string;
199
+ height: string;
200
+ width: string;
201
+ size: string;
202
+ name: string;
203
+ } & {
204
+ date?: string | null | undefined;
205
+ }) | {
206
+ kind: "image";
207
+ }) & {
208
+ text?: string;
209
+ })) | ({
210
+ __TYPE__: "FileLink";
211
+ } & ((({
212
+ kind: "file";
213
+ id: string;
214
+ url: string;
215
+ name: string;
216
+ size: string;
217
+ } & {
218
+ date?: string | null | undefined;
219
+ }) | {
220
+ kind: "file";
221
+ }) & {
222
+ text?: string;
223
+ })) | ({
224
+ __TYPE__: "MediaLink";
225
+ } & {
226
+ kind: "media";
227
+ } & {
228
+ text?: string;
229
+ }) | ({
230
+ __TYPE__: "DocumentLink";
231
+ } & (({
232
+ id: string;
233
+ } | {
234
+ kind: "document";
235
+ }) & {
236
+ text?: string;
237
+ })) | ({
238
+ __TYPE__: "ExternalLink";
239
+ } & ((({
240
+ url: string;
241
+ } & {
242
+ kind?: "web";
243
+ target?: string | null | undefined;
244
+ preview?: {
245
+ title?: string;
246
+ } | null | undefined;
247
+ }) | {
248
+ kind: "web";
249
+ }) & {
250
+ text?: string;
251
+ })) | ({
252
+ __TYPE__: "AnyLink";
253
+ } & {
254
+ text?: string;
255
+ });
256
+ }[];
257
+ } | import("../../GroupContent").GroupContent | {
192
258
  __TYPE__: "StructuredTextContent";
193
259
  value: (({
194
260
  type: "image";
@@ -343,7 +409,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
343
409
  }))[];
344
410
  } | {
345
411
  __TYPE__: "SeparatorContent";
346
- } | import("../../GroupContent").GroupContent;
412
+ };
347
413
  };
348
414
  items: {
349
415
  __TYPE__: "GroupItemContent";
@@ -463,7 +529,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
463
529
  __TYPE__: "LinkContent";
464
530
  value: ({
465
531
  __TYPE__: "ImageLink";
466
- } & (({
532
+ } & ((({
467
533
  kind: "image";
468
534
  id: string;
469
535
  url: string;
@@ -473,14 +539,13 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
473
539
  name: string;
474
540
  } & {
475
541
  date?: string | null | undefined;
476
- } & {
477
- text?: string;
478
542
  }) | {
479
543
  kind: "image";
480
- text: string;
544
+ }) & {
545
+ text?: string;
481
546
  })) | ({
482
547
  __TYPE__: "FileLink";
483
- } & (({
548
+ } & ((({
484
549
  kind: "file";
485
550
  id: string;
486
551
  url: string;
@@ -488,28 +553,27 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
488
553
  size: string;
489
554
  } & {
490
555
  date?: string | null | undefined;
491
- } & {
492
- text?: string;
493
556
  }) | {
494
557
  kind: "file";
495
- text: string;
558
+ }) & {
559
+ text?: string;
496
560
  })) | ({
497
561
  __TYPE__: "MediaLink";
498
562
  } & {
499
563
  kind: "media";
500
- text: string;
564
+ } & {
565
+ text?: string;
501
566
  }) | ({
502
567
  __TYPE__: "DocumentLink";
503
568
  } & (({
504
569
  id: string;
505
- } & {
506
- text?: string;
507
- }) | {
570
+ } | {
508
571
  kind: "document";
509
- text: string;
572
+ }) & {
573
+ text?: string;
510
574
  })) | ({
511
575
  __TYPE__: "ExternalLink";
512
- } & (({
576
+ } & ((({
513
577
  url: string;
514
578
  } & {
515
579
  kind?: "web";
@@ -517,17 +581,85 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
517
581
  preview?: {
518
582
  title?: string;
519
583
  } | null | undefined;
520
- } & {
521
- text?: string;
522
584
  }) | {
523
585
  kind: "web";
524
- text: string;
586
+ }) & {
587
+ text?: string;
525
588
  })) | ({
526
589
  __TYPE__: "AnyLink";
527
590
  } & {
528
- text: string;
591
+ text?: string;
529
592
  });
530
593
  } | {
594
+ __TYPE__: "RepeatableContent";
595
+ type: "Link";
596
+ value: {
597
+ __TYPE__: "LinkContent";
598
+ value: ({
599
+ __TYPE__: "ImageLink";
600
+ } & ((({
601
+ kind: "image";
602
+ id: string;
603
+ url: string;
604
+ height: string;
605
+ width: string;
606
+ size: string;
607
+ name: string;
608
+ } & {
609
+ date?: string | null | undefined;
610
+ }) | {
611
+ kind: "image";
612
+ }) & {
613
+ text?: string;
614
+ })) | ({
615
+ __TYPE__: "FileLink";
616
+ } & ((({
617
+ kind: "file";
618
+ id: string;
619
+ url: string;
620
+ name: string;
621
+ size: string;
622
+ } & {
623
+ date?: string | null | undefined;
624
+ }) | {
625
+ kind: "file";
626
+ }) & {
627
+ text?: string;
628
+ })) | ({
629
+ __TYPE__: "MediaLink";
630
+ } & {
631
+ kind: "media";
632
+ } & {
633
+ text?: string;
634
+ }) | ({
635
+ __TYPE__: "DocumentLink";
636
+ } & (({
637
+ id: string;
638
+ } | {
639
+ kind: "document";
640
+ }) & {
641
+ text?: string;
642
+ })) | ({
643
+ __TYPE__: "ExternalLink";
644
+ } & ((({
645
+ url: string;
646
+ } & {
647
+ kind?: "web";
648
+ target?: string | null | undefined;
649
+ preview?: {
650
+ title?: string;
651
+ } | null | undefined;
652
+ }) | {
653
+ kind: "web";
654
+ }) & {
655
+ text?: string;
656
+ })) | ({
657
+ __TYPE__: "AnyLink";
658
+ } & {
659
+ text?: string;
660
+ });
661
+ }[];
662
+ } | import("../../GroupContent").GroupContent | {
531
663
  __TYPE__: "StructuredTextContent";
532
664
  value: (({
533
665
  type: "image";
@@ -682,7 +814,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
682
814
  }))[];
683
815
  } | {
684
816
  __TYPE__: "SeparatorContent";
685
- } | import("../../GroupContent").GroupContent][];
817
+ }][];
686
818
  }[];
687
819
  };
688
820
  export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
@@ -805,7 +937,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
805
937
  __TYPE__: "LinkContent";
806
938
  value: ({
807
939
  __TYPE__: "ImageLink";
808
- } & (({
940
+ } & ((({
809
941
  kind: "image";
810
942
  id: string;
811
943
  url: string;
@@ -815,14 +947,13 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
815
947
  name: string;
816
948
  } & {
817
949
  date?: string | null | undefined;
818
- } & {
819
- text?: string;
820
950
  }) | {
821
951
  kind: "image";
822
- text: string;
952
+ }) & {
953
+ text?: string;
823
954
  })) | ({
824
955
  __TYPE__: "FileLink";
825
- } & (({
956
+ } & ((({
826
957
  kind: "file";
827
958
  id: string;
828
959
  url: string;
@@ -830,28 +961,27 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
830
961
  size: string;
831
962
  } & {
832
963
  date?: string | null | undefined;
833
- } & {
834
- text?: string;
835
964
  }) | {
836
965
  kind: "file";
837
- text: string;
966
+ }) & {
967
+ text?: string;
838
968
  })) | ({
839
969
  __TYPE__: "MediaLink";
840
970
  } & {
841
971
  kind: "media";
842
- text: string;
972
+ } & {
973
+ text?: string;
843
974
  }) | ({
844
975
  __TYPE__: "DocumentLink";
845
976
  } & (({
846
977
  id: string;
847
- } & {
848
- text?: string;
849
- }) | {
978
+ } | {
850
979
  kind: "document";
851
- text: string;
980
+ }) & {
981
+ text?: string;
852
982
  })) | ({
853
983
  __TYPE__: "ExternalLink";
854
- } & (({
984
+ } & ((({
855
985
  url: string;
856
986
  } & {
857
987
  kind?: "web";
@@ -859,17 +989,85 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
859
989
  preview?: {
860
990
  title?: string;
861
991
  } | null | undefined;
862
- } & {
863
- text?: string;
864
992
  }) | {
865
993
  kind: "web";
866
- text: string;
994
+ }) & {
995
+ text?: string;
867
996
  })) | ({
868
997
  __TYPE__: "AnyLink";
869
998
  } & {
870
- text: string;
999
+ text?: string;
871
1000
  });
872
1001
  } | {
1002
+ __TYPE__: "RepeatableContent";
1003
+ type: "Link";
1004
+ value: {
1005
+ __TYPE__: "LinkContent";
1006
+ value: ({
1007
+ __TYPE__: "ImageLink";
1008
+ } & ((({
1009
+ kind: "image";
1010
+ id: string;
1011
+ url: string;
1012
+ height: string;
1013
+ width: string;
1014
+ size: string;
1015
+ name: string;
1016
+ } & {
1017
+ date?: string | null | undefined;
1018
+ }) | {
1019
+ kind: "image";
1020
+ }) & {
1021
+ text?: string;
1022
+ })) | ({
1023
+ __TYPE__: "FileLink";
1024
+ } & ((({
1025
+ kind: "file";
1026
+ id: string;
1027
+ url: string;
1028
+ name: string;
1029
+ size: string;
1030
+ } & {
1031
+ date?: string | null | undefined;
1032
+ }) | {
1033
+ kind: "file";
1034
+ }) & {
1035
+ text?: string;
1036
+ })) | ({
1037
+ __TYPE__: "MediaLink";
1038
+ } & {
1039
+ kind: "media";
1040
+ } & {
1041
+ text?: string;
1042
+ }) | ({
1043
+ __TYPE__: "DocumentLink";
1044
+ } & (({
1045
+ id: string;
1046
+ } | {
1047
+ kind: "document";
1048
+ }) & {
1049
+ text?: string;
1050
+ })) | ({
1051
+ __TYPE__: "ExternalLink";
1052
+ } & ((({
1053
+ url: string;
1054
+ } & {
1055
+ kind?: "web";
1056
+ target?: string | null | undefined;
1057
+ preview?: {
1058
+ title?: string;
1059
+ } | null | undefined;
1060
+ }) | {
1061
+ kind: "web";
1062
+ }) & {
1063
+ text?: string;
1064
+ })) | ({
1065
+ __TYPE__: "AnyLink";
1066
+ } & {
1067
+ text?: string;
1068
+ });
1069
+ }[];
1070
+ } | import("../../GroupContent").GroupContent | {
873
1071
  __TYPE__: "StructuredTextContent";
874
1072
  value: (({
875
1073
  type: "image";
@@ -1024,7 +1222,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1024
1222
  }))[];
1025
1223
  } | {
1026
1224
  __TYPE__: "SeparatorContent";
1027
- } | import("../../GroupContent").GroupContent;
1225
+ };
1028
1226
  };
1029
1227
  items: {
1030
1228
  __TYPE__: "GroupItemContent";
@@ -1144,7 +1342,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1144
1342
  __TYPE__: "LinkContent";
1145
1343
  value: ({
1146
1344
  __TYPE__: "ImageLink";
1147
- } & (({
1345
+ } & ((({
1148
1346
  kind: "image";
1149
1347
  id: string;
1150
1348
  url: string;
@@ -1154,14 +1352,13 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1154
1352
  name: string;
1155
1353
  } & {
1156
1354
  date?: string | null | undefined;
1157
- } & {
1158
- text?: string;
1159
1355
  }) | {
1160
1356
  kind: "image";
1161
- text: string;
1357
+ }) & {
1358
+ text?: string;
1162
1359
  })) | ({
1163
1360
  __TYPE__: "FileLink";
1164
- } & (({
1361
+ } & ((({
1165
1362
  kind: "file";
1166
1363
  id: string;
1167
1364
  url: string;
@@ -1169,28 +1366,27 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1169
1366
  size: string;
1170
1367
  } & {
1171
1368
  date?: string | null | undefined;
1172
- } & {
1173
- text?: string;
1174
1369
  }) | {
1175
1370
  kind: "file";
1176
- text: string;
1371
+ }) & {
1372
+ text?: string;
1177
1373
  })) | ({
1178
1374
  __TYPE__: "MediaLink";
1179
1375
  } & {
1180
1376
  kind: "media";
1181
- text: string;
1377
+ } & {
1378
+ text?: string;
1182
1379
  }) | ({
1183
1380
  __TYPE__: "DocumentLink";
1184
1381
  } & (({
1185
1382
  id: string;
1186
- } & {
1187
- text?: string;
1188
- }) | {
1383
+ } | {
1189
1384
  kind: "document";
1190
- text: string;
1385
+ }) & {
1386
+ text?: string;
1191
1387
  })) | ({
1192
1388
  __TYPE__: "ExternalLink";
1193
- } & (({
1389
+ } & ((({
1194
1390
  url: string;
1195
1391
  } & {
1196
1392
  kind?: "web";
@@ -1198,17 +1394,85 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1198
1394
  preview?: {
1199
1395
  title?: string;
1200
1396
  } | null | undefined;
1201
- } & {
1202
- text?: string;
1203
1397
  }) | {
1204
1398
  kind: "web";
1205
- text: string;
1399
+ }) & {
1400
+ text?: string;
1206
1401
  })) | ({
1207
1402
  __TYPE__: "AnyLink";
1208
1403
  } & {
1209
- text: string;
1404
+ text?: string;
1210
1405
  });
1211
1406
  } | {
1407
+ __TYPE__: "RepeatableContent";
1408
+ type: "Link";
1409
+ value: {
1410
+ __TYPE__: "LinkContent";
1411
+ value: ({
1412
+ __TYPE__: "ImageLink";
1413
+ } & ((({
1414
+ kind: "image";
1415
+ id: string;
1416
+ url: string;
1417
+ height: string;
1418
+ width: string;
1419
+ size: string;
1420
+ name: string;
1421
+ } & {
1422
+ date?: string | null | undefined;
1423
+ }) | {
1424
+ kind: "image";
1425
+ }) & {
1426
+ text?: string;
1427
+ })) | ({
1428
+ __TYPE__: "FileLink";
1429
+ } & ((({
1430
+ kind: "file";
1431
+ id: string;
1432
+ url: string;
1433
+ name: string;
1434
+ size: string;
1435
+ } & {
1436
+ date?: string | null | undefined;
1437
+ }) | {
1438
+ kind: "file";
1439
+ }) & {
1440
+ text?: string;
1441
+ })) | ({
1442
+ __TYPE__: "MediaLink";
1443
+ } & {
1444
+ kind: "media";
1445
+ } & {
1446
+ text?: string;
1447
+ }) | ({
1448
+ __TYPE__: "DocumentLink";
1449
+ } & (({
1450
+ id: string;
1451
+ } | {
1452
+ kind: "document";
1453
+ }) & {
1454
+ text?: string;
1455
+ })) | ({
1456
+ __TYPE__: "ExternalLink";
1457
+ } & ((({
1458
+ url: string;
1459
+ } & {
1460
+ kind?: "web";
1461
+ target?: string | null | undefined;
1462
+ preview?: {
1463
+ title?: string;
1464
+ } | null | undefined;
1465
+ }) | {
1466
+ kind: "web";
1467
+ }) & {
1468
+ text?: string;
1469
+ })) | ({
1470
+ __TYPE__: "AnyLink";
1471
+ } & {
1472
+ text?: string;
1473
+ });
1474
+ }[];
1475
+ } | import("../../GroupContent").GroupContent | {
1212
1476
  __TYPE__: "StructuredTextContent";
1213
1477
  value: (({
1214
1478
  type: "image";
@@ -1363,7 +1627,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1363
1627
  }))[];
1364
1628
  } | {
1365
1629
  __TYPE__: "SeparatorContent";
1366
- } | import("../../GroupContent").GroupContent][];
1630
+ }][];
1367
1631
  }[];
1368
1632
  }, WithTypes<{
1369
1633
  variation: string;
@@ -1489,7 +1753,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1489
1753
  __TYPE__: t.LiteralC<"LinkContent">;
1490
1754
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1491
1755
  __TYPE__: t.LiteralC<"ImageLink">;
1492
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1756
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1493
1757
  kind: t.Type<"image", "image", unknown>;
1494
1758
  id: t.StringC;
1495
1759
  url: t.StringC;
@@ -1499,14 +1763,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1499
1763
  name: t.StringC;
1500
1764
  }>>, t.ExactC<t.PartialC<{
1501
1765
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1502
- }>>]>, t.ExactC<t.PartialC<{
1503
- text: t.StringC;
1504
1766
  }>>]>, t.ExactC<t.TypeC<{
1505
1767
  kind: t.LiteralC<"image">;
1768
+ }>>]>, t.ExactC<t.PartialC<{
1506
1769
  text: t.StringC;
1507
1770
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1508
1771
  __TYPE__: t.LiteralC<"FileLink">;
1509
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1772
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1510
1773
  kind: t.Type<"file", "file", unknown>;
1511
1774
  id: t.StringC;
1512
1775
  url: t.StringC;
@@ -1514,23 +1777,21 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1514
1777
  size: t.StringC;
1515
1778
  }>, t.PartialC<{
1516
1779
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1517
- }>]>>, t.ExactC<t.PartialC<{
1518
- text: t.StringC;
1519
- }>>]>, t.ExactC<t.TypeC<{
1780
+ }>]>>, t.ExactC<t.TypeC<{
1520
1781
  kind: t.LiteralC<"file">;
1782
+ }>>]>, t.ExactC<t.PartialC<{
1521
1783
  text: t.StringC;
1522
1784
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1523
1785
  __TYPE__: t.LiteralC<"DocumentLink">;
1524
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1786
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1525
1787
  id: t.Type<string, string, unknown>;
1526
- }>>, t.ExactC<t.PartialC<{
1527
- text: t.StringC;
1528
- }>>]>, t.ExactC<t.TypeC<{
1788
+ }>>, t.ExactC<t.TypeC<{
1529
1789
  kind: t.LiteralC<"document">;
1790
+ }>>]>, t.ExactC<t.PartialC<{
1530
1791
  text: t.StringC;
1531
1792
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1532
1793
  __TYPE__: t.LiteralC<"ExternalLink">;
1533
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1794
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1534
1795
  url: t.StringC;
1535
1796
  }>, t.PartialC<{
1536
1797
  kind: t.LiteralC<"web">;
@@ -1540,19 +1801,19 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1540
1801
  }, {
1541
1802
  title?: string;
1542
1803
  }, unknown>, t.NullC, t.UndefinedC]>;
1543
- }>]>>, t.ExactC<t.PartialC<{
1544
- text: t.StringC;
1545
- }>>]>, t.ExactC<t.TypeC<{
1804
+ }>]>>, t.ExactC<t.TypeC<{
1546
1805
  kind: t.LiteralC<"web">;
1806
+ }>>]>, t.ExactC<t.PartialC<{
1547
1807
  text: t.StringC;
1548
1808
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1549
1809
  __TYPE__: t.LiteralC<"MediaLink">;
1550
- }>>, t.ExactC<t.TypeC<{
1810
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1551
1811
  kind: t.LiteralC<"media">;
1812
+ }>>, t.ExactC<t.PartialC<{
1552
1813
  text: t.StringC;
1553
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1814
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1554
1815
  __TYPE__: t.LiteralC<"AnyLink">;
1555
- }>>, t.ExactC<t.TypeC<{
1816
+ }>>, t.ExactC<t.PartialC<{
1556
1817
  text: t.StringC;
1557
1818
  }>>]>]>;
1558
1819
  }>>, t.ExactC<t.TypeC<{
@@ -1796,6 +2057,77 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1796
2057
  }>]>>]>>;
1797
2058
  }>>, t.ExactC<t.TypeC<{
1798
2059
  __TYPE__: t.LiteralC<"SeparatorContent">;
2060
+ }>>, t.ExactC<t.TypeC<{
2061
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2062
+ type: t.LiteralC<"Link">;
2063
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2064
+ __TYPE__: t.LiteralC<"LinkContent">;
2065
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2066
+ __TYPE__: t.LiteralC<"ImageLink">;
2067
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2068
+ kind: t.Type<"image", "image", unknown>;
2069
+ id: t.StringC;
2070
+ url: t.StringC;
2071
+ height: t.StringC;
2072
+ width: t.StringC;
2073
+ size: t.StringC;
2074
+ name: t.StringC;
2075
+ }>>, t.ExactC<t.PartialC<{
2076
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2077
+ }>>]>, t.ExactC<t.TypeC<{
2078
+ kind: t.LiteralC<"image">;
2079
+ }>>]>, t.ExactC<t.PartialC<{
2080
+ text: t.StringC;
2081
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2082
+ __TYPE__: t.LiteralC<"FileLink">;
2083
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2084
+ kind: t.Type<"file", "file", unknown>;
2085
+ id: t.StringC;
2086
+ url: t.StringC;
2087
+ name: t.StringC;
2088
+ size: t.StringC;
2089
+ }>, t.PartialC<{
2090
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2091
+ }>]>>, t.ExactC<t.TypeC<{
2092
+ kind: t.LiteralC<"file">;
2093
+ }>>]>, t.ExactC<t.PartialC<{
2094
+ text: t.StringC;
2095
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2096
+ __TYPE__: t.LiteralC<"DocumentLink">;
2097
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
2098
+ id: t.Type<string, string, unknown>;
2099
+ }>>, t.ExactC<t.TypeC<{
2100
+ kind: t.LiteralC<"document">;
2101
+ }>>]>, t.ExactC<t.PartialC<{
2102
+ text: t.StringC;
2103
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2104
+ __TYPE__: t.LiteralC<"ExternalLink">;
2105
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2106
+ url: t.StringC;
2107
+ }>, t.PartialC<{
2108
+ kind: t.LiteralC<"web">;
2109
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2110
+ preview: t.UnionC<[t.Type<{
2111
+ title?: string;
2112
+ }, {
2113
+ title?: string;
2114
+ }, unknown>, t.NullC, t.UndefinedC]>;
2115
+ }>]>>, t.ExactC<t.TypeC<{
2116
+ kind: t.LiteralC<"web">;
2117
+ }>>]>, t.ExactC<t.PartialC<{
2118
+ text: t.StringC;
2119
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2120
+ __TYPE__: t.LiteralC<"MediaLink">;
2121
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2122
+ kind: t.LiteralC<"media">;
2123
+ }>>, t.ExactC<t.PartialC<{
2124
+ text: t.StringC;
2125
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2126
+ __TYPE__: t.LiteralC<"AnyLink">;
2127
+ }>>, t.ExactC<t.PartialC<{
2128
+ text: t.StringC;
2129
+ }>>]>]>;
2130
+ }>>>;
1799
2131
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>>;
1800
2132
  items: t.ArrayC<t.ExactC<t.TypeC<{
1801
2133
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -1913,7 +2245,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1913
2245
  __TYPE__: t.LiteralC<"LinkContent">;
1914
2246
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1915
2247
  __TYPE__: t.LiteralC<"ImageLink">;
1916
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2248
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1917
2249
  kind: t.Type<"image", "image", unknown>;
1918
2250
  id: t.StringC;
1919
2251
  url: t.StringC;
@@ -1923,14 +2255,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1923
2255
  name: t.StringC;
1924
2256
  }>>, t.ExactC<t.PartialC<{
1925
2257
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1926
- }>>]>, t.ExactC<t.PartialC<{
1927
- text: t.StringC;
1928
2258
  }>>]>, t.ExactC<t.TypeC<{
1929
2259
  kind: t.LiteralC<"image">;
2260
+ }>>]>, t.ExactC<t.PartialC<{
1930
2261
  text: t.StringC;
1931
2262
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1932
2263
  __TYPE__: t.LiteralC<"FileLink">;
1933
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2264
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1934
2265
  kind: t.Type<"file", "file", unknown>;
1935
2266
  id: t.StringC;
1936
2267
  url: t.StringC;
@@ -1938,23 +2269,21 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1938
2269
  size: t.StringC;
1939
2270
  }>, t.PartialC<{
1940
2271
  date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1941
- }>]>>, t.ExactC<t.PartialC<{
1942
- text: t.StringC;
1943
- }>>]>, t.ExactC<t.TypeC<{
2272
+ }>]>>, t.ExactC<t.TypeC<{
1944
2273
  kind: t.LiteralC<"file">;
2274
+ }>>]>, t.ExactC<t.PartialC<{
1945
2275
  text: t.StringC;
1946
2276
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1947
2277
  __TYPE__: t.LiteralC<"DocumentLink">;
1948
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2278
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
1949
2279
  id: t.Type<string, string, unknown>;
1950
- }>>, t.ExactC<t.PartialC<{
1951
- text: t.StringC;
1952
- }>>]>, t.ExactC<t.TypeC<{
2280
+ }>>, t.ExactC<t.TypeC<{
1953
2281
  kind: t.LiteralC<"document">;
2282
+ }>>]>, t.ExactC<t.PartialC<{
1954
2283
  text: t.StringC;
1955
2284
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1956
2285
  __TYPE__: t.LiteralC<"ExternalLink">;
1957
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2286
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1958
2287
  url: t.StringC;
1959
2288
  }>, t.PartialC<{
1960
2289
  kind: t.LiteralC<"web">;
@@ -1964,19 +2293,19 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1964
2293
  }, {
1965
2294
  title?: string;
1966
2295
  }, unknown>, t.NullC, t.UndefinedC]>;
1967
- }>]>>, t.ExactC<t.PartialC<{
1968
- text: t.StringC;
1969
- }>>]>, t.ExactC<t.TypeC<{
2296
+ }>]>>, t.ExactC<t.TypeC<{
1970
2297
  kind: t.LiteralC<"web">;
2298
+ }>>]>, t.ExactC<t.PartialC<{
1971
2299
  text: t.StringC;
1972
2300
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1973
2301
  __TYPE__: t.LiteralC<"MediaLink">;
1974
- }>>, t.ExactC<t.TypeC<{
2302
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
1975
2303
  kind: t.LiteralC<"media">;
2304
+ }>>, t.ExactC<t.PartialC<{
1976
2305
  text: t.StringC;
1977
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2306
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1978
2307
  __TYPE__: t.LiteralC<"AnyLink">;
1979
- }>>, t.ExactC<t.TypeC<{
2308
+ }>>, t.ExactC<t.PartialC<{
1980
2309
  text: t.StringC;
1981
2310
  }>>]>]>;
1982
2311
  }>>, t.ExactC<t.TypeC<{
@@ -2220,6 +2549,77 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2220
2549
  }>]>>]>>;
2221
2550
  }>>, t.ExactC<t.TypeC<{
2222
2551
  __TYPE__: t.LiteralC<"SeparatorContent">;
2552
+ }>>, t.ExactC<t.TypeC<{
2553
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2554
+ type: t.LiteralC<"Link">;
2555
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2556
+ __TYPE__: t.LiteralC<"LinkContent">;
2557
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2558
+ __TYPE__: t.LiteralC<"ImageLink">;
2559
+ }>>, t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2560
+ kind: t.Type<"image", "image", unknown>;
2561
+ id: t.StringC;
2562
+ url: t.StringC;
2563
+ height: t.StringC;
2564
+ width: t.StringC;
2565
+ size: t.StringC;
2566
+ name: t.StringC;
2567
+ }>>, t.ExactC<t.PartialC<{
2568
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2569
+ }>>]>, t.ExactC<t.TypeC<{
2570
+ kind: t.LiteralC<"image">;
2571
+ }>>]>, t.ExactC<t.PartialC<{
2572
+ text: t.StringC;
2573
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2574
+ __TYPE__: t.LiteralC<"FileLink">;
2575
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2576
+ kind: t.Type<"file", "file", unknown>;
2577
+ id: t.StringC;
2578
+ url: t.StringC;
2579
+ name: t.StringC;
2580
+ size: t.StringC;
2581
+ }>, t.PartialC<{
2582
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2583
+ }>]>>, t.ExactC<t.TypeC<{
2584
+ kind: t.LiteralC<"file">;
2585
+ }>>]>, t.ExactC<t.PartialC<{
2586
+ text: t.StringC;
2587
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2588
+ __TYPE__: t.LiteralC<"DocumentLink">;
2589
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.TypeC<{
2590
+ id: t.Type<string, string, unknown>;
2591
+ }>>, t.ExactC<t.TypeC<{
2592
+ kind: t.LiteralC<"document">;
2593
+ }>>]>, t.ExactC<t.PartialC<{
2594
+ text: t.StringC;
2595
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2596
+ __TYPE__: t.LiteralC<"ExternalLink">;
2597
+ }>>, t.IntersectionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2598
+ url: t.StringC;
2599
+ }>, t.PartialC<{
2600
+ kind: t.LiteralC<"web">;
2601
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2602
+ preview: t.UnionC<[t.Type<{
2603
+ title?: string;
2604
+ }, {
2605
+ title?: string;
2606
+ }, unknown>, t.NullC, t.UndefinedC]>;
2607
+ }>]>>, t.ExactC<t.TypeC<{
2608
+ kind: t.LiteralC<"web">;
2609
+ }>>]>, t.ExactC<t.PartialC<{
2610
+ text: t.StringC;
2611
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2612
+ __TYPE__: t.LiteralC<"MediaLink">;
2613
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2614
+ kind: t.LiteralC<"media">;
2615
+ }>>, t.ExactC<t.PartialC<{
2616
+ text: t.StringC;
2617
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2618
+ __TYPE__: t.LiteralC<"AnyLink">;
2619
+ }>>, t.ExactC<t.PartialC<{
2620
+ text: t.StringC;
2621
+ }>>]>]>;
2622
+ }>>>;
2223
2623
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
2224
2624
  }>>>;
2225
2625
  }>>;