@prismicio/editor-fields 0.4.61 → 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 (31) hide show
  1. package/dist/core/MediaLibrary/components/MediaLibraryDropzone.d.ts +3 -2
  2. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +33 -0
  3. package/dist/core/MediaLibrary/index.d.ts +0 -1
  4. package/dist/core/service/customType.d.ts +66 -0
  5. package/dist/core/service/document.d.ts +1518 -0
  6. package/dist/fields/ImageField/Components/ImageFieldCard.d.ts +1 -1
  7. package/dist/fields/ImageField/Components/ImageFieldDropZone.d.ts +9 -0
  8. package/dist/fields/ImageField/useImageField.d.ts +30 -0
  9. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +37 -0
  10. package/dist/fields/RichTextField/RichTextField.d.ts +6 -5
  11. package/dist/fields/RichTextField/extensions/Bold/BoldModel.d.ts +2 -2
  12. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +30 -0
  13. package/dist/fields/RichTextField/extensions/Italic/ItalicModel.d.ts +2 -2
  14. package/dist/fields/RichTextField/extensions/Label/LabelModel.d.ts +2 -2
  15. package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +2 -2
  16. package/dist/fields/RichTextField/extensions/Table/Table.d.ts +2 -0
  17. package/dist/fields/RichTextField/extensions/extensions.d.ts +4 -3
  18. package/dist/fields/RichTextField/models/EditorExtension.d.ts +34 -20
  19. package/dist/fields/RichTextField/models/RichTextConfig.d.ts +3 -2
  20. package/dist/fields/RichTextField/types.d.ts +37 -0
  21. package/dist/fields/TableField/TableField.d.ts +12 -0
  22. package/dist/fields/TableField/index.d.ts +1 -0
  23. package/dist/fields/utils.d.ts +2 -2
  24. package/dist/index.cjs.js +56 -53
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.es.js +29767 -25219
  27. package/dist/slices/utils.d.ts +138 -0
  28. package/package.json +9 -5
  29. package/dist/constants/localStorage.d.ts +0 -1
  30. package/dist/core/MediaLibrary/components/NewMediaLibraryFeaturesBanner.d.ts +0 -6
  31. package/dist/fields/RichTextField/extensions/Image/ImageLinkControl.d.ts +0 -0
@@ -1430,6 +1430,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1430
1430
  }))[];
1431
1431
  } | {
1432
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
+ }[];
1433
1571
  } | {
1434
1572
  __TYPE__: "RepeatableContent";
1435
1573
  type: "Link";
@@ -1863,6 +2001,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1863
2001
  }))[];
1864
2002
  } | {
1865
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
+ }[];
1866
2142
  } | {
1867
2143
  __TYPE__: "RepeatableContent";
1868
2144
  type: "Link";
@@ -2288,6 +2564,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2288
2564
  }))[];
2289
2565
  } | {
2290
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
+ }[];
2291
2705
  } | {
2292
2706
  __TYPE__: "RepeatableContent";
2293
2707
  type: "Link";
@@ -2715,6 +3129,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2715
3129
  }))[];
2716
3130
  } | {
2717
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
+ }[];
2718
3270
  } | {
2719
3271
  __TYPE__: "RepeatableContent";
2720
3272
  type: "Link";
@@ -3140,6 +3692,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3140
3692
  }))[];
3141
3693
  } | {
3142
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
+ }[];
3143
3833
  } | {
3144
3834
  __TYPE__: "RepeatableContent";
3145
3835
  type: "Link";
@@ -3563,6 +4253,144 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3563
4253
  }))[];
3564
4254
  } | {
3565
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
+ }[];
3566
4394
  } | {
3567
4395
  __TYPE__: "RepeatableContent";
3568
4396
  type: "Link";
@@ -3996,6 +4824,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
3996
4824
  }))[];
3997
4825
  } | {
3998
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
+ }[];
3999
4965
  } | {
4000
4966
  __TYPE__: "RepeatableContent";
4001
4967
  type: "Link";
@@ -4421,6 +5387,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4421
5387
  }))[];
4422
5388
  } | {
4423
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
+ }[];
4424
5528
  } | {
4425
5529
  __TYPE__: "RepeatableContent";
4426
5530
  type: "Link";
@@ -4848,6 +5952,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4848
5952
  }))[];
4849
5953
  } | {
4850
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
+ }[];
4851
6093
  } | {
4852
6094
  __TYPE__: "RepeatableContent";
4853
6095
  type: "Link";
@@ -5273,6 +6515,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5273
6515
  }))[];
5274
6516
  } | {
5275
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
+ }[];
5276
6656
  } | {
5277
6657
  __TYPE__: "RepeatableContent";
5278
6658
  type: "Link";
@@ -5696,6 +7076,144 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5696
7076
  }))[];
5697
7077
  } | {
5698
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
+ }[];
5699
7217
  } | {
5700
7218
  __TYPE__: "RepeatableContent";
5701
7219
  type: "Link";