@prismicio/types-internal 3.4.0-alpha.2 → 3.4.0-alpha.4
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 +3305 -3323
- package/lib/content/fields/RepeatableContent.d.ts +51 -123
- package/lib/content/fields/RepeatableContent.js +10 -14
- package/lib/content/fields/WidgetContent.d.ts +3046 -3064
- package/lib/content/fields/nestable/NestableContent.d.ts +501 -504
- package/lib/content/fields/nestable/NestableContent.js +0 -7
- 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 +637 -9
- package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
- package/lib/content/fields/nestable/TableContent.d.ts +245 -12
- package/lib/content/fields/nestable/TableContent.js +7 -7
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1013 -1019
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +234 -235
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1013 -1019
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +501 -504
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +499 -502
- package/lib/content/fields/slices/Slice/index.d.ts +1852 -1862
- package/lib/content/fields/slices/SliceItem.d.ts +1957 -1967
- package/lib/content/fields/slices/SlicesContent.d.ts +2619 -2634
- package/lib/customtypes/CustomType.d.ts +0 -108
- package/lib/customtypes/Section.d.ts +0 -108
- package/lib/customtypes/diff/SharedSlice.d.ts +0 -48
- package/lib/customtypes/diff/Variation.d.ts +0 -48
- package/lib/customtypes/widgets/Group.d.ts +0 -36
- package/lib/customtypes/widgets/Widget.d.ts +0 -126
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -6
- package/lib/customtypes/widgets/nestable/NestableWidget.js +0 -2
- package/lib/customtypes/widgets/nestable/RichText.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/RichText.js +2 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -12
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -12
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -48
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -36
- package/lib/customtypes/widgets/slices/Slices.d.ts +0 -168
- package/package.json +1 -1
- package/src/content/fields/nestable/NestableContent.ts +0 -12
- package/src/content/fields/nestable/RichTextContent/Block.ts +35 -0
- package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +81 -0
- package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +42 -0
- package/src/content/fields/nestable/RichTextContent/TableBlock.ts +36 -0
- package/src/content/fields/nestable/RichTextContent/TextBlock.ts +108 -0
- package/src/content/fields/nestable/RichTextContent/index.ts +2 -2
- package/src/content/fields/nestable/TableContent.ts +6 -6
- package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -2
- package/src/customtypes/widgets/nestable/RichText.ts +2 -0
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +0 -238
|
@@ -366,7 +366,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
366
366
|
label?: string | null | undefined;
|
|
367
367
|
direction?: string | null | undefined;
|
|
368
368
|
}) | ({
|
|
369
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
369
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
370
370
|
content: {
|
|
371
371
|
text: string;
|
|
372
372
|
} & {
|
|
@@ -425,143 +425,142 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
425
425
|
} & {
|
|
426
426
|
label?: string;
|
|
427
427
|
direction?: string;
|
|
428
|
-
})
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
content: {
|
|
433
|
-
type: "tableRow";
|
|
434
|
-
content: ({
|
|
435
|
-
type: "tableHeader";
|
|
428
|
+
}) | {
|
|
429
|
+
type: "table";
|
|
430
|
+
content: {
|
|
431
|
+
type: "tableRow";
|
|
436
432
|
content: ({
|
|
437
|
-
type: "
|
|
438
|
-
content: {
|
|
439
|
-
|
|
433
|
+
type: "tableHeader";
|
|
434
|
+
content: ({
|
|
435
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
436
|
+
content: {
|
|
437
|
+
text: string;
|
|
438
|
+
} & {
|
|
439
|
+
spans?: ({
|
|
440
|
+
data: ({
|
|
441
|
+
__TYPE__: "ImageLink";
|
|
442
|
+
} & {
|
|
443
|
+
kind: "image";
|
|
444
|
+
id: string;
|
|
445
|
+
url: string;
|
|
446
|
+
height: string;
|
|
447
|
+
width: string;
|
|
448
|
+
size: string;
|
|
449
|
+
name: string;
|
|
450
|
+
} & {
|
|
451
|
+
date?: string | null | undefined;
|
|
452
|
+
}) | ({
|
|
453
|
+
__TYPE__: "FileLink";
|
|
454
|
+
} & {
|
|
455
|
+
kind: "file";
|
|
456
|
+
id: string;
|
|
457
|
+
url: string;
|
|
458
|
+
name: string;
|
|
459
|
+
size: string;
|
|
460
|
+
} & {
|
|
461
|
+
date?: string | null | undefined;
|
|
462
|
+
}) | ({
|
|
463
|
+
__TYPE__: "DocumentLink";
|
|
464
|
+
} & {
|
|
465
|
+
id: string;
|
|
466
|
+
}) | ({
|
|
467
|
+
__TYPE__: "ExternalLink";
|
|
468
|
+
} & {
|
|
469
|
+
url: string;
|
|
470
|
+
} & {
|
|
471
|
+
kind?: "web";
|
|
472
|
+
target?: string | null | undefined;
|
|
473
|
+
preview?: {
|
|
474
|
+
title?: string;
|
|
475
|
+
} | null | undefined;
|
|
476
|
+
});
|
|
477
|
+
start: number;
|
|
478
|
+
end: number;
|
|
479
|
+
type: "hyperlink";
|
|
480
|
+
} | {
|
|
481
|
+
data: string;
|
|
482
|
+
start: number;
|
|
483
|
+
end: number;
|
|
484
|
+
type: "label";
|
|
485
|
+
} | {
|
|
486
|
+
start: number;
|
|
487
|
+
end: number;
|
|
488
|
+
type: "strong" | "em" | "list-item";
|
|
489
|
+
})[];
|
|
490
|
+
};
|
|
440
491
|
} & {
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
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
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
492
|
+
label?: string;
|
|
493
|
+
direction?: string;
|
|
494
|
+
})[];
|
|
495
|
+
} | {
|
|
496
|
+
type: "tableCell";
|
|
497
|
+
content: ({
|
|
498
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
499
|
+
content: {
|
|
500
|
+
text: string;
|
|
501
|
+
} & {
|
|
502
|
+
spans?: ({
|
|
503
|
+
data: ({
|
|
504
|
+
__TYPE__: "ImageLink";
|
|
505
|
+
} & {
|
|
506
|
+
kind: "image";
|
|
507
|
+
id: string;
|
|
508
|
+
url: string;
|
|
509
|
+
height: string;
|
|
510
|
+
width: string;
|
|
511
|
+
size: string;
|
|
512
|
+
name: string;
|
|
513
|
+
} & {
|
|
514
|
+
date?: string | null | undefined;
|
|
515
|
+
}) | ({
|
|
516
|
+
__TYPE__: "FileLink";
|
|
517
|
+
} & {
|
|
518
|
+
kind: "file";
|
|
519
|
+
id: string;
|
|
520
|
+
url: string;
|
|
521
|
+
name: string;
|
|
522
|
+
size: string;
|
|
523
|
+
} & {
|
|
524
|
+
date?: string | null | undefined;
|
|
525
|
+
}) | ({
|
|
526
|
+
__TYPE__: "DocumentLink";
|
|
527
|
+
} & {
|
|
528
|
+
id: string;
|
|
529
|
+
}) | ({
|
|
530
|
+
__TYPE__: "ExternalLink";
|
|
531
|
+
} & {
|
|
532
|
+
url: string;
|
|
533
|
+
} & {
|
|
534
|
+
kind?: "web";
|
|
535
|
+
target?: string | null | undefined;
|
|
536
|
+
preview?: {
|
|
537
|
+
title?: string;
|
|
538
|
+
} | null | undefined;
|
|
539
|
+
});
|
|
540
|
+
start: number;
|
|
541
|
+
end: number;
|
|
542
|
+
type: "hyperlink";
|
|
543
|
+
} | {
|
|
544
|
+
data: string;
|
|
545
|
+
start: number;
|
|
546
|
+
end: number;
|
|
547
|
+
type: "label";
|
|
548
|
+
} | {
|
|
549
|
+
start: number;
|
|
550
|
+
end: number;
|
|
551
|
+
type: "strong" | "em" | "list-item";
|
|
552
|
+
})[];
|
|
553
|
+
};
|
|
503
554
|
} & {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
} & {
|
|
508
|
-
kind: "image";
|
|
509
|
-
id: string;
|
|
510
|
-
url: string;
|
|
511
|
-
height: string;
|
|
512
|
-
width: string;
|
|
513
|
-
size: string;
|
|
514
|
-
name: string;
|
|
515
|
-
} & {
|
|
516
|
-
date?: string | null | undefined;
|
|
517
|
-
}) | ({
|
|
518
|
-
__TYPE__: "FileLink";
|
|
519
|
-
} & {
|
|
520
|
-
kind: "file";
|
|
521
|
-
id: string;
|
|
522
|
-
url: string;
|
|
523
|
-
name: string;
|
|
524
|
-
size: string;
|
|
525
|
-
} & {
|
|
526
|
-
date?: string | null | undefined;
|
|
527
|
-
}) | ({
|
|
528
|
-
__TYPE__: "DocumentLink";
|
|
529
|
-
} & {
|
|
530
|
-
id: string;
|
|
531
|
-
}) | ({
|
|
532
|
-
__TYPE__: "ExternalLink";
|
|
533
|
-
} & {
|
|
534
|
-
url: string;
|
|
535
|
-
} & {
|
|
536
|
-
kind?: "web";
|
|
537
|
-
target?: string | null | undefined;
|
|
538
|
-
preview?: {
|
|
539
|
-
title?: string;
|
|
540
|
-
} | null | undefined;
|
|
541
|
-
});
|
|
542
|
-
start: number;
|
|
543
|
-
end: number;
|
|
544
|
-
type: "hyperlink";
|
|
545
|
-
} | {
|
|
546
|
-
data: string;
|
|
547
|
-
start: number;
|
|
548
|
-
end: number;
|
|
549
|
-
type: "label";
|
|
550
|
-
} | {
|
|
551
|
-
start: number;
|
|
552
|
-
end: number;
|
|
553
|
-
type: "strong" | "em" | "list-item";
|
|
554
|
-
})[];
|
|
555
|
-
};
|
|
556
|
-
} & {
|
|
557
|
-
label?: string;
|
|
558
|
-
direction?: string;
|
|
555
|
+
label?: string;
|
|
556
|
+
direction?: string;
|
|
557
|
+
})[];
|
|
559
558
|
})[];
|
|
560
|
-
}
|
|
561
|
-
}[];
|
|
562
|
-
}
|
|
563
|
-
__TYPE__: "
|
|
564
|
-
}
|
|
559
|
+
}[];
|
|
560
|
+
})[];
|
|
561
|
+
} | {
|
|
562
|
+
__TYPE__: "SeparatorContent";
|
|
563
|
+
};
|
|
565
564
|
};
|
|
566
565
|
repeat: {
|
|
567
566
|
__TYPE__: "GroupItemContent";
|
|
@@ -924,7 +923,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
924
923
|
label?: string | null | undefined;
|
|
925
924
|
direction?: string | null | undefined;
|
|
926
925
|
}) | ({
|
|
927
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
926
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
928
927
|
content: {
|
|
929
928
|
text: string;
|
|
930
929
|
} & {
|
|
@@ -983,143 +982,142 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
983
982
|
} & {
|
|
984
983
|
label?: string;
|
|
985
984
|
direction?: string;
|
|
986
|
-
})
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
content: {
|
|
991
|
-
type: "tableRow";
|
|
992
|
-
content: ({
|
|
993
|
-
type: "tableHeader";
|
|
985
|
+
}) | {
|
|
986
|
+
type: "table";
|
|
987
|
+
content: {
|
|
988
|
+
type: "tableRow";
|
|
994
989
|
content: ({
|
|
995
|
-
type: "
|
|
996
|
-
content: {
|
|
997
|
-
|
|
990
|
+
type: "tableHeader";
|
|
991
|
+
content: ({
|
|
992
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
993
|
+
content: {
|
|
994
|
+
text: string;
|
|
995
|
+
} & {
|
|
996
|
+
spans?: ({
|
|
997
|
+
data: ({
|
|
998
|
+
__TYPE__: "ImageLink";
|
|
999
|
+
} & {
|
|
1000
|
+
kind: "image";
|
|
1001
|
+
id: string;
|
|
1002
|
+
url: string;
|
|
1003
|
+
height: string;
|
|
1004
|
+
width: string;
|
|
1005
|
+
size: string;
|
|
1006
|
+
name: string;
|
|
1007
|
+
} & {
|
|
1008
|
+
date?: string | null | undefined;
|
|
1009
|
+
}) | ({
|
|
1010
|
+
__TYPE__: "FileLink";
|
|
1011
|
+
} & {
|
|
1012
|
+
kind: "file";
|
|
1013
|
+
id: string;
|
|
1014
|
+
url: string;
|
|
1015
|
+
name: string;
|
|
1016
|
+
size: string;
|
|
1017
|
+
} & {
|
|
1018
|
+
date?: string | null | undefined;
|
|
1019
|
+
}) | ({
|
|
1020
|
+
__TYPE__: "DocumentLink";
|
|
1021
|
+
} & {
|
|
1022
|
+
id: string;
|
|
1023
|
+
}) | ({
|
|
1024
|
+
__TYPE__: "ExternalLink";
|
|
1025
|
+
} & {
|
|
1026
|
+
url: string;
|
|
1027
|
+
} & {
|
|
1028
|
+
kind?: "web";
|
|
1029
|
+
target?: string | null | undefined;
|
|
1030
|
+
preview?: {
|
|
1031
|
+
title?: string;
|
|
1032
|
+
} | null | undefined;
|
|
1033
|
+
});
|
|
1034
|
+
start: number;
|
|
1035
|
+
end: number;
|
|
1036
|
+
type: "hyperlink";
|
|
1037
|
+
} | {
|
|
1038
|
+
data: string;
|
|
1039
|
+
start: number;
|
|
1040
|
+
end: number;
|
|
1041
|
+
type: "label";
|
|
1042
|
+
} | {
|
|
1043
|
+
start: number;
|
|
1044
|
+
end: number;
|
|
1045
|
+
type: "strong" | "em" | "list-item";
|
|
1046
|
+
})[];
|
|
1047
|
+
};
|
|
998
1048
|
} & {
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
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
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1049
|
+
label?: string;
|
|
1050
|
+
direction?: string;
|
|
1051
|
+
})[];
|
|
1052
|
+
} | {
|
|
1053
|
+
type: "tableCell";
|
|
1054
|
+
content: ({
|
|
1055
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
1056
|
+
content: {
|
|
1057
|
+
text: string;
|
|
1058
|
+
} & {
|
|
1059
|
+
spans?: ({
|
|
1060
|
+
data: ({
|
|
1061
|
+
__TYPE__: "ImageLink";
|
|
1062
|
+
} & {
|
|
1063
|
+
kind: "image";
|
|
1064
|
+
id: string;
|
|
1065
|
+
url: string;
|
|
1066
|
+
height: string;
|
|
1067
|
+
width: string;
|
|
1068
|
+
size: string;
|
|
1069
|
+
name: string;
|
|
1070
|
+
} & {
|
|
1071
|
+
date?: string | null | undefined;
|
|
1072
|
+
}) | ({
|
|
1073
|
+
__TYPE__: "FileLink";
|
|
1074
|
+
} & {
|
|
1075
|
+
kind: "file";
|
|
1076
|
+
id: string;
|
|
1077
|
+
url: string;
|
|
1078
|
+
name: string;
|
|
1079
|
+
size: string;
|
|
1080
|
+
} & {
|
|
1081
|
+
date?: string | null | undefined;
|
|
1082
|
+
}) | ({
|
|
1083
|
+
__TYPE__: "DocumentLink";
|
|
1084
|
+
} & {
|
|
1085
|
+
id: string;
|
|
1086
|
+
}) | ({
|
|
1087
|
+
__TYPE__: "ExternalLink";
|
|
1088
|
+
} & {
|
|
1089
|
+
url: string;
|
|
1090
|
+
} & {
|
|
1091
|
+
kind?: "web";
|
|
1092
|
+
target?: string | null | undefined;
|
|
1093
|
+
preview?: {
|
|
1094
|
+
title?: string;
|
|
1095
|
+
} | null | undefined;
|
|
1096
|
+
});
|
|
1097
|
+
start: number;
|
|
1098
|
+
end: number;
|
|
1099
|
+
type: "hyperlink";
|
|
1100
|
+
} | {
|
|
1101
|
+
data: string;
|
|
1102
|
+
start: number;
|
|
1103
|
+
end: number;
|
|
1104
|
+
type: "label";
|
|
1105
|
+
} | {
|
|
1106
|
+
start: number;
|
|
1107
|
+
end: number;
|
|
1108
|
+
type: "strong" | "em" | "list-item";
|
|
1109
|
+
})[];
|
|
1110
|
+
};
|
|
1061
1111
|
} & {
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
} & {
|
|
1066
|
-
kind: "image";
|
|
1067
|
-
id: string;
|
|
1068
|
-
url: string;
|
|
1069
|
-
height: string;
|
|
1070
|
-
width: string;
|
|
1071
|
-
size: string;
|
|
1072
|
-
name: string;
|
|
1073
|
-
} & {
|
|
1074
|
-
date?: string | null | undefined;
|
|
1075
|
-
}) | ({
|
|
1076
|
-
__TYPE__: "FileLink";
|
|
1077
|
-
} & {
|
|
1078
|
-
kind: "file";
|
|
1079
|
-
id: string;
|
|
1080
|
-
url: string;
|
|
1081
|
-
name: string;
|
|
1082
|
-
size: string;
|
|
1083
|
-
} & {
|
|
1084
|
-
date?: string | null | undefined;
|
|
1085
|
-
}) | ({
|
|
1086
|
-
__TYPE__: "DocumentLink";
|
|
1087
|
-
} & {
|
|
1088
|
-
id: string;
|
|
1089
|
-
}) | ({
|
|
1090
|
-
__TYPE__: "ExternalLink";
|
|
1091
|
-
} & {
|
|
1092
|
-
url: string;
|
|
1093
|
-
} & {
|
|
1094
|
-
kind?: "web";
|
|
1095
|
-
target?: string | null | undefined;
|
|
1096
|
-
preview?: {
|
|
1097
|
-
title?: string;
|
|
1098
|
-
} | null | undefined;
|
|
1099
|
-
});
|
|
1100
|
-
start: number;
|
|
1101
|
-
end: number;
|
|
1102
|
-
type: "hyperlink";
|
|
1103
|
-
} | {
|
|
1104
|
-
data: string;
|
|
1105
|
-
start: number;
|
|
1106
|
-
end: number;
|
|
1107
|
-
type: "label";
|
|
1108
|
-
} | {
|
|
1109
|
-
start: number;
|
|
1110
|
-
end: number;
|
|
1111
|
-
type: "strong" | "em" | "list-item";
|
|
1112
|
-
})[];
|
|
1113
|
-
};
|
|
1114
|
-
} & {
|
|
1115
|
-
label?: string;
|
|
1116
|
-
direction?: string;
|
|
1112
|
+
label?: string;
|
|
1113
|
+
direction?: string;
|
|
1114
|
+
})[];
|
|
1117
1115
|
})[];
|
|
1118
|
-
}
|
|
1119
|
-
}[];
|
|
1120
|
-
}
|
|
1121
|
-
__TYPE__: "
|
|
1122
|
-
}
|
|
1116
|
+
}[];
|
|
1117
|
+
})[];
|
|
1118
|
+
} | {
|
|
1119
|
+
__TYPE__: "SeparatorContent";
|
|
1120
|
+
}][];
|
|
1123
1121
|
}[];
|
|
1124
1122
|
};
|
|
1125
1123
|
export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
@@ -1484,7 +1482,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1484
1482
|
label?: string | null | undefined;
|
|
1485
1483
|
direction?: string | null | undefined;
|
|
1486
1484
|
}) | ({
|
|
1487
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1485
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
1488
1486
|
content: {
|
|
1489
1487
|
text: string;
|
|
1490
1488
|
} & {
|
|
@@ -1543,152 +1541,151 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1543
1541
|
} & {
|
|
1544
1542
|
label?: string;
|
|
1545
1543
|
direction?: string;
|
|
1546
|
-
})
|
|
1544
|
+
}) | {
|
|
1545
|
+
type: "table";
|
|
1546
|
+
content: {
|
|
1547
|
+
type: "tableRow";
|
|
1548
|
+
content: ({
|
|
1549
|
+
type: "tableHeader";
|
|
1550
|
+
content: ({
|
|
1551
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
1552
|
+
content: {
|
|
1553
|
+
text: string;
|
|
1554
|
+
} & {
|
|
1555
|
+
spans?: ({
|
|
1556
|
+
data: ({
|
|
1557
|
+
__TYPE__: "ImageLink";
|
|
1558
|
+
} & {
|
|
1559
|
+
kind: "image";
|
|
1560
|
+
id: string;
|
|
1561
|
+
url: string;
|
|
1562
|
+
height: string;
|
|
1563
|
+
width: string;
|
|
1564
|
+
size: string;
|
|
1565
|
+
name: string;
|
|
1566
|
+
} & {
|
|
1567
|
+
date?: string | null | undefined;
|
|
1568
|
+
}) | ({
|
|
1569
|
+
__TYPE__: "FileLink";
|
|
1570
|
+
} & {
|
|
1571
|
+
kind: "file";
|
|
1572
|
+
id: string;
|
|
1573
|
+
url: string;
|
|
1574
|
+
name: string;
|
|
1575
|
+
size: string;
|
|
1576
|
+
} & {
|
|
1577
|
+
date?: string | null | undefined;
|
|
1578
|
+
}) | ({
|
|
1579
|
+
__TYPE__: "DocumentLink";
|
|
1580
|
+
} & {
|
|
1581
|
+
id: string;
|
|
1582
|
+
}) | ({
|
|
1583
|
+
__TYPE__: "ExternalLink";
|
|
1584
|
+
} & {
|
|
1585
|
+
url: string;
|
|
1586
|
+
} & {
|
|
1587
|
+
kind?: "web";
|
|
1588
|
+
target?: string | null | undefined;
|
|
1589
|
+
preview?: {
|
|
1590
|
+
title?: string;
|
|
1591
|
+
} | null | undefined;
|
|
1592
|
+
});
|
|
1593
|
+
start: number;
|
|
1594
|
+
end: number;
|
|
1595
|
+
type: "hyperlink";
|
|
1596
|
+
} | {
|
|
1597
|
+
data: string;
|
|
1598
|
+
start: number;
|
|
1599
|
+
end: number;
|
|
1600
|
+
type: "label";
|
|
1601
|
+
} | {
|
|
1602
|
+
start: number;
|
|
1603
|
+
end: number;
|
|
1604
|
+
type: "strong" | "em" | "list-item";
|
|
1605
|
+
})[];
|
|
1606
|
+
};
|
|
1607
|
+
} & {
|
|
1608
|
+
label?: string;
|
|
1609
|
+
direction?: string;
|
|
1610
|
+
})[];
|
|
1611
|
+
} | {
|
|
1612
|
+
type: "tableCell";
|
|
1613
|
+
content: ({
|
|
1614
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
1615
|
+
content: {
|
|
1616
|
+
text: string;
|
|
1617
|
+
} & {
|
|
1618
|
+
spans?: ({
|
|
1619
|
+
data: ({
|
|
1620
|
+
__TYPE__: "ImageLink";
|
|
1621
|
+
} & {
|
|
1622
|
+
kind: "image";
|
|
1623
|
+
id: string;
|
|
1624
|
+
url: string;
|
|
1625
|
+
height: string;
|
|
1626
|
+
width: string;
|
|
1627
|
+
size: string;
|
|
1628
|
+
name: string;
|
|
1629
|
+
} & {
|
|
1630
|
+
date?: string | null | undefined;
|
|
1631
|
+
}) | ({
|
|
1632
|
+
__TYPE__: "FileLink";
|
|
1633
|
+
} & {
|
|
1634
|
+
kind: "file";
|
|
1635
|
+
id: string;
|
|
1636
|
+
url: string;
|
|
1637
|
+
name: string;
|
|
1638
|
+
size: string;
|
|
1639
|
+
} & {
|
|
1640
|
+
date?: string | null | undefined;
|
|
1641
|
+
}) | ({
|
|
1642
|
+
__TYPE__: "DocumentLink";
|
|
1643
|
+
} & {
|
|
1644
|
+
id: string;
|
|
1645
|
+
}) | ({
|
|
1646
|
+
__TYPE__: "ExternalLink";
|
|
1647
|
+
} & {
|
|
1648
|
+
url: string;
|
|
1649
|
+
} & {
|
|
1650
|
+
kind?: "web";
|
|
1651
|
+
target?: string | null | undefined;
|
|
1652
|
+
preview?: {
|
|
1653
|
+
title?: string;
|
|
1654
|
+
} | null | undefined;
|
|
1655
|
+
});
|
|
1656
|
+
start: number;
|
|
1657
|
+
end: number;
|
|
1658
|
+
type: "hyperlink";
|
|
1659
|
+
} | {
|
|
1660
|
+
data: string;
|
|
1661
|
+
start: number;
|
|
1662
|
+
end: number;
|
|
1663
|
+
type: "label";
|
|
1664
|
+
} | {
|
|
1665
|
+
start: number;
|
|
1666
|
+
end: number;
|
|
1667
|
+
type: "strong" | "em" | "list-item";
|
|
1668
|
+
})[];
|
|
1669
|
+
};
|
|
1670
|
+
} & {
|
|
1671
|
+
label?: string;
|
|
1672
|
+
direction?: string;
|
|
1673
|
+
})[];
|
|
1674
|
+
})[];
|
|
1675
|
+
}[];
|
|
1676
|
+
})[];
|
|
1547
1677
|
} | {
|
|
1548
1678
|
__TYPE__: "SeparatorContent";
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
spans?: ({
|
|
1560
|
-
data: ({
|
|
1561
|
-
__TYPE__: "ImageLink";
|
|
1562
|
-
} & {
|
|
1563
|
-
kind: "image";
|
|
1564
|
-
id: string;
|
|
1565
|
-
url: string;
|
|
1566
|
-
height: string;
|
|
1567
|
-
width: string;
|
|
1568
|
-
size: string;
|
|
1569
|
-
name: string;
|
|
1570
|
-
} & {
|
|
1571
|
-
date?: string | null | undefined;
|
|
1572
|
-
}) | ({
|
|
1573
|
-
__TYPE__: "FileLink";
|
|
1574
|
-
} & {
|
|
1575
|
-
kind: "file";
|
|
1576
|
-
id: string;
|
|
1577
|
-
url: string;
|
|
1578
|
-
name: string;
|
|
1579
|
-
size: string;
|
|
1580
|
-
} & {
|
|
1581
|
-
date?: string | null | undefined;
|
|
1582
|
-
}) | ({
|
|
1583
|
-
__TYPE__: "DocumentLink";
|
|
1584
|
-
} & {
|
|
1585
|
-
id: string;
|
|
1586
|
-
}) | ({
|
|
1587
|
-
__TYPE__: "ExternalLink";
|
|
1588
|
-
} & {
|
|
1589
|
-
url: string;
|
|
1590
|
-
} & {
|
|
1591
|
-
kind?: "web";
|
|
1592
|
-
target?: string | null | undefined;
|
|
1593
|
-
preview?: {
|
|
1594
|
-
title?: string;
|
|
1595
|
-
} | null | undefined;
|
|
1596
|
-
});
|
|
1597
|
-
start: number;
|
|
1598
|
-
end: number;
|
|
1599
|
-
type: "hyperlink";
|
|
1600
|
-
} | {
|
|
1601
|
-
data: string;
|
|
1602
|
-
start: number;
|
|
1603
|
-
end: number;
|
|
1604
|
-
type: "label";
|
|
1605
|
-
} | {
|
|
1606
|
-
start: number;
|
|
1607
|
-
end: number;
|
|
1608
|
-
type: "strong" | "em" | "list-item";
|
|
1609
|
-
})[];
|
|
1610
|
-
};
|
|
1611
|
-
} & {
|
|
1612
|
-
label?: string;
|
|
1613
|
-
direction?: string;
|
|
1614
|
-
})[];
|
|
1615
|
-
} | {
|
|
1616
|
-
type: "tableCell";
|
|
1617
|
-
content: ({
|
|
1618
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1619
|
-
content: {
|
|
1620
|
-
text: string;
|
|
1621
|
-
} & {
|
|
1622
|
-
spans?: ({
|
|
1623
|
-
data: ({
|
|
1624
|
-
__TYPE__: "ImageLink";
|
|
1625
|
-
} & {
|
|
1626
|
-
kind: "image";
|
|
1627
|
-
id: string;
|
|
1628
|
-
url: string;
|
|
1629
|
-
height: string;
|
|
1630
|
-
width: string;
|
|
1631
|
-
size: string;
|
|
1632
|
-
name: string;
|
|
1633
|
-
} & {
|
|
1634
|
-
date?: string | null | undefined;
|
|
1635
|
-
}) | ({
|
|
1636
|
-
__TYPE__: "FileLink";
|
|
1637
|
-
} & {
|
|
1638
|
-
kind: "file";
|
|
1639
|
-
id: string;
|
|
1640
|
-
url: string;
|
|
1641
|
-
name: string;
|
|
1642
|
-
size: string;
|
|
1643
|
-
} & {
|
|
1644
|
-
date?: string | null | undefined;
|
|
1645
|
-
}) | ({
|
|
1646
|
-
__TYPE__: "DocumentLink";
|
|
1647
|
-
} & {
|
|
1648
|
-
id: string;
|
|
1649
|
-
}) | ({
|
|
1650
|
-
__TYPE__: "ExternalLink";
|
|
1651
|
-
} & {
|
|
1652
|
-
url: string;
|
|
1653
|
-
} & {
|
|
1654
|
-
kind?: "web";
|
|
1655
|
-
target?: string | null | undefined;
|
|
1656
|
-
preview?: {
|
|
1657
|
-
title?: string;
|
|
1658
|
-
} | null | undefined;
|
|
1659
|
-
});
|
|
1660
|
-
start: number;
|
|
1661
|
-
end: number;
|
|
1662
|
-
type: "hyperlink";
|
|
1663
|
-
} | {
|
|
1664
|
-
data: string;
|
|
1665
|
-
start: number;
|
|
1666
|
-
end: number;
|
|
1667
|
-
type: "label";
|
|
1668
|
-
} | {
|
|
1669
|
-
start: number;
|
|
1670
|
-
end: number;
|
|
1671
|
-
type: "strong" | "em" | "list-item";
|
|
1672
|
-
})[];
|
|
1673
|
-
};
|
|
1674
|
-
} & {
|
|
1675
|
-
label?: string;
|
|
1676
|
-
direction?: string;
|
|
1677
|
-
})[];
|
|
1678
|
-
})[];
|
|
1679
|
-
}[];
|
|
1680
|
-
} & {
|
|
1681
|
-
__TYPE__: "TableContent";
|
|
1682
|
-
});
|
|
1683
|
-
};
|
|
1684
|
-
repeat: {
|
|
1685
|
-
__TYPE__: "GroupItemContent";
|
|
1686
|
-
value: [string, {
|
|
1687
|
-
type: string;
|
|
1688
|
-
__TYPE__: "EmptyContent";
|
|
1689
|
-
} | {
|
|
1690
|
-
__TYPE__: "BooleanContent";
|
|
1691
|
-
value: boolean;
|
|
1679
|
+
};
|
|
1680
|
+
};
|
|
1681
|
+
repeat: {
|
|
1682
|
+
__TYPE__: "GroupItemContent";
|
|
1683
|
+
value: [string, {
|
|
1684
|
+
type: string;
|
|
1685
|
+
__TYPE__: "EmptyContent";
|
|
1686
|
+
} | {
|
|
1687
|
+
__TYPE__: "BooleanContent";
|
|
1688
|
+
value: boolean;
|
|
1692
1689
|
} | ({
|
|
1693
1690
|
embed_url: string;
|
|
1694
1691
|
type: string;
|
|
@@ -2042,7 +2039,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2042
2039
|
label?: string | null | undefined;
|
|
2043
2040
|
direction?: string | null | undefined;
|
|
2044
2041
|
}) | ({
|
|
2045
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2042
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
2046
2043
|
content: {
|
|
2047
2044
|
text: string;
|
|
2048
2045
|
} & {
|
|
@@ -2101,143 +2098,142 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2101
2098
|
} & {
|
|
2102
2099
|
label?: string;
|
|
2103
2100
|
direction?: string;
|
|
2104
|
-
})
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
content: {
|
|
2109
|
-
type: "tableRow";
|
|
2110
|
-
content: ({
|
|
2111
|
-
type: "tableHeader";
|
|
2101
|
+
}) | {
|
|
2102
|
+
type: "table";
|
|
2103
|
+
content: {
|
|
2104
|
+
type: "tableRow";
|
|
2112
2105
|
content: ({
|
|
2113
|
-
type: "
|
|
2114
|
-
content: {
|
|
2115
|
-
|
|
2106
|
+
type: "tableHeader";
|
|
2107
|
+
content: ({
|
|
2108
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
2109
|
+
content: {
|
|
2110
|
+
text: string;
|
|
2111
|
+
} & {
|
|
2112
|
+
spans?: ({
|
|
2113
|
+
data: ({
|
|
2114
|
+
__TYPE__: "ImageLink";
|
|
2115
|
+
} & {
|
|
2116
|
+
kind: "image";
|
|
2117
|
+
id: string;
|
|
2118
|
+
url: string;
|
|
2119
|
+
height: string;
|
|
2120
|
+
width: string;
|
|
2121
|
+
size: string;
|
|
2122
|
+
name: string;
|
|
2123
|
+
} & {
|
|
2124
|
+
date?: string | null | undefined;
|
|
2125
|
+
}) | ({
|
|
2126
|
+
__TYPE__: "FileLink";
|
|
2127
|
+
} & {
|
|
2128
|
+
kind: "file";
|
|
2129
|
+
id: string;
|
|
2130
|
+
url: string;
|
|
2131
|
+
name: string;
|
|
2132
|
+
size: string;
|
|
2133
|
+
} & {
|
|
2134
|
+
date?: string | null | undefined;
|
|
2135
|
+
}) | ({
|
|
2136
|
+
__TYPE__: "DocumentLink";
|
|
2137
|
+
} & {
|
|
2138
|
+
id: string;
|
|
2139
|
+
}) | ({
|
|
2140
|
+
__TYPE__: "ExternalLink";
|
|
2141
|
+
} & {
|
|
2142
|
+
url: string;
|
|
2143
|
+
} & {
|
|
2144
|
+
kind?: "web";
|
|
2145
|
+
target?: string | null | undefined;
|
|
2146
|
+
preview?: {
|
|
2147
|
+
title?: string;
|
|
2148
|
+
} | null | undefined;
|
|
2149
|
+
});
|
|
2150
|
+
start: number;
|
|
2151
|
+
end: number;
|
|
2152
|
+
type: "hyperlink";
|
|
2153
|
+
} | {
|
|
2154
|
+
data: string;
|
|
2155
|
+
start: number;
|
|
2156
|
+
end: number;
|
|
2157
|
+
type: "label";
|
|
2158
|
+
} | {
|
|
2159
|
+
start: number;
|
|
2160
|
+
end: number;
|
|
2161
|
+
type: "strong" | "em" | "list-item";
|
|
2162
|
+
})[];
|
|
2163
|
+
};
|
|
2116
2164
|
} & {
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
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
|
-
|
|
2178
|
-
|
|
2165
|
+
label?: string;
|
|
2166
|
+
direction?: string;
|
|
2167
|
+
})[];
|
|
2168
|
+
} | {
|
|
2169
|
+
type: "tableCell";
|
|
2170
|
+
content: ({
|
|
2171
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
|
|
2172
|
+
content: {
|
|
2173
|
+
text: string;
|
|
2174
|
+
} & {
|
|
2175
|
+
spans?: ({
|
|
2176
|
+
data: ({
|
|
2177
|
+
__TYPE__: "ImageLink";
|
|
2178
|
+
} & {
|
|
2179
|
+
kind: "image";
|
|
2180
|
+
id: string;
|
|
2181
|
+
url: string;
|
|
2182
|
+
height: string;
|
|
2183
|
+
width: string;
|
|
2184
|
+
size: string;
|
|
2185
|
+
name: string;
|
|
2186
|
+
} & {
|
|
2187
|
+
date?: string | null | undefined;
|
|
2188
|
+
}) | ({
|
|
2189
|
+
__TYPE__: "FileLink";
|
|
2190
|
+
} & {
|
|
2191
|
+
kind: "file";
|
|
2192
|
+
id: string;
|
|
2193
|
+
url: string;
|
|
2194
|
+
name: string;
|
|
2195
|
+
size: string;
|
|
2196
|
+
} & {
|
|
2197
|
+
date?: string | null | undefined;
|
|
2198
|
+
}) | ({
|
|
2199
|
+
__TYPE__: "DocumentLink";
|
|
2200
|
+
} & {
|
|
2201
|
+
id: string;
|
|
2202
|
+
}) | ({
|
|
2203
|
+
__TYPE__: "ExternalLink";
|
|
2204
|
+
} & {
|
|
2205
|
+
url: string;
|
|
2206
|
+
} & {
|
|
2207
|
+
kind?: "web";
|
|
2208
|
+
target?: string | null | undefined;
|
|
2209
|
+
preview?: {
|
|
2210
|
+
title?: string;
|
|
2211
|
+
} | null | undefined;
|
|
2212
|
+
});
|
|
2213
|
+
start: number;
|
|
2214
|
+
end: number;
|
|
2215
|
+
type: "hyperlink";
|
|
2216
|
+
} | {
|
|
2217
|
+
data: string;
|
|
2218
|
+
start: number;
|
|
2219
|
+
end: number;
|
|
2220
|
+
type: "label";
|
|
2221
|
+
} | {
|
|
2222
|
+
start: number;
|
|
2223
|
+
end: number;
|
|
2224
|
+
type: "strong" | "em" | "list-item";
|
|
2225
|
+
})[];
|
|
2226
|
+
};
|
|
2179
2227
|
} & {
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
} & {
|
|
2184
|
-
kind: "image";
|
|
2185
|
-
id: string;
|
|
2186
|
-
url: string;
|
|
2187
|
-
height: string;
|
|
2188
|
-
width: string;
|
|
2189
|
-
size: string;
|
|
2190
|
-
name: string;
|
|
2191
|
-
} & {
|
|
2192
|
-
date?: string | null | undefined;
|
|
2193
|
-
}) | ({
|
|
2194
|
-
__TYPE__: "FileLink";
|
|
2195
|
-
} & {
|
|
2196
|
-
kind: "file";
|
|
2197
|
-
id: string;
|
|
2198
|
-
url: string;
|
|
2199
|
-
name: string;
|
|
2200
|
-
size: string;
|
|
2201
|
-
} & {
|
|
2202
|
-
date?: string | null | undefined;
|
|
2203
|
-
}) | ({
|
|
2204
|
-
__TYPE__: "DocumentLink";
|
|
2205
|
-
} & {
|
|
2206
|
-
id: string;
|
|
2207
|
-
}) | ({
|
|
2208
|
-
__TYPE__: "ExternalLink";
|
|
2209
|
-
} & {
|
|
2210
|
-
url: string;
|
|
2211
|
-
} & {
|
|
2212
|
-
kind?: "web";
|
|
2213
|
-
target?: string | null | undefined;
|
|
2214
|
-
preview?: {
|
|
2215
|
-
title?: string;
|
|
2216
|
-
} | null | undefined;
|
|
2217
|
-
});
|
|
2218
|
-
start: number;
|
|
2219
|
-
end: number;
|
|
2220
|
-
type: "hyperlink";
|
|
2221
|
-
} | {
|
|
2222
|
-
data: string;
|
|
2223
|
-
start: number;
|
|
2224
|
-
end: number;
|
|
2225
|
-
type: "label";
|
|
2226
|
-
} | {
|
|
2227
|
-
start: number;
|
|
2228
|
-
end: number;
|
|
2229
|
-
type: "strong" | "em" | "list-item";
|
|
2230
|
-
})[];
|
|
2231
|
-
};
|
|
2232
|
-
} & {
|
|
2233
|
-
label?: string;
|
|
2234
|
-
direction?: string;
|
|
2228
|
+
label?: string;
|
|
2229
|
+
direction?: string;
|
|
2230
|
+
})[];
|
|
2235
2231
|
})[];
|
|
2236
|
-
}
|
|
2237
|
-
}[];
|
|
2238
|
-
}
|
|
2239
|
-
__TYPE__: "
|
|
2240
|
-
}
|
|
2232
|
+
}[];
|
|
2233
|
+
})[];
|
|
2234
|
+
} | {
|
|
2235
|
+
__TYPE__: "SeparatorContent";
|
|
2236
|
+
}][];
|
|
2241
2237
|
}[];
|
|
2242
2238
|
}, WithTypes<{
|
|
2243
2239
|
repeat?: unknown[];
|
|
@@ -2563,7 +2559,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2563
2559
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2564
2560
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2565
2561
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2566
|
-
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>;
|
|
2562
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
|
|
2567
2563
|
content: t.IntersectionC<[t.TypeC<{
|
|
2568
2564
|
text: t.StringC;
|
|
2569
2565
|
}>, t.PartialC<{
|
|
@@ -2672,243 +2668,242 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2672
2668
|
}>, t.PartialC<{
|
|
2673
2669
|
label: t.StringC;
|
|
2674
2670
|
direction: t.StringC;
|
|
2675
|
-
}>]
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
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
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2671
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
2672
|
+
type: t.LiteralC<"table">;
|
|
2673
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2674
|
+
type: t.LiteralC<"tableRow">;
|
|
2675
|
+
content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
|
|
2676
|
+
type: t.LiteralC<"tableHeader">;
|
|
2677
|
+
content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2678
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
|
|
2679
|
+
content: t.IntersectionC<[t.TypeC<{
|
|
2680
|
+
text: t.StringC;
|
|
2681
|
+
}>, t.PartialC<{
|
|
2682
|
+
spans: t.Type<({
|
|
2683
|
+
data: ({
|
|
2684
|
+
__TYPE__: "ImageLink";
|
|
2685
|
+
} & {
|
|
2686
|
+
kind: "image";
|
|
2687
|
+
id: string;
|
|
2688
|
+
url: string;
|
|
2689
|
+
height: string;
|
|
2690
|
+
width: string;
|
|
2691
|
+
size: string;
|
|
2692
|
+
name: string;
|
|
2693
|
+
} & {
|
|
2694
|
+
date?: string | null | undefined;
|
|
2695
|
+
}) | ({
|
|
2696
|
+
__TYPE__: "FileLink";
|
|
2697
|
+
} & {
|
|
2698
|
+
kind: "file";
|
|
2699
|
+
id: string;
|
|
2700
|
+
url: string;
|
|
2701
|
+
name: string;
|
|
2702
|
+
size: string;
|
|
2703
|
+
} & {
|
|
2704
|
+
date?: string | null | undefined;
|
|
2705
|
+
}) | ({
|
|
2706
|
+
__TYPE__: "DocumentLink";
|
|
2707
|
+
} & {
|
|
2708
|
+
id: string;
|
|
2709
|
+
}) | ({
|
|
2710
|
+
__TYPE__: "ExternalLink";
|
|
2711
|
+
} & {
|
|
2712
|
+
url: string;
|
|
2713
|
+
} & {
|
|
2714
|
+
kind?: "web";
|
|
2715
|
+
target?: string | null | undefined;
|
|
2716
|
+
preview?: {
|
|
2717
|
+
title?: string;
|
|
2718
|
+
} | null | undefined;
|
|
2719
|
+
});
|
|
2720
|
+
start: number;
|
|
2721
|
+
end: number;
|
|
2722
|
+
type: "hyperlink";
|
|
2723
|
+
} | {
|
|
2724
|
+
data: string;
|
|
2725
|
+
start: number;
|
|
2726
|
+
end: number;
|
|
2727
|
+
type: "label";
|
|
2728
|
+
} | {
|
|
2729
|
+
start: number;
|
|
2730
|
+
end: number;
|
|
2731
|
+
type: "strong" | "em" | "list-item";
|
|
2732
|
+
})[], ({
|
|
2733
|
+
data: ({
|
|
2734
|
+
__TYPE__: "ImageLink";
|
|
2735
|
+
} & {
|
|
2736
|
+
kind: "image";
|
|
2737
|
+
id: string;
|
|
2738
|
+
url: string;
|
|
2739
|
+
height: string;
|
|
2740
|
+
width: string;
|
|
2741
|
+
size: string;
|
|
2742
|
+
name: string;
|
|
2743
|
+
} & {
|
|
2744
|
+
date?: string | null | undefined;
|
|
2745
|
+
}) | ({
|
|
2746
|
+
__TYPE__: "FileLink";
|
|
2747
|
+
} & {
|
|
2748
|
+
kind: "file";
|
|
2749
|
+
id: string;
|
|
2750
|
+
url: string;
|
|
2751
|
+
name: string;
|
|
2752
|
+
size: string;
|
|
2753
|
+
} & {
|
|
2754
|
+
date?: string | null | undefined;
|
|
2755
|
+
}) | ({
|
|
2756
|
+
__TYPE__: "DocumentLink";
|
|
2757
|
+
} & {
|
|
2758
|
+
id: string;
|
|
2759
|
+
}) | ({
|
|
2760
|
+
__TYPE__: "ExternalLink";
|
|
2761
|
+
} & {
|
|
2762
|
+
url: string;
|
|
2763
|
+
} & {
|
|
2764
|
+
kind?: "web";
|
|
2765
|
+
target?: string | null | undefined;
|
|
2766
|
+
preview?: {
|
|
2767
|
+
title?: string;
|
|
2768
|
+
} | null | undefined;
|
|
2769
|
+
});
|
|
2770
|
+
start: number;
|
|
2771
|
+
end: number;
|
|
2772
|
+
type: "hyperlink";
|
|
2773
|
+
} | {
|
|
2774
|
+
data: string;
|
|
2775
|
+
start: number;
|
|
2776
|
+
end: number;
|
|
2777
|
+
type: "label";
|
|
2778
|
+
} | {
|
|
2779
|
+
start: number;
|
|
2780
|
+
end: number;
|
|
2781
|
+
type: "strong" | "em" | "list-item";
|
|
2782
|
+
})[], unknown>;
|
|
2783
|
+
}>]>;
|
|
2784
|
+
}>, t.PartialC<{
|
|
2785
|
+
label: t.StringC;
|
|
2786
|
+
direction: t.StringC;
|
|
2787
|
+
}>]>>>;
|
|
2788
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2789
|
+
type: t.LiteralC<"tableCell">;
|
|
2790
|
+
content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2791
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
|
|
2792
|
+
content: t.IntersectionC<[t.TypeC<{
|
|
2793
|
+
text: t.StringC;
|
|
2794
|
+
}>, t.PartialC<{
|
|
2795
|
+
spans: t.Type<({
|
|
2796
|
+
data: ({
|
|
2797
|
+
__TYPE__: "ImageLink";
|
|
2798
|
+
} & {
|
|
2799
|
+
kind: "image";
|
|
2800
|
+
id: string;
|
|
2801
|
+
url: string;
|
|
2802
|
+
height: string;
|
|
2803
|
+
width: string;
|
|
2804
|
+
size: string;
|
|
2805
|
+
name: string;
|
|
2806
|
+
} & {
|
|
2807
|
+
date?: string | null | undefined;
|
|
2808
|
+
}) | ({
|
|
2809
|
+
__TYPE__: "FileLink";
|
|
2810
|
+
} & {
|
|
2811
|
+
kind: "file";
|
|
2812
|
+
id: string;
|
|
2813
|
+
url: string;
|
|
2814
|
+
name: string;
|
|
2815
|
+
size: string;
|
|
2816
|
+
} & {
|
|
2817
|
+
date?: string | null | undefined;
|
|
2818
|
+
}) | ({
|
|
2819
|
+
__TYPE__: "DocumentLink";
|
|
2820
|
+
} & {
|
|
2821
|
+
id: string;
|
|
2822
|
+
}) | ({
|
|
2823
|
+
__TYPE__: "ExternalLink";
|
|
2824
|
+
} & {
|
|
2825
|
+
url: string;
|
|
2826
|
+
} & {
|
|
2827
|
+
kind?: "web";
|
|
2828
|
+
target?: string | null | undefined;
|
|
2829
|
+
preview?: {
|
|
2830
|
+
title?: string;
|
|
2831
|
+
} | null | undefined;
|
|
2832
|
+
});
|
|
2833
|
+
start: number;
|
|
2834
|
+
end: number;
|
|
2835
|
+
type: "hyperlink";
|
|
2836
|
+
} | {
|
|
2837
|
+
data: string;
|
|
2838
|
+
start: number;
|
|
2839
|
+
end: number;
|
|
2840
|
+
type: "label";
|
|
2841
|
+
} | {
|
|
2842
|
+
start: number;
|
|
2843
|
+
end: number;
|
|
2844
|
+
type: "strong" | "em" | "list-item";
|
|
2845
|
+
})[], ({
|
|
2846
|
+
data: ({
|
|
2847
|
+
__TYPE__: "ImageLink";
|
|
2848
|
+
} & {
|
|
2849
|
+
kind: "image";
|
|
2850
|
+
id: string;
|
|
2851
|
+
url: string;
|
|
2852
|
+
height: string;
|
|
2853
|
+
width: string;
|
|
2854
|
+
size: string;
|
|
2855
|
+
name: string;
|
|
2856
|
+
} & {
|
|
2857
|
+
date?: string | null | undefined;
|
|
2858
|
+
}) | ({
|
|
2859
|
+
__TYPE__: "FileLink";
|
|
2860
|
+
} & {
|
|
2861
|
+
kind: "file";
|
|
2862
|
+
id: string;
|
|
2863
|
+
url: string;
|
|
2864
|
+
name: string;
|
|
2865
|
+
size: string;
|
|
2866
|
+
} & {
|
|
2867
|
+
date?: string | null | undefined;
|
|
2868
|
+
}) | ({
|
|
2869
|
+
__TYPE__: "DocumentLink";
|
|
2870
|
+
} & {
|
|
2871
|
+
id: string;
|
|
2872
|
+
}) | ({
|
|
2873
|
+
__TYPE__: "ExternalLink";
|
|
2874
|
+
} & {
|
|
2875
|
+
url: string;
|
|
2876
|
+
} & {
|
|
2877
|
+
kind?: "web";
|
|
2878
|
+
target?: string | null | undefined;
|
|
2879
|
+
preview?: {
|
|
2880
|
+
title?: string;
|
|
2881
|
+
} | null | undefined;
|
|
2882
|
+
});
|
|
2883
|
+
start: number;
|
|
2884
|
+
end: number;
|
|
2885
|
+
type: "hyperlink";
|
|
2886
|
+
} | {
|
|
2887
|
+
data: string;
|
|
2888
|
+
start: number;
|
|
2889
|
+
end: number;
|
|
2890
|
+
type: "label";
|
|
2891
|
+
} | {
|
|
2892
|
+
start: number;
|
|
2893
|
+
end: number;
|
|
2894
|
+
type: "strong" | "em" | "list-item";
|
|
2895
|
+
})[], unknown>;
|
|
2896
|
+
}>]>;
|
|
2897
|
+
}>, t.PartialC<{
|
|
2898
|
+
label: t.StringC;
|
|
2899
|
+
direction: t.StringC;
|
|
2900
|
+
}>]>>>;
|
|
2901
|
+
}>>]>>;
|
|
2902
|
+
}>>>;
|
|
2903
|
+
}>>]>>;
|
|
2904
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2905
|
+
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2909
2906
|
}>>, t.ExactC<t.TypeC<{
|
|
2910
|
-
__TYPE__: t.LiteralC<"TableContent">;
|
|
2911
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
2912
2907
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2913
2908
|
type: t.LiteralC<"Link">;
|
|
2914
2909
|
value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
@@ -3308,7 +3303,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
3308
3303
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3309
3304
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3310
3305
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3311
|
-
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>;
|
|
3306
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
|
|
3312
3307
|
content: t.IntersectionC<[t.TypeC<{
|
|
3313
3308
|
text: t.StringC;
|
|
3314
3309
|
}>, t.PartialC<{
|
|
@@ -3417,243 +3412,242 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
3417
3412
|
}>, t.PartialC<{
|
|
3418
3413
|
label: t.StringC;
|
|
3419
3414
|
direction: t.StringC;
|
|
3420
|
-
}>]
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3415
|
+
}>]>>, t.ExactC<t.TypeC<{
|
|
3416
|
+
type: t.LiteralC<"table">;
|
|
3417
|
+
content: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3418
|
+
type: t.LiteralC<"tableRow">;
|
|
3419
|
+
content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
|
|
3420
|
+
type: t.LiteralC<"tableHeader">;
|
|
3421
|
+
content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3422
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
|
|
3423
|
+
content: t.IntersectionC<[t.TypeC<{
|
|
3424
|
+
text: t.StringC;
|
|
3425
|
+
}>, t.PartialC<{
|
|
3426
|
+
spans: t.Type<({
|
|
3427
|
+
data: ({
|
|
3428
|
+
__TYPE__: "ImageLink";
|
|
3429
|
+
} & {
|
|
3430
|
+
kind: "image";
|
|
3431
|
+
id: string;
|
|
3432
|
+
url: string;
|
|
3433
|
+
height: string;
|
|
3434
|
+
width: string;
|
|
3435
|
+
size: string;
|
|
3436
|
+
name: string;
|
|
3437
|
+
} & {
|
|
3438
|
+
date?: string | null | undefined;
|
|
3439
|
+
}) | ({
|
|
3440
|
+
__TYPE__: "FileLink";
|
|
3441
|
+
} & {
|
|
3442
|
+
kind: "file";
|
|
3443
|
+
id: string;
|
|
3444
|
+
url: string;
|
|
3445
|
+
name: string;
|
|
3446
|
+
size: string;
|
|
3447
|
+
} & {
|
|
3448
|
+
date?: string | null | undefined;
|
|
3449
|
+
}) | ({
|
|
3450
|
+
__TYPE__: "DocumentLink";
|
|
3451
|
+
} & {
|
|
3452
|
+
id: string;
|
|
3453
|
+
}) | ({
|
|
3454
|
+
__TYPE__: "ExternalLink";
|
|
3455
|
+
} & {
|
|
3456
|
+
url: string;
|
|
3457
|
+
} & {
|
|
3458
|
+
kind?: "web";
|
|
3459
|
+
target?: string | null | undefined;
|
|
3460
|
+
preview?: {
|
|
3461
|
+
title?: string;
|
|
3462
|
+
} | null | undefined;
|
|
3463
|
+
});
|
|
3464
|
+
start: number;
|
|
3465
|
+
end: number;
|
|
3466
|
+
type: "hyperlink";
|
|
3467
|
+
} | {
|
|
3468
|
+
data: string;
|
|
3469
|
+
start: number;
|
|
3470
|
+
end: number;
|
|
3471
|
+
type: "label";
|
|
3472
|
+
} | {
|
|
3473
|
+
start: number;
|
|
3474
|
+
end: number;
|
|
3475
|
+
type: "strong" | "em" | "list-item";
|
|
3476
|
+
})[], ({
|
|
3477
|
+
data: ({
|
|
3478
|
+
__TYPE__: "ImageLink";
|
|
3479
|
+
} & {
|
|
3480
|
+
kind: "image";
|
|
3481
|
+
id: string;
|
|
3482
|
+
url: string;
|
|
3483
|
+
height: string;
|
|
3484
|
+
width: string;
|
|
3485
|
+
size: string;
|
|
3486
|
+
name: string;
|
|
3487
|
+
} & {
|
|
3488
|
+
date?: string | null | undefined;
|
|
3489
|
+
}) | ({
|
|
3490
|
+
__TYPE__: "FileLink";
|
|
3491
|
+
} & {
|
|
3492
|
+
kind: "file";
|
|
3493
|
+
id: string;
|
|
3494
|
+
url: string;
|
|
3495
|
+
name: string;
|
|
3496
|
+
size: string;
|
|
3497
|
+
} & {
|
|
3498
|
+
date?: string | null | undefined;
|
|
3499
|
+
}) | ({
|
|
3500
|
+
__TYPE__: "DocumentLink";
|
|
3501
|
+
} & {
|
|
3502
|
+
id: string;
|
|
3503
|
+
}) | ({
|
|
3504
|
+
__TYPE__: "ExternalLink";
|
|
3505
|
+
} & {
|
|
3506
|
+
url: string;
|
|
3507
|
+
} & {
|
|
3508
|
+
kind?: "web";
|
|
3509
|
+
target?: string | null | undefined;
|
|
3510
|
+
preview?: {
|
|
3511
|
+
title?: string;
|
|
3512
|
+
} | null | undefined;
|
|
3513
|
+
});
|
|
3514
|
+
start: number;
|
|
3515
|
+
end: number;
|
|
3516
|
+
type: "hyperlink";
|
|
3517
|
+
} | {
|
|
3518
|
+
data: string;
|
|
3519
|
+
start: number;
|
|
3520
|
+
end: number;
|
|
3521
|
+
type: "label";
|
|
3522
|
+
} | {
|
|
3523
|
+
start: number;
|
|
3524
|
+
end: number;
|
|
3525
|
+
type: "strong" | "em" | "list-item";
|
|
3526
|
+
})[], unknown>;
|
|
3527
|
+
}>]>;
|
|
3432
3528
|
}>, t.PartialC<{
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
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
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3529
|
+
label: t.StringC;
|
|
3530
|
+
direction: t.StringC;
|
|
3531
|
+
}>]>>>;
|
|
3532
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3533
|
+
type: t.LiteralC<"tableCell">;
|
|
3534
|
+
content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3535
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
|
|
3536
|
+
content: t.IntersectionC<[t.TypeC<{
|
|
3537
|
+
text: t.StringC;
|
|
3538
|
+
}>, t.PartialC<{
|
|
3539
|
+
spans: t.Type<({
|
|
3540
|
+
data: ({
|
|
3541
|
+
__TYPE__: "ImageLink";
|
|
3542
|
+
} & {
|
|
3543
|
+
kind: "image";
|
|
3544
|
+
id: string;
|
|
3545
|
+
url: string;
|
|
3546
|
+
height: string;
|
|
3547
|
+
width: string;
|
|
3548
|
+
size: string;
|
|
3549
|
+
name: string;
|
|
3550
|
+
} & {
|
|
3551
|
+
date?: string | null | undefined;
|
|
3552
|
+
}) | ({
|
|
3553
|
+
__TYPE__: "FileLink";
|
|
3554
|
+
} & {
|
|
3555
|
+
kind: "file";
|
|
3556
|
+
id: string;
|
|
3557
|
+
url: string;
|
|
3558
|
+
name: string;
|
|
3559
|
+
size: string;
|
|
3560
|
+
} & {
|
|
3561
|
+
date?: string | null | undefined;
|
|
3562
|
+
}) | ({
|
|
3563
|
+
__TYPE__: "DocumentLink";
|
|
3564
|
+
} & {
|
|
3565
|
+
id: string;
|
|
3566
|
+
}) | ({
|
|
3567
|
+
__TYPE__: "ExternalLink";
|
|
3568
|
+
} & {
|
|
3569
|
+
url: string;
|
|
3570
|
+
} & {
|
|
3571
|
+
kind?: "web";
|
|
3572
|
+
target?: string | null | undefined;
|
|
3573
|
+
preview?: {
|
|
3574
|
+
title?: string;
|
|
3575
|
+
} | null | undefined;
|
|
3576
|
+
});
|
|
3577
|
+
start: number;
|
|
3578
|
+
end: number;
|
|
3579
|
+
type: "hyperlink";
|
|
3580
|
+
} | {
|
|
3581
|
+
data: string;
|
|
3582
|
+
start: number;
|
|
3583
|
+
end: number;
|
|
3584
|
+
type: "label";
|
|
3585
|
+
} | {
|
|
3586
|
+
start: number;
|
|
3587
|
+
end: number;
|
|
3588
|
+
type: "strong" | "em" | "list-item";
|
|
3589
|
+
})[], ({
|
|
3590
|
+
data: ({
|
|
3591
|
+
__TYPE__: "ImageLink";
|
|
3592
|
+
} & {
|
|
3593
|
+
kind: "image";
|
|
3594
|
+
id: string;
|
|
3595
|
+
url: string;
|
|
3596
|
+
height: string;
|
|
3597
|
+
width: string;
|
|
3598
|
+
size: string;
|
|
3599
|
+
name: string;
|
|
3600
|
+
} & {
|
|
3601
|
+
date?: string | null | undefined;
|
|
3602
|
+
}) | ({
|
|
3603
|
+
__TYPE__: "FileLink";
|
|
3604
|
+
} & {
|
|
3605
|
+
kind: "file";
|
|
3606
|
+
id: string;
|
|
3607
|
+
url: string;
|
|
3608
|
+
name: string;
|
|
3609
|
+
size: string;
|
|
3610
|
+
} & {
|
|
3611
|
+
date?: string | null | undefined;
|
|
3612
|
+
}) | ({
|
|
3613
|
+
__TYPE__: "DocumentLink";
|
|
3614
|
+
} & {
|
|
3615
|
+
id: string;
|
|
3616
|
+
}) | ({
|
|
3617
|
+
__TYPE__: "ExternalLink";
|
|
3618
|
+
} & {
|
|
3619
|
+
url: string;
|
|
3620
|
+
} & {
|
|
3621
|
+
kind?: "web";
|
|
3622
|
+
target?: string | null | undefined;
|
|
3623
|
+
preview?: {
|
|
3624
|
+
title?: string;
|
|
3625
|
+
} | null | undefined;
|
|
3626
|
+
});
|
|
3627
|
+
start: number;
|
|
3628
|
+
end: number;
|
|
3629
|
+
type: "hyperlink";
|
|
3630
|
+
} | {
|
|
3631
|
+
data: string;
|
|
3632
|
+
start: number;
|
|
3633
|
+
end: number;
|
|
3634
|
+
type: "label";
|
|
3635
|
+
} | {
|
|
3636
|
+
start: number;
|
|
3637
|
+
end: number;
|
|
3638
|
+
type: "strong" | "em" | "list-item";
|
|
3639
|
+
})[], unknown>;
|
|
3640
|
+
}>]>;
|
|
3545
3641
|
}>, t.PartialC<{
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
width: string;
|
|
3555
|
-
size: string;
|
|
3556
|
-
name: string;
|
|
3557
|
-
} & {
|
|
3558
|
-
date?: string | null | undefined;
|
|
3559
|
-
}) | ({
|
|
3560
|
-
__TYPE__: "FileLink";
|
|
3561
|
-
} & {
|
|
3562
|
-
kind: "file";
|
|
3563
|
-
id: string;
|
|
3564
|
-
url: string;
|
|
3565
|
-
name: string;
|
|
3566
|
-
size: string;
|
|
3567
|
-
} & {
|
|
3568
|
-
date?: string | null | undefined;
|
|
3569
|
-
}) | ({
|
|
3570
|
-
__TYPE__: "DocumentLink";
|
|
3571
|
-
} & {
|
|
3572
|
-
id: string;
|
|
3573
|
-
}) | ({
|
|
3574
|
-
__TYPE__: "ExternalLink";
|
|
3575
|
-
} & {
|
|
3576
|
-
url: string;
|
|
3577
|
-
} & {
|
|
3578
|
-
kind?: "web";
|
|
3579
|
-
target?: string | null | undefined;
|
|
3580
|
-
preview?: {
|
|
3581
|
-
title?: string;
|
|
3582
|
-
} | null | undefined;
|
|
3583
|
-
});
|
|
3584
|
-
start: number;
|
|
3585
|
-
end: number;
|
|
3586
|
-
type: "hyperlink";
|
|
3587
|
-
} | {
|
|
3588
|
-
data: string;
|
|
3589
|
-
start: number;
|
|
3590
|
-
end: number;
|
|
3591
|
-
type: "label";
|
|
3592
|
-
} | {
|
|
3593
|
-
start: number;
|
|
3594
|
-
end: number;
|
|
3595
|
-
type: "strong" | "em" | "list-item";
|
|
3596
|
-
})[], ({
|
|
3597
|
-
data: ({
|
|
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
|
-
start: number;
|
|
3635
|
-
end: number;
|
|
3636
|
-
type: "hyperlink";
|
|
3637
|
-
} | {
|
|
3638
|
-
data: string;
|
|
3639
|
-
start: number;
|
|
3640
|
-
end: number;
|
|
3641
|
-
type: "label";
|
|
3642
|
-
} | {
|
|
3643
|
-
start: number;
|
|
3644
|
-
end: number;
|
|
3645
|
-
type: "strong" | "em" | "list-item";
|
|
3646
|
-
})[], unknown>;
|
|
3647
|
-
}>]>;
|
|
3648
|
-
}>, t.PartialC<{
|
|
3649
|
-
label: t.StringC;
|
|
3650
|
-
direction: t.StringC;
|
|
3651
|
-
}>]>>>;
|
|
3652
|
-
}>>]>>;
|
|
3653
|
-
}>>>;
|
|
3642
|
+
label: t.StringC;
|
|
3643
|
+
direction: t.StringC;
|
|
3644
|
+
}>]>>>;
|
|
3645
|
+
}>>]>>;
|
|
3646
|
+
}>>>;
|
|
3647
|
+
}>>]>>;
|
|
3648
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3649
|
+
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3654
3650
|
}>>, t.ExactC<t.TypeC<{
|
|
3655
|
-
__TYPE__: t.LiteralC<"TableContent">;
|
|
3656
|
-
}>>]>, t.ExactC<t.TypeC<{
|
|
3657
3651
|
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3658
3652
|
type: t.LiteralC<"Link">;
|
|
3659
3653
|
value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
|