@prismicio/editor-fields 0.4.73 → 0.4.74

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 (43) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +4 -4
  2. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
  3. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +84 -84
  4. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  5. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +8 -8
  6. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +8 -8
  7. package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
  8. package/dist/core/service/customType.d.ts +21 -21
  9. package/dist/core/service/document.d.ts +115 -115
  10. package/dist/core/service/documentSearch.d.ts +37 -37
  11. package/dist/core/service/onboarding.d.ts +3 -3
  12. package/dist/core/service/repository.d.ts +18 -18
  13. package/dist/core/service/role.d.ts +64 -64
  14. package/dist/core/service/user.d.ts +8 -8
  15. package/dist/fields/ImageField/useImageField.d.ts +8 -8
  16. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
  17. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  18. package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
  19. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  20. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  21. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
  22. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -0
  23. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +19 -0
  24. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +1 -0
  25. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +23 -0
  26. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +1 -0
  27. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +1 -0
  28. package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
  29. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +5 -8
  30. package/dist/fields/RichTextField/extensions/Table/menus/PassthroughTrigger.d.ts +12 -0
  31. package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +6 -4
  32. package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +6 -4
  33. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +8 -0
  34. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
  35. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +34 -0
  36. package/dist/index.cjs.js +35 -35
  37. package/dist/index.es.js +5424 -5373
  38. package/dist/slices/utils.d.ts +5 -5
  39. package/package.json +4 -4
  40. /package/dist/fields/RichTextField/extensions/Table/{plugins/tableHandles/tableHandlesPluginView.d.ts → TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts} +0 -0
  41. /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles/tableHandlesPlugin.d.ts → TableHandles/TableHandlesPlugin.d.ts} +0 -0
  42. /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/index.d.ts +0 -0
  43. /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/utils.d.ts +0 -0
@@ -65,44 +65,44 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
65
65
  email: z.ZodOptional<z.ZodString>;
66
66
  uploadedAvatar: z.ZodOptional<z.ZodString>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- email?: string | undefined;
69
68
  id?: string | undefined;
69
+ email?: string | undefined;
70
+ uploadedAvatar?: string | undefined;
70
71
  first_name?: string | undefined;
71
72
  last_name?: string | undefined;
72
- uploadedAvatar?: string | undefined;
73
73
  }, {
74
- email?: string | undefined;
75
74
  id?: string | undefined;
75
+ email?: string | undefined;
76
+ uploadedAvatar?: string | undefined;
76
77
  first_name?: string | undefined;
77
78
  last_name?: string | undefined;
78
- uploadedAvatar?: string | undefined;
79
79
  }>;
80
80
  }>, "strip", z.ZodTypeAny, {
81
- version_id: string;
82
81
  tags: string[];
82
+ version_id: string;
83
83
  last_modified_date: Date;
84
84
  custom_type_label: string;
85
85
  author: {
86
- email?: string | undefined;
87
86
  id?: string | undefined;
87
+ email?: string | undefined;
88
+ uploadedAvatar?: string | undefined;
88
89
  first_name?: string | undefined;
89
90
  last_name?: string | undefined;
90
- uploadedAvatar?: string | undefined;
91
91
  };
92
92
  uid?: string | undefined;
93
93
  preview_image?: string | undefined;
94
94
  preview_summary?: string | undefined;
95
95
  }, {
96
- version_id: string;
97
96
  tags: string[];
97
+ version_id: string;
98
98
  last_modified_date: Date;
99
99
  custom_type_label: string;
100
100
  author: {
101
- email?: string | undefined;
102
101
  id?: string | undefined;
102
+ email?: string | undefined;
103
+ uploadedAvatar?: string | undefined;
103
104
  first_name?: string | undefined;
104
105
  last_name?: string | undefined;
105
- uploadedAvatar?: string | undefined;
106
106
  };
107
107
  uid?: string | undefined;
108
108
  preview_image?: string | undefined;
@@ -153,11 +153,11 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
153
153
  uid?: string | undefined;
154
154
  }>>;
155
155
  }>, "strip", z.ZodTypeAny, {
156
- version_id: string;
157
156
  tags: string[];
157
+ version_id: string;
158
158
  last_modified_date: Date;
159
- summary?: string | undefined;
160
159
  uid?: string | undefined;
160
+ summary?: string | undefined;
161
161
  preview_image?: string | undefined;
162
162
  custom_type_id?: string | undefined;
163
163
  author_ids?: string[] | undefined;
@@ -165,11 +165,11 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
165
165
  uid?: string | undefined;
166
166
  } | undefined;
167
167
  }, {
168
- version_id: string;
169
168
  tags: string[];
169
+ version_id: string;
170
170
  last_modified_date: Date;
171
- summary?: string | undefined;
172
171
  uid?: string | undefined;
172
+ summary?: string | undefined;
173
173
  preview_image?: string | undefined;
174
174
  custom_type_id?: string | undefined;
175
175
  author_ids?: string[] | undefined;
@@ -248,52 +248,52 @@ export declare const documentMetaSchema: z.ZodObject<{
248
248
  email: z.ZodOptional<z.ZodString>;
249
249
  uploadedAvatar: z.ZodOptional<z.ZodString>;
250
250
  }, "strip", z.ZodTypeAny, {
251
- email?: string | undefined;
252
251
  id?: string | undefined;
252
+ email?: string | undefined;
253
+ uploadedAvatar?: string | undefined;
253
254
  first_name?: string | undefined;
254
255
  last_name?: string | undefined;
255
- uploadedAvatar?: string | undefined;
256
256
  }, {
257
- email?: string | undefined;
258
257
  id?: string | undefined;
258
+ email?: string | undefined;
259
+ uploadedAvatar?: string | undefined;
259
260
  first_name?: string | undefined;
260
261
  last_name?: string | undefined;
261
- uploadedAvatar?: string | undefined;
262
262
  }>;
263
263
  }>, "strip", z.ZodTypeAny, {
264
- version_id: string;
265
264
  tags: string[];
265
+ version_id: string;
266
266
  last_modified_date: Date;
267
267
  custom_type_label: string;
268
268
  author: {
269
- email?: string | undefined;
270
269
  id?: string | undefined;
270
+ email?: string | undefined;
271
+ uploadedAvatar?: string | undefined;
271
272
  first_name?: string | undefined;
272
273
  last_name?: string | undefined;
273
- uploadedAvatar?: string | undefined;
274
274
  };
275
275
  uid?: string | undefined;
276
276
  preview_image?: string | undefined;
277
277
  preview_summary?: string | undefined;
278
278
  }, {
279
- version_id: string;
280
279
  tags: string[];
280
+ version_id: string;
281
281
  last_modified_date: Date;
282
282
  custom_type_label: string;
283
283
  author: {
284
- email?: string | undefined;
285
284
  id?: string | undefined;
285
+ email?: string | undefined;
286
+ uploadedAvatar?: string | undefined;
286
287
  first_name?: string | undefined;
287
288
  last_name?: string | undefined;
288
- uploadedAvatar?: string | undefined;
289
289
  };
290
290
  uid?: string | undefined;
291
291
  preview_image?: string | undefined;
292
292
  preview_summary?: string | undefined;
293
293
  }>>, "many">;
294
294
  }, "strip", z.ZodTypeAny, {
295
- title: string;
296
295
  id: string;
296
+ title: string;
297
297
  language: {
298
298
  isMaster?: boolean | undefined;
299
299
  id: string;
@@ -311,16 +311,16 @@ export declare const documentMetaSchema: z.ZodObject<{
311
311
  } | {
312
312
  status: "archived";
313
313
  }) & {
314
- version_id: string;
315
314
  tags: string[];
315
+ version_id: string;
316
316
  last_modified_date: Date;
317
317
  custom_type_label: string;
318
318
  author: {
319
- email?: string | undefined;
320
319
  id?: string | undefined;
320
+ email?: string | undefined;
321
+ uploadedAvatar?: string | undefined;
321
322
  first_name?: string | undefined;
322
323
  last_name?: string | undefined;
323
- uploadedAvatar?: string | undefined;
324
324
  };
325
325
  uid?: string | undefined;
326
326
  preview_image?: string | undefined;
@@ -345,16 +345,16 @@ export declare const documentMetaSchema: z.ZodObject<{
345
345
  } | {
346
346
  status: "archived";
347
347
  }) & {
348
- version_id: string;
349
348
  tags: string[];
349
+ version_id: string;
350
350
  last_modified_date: Date;
351
351
  custom_type_label: string;
352
352
  author: {
353
- email?: string | undefined;
354
353
  id?: string | undefined;
354
+ email?: string | undefined;
355
+ uploadedAvatar?: string | undefined;
355
356
  first_name?: string | undefined;
356
357
  last_name?: string | undefined;
357
- uploadedAvatar?: string | undefined;
358
358
  };
359
359
  uid?: string | undefined;
360
360
  preview_image?: string | undefined;
@@ -434,52 +434,52 @@ declare const getDocumentListSchema: z.ZodObject<{
434
434
  email: z.ZodOptional<z.ZodString>;
435
435
  uploadedAvatar: z.ZodOptional<z.ZodString>;
436
436
  }, "strip", z.ZodTypeAny, {
437
- email?: string | undefined;
438
437
  id?: string | undefined;
438
+ email?: string | undefined;
439
+ uploadedAvatar?: string | undefined;
439
440
  first_name?: string | undefined;
440
441
  last_name?: string | undefined;
441
- uploadedAvatar?: string | undefined;
442
442
  }, {
443
- email?: string | undefined;
444
443
  id?: string | undefined;
444
+ email?: string | undefined;
445
+ uploadedAvatar?: string | undefined;
445
446
  first_name?: string | undefined;
446
447
  last_name?: string | undefined;
447
- uploadedAvatar?: string | undefined;
448
448
  }>;
449
449
  }>, "strip", z.ZodTypeAny, {
450
- version_id: string;
451
450
  tags: string[];
451
+ version_id: string;
452
452
  last_modified_date: Date;
453
453
  custom_type_label: string;
454
454
  author: {
455
- email?: string | undefined;
456
455
  id?: string | undefined;
456
+ email?: string | undefined;
457
+ uploadedAvatar?: string | undefined;
457
458
  first_name?: string | undefined;
458
459
  last_name?: string | undefined;
459
- uploadedAvatar?: string | undefined;
460
460
  };
461
461
  uid?: string | undefined;
462
462
  preview_image?: string | undefined;
463
463
  preview_summary?: string | undefined;
464
464
  }, {
465
- version_id: string;
466
465
  tags: string[];
466
+ version_id: string;
467
467
  last_modified_date: Date;
468
468
  custom_type_label: string;
469
469
  author: {
470
- email?: string | undefined;
471
470
  id?: string | undefined;
471
+ email?: string | undefined;
472
+ uploadedAvatar?: string | undefined;
472
473
  first_name?: string | undefined;
473
474
  last_name?: string | undefined;
474
- uploadedAvatar?: string | undefined;
475
475
  };
476
476
  uid?: string | undefined;
477
477
  preview_image?: string | undefined;
478
478
  preview_summary?: string | undefined;
479
479
  }>>, "many">;
480
480
  }, "strip", z.ZodTypeAny, {
481
- title: string;
482
481
  id: string;
482
+ title: string;
483
483
  language: {
484
484
  isMaster?: boolean | undefined;
485
485
  id: string;
@@ -497,16 +497,16 @@ declare const getDocumentListSchema: z.ZodObject<{
497
497
  } | {
498
498
  status: "archived";
499
499
  }) & {
500
- version_id: string;
501
500
  tags: string[];
501
+ version_id: string;
502
502
  last_modified_date: Date;
503
503
  custom_type_label: string;
504
504
  author: {
505
- email?: string | undefined;
506
505
  id?: string | undefined;
506
+ email?: string | undefined;
507
+ uploadedAvatar?: string | undefined;
507
508
  first_name?: string | undefined;
508
509
  last_name?: string | undefined;
509
- uploadedAvatar?: string | undefined;
510
510
  };
511
511
  uid?: string | undefined;
512
512
  preview_image?: string | undefined;
@@ -531,16 +531,16 @@ declare const getDocumentListSchema: z.ZodObject<{
531
531
  } | {
532
532
  status: "archived";
533
533
  }) & {
534
- version_id: string;
535
534
  tags: string[];
535
+ version_id: string;
536
536
  last_modified_date: Date;
537
537
  custom_type_label: string;
538
538
  author: {
539
- email?: string | undefined;
540
539
  id?: string | undefined;
540
+ email?: string | undefined;
541
+ uploadedAvatar?: string | undefined;
541
542
  first_name?: string | undefined;
542
543
  last_name?: string | undefined;
543
- uploadedAvatar?: string | undefined;
544
544
  };
545
545
  uid?: string | undefined;
546
546
  preview_image?: string | undefined;
@@ -549,10 +549,9 @@ declare const getDocumentListSchema: z.ZodObject<{
549
549
  title?: string | null | undefined;
550
550
  }>, "many">;
551
551
  }, "strip", z.ZodTypeAny, {
552
- total: number;
553
552
  results: {
554
- title: string;
555
553
  id: string;
554
+ title: string;
556
555
  language: {
557
556
  isMaster?: boolean | undefined;
558
557
  id: string;
@@ -570,25 +569,25 @@ declare const getDocumentListSchema: z.ZodObject<{
570
569
  } | {
571
570
  status: "archived";
572
571
  }) & {
573
- version_id: string;
574
572
  tags: string[];
573
+ version_id: string;
575
574
  last_modified_date: Date;
576
575
  custom_type_label: string;
577
576
  author: {
578
- email?: string | undefined;
579
577
  id?: string | undefined;
578
+ email?: string | undefined;
579
+ uploadedAvatar?: string | undefined;
580
580
  first_name?: string | undefined;
581
581
  last_name?: string | undefined;
582
- uploadedAvatar?: string | undefined;
583
582
  };
584
583
  uid?: string | undefined;
585
584
  preview_image?: string | undefined;
586
585
  preview_summary?: string | undefined;
587
586
  })[];
588
587
  }[];
588
+ total: number;
589
589
  cursor?: string | undefined;
590
590
  }, {
591
- total: number;
592
591
  results: {
593
592
  id: string;
594
593
  language: {
@@ -608,16 +607,16 @@ declare const getDocumentListSchema: z.ZodObject<{
608
607
  } | {
609
608
  status: "archived";
610
609
  }) & {
611
- version_id: string;
612
610
  tags: string[];
611
+ version_id: string;
613
612
  last_modified_date: Date;
614
613
  custom_type_label: string;
615
614
  author: {
616
- email?: string | undefined;
617
615
  id?: string | undefined;
616
+ email?: string | undefined;
617
+ uploadedAvatar?: string | undefined;
618
618
  first_name?: string | undefined;
619
619
  last_name?: string | undefined;
620
- uploadedAvatar?: string | undefined;
621
620
  };
622
621
  uid?: string | undefined;
623
622
  preview_image?: string | undefined;
@@ -625,6 +624,7 @@ declare const getDocumentListSchema: z.ZodObject<{
625
624
  })[];
626
625
  title?: string | null | undefined;
627
626
  }[];
627
+ total: number;
628
628
  cursor?: string | undefined;
629
629
  }>;
630
630
  declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
@@ -677,11 +677,11 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
677
677
  uid?: string | undefined;
678
678
  }>>;
679
679
  }>, "strip", z.ZodTypeAny, {
680
- version_id: string;
681
680
  tags: string[];
681
+ version_id: string;
682
682
  last_modified_date: Date;
683
- summary?: string | undefined;
684
683
  uid?: string | undefined;
684
+ summary?: string | undefined;
685
685
  preview_image?: string | undefined;
686
686
  custom_type_id?: string | undefined;
687
687
  author_ids?: string[] | undefined;
@@ -689,11 +689,11 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
689
689
  uid?: string | undefined;
690
690
  } | undefined;
691
691
  }, {
692
- version_id: string;
693
692
  tags: string[];
693
+ version_id: string;
694
694
  last_modified_date: Date;
695
- summary?: string | undefined;
696
695
  uid?: string | undefined;
696
+ summary?: string | undefined;
697
697
  preview_image?: string | undefined;
698
698
  custom_type_id?: string | undefined;
699
699
  author_ids?: string[] | undefined;
@@ -703,8 +703,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
703
703
  }>>, "many">;
704
704
  locale_id: z.ZodOptional<z.ZodString>;
705
705
  }, "strip", z.ZodTypeAny, {
706
- title: string;
707
706
  id: string;
707
+ title: string;
708
708
  custom_type_id: string;
709
709
  group_lang_id: string;
710
710
  interesting_versions: (({
@@ -717,11 +717,11 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
717
717
  } | {
718
718
  status: "archived";
719
719
  }) & {
720
- version_id: string;
721
720
  tags: string[];
721
+ version_id: string;
722
722
  last_modified_date: Date;
723
- summary?: string | undefined;
724
723
  uid?: string | undefined;
724
+ summary?: string | undefined;
725
725
  preview_image?: string | undefined;
726
726
  custom_type_id?: string | undefined;
727
727
  author_ids?: string[] | undefined;
@@ -744,11 +744,11 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
744
744
  } | {
745
745
  status: "archived";
746
746
  }) & {
747
- version_id: string;
748
747
  tags: string[];
748
+ version_id: string;
749
749
  last_modified_date: Date;
750
- summary?: string | undefined;
751
750
  uid?: string | undefined;
751
+ summary?: string | undefined;
752
752
  preview_image?: string | undefined;
753
753
  custom_type_id?: string | undefined;
754
754
  author_ids?: string[] | undefined;
@@ -759,8 +759,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
759
759
  title?: string | null | undefined;
760
760
  locale_id?: string | undefined;
761
761
  }>, {
762
- title: string;
763
762
  id: string;
763
+ title: string;
764
764
  custom_type_id: string;
765
765
  group_lang_id: string;
766
766
  locale_id?: string | undefined;
@@ -774,11 +774,11 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
774
774
  } | {
775
775
  status: "archived";
776
776
  }) & {
777
- version_id: string;
778
777
  tags: string[];
778
+ version_id: string;
779
779
  last_modified_date: Date;
780
- summary?: string | undefined;
781
780
  uid?: string | undefined;
781
+ summary?: string | undefined;
782
782
  preview_image?: string | undefined;
783
783
  custom_type_id?: string | undefined;
784
784
  author_ids?: string[] | undefined;
@@ -800,11 +800,11 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
800
800
  } | {
801
801
  status: "archived";
802
802
  }) & {
803
- version_id: string;
804
803
  tags: string[];
804
+ version_id: string;
805
805
  last_modified_date: Date;
806
- summary?: string | undefined;
807
806
  uid?: string | undefined;
807
+ summary?: string | undefined;
808
808
  preview_image?: string | undefined;
809
809
  custom_type_id?: string | undefined;
810
810
  author_ids?: string[] | undefined;
@@ -866,11 +866,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
866
866
  uid?: string | undefined;
867
867
  }>>;
868
868
  }>, "strip", z.ZodTypeAny, {
869
- version_id: string;
870
869
  tags: string[];
870
+ version_id: string;
871
871
  last_modified_date: Date;
872
- summary?: string | undefined;
873
872
  uid?: string | undefined;
873
+ summary?: string | undefined;
874
874
  preview_image?: string | undefined;
875
875
  custom_type_id?: string | undefined;
876
876
  author_ids?: string[] | undefined;
@@ -878,11 +878,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
878
878
  uid?: string | undefined;
879
879
  } | undefined;
880
880
  }, {
881
- version_id: string;
882
881
  tags: string[];
882
+ version_id: string;
883
883
  last_modified_date: Date;
884
- summary?: string | undefined;
885
884
  uid?: string | undefined;
885
+ summary?: string | undefined;
886
886
  preview_image?: string | undefined;
887
887
  custom_type_id?: string | undefined;
888
888
  author_ids?: string[] | undefined;
@@ -892,8 +892,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
892
892
  }>>, "many">;
893
893
  locale_id: z.ZodOptional<z.ZodString>;
894
894
  }, "strip", z.ZodTypeAny, {
895
- title: string;
896
895
  id: string;
896
+ title: string;
897
897
  custom_type_id: string;
898
898
  group_lang_id: string;
899
899
  interesting_versions: (({
@@ -906,11 +906,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
906
906
  } | {
907
907
  status: "archived";
908
908
  }) & {
909
- version_id: string;
910
909
  tags: string[];
910
+ version_id: string;
911
911
  last_modified_date: Date;
912
- summary?: string | undefined;
913
912
  uid?: string | undefined;
913
+ summary?: string | undefined;
914
914
  preview_image?: string | undefined;
915
915
  custom_type_id?: string | undefined;
916
916
  author_ids?: string[] | undefined;
@@ -933,11 +933,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
933
933
  } | {
934
934
  status: "archived";
935
935
  }) & {
936
- version_id: string;
937
936
  tags: string[];
937
+ version_id: string;
938
938
  last_modified_date: Date;
939
- summary?: string | undefined;
940
939
  uid?: string | undefined;
940
+ summary?: string | undefined;
941
941
  preview_image?: string | undefined;
942
942
  custom_type_id?: string | undefined;
943
943
  author_ids?: string[] | undefined;
@@ -948,8 +948,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
948
948
  title?: string | null | undefined;
949
949
  locale_id?: string | undefined;
950
950
  }>, {
951
- title: string;
952
951
  id: string;
952
+ title: string;
953
953
  custom_type_id: string;
954
954
  group_lang_id: string;
955
955
  locale_id?: string | undefined;
@@ -963,11 +963,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
963
963
  } | {
964
964
  status: "archived";
965
965
  }) & {
966
- version_id: string;
967
966
  tags: string[];
967
+ version_id: string;
968
968
  last_modified_date: Date;
969
- summary?: string | undefined;
970
969
  uid?: string | undefined;
970
+ summary?: string | undefined;
971
971
  preview_image?: string | undefined;
972
972
  custom_type_id?: string | undefined;
973
973
  author_ids?: string[] | undefined;
@@ -989,11 +989,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
989
989
  } | {
990
990
  status: "archived";
991
991
  }) & {
992
- version_id: string;
993
992
  tags: string[];
993
+ version_id: string;
994
994
  last_modified_date: Date;
995
- summary?: string | undefined;
996
995
  uid?: string | undefined;
996
+ summary?: string | undefined;
997
997
  preview_image?: string | undefined;
998
998
  custom_type_id?: string | undefined;
999
999
  author_ids?: string[] | undefined;
@@ -1006,8 +1006,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1006
1006
  }>, "many">;
1007
1007
  }, "strip", z.ZodTypeAny, {
1008
1008
  results: {
1009
- title: string;
1010
1009
  id: string;
1010
+ title: string;
1011
1011
  custom_type_id: string;
1012
1012
  group_lang_id: string;
1013
1013
  locale_id?: string | undefined;
@@ -1021,11 +1021,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1021
1021
  } | {
1022
1022
  status: "archived";
1023
1023
  }) & {
1024
- version_id: string;
1025
1024
  tags: string[];
1025
+ version_id: string;
1026
1026
  last_modified_date: Date;
1027
- summary?: string | undefined;
1028
1027
  uid?: string | undefined;
1028
+ summary?: string | undefined;
1029
1029
  preview_image?: string | undefined;
1030
1030
  custom_type_id?: string | undefined;
1031
1031
  author_ids?: string[] | undefined;
@@ -1049,11 +1049,11 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1049
1049
  } | {
1050
1050
  status: "archived";
1051
1051
  }) & {
1052
- version_id: string;
1053
1052
  tags: string[];
1053
+ version_id: string;
1054
1054
  last_modified_date: Date;
1055
- summary?: string | undefined;
1056
1055
  uid?: string | undefined;
1056
+ summary?: string | undefined;
1057
1057
  preview_image?: string | undefined;
1058
1058
  custom_type_id?: string | undefined;
1059
1059
  author_ids?: string[] | undefined;
@@ -7653,10 +7653,9 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
7653
7653
  export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
7654
7654
  export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
7655
7655
  export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
7656
- total: number;
7657
7656
  results: {
7658
- title: string;
7659
7657
  id: string;
7658
+ title: string;
7660
7659
  language: {
7661
7660
  isMaster?: boolean | undefined;
7662
7661
  id: string;
@@ -7674,29 +7673,29 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7674
7673
  } | {
7675
7674
  status: "archived";
7676
7675
  }) & {
7677
- version_id: string;
7678
7676
  tags: string[];
7677
+ version_id: string;
7679
7678
  last_modified_date: Date;
7680
7679
  custom_type_label: string;
7681
7680
  author: {
7682
- email?: string | undefined;
7683
7681
  id?: string | undefined;
7682
+ email?: string | undefined;
7683
+ uploadedAvatar?: string | undefined;
7684
7684
  first_name?: string | undefined;
7685
7685
  last_name?: string | undefined;
7686
- uploadedAvatar?: string | undefined;
7687
7686
  };
7688
7687
  uid?: string | undefined;
7689
7688
  preview_image?: string | undefined;
7690
7689
  preview_summary?: string | undefined;
7691
7690
  })[];
7692
7691
  }[];
7692
+ total: number;
7693
7693
  cursor?: string | undefined;
7694
7694
  }, Error>;
7695
7695
  export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
7696
- total: number;
7697
7696
  results: {
7698
- title: string;
7699
7697
  id: string;
7698
+ title: string;
7700
7699
  language: {
7701
7700
  isMaster?: boolean | undefined;
7702
7701
  id: string;
@@ -7714,28 +7713,28 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7714
7713
  } | {
7715
7714
  status: "archived";
7716
7715
  }) & {
7717
- version_id: string;
7718
7716
  tags: string[];
7717
+ version_id: string;
7719
7718
  last_modified_date: Date;
7720
7719
  custom_type_label: string;
7721
7720
  author: {
7722
- email?: string | undefined;
7723
7721
  id?: string | undefined;
7722
+ email?: string | undefined;
7723
+ uploadedAvatar?: string | undefined;
7724
7724
  first_name?: string | undefined;
7725
7725
  last_name?: string | undefined;
7726
- uploadedAvatar?: string | undefined;
7727
7726
  };
7728
7727
  uid?: string | undefined;
7729
7728
  preview_image?: string | undefined;
7730
7729
  preview_summary?: string | undefined;
7731
7730
  })[];
7732
7731
  }[];
7732
+ total: number;
7733
7733
  cursor?: string | undefined;
7734
7734
  }, Error, {
7735
- total: number;
7736
7735
  results: {
7737
- title: string;
7738
7736
  id: string;
7737
+ title: string;
7739
7738
  language: {
7740
7739
  isMaster?: boolean | undefined;
7741
7740
  id: string;
@@ -7753,29 +7752,29 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7753
7752
  } | {
7754
7753
  status: "archived";
7755
7754
  }) & {
7756
- version_id: string;
7757
7755
  tags: string[];
7756
+ version_id: string;
7758
7757
  last_modified_date: Date;
7759
7758
  custom_type_label: string;
7760
7759
  author: {
7761
- email?: string | undefined;
7762
7760
  id?: string | undefined;
7761
+ email?: string | undefined;
7762
+ uploadedAvatar?: string | undefined;
7763
7763
  first_name?: string | undefined;
7764
7764
  last_name?: string | undefined;
7765
- uploadedAvatar?: string | undefined;
7766
7765
  };
7767
7766
  uid?: string | undefined;
7768
7767
  preview_image?: string | undefined;
7769
7768
  preview_summary?: string | undefined;
7770
7769
  })[];
7771
7770
  }[];
7771
+ total: number;
7772
7772
  cursor?: string | undefined;
7773
7773
  }, readonly ["documents", "list", GetDocumentListArgs]> & {
7774
7774
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
7775
- total: number;
7776
7775
  results: {
7777
- title: string;
7778
7776
  id: string;
7777
+ title: string;
7779
7778
  language: {
7780
7779
  isMaster?: boolean | undefined;
7781
7780
  id: string;
@@ -7793,30 +7792,30 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7793
7792
  } | {
7794
7793
  status: "archived";
7795
7794
  }) & {
7796
- version_id: string;
7797
7795
  tags: string[];
7796
+ version_id: string;
7798
7797
  last_modified_date: Date;
7799
7798
  custom_type_label: string;
7800
7799
  author: {
7801
- email?: string | undefined;
7802
7800
  id?: string | undefined;
7801
+ email?: string | undefined;
7802
+ uploadedAvatar?: string | undefined;
7803
7803
  first_name?: string | undefined;
7804
7804
  last_name?: string | undefined;
7805
- uploadedAvatar?: string | undefined;
7806
7805
  };
7807
7806
  uid?: string | undefined;
7808
7807
  preview_image?: string | undefined;
7809
7808
  preview_summary?: string | undefined;
7810
7809
  })[];
7811
7810
  }[];
7811
+ total: number;
7812
7812
  cursor?: string | undefined;
7813
7813
  }> | undefined;
7814
7814
  } & {
7815
7815
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
7816
- total: number;
7817
7816
  results: {
7818
- title: string;
7819
7817
  id: string;
7818
+ title: string;
7820
7819
  language: {
7821
7820
  isMaster?: boolean | undefined;
7822
7821
  id: string;
@@ -7834,22 +7833,23 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7834
7833
  } | {
7835
7834
  status: "archived";
7836
7835
  }) & {
7837
- version_id: string;
7838
7836
  tags: string[];
7837
+ version_id: string;
7839
7838
  last_modified_date: Date;
7840
7839
  custom_type_label: string;
7841
7840
  author: {
7842
- email?: string | undefined;
7843
7841
  id?: string | undefined;
7842
+ email?: string | undefined;
7843
+ uploadedAvatar?: string | undefined;
7844
7844
  first_name?: string | undefined;
7845
7845
  last_name?: string | undefined;
7846
- uploadedAvatar?: string | undefined;
7847
7846
  };
7848
7847
  uid?: string | undefined;
7849
7848
  preview_image?: string | undefined;
7850
7849
  preview_summary?: string | undefined;
7851
7850
  })[];
7852
7851
  }[];
7852
+ total: number;
7853
7853
  cursor?: string | undefined;
7854
7854
  }>;
7855
7855
  };