@prismicio/editor-fields 0.4.82 → 0.4.83

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 (24) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +26 -26
  2. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +1 -1
  3. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +2 -2
  4. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +61 -61
  5. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  6. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +6 -6
  7. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +6 -6
  8. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  9. package/dist/core/service/customType.d.ts +78 -78
  10. package/dist/core/service/document.d.ts +136 -136
  11. package/dist/core/service/documentSearch.d.ts +35 -35
  12. package/dist/core/service/repository.d.ts +12 -12
  13. package/dist/core/service/role.d.ts +12 -12
  14. package/dist/fields/ImageField/useImageField.d.ts +6 -6
  15. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +6 -6
  16. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  17. package/dist/fields/LinkField/Documents/documentsData.d.ts +11 -11
  18. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  19. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
  20. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +6 -6
  21. package/dist/index.cjs.js +1 -1
  22. package/dist/index.es.js +120 -118
  23. package/package.json +4 -4
  24. package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +0 -9
@@ -65,16 +65,16 @@ 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;
68
69
  id?: string | undefined;
69
70
  first_name?: string | undefined;
70
71
  last_name?: string | undefined;
71
- email?: string | undefined;
72
72
  uploadedAvatar?: string | undefined;
73
73
  }, {
74
+ email?: string | undefined;
74
75
  id?: string | undefined;
75
76
  first_name?: string | undefined;
76
77
  last_name?: string | undefined;
77
- email?: string | undefined;
78
78
  uploadedAvatar?: string | undefined;
79
79
  }>;
80
80
  }>, "strip", z.ZodTypeAny, {
@@ -83,14 +83,14 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
83
83
  last_modified_date: Date;
84
84
  custom_type_label: string;
85
85
  author: {
86
+ email?: string | undefined;
86
87
  id?: string | undefined;
87
88
  first_name?: string | undefined;
88
89
  last_name?: string | undefined;
89
- email?: string | undefined;
90
90
  uploadedAvatar?: string | undefined;
91
91
  };
92
- preview_image?: string | undefined;
93
92
  uid?: string | undefined;
93
+ preview_image?: string | undefined;
94
94
  preview_summary?: string | undefined;
95
95
  }, {
96
96
  tags: string[];
@@ -98,14 +98,14 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
98
98
  last_modified_date: Date;
99
99
  custom_type_label: string;
100
100
  author: {
101
+ email?: string | undefined;
101
102
  id?: string | undefined;
102
103
  first_name?: string | undefined;
103
104
  last_name?: string | undefined;
104
- email?: string | undefined;
105
105
  uploadedAvatar?: string | undefined;
106
106
  };
107
- preview_image?: string | undefined;
108
107
  uid?: string | undefined;
108
+ preview_image?: string | undefined;
109
109
  preview_summary?: string | undefined;
110
110
  }>>;
111
111
  declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -157,9 +157,9 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
157
157
  version_id: string;
158
158
  last_modified_date: Date;
159
159
  summary?: string | undefined;
160
- custom_type_id?: string | undefined;
161
- preview_image?: string | undefined;
162
160
  uid?: string | undefined;
161
+ preview_image?: string | undefined;
162
+ custom_type_id?: string | undefined;
163
163
  author_ids?: string[] | undefined;
164
164
  highlights?: {
165
165
  uid?: string | undefined;
@@ -169,9 +169,9 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
169
169
  version_id: string;
170
170
  last_modified_date: Date;
171
171
  summary?: string | undefined;
172
- custom_type_id?: string | undefined;
173
- preview_image?: string | undefined;
174
172
  uid?: string | undefined;
173
+ preview_image?: string | undefined;
174
+ custom_type_id?: string | undefined;
175
175
  author_ids?: string[] | undefined;
176
176
  highlights?: {
177
177
  uid?: string | undefined;
@@ -249,16 +249,16 @@ export declare const documentMetaSchema: z.ZodObject<{
249
249
  email: z.ZodOptional<z.ZodString>;
250
250
  uploadedAvatar: z.ZodOptional<z.ZodString>;
251
251
  }, "strip", z.ZodTypeAny, {
252
+ email?: string | undefined;
252
253
  id?: string | undefined;
253
254
  first_name?: string | undefined;
254
255
  last_name?: string | undefined;
255
- email?: string | undefined;
256
256
  uploadedAvatar?: string | undefined;
257
257
  }, {
258
+ email?: string | undefined;
258
259
  id?: string | undefined;
259
260
  first_name?: string | undefined;
260
261
  last_name?: string | undefined;
261
- email?: string | undefined;
262
262
  uploadedAvatar?: string | undefined;
263
263
  }>;
264
264
  }>, "strip", z.ZodTypeAny, {
@@ -267,14 +267,14 @@ export declare const documentMetaSchema: z.ZodObject<{
267
267
  last_modified_date: Date;
268
268
  custom_type_label: string;
269
269
  author: {
270
+ email?: string | undefined;
270
271
  id?: string | undefined;
271
272
  first_name?: string | undefined;
272
273
  last_name?: string | undefined;
273
- email?: string | undefined;
274
274
  uploadedAvatar?: string | undefined;
275
275
  };
276
- preview_image?: string | undefined;
277
276
  uid?: string | undefined;
277
+ preview_image?: string | undefined;
278
278
  preview_summary?: string | undefined;
279
279
  }, {
280
280
  tags: string[];
@@ -282,24 +282,24 @@ export declare const documentMetaSchema: z.ZodObject<{
282
282
  last_modified_date: Date;
283
283
  custom_type_label: string;
284
284
  author: {
285
+ email?: string | undefined;
285
286
  id?: string | undefined;
286
287
  first_name?: string | undefined;
287
288
  last_name?: string | undefined;
288
- email?: string | undefined;
289
289
  uploadedAvatar?: string | undefined;
290
290
  };
291
- preview_image?: string | undefined;
292
291
  uid?: string | undefined;
292
+ preview_image?: string | undefined;
293
293
  preview_summary?: string | undefined;
294
294
  }>>, "many">;
295
295
  }, "strip", z.ZodTypeAny, {
296
- id: string;
297
- title: string;
298
296
  language: {
299
297
  id: string;
300
298
  label: string;
301
299
  isMaster: boolean;
302
300
  };
301
+ title: string;
302
+ id: string;
303
303
  custom_type_id: string;
304
304
  group_lang_id: string;
305
305
  versions: (({
@@ -317,24 +317,24 @@ export declare const documentMetaSchema: z.ZodObject<{
317
317
  last_modified_date: Date;
318
318
  custom_type_label: string;
319
319
  author: {
320
+ email?: string | undefined;
320
321
  id?: string | undefined;
321
322
  first_name?: string | undefined;
322
323
  last_name?: string | undefined;
323
- email?: string | undefined;
324
324
  uploadedAvatar?: string | undefined;
325
325
  };
326
- preview_image?: string | undefined;
327
326
  uid?: string | undefined;
327
+ preview_image?: string | undefined;
328
328
  preview_summary?: string | undefined;
329
329
  })[];
330
330
  ai_abm_thread_id?: string | undefined;
331
331
  }, {
332
- id: string;
333
332
  language: {
334
333
  id: string;
335
334
  name: string;
336
335
  is_master?: boolean | undefined;
337
336
  };
337
+ id: string;
338
338
  custom_type_id: string;
339
339
  group_lang_id: string;
340
340
  versions: (({
@@ -352,14 +352,14 @@ export declare const documentMetaSchema: z.ZodObject<{
352
352
  last_modified_date: Date;
353
353
  custom_type_label: string;
354
354
  author: {
355
+ email?: string | undefined;
355
356
  id?: string | undefined;
356
357
  first_name?: string | undefined;
357
358
  last_name?: string | undefined;
358
- email?: string | undefined;
359
359
  uploadedAvatar?: string | undefined;
360
360
  };
361
- preview_image?: string | undefined;
362
361
  uid?: string | undefined;
362
+ preview_image?: string | undefined;
363
363
  preview_summary?: string | undefined;
364
364
  })[];
365
365
  title?: string | null | undefined;
@@ -438,16 +438,16 @@ declare const getDocumentListSchema: z.ZodObject<{
438
438
  email: z.ZodOptional<z.ZodString>;
439
439
  uploadedAvatar: z.ZodOptional<z.ZodString>;
440
440
  }, "strip", z.ZodTypeAny, {
441
+ email?: string | undefined;
441
442
  id?: string | undefined;
442
443
  first_name?: string | undefined;
443
444
  last_name?: string | undefined;
444
- email?: string | undefined;
445
445
  uploadedAvatar?: string | undefined;
446
446
  }, {
447
+ email?: string | undefined;
447
448
  id?: string | undefined;
448
449
  first_name?: string | undefined;
449
450
  last_name?: string | undefined;
450
- email?: string | undefined;
451
451
  uploadedAvatar?: string | undefined;
452
452
  }>;
453
453
  }>, "strip", z.ZodTypeAny, {
@@ -456,14 +456,14 @@ declare const getDocumentListSchema: z.ZodObject<{
456
456
  last_modified_date: Date;
457
457
  custom_type_label: string;
458
458
  author: {
459
+ email?: string | undefined;
459
460
  id?: string | undefined;
460
461
  first_name?: string | undefined;
461
462
  last_name?: string | undefined;
462
- email?: string | undefined;
463
463
  uploadedAvatar?: string | undefined;
464
464
  };
465
- preview_image?: string | undefined;
466
465
  uid?: string | undefined;
466
+ preview_image?: string | undefined;
467
467
  preview_summary?: string | undefined;
468
468
  }, {
469
469
  tags: string[];
@@ -471,24 +471,24 @@ declare const getDocumentListSchema: z.ZodObject<{
471
471
  last_modified_date: Date;
472
472
  custom_type_label: string;
473
473
  author: {
474
+ email?: string | undefined;
474
475
  id?: string | undefined;
475
476
  first_name?: string | undefined;
476
477
  last_name?: string | undefined;
477
- email?: string | undefined;
478
478
  uploadedAvatar?: string | undefined;
479
479
  };
480
- preview_image?: string | undefined;
481
480
  uid?: string | undefined;
481
+ preview_image?: string | undefined;
482
482
  preview_summary?: string | undefined;
483
483
  }>>, "many">;
484
484
  }, "strip", z.ZodTypeAny, {
485
- id: string;
486
- title: string;
487
485
  language: {
488
486
  id: string;
489
487
  label: string;
490
488
  isMaster: boolean;
491
489
  };
490
+ title: string;
491
+ id: string;
492
492
  custom_type_id: string;
493
493
  group_lang_id: string;
494
494
  versions: (({
@@ -506,24 +506,24 @@ declare const getDocumentListSchema: z.ZodObject<{
506
506
  last_modified_date: Date;
507
507
  custom_type_label: string;
508
508
  author: {
509
+ email?: string | undefined;
509
510
  id?: string | undefined;
510
511
  first_name?: string | undefined;
511
512
  last_name?: string | undefined;
512
- email?: string | undefined;
513
513
  uploadedAvatar?: string | undefined;
514
514
  };
515
- preview_image?: string | undefined;
516
515
  uid?: string | undefined;
516
+ preview_image?: string | undefined;
517
517
  preview_summary?: string | undefined;
518
518
  })[];
519
519
  ai_abm_thread_id?: string | undefined;
520
520
  }, {
521
- id: string;
522
521
  language: {
523
522
  id: string;
524
523
  name: string;
525
524
  is_master?: boolean | undefined;
526
525
  };
526
+ id: string;
527
527
  custom_type_id: string;
528
528
  group_lang_id: string;
529
529
  versions: (({
@@ -541,29 +541,28 @@ declare const getDocumentListSchema: z.ZodObject<{
541
541
  last_modified_date: Date;
542
542
  custom_type_label: string;
543
543
  author: {
544
+ email?: string | undefined;
544
545
  id?: string | undefined;
545
546
  first_name?: string | undefined;
546
547
  last_name?: string | undefined;
547
- email?: string | undefined;
548
548
  uploadedAvatar?: string | undefined;
549
549
  };
550
- preview_image?: string | undefined;
551
550
  uid?: string | undefined;
551
+ preview_image?: string | undefined;
552
552
  preview_summary?: string | undefined;
553
553
  })[];
554
554
  title?: string | null | undefined;
555
555
  ai_abm_thread_id?: string | null | undefined;
556
556
  }>, "many">;
557
557
  }, "strip", z.ZodTypeAny, {
558
- total: number;
559
558
  results: {
560
- id: string;
561
- title: string;
562
559
  language: {
563
560
  id: string;
564
561
  label: string;
565
562
  isMaster: boolean;
566
563
  };
564
+ title: string;
565
+ id: string;
567
566
  custom_type_id: string;
568
567
  group_lang_id: string;
569
568
  versions: (({
@@ -581,28 +580,28 @@ declare const getDocumentListSchema: z.ZodObject<{
581
580
  last_modified_date: Date;
582
581
  custom_type_label: string;
583
582
  author: {
583
+ email?: string | undefined;
584
584
  id?: string | undefined;
585
585
  first_name?: string | undefined;
586
586
  last_name?: string | undefined;
587
- email?: string | undefined;
588
587
  uploadedAvatar?: string | undefined;
589
588
  };
590
- preview_image?: string | undefined;
591
589
  uid?: string | undefined;
590
+ preview_image?: string | undefined;
592
591
  preview_summary?: string | undefined;
593
592
  })[];
594
593
  ai_abm_thread_id?: string | undefined;
595
594
  }[];
595
+ total: number;
596
596
  cursor?: string | undefined;
597
597
  }, {
598
- total: number;
599
598
  results: {
600
- id: string;
601
599
  language: {
602
600
  id: string;
603
601
  name: string;
604
602
  is_master?: boolean | undefined;
605
603
  };
604
+ id: string;
606
605
  custom_type_id: string;
607
606
  group_lang_id: string;
608
607
  versions: (({
@@ -620,19 +619,20 @@ declare const getDocumentListSchema: z.ZodObject<{
620
619
  last_modified_date: Date;
621
620
  custom_type_label: string;
622
621
  author: {
622
+ email?: string | undefined;
623
623
  id?: string | undefined;
624
624
  first_name?: string | undefined;
625
625
  last_name?: string | undefined;
626
- email?: string | undefined;
627
626
  uploadedAvatar?: string | undefined;
628
627
  };
629
- preview_image?: string | undefined;
630
628
  uid?: string | undefined;
629
+ preview_image?: string | undefined;
631
630
  preview_summary?: string | undefined;
632
631
  })[];
633
632
  title?: string | null | undefined;
634
633
  ai_abm_thread_id?: string | null | undefined;
635
634
  }[];
635
+ total: number;
636
636
  cursor?: string | undefined;
637
637
  }>;
638
638
  declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
@@ -689,9 +689,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
689
689
  version_id: string;
690
690
  last_modified_date: Date;
691
691
  summary?: string | undefined;
692
- custom_type_id?: string | undefined;
693
- preview_image?: string | undefined;
694
692
  uid?: string | undefined;
693
+ preview_image?: string | undefined;
694
+ custom_type_id?: string | undefined;
695
695
  author_ids?: string[] | undefined;
696
696
  highlights?: {
697
697
  uid?: string | undefined;
@@ -701,9 +701,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
701
701
  version_id: string;
702
702
  last_modified_date: Date;
703
703
  summary?: string | undefined;
704
- custom_type_id?: string | undefined;
705
- preview_image?: string | undefined;
706
704
  uid?: string | undefined;
705
+ preview_image?: string | undefined;
706
+ custom_type_id?: string | undefined;
707
707
  author_ids?: string[] | undefined;
708
708
  highlights?: {
709
709
  uid?: string | undefined;
@@ -711,8 +711,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
711
711
  }>>, "many">;
712
712
  locale_id: z.ZodOptional<z.ZodString>;
713
713
  }, "strip", z.ZodTypeAny, {
714
- id: string;
715
714
  title: string;
715
+ id: string;
716
716
  custom_type_id: string;
717
717
  group_lang_id: string;
718
718
  interesting_versions: (({
@@ -729,9 +729,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
729
729
  version_id: string;
730
730
  last_modified_date: Date;
731
731
  summary?: string | undefined;
732
- custom_type_id?: string | undefined;
733
- preview_image?: string | undefined;
734
732
  uid?: string | undefined;
733
+ preview_image?: string | undefined;
734
+ custom_type_id?: string | undefined;
735
735
  author_ids?: string[] | undefined;
736
736
  highlights?: {
737
737
  uid?: string | undefined;
@@ -756,9 +756,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
756
756
  version_id: string;
757
757
  last_modified_date: Date;
758
758
  summary?: string | undefined;
759
- custom_type_id?: string | undefined;
760
- preview_image?: string | undefined;
761
759
  uid?: string | undefined;
760
+ preview_image?: string | undefined;
761
+ custom_type_id?: string | undefined;
762
762
  author_ids?: string[] | undefined;
763
763
  highlights?: {
764
764
  uid?: string | undefined;
@@ -767,8 +767,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
767
767
  title?: string | null | undefined;
768
768
  locale_id?: string | undefined;
769
769
  }>, {
770
- id: string;
771
770
  title: string;
771
+ id: string;
772
772
  custom_type_id: string;
773
773
  group_lang_id: string;
774
774
  locale_id?: string | undefined;
@@ -786,9 +786,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
786
786
  version_id: string;
787
787
  last_modified_date: Date;
788
788
  summary?: string | undefined;
789
- custom_type_id?: string | undefined;
790
- preview_image?: string | undefined;
791
789
  uid?: string | undefined;
790
+ preview_image?: string | undefined;
791
+ custom_type_id?: string | undefined;
792
792
  author_ids?: string[] | undefined;
793
793
  highlights?: {
794
794
  uid?: string | undefined;
@@ -812,9 +812,9 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
812
812
  version_id: string;
813
813
  last_modified_date: Date;
814
814
  summary?: string | undefined;
815
- custom_type_id?: string | undefined;
816
- preview_image?: string | undefined;
817
815
  uid?: string | undefined;
816
+ preview_image?: string | undefined;
817
+ custom_type_id?: string | undefined;
818
818
  author_ids?: string[] | undefined;
819
819
  highlights?: {
820
820
  uid?: string | undefined;
@@ -878,9 +878,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
878
878
  version_id: string;
879
879
  last_modified_date: Date;
880
880
  summary?: string | undefined;
881
- custom_type_id?: string | undefined;
882
- preview_image?: string | undefined;
883
881
  uid?: string | undefined;
882
+ preview_image?: string | undefined;
883
+ custom_type_id?: string | undefined;
884
884
  author_ids?: string[] | undefined;
885
885
  highlights?: {
886
886
  uid?: string | undefined;
@@ -890,9 +890,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
890
890
  version_id: string;
891
891
  last_modified_date: Date;
892
892
  summary?: string | undefined;
893
- custom_type_id?: string | undefined;
894
- preview_image?: string | undefined;
895
893
  uid?: string | undefined;
894
+ preview_image?: string | undefined;
895
+ custom_type_id?: string | undefined;
896
896
  author_ids?: string[] | undefined;
897
897
  highlights?: {
898
898
  uid?: string | undefined;
@@ -900,8 +900,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
900
900
  }>>, "many">;
901
901
  locale_id: z.ZodOptional<z.ZodString>;
902
902
  }, "strip", z.ZodTypeAny, {
903
- id: string;
904
903
  title: string;
904
+ id: string;
905
905
  custom_type_id: string;
906
906
  group_lang_id: string;
907
907
  interesting_versions: (({
@@ -918,9 +918,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
918
918
  version_id: string;
919
919
  last_modified_date: Date;
920
920
  summary?: string | undefined;
921
- custom_type_id?: string | undefined;
922
- preview_image?: string | undefined;
923
921
  uid?: string | undefined;
922
+ preview_image?: string | undefined;
923
+ custom_type_id?: string | undefined;
924
924
  author_ids?: string[] | undefined;
925
925
  highlights?: {
926
926
  uid?: string | undefined;
@@ -945,9 +945,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
945
945
  version_id: string;
946
946
  last_modified_date: Date;
947
947
  summary?: string | undefined;
948
- custom_type_id?: string | undefined;
949
- preview_image?: string | undefined;
950
948
  uid?: string | undefined;
949
+ preview_image?: string | undefined;
950
+ custom_type_id?: string | undefined;
951
951
  author_ids?: string[] | undefined;
952
952
  highlights?: {
953
953
  uid?: string | undefined;
@@ -956,8 +956,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
956
956
  title?: string | null | undefined;
957
957
  locale_id?: string | undefined;
958
958
  }>, {
959
- id: string;
960
959
  title: string;
960
+ id: string;
961
961
  custom_type_id: string;
962
962
  group_lang_id: string;
963
963
  locale_id?: string | undefined;
@@ -975,9 +975,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
975
975
  version_id: string;
976
976
  last_modified_date: Date;
977
977
  summary?: string | undefined;
978
- custom_type_id?: string | undefined;
979
- preview_image?: string | undefined;
980
978
  uid?: string | undefined;
979
+ preview_image?: string | undefined;
980
+ custom_type_id?: string | undefined;
981
981
  author_ids?: string[] | undefined;
982
982
  highlights?: {
983
983
  uid?: string | undefined;
@@ -1001,9 +1001,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1001
1001
  version_id: string;
1002
1002
  last_modified_date: Date;
1003
1003
  summary?: string | undefined;
1004
- custom_type_id?: string | undefined;
1005
- preview_image?: string | undefined;
1006
1004
  uid?: string | undefined;
1005
+ preview_image?: string | undefined;
1006
+ custom_type_id?: string | undefined;
1007
1007
  author_ids?: string[] | undefined;
1008
1008
  highlights?: {
1009
1009
  uid?: string | undefined;
@@ -1014,8 +1014,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1014
1014
  }>, "many">;
1015
1015
  }, "strip", z.ZodTypeAny, {
1016
1016
  results: {
1017
- id: string;
1018
1017
  title: string;
1018
+ id: string;
1019
1019
  custom_type_id: string;
1020
1020
  group_lang_id: string;
1021
1021
  locale_id?: string | undefined;
@@ -1033,9 +1033,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1033
1033
  version_id: string;
1034
1034
  last_modified_date: Date;
1035
1035
  summary?: string | undefined;
1036
- custom_type_id?: string | undefined;
1037
- preview_image?: string | undefined;
1038
1036
  uid?: string | undefined;
1037
+ preview_image?: string | undefined;
1038
+ custom_type_id?: string | undefined;
1039
1039
  author_ids?: string[] | undefined;
1040
1040
  highlights?: {
1041
1041
  uid?: string | undefined;
@@ -1061,9 +1061,9 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1061
1061
  version_id: string;
1062
1062
  last_modified_date: Date;
1063
1063
  summary?: string | undefined;
1064
- custom_type_id?: string | undefined;
1065
- preview_image?: string | undefined;
1066
1064
  uid?: string | undefined;
1065
+ preview_image?: string | undefined;
1066
+ custom_type_id?: string | undefined;
1067
1067
  author_ids?: string[] | undefined;
1068
1068
  highlights?: {
1069
1069
  uid?: string | undefined;
@@ -1397,7 +1397,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
1397
1397
  label?: string | null | undefined;
1398
1398
  direction?: string | null | undefined;
1399
1399
  }) | ({
1400
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1400
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1401
1401
  content: {
1402
1402
  text: string;
1403
1403
  } & {
@@ -1468,7 +1468,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
1468
1468
  content: ({
1469
1469
  key: string;
1470
1470
  } & {
1471
- type: "tableCell" | "tableHeader";
1471
+ type: "tableHeader" | "tableCell";
1472
1472
  content: {
1473
1473
  __TYPE__: "StructuredTextContent";
1474
1474
  value: (({
@@ -1562,7 +1562,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
1562
1562
  label?: string | null | undefined;
1563
1563
  direction?: string | null | undefined;
1564
1564
  }) | ({
1565
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1565
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1566
1566
  content: {
1567
1567
  text: string;
1568
1568
  } & {
@@ -1998,7 +1998,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
1998
1998
  label?: string | null | undefined;
1999
1999
  direction?: string | null | undefined;
2000
2000
  }) | ({
2001
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2001
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2002
2002
  content: {
2003
2003
  text: string;
2004
2004
  } & {
@@ -2069,7 +2069,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
2069
2069
  content: ({
2070
2070
  key: string;
2071
2071
  } & {
2072
- type: "tableCell" | "tableHeader";
2072
+ type: "tableHeader" | "tableCell";
2073
2073
  content: {
2074
2074
  __TYPE__: "StructuredTextContent";
2075
2075
  value: (({
@@ -2163,7 +2163,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
2163
2163
  label?: string | null | undefined;
2164
2164
  direction?: string | null | undefined;
2165
2165
  }) | ({
2166
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2166
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2167
2167
  content: {
2168
2168
  text: string;
2169
2169
  } & {
@@ -2592,7 +2592,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
2592
2592
  label?: string | null | undefined;
2593
2593
  direction?: string | null | undefined;
2594
2594
  }) | ({
2595
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2595
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2596
2596
  content: {
2597
2597
  text: string;
2598
2598
  } & {
@@ -2663,7 +2663,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
2663
2663
  content: ({
2664
2664
  key: string;
2665
2665
  } & {
2666
- type: "tableCell" | "tableHeader";
2666
+ type: "tableHeader" | "tableCell";
2667
2667
  content: {
2668
2668
  __TYPE__: "StructuredTextContent";
2669
2669
  value: (({
@@ -2754,7 +2754,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
2754
2754
  label?: string | null | undefined;
2755
2755
  direction?: string | null | undefined;
2756
2756
  }) | ({
2757
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2757
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2758
2758
  content: {
2759
2759
  text: string;
2760
2760
  } & {
@@ -3184,7 +3184,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
3184
3184
  label?: string | null | undefined;
3185
3185
  direction?: string | null | undefined;
3186
3186
  }) | ({
3187
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3187
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3188
3188
  content: {
3189
3189
  text: string;
3190
3190
  } & {
@@ -3255,7 +3255,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
3255
3255
  content: ({
3256
3256
  key: string;
3257
3257
  } & {
3258
- type: "tableCell" | "tableHeader";
3258
+ type: "tableHeader" | "tableCell";
3259
3259
  content: {
3260
3260
  __TYPE__: "StructuredTextContent";
3261
3261
  value: (({
@@ -3349,7 +3349,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
3349
3349
  label?: string | null | undefined;
3350
3350
  direction?: string | null | undefined;
3351
3351
  }) | ({
3352
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3352
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3353
3353
  content: {
3354
3354
  text: string;
3355
3355
  } & {
@@ -3778,7 +3778,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
3778
3778
  label?: string | null | undefined;
3779
3779
  direction?: string | null | undefined;
3780
3780
  }) | ({
3781
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3781
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3782
3782
  content: {
3783
3783
  text: string;
3784
3784
  } & {
@@ -3849,7 +3849,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
3849
3849
  content: ({
3850
3850
  key: string;
3851
3851
  } & {
3852
- type: "tableCell" | "tableHeader";
3852
+ type: "tableHeader" | "tableCell";
3853
3853
  content: {
3854
3854
  __TYPE__: "StructuredTextContent";
3855
3855
  value: (({
@@ -3940,7 +3940,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
3940
3940
  label?: string | null | undefined;
3941
3941
  direction?: string | null | undefined;
3942
3942
  }) | ({
3943
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3943
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3944
3944
  content: {
3945
3945
  text: string;
3946
3946
  } & {
@@ -4366,7 +4366,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
4366
4366
  label?: string | null | undefined;
4367
4367
  direction?: string | null | undefined;
4368
4368
  }) | ({
4369
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4369
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4370
4370
  content: {
4371
4371
  text: string;
4372
4372
  } & {
@@ -4437,7 +4437,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
4437
4437
  content: ({
4438
4438
  key: string;
4439
4439
  } & {
4440
- type: "tableCell" | "tableHeader";
4440
+ type: "tableHeader" | "tableCell";
4441
4441
  content: {
4442
4442
  __TYPE__: "StructuredTextContent";
4443
4443
  value: (({
@@ -4531,7 +4531,7 @@ export declare const Document: z.ZodEffects<z.ZodUnknown, {
4531
4531
  label?: string | null | undefined;
4532
4532
  direction?: string | null | undefined;
4533
4533
  }) | ({
4534
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4534
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4535
4535
  content: {
4536
4536
  text: string;
4537
4537
  } & {
@@ -4967,7 +4967,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4967
4967
  label?: string | null | undefined;
4968
4968
  direction?: string | null | undefined;
4969
4969
  }) | ({
4970
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4970
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4971
4971
  content: {
4972
4972
  text: string;
4973
4973
  } & {
@@ -5038,7 +5038,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5038
5038
  content: ({
5039
5039
  key: string;
5040
5040
  } & {
5041
- type: "tableCell" | "tableHeader";
5041
+ type: "tableHeader" | "tableCell";
5042
5042
  content: {
5043
5043
  __TYPE__: "StructuredTextContent";
5044
5044
  value: (({
@@ -5132,7 +5132,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5132
5132
  label?: string | null | undefined;
5133
5133
  direction?: string | null | undefined;
5134
5134
  }) | ({
5135
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5135
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5136
5136
  content: {
5137
5137
  text: string;
5138
5138
  } & {
@@ -5561,7 +5561,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5561
5561
  label?: string | null | undefined;
5562
5562
  direction?: string | null | undefined;
5563
5563
  }) | ({
5564
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5564
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5565
5565
  content: {
5566
5566
  text: string;
5567
5567
  } & {
@@ -5632,7 +5632,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5632
5632
  content: ({
5633
5633
  key: string;
5634
5634
  } & {
5635
- type: "tableCell" | "tableHeader";
5635
+ type: "tableHeader" | "tableCell";
5636
5636
  content: {
5637
5637
  __TYPE__: "StructuredTextContent";
5638
5638
  value: (({
@@ -5726,7 +5726,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5726
5726
  label?: string | null | undefined;
5727
5727
  direction?: string | null | undefined;
5728
5728
  }) | ({
5729
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5729
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5730
5730
  content: {
5731
5731
  text: string;
5732
5732
  } & {
@@ -6156,7 +6156,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6156
6156
  label?: string | null | undefined;
6157
6157
  direction?: string | null | undefined;
6158
6158
  }) | ({
6159
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6159
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6160
6160
  content: {
6161
6161
  text: string;
6162
6162
  } & {
@@ -6227,7 +6227,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6227
6227
  content: ({
6228
6228
  key: string;
6229
6229
  } & {
6230
- type: "tableCell" | "tableHeader";
6230
+ type: "tableHeader" | "tableCell";
6231
6231
  content: {
6232
6232
  __TYPE__: "StructuredTextContent";
6233
6233
  value: (({
@@ -6321,7 +6321,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6321
6321
  label?: string | null | undefined;
6322
6322
  direction?: string | null | undefined;
6323
6323
  }) | ({
6324
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6324
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6325
6325
  content: {
6326
6326
  text: string;
6327
6327
  } & {
@@ -6750,7 +6750,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6750
6750
  label?: string | null | undefined;
6751
6751
  direction?: string | null | undefined;
6752
6752
  }) | ({
6753
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6753
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6754
6754
  content: {
6755
6755
  text: string;
6756
6756
  } & {
@@ -6821,7 +6821,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6821
6821
  content: ({
6822
6822
  key: string;
6823
6823
  } & {
6824
- type: "tableCell" | "tableHeader";
6824
+ type: "tableHeader" | "tableCell";
6825
6825
  content: {
6826
6826
  __TYPE__: "StructuredTextContent";
6827
6827
  value: (({
@@ -6915,7 +6915,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6915
6915
  label?: string | null | undefined;
6916
6916
  direction?: string | null | undefined;
6917
6917
  }) | ({
6918
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6918
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6919
6919
  content: {
6920
6920
  text: string;
6921
6921
  } & {
@@ -7341,7 +7341,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7341
7341
  label?: string | null | undefined;
7342
7342
  direction?: string | null | undefined;
7343
7343
  }) | ({
7344
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7344
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7345
7345
  content: {
7346
7346
  text: string;
7347
7347
  } & {
@@ -7412,7 +7412,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7412
7412
  content: ({
7413
7413
  key: string;
7414
7414
  } & {
7415
- type: "tableCell" | "tableHeader";
7415
+ type: "tableHeader" | "tableCell";
7416
7416
  content: {
7417
7417
  __TYPE__: "StructuredTextContent";
7418
7418
  value: (({
@@ -7506,7 +7506,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7506
7506
  label?: string | null | undefined;
7507
7507
  direction?: string | null | undefined;
7508
7508
  }) | ({
7509
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7509
+ type: "image" | "em" | "embed" | "strong" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7510
7510
  content: {
7511
7511
  text: string;
7512
7512
  } & {
@@ -7666,15 +7666,14 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
7666
7666
  export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
7667
7667
  export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
7668
7668
  export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
7669
- total: number;
7670
7669
  results: {
7671
- id: string;
7672
- title: string;
7673
7670
  language: {
7674
7671
  id: string;
7675
7672
  label: string;
7676
7673
  isMaster: boolean;
7677
7674
  };
7675
+ title: string;
7676
+ id: string;
7678
7677
  custom_type_id: string;
7679
7678
  group_lang_id: string;
7680
7679
  versions: (({
@@ -7692,30 +7691,30 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7692
7691
  last_modified_date: Date;
7693
7692
  custom_type_label: string;
7694
7693
  author: {
7694
+ email?: string | undefined;
7695
7695
  id?: string | undefined;
7696
7696
  first_name?: string | undefined;
7697
7697
  last_name?: string | undefined;
7698
- email?: string | undefined;
7699
7698
  uploadedAvatar?: string | undefined;
7700
7699
  };
7701
- preview_image?: string | undefined;
7702
7700
  uid?: string | undefined;
7701
+ preview_image?: string | undefined;
7703
7702
  preview_summary?: string | undefined;
7704
7703
  })[];
7705
7704
  ai_abm_thread_id?: string | undefined;
7706
7705
  }[];
7706
+ total: number;
7707
7707
  cursor?: string | undefined;
7708
7708
  }, Error>;
7709
7709
  export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
7710
- total: number;
7711
7710
  results: {
7712
- id: string;
7713
- title: string;
7714
7711
  language: {
7715
7712
  id: string;
7716
7713
  label: string;
7717
7714
  isMaster: boolean;
7718
7715
  };
7716
+ title: string;
7717
+ id: string;
7719
7718
  custom_type_id: string;
7720
7719
  group_lang_id: string;
7721
7720
  versions: (({
@@ -7733,29 +7732,29 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7733
7732
  last_modified_date: Date;
7734
7733
  custom_type_label: string;
7735
7734
  author: {
7735
+ email?: string | undefined;
7736
7736
  id?: string | undefined;
7737
7737
  first_name?: string | undefined;
7738
7738
  last_name?: string | undefined;
7739
- email?: string | undefined;
7740
7739
  uploadedAvatar?: string | undefined;
7741
7740
  };
7742
- preview_image?: string | undefined;
7743
7741
  uid?: string | undefined;
7742
+ preview_image?: string | undefined;
7744
7743
  preview_summary?: string | undefined;
7745
7744
  })[];
7746
7745
  ai_abm_thread_id?: string | undefined;
7747
7746
  }[];
7747
+ total: number;
7748
7748
  cursor?: string | undefined;
7749
7749
  }, Error, {
7750
- total: number;
7751
7750
  results: {
7752
- id: string;
7753
- title: string;
7754
7751
  language: {
7755
7752
  id: string;
7756
7753
  label: string;
7757
7754
  isMaster: boolean;
7758
7755
  };
7756
+ title: string;
7757
+ id: string;
7759
7758
  custom_type_id: string;
7760
7759
  group_lang_id: string;
7761
7760
  versions: (({
@@ -7773,30 +7772,30 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7773
7772
  last_modified_date: Date;
7774
7773
  custom_type_label: string;
7775
7774
  author: {
7775
+ email?: string | undefined;
7776
7776
  id?: string | undefined;
7777
7777
  first_name?: string | undefined;
7778
7778
  last_name?: string | undefined;
7779
- email?: string | undefined;
7780
7779
  uploadedAvatar?: string | undefined;
7781
7780
  };
7782
- preview_image?: string | undefined;
7783
7781
  uid?: string | undefined;
7782
+ preview_image?: string | undefined;
7784
7783
  preview_summary?: string | undefined;
7785
7784
  })[];
7786
7785
  ai_abm_thread_id?: string | undefined;
7787
7786
  }[];
7787
+ total: number;
7788
7788
  cursor?: string | undefined;
7789
7789
  }, readonly ["documents", "list", GetDocumentListArgs]> & {
7790
7790
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
7791
- total: number;
7792
7791
  results: {
7793
- id: string;
7794
- title: string;
7795
7792
  language: {
7796
7793
  id: string;
7797
7794
  label: string;
7798
7795
  isMaster: boolean;
7799
7796
  };
7797
+ title: string;
7798
+ id: string;
7800
7799
  custom_type_id: string;
7801
7800
  group_lang_id: string;
7802
7801
  versions: (({
@@ -7814,31 +7813,31 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7814
7813
  last_modified_date: Date;
7815
7814
  custom_type_label: string;
7816
7815
  author: {
7816
+ email?: string | undefined;
7817
7817
  id?: string | undefined;
7818
7818
  first_name?: string | undefined;
7819
7819
  last_name?: string | undefined;
7820
- email?: string | undefined;
7821
7820
  uploadedAvatar?: string | undefined;
7822
7821
  };
7823
- preview_image?: string | undefined;
7824
7822
  uid?: string | undefined;
7823
+ preview_image?: string | undefined;
7825
7824
  preview_summary?: string | undefined;
7826
7825
  })[];
7827
7826
  ai_abm_thread_id?: string | undefined;
7828
7827
  }[];
7828
+ total: number;
7829
7829
  cursor?: string | undefined;
7830
7830
  }> | undefined;
7831
7831
  } & {
7832
7832
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
7833
- total: number;
7834
7833
  results: {
7835
- id: string;
7836
- title: string;
7837
7834
  language: {
7838
7835
  id: string;
7839
7836
  label: string;
7840
7837
  isMaster: boolean;
7841
7838
  };
7839
+ title: string;
7840
+ id: string;
7842
7841
  custom_type_id: string;
7843
7842
  group_lang_id: string;
7844
7843
  versions: (({
@@ -7856,18 +7855,19 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7856
7855
  last_modified_date: Date;
7857
7856
  custom_type_label: string;
7858
7857
  author: {
7858
+ email?: string | undefined;
7859
7859
  id?: string | undefined;
7860
7860
  first_name?: string | undefined;
7861
7861
  last_name?: string | undefined;
7862
- email?: string | undefined;
7863
7862
  uploadedAvatar?: string | undefined;
7864
7863
  };
7865
- preview_image?: string | undefined;
7866
7864
  uid?: string | undefined;
7865
+ preview_image?: string | undefined;
7867
7866
  preview_summary?: string | undefined;
7868
7867
  })[];
7869
7868
  ai_abm_thread_id?: string | undefined;
7870
7869
  }[];
7870
+ total: number;
7871
7871
  cursor?: string | undefined;
7872
7872
  }>;
7873
7873
  };