@prismicio/editor-fields 0.4.64 → 0.4.66

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 (63) hide show
  1. package/dist/EditorConfig.d.ts +15 -3
  2. package/dist/core/APIExplorer/APIExplorer.d.ts +2 -0
  3. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +54 -0
  4. package/dist/core/APIExplorer/components/APIExplorerRequest.d.ts +2 -0
  5. package/dist/core/APIExplorer/components/APIExplorerResponse.d.ts +2 -0
  6. package/dist/core/APIExplorer/components/Request/GetByTypeRequest.d.ts +1 -0
  7. package/dist/core/APIExplorer/components/Request/GetByUIDRequest.d.ts +1 -0
  8. package/dist/core/APIExplorer/components/Request/GetRepositoryRequest.d.ts +1 -0
  9. package/dist/core/APIExplorer/components/Request/GetRequest.d.ts +1 -0
  10. package/dist/core/APIExplorer/components/Request/GetSingleRequest.d.ts +1 -0
  11. package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +4 -0
  12. package/dist/core/APIExplorer/components/Request/components/RequestFormInputBase.d.ts +6 -0
  13. package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +4 -0
  14. package/dist/core/APIExplorer/components/Request/components/RequestPaginationFieldset.d.ts +5 -0
  15. package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +7 -0
  16. package/dist/core/APIExplorer/components/Request/components/index.d.ts +3 -0
  17. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +17 -0
  18. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
  19. package/dist/core/APIExplorer/components/Request/types.d.ts +14 -0
  20. package/dist/core/APIExplorer/index.d.ts +1 -0
  21. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +49 -49
  22. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  23. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +5 -5
  24. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
  25. package/dist/core/service/aiSeoMetadata.d.ts +2 -6
  26. package/dist/core/service/document.d.ts +155 -89
  27. package/dist/core/service/documentSearch.d.ts +10 -10
  28. package/dist/core/service/repository.d.ts +29 -21
  29. package/dist/core/service/role.d.ts +289 -46
  30. package/dist/core/service/user.d.ts +11 -7
  31. package/dist/fields/ImageField/useImageField.d.ts +5 -5
  32. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +5 -5
  33. package/dist/fields/LinkField/Documents/documentsData.d.ts +4 -4
  34. package/dist/fields/RichTextField/RichTextField.d.ts +7 -0
  35. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +5 -5
  36. package/dist/fields/RichTextField/extensions/Table/Table.d.ts +10 -4
  37. package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +10 -0
  38. package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +10 -0
  39. package/dist/fields/RichTextField/extensions/Table/TableCell/index.d.ts +2 -0
  40. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -0
  41. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
  42. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +1 -0
  43. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +23 -0
  44. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +1 -0
  45. package/dist/fields/RichTextField/extensions/Table/TableCell/types.d.ts +17 -0
  46. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +15 -0
  47. package/dist/fields/RichTextField/extensions/Table/TableEvent.d.ts +31 -0
  48. package/dist/fields/RichTextField/extensions/Table/TableLimitToast.d.ts +7 -0
  49. package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +9 -0
  50. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +20 -0
  51. package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +11 -0
  52. package/dist/fields/RichTextField/extensions/Table/menus/TableFloatingMenus.d.ts +7 -0
  53. package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +10 -0
  54. package/dist/fields/RichTextField/extensions/Table/menus/TriggerAnchor.d.ts +11 -0
  55. package/dist/fields/RichTextField/extensions/Table/menus/index.d.ts +2 -0
  56. package/dist/fields/RichTextField/extensions/Table/menus/utils.d.ts +18 -0
  57. package/dist/fields/RichTextField/extensions/Table/utils.d.ts +60 -0
  58. package/dist/index.cjs.js +92 -83
  59. package/dist/index.d.ts +1 -0
  60. package/dist/index.es.js +39205 -41733
  61. package/dist/slices/utils.d.ts +10 -4
  62. package/package.json +7 -6
  63. package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +0 -3
@@ -6,20 +6,20 @@ export declare const languageSchema: z.ZodEffects<z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  is_master: z.ZodOptional<z.ZodBoolean>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- name: string;
10
9
  id: string;
10
+ name: string;
11
11
  is_master?: boolean | undefined;
12
12
  }, {
13
- name: string;
14
13
  id: string;
14
+ name: string;
15
15
  is_master?: boolean | undefined;
16
16
  }>, {
17
17
  isMaster?: boolean | undefined;
18
18
  id: string;
19
19
  label: string;
20
20
  }, {
21
- name: string;
22
21
  id: string;
22
+ name: string;
23
23
  is_master?: boolean | undefined;
24
24
  }>;
25
25
  declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -78,8 +78,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
78
78
  uploadedAvatar?: string | undefined;
79
79
  }>;
80
80
  }>, "strip", z.ZodTypeAny, {
81
- tags: string[];
82
81
  version_id: string;
82
+ tags: string[];
83
83
  last_modified_date: Date;
84
84
  custom_type_label: string;
85
85
  author: {
@@ -93,8 +93,8 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
93
93
  uid?: string | undefined;
94
94
  preview_summary?: string | undefined;
95
95
  }, {
96
- tags: string[];
97
96
  version_id: string;
97
+ tags: string[];
98
98
  last_modified_date: Date;
99
99
  custom_type_label: string;
100
100
  author: {
@@ -153,8 +153,8 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
153
153
  uid?: string | undefined;
154
154
  }>>;
155
155
  }>, "strip", z.ZodTypeAny, {
156
- tags: string[];
157
156
  version_id: string;
157
+ tags: string[];
158
158
  last_modified_date: Date;
159
159
  preview_image?: string | undefined;
160
160
  uid?: string | undefined;
@@ -165,8 +165,8 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
165
165
  uid?: string | undefined;
166
166
  } | undefined;
167
167
  }, {
168
- tags: string[];
169
168
  version_id: string;
169
+ tags: string[];
170
170
  last_modified_date: Date;
171
171
  preview_image?: string | undefined;
172
172
  uid?: string | undefined;
@@ -189,20 +189,20 @@ export declare const documentMetaSchema: z.ZodObject<{
189
189
  name: z.ZodString;
190
190
  is_master: z.ZodOptional<z.ZodBoolean>;
191
191
  }, "strip", z.ZodTypeAny, {
192
- name: string;
193
192
  id: string;
193
+ name: string;
194
194
  is_master?: boolean | undefined;
195
195
  }, {
196
- name: string;
197
196
  id: string;
197
+ name: string;
198
198
  is_master?: boolean | undefined;
199
199
  }>, {
200
200
  isMaster?: boolean | undefined;
201
201
  id: string;
202
202
  label: string;
203
203
  }, {
204
- name: string;
205
204
  id: string;
205
+ name: string;
206
206
  is_master?: boolean | undefined;
207
207
  }>;
208
208
  versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -261,8 +261,8 @@ export declare const documentMetaSchema: z.ZodObject<{
261
261
  uploadedAvatar?: string | undefined;
262
262
  }>;
263
263
  }>, "strip", z.ZodTypeAny, {
264
- tags: string[];
265
264
  version_id: string;
265
+ tags: string[];
266
266
  last_modified_date: Date;
267
267
  custom_type_label: string;
268
268
  author: {
@@ -276,8 +276,8 @@ export declare const documentMetaSchema: z.ZodObject<{
276
276
  uid?: string | undefined;
277
277
  preview_summary?: string | undefined;
278
278
  }, {
279
- tags: string[];
280
279
  version_id: string;
280
+ tags: string[];
281
281
  last_modified_date: Date;
282
282
  custom_type_label: string;
283
283
  author: {
@@ -311,8 +311,8 @@ export declare const documentMetaSchema: z.ZodObject<{
311
311
  } | {
312
312
  status: "archived";
313
313
  }) & {
314
- tags: string[];
315
314
  version_id: string;
315
+ tags: string[];
316
316
  last_modified_date: Date;
317
317
  custom_type_label: string;
318
318
  author: {
@@ -331,8 +331,8 @@ export declare const documentMetaSchema: z.ZodObject<{
331
331
  custom_type_id: string;
332
332
  group_lang_id: string;
333
333
  language: {
334
- name: string;
335
334
  id: string;
335
+ name: string;
336
336
  is_master?: boolean | undefined;
337
337
  };
338
338
  versions: (({
@@ -345,8 +345,8 @@ export declare const documentMetaSchema: z.ZodObject<{
345
345
  } | {
346
346
  status: "archived";
347
347
  }) & {
348
- tags: string[];
349
348
  version_id: string;
349
+ tags: string[];
350
350
  last_modified_date: Date;
351
351
  custom_type_label: string;
352
352
  author: {
@@ -375,20 +375,20 @@ declare const getDocumentListSchema: z.ZodObject<{
375
375
  name: z.ZodString;
376
376
  is_master: z.ZodOptional<z.ZodBoolean>;
377
377
  }, "strip", z.ZodTypeAny, {
378
- name: string;
379
378
  id: string;
379
+ name: string;
380
380
  is_master?: boolean | undefined;
381
381
  }, {
382
- name: string;
383
382
  id: string;
383
+ name: string;
384
384
  is_master?: boolean | undefined;
385
385
  }>, {
386
386
  isMaster?: boolean | undefined;
387
387
  id: string;
388
388
  label: string;
389
389
  }, {
390
- name: string;
391
390
  id: string;
391
+ name: string;
392
392
  is_master?: boolean | undefined;
393
393
  }>;
394
394
  versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -447,8 +447,8 @@ declare const getDocumentListSchema: z.ZodObject<{
447
447
  uploadedAvatar?: string | undefined;
448
448
  }>;
449
449
  }>, "strip", z.ZodTypeAny, {
450
- tags: string[];
451
450
  version_id: string;
451
+ tags: string[];
452
452
  last_modified_date: Date;
453
453
  custom_type_label: string;
454
454
  author: {
@@ -462,8 +462,8 @@ declare const getDocumentListSchema: z.ZodObject<{
462
462
  uid?: string | undefined;
463
463
  preview_summary?: string | undefined;
464
464
  }, {
465
- tags: string[];
466
465
  version_id: string;
466
+ tags: string[];
467
467
  last_modified_date: Date;
468
468
  custom_type_label: string;
469
469
  author: {
@@ -497,8 +497,8 @@ declare const getDocumentListSchema: z.ZodObject<{
497
497
  } | {
498
498
  status: "archived";
499
499
  }) & {
500
- tags: string[];
501
500
  version_id: string;
501
+ tags: string[];
502
502
  last_modified_date: Date;
503
503
  custom_type_label: string;
504
504
  author: {
@@ -517,8 +517,8 @@ declare const getDocumentListSchema: z.ZodObject<{
517
517
  custom_type_id: string;
518
518
  group_lang_id: string;
519
519
  language: {
520
- name: string;
521
520
  id: string;
521
+ name: string;
522
522
  is_master?: boolean | undefined;
523
523
  };
524
524
  versions: (({
@@ -531,8 +531,8 @@ declare const getDocumentListSchema: z.ZodObject<{
531
531
  } | {
532
532
  status: "archived";
533
533
  }) & {
534
- tags: string[];
535
534
  version_id: string;
535
+ tags: string[];
536
536
  last_modified_date: Date;
537
537
  custom_type_label: string;
538
538
  author: {
@@ -570,8 +570,8 @@ declare const getDocumentListSchema: z.ZodObject<{
570
570
  } | {
571
571
  status: "archived";
572
572
  }) & {
573
- tags: string[];
574
573
  version_id: string;
574
+ tags: string[];
575
575
  last_modified_date: Date;
576
576
  custom_type_label: string;
577
577
  author: {
@@ -594,8 +594,8 @@ declare const getDocumentListSchema: z.ZodObject<{
594
594
  custom_type_id: string;
595
595
  group_lang_id: string;
596
596
  language: {
597
- name: string;
598
597
  id: string;
598
+ name: string;
599
599
  is_master?: boolean | undefined;
600
600
  };
601
601
  versions: (({
@@ -608,8 +608,8 @@ declare const getDocumentListSchema: z.ZodObject<{
608
608
  } | {
609
609
  status: "archived";
610
610
  }) & {
611
- tags: string[];
612
611
  version_id: string;
612
+ tags: string[];
613
613
  last_modified_date: Date;
614
614
  custom_type_label: string;
615
615
  author: {
@@ -677,8 +677,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
677
677
  uid?: string | undefined;
678
678
  }>>;
679
679
  }>, "strip", z.ZodTypeAny, {
680
- tags: string[];
681
680
  version_id: string;
681
+ tags: string[];
682
682
  last_modified_date: Date;
683
683
  preview_image?: string | undefined;
684
684
  uid?: string | undefined;
@@ -689,8 +689,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
689
689
  uid?: string | undefined;
690
690
  } | undefined;
691
691
  }, {
692
- tags: string[];
693
692
  version_id: string;
693
+ tags: string[];
694
694
  last_modified_date: Date;
695
695
  preview_image?: string | undefined;
696
696
  uid?: string | undefined;
@@ -717,8 +717,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
717
717
  } | {
718
718
  status: "archived";
719
719
  }) & {
720
- tags: string[];
721
720
  version_id: string;
721
+ tags: string[];
722
722
  last_modified_date: Date;
723
723
  preview_image?: string | undefined;
724
724
  uid?: string | undefined;
@@ -744,8 +744,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
744
744
  } | {
745
745
  status: "archived";
746
746
  }) & {
747
- tags: string[];
748
747
  version_id: string;
748
+ tags: string[];
749
749
  last_modified_date: Date;
750
750
  preview_image?: string | undefined;
751
751
  uid?: string | undefined;
@@ -774,8 +774,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
774
774
  } | {
775
775
  status: "archived";
776
776
  }) & {
777
- tags: string[];
778
777
  version_id: string;
778
+ tags: string[];
779
779
  last_modified_date: Date;
780
780
  preview_image?: string | undefined;
781
781
  uid?: string | undefined;
@@ -800,8 +800,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
800
800
  } | {
801
801
  status: "archived";
802
802
  }) & {
803
- tags: string[];
804
803
  version_id: string;
804
+ tags: string[];
805
805
  last_modified_date: Date;
806
806
  preview_image?: string | undefined;
807
807
  uid?: string | undefined;
@@ -866,8 +866,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
866
866
  uid?: string | undefined;
867
867
  }>>;
868
868
  }>, "strip", z.ZodTypeAny, {
869
- tags: string[];
870
869
  version_id: string;
870
+ tags: string[];
871
871
  last_modified_date: Date;
872
872
  preview_image?: string | undefined;
873
873
  uid?: string | undefined;
@@ -878,8 +878,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
878
878
  uid?: string | undefined;
879
879
  } | undefined;
880
880
  }, {
881
- tags: string[];
882
881
  version_id: string;
882
+ tags: string[];
883
883
  last_modified_date: Date;
884
884
  preview_image?: string | undefined;
885
885
  uid?: string | undefined;
@@ -906,8 +906,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
906
906
  } | {
907
907
  status: "archived";
908
908
  }) & {
909
- tags: string[];
910
909
  version_id: string;
910
+ tags: string[];
911
911
  last_modified_date: Date;
912
912
  preview_image?: string | undefined;
913
913
  uid?: string | undefined;
@@ -933,8 +933,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
933
933
  } | {
934
934
  status: "archived";
935
935
  }) & {
936
- tags: string[];
937
936
  version_id: string;
937
+ tags: string[];
938
938
  last_modified_date: Date;
939
939
  preview_image?: string | undefined;
940
940
  uid?: string | undefined;
@@ -963,8 +963,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
963
963
  } | {
964
964
  status: "archived";
965
965
  }) & {
966
- tags: string[];
967
966
  version_id: string;
967
+ tags: string[];
968
968
  last_modified_date: Date;
969
969
  preview_image?: string | undefined;
970
970
  uid?: string | undefined;
@@ -989,8 +989,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
989
989
  } | {
990
990
  status: "archived";
991
991
  }) & {
992
- tags: string[];
993
992
  version_id: string;
993
+ tags: string[];
994
994
  last_modified_date: Date;
995
995
  preview_image?: string | undefined;
996
996
  uid?: string | undefined;
@@ -1021,8 +1021,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1021
1021
  } | {
1022
1022
  status: "archived";
1023
1023
  }) & {
1024
- tags: string[];
1025
1024
  version_id: string;
1025
+ tags: string[];
1026
1026
  last_modified_date: Date;
1027
1027
  preview_image?: string | undefined;
1028
1028
  uid?: string | undefined;
@@ -1049,8 +1049,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1049
1049
  } | {
1050
1050
  status: "archived";
1051
1051
  }) & {
1052
- tags: string[];
1053
1052
  version_id: string;
1053
+ tags: string[];
1054
1054
  last_modified_date: Date;
1055
1055
  preview_image?: string | undefined;
1056
1056
  uid?: string | undefined;
@@ -1453,9 +1453,13 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1453
1453
  __TYPE__: "SeparatorContent";
1454
1454
  } | {
1455
1455
  __TYPE__: "TableContent";
1456
- content: {
1456
+ content: ({
1457
+ key: string;
1458
+ } & {
1457
1459
  type: "tableRow";
1458
- content: {
1460
+ content: ({
1461
+ key: string;
1462
+ } & {
1459
1463
  type: "tableCell" | "tableHeader";
1460
1464
  content: {
1461
1465
  __TYPE__: "StructuredTextContent";
@@ -1611,8 +1615,10 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1611
1615
  direction?: string | undefined;
1612
1616
  }))[];
1613
1617
  };
1614
- }[];
1615
- }[];
1618
+ } & {
1619
+ columnWidth?: number | undefined;
1620
+ })[];
1621
+ })[];
1616
1622
  } | {
1617
1623
  __TYPE__: "RepeatableContent";
1618
1624
  type: "Link";
@@ -2048,9 +2054,13 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2048
2054
  __TYPE__: "SeparatorContent";
2049
2055
  } | {
2050
2056
  __TYPE__: "TableContent";
2051
- content: {
2057
+ content: ({
2058
+ key: string;
2059
+ } & {
2052
2060
  type: "tableRow";
2053
- content: {
2061
+ content: ({
2062
+ key: string;
2063
+ } & {
2054
2064
  type: "tableCell" | "tableHeader";
2055
2065
  content: {
2056
2066
  __TYPE__: "StructuredTextContent";
@@ -2206,8 +2216,10 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2206
2216
  direction?: string | undefined;
2207
2217
  }))[];
2208
2218
  };
2209
- }[];
2210
- }[];
2219
+ } & {
2220
+ columnWidth?: number | undefined;
2221
+ })[];
2222
+ })[];
2211
2223
  } | {
2212
2224
  __TYPE__: "RepeatableContent";
2213
2225
  type: "Link";
@@ -2635,9 +2647,13 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2635
2647
  __TYPE__: "SeparatorContent";
2636
2648
  } | {
2637
2649
  __TYPE__: "TableContent";
2638
- content: {
2650
+ content: ({
2651
+ key: string;
2652
+ } & {
2639
2653
  type: "tableRow";
2640
- content: {
2654
+ content: ({
2655
+ key: string;
2656
+ } & {
2641
2657
  type: "tableCell" | "tableHeader";
2642
2658
  content: {
2643
2659
  __TYPE__: "StructuredTextContent";
@@ -2790,8 +2806,10 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2790
2806
  direction?: string | undefined;
2791
2807
  }))[];
2792
2808
  };
2793
- }[];
2794
- }[];
2809
+ } & {
2810
+ columnWidth?: number | undefined;
2811
+ })[];
2812
+ })[];
2795
2813
  } | {
2796
2814
  __TYPE__: "RepeatableContent";
2797
2815
  type: "Link";
@@ -3221,9 +3239,13 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3221
3239
  __TYPE__: "SeparatorContent";
3222
3240
  } | {
3223
3241
  __TYPE__: "TableContent";
3224
- content: {
3242
+ content: ({
3243
+ key: string;
3244
+ } & {
3225
3245
  type: "tableRow";
3226
- content: {
3246
+ content: ({
3247
+ key: string;
3248
+ } & {
3227
3249
  type: "tableCell" | "tableHeader";
3228
3250
  content: {
3229
3251
  __TYPE__: "StructuredTextContent";
@@ -3379,8 +3401,10 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3379
3401
  direction?: string | undefined;
3380
3402
  }))[];
3381
3403
  };
3382
- }[];
3383
- }[];
3404
+ } & {
3405
+ columnWidth?: number | undefined;
3406
+ })[];
3407
+ })[];
3384
3408
  } | {
3385
3409
  __TYPE__: "RepeatableContent";
3386
3410
  type: "Link";
@@ -3808,9 +3832,13 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3808
3832
  __TYPE__: "SeparatorContent";
3809
3833
  } | {
3810
3834
  __TYPE__: "TableContent";
3811
- content: {
3835
+ content: ({
3836
+ key: string;
3837
+ } & {
3812
3838
  type: "tableRow";
3813
- content: {
3839
+ content: ({
3840
+ key: string;
3841
+ } & {
3814
3842
  type: "tableCell" | "tableHeader";
3815
3843
  content: {
3816
3844
  __TYPE__: "StructuredTextContent";
@@ -3963,8 +3991,10 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3963
3991
  direction?: string | undefined;
3964
3992
  }))[];
3965
3993
  };
3966
- }[];
3967
- }[];
3994
+ } & {
3995
+ columnWidth?: number | undefined;
3996
+ })[];
3997
+ })[];
3968
3998
  } | {
3969
3999
  __TYPE__: "RepeatableContent";
3970
4000
  type: "Link";
@@ -4390,9 +4420,13 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4390
4420
  __TYPE__: "SeparatorContent";
4391
4421
  } | {
4392
4422
  __TYPE__: "TableContent";
4393
- content: {
4423
+ content: ({
4424
+ key: string;
4425
+ } & {
4394
4426
  type: "tableRow";
4395
- content: {
4427
+ content: ({
4428
+ key: string;
4429
+ } & {
4396
4430
  type: "tableCell" | "tableHeader";
4397
4431
  content: {
4398
4432
  __TYPE__: "StructuredTextContent";
@@ -4548,8 +4582,10 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4548
4582
  direction?: string | undefined;
4549
4583
  }))[];
4550
4584
  };
4551
- }[];
4552
- }[];
4585
+ } & {
4586
+ columnWidth?: number | undefined;
4587
+ })[];
4588
+ })[];
4553
4589
  } | {
4554
4590
  __TYPE__: "RepeatableContent";
4555
4591
  type: "Link";
@@ -4984,9 +5020,13 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4984
5020
  __TYPE__: "SeparatorContent";
4985
5021
  } | {
4986
5022
  __TYPE__: "TableContent";
4987
- content: {
5023
+ content: ({
5024
+ key: string;
5025
+ } & {
4988
5026
  type: "tableRow";
4989
- content: {
5027
+ content: ({
5028
+ key: string;
5029
+ } & {
4990
5030
  type: "tableCell" | "tableHeader";
4991
5031
  content: {
4992
5032
  __TYPE__: "StructuredTextContent";
@@ -5142,8 +5182,10 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5142
5182
  direction?: string | undefined;
5143
5183
  }))[];
5144
5184
  };
5145
- }[];
5146
- }[];
5185
+ } & {
5186
+ columnWidth?: number | undefined;
5187
+ })[];
5188
+ })[];
5147
5189
  } | {
5148
5190
  __TYPE__: "RepeatableContent";
5149
5191
  type: "Link";
@@ -5571,9 +5613,13 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5571
5613
  __TYPE__: "SeparatorContent";
5572
5614
  } | {
5573
5615
  __TYPE__: "TableContent";
5574
- content: {
5616
+ content: ({
5617
+ key: string;
5618
+ } & {
5575
5619
  type: "tableRow";
5576
- content: {
5620
+ content: ({
5621
+ key: string;
5622
+ } & {
5577
5623
  type: "tableCell" | "tableHeader";
5578
5624
  content: {
5579
5625
  __TYPE__: "StructuredTextContent";
@@ -5729,8 +5775,10 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5729
5775
  direction?: string | undefined;
5730
5776
  }))[];
5731
5777
  };
5732
- }[];
5733
- }[];
5778
+ } & {
5779
+ columnWidth?: number | undefined;
5780
+ })[];
5781
+ })[];
5734
5782
  } | {
5735
5783
  __TYPE__: "RepeatableContent";
5736
5784
  type: "Link";
@@ -6160,9 +6208,13 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6160
6208
  __TYPE__: "SeparatorContent";
6161
6209
  } | {
6162
6210
  __TYPE__: "TableContent";
6163
- content: {
6211
+ content: ({
6212
+ key: string;
6213
+ } & {
6164
6214
  type: "tableRow";
6165
- content: {
6215
+ content: ({
6216
+ key: string;
6217
+ } & {
6166
6218
  type: "tableCell" | "tableHeader";
6167
6219
  content: {
6168
6220
  __TYPE__: "StructuredTextContent";
@@ -6318,8 +6370,10 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6318
6370
  direction?: string | undefined;
6319
6371
  }))[];
6320
6372
  };
6321
- }[];
6322
- }[];
6373
+ } & {
6374
+ columnWidth?: number | undefined;
6375
+ })[];
6376
+ })[];
6323
6377
  } | {
6324
6378
  __TYPE__: "RepeatableContent";
6325
6379
  type: "Link";
@@ -6747,9 +6801,13 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6747
6801
  __TYPE__: "SeparatorContent";
6748
6802
  } | {
6749
6803
  __TYPE__: "TableContent";
6750
- content: {
6804
+ content: ({
6805
+ key: string;
6806
+ } & {
6751
6807
  type: "tableRow";
6752
- content: {
6808
+ content: ({
6809
+ key: string;
6810
+ } & {
6753
6811
  type: "tableCell" | "tableHeader";
6754
6812
  content: {
6755
6813
  __TYPE__: "StructuredTextContent";
@@ -6905,8 +6963,10 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6905
6963
  direction?: string | undefined;
6906
6964
  }))[];
6907
6965
  };
6908
- }[];
6909
- }[];
6966
+ } & {
6967
+ columnWidth?: number | undefined;
6968
+ })[];
6969
+ })[];
6910
6970
  } | {
6911
6971
  __TYPE__: "RepeatableContent";
6912
6972
  type: "Link";
@@ -7332,9 +7392,13 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7332
7392
  __TYPE__: "SeparatorContent";
7333
7393
  } | {
7334
7394
  __TYPE__: "TableContent";
7335
- content: {
7395
+ content: ({
7396
+ key: string;
7397
+ } & {
7336
7398
  type: "tableRow";
7337
- content: {
7399
+ content: ({
7400
+ key: string;
7401
+ } & {
7338
7402
  type: "tableCell" | "tableHeader";
7339
7403
  content: {
7340
7404
  __TYPE__: "StructuredTextContent";
@@ -7490,8 +7554,10 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7490
7554
  direction?: string | undefined;
7491
7555
  }))[];
7492
7556
  };
7493
- }[];
7494
- }[];
7557
+ } & {
7558
+ columnWidth?: number | undefined;
7559
+ })[];
7560
+ })[];
7495
7561
  } | {
7496
7562
  __TYPE__: "RepeatableContent";
7497
7563
  type: "Link";
@@ -7608,8 +7674,8 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7608
7674
  } | {
7609
7675
  status: "archived";
7610
7676
  }) & {
7611
- tags: string[];
7612
7677
  version_id: string;
7678
+ tags: string[];
7613
7679
  last_modified_date: Date;
7614
7680
  custom_type_label: string;
7615
7681
  author: {
@@ -7648,8 +7714,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7648
7714
  } | {
7649
7715
  status: "archived";
7650
7716
  }) & {
7651
- tags: string[];
7652
7717
  version_id: string;
7718
+ tags: string[];
7653
7719
  last_modified_date: Date;
7654
7720
  custom_type_label: string;
7655
7721
  author: {
@@ -7687,8 +7753,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7687
7753
  } | {
7688
7754
  status: "archived";
7689
7755
  }) & {
7690
- tags: string[];
7691
7756
  version_id: string;
7757
+ tags: string[];
7692
7758
  last_modified_date: Date;
7693
7759
  custom_type_label: string;
7694
7760
  author: {
@@ -7727,8 +7793,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7727
7793
  } | {
7728
7794
  status: "archived";
7729
7795
  }) & {
7730
- tags: string[];
7731
7796
  version_id: string;
7797
+ tags: string[];
7732
7798
  last_modified_date: Date;
7733
7799
  custom_type_label: string;
7734
7800
  author: {
@@ -7768,8 +7834,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7768
7834
  } | {
7769
7835
  status: "archived";
7770
7836
  }) & {
7771
- tags: string[];
7772
7837
  version_id: string;
7838
+ tags: string[];
7773
7839
  last_modified_date: Date;
7774
7840
  custom_type_label: string;
7775
7841
  author: {