@prismicio/editor-fields 0.4.70 → 0.4.71

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 (28) hide show
  1. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +70 -31
  2. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -2
  3. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
  4. package/dist/core/APIExplorer/components/Request/types.d.ts +1 -0
  5. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +44 -44
  6. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  7. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +4 -4
  8. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +4 -4
  9. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  10. package/dist/core/service/customType.d.ts +20 -20
  11. package/dist/core/service/document.d.ts +174 -174
  12. package/dist/core/service/documentSearch.d.ts +40 -40
  13. package/dist/core/service/repository.d.ts +6 -6
  14. package/dist/core/service/role.d.ts +10 -10
  15. package/dist/fields/ImageField/useImageField.d.ts +4 -4
  16. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +4 -4
  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/coreExtensions/ListItem.d.ts +4 -4
  22. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +4 -4
  23. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +2 -0
  24. package/dist/fields/RichTextField/extensions/Table/plugins/index.d.ts +1 -0
  25. package/dist/fields/RichTextField/extensions/Table/plugins/tableCellFocusPlugin.d.ts +9 -0
  26. package/dist/index.cjs.js +46 -46
  27. package/dist/index.es.js +17886 -17511
  28. package/package.json +4 -4
@@ -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
- id: string;
10
9
  name: string;
10
+ id: string;
11
11
  is_master?: boolean | undefined;
12
12
  }, {
13
- id: string;
14
13
  name: string;
14
+ id: 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
- id: string;
22
21
  name: string;
22
+ id: string;
23
23
  is_master?: boolean | undefined;
24
24
  }>;
25
25
  declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -66,15 +66,15 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
66
66
  uploadedAvatar: z.ZodOptional<z.ZodString>;
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  id?: string | undefined;
69
+ email?: 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
74
  id?: string | undefined;
75
+ email?: 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, {
@@ -84,13 +84,13 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
84
84
  custom_type_label: string;
85
85
  author: {
86
86
  id?: string | undefined;
87
+ email?: 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
  version_id: string;
@@ -99,13 +99,13 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
99
99
  custom_type_label: string;
100
100
  author: {
101
101
  id?: string | undefined;
102
+ email?: 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<{
@@ -156,10 +156,10 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
156
156
  version_id: string;
157
157
  tags: string[];
158
158
  last_modified_date: Date;
159
- preview_image?: string | undefined;
159
+ summary?: string | undefined;
160
160
  uid?: string | undefined;
161
+ preview_image?: string | undefined;
161
162
  custom_type_id?: string | undefined;
162
- summary?: string | undefined;
163
163
  author_ids?: string[] | undefined;
164
164
  highlights?: {
165
165
  uid?: string | undefined;
@@ -168,10 +168,10 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
168
168
  version_id: string;
169
169
  tags: string[];
170
170
  last_modified_date: Date;
171
- preview_image?: string | undefined;
171
+ summary?: string | undefined;
172
172
  uid?: string | undefined;
173
+ preview_image?: string | undefined;
173
174
  custom_type_id?: string | undefined;
174
- summary?: string | undefined;
175
175
  author_ids?: string[] | undefined;
176
176
  highlights?: {
177
177
  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
- id: string;
193
192
  name: string;
193
+ id: string;
194
194
  is_master?: boolean | undefined;
195
195
  }, {
196
- id: string;
197
196
  name: string;
197
+ id: 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
- id: string;
205
204
  name: string;
205
+ id: string;
206
206
  is_master?: boolean | undefined;
207
207
  }>;
208
208
  versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -249,15 +249,15 @@ export declare const documentMetaSchema: z.ZodObject<{
249
249
  uploadedAvatar: z.ZodOptional<z.ZodString>;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  id?: string | undefined;
252
+ email?: string | undefined;
252
253
  first_name?: string | undefined;
253
254
  last_name?: string | undefined;
254
- email?: string | undefined;
255
255
  uploadedAvatar?: string | undefined;
256
256
  }, {
257
257
  id?: string | undefined;
258
+ email?: string | undefined;
258
259
  first_name?: string | undefined;
259
260
  last_name?: string | undefined;
260
- email?: string | undefined;
261
261
  uploadedAvatar?: string | undefined;
262
262
  }>;
263
263
  }>, "strip", z.ZodTypeAny, {
@@ -267,13 +267,13 @@ export declare const documentMetaSchema: z.ZodObject<{
267
267
  custom_type_label: string;
268
268
  author: {
269
269
  id?: string | undefined;
270
+ email?: string | undefined;
270
271
  first_name?: string | undefined;
271
272
  last_name?: string | undefined;
272
- email?: string | undefined;
273
273
  uploadedAvatar?: string | undefined;
274
274
  };
275
- preview_image?: string | undefined;
276
275
  uid?: string | undefined;
276
+ preview_image?: string | undefined;
277
277
  preview_summary?: string | undefined;
278
278
  }, {
279
279
  version_id: string;
@@ -282,25 +282,25 @@ export declare const documentMetaSchema: z.ZodObject<{
282
282
  custom_type_label: string;
283
283
  author: {
284
284
  id?: string | undefined;
285
+ email?: string | undefined;
285
286
  first_name?: string | undefined;
286
287
  last_name?: string | undefined;
287
- email?: string | undefined;
288
288
  uploadedAvatar?: string | undefined;
289
289
  };
290
- preview_image?: string | undefined;
291
290
  uid?: string | undefined;
291
+ preview_image?: string | undefined;
292
292
  preview_summary?: string | undefined;
293
293
  }>>, "many">;
294
294
  }, "strip", z.ZodTypeAny, {
295
- id: string;
296
295
  title: string;
297
- custom_type_id: string;
298
- group_lang_id: string;
296
+ id: string;
299
297
  language: {
300
298
  isMaster?: boolean | undefined;
301
299
  id: string;
302
300
  label: string;
303
301
  };
302
+ custom_type_id: string;
303
+ group_lang_id: string;
304
304
  versions: (({
305
305
  status: "unclassified";
306
306
  } | {
@@ -317,24 +317,24 @@ export declare const documentMetaSchema: z.ZodObject<{
317
317
  custom_type_label: string;
318
318
  author: {
319
319
  id?: string | undefined;
320
+ email?: string | undefined;
320
321
  first_name?: string | undefined;
321
322
  last_name?: string | undefined;
322
- email?: string | undefined;
323
323
  uploadedAvatar?: string | undefined;
324
324
  };
325
- preview_image?: string | undefined;
326
325
  uid?: string | undefined;
326
+ preview_image?: string | undefined;
327
327
  preview_summary?: string | undefined;
328
328
  })[];
329
329
  }, {
330
330
  id: string;
331
- custom_type_id: string;
332
- group_lang_id: string;
333
331
  language: {
334
- id: string;
335
332
  name: string;
333
+ id: string;
336
334
  is_master?: boolean | undefined;
337
335
  };
336
+ custom_type_id: string;
337
+ group_lang_id: string;
338
338
  versions: (({
339
339
  status: "unclassified";
340
340
  } | {
@@ -351,13 +351,13 @@ export declare const documentMetaSchema: z.ZodObject<{
351
351
  custom_type_label: string;
352
352
  author: {
353
353
  id?: string | undefined;
354
+ email?: string | undefined;
354
355
  first_name?: string | undefined;
355
356
  last_name?: string | undefined;
356
- email?: string | undefined;
357
357
  uploadedAvatar?: string | undefined;
358
358
  };
359
- preview_image?: string | undefined;
360
359
  uid?: string | undefined;
360
+ preview_image?: string | undefined;
361
361
  preview_summary?: string | undefined;
362
362
  })[];
363
363
  title?: string | null | undefined;
@@ -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
- id: string;
379
378
  name: string;
379
+ id: string;
380
380
  is_master?: boolean | undefined;
381
381
  }, {
382
- id: string;
383
382
  name: string;
383
+ id: 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
- id: string;
391
390
  name: string;
391
+ id: string;
392
392
  is_master?: boolean | undefined;
393
393
  }>;
394
394
  versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -435,15 +435,15 @@ declare const getDocumentListSchema: z.ZodObject<{
435
435
  uploadedAvatar: z.ZodOptional<z.ZodString>;
436
436
  }, "strip", z.ZodTypeAny, {
437
437
  id?: string | undefined;
438
+ email?: string | undefined;
438
439
  first_name?: string | undefined;
439
440
  last_name?: string | undefined;
440
- email?: string | undefined;
441
441
  uploadedAvatar?: string | undefined;
442
442
  }, {
443
443
  id?: string | undefined;
444
+ email?: string | undefined;
444
445
  first_name?: string | undefined;
445
446
  last_name?: string | undefined;
446
- email?: string | undefined;
447
447
  uploadedAvatar?: string | undefined;
448
448
  }>;
449
449
  }>, "strip", z.ZodTypeAny, {
@@ -453,13 +453,13 @@ declare const getDocumentListSchema: z.ZodObject<{
453
453
  custom_type_label: string;
454
454
  author: {
455
455
  id?: string | undefined;
456
+ email?: string | undefined;
456
457
  first_name?: string | undefined;
457
458
  last_name?: string | undefined;
458
- email?: string | undefined;
459
459
  uploadedAvatar?: string | undefined;
460
460
  };
461
- preview_image?: string | undefined;
462
461
  uid?: string | undefined;
462
+ preview_image?: string | undefined;
463
463
  preview_summary?: string | undefined;
464
464
  }, {
465
465
  version_id: string;
@@ -468,25 +468,25 @@ declare const getDocumentListSchema: z.ZodObject<{
468
468
  custom_type_label: string;
469
469
  author: {
470
470
  id?: string | undefined;
471
+ email?: string | undefined;
471
472
  first_name?: string | undefined;
472
473
  last_name?: string | undefined;
473
- email?: string | undefined;
474
474
  uploadedAvatar?: string | undefined;
475
475
  };
476
- preview_image?: string | undefined;
477
476
  uid?: string | undefined;
477
+ preview_image?: string | undefined;
478
478
  preview_summary?: string | undefined;
479
479
  }>>, "many">;
480
480
  }, "strip", z.ZodTypeAny, {
481
- id: string;
482
481
  title: string;
483
- custom_type_id: string;
484
- group_lang_id: string;
482
+ id: string;
485
483
  language: {
486
484
  isMaster?: boolean | undefined;
487
485
  id: string;
488
486
  label: string;
489
487
  };
488
+ custom_type_id: string;
489
+ group_lang_id: string;
490
490
  versions: (({
491
491
  status: "unclassified";
492
492
  } | {
@@ -503,24 +503,24 @@ declare const getDocumentListSchema: z.ZodObject<{
503
503
  custom_type_label: string;
504
504
  author: {
505
505
  id?: string | undefined;
506
+ email?: string | undefined;
506
507
  first_name?: string | undefined;
507
508
  last_name?: string | undefined;
508
- email?: string | undefined;
509
509
  uploadedAvatar?: string | undefined;
510
510
  };
511
- preview_image?: string | undefined;
512
511
  uid?: string | undefined;
512
+ preview_image?: string | undefined;
513
513
  preview_summary?: string | undefined;
514
514
  })[];
515
515
  }, {
516
516
  id: string;
517
- custom_type_id: string;
518
- group_lang_id: string;
519
517
  language: {
520
- id: string;
521
518
  name: string;
519
+ id: string;
522
520
  is_master?: boolean | undefined;
523
521
  };
522
+ custom_type_id: string;
523
+ group_lang_id: string;
524
524
  versions: (({
525
525
  status: "unclassified";
526
526
  } | {
@@ -537,13 +537,13 @@ declare const getDocumentListSchema: z.ZodObject<{
537
537
  custom_type_label: string;
538
538
  author: {
539
539
  id?: string | undefined;
540
+ email?: string | undefined;
540
541
  first_name?: string | undefined;
541
542
  last_name?: string | undefined;
542
- email?: string | undefined;
543
543
  uploadedAvatar?: string | undefined;
544
544
  };
545
- preview_image?: string | undefined;
546
545
  uid?: string | undefined;
546
+ preview_image?: string | undefined;
547
547
  preview_summary?: string | undefined;
548
548
  })[];
549
549
  title?: string | null | undefined;
@@ -551,15 +551,15 @@ declare const getDocumentListSchema: z.ZodObject<{
551
551
  }, "strip", z.ZodTypeAny, {
552
552
  total: number;
553
553
  results: {
554
- id: string;
555
554
  title: string;
556
- custom_type_id: string;
557
- group_lang_id: string;
555
+ id: string;
558
556
  language: {
559
557
  isMaster?: boolean | undefined;
560
558
  id: string;
561
559
  label: string;
562
560
  };
561
+ custom_type_id: string;
562
+ group_lang_id: string;
563
563
  versions: (({
564
564
  status: "unclassified";
565
565
  } | {
@@ -576,13 +576,13 @@ declare const getDocumentListSchema: z.ZodObject<{
576
576
  custom_type_label: string;
577
577
  author: {
578
578
  id?: string | undefined;
579
+ email?: string | undefined;
579
580
  first_name?: string | undefined;
580
581
  last_name?: string | undefined;
581
- email?: string | undefined;
582
582
  uploadedAvatar?: string | undefined;
583
583
  };
584
- preview_image?: string | undefined;
585
584
  uid?: string | undefined;
585
+ preview_image?: string | undefined;
586
586
  preview_summary?: string | undefined;
587
587
  })[];
588
588
  }[];
@@ -591,13 +591,13 @@ declare const getDocumentListSchema: z.ZodObject<{
591
591
  total: number;
592
592
  results: {
593
593
  id: string;
594
- custom_type_id: string;
595
- group_lang_id: string;
596
594
  language: {
597
- id: string;
598
595
  name: string;
596
+ id: string;
599
597
  is_master?: boolean | undefined;
600
598
  };
599
+ custom_type_id: string;
600
+ group_lang_id: string;
601
601
  versions: (({
602
602
  status: "unclassified";
603
603
  } | {
@@ -614,13 +614,13 @@ declare const getDocumentListSchema: z.ZodObject<{
614
614
  custom_type_label: string;
615
615
  author: {
616
616
  id?: string | undefined;
617
+ email?: string | undefined;
617
618
  first_name?: string | undefined;
618
619
  last_name?: string | undefined;
619
- email?: string | undefined;
620
620
  uploadedAvatar?: string | undefined;
621
621
  };
622
- preview_image?: string | undefined;
623
622
  uid?: string | undefined;
623
+ preview_image?: string | undefined;
624
624
  preview_summary?: string | undefined;
625
625
  })[];
626
626
  title?: string | null | undefined;
@@ -680,10 +680,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
680
680
  version_id: string;
681
681
  tags: string[];
682
682
  last_modified_date: Date;
683
- preview_image?: string | undefined;
683
+ summary?: string | undefined;
684
684
  uid?: string | undefined;
685
+ preview_image?: string | undefined;
685
686
  custom_type_id?: string | undefined;
686
- summary?: string | undefined;
687
687
  author_ids?: string[] | undefined;
688
688
  highlights?: {
689
689
  uid?: string | undefined;
@@ -692,10 +692,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
692
692
  version_id: string;
693
693
  tags: string[];
694
694
  last_modified_date: Date;
695
- preview_image?: string | undefined;
695
+ summary?: string | undefined;
696
696
  uid?: string | undefined;
697
+ preview_image?: string | undefined;
697
698
  custom_type_id?: string | undefined;
698
- summary?: string | undefined;
699
699
  author_ids?: string[] | undefined;
700
700
  highlights?: {
701
701
  uid?: 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
- id: string;
707
706
  title: string;
707
+ id: string;
708
708
  custom_type_id: string;
709
709
  group_lang_id: string;
710
710
  interesting_versions: (({
@@ -720,10 +720,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
720
720
  version_id: string;
721
721
  tags: string[];
722
722
  last_modified_date: Date;
723
- preview_image?: string | undefined;
723
+ summary?: string | undefined;
724
724
  uid?: string | undefined;
725
+ preview_image?: string | undefined;
725
726
  custom_type_id?: string | undefined;
726
- summary?: string | undefined;
727
727
  author_ids?: string[] | undefined;
728
728
  highlights?: {
729
729
  uid?: string | undefined;
@@ -747,10 +747,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
747
747
  version_id: string;
748
748
  tags: string[];
749
749
  last_modified_date: Date;
750
- preview_image?: string | undefined;
750
+ summary?: string | undefined;
751
751
  uid?: string | undefined;
752
+ preview_image?: string | undefined;
752
753
  custom_type_id?: string | undefined;
753
- summary?: string | undefined;
754
754
  author_ids?: string[] | undefined;
755
755
  highlights?: {
756
756
  uid?: 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
- id: string;
763
762
  title: string;
763
+ id: string;
764
764
  custom_type_id: string;
765
765
  group_lang_id: string;
766
766
  locale_id?: string | undefined;
@@ -777,10 +777,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
777
777
  version_id: string;
778
778
  tags: string[];
779
779
  last_modified_date: Date;
780
- preview_image?: string | undefined;
780
+ summary?: string | undefined;
781
781
  uid?: string | undefined;
782
+ preview_image?: string | undefined;
782
783
  custom_type_id?: string | undefined;
783
- summary?: string | undefined;
784
784
  author_ids?: string[] | undefined;
785
785
  highlights?: {
786
786
  uid?: string | undefined;
@@ -803,10 +803,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
803
803
  version_id: string;
804
804
  tags: string[];
805
805
  last_modified_date: Date;
806
- preview_image?: string | undefined;
806
+ summary?: string | undefined;
807
807
  uid?: string | undefined;
808
+ preview_image?: string | undefined;
808
809
  custom_type_id?: string | undefined;
809
- summary?: string | undefined;
810
810
  author_ids?: string[] | undefined;
811
811
  highlights?: {
812
812
  uid?: string | undefined;
@@ -869,10 +869,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
869
869
  version_id: string;
870
870
  tags: string[];
871
871
  last_modified_date: Date;
872
- preview_image?: string | undefined;
872
+ summary?: string | undefined;
873
873
  uid?: string | undefined;
874
+ preview_image?: string | undefined;
874
875
  custom_type_id?: string | undefined;
875
- summary?: string | undefined;
876
876
  author_ids?: string[] | undefined;
877
877
  highlights?: {
878
878
  uid?: string | undefined;
@@ -881,10 +881,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
881
881
  version_id: string;
882
882
  tags: string[];
883
883
  last_modified_date: Date;
884
- preview_image?: string | undefined;
884
+ summary?: string | undefined;
885
885
  uid?: string | undefined;
886
+ preview_image?: string | undefined;
886
887
  custom_type_id?: string | undefined;
887
- summary?: string | undefined;
888
888
  author_ids?: string[] | undefined;
889
889
  highlights?: {
890
890
  uid?: 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
- id: string;
896
895
  title: string;
896
+ id: string;
897
897
  custom_type_id: string;
898
898
  group_lang_id: string;
899
899
  interesting_versions: (({
@@ -909,10 +909,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
909
909
  version_id: string;
910
910
  tags: string[];
911
911
  last_modified_date: Date;
912
- preview_image?: string | undefined;
912
+ summary?: string | undefined;
913
913
  uid?: string | undefined;
914
+ preview_image?: string | undefined;
914
915
  custom_type_id?: string | undefined;
915
- summary?: string | undefined;
916
916
  author_ids?: string[] | undefined;
917
917
  highlights?: {
918
918
  uid?: string | undefined;
@@ -936,10 +936,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
936
936
  version_id: string;
937
937
  tags: string[];
938
938
  last_modified_date: Date;
939
- preview_image?: string | undefined;
939
+ summary?: string | undefined;
940
940
  uid?: string | undefined;
941
+ preview_image?: string | undefined;
941
942
  custom_type_id?: string | undefined;
942
- summary?: string | undefined;
943
943
  author_ids?: string[] | undefined;
944
944
  highlights?: {
945
945
  uid?: 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
- id: string;
952
951
  title: string;
952
+ id: string;
953
953
  custom_type_id: string;
954
954
  group_lang_id: string;
955
955
  locale_id?: string | undefined;
@@ -966,10 +966,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
966
966
  version_id: string;
967
967
  tags: string[];
968
968
  last_modified_date: Date;
969
- preview_image?: string | undefined;
969
+ summary?: string | undefined;
970
970
  uid?: string | undefined;
971
+ preview_image?: string | undefined;
971
972
  custom_type_id?: string | undefined;
972
- summary?: string | undefined;
973
973
  author_ids?: string[] | undefined;
974
974
  highlights?: {
975
975
  uid?: string | undefined;
@@ -992,10 +992,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
992
992
  version_id: string;
993
993
  tags: string[];
994
994
  last_modified_date: Date;
995
- preview_image?: string | undefined;
995
+ summary?: string | undefined;
996
996
  uid?: string | undefined;
997
+ preview_image?: string | undefined;
997
998
  custom_type_id?: string | undefined;
998
- summary?: string | undefined;
999
999
  author_ids?: string[] | undefined;
1000
1000
  highlights?: {
1001
1001
  uid?: string | undefined;
@@ -1006,8 +1006,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1006
1006
  }>, "many">;
1007
1007
  }, "strip", z.ZodTypeAny, {
1008
1008
  results: {
1009
- id: string;
1010
1009
  title: string;
1010
+ id: string;
1011
1011
  custom_type_id: string;
1012
1012
  group_lang_id: string;
1013
1013
  locale_id?: string | undefined;
@@ -1024,10 +1024,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1024
1024
  version_id: string;
1025
1025
  tags: string[];
1026
1026
  last_modified_date: Date;
1027
- preview_image?: string | undefined;
1027
+ summary?: string | undefined;
1028
1028
  uid?: string | undefined;
1029
+ preview_image?: string | undefined;
1029
1030
  custom_type_id?: string | undefined;
1030
- summary?: string | undefined;
1031
1031
  author_ids?: string[] | undefined;
1032
1032
  highlights?: {
1033
1033
  uid?: string | undefined;
@@ -1052,10 +1052,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1052
1052
  version_id: string;
1053
1053
  tags: string[];
1054
1054
  last_modified_date: Date;
1055
- preview_image?: string | undefined;
1055
+ summary?: string | undefined;
1056
1056
  uid?: string | undefined;
1057
+ preview_image?: string | undefined;
1057
1058
  custom_type_id?: string | undefined;
1058
- summary?: string | undefined;
1059
1059
  author_ids?: string[] | undefined;
1060
1060
  highlights?: {
1061
1061
  uid?: string | undefined;
@@ -1389,7 +1389,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1389
1389
  label?: string | null | undefined;
1390
1390
  direction?: string | null | undefined;
1391
1391
  }) | ({
1392
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1392
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1393
1393
  content: {
1394
1394
  text: string;
1395
1395
  } & {
@@ -1442,7 +1442,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1442
1442
  } | {
1443
1443
  start: number;
1444
1444
  end: number;
1445
- type: "strong" | "em" | "list-item";
1445
+ type: "em" | "strong" | "list-item";
1446
1446
  })[] | undefined;
1447
1447
  };
1448
1448
  } & {
@@ -1460,7 +1460,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1460
1460
  content: ({
1461
1461
  key: string;
1462
1462
  } & {
1463
- type: "tableHeader" | "tableCell";
1463
+ type: "tableCell" | "tableHeader";
1464
1464
  content: {
1465
1465
  __TYPE__: "StructuredTextContent";
1466
1466
  value: (({
@@ -1554,7 +1554,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1554
1554
  label?: string | null | undefined;
1555
1555
  direction?: string | null | undefined;
1556
1556
  }) | ({
1557
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1557
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1558
1558
  content: {
1559
1559
  text: string;
1560
1560
  } & {
@@ -1607,7 +1607,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1607
1607
  } | {
1608
1608
  start: number;
1609
1609
  end: number;
1610
- type: "strong" | "em" | "list-item";
1610
+ type: "em" | "strong" | "list-item";
1611
1611
  })[] | undefined;
1612
1612
  };
1613
1613
  } & {
@@ -1990,7 +1990,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1990
1990
  label?: string | null | undefined;
1991
1991
  direction?: string | null | undefined;
1992
1992
  }) | ({
1993
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1993
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1994
1994
  content: {
1995
1995
  text: string;
1996
1996
  } & {
@@ -2043,7 +2043,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2043
2043
  } | {
2044
2044
  start: number;
2045
2045
  end: number;
2046
- type: "strong" | "em" | "list-item";
2046
+ type: "em" | "strong" | "list-item";
2047
2047
  })[] | undefined;
2048
2048
  };
2049
2049
  } & {
@@ -2061,7 +2061,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2061
2061
  content: ({
2062
2062
  key: string;
2063
2063
  } & {
2064
- type: "tableHeader" | "tableCell";
2064
+ type: "tableCell" | "tableHeader";
2065
2065
  content: {
2066
2066
  __TYPE__: "StructuredTextContent";
2067
2067
  value: (({
@@ -2155,7 +2155,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2155
2155
  label?: string | null | undefined;
2156
2156
  direction?: string | null | undefined;
2157
2157
  }) | ({
2158
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2158
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2159
2159
  content: {
2160
2160
  text: string;
2161
2161
  } & {
@@ -2208,7 +2208,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2208
2208
  } | {
2209
2209
  start: number;
2210
2210
  end: number;
2211
- type: "strong" | "em" | "list-item";
2211
+ type: "em" | "strong" | "list-item";
2212
2212
  })[] | undefined;
2213
2213
  };
2214
2214
  } & {
@@ -2583,7 +2583,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2583
2583
  label?: string | null | undefined;
2584
2584
  direction?: string | null | undefined;
2585
2585
  }) | ({
2586
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2586
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2587
2587
  content: {
2588
2588
  text: string;
2589
2589
  } & {
@@ -2636,7 +2636,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2636
2636
  } | {
2637
2637
  start: number;
2638
2638
  end: number;
2639
- type: "strong" | "em" | "list-item";
2639
+ type: "em" | "strong" | "list-item";
2640
2640
  })[] | undefined;
2641
2641
  };
2642
2642
  } & {
@@ -2654,7 +2654,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2654
2654
  content: ({
2655
2655
  key: string;
2656
2656
  } & {
2657
- type: "tableHeader" | "tableCell";
2657
+ type: "tableCell" | "tableHeader";
2658
2658
  content: {
2659
2659
  __TYPE__: "StructuredTextContent";
2660
2660
  value: (({
@@ -2745,7 +2745,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2745
2745
  label?: string | null | undefined;
2746
2746
  direction?: string | null | undefined;
2747
2747
  }) | ({
2748
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2748
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2749
2749
  content: {
2750
2750
  text: string;
2751
2751
  } & {
@@ -2798,7 +2798,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2798
2798
  } | {
2799
2799
  start: number;
2800
2800
  end: number;
2801
- type: "strong" | "em" | "list-item";
2801
+ type: "em" | "strong" | "list-item";
2802
2802
  })[] | undefined;
2803
2803
  };
2804
2804
  } & {
@@ -3175,7 +3175,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3175
3175
  label?: string | null | undefined;
3176
3176
  direction?: string | null | undefined;
3177
3177
  }) | ({
3178
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3178
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3179
3179
  content: {
3180
3180
  text: string;
3181
3181
  } & {
@@ -3228,7 +3228,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3228
3228
  } | {
3229
3229
  start: number;
3230
3230
  end: number;
3231
- type: "strong" | "em" | "list-item";
3231
+ type: "em" | "strong" | "list-item";
3232
3232
  })[] | undefined;
3233
3233
  };
3234
3234
  } & {
@@ -3246,7 +3246,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3246
3246
  content: ({
3247
3247
  key: string;
3248
3248
  } & {
3249
- type: "tableHeader" | "tableCell";
3249
+ type: "tableCell" | "tableHeader";
3250
3250
  content: {
3251
3251
  __TYPE__: "StructuredTextContent";
3252
3252
  value: (({
@@ -3340,7 +3340,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3340
3340
  label?: string | null | undefined;
3341
3341
  direction?: string | null | undefined;
3342
3342
  }) | ({
3343
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3343
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3344
3344
  content: {
3345
3345
  text: string;
3346
3346
  } & {
@@ -3393,7 +3393,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3393
3393
  } | {
3394
3394
  start: number;
3395
3395
  end: number;
3396
- type: "strong" | "em" | "list-item";
3396
+ type: "em" | "strong" | "list-item";
3397
3397
  })[] | undefined;
3398
3398
  };
3399
3399
  } & {
@@ -3768,7 +3768,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3768
3768
  label?: string | null | undefined;
3769
3769
  direction?: string | null | undefined;
3770
3770
  }) | ({
3771
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3771
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3772
3772
  content: {
3773
3773
  text: string;
3774
3774
  } & {
@@ -3821,7 +3821,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3821
3821
  } | {
3822
3822
  start: number;
3823
3823
  end: number;
3824
- type: "strong" | "em" | "list-item";
3824
+ type: "em" | "strong" | "list-item";
3825
3825
  })[] | undefined;
3826
3826
  };
3827
3827
  } & {
@@ -3839,7 +3839,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3839
3839
  content: ({
3840
3840
  key: string;
3841
3841
  } & {
3842
- type: "tableHeader" | "tableCell";
3842
+ type: "tableCell" | "tableHeader";
3843
3843
  content: {
3844
3844
  __TYPE__: "StructuredTextContent";
3845
3845
  value: (({
@@ -3930,7 +3930,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3930
3930
  label?: string | null | undefined;
3931
3931
  direction?: string | null | undefined;
3932
3932
  }) | ({
3933
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3933
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3934
3934
  content: {
3935
3935
  text: string;
3936
3936
  } & {
@@ -3983,7 +3983,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3983
3983
  } | {
3984
3984
  start: number;
3985
3985
  end: number;
3986
- type: "strong" | "em" | "list-item";
3986
+ type: "em" | "strong" | "list-item";
3987
3987
  })[] | undefined;
3988
3988
  };
3989
3989
  } & {
@@ -4356,7 +4356,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4356
4356
  label?: string | null | undefined;
4357
4357
  direction?: string | null | undefined;
4358
4358
  }) | ({
4359
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4359
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4360
4360
  content: {
4361
4361
  text: string;
4362
4362
  } & {
@@ -4409,7 +4409,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4409
4409
  } | {
4410
4410
  start: number;
4411
4411
  end: number;
4412
- type: "strong" | "em" | "list-item";
4412
+ type: "em" | "strong" | "list-item";
4413
4413
  })[] | undefined;
4414
4414
  };
4415
4415
  } & {
@@ -4427,7 +4427,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4427
4427
  content: ({
4428
4428
  key: string;
4429
4429
  } & {
4430
- type: "tableHeader" | "tableCell";
4430
+ type: "tableCell" | "tableHeader";
4431
4431
  content: {
4432
4432
  __TYPE__: "StructuredTextContent";
4433
4433
  value: (({
@@ -4521,7 +4521,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4521
4521
  label?: string | null | undefined;
4522
4522
  direction?: string | null | undefined;
4523
4523
  }) | ({
4524
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4524
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4525
4525
  content: {
4526
4526
  text: string;
4527
4527
  } & {
@@ -4574,7 +4574,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4574
4574
  } | {
4575
4575
  start: number;
4576
4576
  end: number;
4577
- type: "strong" | "em" | "list-item";
4577
+ type: "em" | "strong" | "list-item";
4578
4578
  })[] | undefined;
4579
4579
  };
4580
4580
  } & {
@@ -4956,7 +4956,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4956
4956
  label?: string | null | undefined;
4957
4957
  direction?: string | null | undefined;
4958
4958
  }) | ({
4959
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4959
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4960
4960
  content: {
4961
4961
  text: string;
4962
4962
  } & {
@@ -5009,7 +5009,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5009
5009
  } | {
5010
5010
  start: number;
5011
5011
  end: number;
5012
- type: "strong" | "em" | "list-item";
5012
+ type: "em" | "strong" | "list-item";
5013
5013
  })[] | undefined;
5014
5014
  };
5015
5015
  } & {
@@ -5027,7 +5027,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5027
5027
  content: ({
5028
5028
  key: string;
5029
5029
  } & {
5030
- type: "tableHeader" | "tableCell";
5030
+ type: "tableCell" | "tableHeader";
5031
5031
  content: {
5032
5032
  __TYPE__: "StructuredTextContent";
5033
5033
  value: (({
@@ -5121,7 +5121,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5121
5121
  label?: string | null | undefined;
5122
5122
  direction?: string | null | undefined;
5123
5123
  }) | ({
5124
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5124
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5125
5125
  content: {
5126
5126
  text: string;
5127
5127
  } & {
@@ -5174,7 +5174,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5174
5174
  } | {
5175
5175
  start: number;
5176
5176
  end: number;
5177
- type: "strong" | "em" | "list-item";
5177
+ type: "em" | "strong" | "list-item";
5178
5178
  })[] | undefined;
5179
5179
  };
5180
5180
  } & {
@@ -5549,7 +5549,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5549
5549
  label?: string | null | undefined;
5550
5550
  direction?: string | null | undefined;
5551
5551
  }) | ({
5552
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5552
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5553
5553
  content: {
5554
5554
  text: string;
5555
5555
  } & {
@@ -5602,7 +5602,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5602
5602
  } | {
5603
5603
  start: number;
5604
5604
  end: number;
5605
- type: "strong" | "em" | "list-item";
5605
+ type: "em" | "strong" | "list-item";
5606
5606
  })[] | undefined;
5607
5607
  };
5608
5608
  } & {
@@ -5620,7 +5620,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5620
5620
  content: ({
5621
5621
  key: string;
5622
5622
  } & {
5623
- type: "tableHeader" | "tableCell";
5623
+ type: "tableCell" | "tableHeader";
5624
5624
  content: {
5625
5625
  __TYPE__: "StructuredTextContent";
5626
5626
  value: (({
@@ -5714,7 +5714,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5714
5714
  label?: string | null | undefined;
5715
5715
  direction?: string | null | undefined;
5716
5716
  }) | ({
5717
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5717
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5718
5718
  content: {
5719
5719
  text: string;
5720
5720
  } & {
@@ -5767,7 +5767,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5767
5767
  } | {
5768
5768
  start: number;
5769
5769
  end: number;
5770
- type: "strong" | "em" | "list-item";
5770
+ type: "em" | "strong" | "list-item";
5771
5771
  })[] | undefined;
5772
5772
  };
5773
5773
  } & {
@@ -6144,7 +6144,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6144
6144
  label?: string | null | undefined;
6145
6145
  direction?: string | null | undefined;
6146
6146
  }) | ({
6147
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6147
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6148
6148
  content: {
6149
6149
  text: string;
6150
6150
  } & {
@@ -6197,7 +6197,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6197
6197
  } | {
6198
6198
  start: number;
6199
6199
  end: number;
6200
- type: "strong" | "em" | "list-item";
6200
+ type: "em" | "strong" | "list-item";
6201
6201
  })[] | undefined;
6202
6202
  };
6203
6203
  } & {
@@ -6215,7 +6215,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6215
6215
  content: ({
6216
6216
  key: string;
6217
6217
  } & {
6218
- type: "tableHeader" | "tableCell";
6218
+ type: "tableCell" | "tableHeader";
6219
6219
  content: {
6220
6220
  __TYPE__: "StructuredTextContent";
6221
6221
  value: (({
@@ -6309,7 +6309,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6309
6309
  label?: string | null | undefined;
6310
6310
  direction?: string | null | undefined;
6311
6311
  }) | ({
6312
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6312
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6313
6313
  content: {
6314
6314
  text: string;
6315
6315
  } & {
@@ -6362,7 +6362,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6362
6362
  } | {
6363
6363
  start: number;
6364
6364
  end: number;
6365
- type: "strong" | "em" | "list-item";
6365
+ type: "em" | "strong" | "list-item";
6366
6366
  })[] | undefined;
6367
6367
  };
6368
6368
  } & {
@@ -6737,7 +6737,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6737
6737
  label?: string | null | undefined;
6738
6738
  direction?: string | null | undefined;
6739
6739
  }) | ({
6740
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6740
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6741
6741
  content: {
6742
6742
  text: string;
6743
6743
  } & {
@@ -6790,7 +6790,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6790
6790
  } | {
6791
6791
  start: number;
6792
6792
  end: number;
6793
- type: "strong" | "em" | "list-item";
6793
+ type: "em" | "strong" | "list-item";
6794
6794
  })[] | undefined;
6795
6795
  };
6796
6796
  } & {
@@ -6808,7 +6808,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6808
6808
  content: ({
6809
6809
  key: string;
6810
6810
  } & {
6811
- type: "tableHeader" | "tableCell";
6811
+ type: "tableCell" | "tableHeader";
6812
6812
  content: {
6813
6813
  __TYPE__: "StructuredTextContent";
6814
6814
  value: (({
@@ -6902,7 +6902,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6902
6902
  label?: string | null | undefined;
6903
6903
  direction?: string | null | undefined;
6904
6904
  }) | ({
6905
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6905
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6906
6906
  content: {
6907
6907
  text: string;
6908
6908
  } & {
@@ -6955,7 +6955,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6955
6955
  } | {
6956
6956
  start: number;
6957
6957
  end: number;
6958
- type: "strong" | "em" | "list-item";
6958
+ type: "em" | "strong" | "list-item";
6959
6959
  })[] | undefined;
6960
6960
  };
6961
6961
  } & {
@@ -7328,7 +7328,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7328
7328
  label?: string | null | undefined;
7329
7329
  direction?: string | null | undefined;
7330
7330
  }) | ({
7331
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7331
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7332
7332
  content: {
7333
7333
  text: string;
7334
7334
  } & {
@@ -7381,7 +7381,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7381
7381
  } | {
7382
7382
  start: number;
7383
7383
  end: number;
7384
- type: "strong" | "em" | "list-item";
7384
+ type: "em" | "strong" | "list-item";
7385
7385
  })[] | undefined;
7386
7386
  };
7387
7387
  } & {
@@ -7399,7 +7399,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7399
7399
  content: ({
7400
7400
  key: string;
7401
7401
  } & {
7402
- type: "tableHeader" | "tableCell";
7402
+ type: "tableCell" | "tableHeader";
7403
7403
  content: {
7404
7404
  __TYPE__: "StructuredTextContent";
7405
7405
  value: (({
@@ -7493,7 +7493,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7493
7493
  label?: string | null | undefined;
7494
7494
  direction?: string | null | undefined;
7495
7495
  }) | ({
7496
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7496
+ type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7497
7497
  content: {
7498
7498
  text: string;
7499
7499
  } & {
@@ -7546,7 +7546,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7546
7546
  } | {
7547
7547
  start: number;
7548
7548
  end: number;
7549
- type: "strong" | "em" | "list-item";
7549
+ type: "em" | "strong" | "list-item";
7550
7550
  })[] | undefined;
7551
7551
  };
7552
7552
  } & {
@@ -7655,15 +7655,15 @@ export declare function invalidateDocumentListData(queryClient: QueryClient): Pr
7655
7655
  export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
7656
7656
  total: number;
7657
7657
  results: {
7658
- id: string;
7659
7658
  title: string;
7660
- custom_type_id: string;
7661
- group_lang_id: string;
7659
+ id: string;
7662
7660
  language: {
7663
7661
  isMaster?: boolean | undefined;
7664
7662
  id: string;
7665
7663
  label: string;
7666
7664
  };
7665
+ custom_type_id: string;
7666
+ group_lang_id: string;
7667
7667
  versions: (({
7668
7668
  status: "unclassified";
7669
7669
  } | {
@@ -7680,13 +7680,13 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7680
7680
  custom_type_label: string;
7681
7681
  author: {
7682
7682
  id?: string | undefined;
7683
+ email?: string | undefined;
7683
7684
  first_name?: string | undefined;
7684
7685
  last_name?: string | undefined;
7685
- email?: string | undefined;
7686
7686
  uploadedAvatar?: string | undefined;
7687
7687
  };
7688
- preview_image?: string | undefined;
7689
7688
  uid?: string | undefined;
7689
+ preview_image?: string | undefined;
7690
7690
  preview_summary?: string | undefined;
7691
7691
  })[];
7692
7692
  }[];
@@ -7695,15 +7695,15 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7695
7695
  export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
7696
7696
  total: number;
7697
7697
  results: {
7698
- id: string;
7699
7698
  title: string;
7700
- custom_type_id: string;
7701
- group_lang_id: string;
7699
+ id: string;
7702
7700
  language: {
7703
7701
  isMaster?: boolean | undefined;
7704
7702
  id: string;
7705
7703
  label: string;
7706
7704
  };
7705
+ custom_type_id: string;
7706
+ group_lang_id: string;
7707
7707
  versions: (({
7708
7708
  status: "unclassified";
7709
7709
  } | {
@@ -7720,13 +7720,13 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7720
7720
  custom_type_label: string;
7721
7721
  author: {
7722
7722
  id?: string | undefined;
7723
+ email?: string | undefined;
7723
7724
  first_name?: string | undefined;
7724
7725
  last_name?: string | undefined;
7725
- email?: string | undefined;
7726
7726
  uploadedAvatar?: string | undefined;
7727
7727
  };
7728
- preview_image?: string | undefined;
7729
7728
  uid?: string | undefined;
7729
+ preview_image?: string | undefined;
7730
7730
  preview_summary?: string | undefined;
7731
7731
  })[];
7732
7732
  }[];
@@ -7734,15 +7734,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7734
7734
  }, Error, {
7735
7735
  total: number;
7736
7736
  results: {
7737
- id: string;
7738
7737
  title: string;
7739
- custom_type_id: string;
7740
- group_lang_id: string;
7738
+ id: string;
7741
7739
  language: {
7742
7740
  isMaster?: boolean | undefined;
7743
7741
  id: string;
7744
7742
  label: string;
7745
7743
  };
7744
+ custom_type_id: string;
7745
+ group_lang_id: string;
7746
7746
  versions: (({
7747
7747
  status: "unclassified";
7748
7748
  } | {
@@ -7759,13 +7759,13 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7759
7759
  custom_type_label: string;
7760
7760
  author: {
7761
7761
  id?: string | undefined;
7762
+ email?: string | undefined;
7762
7763
  first_name?: string | undefined;
7763
7764
  last_name?: string | undefined;
7764
- email?: string | undefined;
7765
7765
  uploadedAvatar?: string | undefined;
7766
7766
  };
7767
- preview_image?: string | undefined;
7768
7767
  uid?: string | undefined;
7768
+ preview_image?: string | undefined;
7769
7769
  preview_summary?: string | undefined;
7770
7770
  })[];
7771
7771
  }[];
@@ -7774,15 +7774,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7774
7774
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
7775
7775
  total: number;
7776
7776
  results: {
7777
- id: string;
7778
7777
  title: string;
7779
- custom_type_id: string;
7780
- group_lang_id: string;
7778
+ id: string;
7781
7779
  language: {
7782
7780
  isMaster?: boolean | undefined;
7783
7781
  id: string;
7784
7782
  label: string;
7785
7783
  };
7784
+ custom_type_id: string;
7785
+ group_lang_id: string;
7786
7786
  versions: (({
7787
7787
  status: "unclassified";
7788
7788
  } | {
@@ -7799,13 +7799,13 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7799
7799
  custom_type_label: string;
7800
7800
  author: {
7801
7801
  id?: string | undefined;
7802
+ email?: string | undefined;
7802
7803
  first_name?: string | undefined;
7803
7804
  last_name?: string | undefined;
7804
- email?: string | undefined;
7805
7805
  uploadedAvatar?: string | undefined;
7806
7806
  };
7807
- preview_image?: string | undefined;
7808
7807
  uid?: string | undefined;
7808
+ preview_image?: string | undefined;
7809
7809
  preview_summary?: string | undefined;
7810
7810
  })[];
7811
7811
  }[];
@@ -7815,15 +7815,15 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7815
7815
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
7816
7816
  total: number;
7817
7817
  results: {
7818
- id: string;
7819
7818
  title: string;
7820
- custom_type_id: string;
7821
- group_lang_id: string;
7819
+ id: string;
7822
7820
  language: {
7823
7821
  isMaster?: boolean | undefined;
7824
7822
  id: string;
7825
7823
  label: string;
7826
7824
  };
7825
+ custom_type_id: string;
7826
+ group_lang_id: string;
7827
7827
  versions: (({
7828
7828
  status: "unclassified";
7829
7829
  } | {
@@ -7840,13 +7840,13 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7840
7840
  custom_type_label: string;
7841
7841
  author: {
7842
7842
  id?: string | undefined;
7843
+ email?: string | undefined;
7843
7844
  first_name?: string | undefined;
7844
7845
  last_name?: string | undefined;
7845
- email?: string | undefined;
7846
7846
  uploadedAvatar?: string | undefined;
7847
7847
  };
7848
- preview_image?: string | undefined;
7849
7848
  uid?: string | undefined;
7849
+ preview_image?: string | undefined;
7850
7850
  preview_summary?: string | undefined;
7851
7851
  })[];
7852
7852
  }[];