@prismicio/types-internal 2.8.0 → 2.9.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_internal/utils.d.ts +3 -2
- package/lib/content/Document.d.ts +1369 -61
- 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 +162 -0
- package/lib/content/fields/RepeatableContent.js +93 -0
- package/lib/content/fields/WidgetContent.d.ts +1369 -61
- 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 +23 -0
- package/lib/content/fields/nestable/LinkContent.js +23 -0
- package/lib/content/fields/nestable/NestableContent.d.ts +218 -0
- package/lib/content/fields/nestable/NestableContent.js +8 -1
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +66 -66
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +727 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +438 -2
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +74 -0
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +440 -4
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +20 -4
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +219 -1
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +219 -1
- package/lib/content/fields/slices/Slice/index.d.ts +735 -5
- package/lib/content/fields/slices/SliceItem.d.ts +734 -4
- package/lib/content/fields/slices/SlicesContent.d.ts +1098 -8
- 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 +2 -0
- package/lib/customtypes/widgets/nestable/Link.js +5 -1
- 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/SliceWidget.d.ts +327 -0
- package/lib/customtypes/widgets/slices/SliceWidget.js +8 -0
- package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
- package/package.json +1 -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 +24 -0
- 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 +5 -1
|
@@ -433,6 +433,80 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
433
433
|
}>]>>]>>;
|
|
434
434
|
}>>, t.ExactC<t.TypeC<{
|
|
435
435
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
436
|
+
}>>, t.ExactC<t.TypeC<{
|
|
437
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
438
|
+
type: t.LiteralC<"Link">;
|
|
439
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
440
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
441
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
442
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
443
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
444
|
+
kind: t.StringC;
|
|
445
|
+
id: t.StringC;
|
|
446
|
+
url: t.StringC;
|
|
447
|
+
height: t.StringC;
|
|
448
|
+
width: t.StringC;
|
|
449
|
+
size: t.StringC;
|
|
450
|
+
name: t.StringC;
|
|
451
|
+
}>>, t.ExactC<t.PartialC<{
|
|
452
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
453
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
454
|
+
text: t.StringC;
|
|
455
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
456
|
+
kind: t.LiteralC<"image">;
|
|
457
|
+
text: t.StringC;
|
|
458
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
459
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
460
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
461
|
+
kind: t.StringC;
|
|
462
|
+
id: t.StringC;
|
|
463
|
+
url: t.StringC;
|
|
464
|
+
name: t.StringC;
|
|
465
|
+
size: t.StringC;
|
|
466
|
+
}>, t.PartialC<{
|
|
467
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
468
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
469
|
+
text: t.StringC;
|
|
470
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
471
|
+
kind: t.LiteralC<"file">;
|
|
472
|
+
text: t.StringC;
|
|
473
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
474
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
475
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
476
|
+
id: t.Type<string, string, unknown>;
|
|
477
|
+
}>>, t.ExactC<t.PartialC<{
|
|
478
|
+
text: t.StringC;
|
|
479
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
480
|
+
kind: t.LiteralC<"document">;
|
|
481
|
+
text: t.StringC;
|
|
482
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
483
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
484
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
485
|
+
url: t.StringC;
|
|
486
|
+
}>, t.PartialC<{
|
|
487
|
+
kind: t.LiteralC<"web">;
|
|
488
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
489
|
+
preview: t.UnionC<[t.Type<{
|
|
490
|
+
title?: string;
|
|
491
|
+
}, {
|
|
492
|
+
title?: string;
|
|
493
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
494
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
495
|
+
text: t.StringC;
|
|
496
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
497
|
+
kind: t.LiteralC<"web">;
|
|
498
|
+
text: t.StringC;
|
|
499
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
500
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
501
|
+
}>>, t.ExactC<t.TypeC<{
|
|
502
|
+
kind: t.LiteralC<"media">;
|
|
503
|
+
text: t.StringC;
|
|
504
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
505
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
506
|
+
}>>, t.ExactC<t.TypeC<{
|
|
507
|
+
text: t.StringC;
|
|
508
|
+
}>>]>]>;
|
|
509
|
+
}>>>;
|
|
436
510
|
}>>]>>;
|
|
437
511
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
438
512
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -857,6 +931,80 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
857
931
|
}>]>>]>>;
|
|
858
932
|
}>>, t.ExactC<t.TypeC<{
|
|
859
933
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
934
|
+
}>>, t.ExactC<t.TypeC<{
|
|
935
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
936
|
+
type: t.LiteralC<"Link">;
|
|
937
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
938
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
939
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
940
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
941
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
942
|
+
kind: t.StringC;
|
|
943
|
+
id: t.StringC;
|
|
944
|
+
url: t.StringC;
|
|
945
|
+
height: t.StringC;
|
|
946
|
+
width: t.StringC;
|
|
947
|
+
size: t.StringC;
|
|
948
|
+
name: t.StringC;
|
|
949
|
+
}>>, t.ExactC<t.PartialC<{
|
|
950
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
951
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
952
|
+
text: t.StringC;
|
|
953
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
954
|
+
kind: t.LiteralC<"image">;
|
|
955
|
+
text: t.StringC;
|
|
956
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
957
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
958
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
959
|
+
kind: t.StringC;
|
|
960
|
+
id: t.StringC;
|
|
961
|
+
url: t.StringC;
|
|
962
|
+
name: t.StringC;
|
|
963
|
+
size: t.StringC;
|
|
964
|
+
}>, t.PartialC<{
|
|
965
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
966
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
967
|
+
text: t.StringC;
|
|
968
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
969
|
+
kind: t.LiteralC<"file">;
|
|
970
|
+
text: t.StringC;
|
|
971
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
972
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
973
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
974
|
+
id: t.Type<string, string, unknown>;
|
|
975
|
+
}>>, t.ExactC<t.PartialC<{
|
|
976
|
+
text: t.StringC;
|
|
977
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
978
|
+
kind: t.LiteralC<"document">;
|
|
979
|
+
text: t.StringC;
|
|
980
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
981
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
982
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
983
|
+
url: t.StringC;
|
|
984
|
+
}>, t.PartialC<{
|
|
985
|
+
kind: t.LiteralC<"web">;
|
|
986
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
987
|
+
preview: t.UnionC<[t.Type<{
|
|
988
|
+
title?: string;
|
|
989
|
+
}, {
|
|
990
|
+
title?: string;
|
|
991
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
992
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
993
|
+
text: t.StringC;
|
|
994
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
995
|
+
kind: t.LiteralC<"web">;
|
|
996
|
+
text: t.StringC;
|
|
997
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
998
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
999
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1000
|
+
kind: t.LiteralC<"media">;
|
|
1001
|
+
text: t.StringC;
|
|
1002
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1003
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1004
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1005
|
+
text: t.StringC;
|
|
1006
|
+
}>>]>]>;
|
|
1007
|
+
}>>>;
|
|
860
1008
|
}>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>]>>;
|
|
861
1009
|
}>>>;
|
|
862
1010
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -1283,6 +1431,80 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1283
1431
|
}>]>>]>>;
|
|
1284
1432
|
}>>, t.ExactC<t.TypeC<{
|
|
1285
1433
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1434
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1435
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1436
|
+
type: t.LiteralC<"Link">;
|
|
1437
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1438
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1439
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1440
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1441
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1442
|
+
kind: t.StringC;
|
|
1443
|
+
id: t.StringC;
|
|
1444
|
+
url: t.StringC;
|
|
1445
|
+
height: t.StringC;
|
|
1446
|
+
width: t.StringC;
|
|
1447
|
+
size: t.StringC;
|
|
1448
|
+
name: t.StringC;
|
|
1449
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1450
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1451
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1452
|
+
text: t.StringC;
|
|
1453
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1454
|
+
kind: t.LiteralC<"image">;
|
|
1455
|
+
text: t.StringC;
|
|
1456
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1457
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1458
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1459
|
+
kind: t.StringC;
|
|
1460
|
+
id: t.StringC;
|
|
1461
|
+
url: t.StringC;
|
|
1462
|
+
name: t.StringC;
|
|
1463
|
+
size: t.StringC;
|
|
1464
|
+
}>, t.PartialC<{
|
|
1465
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1466
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
1467
|
+
text: t.StringC;
|
|
1468
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1469
|
+
kind: t.LiteralC<"file">;
|
|
1470
|
+
text: t.StringC;
|
|
1471
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1472
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1473
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1474
|
+
id: t.Type<string, string, unknown>;
|
|
1475
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1476
|
+
text: t.StringC;
|
|
1477
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1478
|
+
kind: t.LiteralC<"document">;
|
|
1479
|
+
text: t.StringC;
|
|
1480
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1481
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1482
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1483
|
+
url: t.StringC;
|
|
1484
|
+
}>, t.PartialC<{
|
|
1485
|
+
kind: t.LiteralC<"web">;
|
|
1486
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1487
|
+
preview: t.UnionC<[t.Type<{
|
|
1488
|
+
title?: string;
|
|
1489
|
+
}, {
|
|
1490
|
+
title?: string;
|
|
1491
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1492
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
1493
|
+
text: t.StringC;
|
|
1494
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1495
|
+
kind: t.LiteralC<"web">;
|
|
1496
|
+
text: t.StringC;
|
|
1497
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1498
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1499
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1500
|
+
kind: t.LiteralC<"media">;
|
|
1501
|
+
text: t.StringC;
|
|
1502
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1503
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
1504
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1505
|
+
text: t.StringC;
|
|
1506
|
+
}>>]>]>;
|
|
1507
|
+
}>>>;
|
|
1286
1508
|
}>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>>;
|
|
1287
1509
|
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1288
1510
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -1707,6 +1929,80 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1707
1929
|
}>]>>]>>;
|
|
1708
1930
|
}>>, t.ExactC<t.TypeC<{
|
|
1709
1931
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
1932
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1933
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
1934
|
+
type: t.LiteralC<"Link">;
|
|
1935
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
1936
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
1937
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1938
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
1939
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1940
|
+
kind: t.StringC;
|
|
1941
|
+
id: t.StringC;
|
|
1942
|
+
url: t.StringC;
|
|
1943
|
+
height: t.StringC;
|
|
1944
|
+
width: t.StringC;
|
|
1945
|
+
size: t.StringC;
|
|
1946
|
+
name: t.StringC;
|
|
1947
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1948
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1949
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
1950
|
+
text: t.StringC;
|
|
1951
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1952
|
+
kind: t.LiteralC<"image">;
|
|
1953
|
+
text: t.StringC;
|
|
1954
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1955
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
1956
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1957
|
+
kind: t.StringC;
|
|
1958
|
+
id: t.StringC;
|
|
1959
|
+
url: t.StringC;
|
|
1960
|
+
name: t.StringC;
|
|
1961
|
+
size: t.StringC;
|
|
1962
|
+
}>, t.PartialC<{
|
|
1963
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1964
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
1965
|
+
text: t.StringC;
|
|
1966
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1967
|
+
kind: t.LiteralC<"file">;
|
|
1968
|
+
text: t.StringC;
|
|
1969
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1970
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
1971
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1972
|
+
id: t.Type<string, string, unknown>;
|
|
1973
|
+
}>>, t.ExactC<t.PartialC<{
|
|
1974
|
+
text: t.StringC;
|
|
1975
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1976
|
+
kind: t.LiteralC<"document">;
|
|
1977
|
+
text: t.StringC;
|
|
1978
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1979
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
1980
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1981
|
+
url: t.StringC;
|
|
1982
|
+
}>, t.PartialC<{
|
|
1983
|
+
kind: t.LiteralC<"web">;
|
|
1984
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1985
|
+
preview: t.UnionC<[t.Type<{
|
|
1986
|
+
title?: string;
|
|
1987
|
+
}, {
|
|
1988
|
+
title?: string;
|
|
1989
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
1990
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
1991
|
+
text: t.StringC;
|
|
1992
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
1993
|
+
kind: t.LiteralC<"web">;
|
|
1994
|
+
text: t.StringC;
|
|
1995
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
1996
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
1997
|
+
}>>, t.ExactC<t.TypeC<{
|
|
1998
|
+
kind: t.LiteralC<"media">;
|
|
1999
|
+
text: t.StringC;
|
|
2000
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2001
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2002
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2003
|
+
text: t.StringC;
|
|
2004
|
+
}>>]>]>;
|
|
2005
|
+
}>>>;
|
|
1710
2006
|
}>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>]>>;
|
|
1711
2007
|
}>>>;
|
|
1712
2008
|
}>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -2130,6 +2426,80 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
2130
2426
|
}>]>>]>>;
|
|
2131
2427
|
}>>, t.ExactC<t.TypeC<{
|
|
2132
2428
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2429
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2430
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2431
|
+
type: t.LiteralC<"Link">;
|
|
2432
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2433
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2434
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2435
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2436
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2437
|
+
kind: t.StringC;
|
|
2438
|
+
id: t.StringC;
|
|
2439
|
+
url: t.StringC;
|
|
2440
|
+
height: t.StringC;
|
|
2441
|
+
width: t.StringC;
|
|
2442
|
+
size: t.StringC;
|
|
2443
|
+
name: t.StringC;
|
|
2444
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2445
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2446
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2447
|
+
text: t.StringC;
|
|
2448
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2449
|
+
kind: t.LiteralC<"image">;
|
|
2450
|
+
text: t.StringC;
|
|
2451
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2452
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2453
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2454
|
+
kind: t.StringC;
|
|
2455
|
+
id: t.StringC;
|
|
2456
|
+
url: t.StringC;
|
|
2457
|
+
name: t.StringC;
|
|
2458
|
+
size: t.StringC;
|
|
2459
|
+
}>, t.PartialC<{
|
|
2460
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2461
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2462
|
+
text: t.StringC;
|
|
2463
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2464
|
+
kind: t.LiteralC<"file">;
|
|
2465
|
+
text: t.StringC;
|
|
2466
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2467
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2468
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2469
|
+
id: t.Type<string, string, unknown>;
|
|
2470
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2471
|
+
text: t.StringC;
|
|
2472
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2473
|
+
kind: t.LiteralC<"document">;
|
|
2474
|
+
text: t.StringC;
|
|
2475
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2476
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2477
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2478
|
+
url: t.StringC;
|
|
2479
|
+
}>, t.PartialC<{
|
|
2480
|
+
kind: t.LiteralC<"web">;
|
|
2481
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2482
|
+
preview: t.UnionC<[t.Type<{
|
|
2483
|
+
title?: string;
|
|
2484
|
+
}, {
|
|
2485
|
+
title?: string;
|
|
2486
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2487
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2488
|
+
text: t.StringC;
|
|
2489
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2490
|
+
kind: t.LiteralC<"web">;
|
|
2491
|
+
text: t.StringC;
|
|
2492
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2493
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2494
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2495
|
+
kind: t.LiteralC<"media">;
|
|
2496
|
+
text: t.StringC;
|
|
2497
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2498
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2499
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2500
|
+
text: t.StringC;
|
|
2501
|
+
}>>]>]>;
|
|
2502
|
+
}>>>;
|
|
2133
2503
|
}>>]>, t.Type<import("../GroupContent").GroupContent, import("../GroupContent").GroupContent, unknown>]>]>;
|
|
2134
2504
|
}>;
|
|
2135
2505
|
export declare type SliceItemContent = t.TypeOf<typeof SliceItemContent>;
|
|
@@ -2331,6 +2701,78 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2331
2701
|
text: string;
|
|
2332
2702
|
});
|
|
2333
2703
|
} | {
|
|
2704
|
+
__TYPE__: "RepeatableContent";
|
|
2705
|
+
type: "Link";
|
|
2706
|
+
value: {
|
|
2707
|
+
__TYPE__: "LinkContent";
|
|
2708
|
+
value: ({
|
|
2709
|
+
__TYPE__: "ImageLink";
|
|
2710
|
+
} & (({
|
|
2711
|
+
kind: string;
|
|
2712
|
+
id: string;
|
|
2713
|
+
url: string;
|
|
2714
|
+
height: string;
|
|
2715
|
+
width: string;
|
|
2716
|
+
size: string;
|
|
2717
|
+
name: string;
|
|
2718
|
+
} & {
|
|
2719
|
+
date?: string | null | undefined;
|
|
2720
|
+
} & {
|
|
2721
|
+
text?: string;
|
|
2722
|
+
}) | {
|
|
2723
|
+
kind: "image";
|
|
2724
|
+
text: string;
|
|
2725
|
+
})) | ({
|
|
2726
|
+
__TYPE__: "FileLink";
|
|
2727
|
+
} & (({
|
|
2728
|
+
kind: string;
|
|
2729
|
+
id: string;
|
|
2730
|
+
url: string;
|
|
2731
|
+
name: string;
|
|
2732
|
+
size: string;
|
|
2733
|
+
} & {
|
|
2734
|
+
date?: string | null | undefined;
|
|
2735
|
+
} & {
|
|
2736
|
+
text?: string;
|
|
2737
|
+
}) | {
|
|
2738
|
+
kind: "file";
|
|
2739
|
+
text: string;
|
|
2740
|
+
})) | ({
|
|
2741
|
+
__TYPE__: "MediaLink";
|
|
2742
|
+
} & {
|
|
2743
|
+
kind: "media";
|
|
2744
|
+
text: string;
|
|
2745
|
+
}) | ({
|
|
2746
|
+
__TYPE__: "DocumentLink";
|
|
2747
|
+
} & (({
|
|
2748
|
+
id: string;
|
|
2749
|
+
} & {
|
|
2750
|
+
text?: string;
|
|
2751
|
+
}) | {
|
|
2752
|
+
kind: "document";
|
|
2753
|
+
text: string;
|
|
2754
|
+
})) | ({
|
|
2755
|
+
__TYPE__: "ExternalLink";
|
|
2756
|
+
} & (({
|
|
2757
|
+
url: string;
|
|
2758
|
+
} & {
|
|
2759
|
+
kind?: "web";
|
|
2760
|
+
target?: string | null | undefined;
|
|
2761
|
+
preview?: {
|
|
2762
|
+
title?: string;
|
|
2763
|
+
} | null | undefined;
|
|
2764
|
+
} & {
|
|
2765
|
+
text?: string;
|
|
2766
|
+
}) | {
|
|
2767
|
+
kind: "web";
|
|
2768
|
+
text: string;
|
|
2769
|
+
})) | ({
|
|
2770
|
+
__TYPE__: "AnyLink";
|
|
2771
|
+
} & {
|
|
2772
|
+
text: string;
|
|
2773
|
+
});
|
|
2774
|
+
}[];
|
|
2775
|
+
} | import("../GroupContent").GroupContent | {
|
|
2334
2776
|
__TYPE__: "StructuredTextContent";
|
|
2335
2777
|
value: (({
|
|
2336
2778
|
type: "image";
|
|
@@ -2485,7 +2927,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2485
2927
|
}))[];
|
|
2486
2928
|
} | {
|
|
2487
2929
|
__TYPE__: "SeparatorContent";
|
|
2488
|
-
} |
|
|
2930
|
+
} | {
|
|
2489
2931
|
__TYPE__: "CompositeSliceContent";
|
|
2490
2932
|
nonRepeat: {
|
|
2491
2933
|
[x: string]: {
|
|
@@ -2668,6 +3110,78 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2668
3110
|
} & {
|
|
2669
3111
|
text: string;
|
|
2670
3112
|
});
|
|
3113
|
+
} | {
|
|
3114
|
+
__TYPE__: "RepeatableContent";
|
|
3115
|
+
type: "Link";
|
|
3116
|
+
value: {
|
|
3117
|
+
__TYPE__: "LinkContent";
|
|
3118
|
+
value: ({
|
|
3119
|
+
__TYPE__: "ImageLink";
|
|
3120
|
+
} & (({
|
|
3121
|
+
kind: string;
|
|
3122
|
+
id: string;
|
|
3123
|
+
url: string;
|
|
3124
|
+
height: string;
|
|
3125
|
+
width: string;
|
|
3126
|
+
size: string;
|
|
3127
|
+
name: string;
|
|
3128
|
+
} & {
|
|
3129
|
+
date?: string | null | undefined;
|
|
3130
|
+
} & {
|
|
3131
|
+
text?: string;
|
|
3132
|
+
}) | {
|
|
3133
|
+
kind: "image";
|
|
3134
|
+
text: string;
|
|
3135
|
+
})) | ({
|
|
3136
|
+
__TYPE__: "FileLink";
|
|
3137
|
+
} & (({
|
|
3138
|
+
kind: string;
|
|
3139
|
+
id: string;
|
|
3140
|
+
url: string;
|
|
3141
|
+
name: string;
|
|
3142
|
+
size: string;
|
|
3143
|
+
} & {
|
|
3144
|
+
date?: string | null | undefined;
|
|
3145
|
+
} & {
|
|
3146
|
+
text?: string;
|
|
3147
|
+
}) | {
|
|
3148
|
+
kind: "file";
|
|
3149
|
+
text: string;
|
|
3150
|
+
})) | ({
|
|
3151
|
+
__TYPE__: "MediaLink";
|
|
3152
|
+
} & {
|
|
3153
|
+
kind: "media";
|
|
3154
|
+
text: string;
|
|
3155
|
+
}) | ({
|
|
3156
|
+
__TYPE__: "DocumentLink";
|
|
3157
|
+
} & (({
|
|
3158
|
+
id: string;
|
|
3159
|
+
} & {
|
|
3160
|
+
text?: string;
|
|
3161
|
+
}) | {
|
|
3162
|
+
kind: "document";
|
|
3163
|
+
text: string;
|
|
3164
|
+
})) | ({
|
|
3165
|
+
__TYPE__: "ExternalLink";
|
|
3166
|
+
} & (({
|
|
3167
|
+
url: string;
|
|
3168
|
+
} & {
|
|
3169
|
+
kind?: "web";
|
|
3170
|
+
target?: string | null | undefined;
|
|
3171
|
+
preview?: {
|
|
3172
|
+
title?: string;
|
|
3173
|
+
} | null | undefined;
|
|
3174
|
+
} & {
|
|
3175
|
+
text?: string;
|
|
3176
|
+
}) | {
|
|
3177
|
+
kind: "web";
|
|
3178
|
+
text: string;
|
|
3179
|
+
})) | ({
|
|
3180
|
+
__TYPE__: "AnyLink";
|
|
3181
|
+
} & {
|
|
3182
|
+
text: string;
|
|
3183
|
+
});
|
|
3184
|
+
}[];
|
|
2671
3185
|
} | {
|
|
2672
3186
|
__TYPE__: "StructuredTextContent";
|
|
2673
3187
|
value: (({
|
|
@@ -3008,6 +3522,78 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3008
3522
|
text: string;
|
|
3009
3523
|
});
|
|
3010
3524
|
} | {
|
|
3525
|
+
__TYPE__: "RepeatableContent";
|
|
3526
|
+
type: "Link";
|
|
3527
|
+
value: {
|
|
3528
|
+
__TYPE__: "LinkContent";
|
|
3529
|
+
value: ({
|
|
3530
|
+
__TYPE__: "ImageLink";
|
|
3531
|
+
} & (({
|
|
3532
|
+
kind: string;
|
|
3533
|
+
id: string;
|
|
3534
|
+
url: string;
|
|
3535
|
+
height: string;
|
|
3536
|
+
width: string;
|
|
3537
|
+
size: string;
|
|
3538
|
+
name: string;
|
|
3539
|
+
} & {
|
|
3540
|
+
date?: string | null | undefined;
|
|
3541
|
+
} & {
|
|
3542
|
+
text?: string;
|
|
3543
|
+
}) | {
|
|
3544
|
+
kind: "image";
|
|
3545
|
+
text: string;
|
|
3546
|
+
})) | ({
|
|
3547
|
+
__TYPE__: "FileLink";
|
|
3548
|
+
} & (({
|
|
3549
|
+
kind: string;
|
|
3550
|
+
id: string;
|
|
3551
|
+
url: string;
|
|
3552
|
+
name: string;
|
|
3553
|
+
size: string;
|
|
3554
|
+
} & {
|
|
3555
|
+
date?: string | null | undefined;
|
|
3556
|
+
} & {
|
|
3557
|
+
text?: string;
|
|
3558
|
+
}) | {
|
|
3559
|
+
kind: "file";
|
|
3560
|
+
text: string;
|
|
3561
|
+
})) | ({
|
|
3562
|
+
__TYPE__: "MediaLink";
|
|
3563
|
+
} & {
|
|
3564
|
+
kind: "media";
|
|
3565
|
+
text: string;
|
|
3566
|
+
}) | ({
|
|
3567
|
+
__TYPE__: "DocumentLink";
|
|
3568
|
+
} & (({
|
|
3569
|
+
id: string;
|
|
3570
|
+
} & {
|
|
3571
|
+
text?: string;
|
|
3572
|
+
}) | {
|
|
3573
|
+
kind: "document";
|
|
3574
|
+
text: string;
|
|
3575
|
+
})) | ({
|
|
3576
|
+
__TYPE__: "ExternalLink";
|
|
3577
|
+
} & (({
|
|
3578
|
+
url: string;
|
|
3579
|
+
} & {
|
|
3580
|
+
kind?: "web";
|
|
3581
|
+
target?: string | null | undefined;
|
|
3582
|
+
preview?: {
|
|
3583
|
+
title?: string;
|
|
3584
|
+
} | null | undefined;
|
|
3585
|
+
} & {
|
|
3586
|
+
text?: string;
|
|
3587
|
+
}) | {
|
|
3588
|
+
kind: "web";
|
|
3589
|
+
text: string;
|
|
3590
|
+
})) | ({
|
|
3591
|
+
__TYPE__: "AnyLink";
|
|
3592
|
+
} & {
|
|
3593
|
+
text: string;
|
|
3594
|
+
});
|
|
3595
|
+
}[];
|
|
3596
|
+
} | import("../GroupContent").GroupContent | {
|
|
3011
3597
|
__TYPE__: "StructuredTextContent";
|
|
3012
3598
|
value: (({
|
|
3013
3599
|
type: "image";
|
|
@@ -3162,7 +3748,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3162
3748
|
}))[];
|
|
3163
3749
|
} | {
|
|
3164
3750
|
__TYPE__: "SeparatorContent";
|
|
3165
|
-
}
|
|
3751
|
+
}][];
|
|
3166
3752
|
}[];
|
|
3167
3753
|
} | {
|
|
3168
3754
|
__TYPE__: "SharedSliceContent";
|
|
@@ -3349,6 +3935,78 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3349
3935
|
text: string;
|
|
3350
3936
|
});
|
|
3351
3937
|
} | {
|
|
3938
|
+
__TYPE__: "RepeatableContent";
|
|
3939
|
+
type: "Link";
|
|
3940
|
+
value: {
|
|
3941
|
+
__TYPE__: "LinkContent";
|
|
3942
|
+
value: ({
|
|
3943
|
+
__TYPE__: "ImageLink";
|
|
3944
|
+
} & (({
|
|
3945
|
+
kind: string;
|
|
3946
|
+
id: string;
|
|
3947
|
+
url: string;
|
|
3948
|
+
height: string;
|
|
3949
|
+
width: string;
|
|
3950
|
+
size: string;
|
|
3951
|
+
name: string;
|
|
3952
|
+
} & {
|
|
3953
|
+
date?: string | null | undefined;
|
|
3954
|
+
} & {
|
|
3955
|
+
text?: string;
|
|
3956
|
+
}) | {
|
|
3957
|
+
kind: "image";
|
|
3958
|
+
text: string;
|
|
3959
|
+
})) | ({
|
|
3960
|
+
__TYPE__: "FileLink";
|
|
3961
|
+
} & (({
|
|
3962
|
+
kind: string;
|
|
3963
|
+
id: string;
|
|
3964
|
+
url: string;
|
|
3965
|
+
name: string;
|
|
3966
|
+
size: string;
|
|
3967
|
+
} & {
|
|
3968
|
+
date?: string | null | undefined;
|
|
3969
|
+
} & {
|
|
3970
|
+
text?: string;
|
|
3971
|
+
}) | {
|
|
3972
|
+
kind: "file";
|
|
3973
|
+
text: string;
|
|
3974
|
+
})) | ({
|
|
3975
|
+
__TYPE__: "MediaLink";
|
|
3976
|
+
} & {
|
|
3977
|
+
kind: "media";
|
|
3978
|
+
text: string;
|
|
3979
|
+
}) | ({
|
|
3980
|
+
__TYPE__: "DocumentLink";
|
|
3981
|
+
} & (({
|
|
3982
|
+
id: string;
|
|
3983
|
+
} & {
|
|
3984
|
+
text?: string;
|
|
3985
|
+
}) | {
|
|
3986
|
+
kind: "document";
|
|
3987
|
+
text: string;
|
|
3988
|
+
})) | ({
|
|
3989
|
+
__TYPE__: "ExternalLink";
|
|
3990
|
+
} & (({
|
|
3991
|
+
url: string;
|
|
3992
|
+
} & {
|
|
3993
|
+
kind?: "web";
|
|
3994
|
+
target?: string | null | undefined;
|
|
3995
|
+
preview?: {
|
|
3996
|
+
title?: string;
|
|
3997
|
+
} | null | undefined;
|
|
3998
|
+
} & {
|
|
3999
|
+
text?: string;
|
|
4000
|
+
}) | {
|
|
4001
|
+
kind: "web";
|
|
4002
|
+
text: string;
|
|
4003
|
+
})) | ({
|
|
4004
|
+
__TYPE__: "AnyLink";
|
|
4005
|
+
} & {
|
|
4006
|
+
text: string;
|
|
4007
|
+
});
|
|
4008
|
+
}[];
|
|
4009
|
+
} | import("../GroupContent").GroupContent | {
|
|
3352
4010
|
__TYPE__: "StructuredTextContent";
|
|
3353
4011
|
value: (({
|
|
3354
4012
|
type: "image";
|
|
@@ -3503,7 +4161,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3503
4161
|
}))[];
|
|
3504
4162
|
} | {
|
|
3505
4163
|
__TYPE__: "SeparatorContent";
|
|
3506
|
-
}
|
|
4164
|
+
};
|
|
3507
4165
|
};
|
|
3508
4166
|
items: {
|
|
3509
4167
|
__TYPE__: "GroupItemContent";
|
|
@@ -3688,6 +4346,78 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3688
4346
|
text: string;
|
|
3689
4347
|
});
|
|
3690
4348
|
} | {
|
|
4349
|
+
__TYPE__: "RepeatableContent";
|
|
4350
|
+
type: "Link";
|
|
4351
|
+
value: {
|
|
4352
|
+
__TYPE__: "LinkContent";
|
|
4353
|
+
value: ({
|
|
4354
|
+
__TYPE__: "ImageLink";
|
|
4355
|
+
} & (({
|
|
4356
|
+
kind: string;
|
|
4357
|
+
id: string;
|
|
4358
|
+
url: string;
|
|
4359
|
+
height: string;
|
|
4360
|
+
width: string;
|
|
4361
|
+
size: string;
|
|
4362
|
+
name: string;
|
|
4363
|
+
} & {
|
|
4364
|
+
date?: string | null | undefined;
|
|
4365
|
+
} & {
|
|
4366
|
+
text?: string;
|
|
4367
|
+
}) | {
|
|
4368
|
+
kind: "image";
|
|
4369
|
+
text: string;
|
|
4370
|
+
})) | ({
|
|
4371
|
+
__TYPE__: "FileLink";
|
|
4372
|
+
} & (({
|
|
4373
|
+
kind: string;
|
|
4374
|
+
id: string;
|
|
4375
|
+
url: string;
|
|
4376
|
+
name: string;
|
|
4377
|
+
size: string;
|
|
4378
|
+
} & {
|
|
4379
|
+
date?: string | null | undefined;
|
|
4380
|
+
} & {
|
|
4381
|
+
text?: string;
|
|
4382
|
+
}) | {
|
|
4383
|
+
kind: "file";
|
|
4384
|
+
text: string;
|
|
4385
|
+
})) | ({
|
|
4386
|
+
__TYPE__: "MediaLink";
|
|
4387
|
+
} & {
|
|
4388
|
+
kind: "media";
|
|
4389
|
+
text: string;
|
|
4390
|
+
}) | ({
|
|
4391
|
+
__TYPE__: "DocumentLink";
|
|
4392
|
+
} & (({
|
|
4393
|
+
id: string;
|
|
4394
|
+
} & {
|
|
4395
|
+
text?: string;
|
|
4396
|
+
}) | {
|
|
4397
|
+
kind: "document";
|
|
4398
|
+
text: string;
|
|
4399
|
+
})) | ({
|
|
4400
|
+
__TYPE__: "ExternalLink";
|
|
4401
|
+
} & (({
|
|
4402
|
+
url: string;
|
|
4403
|
+
} & {
|
|
4404
|
+
kind?: "web";
|
|
4405
|
+
target?: string | null | undefined;
|
|
4406
|
+
preview?: {
|
|
4407
|
+
title?: string;
|
|
4408
|
+
} | null | undefined;
|
|
4409
|
+
} & {
|
|
4410
|
+
text?: string;
|
|
4411
|
+
}) | {
|
|
4412
|
+
kind: "web";
|
|
4413
|
+
text: string;
|
|
4414
|
+
})) | ({
|
|
4415
|
+
__TYPE__: "AnyLink";
|
|
4416
|
+
} & {
|
|
4417
|
+
text: string;
|
|
4418
|
+
});
|
|
4419
|
+
}[];
|
|
4420
|
+
} | import("../GroupContent").GroupContent | {
|
|
3691
4421
|
__TYPE__: "StructuredTextContent";
|
|
3692
4422
|
value: (({
|
|
3693
4423
|
type: "image";
|
|
@@ -3842,7 +4572,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3842
4572
|
}))[];
|
|
3843
4573
|
} | {
|
|
3844
4574
|
__TYPE__: "SeparatorContent";
|
|
3845
|
-
}
|
|
4575
|
+
}][];
|
|
3846
4576
|
}[];
|
|
3847
4577
|
};
|
|
3848
4578
|
}, WithTypes<{
|