@prismicio/editor-fields 0.4.60 → 0.4.62-alpha.jp-table-render-default-layout.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/core/MediaLibrary/MediaLibrary.d.ts +4 -3
  2. package/dist/core/MediaLibrary/components/MediaLibraryActions.d.ts +2 -2
  3. package/dist/core/MediaLibrary/components/MediaLibraryContext.d.ts +7 -5
  4. package/dist/core/MediaLibrary/components/MediaLibraryDropzone.d.ts +3 -2
  5. package/dist/core/MediaLibrary/components/MediaLibrarySkeleton.d.ts +2 -2
  6. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +33 -0
  7. package/dist/core/MediaLibrary/index.d.ts +0 -1
  8. package/dist/core/service/customType.d.ts +1972 -8
  9. package/dist/core/service/document.d.ts +1590 -3
  10. package/dist/core/service/documentSearch.d.ts +15 -0
  11. package/dist/fields/ImageField/Components/ImageFieldCard.d.ts +1 -1
  12. package/dist/fields/ImageField/Components/ImageFieldDropZone.d.ts +9 -0
  13. package/dist/fields/ImageField/useImageField.d.ts +30 -0
  14. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +37 -0
  15. package/dist/fields/LinkField/Documents/documentsData.d.ts +6 -0
  16. package/dist/fields/RichTextField/RichTextField.d.ts +6 -5
  17. package/dist/fields/RichTextField/extensions/Bold/BoldModel.d.ts +2 -2
  18. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +30 -0
  19. package/dist/fields/RichTextField/extensions/Italic/ItalicModel.d.ts +2 -2
  20. package/dist/fields/RichTextField/extensions/Label/LabelModel.d.ts +2 -2
  21. package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +2 -2
  22. package/dist/fields/RichTextField/extensions/Table/Table.d.ts +2 -0
  23. package/dist/fields/RichTextField/extensions/extensions.d.ts +4 -3
  24. package/dist/fields/RichTextField/models/EditorExtension.d.ts +34 -20
  25. package/dist/fields/RichTextField/models/RichTextConfig.d.ts +3 -2
  26. package/dist/fields/RichTextField/types.d.ts +37 -0
  27. package/dist/fields/TableField/TableField.d.ts +12 -0
  28. package/dist/fields/TableField/index.d.ts +1 -0
  29. package/dist/fields/utils.d.ts +2 -2
  30. package/dist/index.cjs.js +56 -53
  31. package/dist/index.d.ts +1 -1
  32. package/dist/index.es.js +30129 -25537
  33. package/dist/slices/utils.d.ts +138 -0
  34. package/package.json +9 -5
  35. package/dist/constants/localStorage.d.ts +0 -1
  36. package/dist/core/MediaLibrary/components/NewMediaLibraryFeaturesBanner.d.ts +0 -6
  37. package/dist/fields/RichTextField/extensions/Image/ImageLinkControl.d.ts +0 -0
@@ -140,6 +140,13 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
140
140
  custom_type_id: z.ZodOptional<z.ZodString>;
141
141
  summary: z.ZodOptional<z.ZodString>;
142
142
  author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
143
+ highlights: z.ZodOptional<z.ZodObject<{
144
+ uid: z.ZodOptional<z.ZodString>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ uid?: string | undefined;
147
+ }, {
148
+ uid?: string | undefined;
149
+ }>>;
143
150
  }>, "strip", z.ZodTypeAny, {
144
151
  tags: string[];
145
152
  version_id: string;
@@ -149,6 +156,9 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
149
156
  custom_type_id?: string | undefined;
150
157
  summary?: string | undefined;
151
158
  author_ids?: string[] | undefined;
159
+ highlights?: {
160
+ uid?: string | undefined;
161
+ } | undefined;
152
162
  }, {
153
163
  tags: string[];
154
164
  version_id: string;
@@ -158,6 +168,9 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
158
168
  custom_type_id?: string | undefined;
159
169
  summary?: string | undefined;
160
170
  author_ids?: string[] | undefined;
171
+ highlights?: {
172
+ uid?: string | undefined;
173
+ } | undefined;
161
174
  }>>;
162
175
  export declare function isDocumentVersion(value: unknown): value is z.infer<typeof documentVersionSchema>;
163
176
  export declare function isDocumentSearchVersion(value: unknown): value is z.infer<typeof documentSearchVersionSchema>;
@@ -635,6 +648,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
635
648
  custom_type_id: z.ZodOptional<z.ZodString>;
636
649
  summary: z.ZodOptional<z.ZodString>;
637
650
  author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
651
+ highlights: z.ZodOptional<z.ZodObject<{
652
+ uid: z.ZodOptional<z.ZodString>;
653
+ }, "strip", z.ZodTypeAny, {
654
+ uid?: string | undefined;
655
+ }, {
656
+ uid?: string | undefined;
657
+ }>>;
638
658
  }>, "strip", z.ZodTypeAny, {
639
659
  tags: string[];
640
660
  version_id: string;
@@ -644,6 +664,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
644
664
  custom_type_id?: string | undefined;
645
665
  summary?: string | undefined;
646
666
  author_ids?: string[] | undefined;
667
+ highlights?: {
668
+ uid?: string | undefined;
669
+ } | undefined;
647
670
  }, {
648
671
  tags: string[];
649
672
  version_id: string;
@@ -653,6 +676,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
653
676
  custom_type_id?: string | undefined;
654
677
  summary?: string | undefined;
655
678
  author_ids?: string[] | undefined;
679
+ highlights?: {
680
+ uid?: string | undefined;
681
+ } | undefined;
656
682
  }>>, "many">;
657
683
  locale_id: z.ZodOptional<z.ZodString>;
658
684
  }, "strip", z.ZodTypeAny, {
@@ -678,6 +704,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
678
704
  custom_type_id?: string | undefined;
679
705
  summary?: string | undefined;
680
706
  author_ids?: string[] | undefined;
707
+ highlights?: {
708
+ uid?: string | undefined;
709
+ } | undefined;
681
710
  })[];
682
711
  locale_id?: string | undefined;
683
712
  }, {
@@ -702,6 +731,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
702
731
  custom_type_id?: string | undefined;
703
732
  summary?: string | undefined;
704
733
  author_ids?: string[] | undefined;
734
+ highlights?: {
735
+ uid?: string | undefined;
736
+ } | undefined;
705
737
  })[];
706
738
  title?: string | null | undefined;
707
739
  locale_id?: string | undefined;
@@ -729,6 +761,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
729
761
  custom_type_id?: string | undefined;
730
762
  summary?: string | undefined;
731
763
  author_ids?: string[] | undefined;
764
+ highlights?: {
765
+ uid?: string | undefined;
766
+ } | undefined;
732
767
  })[];
733
768
  }, {
734
769
  id: string;
@@ -752,6 +787,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
752
787
  custom_type_id?: string | undefined;
753
788
  summary?: string | undefined;
754
789
  author_ids?: string[] | undefined;
790
+ highlights?: {
791
+ uid?: string | undefined;
792
+ } | undefined;
755
793
  })[];
756
794
  title?: string | null | undefined;
757
795
  locale_id?: string | undefined;
@@ -799,6 +837,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
799
837
  custom_type_id: z.ZodOptional<z.ZodString>;
800
838
  summary: z.ZodOptional<z.ZodString>;
801
839
  author_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
840
+ highlights: z.ZodOptional<z.ZodObject<{
841
+ uid: z.ZodOptional<z.ZodString>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ uid?: string | undefined;
844
+ }, {
845
+ uid?: string | undefined;
846
+ }>>;
802
847
  }>, "strip", z.ZodTypeAny, {
803
848
  tags: string[];
804
849
  version_id: string;
@@ -808,6 +853,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
808
853
  custom_type_id?: string | undefined;
809
854
  summary?: string | undefined;
810
855
  author_ids?: string[] | undefined;
856
+ highlights?: {
857
+ uid?: string | undefined;
858
+ } | undefined;
811
859
  }, {
812
860
  tags: string[];
813
861
  version_id: string;
@@ -817,6 +865,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
817
865
  custom_type_id?: string | undefined;
818
866
  summary?: string | undefined;
819
867
  author_ids?: string[] | undefined;
868
+ highlights?: {
869
+ uid?: string | undefined;
870
+ } | undefined;
820
871
  }>>, "many">;
821
872
  locale_id: z.ZodOptional<z.ZodString>;
822
873
  }, "strip", z.ZodTypeAny, {
@@ -842,6 +893,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
842
893
  custom_type_id?: string | undefined;
843
894
  summary?: string | undefined;
844
895
  author_ids?: string[] | undefined;
896
+ highlights?: {
897
+ uid?: string | undefined;
898
+ } | undefined;
845
899
  })[];
846
900
  locale_id?: string | undefined;
847
901
  }, {
@@ -866,6 +920,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
866
920
  custom_type_id?: string | undefined;
867
921
  summary?: string | undefined;
868
922
  author_ids?: string[] | undefined;
923
+ highlights?: {
924
+ uid?: string | undefined;
925
+ } | undefined;
869
926
  })[];
870
927
  title?: string | null | undefined;
871
928
  locale_id?: string | undefined;
@@ -893,6 +950,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
893
950
  custom_type_id?: string | undefined;
894
951
  summary?: string | undefined;
895
952
  author_ids?: string[] | undefined;
953
+ highlights?: {
954
+ uid?: string | undefined;
955
+ } | undefined;
896
956
  })[];
897
957
  }, {
898
958
  id: string;
@@ -916,6 +976,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
916
976
  custom_type_id?: string | undefined;
917
977
  summary?: string | undefined;
918
978
  author_ids?: string[] | undefined;
979
+ highlights?: {
980
+ uid?: string | undefined;
981
+ } | undefined;
919
982
  })[];
920
983
  title?: string | null | undefined;
921
984
  locale_id?: string | undefined;
@@ -945,6 +1008,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
945
1008
  custom_type_id?: string | undefined;
946
1009
  summary?: string | undefined;
947
1010
  author_ids?: string[] | undefined;
1011
+ highlights?: {
1012
+ uid?: string | undefined;
1013
+ } | undefined;
948
1014
  })[];
949
1015
  }[];
950
1016
  }, {
@@ -970,6 +1036,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
970
1036
  custom_type_id?: string | undefined;
971
1037
  summary?: string | undefined;
972
1038
  author_ids?: string[] | undefined;
1039
+ highlights?: {
1040
+ uid?: string | undefined;
1041
+ } | undefined;
973
1042
  })[];
974
1043
  title?: string | null | undefined;
975
1044
  locale_id?: string | undefined;
@@ -989,11 +1058,11 @@ export interface GetDocumentListArgs {
989
1058
  signal?: AbortSignal | null | undefined;
990
1059
  limit?: number;
991
1060
  cursor?: string;
992
- status?: string[];
1061
+ statuses?: string[];
993
1062
  authors?: string[];
994
1063
  language?: string;
995
- group_lang_id?: string;
996
- document_id?: string[];
1064
+ groupLangIds?: string[];
1065
+ documentIds?: string[];
997
1066
  customTypes?: string[];
998
1067
  tags?: string[];
999
1068
  term?: string;
@@ -1361,6 +1430,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1361
1430
  }))[];
1362
1431
  } | {
1363
1432
  __TYPE__: "SeparatorContent";
1433
+ } | {
1434
+ __TYPE__: "TableContent";
1435
+ content: {
1436
+ type: "tableRow";
1437
+ content: ({
1438
+ type: "tableHeader";
1439
+ content: {
1440
+ __TYPE__: "StructuredTextContent";
1441
+ value: ({
1442
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1443
+ content: {
1444
+ text: string;
1445
+ } & {
1446
+ spans?: ({
1447
+ data: ({
1448
+ __TYPE__: "ImageLink";
1449
+ } & {
1450
+ kind: "image";
1451
+ id: string;
1452
+ url: string;
1453
+ height: string;
1454
+ width: string;
1455
+ size: string;
1456
+ name: string;
1457
+ } & {
1458
+ date?: string | null | undefined;
1459
+ }) | ({
1460
+ __TYPE__: "FileLink";
1461
+ } & {
1462
+ kind: "file";
1463
+ id: string;
1464
+ url: string;
1465
+ name: string;
1466
+ size: string;
1467
+ } & {
1468
+ date?: string | null | undefined;
1469
+ }) | ({
1470
+ __TYPE__: "DocumentLink";
1471
+ } & {
1472
+ id: string;
1473
+ }) | ({
1474
+ __TYPE__: "ExternalLink";
1475
+ } & {
1476
+ url: string;
1477
+ } & {
1478
+ kind?: "web" | undefined;
1479
+ target?: string | null | undefined;
1480
+ preview?: {
1481
+ title?: string | undefined;
1482
+ } | null | undefined;
1483
+ });
1484
+ start: number;
1485
+ end: number;
1486
+ type: "hyperlink";
1487
+ } | {
1488
+ data: string;
1489
+ start: number;
1490
+ end: number;
1491
+ type: "label";
1492
+ } | {
1493
+ start: number;
1494
+ end: number;
1495
+ type: "strong" | "em" | "list-item";
1496
+ })[] | undefined;
1497
+ };
1498
+ } & {
1499
+ label?: string | undefined;
1500
+ direction?: string | undefined;
1501
+ })[];
1502
+ };
1503
+ } | {
1504
+ type: "tableCell";
1505
+ content: {
1506
+ __TYPE__: "StructuredTextContent";
1507
+ value: ({
1508
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1509
+ content: {
1510
+ text: string;
1511
+ } & {
1512
+ spans?: ({
1513
+ data: ({
1514
+ __TYPE__: "ImageLink";
1515
+ } & {
1516
+ kind: "image";
1517
+ id: string;
1518
+ url: string;
1519
+ height: string;
1520
+ width: string;
1521
+ size: string;
1522
+ name: string;
1523
+ } & {
1524
+ date?: string | null | undefined;
1525
+ }) | ({
1526
+ __TYPE__: "FileLink";
1527
+ } & {
1528
+ kind: "file";
1529
+ id: string;
1530
+ url: string;
1531
+ name: string;
1532
+ size: string;
1533
+ } & {
1534
+ date?: string | null | undefined;
1535
+ }) | ({
1536
+ __TYPE__: "DocumentLink";
1537
+ } & {
1538
+ id: string;
1539
+ }) | ({
1540
+ __TYPE__: "ExternalLink";
1541
+ } & {
1542
+ url: string;
1543
+ } & {
1544
+ kind?: "web" | undefined;
1545
+ target?: string | null | undefined;
1546
+ preview?: {
1547
+ title?: string | undefined;
1548
+ } | null | undefined;
1549
+ });
1550
+ start: number;
1551
+ end: number;
1552
+ type: "hyperlink";
1553
+ } | {
1554
+ data: string;
1555
+ start: number;
1556
+ end: number;
1557
+ type: "label";
1558
+ } | {
1559
+ start: number;
1560
+ end: number;
1561
+ type: "strong" | "em" | "list-item";
1562
+ })[] | undefined;
1563
+ };
1564
+ } & {
1565
+ label?: string | undefined;
1566
+ direction?: string | undefined;
1567
+ })[];
1568
+ };
1569
+ })[];
1570
+ }[];
1364
1571
  } | {
1365
1572
  __TYPE__: "RepeatableContent";
1366
1573
  type: "Link";
@@ -1794,6 +2001,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1794
2001
  }))[];
1795
2002
  } | {
1796
2003
  __TYPE__: "SeparatorContent";
2004
+ } | {
2005
+ __TYPE__: "TableContent";
2006
+ content: {
2007
+ type: "tableRow";
2008
+ content: ({
2009
+ type: "tableHeader";
2010
+ content: {
2011
+ __TYPE__: "StructuredTextContent";
2012
+ value: ({
2013
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2014
+ content: {
2015
+ text: string;
2016
+ } & {
2017
+ spans?: ({
2018
+ data: ({
2019
+ __TYPE__: "ImageLink";
2020
+ } & {
2021
+ kind: "image";
2022
+ id: string;
2023
+ url: string;
2024
+ height: string;
2025
+ width: string;
2026
+ size: string;
2027
+ name: string;
2028
+ } & {
2029
+ date?: string | null | undefined;
2030
+ }) | ({
2031
+ __TYPE__: "FileLink";
2032
+ } & {
2033
+ kind: "file";
2034
+ id: string;
2035
+ url: string;
2036
+ name: string;
2037
+ size: string;
2038
+ } & {
2039
+ date?: string | null | undefined;
2040
+ }) | ({
2041
+ __TYPE__: "DocumentLink";
2042
+ } & {
2043
+ id: string;
2044
+ }) | ({
2045
+ __TYPE__: "ExternalLink";
2046
+ } & {
2047
+ url: string;
2048
+ } & {
2049
+ kind?: "web" | undefined;
2050
+ target?: string | null | undefined;
2051
+ preview?: {
2052
+ title?: string | undefined;
2053
+ } | null | undefined;
2054
+ });
2055
+ start: number;
2056
+ end: number;
2057
+ type: "hyperlink";
2058
+ } | {
2059
+ data: string;
2060
+ start: number;
2061
+ end: number;
2062
+ type: "label";
2063
+ } | {
2064
+ start: number;
2065
+ end: number;
2066
+ type: "strong" | "em" | "list-item";
2067
+ })[] | undefined;
2068
+ };
2069
+ } & {
2070
+ label?: string | undefined;
2071
+ direction?: string | undefined;
2072
+ })[];
2073
+ };
2074
+ } | {
2075
+ type: "tableCell";
2076
+ content: {
2077
+ __TYPE__: "StructuredTextContent";
2078
+ value: ({
2079
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2080
+ content: {
2081
+ text: string;
2082
+ } & {
2083
+ spans?: ({
2084
+ data: ({
2085
+ __TYPE__: "ImageLink";
2086
+ } & {
2087
+ kind: "image";
2088
+ id: string;
2089
+ url: string;
2090
+ height: string;
2091
+ width: string;
2092
+ size: string;
2093
+ name: string;
2094
+ } & {
2095
+ date?: string | null | undefined;
2096
+ }) | ({
2097
+ __TYPE__: "FileLink";
2098
+ } & {
2099
+ kind: "file";
2100
+ id: string;
2101
+ url: string;
2102
+ name: string;
2103
+ size: string;
2104
+ } & {
2105
+ date?: string | null | undefined;
2106
+ }) | ({
2107
+ __TYPE__: "DocumentLink";
2108
+ } & {
2109
+ id: string;
2110
+ }) | ({
2111
+ __TYPE__: "ExternalLink";
2112
+ } & {
2113
+ url: string;
2114
+ } & {
2115
+ kind?: "web" | undefined;
2116
+ target?: string | null | undefined;
2117
+ preview?: {
2118
+ title?: string | undefined;
2119
+ } | null | undefined;
2120
+ });
2121
+ start: number;
2122
+ end: number;
2123
+ type: "hyperlink";
2124
+ } | {
2125
+ data: string;
2126
+ start: number;
2127
+ end: number;
2128
+ type: "label";
2129
+ } | {
2130
+ start: number;
2131
+ end: number;
2132
+ type: "strong" | "em" | "list-item";
2133
+ })[] | undefined;
2134
+ };
2135
+ } & {
2136
+ label?: string | undefined;
2137
+ direction?: string | undefined;
2138
+ })[];
2139
+ };
2140
+ })[];
2141
+ }[];
1797
2142
  } | {
1798
2143
  __TYPE__: "RepeatableContent";
1799
2144
  type: "Link";
@@ -2219,6 +2564,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2219
2564
  }))[];
2220
2565
  } | {
2221
2566
  __TYPE__: "SeparatorContent";
2567
+ } | {
2568
+ __TYPE__: "TableContent";
2569
+ content: {
2570
+ type: "tableRow";
2571
+ content: ({
2572
+ type: "tableHeader";
2573
+ content: {
2574
+ __TYPE__: "StructuredTextContent";
2575
+ value: ({
2576
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2577
+ content: {
2578
+ text: string;
2579
+ } & {
2580
+ spans?: ({
2581
+ data: ({
2582
+ __TYPE__: "ImageLink";
2583
+ } & {
2584
+ kind: "image";
2585
+ id: string;
2586
+ url: string;
2587
+ height: string;
2588
+ width: string;
2589
+ size: string;
2590
+ name: string;
2591
+ } & {
2592
+ date?: string | null | undefined;
2593
+ }) | ({
2594
+ __TYPE__: "FileLink";
2595
+ } & {
2596
+ kind: "file";
2597
+ id: string;
2598
+ url: string;
2599
+ name: string;
2600
+ size: string;
2601
+ } & {
2602
+ date?: string | null | undefined;
2603
+ }) | ({
2604
+ __TYPE__: "DocumentLink";
2605
+ } & {
2606
+ id: string;
2607
+ }) | ({
2608
+ __TYPE__: "ExternalLink";
2609
+ } & {
2610
+ url: string;
2611
+ } & {
2612
+ kind?: "web" | undefined;
2613
+ target?: string | null | undefined;
2614
+ preview?: {
2615
+ title?: string | undefined;
2616
+ } | null | undefined;
2617
+ });
2618
+ start: number;
2619
+ end: number;
2620
+ type: "hyperlink";
2621
+ } | {
2622
+ data: string;
2623
+ start: number;
2624
+ end: number;
2625
+ type: "label";
2626
+ } | {
2627
+ start: number;
2628
+ end: number;
2629
+ type: "strong" | "em" | "list-item";
2630
+ })[] | undefined;
2631
+ };
2632
+ } & {
2633
+ label?: string | undefined;
2634
+ direction?: string | undefined;
2635
+ })[];
2636
+ };
2637
+ } | {
2638
+ type: "tableCell";
2639
+ content: {
2640
+ __TYPE__: "StructuredTextContent";
2641
+ value: ({
2642
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2643
+ content: {
2644
+ text: string;
2645
+ } & {
2646
+ spans?: ({
2647
+ data: ({
2648
+ __TYPE__: "ImageLink";
2649
+ } & {
2650
+ kind: "image";
2651
+ id: string;
2652
+ url: string;
2653
+ height: string;
2654
+ width: string;
2655
+ size: string;
2656
+ name: string;
2657
+ } & {
2658
+ date?: string | null | undefined;
2659
+ }) | ({
2660
+ __TYPE__: "FileLink";
2661
+ } & {
2662
+ kind: "file";
2663
+ id: string;
2664
+ url: string;
2665
+ name: string;
2666
+ size: string;
2667
+ } & {
2668
+ date?: string | null | undefined;
2669
+ }) | ({
2670
+ __TYPE__: "DocumentLink";
2671
+ } & {
2672
+ id: string;
2673
+ }) | ({
2674
+ __TYPE__: "ExternalLink";
2675
+ } & {
2676
+ url: string;
2677
+ } & {
2678
+ kind?: "web" | undefined;
2679
+ target?: string | null | undefined;
2680
+ preview?: {
2681
+ title?: string | undefined;
2682
+ } | null | undefined;
2683
+ });
2684
+ start: number;
2685
+ end: number;
2686
+ type: "hyperlink";
2687
+ } | {
2688
+ data: string;
2689
+ start: number;
2690
+ end: number;
2691
+ type: "label";
2692
+ } | {
2693
+ start: number;
2694
+ end: number;
2695
+ type: "strong" | "em" | "list-item";
2696
+ })[] | undefined;
2697
+ };
2698
+ } & {
2699
+ label?: string | undefined;
2700
+ direction?: string | undefined;
2701
+ })[];
2702
+ };
2703
+ })[];
2704
+ }[];
2222
2705
  } | {
2223
2706
  __TYPE__: "RepeatableContent";
2224
2707
  type: "Link";
@@ -2646,6 +3129,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2646
3129
  }))[];
2647
3130
  } | {
2648
3131
  __TYPE__: "SeparatorContent";
3132
+ } | {
3133
+ __TYPE__: "TableContent";
3134
+ content: {
3135
+ type: "tableRow";
3136
+ content: ({
3137
+ type: "tableHeader";
3138
+ content: {
3139
+ __TYPE__: "StructuredTextContent";
3140
+ value: ({
3141
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3142
+ content: {
3143
+ text: string;
3144
+ } & {
3145
+ spans?: ({
3146
+ data: ({
3147
+ __TYPE__: "ImageLink";
3148
+ } & {
3149
+ kind: "image";
3150
+ id: string;
3151
+ url: string;
3152
+ height: string;
3153
+ width: string;
3154
+ size: string;
3155
+ name: string;
3156
+ } & {
3157
+ date?: string | null | undefined;
3158
+ }) | ({
3159
+ __TYPE__: "FileLink";
3160
+ } & {
3161
+ kind: "file";
3162
+ id: string;
3163
+ url: string;
3164
+ name: string;
3165
+ size: string;
3166
+ } & {
3167
+ date?: string | null | undefined;
3168
+ }) | ({
3169
+ __TYPE__: "DocumentLink";
3170
+ } & {
3171
+ id: string;
3172
+ }) | ({
3173
+ __TYPE__: "ExternalLink";
3174
+ } & {
3175
+ url: string;
3176
+ } & {
3177
+ kind?: "web" | undefined;
3178
+ target?: string | null | undefined;
3179
+ preview?: {
3180
+ title?: string | undefined;
3181
+ } | null | undefined;
3182
+ });
3183
+ start: number;
3184
+ end: number;
3185
+ type: "hyperlink";
3186
+ } | {
3187
+ data: string;
3188
+ start: number;
3189
+ end: number;
3190
+ type: "label";
3191
+ } | {
3192
+ start: number;
3193
+ end: number;
3194
+ type: "strong" | "em" | "list-item";
3195
+ })[] | undefined;
3196
+ };
3197
+ } & {
3198
+ label?: string | undefined;
3199
+ direction?: string | undefined;
3200
+ })[];
3201
+ };
3202
+ } | {
3203
+ type: "tableCell";
3204
+ content: {
3205
+ __TYPE__: "StructuredTextContent";
3206
+ value: ({
3207
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3208
+ content: {
3209
+ text: string;
3210
+ } & {
3211
+ spans?: ({
3212
+ data: ({
3213
+ __TYPE__: "ImageLink";
3214
+ } & {
3215
+ kind: "image";
3216
+ id: string;
3217
+ url: string;
3218
+ height: string;
3219
+ width: string;
3220
+ size: string;
3221
+ name: string;
3222
+ } & {
3223
+ date?: string | null | undefined;
3224
+ }) | ({
3225
+ __TYPE__: "FileLink";
3226
+ } & {
3227
+ kind: "file";
3228
+ id: string;
3229
+ url: string;
3230
+ name: string;
3231
+ size: string;
3232
+ } & {
3233
+ date?: string | null | undefined;
3234
+ }) | ({
3235
+ __TYPE__: "DocumentLink";
3236
+ } & {
3237
+ id: string;
3238
+ }) | ({
3239
+ __TYPE__: "ExternalLink";
3240
+ } & {
3241
+ url: string;
3242
+ } & {
3243
+ kind?: "web" | undefined;
3244
+ target?: string | null | undefined;
3245
+ preview?: {
3246
+ title?: string | undefined;
3247
+ } | null | undefined;
3248
+ });
3249
+ start: number;
3250
+ end: number;
3251
+ type: "hyperlink";
3252
+ } | {
3253
+ data: string;
3254
+ start: number;
3255
+ end: number;
3256
+ type: "label";
3257
+ } | {
3258
+ start: number;
3259
+ end: number;
3260
+ type: "strong" | "em" | "list-item";
3261
+ })[] | undefined;
3262
+ };
3263
+ } & {
3264
+ label?: string | undefined;
3265
+ direction?: string | undefined;
3266
+ })[];
3267
+ };
3268
+ })[];
3269
+ }[];
2649
3270
  } | {
2650
3271
  __TYPE__: "RepeatableContent";
2651
3272
  type: "Link";
@@ -3071,6 +3692,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3071
3692
  }))[];
3072
3693
  } | {
3073
3694
  __TYPE__: "SeparatorContent";
3695
+ } | {
3696
+ __TYPE__: "TableContent";
3697
+ content: {
3698
+ type: "tableRow";
3699
+ content: ({
3700
+ type: "tableHeader";
3701
+ content: {
3702
+ __TYPE__: "StructuredTextContent";
3703
+ value: ({
3704
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3705
+ content: {
3706
+ text: string;
3707
+ } & {
3708
+ spans?: ({
3709
+ data: ({
3710
+ __TYPE__: "ImageLink";
3711
+ } & {
3712
+ kind: "image";
3713
+ id: string;
3714
+ url: string;
3715
+ height: string;
3716
+ width: string;
3717
+ size: string;
3718
+ name: string;
3719
+ } & {
3720
+ date?: string | null | undefined;
3721
+ }) | ({
3722
+ __TYPE__: "FileLink";
3723
+ } & {
3724
+ kind: "file";
3725
+ id: string;
3726
+ url: string;
3727
+ name: string;
3728
+ size: string;
3729
+ } & {
3730
+ date?: string | null | undefined;
3731
+ }) | ({
3732
+ __TYPE__: "DocumentLink";
3733
+ } & {
3734
+ id: string;
3735
+ }) | ({
3736
+ __TYPE__: "ExternalLink";
3737
+ } & {
3738
+ url: string;
3739
+ } & {
3740
+ kind?: "web" | undefined;
3741
+ target?: string | null | undefined;
3742
+ preview?: {
3743
+ title?: string | undefined;
3744
+ } | null | undefined;
3745
+ });
3746
+ start: number;
3747
+ end: number;
3748
+ type: "hyperlink";
3749
+ } | {
3750
+ data: string;
3751
+ start: number;
3752
+ end: number;
3753
+ type: "label";
3754
+ } | {
3755
+ start: number;
3756
+ end: number;
3757
+ type: "strong" | "em" | "list-item";
3758
+ })[] | undefined;
3759
+ };
3760
+ } & {
3761
+ label?: string | undefined;
3762
+ direction?: string | undefined;
3763
+ })[];
3764
+ };
3765
+ } | {
3766
+ type: "tableCell";
3767
+ content: {
3768
+ __TYPE__: "StructuredTextContent";
3769
+ value: ({
3770
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3771
+ content: {
3772
+ text: string;
3773
+ } & {
3774
+ spans?: ({
3775
+ data: ({
3776
+ __TYPE__: "ImageLink";
3777
+ } & {
3778
+ kind: "image";
3779
+ id: string;
3780
+ url: string;
3781
+ height: string;
3782
+ width: string;
3783
+ size: string;
3784
+ name: string;
3785
+ } & {
3786
+ date?: string | null | undefined;
3787
+ }) | ({
3788
+ __TYPE__: "FileLink";
3789
+ } & {
3790
+ kind: "file";
3791
+ id: string;
3792
+ url: string;
3793
+ name: string;
3794
+ size: string;
3795
+ } & {
3796
+ date?: string | null | undefined;
3797
+ }) | ({
3798
+ __TYPE__: "DocumentLink";
3799
+ } & {
3800
+ id: string;
3801
+ }) | ({
3802
+ __TYPE__: "ExternalLink";
3803
+ } & {
3804
+ url: string;
3805
+ } & {
3806
+ kind?: "web" | undefined;
3807
+ target?: string | null | undefined;
3808
+ preview?: {
3809
+ title?: string | undefined;
3810
+ } | null | undefined;
3811
+ });
3812
+ start: number;
3813
+ end: number;
3814
+ type: "hyperlink";
3815
+ } | {
3816
+ data: string;
3817
+ start: number;
3818
+ end: number;
3819
+ type: "label";
3820
+ } | {
3821
+ start: number;
3822
+ end: number;
3823
+ type: "strong" | "em" | "list-item";
3824
+ })[] | undefined;
3825
+ };
3826
+ } & {
3827
+ label?: string | undefined;
3828
+ direction?: string | undefined;
3829
+ })[];
3830
+ };
3831
+ })[];
3832
+ }[];
3074
3833
  } | {
3075
3834
  __TYPE__: "RepeatableContent";
3076
3835
  type: "Link";
@@ -3494,6 +4253,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3494
4253
  }))[];
3495
4254
  } | {
3496
4255
  __TYPE__: "SeparatorContent";
4256
+ } | {
4257
+ __TYPE__: "TableContent";
4258
+ content: {
4259
+ type: "tableRow";
4260
+ content: ({
4261
+ type: "tableHeader";
4262
+ content: {
4263
+ __TYPE__: "StructuredTextContent";
4264
+ value: ({
4265
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4266
+ content: {
4267
+ text: string;
4268
+ } & {
4269
+ spans?: ({
4270
+ data: ({
4271
+ __TYPE__: "ImageLink";
4272
+ } & {
4273
+ kind: "image";
4274
+ id: string;
4275
+ url: string;
4276
+ height: string;
4277
+ width: string;
4278
+ size: string;
4279
+ name: string;
4280
+ } & {
4281
+ date?: string | null | undefined;
4282
+ }) | ({
4283
+ __TYPE__: "FileLink";
4284
+ } & {
4285
+ kind: "file";
4286
+ id: string;
4287
+ url: string;
4288
+ name: string;
4289
+ size: string;
4290
+ } & {
4291
+ date?: string | null | undefined;
4292
+ }) | ({
4293
+ __TYPE__: "DocumentLink";
4294
+ } & {
4295
+ id: string;
4296
+ }) | ({
4297
+ __TYPE__: "ExternalLink";
4298
+ } & {
4299
+ url: string;
4300
+ } & {
4301
+ kind?: "web" | undefined;
4302
+ target?: string | null | undefined;
4303
+ preview?: {
4304
+ title?: string | undefined;
4305
+ } | null | undefined;
4306
+ });
4307
+ start: number;
4308
+ end: number;
4309
+ type: "hyperlink";
4310
+ } | {
4311
+ data: string;
4312
+ start: number;
4313
+ end: number;
4314
+ type: "label";
4315
+ } | {
4316
+ start: number;
4317
+ end: number;
4318
+ type: "strong" | "em" | "list-item";
4319
+ })[] | undefined;
4320
+ };
4321
+ } & {
4322
+ label?: string | undefined;
4323
+ direction?: string | undefined;
4324
+ })[];
4325
+ };
4326
+ } | {
4327
+ type: "tableCell";
4328
+ content: {
4329
+ __TYPE__: "StructuredTextContent";
4330
+ value: ({
4331
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4332
+ content: {
4333
+ text: string;
4334
+ } & {
4335
+ spans?: ({
4336
+ data: ({
4337
+ __TYPE__: "ImageLink";
4338
+ } & {
4339
+ kind: "image";
4340
+ id: string;
4341
+ url: string;
4342
+ height: string;
4343
+ width: string;
4344
+ size: string;
4345
+ name: string;
4346
+ } & {
4347
+ date?: string | null | undefined;
4348
+ }) | ({
4349
+ __TYPE__: "FileLink";
4350
+ } & {
4351
+ kind: "file";
4352
+ id: string;
4353
+ url: string;
4354
+ name: string;
4355
+ size: string;
4356
+ } & {
4357
+ date?: string | null | undefined;
4358
+ }) | ({
4359
+ __TYPE__: "DocumentLink";
4360
+ } & {
4361
+ id: string;
4362
+ }) | ({
4363
+ __TYPE__: "ExternalLink";
4364
+ } & {
4365
+ url: string;
4366
+ } & {
4367
+ kind?: "web" | undefined;
4368
+ target?: string | null | undefined;
4369
+ preview?: {
4370
+ title?: string | undefined;
4371
+ } | null | undefined;
4372
+ });
4373
+ start: number;
4374
+ end: number;
4375
+ type: "hyperlink";
4376
+ } | {
4377
+ data: string;
4378
+ start: number;
4379
+ end: number;
4380
+ type: "label";
4381
+ } | {
4382
+ start: number;
4383
+ end: number;
4384
+ type: "strong" | "em" | "list-item";
4385
+ })[] | undefined;
4386
+ };
4387
+ } & {
4388
+ label?: string | undefined;
4389
+ direction?: string | undefined;
4390
+ })[];
4391
+ };
4392
+ })[];
4393
+ }[];
3497
4394
  } | {
3498
4395
  __TYPE__: "RepeatableContent";
3499
4396
  type: "Link";
@@ -3927,6 +4824,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
3927
4824
  }))[];
3928
4825
  } | {
3929
4826
  __TYPE__: "SeparatorContent";
4827
+ } | {
4828
+ __TYPE__: "TableContent";
4829
+ content: {
4830
+ type: "tableRow";
4831
+ content: ({
4832
+ type: "tableHeader";
4833
+ content: {
4834
+ __TYPE__: "StructuredTextContent";
4835
+ value: ({
4836
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4837
+ content: {
4838
+ text: string;
4839
+ } & {
4840
+ spans?: ({
4841
+ data: ({
4842
+ __TYPE__: "ImageLink";
4843
+ } & {
4844
+ kind: "image";
4845
+ id: string;
4846
+ url: string;
4847
+ height: string;
4848
+ width: string;
4849
+ size: string;
4850
+ name: string;
4851
+ } & {
4852
+ date?: string | null | undefined;
4853
+ }) | ({
4854
+ __TYPE__: "FileLink";
4855
+ } & {
4856
+ kind: "file";
4857
+ id: string;
4858
+ url: string;
4859
+ name: string;
4860
+ size: string;
4861
+ } & {
4862
+ date?: string | null | undefined;
4863
+ }) | ({
4864
+ __TYPE__: "DocumentLink";
4865
+ } & {
4866
+ id: string;
4867
+ }) | ({
4868
+ __TYPE__: "ExternalLink";
4869
+ } & {
4870
+ url: string;
4871
+ } & {
4872
+ kind?: "web" | undefined;
4873
+ target?: string | null | undefined;
4874
+ preview?: {
4875
+ title?: string | undefined;
4876
+ } | null | undefined;
4877
+ });
4878
+ start: number;
4879
+ end: number;
4880
+ type: "hyperlink";
4881
+ } | {
4882
+ data: string;
4883
+ start: number;
4884
+ end: number;
4885
+ type: "label";
4886
+ } | {
4887
+ start: number;
4888
+ end: number;
4889
+ type: "strong" | "em" | "list-item";
4890
+ })[] | undefined;
4891
+ };
4892
+ } & {
4893
+ label?: string | undefined;
4894
+ direction?: string | undefined;
4895
+ })[];
4896
+ };
4897
+ } | {
4898
+ type: "tableCell";
4899
+ content: {
4900
+ __TYPE__: "StructuredTextContent";
4901
+ value: ({
4902
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4903
+ content: {
4904
+ text: string;
4905
+ } & {
4906
+ spans?: ({
4907
+ data: ({
4908
+ __TYPE__: "ImageLink";
4909
+ } & {
4910
+ kind: "image";
4911
+ id: string;
4912
+ url: string;
4913
+ height: string;
4914
+ width: string;
4915
+ size: string;
4916
+ name: string;
4917
+ } & {
4918
+ date?: string | null | undefined;
4919
+ }) | ({
4920
+ __TYPE__: "FileLink";
4921
+ } & {
4922
+ kind: "file";
4923
+ id: string;
4924
+ url: string;
4925
+ name: string;
4926
+ size: string;
4927
+ } & {
4928
+ date?: string | null | undefined;
4929
+ }) | ({
4930
+ __TYPE__: "DocumentLink";
4931
+ } & {
4932
+ id: string;
4933
+ }) | ({
4934
+ __TYPE__: "ExternalLink";
4935
+ } & {
4936
+ url: string;
4937
+ } & {
4938
+ kind?: "web" | undefined;
4939
+ target?: string | null | undefined;
4940
+ preview?: {
4941
+ title?: string | undefined;
4942
+ } | null | undefined;
4943
+ });
4944
+ start: number;
4945
+ end: number;
4946
+ type: "hyperlink";
4947
+ } | {
4948
+ data: string;
4949
+ start: number;
4950
+ end: number;
4951
+ type: "label";
4952
+ } | {
4953
+ start: number;
4954
+ end: number;
4955
+ type: "strong" | "em" | "list-item";
4956
+ })[] | undefined;
4957
+ };
4958
+ } & {
4959
+ label?: string | undefined;
4960
+ direction?: string | undefined;
4961
+ })[];
4962
+ };
4963
+ })[];
4964
+ }[];
3930
4965
  } | {
3931
4966
  __TYPE__: "RepeatableContent";
3932
4967
  type: "Link";
@@ -4352,6 +5387,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4352
5387
  }))[];
4353
5388
  } | {
4354
5389
  __TYPE__: "SeparatorContent";
5390
+ } | {
5391
+ __TYPE__: "TableContent";
5392
+ content: {
5393
+ type: "tableRow";
5394
+ content: ({
5395
+ type: "tableHeader";
5396
+ content: {
5397
+ __TYPE__: "StructuredTextContent";
5398
+ value: ({
5399
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5400
+ content: {
5401
+ text: string;
5402
+ } & {
5403
+ spans?: ({
5404
+ data: ({
5405
+ __TYPE__: "ImageLink";
5406
+ } & {
5407
+ kind: "image";
5408
+ id: string;
5409
+ url: string;
5410
+ height: string;
5411
+ width: string;
5412
+ size: string;
5413
+ name: string;
5414
+ } & {
5415
+ date?: string | null | undefined;
5416
+ }) | ({
5417
+ __TYPE__: "FileLink";
5418
+ } & {
5419
+ kind: "file";
5420
+ id: string;
5421
+ url: string;
5422
+ name: string;
5423
+ size: string;
5424
+ } & {
5425
+ date?: string | null | undefined;
5426
+ }) | ({
5427
+ __TYPE__: "DocumentLink";
5428
+ } & {
5429
+ id: string;
5430
+ }) | ({
5431
+ __TYPE__: "ExternalLink";
5432
+ } & {
5433
+ url: string;
5434
+ } & {
5435
+ kind?: "web" | undefined;
5436
+ target?: string | null | undefined;
5437
+ preview?: {
5438
+ title?: string | undefined;
5439
+ } | null | undefined;
5440
+ });
5441
+ start: number;
5442
+ end: number;
5443
+ type: "hyperlink";
5444
+ } | {
5445
+ data: string;
5446
+ start: number;
5447
+ end: number;
5448
+ type: "label";
5449
+ } | {
5450
+ start: number;
5451
+ end: number;
5452
+ type: "strong" | "em" | "list-item";
5453
+ })[] | undefined;
5454
+ };
5455
+ } & {
5456
+ label?: string | undefined;
5457
+ direction?: string | undefined;
5458
+ })[];
5459
+ };
5460
+ } | {
5461
+ type: "tableCell";
5462
+ content: {
5463
+ __TYPE__: "StructuredTextContent";
5464
+ value: ({
5465
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5466
+ content: {
5467
+ text: string;
5468
+ } & {
5469
+ spans?: ({
5470
+ data: ({
5471
+ __TYPE__: "ImageLink";
5472
+ } & {
5473
+ kind: "image";
5474
+ id: string;
5475
+ url: string;
5476
+ height: string;
5477
+ width: string;
5478
+ size: string;
5479
+ name: string;
5480
+ } & {
5481
+ date?: string | null | undefined;
5482
+ }) | ({
5483
+ __TYPE__: "FileLink";
5484
+ } & {
5485
+ kind: "file";
5486
+ id: string;
5487
+ url: string;
5488
+ name: string;
5489
+ size: string;
5490
+ } & {
5491
+ date?: string | null | undefined;
5492
+ }) | ({
5493
+ __TYPE__: "DocumentLink";
5494
+ } & {
5495
+ id: string;
5496
+ }) | ({
5497
+ __TYPE__: "ExternalLink";
5498
+ } & {
5499
+ url: string;
5500
+ } & {
5501
+ kind?: "web" | undefined;
5502
+ target?: string | null | undefined;
5503
+ preview?: {
5504
+ title?: string | undefined;
5505
+ } | null | undefined;
5506
+ });
5507
+ start: number;
5508
+ end: number;
5509
+ type: "hyperlink";
5510
+ } | {
5511
+ data: string;
5512
+ start: number;
5513
+ end: number;
5514
+ type: "label";
5515
+ } | {
5516
+ start: number;
5517
+ end: number;
5518
+ type: "strong" | "em" | "list-item";
5519
+ })[] | undefined;
5520
+ };
5521
+ } & {
5522
+ label?: string | undefined;
5523
+ direction?: string | undefined;
5524
+ })[];
5525
+ };
5526
+ })[];
5527
+ }[];
4355
5528
  } | {
4356
5529
  __TYPE__: "RepeatableContent";
4357
5530
  type: "Link";
@@ -4779,6 +5952,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4779
5952
  }))[];
4780
5953
  } | {
4781
5954
  __TYPE__: "SeparatorContent";
5955
+ } | {
5956
+ __TYPE__: "TableContent";
5957
+ content: {
5958
+ type: "tableRow";
5959
+ content: ({
5960
+ type: "tableHeader";
5961
+ content: {
5962
+ __TYPE__: "StructuredTextContent";
5963
+ value: ({
5964
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5965
+ content: {
5966
+ text: string;
5967
+ } & {
5968
+ spans?: ({
5969
+ data: ({
5970
+ __TYPE__: "ImageLink";
5971
+ } & {
5972
+ kind: "image";
5973
+ id: string;
5974
+ url: string;
5975
+ height: string;
5976
+ width: string;
5977
+ size: string;
5978
+ name: string;
5979
+ } & {
5980
+ date?: string | null | undefined;
5981
+ }) | ({
5982
+ __TYPE__: "FileLink";
5983
+ } & {
5984
+ kind: "file";
5985
+ id: string;
5986
+ url: string;
5987
+ name: string;
5988
+ size: string;
5989
+ } & {
5990
+ date?: string | null | undefined;
5991
+ }) | ({
5992
+ __TYPE__: "DocumentLink";
5993
+ } & {
5994
+ id: string;
5995
+ }) | ({
5996
+ __TYPE__: "ExternalLink";
5997
+ } & {
5998
+ url: string;
5999
+ } & {
6000
+ kind?: "web" | undefined;
6001
+ target?: string | null | undefined;
6002
+ preview?: {
6003
+ title?: string | undefined;
6004
+ } | null | undefined;
6005
+ });
6006
+ start: number;
6007
+ end: number;
6008
+ type: "hyperlink";
6009
+ } | {
6010
+ data: string;
6011
+ start: number;
6012
+ end: number;
6013
+ type: "label";
6014
+ } | {
6015
+ start: number;
6016
+ end: number;
6017
+ type: "strong" | "em" | "list-item";
6018
+ })[] | undefined;
6019
+ };
6020
+ } & {
6021
+ label?: string | undefined;
6022
+ direction?: string | undefined;
6023
+ })[];
6024
+ };
6025
+ } | {
6026
+ type: "tableCell";
6027
+ content: {
6028
+ __TYPE__: "StructuredTextContent";
6029
+ value: ({
6030
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6031
+ content: {
6032
+ text: string;
6033
+ } & {
6034
+ spans?: ({
6035
+ data: ({
6036
+ __TYPE__: "ImageLink";
6037
+ } & {
6038
+ kind: "image";
6039
+ id: string;
6040
+ url: string;
6041
+ height: string;
6042
+ width: string;
6043
+ size: string;
6044
+ name: string;
6045
+ } & {
6046
+ date?: string | null | undefined;
6047
+ }) | ({
6048
+ __TYPE__: "FileLink";
6049
+ } & {
6050
+ kind: "file";
6051
+ id: string;
6052
+ url: string;
6053
+ name: string;
6054
+ size: string;
6055
+ } & {
6056
+ date?: string | null | undefined;
6057
+ }) | ({
6058
+ __TYPE__: "DocumentLink";
6059
+ } & {
6060
+ id: string;
6061
+ }) | ({
6062
+ __TYPE__: "ExternalLink";
6063
+ } & {
6064
+ url: string;
6065
+ } & {
6066
+ kind?: "web" | undefined;
6067
+ target?: string | null | undefined;
6068
+ preview?: {
6069
+ title?: string | undefined;
6070
+ } | null | undefined;
6071
+ });
6072
+ start: number;
6073
+ end: number;
6074
+ type: "hyperlink";
6075
+ } | {
6076
+ data: string;
6077
+ start: number;
6078
+ end: number;
6079
+ type: "label";
6080
+ } | {
6081
+ start: number;
6082
+ end: number;
6083
+ type: "strong" | "em" | "list-item";
6084
+ })[] | undefined;
6085
+ };
6086
+ } & {
6087
+ label?: string | undefined;
6088
+ direction?: string | undefined;
6089
+ })[];
6090
+ };
6091
+ })[];
6092
+ }[];
4782
6093
  } | {
4783
6094
  __TYPE__: "RepeatableContent";
4784
6095
  type: "Link";
@@ -5204,6 +6515,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5204
6515
  }))[];
5205
6516
  } | {
5206
6517
  __TYPE__: "SeparatorContent";
6518
+ } | {
6519
+ __TYPE__: "TableContent";
6520
+ content: {
6521
+ type: "tableRow";
6522
+ content: ({
6523
+ type: "tableHeader";
6524
+ content: {
6525
+ __TYPE__: "StructuredTextContent";
6526
+ value: ({
6527
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6528
+ content: {
6529
+ text: string;
6530
+ } & {
6531
+ spans?: ({
6532
+ data: ({
6533
+ __TYPE__: "ImageLink";
6534
+ } & {
6535
+ kind: "image";
6536
+ id: string;
6537
+ url: string;
6538
+ height: string;
6539
+ width: string;
6540
+ size: string;
6541
+ name: string;
6542
+ } & {
6543
+ date?: string | null | undefined;
6544
+ }) | ({
6545
+ __TYPE__: "FileLink";
6546
+ } & {
6547
+ kind: "file";
6548
+ id: string;
6549
+ url: string;
6550
+ name: string;
6551
+ size: string;
6552
+ } & {
6553
+ date?: string | null | undefined;
6554
+ }) | ({
6555
+ __TYPE__: "DocumentLink";
6556
+ } & {
6557
+ id: string;
6558
+ }) | ({
6559
+ __TYPE__: "ExternalLink";
6560
+ } & {
6561
+ url: string;
6562
+ } & {
6563
+ kind?: "web" | undefined;
6564
+ target?: string | null | undefined;
6565
+ preview?: {
6566
+ title?: string | undefined;
6567
+ } | null | undefined;
6568
+ });
6569
+ start: number;
6570
+ end: number;
6571
+ type: "hyperlink";
6572
+ } | {
6573
+ data: string;
6574
+ start: number;
6575
+ end: number;
6576
+ type: "label";
6577
+ } | {
6578
+ start: number;
6579
+ end: number;
6580
+ type: "strong" | "em" | "list-item";
6581
+ })[] | undefined;
6582
+ };
6583
+ } & {
6584
+ label?: string | undefined;
6585
+ direction?: string | undefined;
6586
+ })[];
6587
+ };
6588
+ } | {
6589
+ type: "tableCell";
6590
+ content: {
6591
+ __TYPE__: "StructuredTextContent";
6592
+ value: ({
6593
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6594
+ content: {
6595
+ text: string;
6596
+ } & {
6597
+ spans?: ({
6598
+ data: ({
6599
+ __TYPE__: "ImageLink";
6600
+ } & {
6601
+ kind: "image";
6602
+ id: string;
6603
+ url: string;
6604
+ height: string;
6605
+ width: string;
6606
+ size: string;
6607
+ name: string;
6608
+ } & {
6609
+ date?: string | null | undefined;
6610
+ }) | ({
6611
+ __TYPE__: "FileLink";
6612
+ } & {
6613
+ kind: "file";
6614
+ id: string;
6615
+ url: string;
6616
+ name: string;
6617
+ size: string;
6618
+ } & {
6619
+ date?: string | null | undefined;
6620
+ }) | ({
6621
+ __TYPE__: "DocumentLink";
6622
+ } & {
6623
+ id: string;
6624
+ }) | ({
6625
+ __TYPE__: "ExternalLink";
6626
+ } & {
6627
+ url: string;
6628
+ } & {
6629
+ kind?: "web" | undefined;
6630
+ target?: string | null | undefined;
6631
+ preview?: {
6632
+ title?: string | undefined;
6633
+ } | null | undefined;
6634
+ });
6635
+ start: number;
6636
+ end: number;
6637
+ type: "hyperlink";
6638
+ } | {
6639
+ data: string;
6640
+ start: number;
6641
+ end: number;
6642
+ type: "label";
6643
+ } | {
6644
+ start: number;
6645
+ end: number;
6646
+ type: "strong" | "em" | "list-item";
6647
+ })[] | undefined;
6648
+ };
6649
+ } & {
6650
+ label?: string | undefined;
6651
+ direction?: string | undefined;
6652
+ })[];
6653
+ };
6654
+ })[];
6655
+ }[];
5207
6656
  } | {
5208
6657
  __TYPE__: "RepeatableContent";
5209
6658
  type: "Link";
@@ -5627,6 +7076,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5627
7076
  }))[];
5628
7077
  } | {
5629
7078
  __TYPE__: "SeparatorContent";
7079
+ } | {
7080
+ __TYPE__: "TableContent";
7081
+ content: {
7082
+ type: "tableRow";
7083
+ content: ({
7084
+ type: "tableHeader";
7085
+ content: {
7086
+ __TYPE__: "StructuredTextContent";
7087
+ value: ({
7088
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7089
+ content: {
7090
+ text: string;
7091
+ } & {
7092
+ spans?: ({
7093
+ data: ({
7094
+ __TYPE__: "ImageLink";
7095
+ } & {
7096
+ kind: "image";
7097
+ id: string;
7098
+ url: string;
7099
+ height: string;
7100
+ width: string;
7101
+ size: string;
7102
+ name: string;
7103
+ } & {
7104
+ date?: string | null | undefined;
7105
+ }) | ({
7106
+ __TYPE__: "FileLink";
7107
+ } & {
7108
+ kind: "file";
7109
+ id: string;
7110
+ url: string;
7111
+ name: string;
7112
+ size: string;
7113
+ } & {
7114
+ date?: string | null | undefined;
7115
+ }) | ({
7116
+ __TYPE__: "DocumentLink";
7117
+ } & {
7118
+ id: string;
7119
+ }) | ({
7120
+ __TYPE__: "ExternalLink";
7121
+ } & {
7122
+ url: string;
7123
+ } & {
7124
+ kind?: "web" | undefined;
7125
+ target?: string | null | undefined;
7126
+ preview?: {
7127
+ title?: string | undefined;
7128
+ } | null | undefined;
7129
+ });
7130
+ start: number;
7131
+ end: number;
7132
+ type: "hyperlink";
7133
+ } | {
7134
+ data: string;
7135
+ start: number;
7136
+ end: number;
7137
+ type: "label";
7138
+ } | {
7139
+ start: number;
7140
+ end: number;
7141
+ type: "strong" | "em" | "list-item";
7142
+ })[] | undefined;
7143
+ };
7144
+ } & {
7145
+ label?: string | undefined;
7146
+ direction?: string | undefined;
7147
+ })[];
7148
+ };
7149
+ } | {
7150
+ type: "tableCell";
7151
+ content: {
7152
+ __TYPE__: "StructuredTextContent";
7153
+ value: ({
7154
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7155
+ content: {
7156
+ text: string;
7157
+ } & {
7158
+ spans?: ({
7159
+ data: ({
7160
+ __TYPE__: "ImageLink";
7161
+ } & {
7162
+ kind: "image";
7163
+ id: string;
7164
+ url: string;
7165
+ height: string;
7166
+ width: string;
7167
+ size: string;
7168
+ name: string;
7169
+ } & {
7170
+ date?: string | null | undefined;
7171
+ }) | ({
7172
+ __TYPE__: "FileLink";
7173
+ } & {
7174
+ kind: "file";
7175
+ id: string;
7176
+ url: string;
7177
+ name: string;
7178
+ size: string;
7179
+ } & {
7180
+ date?: string | null | undefined;
7181
+ }) | ({
7182
+ __TYPE__: "DocumentLink";
7183
+ } & {
7184
+ id: string;
7185
+ }) | ({
7186
+ __TYPE__: "ExternalLink";
7187
+ } & {
7188
+ url: string;
7189
+ } & {
7190
+ kind?: "web" | undefined;
7191
+ target?: string | null | undefined;
7192
+ preview?: {
7193
+ title?: string | undefined;
7194
+ } | null | undefined;
7195
+ });
7196
+ start: number;
7197
+ end: number;
7198
+ type: "hyperlink";
7199
+ } | {
7200
+ data: string;
7201
+ start: number;
7202
+ end: number;
7203
+ type: "label";
7204
+ } | {
7205
+ start: number;
7206
+ end: number;
7207
+ type: "strong" | "em" | "list-item";
7208
+ })[] | undefined;
7209
+ };
7210
+ } & {
7211
+ label?: string | undefined;
7212
+ direction?: string | undefined;
7213
+ })[];
7214
+ };
7215
+ })[];
7216
+ }[];
5630
7217
  } | {
5631
7218
  __TYPE__: "RepeatableContent";
5632
7219
  type: "Link";