@prismicio/types-internal 3.5.0 → 3.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 +1972 -1588
- package/lib/content/fields/GroupContent.js +6 -9
- package/lib/content/fields/RepeatableContent.d.ts +51 -123
- package/lib/content/fields/RepeatableContent.js +10 -14
- package/lib/content/fields/WidgetContent.d.ts +1984 -1600
- package/lib/content/fields/nestable/NestableContent.d.ts +314 -250
- package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
- package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
- package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
- package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
- package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
- package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
- package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
- package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +301 -0
- package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
- package/lib/content/fields/nestable/TableContent.d.ts +412 -907
- package/lib/content/fields/nestable/TableContent.js +50 -59
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +628 -500
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +130 -118
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +628 -500
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +314 -250
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +314 -250
- package/lib/content/fields/slices/Slice/index.d.ts +1113 -923
- package/lib/content/fields/slices/SliceItem.d.ts +1110 -920
- package/lib/content/fields/slices/SlicesContent.d.ts +1573 -1253
- package/package.json +3 -2
- package/src/content/fields/GroupContent.ts +8 -16
- package/src/content/fields/nestable/RichTextContent/index.ts +6 -6
- package/src/content/fields/nestable/TableContent.ts +61 -84
|
@@ -433,76 +433,100 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
433
433
|
content: {
|
|
434
434
|
type: "tableRow";
|
|
435
435
|
content: ({
|
|
436
|
-
type: "tableHeader";
|
|
436
|
+
type: "tableHeader" | "tableCell";
|
|
437
437
|
content: {
|
|
438
438
|
__TYPE__: "StructuredTextContent";
|
|
439
|
-
value: ({
|
|
440
|
-
type: "image"
|
|
441
|
-
|
|
442
|
-
|
|
439
|
+
value: (({
|
|
440
|
+
type: "image";
|
|
441
|
+
data: {
|
|
442
|
+
origin: {
|
|
443
|
+
id: string;
|
|
444
|
+
url: string;
|
|
445
|
+
width: number;
|
|
446
|
+
height: number;
|
|
447
|
+
};
|
|
448
|
+
width: number;
|
|
449
|
+
height: number;
|
|
450
|
+
edit: {
|
|
451
|
+
zoom: number;
|
|
452
|
+
crop: {
|
|
453
|
+
x: number;
|
|
454
|
+
y: number;
|
|
455
|
+
};
|
|
456
|
+
background: string;
|
|
457
|
+
};
|
|
443
458
|
} & {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
} |
|
|
486
|
-
data: string;
|
|
487
|
-
start: number;
|
|
488
|
-
end: number;
|
|
489
|
-
type: "label";
|
|
490
|
-
} | {
|
|
491
|
-
start: number;
|
|
492
|
-
end: number;
|
|
493
|
-
type: "strong" | "em" | "list-item";
|
|
494
|
-
})[];
|
|
459
|
+
url?: string;
|
|
460
|
+
credits?: string | null;
|
|
461
|
+
alt?: string | null;
|
|
462
|
+
provider?: string | null | undefined;
|
|
463
|
+
} & {
|
|
464
|
+
linkTo?: ({
|
|
465
|
+
__TYPE__: "ImageLink";
|
|
466
|
+
} & {
|
|
467
|
+
kind: "image";
|
|
468
|
+
id: string;
|
|
469
|
+
url: string;
|
|
470
|
+
height: string;
|
|
471
|
+
width: string;
|
|
472
|
+
size: string;
|
|
473
|
+
name: string;
|
|
474
|
+
} & {
|
|
475
|
+
date?: string | null | undefined;
|
|
476
|
+
}) | ({
|
|
477
|
+
__TYPE__: "FileLink";
|
|
478
|
+
} & {
|
|
479
|
+
kind: "file";
|
|
480
|
+
id: string;
|
|
481
|
+
url: string;
|
|
482
|
+
name: string;
|
|
483
|
+
size: string;
|
|
484
|
+
} & {
|
|
485
|
+
date?: string | null | undefined;
|
|
486
|
+
}) | ({
|
|
487
|
+
__TYPE__: "DocumentLink";
|
|
488
|
+
} & {
|
|
489
|
+
id: string;
|
|
490
|
+
}) | ({
|
|
491
|
+
__TYPE__: "ExternalLink";
|
|
492
|
+
} & {
|
|
493
|
+
url: string;
|
|
494
|
+
} & {
|
|
495
|
+
kind?: "web";
|
|
496
|
+
target?: string | null | undefined;
|
|
497
|
+
preview?: {
|
|
498
|
+
title?: string;
|
|
499
|
+
} | null | undefined;
|
|
500
|
+
}) | null | undefined;
|
|
495
501
|
};
|
|
496
502
|
} & {
|
|
497
|
-
label?: string;
|
|
498
|
-
direction?: string;
|
|
499
|
-
})
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
503
|
+
label?: string | null | undefined;
|
|
504
|
+
direction?: string | null | undefined;
|
|
505
|
+
}) | ({
|
|
506
|
+
type: "embed";
|
|
507
|
+
data: {
|
|
508
|
+
embed_url: string;
|
|
509
|
+
type: string;
|
|
510
|
+
} & {
|
|
511
|
+
version?: string | number | null;
|
|
512
|
+
title?: string | null | undefined;
|
|
513
|
+
author_name?: string | null | undefined;
|
|
514
|
+
author_url?: string | null | undefined;
|
|
515
|
+
provider_name?: string | null | undefined;
|
|
516
|
+
provider_url?: string | null | undefined;
|
|
517
|
+
cache_age?: string | number | null;
|
|
518
|
+
thumbnail_url?: string | null | undefined;
|
|
519
|
+
thumbnail_width?: number | null | undefined;
|
|
520
|
+
thumbnail_height?: number | null | undefined;
|
|
521
|
+
html?: string | null | undefined;
|
|
522
|
+
} & {
|
|
523
|
+
__TYPE__: "EmbedContent";
|
|
524
|
+
all: unknown;
|
|
525
|
+
};
|
|
526
|
+
} & {
|
|
527
|
+
label?: string | null | undefined;
|
|
528
|
+
direction?: string | null | undefined;
|
|
529
|
+
}) | ({
|
|
506
530
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
507
531
|
content: {
|
|
508
532
|
text: string;
|
|
@@ -562,8 +586,10 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
562
586
|
} & {
|
|
563
587
|
label?: string;
|
|
564
588
|
direction?: string;
|
|
565
|
-
})[];
|
|
589
|
+
}))[];
|
|
566
590
|
};
|
|
591
|
+
} & {
|
|
592
|
+
columnWidth?: number;
|
|
567
593
|
})[];
|
|
568
594
|
}[];
|
|
569
595
|
};
|
|
@@ -996,76 +1022,100 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
996
1022
|
content: {
|
|
997
1023
|
type: "tableRow";
|
|
998
1024
|
content: ({
|
|
999
|
-
type: "tableHeader";
|
|
1025
|
+
type: "tableHeader" | "tableCell";
|
|
1000
1026
|
content: {
|
|
1001
1027
|
__TYPE__: "StructuredTextContent";
|
|
1002
|
-
value: ({
|
|
1003
|
-
type: "image"
|
|
1004
|
-
|
|
1005
|
-
|
|
1028
|
+
value: (({
|
|
1029
|
+
type: "image";
|
|
1030
|
+
data: {
|
|
1031
|
+
origin: {
|
|
1032
|
+
id: string;
|
|
1033
|
+
url: string;
|
|
1034
|
+
width: number;
|
|
1035
|
+
height: number;
|
|
1036
|
+
};
|
|
1037
|
+
width: number;
|
|
1038
|
+
height: number;
|
|
1039
|
+
edit: {
|
|
1040
|
+
zoom: number;
|
|
1041
|
+
crop: {
|
|
1042
|
+
x: number;
|
|
1043
|
+
y: number;
|
|
1044
|
+
};
|
|
1045
|
+
background: string;
|
|
1046
|
+
};
|
|
1006
1047
|
} & {
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
} |
|
|
1049
|
-
data: string;
|
|
1050
|
-
start: number;
|
|
1051
|
-
end: number;
|
|
1052
|
-
type: "label";
|
|
1053
|
-
} | {
|
|
1054
|
-
start: number;
|
|
1055
|
-
end: number;
|
|
1056
|
-
type: "strong" | "em" | "list-item";
|
|
1057
|
-
})[];
|
|
1048
|
+
url?: string;
|
|
1049
|
+
credits?: string | null;
|
|
1050
|
+
alt?: string | null;
|
|
1051
|
+
provider?: string | null | undefined;
|
|
1052
|
+
} & {
|
|
1053
|
+
linkTo?: ({
|
|
1054
|
+
__TYPE__: "ImageLink";
|
|
1055
|
+
} & {
|
|
1056
|
+
kind: "image";
|
|
1057
|
+
id: string;
|
|
1058
|
+
url: string;
|
|
1059
|
+
height: string;
|
|
1060
|
+
width: string;
|
|
1061
|
+
size: string;
|
|
1062
|
+
name: string;
|
|
1063
|
+
} & {
|
|
1064
|
+
date?: string | null | undefined;
|
|
1065
|
+
}) | ({
|
|
1066
|
+
__TYPE__: "FileLink";
|
|
1067
|
+
} & {
|
|
1068
|
+
kind: "file";
|
|
1069
|
+
id: string;
|
|
1070
|
+
url: string;
|
|
1071
|
+
name: string;
|
|
1072
|
+
size: string;
|
|
1073
|
+
} & {
|
|
1074
|
+
date?: string | null | undefined;
|
|
1075
|
+
}) | ({
|
|
1076
|
+
__TYPE__: "DocumentLink";
|
|
1077
|
+
} & {
|
|
1078
|
+
id: string;
|
|
1079
|
+
}) | ({
|
|
1080
|
+
__TYPE__: "ExternalLink";
|
|
1081
|
+
} & {
|
|
1082
|
+
url: string;
|
|
1083
|
+
} & {
|
|
1084
|
+
kind?: "web";
|
|
1085
|
+
target?: string | null | undefined;
|
|
1086
|
+
preview?: {
|
|
1087
|
+
title?: string;
|
|
1088
|
+
} | null | undefined;
|
|
1089
|
+
}) | null | undefined;
|
|
1058
1090
|
};
|
|
1059
1091
|
} & {
|
|
1060
|
-
label?: string;
|
|
1061
|
-
direction?: string;
|
|
1062
|
-
})
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1092
|
+
label?: string | null | undefined;
|
|
1093
|
+
direction?: string | null | undefined;
|
|
1094
|
+
}) | ({
|
|
1095
|
+
type: "embed";
|
|
1096
|
+
data: {
|
|
1097
|
+
embed_url: string;
|
|
1098
|
+
type: string;
|
|
1099
|
+
} & {
|
|
1100
|
+
version?: string | number | null;
|
|
1101
|
+
title?: string | null | undefined;
|
|
1102
|
+
author_name?: string | null | undefined;
|
|
1103
|
+
author_url?: string | null | undefined;
|
|
1104
|
+
provider_name?: string | null | undefined;
|
|
1105
|
+
provider_url?: string | null | undefined;
|
|
1106
|
+
cache_age?: string | number | null;
|
|
1107
|
+
thumbnail_url?: string | null | undefined;
|
|
1108
|
+
thumbnail_width?: number | null | undefined;
|
|
1109
|
+
thumbnail_height?: number | null | undefined;
|
|
1110
|
+
html?: string | null | undefined;
|
|
1111
|
+
} & {
|
|
1112
|
+
__TYPE__: "EmbedContent";
|
|
1113
|
+
all: unknown;
|
|
1114
|
+
};
|
|
1115
|
+
} & {
|
|
1116
|
+
label?: string | null | undefined;
|
|
1117
|
+
direction?: string | null | undefined;
|
|
1118
|
+
}) | ({
|
|
1069
1119
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1070
1120
|
content: {
|
|
1071
1121
|
text: string;
|
|
@@ -1125,8 +1175,10 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
1125
1175
|
} & {
|
|
1126
1176
|
label?: string;
|
|
1127
1177
|
direction?: string;
|
|
1128
|
-
})[];
|
|
1178
|
+
}))[];
|
|
1129
1179
|
};
|
|
1180
|
+
} & {
|
|
1181
|
+
columnWidth?: number;
|
|
1130
1182
|
})[];
|
|
1131
1183
|
}[];
|
|
1132
1184
|
}][];
|
|
@@ -1561,76 +1613,100 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1561
1613
|
content: {
|
|
1562
1614
|
type: "tableRow";
|
|
1563
1615
|
content: ({
|
|
1564
|
-
type: "tableHeader";
|
|
1616
|
+
type: "tableHeader" | "tableCell";
|
|
1565
1617
|
content: {
|
|
1566
1618
|
__TYPE__: "StructuredTextContent";
|
|
1567
|
-
value: ({
|
|
1568
|
-
type: "image"
|
|
1569
|
-
|
|
1570
|
-
|
|
1619
|
+
value: (({
|
|
1620
|
+
type: "image";
|
|
1621
|
+
data: {
|
|
1622
|
+
origin: {
|
|
1623
|
+
id: string;
|
|
1624
|
+
url: string;
|
|
1625
|
+
width: number;
|
|
1626
|
+
height: number;
|
|
1627
|
+
};
|
|
1628
|
+
width: number;
|
|
1629
|
+
height: number;
|
|
1630
|
+
edit: {
|
|
1631
|
+
zoom: number;
|
|
1632
|
+
crop: {
|
|
1633
|
+
x: number;
|
|
1634
|
+
y: number;
|
|
1635
|
+
};
|
|
1636
|
+
background: string;
|
|
1637
|
+
};
|
|
1571
1638
|
} & {
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
} |
|
|
1614
|
-
data: string;
|
|
1615
|
-
start: number;
|
|
1616
|
-
end: number;
|
|
1617
|
-
type: "label";
|
|
1618
|
-
} | {
|
|
1619
|
-
start: number;
|
|
1620
|
-
end: number;
|
|
1621
|
-
type: "strong" | "em" | "list-item";
|
|
1622
|
-
})[];
|
|
1639
|
+
url?: string;
|
|
1640
|
+
credits?: string | null;
|
|
1641
|
+
alt?: string | null;
|
|
1642
|
+
provider?: string | null | undefined;
|
|
1643
|
+
} & {
|
|
1644
|
+
linkTo?: ({
|
|
1645
|
+
__TYPE__: "ImageLink";
|
|
1646
|
+
} & {
|
|
1647
|
+
kind: "image";
|
|
1648
|
+
id: string;
|
|
1649
|
+
url: string;
|
|
1650
|
+
height: string;
|
|
1651
|
+
width: string;
|
|
1652
|
+
size: string;
|
|
1653
|
+
name: string;
|
|
1654
|
+
} & {
|
|
1655
|
+
date?: string | null | undefined;
|
|
1656
|
+
}) | ({
|
|
1657
|
+
__TYPE__: "FileLink";
|
|
1658
|
+
} & {
|
|
1659
|
+
kind: "file";
|
|
1660
|
+
id: string;
|
|
1661
|
+
url: string;
|
|
1662
|
+
name: string;
|
|
1663
|
+
size: string;
|
|
1664
|
+
} & {
|
|
1665
|
+
date?: string | null | undefined;
|
|
1666
|
+
}) | ({
|
|
1667
|
+
__TYPE__: "DocumentLink";
|
|
1668
|
+
} & {
|
|
1669
|
+
id: string;
|
|
1670
|
+
}) | ({
|
|
1671
|
+
__TYPE__: "ExternalLink";
|
|
1672
|
+
} & {
|
|
1673
|
+
url: string;
|
|
1674
|
+
} & {
|
|
1675
|
+
kind?: "web";
|
|
1676
|
+
target?: string | null | undefined;
|
|
1677
|
+
preview?: {
|
|
1678
|
+
title?: string;
|
|
1679
|
+
} | null | undefined;
|
|
1680
|
+
}) | null | undefined;
|
|
1623
1681
|
};
|
|
1624
1682
|
} & {
|
|
1625
|
-
label?: string;
|
|
1626
|
-
direction?: string;
|
|
1627
|
-
})
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1683
|
+
label?: string | null | undefined;
|
|
1684
|
+
direction?: string | null | undefined;
|
|
1685
|
+
}) | ({
|
|
1686
|
+
type: "embed";
|
|
1687
|
+
data: {
|
|
1688
|
+
embed_url: string;
|
|
1689
|
+
type: string;
|
|
1690
|
+
} & {
|
|
1691
|
+
version?: string | number | null;
|
|
1692
|
+
title?: string | null | undefined;
|
|
1693
|
+
author_name?: string | null | undefined;
|
|
1694
|
+
author_url?: string | null | undefined;
|
|
1695
|
+
provider_name?: string | null | undefined;
|
|
1696
|
+
provider_url?: string | null | undefined;
|
|
1697
|
+
cache_age?: string | number | null;
|
|
1698
|
+
thumbnail_url?: string | null | undefined;
|
|
1699
|
+
thumbnail_width?: number | null | undefined;
|
|
1700
|
+
thumbnail_height?: number | null | undefined;
|
|
1701
|
+
html?: string | null | undefined;
|
|
1702
|
+
} & {
|
|
1703
|
+
__TYPE__: "EmbedContent";
|
|
1704
|
+
all: unknown;
|
|
1705
|
+
};
|
|
1706
|
+
} & {
|
|
1707
|
+
label?: string | null | undefined;
|
|
1708
|
+
direction?: string | null | undefined;
|
|
1709
|
+
}) | ({
|
|
1634
1710
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1635
1711
|
content: {
|
|
1636
1712
|
text: string;
|
|
@@ -1690,8 +1766,10 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1690
1766
|
} & {
|
|
1691
1767
|
label?: string;
|
|
1692
1768
|
direction?: string;
|
|
1693
|
-
})[];
|
|
1769
|
+
}))[];
|
|
1694
1770
|
};
|
|
1771
|
+
} & {
|
|
1772
|
+
columnWidth?: number;
|
|
1695
1773
|
})[];
|
|
1696
1774
|
}[];
|
|
1697
1775
|
};
|
|
@@ -2124,76 +2202,100 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2124
2202
|
content: {
|
|
2125
2203
|
type: "tableRow";
|
|
2126
2204
|
content: ({
|
|
2127
|
-
type: "tableHeader";
|
|
2205
|
+
type: "tableHeader" | "tableCell";
|
|
2128
2206
|
content: {
|
|
2129
2207
|
__TYPE__: "StructuredTextContent";
|
|
2130
|
-
value: ({
|
|
2131
|
-
type: "image"
|
|
2132
|
-
|
|
2133
|
-
|
|
2208
|
+
value: (({
|
|
2209
|
+
type: "image";
|
|
2210
|
+
data: {
|
|
2211
|
+
origin: {
|
|
2212
|
+
id: string;
|
|
2213
|
+
url: string;
|
|
2214
|
+
width: number;
|
|
2215
|
+
height: number;
|
|
2216
|
+
};
|
|
2217
|
+
width: number;
|
|
2218
|
+
height: number;
|
|
2219
|
+
edit: {
|
|
2220
|
+
zoom: number;
|
|
2221
|
+
crop: {
|
|
2222
|
+
x: number;
|
|
2223
|
+
y: number;
|
|
2224
|
+
};
|
|
2225
|
+
background: string;
|
|
2226
|
+
};
|
|
2134
2227
|
} & {
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
} |
|
|
2177
|
-
data: string;
|
|
2178
|
-
start: number;
|
|
2179
|
-
end: number;
|
|
2180
|
-
type: "label";
|
|
2181
|
-
} | {
|
|
2182
|
-
start: number;
|
|
2183
|
-
end: number;
|
|
2184
|
-
type: "strong" | "em" | "list-item";
|
|
2185
|
-
})[];
|
|
2228
|
+
url?: string;
|
|
2229
|
+
credits?: string | null;
|
|
2230
|
+
alt?: string | null;
|
|
2231
|
+
provider?: string | null | undefined;
|
|
2232
|
+
} & {
|
|
2233
|
+
linkTo?: ({
|
|
2234
|
+
__TYPE__: "ImageLink";
|
|
2235
|
+
} & {
|
|
2236
|
+
kind: "image";
|
|
2237
|
+
id: string;
|
|
2238
|
+
url: string;
|
|
2239
|
+
height: string;
|
|
2240
|
+
width: string;
|
|
2241
|
+
size: string;
|
|
2242
|
+
name: string;
|
|
2243
|
+
} & {
|
|
2244
|
+
date?: string | null | undefined;
|
|
2245
|
+
}) | ({
|
|
2246
|
+
__TYPE__: "FileLink";
|
|
2247
|
+
} & {
|
|
2248
|
+
kind: "file";
|
|
2249
|
+
id: string;
|
|
2250
|
+
url: string;
|
|
2251
|
+
name: string;
|
|
2252
|
+
size: string;
|
|
2253
|
+
} & {
|
|
2254
|
+
date?: string | null | undefined;
|
|
2255
|
+
}) | ({
|
|
2256
|
+
__TYPE__: "DocumentLink";
|
|
2257
|
+
} & {
|
|
2258
|
+
id: string;
|
|
2259
|
+
}) | ({
|
|
2260
|
+
__TYPE__: "ExternalLink";
|
|
2261
|
+
} & {
|
|
2262
|
+
url: string;
|
|
2263
|
+
} & {
|
|
2264
|
+
kind?: "web";
|
|
2265
|
+
target?: string | null | undefined;
|
|
2266
|
+
preview?: {
|
|
2267
|
+
title?: string;
|
|
2268
|
+
} | null | undefined;
|
|
2269
|
+
}) | null | undefined;
|
|
2186
2270
|
};
|
|
2187
2271
|
} & {
|
|
2188
|
-
label?: string;
|
|
2189
|
-
direction?: string;
|
|
2190
|
-
})
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2272
|
+
label?: string | null | undefined;
|
|
2273
|
+
direction?: string | null | undefined;
|
|
2274
|
+
}) | ({
|
|
2275
|
+
type: "embed";
|
|
2276
|
+
data: {
|
|
2277
|
+
embed_url: string;
|
|
2278
|
+
type: string;
|
|
2279
|
+
} & {
|
|
2280
|
+
version?: string | number | null;
|
|
2281
|
+
title?: string | null | undefined;
|
|
2282
|
+
author_name?: string | null | undefined;
|
|
2283
|
+
author_url?: string | null | undefined;
|
|
2284
|
+
provider_name?: string | null | undefined;
|
|
2285
|
+
provider_url?: string | null | undefined;
|
|
2286
|
+
cache_age?: string | number | null;
|
|
2287
|
+
thumbnail_url?: string | null | undefined;
|
|
2288
|
+
thumbnail_width?: number | null | undefined;
|
|
2289
|
+
thumbnail_height?: number | null | undefined;
|
|
2290
|
+
html?: string | null | undefined;
|
|
2291
|
+
} & {
|
|
2292
|
+
__TYPE__: "EmbedContent";
|
|
2293
|
+
all: unknown;
|
|
2294
|
+
};
|
|
2295
|
+
} & {
|
|
2296
|
+
label?: string | null | undefined;
|
|
2297
|
+
direction?: string | null | undefined;
|
|
2298
|
+
}) | ({
|
|
2197
2299
|
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2198
2300
|
content: {
|
|
2199
2301
|
text: string;
|
|
@@ -2253,8 +2355,10 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2253
2355
|
} & {
|
|
2254
2356
|
label?: string;
|
|
2255
2357
|
direction?: string;
|
|
2256
|
-
})[];
|
|
2358
|
+
}))[];
|
|
2257
2359
|
};
|
|
2360
|
+
} & {
|
|
2361
|
+
columnWidth?: number;
|
|
2258
2362
|
})[];
|
|
2259
2363
|
}[];
|
|
2260
2364
|
}][];
|
|
@@ -2699,127 +2803,137 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2699
2803
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
2700
2804
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2701
2805
|
type: t.LiteralC<"tableRow">;
|
|
2702
|
-
content: t.ArrayC<t.
|
|
2703
|
-
type: t.LiteralC<"tableHeader">;
|
|
2806
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2807
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
2704
2808
|
content: t.ExactC<t.TypeC<{
|
|
2705
2809
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
2706
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2707
|
-
type: t.
|
|
2708
|
-
|
|
2709
|
-
|
|
2810
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2811
|
+
type: t.LiteralC<"image">;
|
|
2812
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2813
|
+
origin: t.ExactC<t.TypeC<{
|
|
2814
|
+
id: t.StringC;
|
|
2815
|
+
url: t.StringC;
|
|
2816
|
+
width: t.NumberC;
|
|
2817
|
+
height: t.NumberC;
|
|
2818
|
+
}>>;
|
|
2819
|
+
width: t.NumberC;
|
|
2820
|
+
height: t.NumberC;
|
|
2821
|
+
edit: t.TypeC<{
|
|
2822
|
+
zoom: t.NumberC;
|
|
2823
|
+
crop: t.TypeC<{
|
|
2824
|
+
x: t.NumberC;
|
|
2825
|
+
y: t.NumberC;
|
|
2826
|
+
}>;
|
|
2827
|
+
background: t.StringC;
|
|
2828
|
+
}>;
|
|
2710
2829
|
}>, t.PartialC<{
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
}
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
__TYPE__: "ExternalLink";
|
|
2790
|
-
} & {
|
|
2791
|
-
url: string;
|
|
2792
|
-
} & {
|
|
2793
|
-
kind?: "web";
|
|
2794
|
-
target?: string | null | undefined;
|
|
2795
|
-
preview?: {
|
|
2796
|
-
title?: string;
|
|
2797
|
-
} | null | undefined;
|
|
2798
|
-
});
|
|
2799
|
-
start: number;
|
|
2800
|
-
end: number;
|
|
2801
|
-
type: "hyperlink";
|
|
2802
|
-
} | {
|
|
2803
|
-
data: string;
|
|
2804
|
-
start: number;
|
|
2805
|
-
end: number;
|
|
2806
|
-
type: "label";
|
|
2807
|
-
} | {
|
|
2808
|
-
start: number;
|
|
2809
|
-
end: number;
|
|
2810
|
-
type: "strong" | "em" | "list-item";
|
|
2811
|
-
})[], unknown>;
|
|
2830
|
+
url: t.StringC;
|
|
2831
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
2832
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
2833
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2834
|
+
}>]>>, t.PartialC<{
|
|
2835
|
+
linkTo: t.UnionC<[t.Type<({
|
|
2836
|
+
__TYPE__: "ImageLink";
|
|
2837
|
+
} & {
|
|
2838
|
+
kind: "image";
|
|
2839
|
+
id: string;
|
|
2840
|
+
url: string;
|
|
2841
|
+
height: string;
|
|
2842
|
+
width: string;
|
|
2843
|
+
size: string;
|
|
2844
|
+
name: string;
|
|
2845
|
+
} & {
|
|
2846
|
+
date?: string | null | undefined;
|
|
2847
|
+
}) | ({
|
|
2848
|
+
__TYPE__: "FileLink";
|
|
2849
|
+
} & {
|
|
2850
|
+
kind: "file";
|
|
2851
|
+
id: string;
|
|
2852
|
+
url: string;
|
|
2853
|
+
name: string;
|
|
2854
|
+
size: string;
|
|
2855
|
+
} & {
|
|
2856
|
+
date?: string | null | undefined;
|
|
2857
|
+
}) | ({
|
|
2858
|
+
__TYPE__: "DocumentLink";
|
|
2859
|
+
} & {
|
|
2860
|
+
id: string;
|
|
2861
|
+
}) | ({
|
|
2862
|
+
__TYPE__: "ExternalLink";
|
|
2863
|
+
} & {
|
|
2864
|
+
url: string;
|
|
2865
|
+
} & {
|
|
2866
|
+
kind?: "web";
|
|
2867
|
+
target?: string | null | undefined;
|
|
2868
|
+
preview?: {
|
|
2869
|
+
title?: string;
|
|
2870
|
+
} | null | undefined;
|
|
2871
|
+
}), ({
|
|
2872
|
+
__TYPE__: "ImageLink";
|
|
2873
|
+
} & {
|
|
2874
|
+
kind: "image";
|
|
2875
|
+
id: string;
|
|
2876
|
+
url: string;
|
|
2877
|
+
height: string;
|
|
2878
|
+
width: string;
|
|
2879
|
+
size: string;
|
|
2880
|
+
name: string;
|
|
2881
|
+
} & {
|
|
2882
|
+
date?: string | null | undefined;
|
|
2883
|
+
}) | ({
|
|
2884
|
+
__TYPE__: "FileLink";
|
|
2885
|
+
} & {
|
|
2886
|
+
kind: "file";
|
|
2887
|
+
id: string;
|
|
2888
|
+
url: string;
|
|
2889
|
+
name: string;
|
|
2890
|
+
size: string;
|
|
2891
|
+
} & {
|
|
2892
|
+
date?: string | null | undefined;
|
|
2893
|
+
}) | ({
|
|
2894
|
+
__TYPE__: "DocumentLink";
|
|
2895
|
+
} & {
|
|
2896
|
+
id: string;
|
|
2897
|
+
}) | ({
|
|
2898
|
+
__TYPE__: "ExternalLink";
|
|
2899
|
+
} & {
|
|
2900
|
+
url: string;
|
|
2901
|
+
} & {
|
|
2902
|
+
kind?: "web";
|
|
2903
|
+
target?: string | null | undefined;
|
|
2904
|
+
preview?: {
|
|
2905
|
+
title?: string;
|
|
2906
|
+
} | null | undefined;
|
|
2907
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
2812
2908
|
}>]>;
|
|
2813
2909
|
}>, t.PartialC<{
|
|
2814
|
-
label: t.
|
|
2815
|
-
direction: t.
|
|
2816
|
-
}>]
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2910
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2911
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2912
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2913
|
+
type: t.LiteralC<"embed">;
|
|
2914
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2915
|
+
embed_url: t.StringC;
|
|
2916
|
+
type: t.StringC;
|
|
2917
|
+
}>, t.PartialC<{
|
|
2918
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
2919
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2920
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2921
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2922
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2923
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2924
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
2925
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2926
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
2927
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
2928
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2929
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2930
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
2931
|
+
all: t.UnknownC;
|
|
2932
|
+
}>>]>;
|
|
2933
|
+
}>, t.PartialC<{
|
|
2934
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2935
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2936
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2823
2937
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
2824
2938
|
content: t.IntersectionC<[t.TypeC<{
|
|
2825
2939
|
text: t.StringC;
|
|
@@ -2929,9 +3043,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2929
3043
|
}>, t.PartialC<{
|
|
2930
3044
|
label: t.StringC;
|
|
2931
3045
|
direction: t.StringC;
|
|
2932
|
-
}>]
|
|
3046
|
+
}>]>>]>>;
|
|
2933
3047
|
}>>;
|
|
2934
|
-
}
|
|
3048
|
+
}>>, t.PartialC<{
|
|
3049
|
+
columnWidth: t.NumberC;
|
|
3050
|
+
}>]>>;
|
|
2935
3051
|
}>>>;
|
|
2936
3052
|
}>>, t.ExactC<t.TypeC<{
|
|
2937
3053
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
@@ -3449,127 +3565,137 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
3449
3565
|
__TYPE__: t.LiteralC<"TableContent">;
|
|
3450
3566
|
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3451
3567
|
type: t.LiteralC<"tableRow">;
|
|
3452
|
-
content: t.ArrayC<t.
|
|
3453
|
-
type: t.LiteralC<"tableHeader">;
|
|
3568
|
+
content: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3569
|
+
type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
|
|
3454
3570
|
content: t.ExactC<t.TypeC<{
|
|
3455
3571
|
__TYPE__: t.LiteralC<"StructuredTextContent">;
|
|
3456
|
-
value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3457
|
-
type: t.
|
|
3458
|
-
|
|
3459
|
-
|
|
3572
|
+
value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3573
|
+
type: t.LiteralC<"image">;
|
|
3574
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3575
|
+
origin: t.ExactC<t.TypeC<{
|
|
3576
|
+
id: t.StringC;
|
|
3577
|
+
url: t.StringC;
|
|
3578
|
+
width: t.NumberC;
|
|
3579
|
+
height: t.NumberC;
|
|
3580
|
+
}>>;
|
|
3581
|
+
width: t.NumberC;
|
|
3582
|
+
height: t.NumberC;
|
|
3583
|
+
edit: t.TypeC<{
|
|
3584
|
+
zoom: t.NumberC;
|
|
3585
|
+
crop: t.TypeC<{
|
|
3586
|
+
x: t.NumberC;
|
|
3587
|
+
y: t.NumberC;
|
|
3588
|
+
}>;
|
|
3589
|
+
background: t.StringC;
|
|
3590
|
+
}>;
|
|
3460
3591
|
}>, t.PartialC<{
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
}
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
__TYPE__: "ExternalLink";
|
|
3540
|
-
} & {
|
|
3541
|
-
url: string;
|
|
3542
|
-
} & {
|
|
3543
|
-
kind?: "web";
|
|
3544
|
-
target?: string | null | undefined;
|
|
3545
|
-
preview?: {
|
|
3546
|
-
title?: string;
|
|
3547
|
-
} | null | undefined;
|
|
3548
|
-
});
|
|
3549
|
-
start: number;
|
|
3550
|
-
end: number;
|
|
3551
|
-
type: "hyperlink";
|
|
3552
|
-
} | {
|
|
3553
|
-
data: string;
|
|
3554
|
-
start: number;
|
|
3555
|
-
end: number;
|
|
3556
|
-
type: "label";
|
|
3557
|
-
} | {
|
|
3558
|
-
start: number;
|
|
3559
|
-
end: number;
|
|
3560
|
-
type: "strong" | "em" | "list-item";
|
|
3561
|
-
})[], unknown>;
|
|
3592
|
+
url: t.StringC;
|
|
3593
|
+
credits: t.Type<string | null, string | null, unknown>;
|
|
3594
|
+
alt: t.Type<string | null, string | null, unknown>;
|
|
3595
|
+
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3596
|
+
}>]>>, t.PartialC<{
|
|
3597
|
+
linkTo: t.UnionC<[t.Type<({
|
|
3598
|
+
__TYPE__: "ImageLink";
|
|
3599
|
+
} & {
|
|
3600
|
+
kind: "image";
|
|
3601
|
+
id: string;
|
|
3602
|
+
url: string;
|
|
3603
|
+
height: string;
|
|
3604
|
+
width: string;
|
|
3605
|
+
size: string;
|
|
3606
|
+
name: string;
|
|
3607
|
+
} & {
|
|
3608
|
+
date?: string | null | undefined;
|
|
3609
|
+
}) | ({
|
|
3610
|
+
__TYPE__: "FileLink";
|
|
3611
|
+
} & {
|
|
3612
|
+
kind: "file";
|
|
3613
|
+
id: string;
|
|
3614
|
+
url: string;
|
|
3615
|
+
name: string;
|
|
3616
|
+
size: string;
|
|
3617
|
+
} & {
|
|
3618
|
+
date?: string | null | undefined;
|
|
3619
|
+
}) | ({
|
|
3620
|
+
__TYPE__: "DocumentLink";
|
|
3621
|
+
} & {
|
|
3622
|
+
id: string;
|
|
3623
|
+
}) | ({
|
|
3624
|
+
__TYPE__: "ExternalLink";
|
|
3625
|
+
} & {
|
|
3626
|
+
url: string;
|
|
3627
|
+
} & {
|
|
3628
|
+
kind?: "web";
|
|
3629
|
+
target?: string | null | undefined;
|
|
3630
|
+
preview?: {
|
|
3631
|
+
title?: string;
|
|
3632
|
+
} | null | undefined;
|
|
3633
|
+
}), ({
|
|
3634
|
+
__TYPE__: "ImageLink";
|
|
3635
|
+
} & {
|
|
3636
|
+
kind: "image";
|
|
3637
|
+
id: string;
|
|
3638
|
+
url: string;
|
|
3639
|
+
height: string;
|
|
3640
|
+
width: string;
|
|
3641
|
+
size: string;
|
|
3642
|
+
name: string;
|
|
3643
|
+
} & {
|
|
3644
|
+
date?: string | null | undefined;
|
|
3645
|
+
}) | ({
|
|
3646
|
+
__TYPE__: "FileLink";
|
|
3647
|
+
} & {
|
|
3648
|
+
kind: "file";
|
|
3649
|
+
id: string;
|
|
3650
|
+
url: string;
|
|
3651
|
+
name: string;
|
|
3652
|
+
size: string;
|
|
3653
|
+
} & {
|
|
3654
|
+
date?: string | null | undefined;
|
|
3655
|
+
}) | ({
|
|
3656
|
+
__TYPE__: "DocumentLink";
|
|
3657
|
+
} & {
|
|
3658
|
+
id: string;
|
|
3659
|
+
}) | ({
|
|
3660
|
+
__TYPE__: "ExternalLink";
|
|
3661
|
+
} & {
|
|
3662
|
+
url: string;
|
|
3663
|
+
} & {
|
|
3664
|
+
kind?: "web";
|
|
3665
|
+
target?: string | null | undefined;
|
|
3666
|
+
preview?: {
|
|
3667
|
+
title?: string;
|
|
3668
|
+
} | null | undefined;
|
|
3669
|
+
}), unknown>, t.NullC, t.UndefinedC]>;
|
|
3562
3670
|
}>]>;
|
|
3563
3671
|
}>, t.PartialC<{
|
|
3564
|
-
label: t.
|
|
3565
|
-
direction: t.
|
|
3566
|
-
}>]
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3672
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3673
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3674
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3675
|
+
type: t.LiteralC<"embed">;
|
|
3676
|
+
data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3677
|
+
embed_url: t.StringC;
|
|
3678
|
+
type: t.StringC;
|
|
3679
|
+
}>, t.PartialC<{
|
|
3680
|
+
version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
3681
|
+
title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3682
|
+
author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3683
|
+
author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3684
|
+
provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3685
|
+
provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3686
|
+
cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
|
|
3687
|
+
thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3688
|
+
thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
3689
|
+
thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
|
|
3690
|
+
html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3691
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3692
|
+
__TYPE__: t.LiteralC<"EmbedContent">;
|
|
3693
|
+
all: t.UnknownC;
|
|
3694
|
+
}>>]>;
|
|
3695
|
+
}>, t.PartialC<{
|
|
3696
|
+
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3697
|
+
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3698
|
+
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3573
3699
|
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
3574
3700
|
content: t.IntersectionC<[t.TypeC<{
|
|
3575
3701
|
text: t.StringC;
|
|
@@ -3679,9 +3805,11 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
3679
3805
|
}>, t.PartialC<{
|
|
3680
3806
|
label: t.StringC;
|
|
3681
3807
|
direction: t.StringC;
|
|
3682
|
-
}>]
|
|
3808
|
+
}>]>>]>>;
|
|
3683
3809
|
}>>;
|
|
3684
|
-
}
|
|
3810
|
+
}>>, t.PartialC<{
|
|
3811
|
+
columnWidth: t.NumberC;
|
|
3812
|
+
}>]>>;
|
|
3685
3813
|
}>>>;
|
|
3686
3814
|
}>>, t.ExactC<t.TypeC<{
|
|
3687
3815
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|