@prismicio/editor-fields 0.4.72 → 0.4.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/EditorConfig.d.ts +2 -10
  2. package/dist/core/APIExplorer/APIExplorer.d.ts +4 -1
  3. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +40 -12
  4. package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +1 -1
  5. package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +12 -3
  6. package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
  7. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
  8. package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +6 -0
  9. package/dist/core/APIExplorer/hooks/useRequestRepository.d.ts +1 -1
  10. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +93 -93
  11. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  12. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +9 -9
  13. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +9 -9
  14. package/dist/core/service/customType.d.ts +12 -12
  15. package/dist/core/service/document.d.ts +201 -201
  16. package/dist/core/service/documentSearch.d.ts +47 -47
  17. package/dist/core/service/onboarding.d.ts +3 -3
  18. package/dist/core/service/repository.d.ts +6 -6
  19. package/dist/core/service/role.d.ts +64 -64
  20. package/dist/core/service/user.d.ts +8 -8
  21. package/dist/fields/ImageField/useImageField.d.ts +9 -9
  22. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +9 -9
  23. package/dist/fields/LinkField/Documents/documentsData.d.ts +16 -16
  24. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  25. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  26. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  27. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +9 -9
  28. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -0
  29. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +19 -0
  30. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +1 -0
  31. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +23 -0
  32. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +1 -0
  33. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +1 -0
  34. package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
  35. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +5 -8
  36. package/dist/fields/RichTextField/extensions/Table/menus/PassthroughTrigger.d.ts +12 -0
  37. package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +6 -4
  38. package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +6 -4
  39. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +8 -0
  40. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
  41. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +34 -0
  42. package/dist/index.cjs.js +42 -42
  43. package/dist/index.es.js +12885 -12780
  44. package/dist/slices/utils.d.ts +1 -1
  45. package/package.json +4 -4
  46. package/dist/core/APIExplorer/hooks/useRequestRepositoryCustomTypes.d.ts +0 -6
  47. /package/dist/fields/RichTextField/extensions/Table/{plugins/tableHandles/tableHandlesPluginView.d.ts → TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts} +0 -0
  48. /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles/tableHandlesPlugin.d.ts → TableHandles/TableHandlesPlugin.d.ts} +0 -0
  49. /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/index.d.ts +0 -0
  50. /package/dist/fields/RichTextField/extensions/Table/plugins/{tableHandles → TableHandles}/utils.d.ts +0 -0
@@ -66,46 +66,46 @@ 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
- first_name?: string | undefined;
70
- last_name?: string | undefined;
71
69
  email?: string | undefined;
72
70
  uploadedAvatar?: string | undefined;
73
- }, {
74
- id?: string | undefined;
75
71
  first_name?: string | undefined;
76
72
  last_name?: string | undefined;
73
+ }, {
74
+ id?: string | undefined;
77
75
  email?: string | undefined;
78
76
  uploadedAvatar?: string | undefined;
77
+ first_name?: string | undefined;
78
+ last_name?: string | undefined;
79
79
  }>;
80
80
  }>, "strip", z.ZodTypeAny, {
81
- version_id: string;
82
81
  tags: string[];
82
+ version_id: string;
83
83
  last_modified_date: Date;
84
84
  custom_type_label: string;
85
85
  author: {
86
86
  id?: string | undefined;
87
- first_name?: string | undefined;
88
- last_name?: string | undefined;
89
87
  email?: string | undefined;
90
88
  uploadedAvatar?: string | undefined;
89
+ first_name?: string | undefined;
90
+ last_name?: 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
- version_id: string;
97
96
  tags: string[];
97
+ version_id: string;
98
98
  last_modified_date: Date;
99
99
  custom_type_label: string;
100
100
  author: {
101
101
  id?: string | undefined;
102
- first_name?: string | undefined;
103
- last_name?: string | undefined;
104
102
  email?: string | undefined;
105
103
  uploadedAvatar?: string | undefined;
104
+ first_name?: string | undefined;
105
+ last_name?: 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<{
@@ -153,25 +153,25 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
153
153
  uid?: string | undefined;
154
154
  }>>;
155
155
  }>, "strip", z.ZodTypeAny, {
156
- version_id: string;
157
156
  tags: string[];
157
+ version_id: string;
158
158
  last_modified_date: Date;
159
- preview_image?: string | undefined;
160
159
  uid?: string | undefined;
161
- custom_type_id?: string | undefined;
162
160
  summary?: 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;
166
166
  } | undefined;
167
167
  }, {
168
- version_id: string;
169
168
  tags: string[];
169
+ version_id: string;
170
170
  last_modified_date: Date;
171
- preview_image?: string | undefined;
172
171
  uid?: string | undefined;
173
- custom_type_id?: string | undefined;
174
172
  summary?: 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,58 +249,58 @@ export declare const documentMetaSchema: z.ZodObject<{
249
249
  uploadedAvatar: z.ZodOptional<z.ZodString>;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  id?: string | undefined;
252
- first_name?: string | undefined;
253
- last_name?: string | undefined;
254
252
  email?: string | undefined;
255
253
  uploadedAvatar?: string | undefined;
256
- }, {
257
- id?: string | undefined;
258
254
  first_name?: string | undefined;
259
255
  last_name?: string | undefined;
256
+ }, {
257
+ id?: string | undefined;
260
258
  email?: string | undefined;
261
259
  uploadedAvatar?: string | undefined;
260
+ first_name?: string | undefined;
261
+ last_name?: string | undefined;
262
262
  }>;
263
263
  }>, "strip", z.ZodTypeAny, {
264
- version_id: string;
265
264
  tags: string[];
265
+ version_id: string;
266
266
  last_modified_date: Date;
267
267
  custom_type_label: string;
268
268
  author: {
269
269
  id?: string | undefined;
270
- first_name?: string | undefined;
271
- last_name?: string | undefined;
272
270
  email?: string | undefined;
273
271
  uploadedAvatar?: string | undefined;
272
+ first_name?: string | undefined;
273
+ last_name?: 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
- version_id: string;
280
279
  tags: string[];
280
+ version_id: string;
281
281
  last_modified_date: Date;
282
282
  custom_type_label: string;
283
283
  author: {
284
284
  id?: string | undefined;
285
- first_name?: string | undefined;
286
- last_name?: string | undefined;
287
285
  email?: string | undefined;
288
286
  uploadedAvatar?: string | undefined;
287
+ first_name?: string | undefined;
288
+ last_name?: 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
295
  id: string;
296
296
  title: string;
297
- custom_type_id: string;
298
- group_lang_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
  } | {
@@ -311,30 +311,30 @@ export declare const documentMetaSchema: z.ZodObject<{
311
311
  } | {
312
312
  status: "archived";
313
313
  }) & {
314
- version_id: string;
315
314
  tags: string[];
315
+ version_id: string;
316
316
  last_modified_date: Date;
317
317
  custom_type_label: string;
318
318
  author: {
319
319
  id?: string | undefined;
320
- first_name?: string | undefined;
321
- last_name?: string | undefined;
322
320
  email?: string | undefined;
323
321
  uploadedAvatar?: string | undefined;
322
+ first_name?: string | undefined;
323
+ last_name?: 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
332
  id: string;
335
333
  name: 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
  } | {
@@ -345,19 +345,19 @@ export declare const documentMetaSchema: z.ZodObject<{
345
345
  } | {
346
346
  status: "archived";
347
347
  }) & {
348
- version_id: string;
349
348
  tags: string[];
349
+ version_id: string;
350
350
  last_modified_date: Date;
351
351
  custom_type_label: string;
352
352
  author: {
353
353
  id?: string | undefined;
354
- first_name?: string | undefined;
355
- last_name?: string | undefined;
356
354
  email?: string | undefined;
357
355
  uploadedAvatar?: string | undefined;
356
+ first_name?: string | undefined;
357
+ last_name?: 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;
@@ -435,58 +435,58 @@ declare const getDocumentListSchema: z.ZodObject<{
435
435
  uploadedAvatar: z.ZodOptional<z.ZodString>;
436
436
  }, "strip", z.ZodTypeAny, {
437
437
  id?: string | undefined;
438
- first_name?: string | undefined;
439
- last_name?: string | undefined;
440
438
  email?: string | undefined;
441
439
  uploadedAvatar?: string | undefined;
442
- }, {
443
- id?: string | undefined;
444
440
  first_name?: string | undefined;
445
441
  last_name?: string | undefined;
442
+ }, {
443
+ id?: string | undefined;
446
444
  email?: string | undefined;
447
445
  uploadedAvatar?: string | undefined;
446
+ first_name?: string | undefined;
447
+ last_name?: string | undefined;
448
448
  }>;
449
449
  }>, "strip", z.ZodTypeAny, {
450
- version_id: string;
451
450
  tags: string[];
451
+ version_id: string;
452
452
  last_modified_date: Date;
453
453
  custom_type_label: string;
454
454
  author: {
455
455
  id?: string | undefined;
456
- first_name?: string | undefined;
457
- last_name?: string | undefined;
458
456
  email?: string | undefined;
459
457
  uploadedAvatar?: string | undefined;
458
+ first_name?: string | undefined;
459
+ last_name?: 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
- version_id: string;
466
465
  tags: string[];
466
+ version_id: string;
467
467
  last_modified_date: Date;
468
468
  custom_type_label: string;
469
469
  author: {
470
470
  id?: string | undefined;
471
- first_name?: string | undefined;
472
- last_name?: string | undefined;
473
471
  email?: string | undefined;
474
472
  uploadedAvatar?: string | undefined;
473
+ first_name?: string | undefined;
474
+ last_name?: 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
481
  id: string;
482
482
  title: string;
483
- custom_type_id: string;
484
- group_lang_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
  } | {
@@ -497,30 +497,30 @@ declare const getDocumentListSchema: z.ZodObject<{
497
497
  } | {
498
498
  status: "archived";
499
499
  }) & {
500
- version_id: string;
501
500
  tags: string[];
501
+ version_id: string;
502
502
  last_modified_date: Date;
503
503
  custom_type_label: string;
504
504
  author: {
505
505
  id?: string | undefined;
506
- first_name?: string | undefined;
507
- last_name?: string | undefined;
508
506
  email?: string | undefined;
509
507
  uploadedAvatar?: string | undefined;
508
+ first_name?: string | undefined;
509
+ last_name?: 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
518
  id: string;
521
519
  name: 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
  } | {
@@ -531,35 +531,34 @@ declare const getDocumentListSchema: z.ZodObject<{
531
531
  } | {
532
532
  status: "archived";
533
533
  }) & {
534
- version_id: string;
535
534
  tags: string[];
535
+ version_id: string;
536
536
  last_modified_date: Date;
537
537
  custom_type_label: string;
538
538
  author: {
539
539
  id?: string | undefined;
540
- first_name?: string | undefined;
541
- last_name?: string | undefined;
542
540
  email?: string | undefined;
543
541
  uploadedAvatar?: string | undefined;
542
+ first_name?: string | undefined;
543
+ last_name?: 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;
550
550
  }>, "many">;
551
551
  }, "strip", z.ZodTypeAny, {
552
- total: number;
553
552
  results: {
554
553
  id: string;
555
554
  title: string;
556
- custom_type_id: string;
557
- group_lang_id: string;
558
555
  language: {
559
556
  isMaster?: boolean | undefined;
560
557
  id: string;
561
558
  label: string;
562
559
  };
560
+ custom_type_id: string;
561
+ group_lang_id: string;
563
562
  versions: (({
564
563
  status: "unclassified";
565
564
  } | {
@@ -570,34 +569,34 @@ declare const getDocumentListSchema: z.ZodObject<{
570
569
  } | {
571
570
  status: "archived";
572
571
  }) & {
573
- version_id: string;
574
572
  tags: string[];
573
+ version_id: string;
575
574
  last_modified_date: Date;
576
575
  custom_type_label: string;
577
576
  author: {
578
577
  id?: string | undefined;
579
- first_name?: string | undefined;
580
- last_name?: string | undefined;
581
578
  email?: string | undefined;
582
579
  uploadedAvatar?: string | undefined;
580
+ first_name?: string | undefined;
581
+ last_name?: string | undefined;
583
582
  };
584
- preview_image?: string | undefined;
585
583
  uid?: string | undefined;
584
+ preview_image?: string | undefined;
586
585
  preview_summary?: string | undefined;
587
586
  })[];
588
587
  }[];
588
+ total: number;
589
589
  cursor?: string | undefined;
590
590
  }, {
591
- total: number;
592
591
  results: {
593
592
  id: string;
594
- custom_type_id: string;
595
- group_lang_id: string;
596
593
  language: {
597
594
  id: string;
598
595
  name: string;
599
596
  is_master?: boolean | undefined;
600
597
  };
598
+ custom_type_id: string;
599
+ group_lang_id: string;
601
600
  versions: (({
602
601
  status: "unclassified";
603
602
  } | {
@@ -608,23 +607,24 @@ declare const getDocumentListSchema: z.ZodObject<{
608
607
  } | {
609
608
  status: "archived";
610
609
  }) & {
611
- version_id: string;
612
610
  tags: string[];
611
+ version_id: string;
613
612
  last_modified_date: Date;
614
613
  custom_type_label: string;
615
614
  author: {
616
615
  id?: string | undefined;
617
- first_name?: string | undefined;
618
- last_name?: string | undefined;
619
616
  email?: string | undefined;
620
617
  uploadedAvatar?: string | undefined;
618
+ first_name?: string | undefined;
619
+ last_name?: string | undefined;
621
620
  };
622
- preview_image?: string | undefined;
623
621
  uid?: string | undefined;
622
+ preview_image?: string | undefined;
624
623
  preview_summary?: string | undefined;
625
624
  })[];
626
625
  title?: string | null | undefined;
627
626
  }[];
627
+ total: number;
628
628
  cursor?: string | undefined;
629
629
  }>;
630
630
  declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
@@ -677,25 +677,25 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
677
677
  uid?: string | undefined;
678
678
  }>>;
679
679
  }>, "strip", z.ZodTypeAny, {
680
- version_id: string;
681
680
  tags: string[];
681
+ version_id: string;
682
682
  last_modified_date: Date;
683
- preview_image?: string | undefined;
684
683
  uid?: string | undefined;
685
- custom_type_id?: string | undefined;
686
684
  summary?: string | undefined;
685
+ preview_image?: string | undefined;
686
+ custom_type_id?: string | undefined;
687
687
  author_ids?: string[] | undefined;
688
688
  highlights?: {
689
689
  uid?: string | undefined;
690
690
  } | undefined;
691
691
  }, {
692
- version_id: string;
693
692
  tags: string[];
693
+ version_id: string;
694
694
  last_modified_date: Date;
695
- preview_image?: string | undefined;
696
695
  uid?: string | undefined;
697
- custom_type_id?: string | undefined;
698
696
  summary?: string | undefined;
697
+ preview_image?: string | undefined;
698
+ custom_type_id?: string | undefined;
699
699
  author_ids?: string[] | undefined;
700
700
  highlights?: {
701
701
  uid?: string | undefined;
@@ -717,13 +717,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
717
717
  } | {
718
718
  status: "archived";
719
719
  }) & {
720
- version_id: string;
721
720
  tags: string[];
721
+ version_id: string;
722
722
  last_modified_date: Date;
723
- preview_image?: string | undefined;
724
723
  uid?: string | undefined;
725
- custom_type_id?: string | undefined;
726
724
  summary?: string | undefined;
725
+ preview_image?: string | undefined;
726
+ custom_type_id?: string | undefined;
727
727
  author_ids?: string[] | undefined;
728
728
  highlights?: {
729
729
  uid?: string | undefined;
@@ -744,13 +744,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
744
744
  } | {
745
745
  status: "archived";
746
746
  }) & {
747
- version_id: string;
748
747
  tags: string[];
748
+ version_id: string;
749
749
  last_modified_date: Date;
750
- preview_image?: string | undefined;
751
750
  uid?: string | undefined;
752
- custom_type_id?: string | undefined;
753
751
  summary?: string | undefined;
752
+ preview_image?: string | undefined;
753
+ custom_type_id?: string | undefined;
754
754
  author_ids?: string[] | undefined;
755
755
  highlights?: {
756
756
  uid?: string | undefined;
@@ -774,13 +774,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
774
774
  } | {
775
775
  status: "archived";
776
776
  }) & {
777
- version_id: string;
778
777
  tags: string[];
778
+ version_id: string;
779
779
  last_modified_date: Date;
780
- preview_image?: string | undefined;
781
780
  uid?: string | undefined;
782
- custom_type_id?: string | undefined;
783
781
  summary?: string | undefined;
782
+ preview_image?: string | undefined;
783
+ custom_type_id?: string | undefined;
784
784
  author_ids?: string[] | undefined;
785
785
  highlights?: {
786
786
  uid?: string | undefined;
@@ -800,13 +800,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
800
800
  } | {
801
801
  status: "archived";
802
802
  }) & {
803
- version_id: string;
804
803
  tags: string[];
804
+ version_id: string;
805
805
  last_modified_date: Date;
806
- preview_image?: string | undefined;
807
806
  uid?: string | undefined;
808
- custom_type_id?: string | undefined;
809
807
  summary?: string | undefined;
808
+ preview_image?: string | undefined;
809
+ custom_type_id?: string | undefined;
810
810
  author_ids?: string[] | undefined;
811
811
  highlights?: {
812
812
  uid?: string | undefined;
@@ -866,25 +866,25 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
866
866
  uid?: string | undefined;
867
867
  }>>;
868
868
  }>, "strip", z.ZodTypeAny, {
869
- version_id: string;
870
869
  tags: string[];
870
+ version_id: string;
871
871
  last_modified_date: Date;
872
- preview_image?: string | undefined;
873
872
  uid?: string | undefined;
874
- custom_type_id?: string | undefined;
875
873
  summary?: string | undefined;
874
+ preview_image?: string | undefined;
875
+ custom_type_id?: string | undefined;
876
876
  author_ids?: string[] | undefined;
877
877
  highlights?: {
878
878
  uid?: string | undefined;
879
879
  } | undefined;
880
880
  }, {
881
- version_id: string;
882
881
  tags: string[];
882
+ version_id: string;
883
883
  last_modified_date: Date;
884
- preview_image?: string | undefined;
885
884
  uid?: string | undefined;
886
- custom_type_id?: string | undefined;
887
885
  summary?: string | undefined;
886
+ preview_image?: string | undefined;
887
+ custom_type_id?: string | undefined;
888
888
  author_ids?: string[] | undefined;
889
889
  highlights?: {
890
890
  uid?: string | undefined;
@@ -906,13 +906,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
906
906
  } | {
907
907
  status: "archived";
908
908
  }) & {
909
- version_id: string;
910
909
  tags: string[];
910
+ version_id: string;
911
911
  last_modified_date: Date;
912
- preview_image?: string | undefined;
913
912
  uid?: string | undefined;
914
- custom_type_id?: string | undefined;
915
913
  summary?: string | undefined;
914
+ preview_image?: string | undefined;
915
+ custom_type_id?: string | undefined;
916
916
  author_ids?: string[] | undefined;
917
917
  highlights?: {
918
918
  uid?: string | undefined;
@@ -933,13 +933,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
933
933
  } | {
934
934
  status: "archived";
935
935
  }) & {
936
- version_id: string;
937
936
  tags: string[];
937
+ version_id: string;
938
938
  last_modified_date: Date;
939
- preview_image?: string | undefined;
940
939
  uid?: string | undefined;
941
- custom_type_id?: string | undefined;
942
940
  summary?: string | undefined;
941
+ preview_image?: string | undefined;
942
+ custom_type_id?: string | undefined;
943
943
  author_ids?: string[] | undefined;
944
944
  highlights?: {
945
945
  uid?: string | undefined;
@@ -963,13 +963,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
963
963
  } | {
964
964
  status: "archived";
965
965
  }) & {
966
- version_id: string;
967
966
  tags: string[];
967
+ version_id: string;
968
968
  last_modified_date: Date;
969
- preview_image?: string | undefined;
970
969
  uid?: string | undefined;
971
- custom_type_id?: string | undefined;
972
970
  summary?: string | undefined;
971
+ preview_image?: string | undefined;
972
+ custom_type_id?: string | undefined;
973
973
  author_ids?: string[] | undefined;
974
974
  highlights?: {
975
975
  uid?: string | undefined;
@@ -989,13 +989,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
989
989
  } | {
990
990
  status: "archived";
991
991
  }) & {
992
- version_id: string;
993
992
  tags: string[];
993
+ version_id: string;
994
994
  last_modified_date: Date;
995
- preview_image?: string | undefined;
996
995
  uid?: string | undefined;
997
- custom_type_id?: string | undefined;
998
996
  summary?: string | undefined;
997
+ preview_image?: string | undefined;
998
+ custom_type_id?: string | undefined;
999
999
  author_ids?: string[] | undefined;
1000
1000
  highlights?: {
1001
1001
  uid?: string | undefined;
@@ -1021,13 +1021,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1021
1021
  } | {
1022
1022
  status: "archived";
1023
1023
  }) & {
1024
- version_id: string;
1025
1024
  tags: string[];
1025
+ version_id: string;
1026
1026
  last_modified_date: Date;
1027
- preview_image?: string | undefined;
1028
1027
  uid?: string | undefined;
1029
- custom_type_id?: string | undefined;
1030
1028
  summary?: string | undefined;
1029
+ preview_image?: string | undefined;
1030
+ custom_type_id?: string | undefined;
1031
1031
  author_ids?: string[] | undefined;
1032
1032
  highlights?: {
1033
1033
  uid?: string | undefined;
@@ -1049,13 +1049,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1049
1049
  } | {
1050
1050
  status: "archived";
1051
1051
  }) & {
1052
- version_id: string;
1053
1052
  tags: string[];
1053
+ version_id: string;
1054
1054
  last_modified_date: Date;
1055
- preview_image?: string | undefined;
1056
1055
  uid?: string | undefined;
1057
- custom_type_id?: string | undefined;
1058
1056
  summary?: string | undefined;
1057
+ preview_image?: string | undefined;
1058
+ custom_type_id?: 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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -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
  } & {
@@ -7653,17 +7653,16 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
7653
7653
  export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
7654
7654
  export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
7655
7655
  export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
7656
- total: number;
7657
7656
  results: {
7658
7657
  id: string;
7659
7658
  title: string;
7660
- custom_type_id: string;
7661
- group_lang_id: string;
7662
7659
  language: {
7663
7660
  isMaster?: boolean | undefined;
7664
7661
  id: string;
7665
7662
  label: string;
7666
7663
  };
7664
+ custom_type_id: string;
7665
+ group_lang_id: string;
7667
7666
  versions: (({
7668
7667
  status: "unclassified";
7669
7668
  } | {
@@ -7674,36 +7673,36 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7674
7673
  } | {
7675
7674
  status: "archived";
7676
7675
  }) & {
7677
- version_id: string;
7678
7676
  tags: string[];
7677
+ version_id: string;
7679
7678
  last_modified_date: Date;
7680
7679
  custom_type_label: string;
7681
7680
  author: {
7682
7681
  id?: string | undefined;
7683
- first_name?: string | undefined;
7684
- last_name?: string | undefined;
7685
7682
  email?: string | undefined;
7686
7683
  uploadedAvatar?: string | undefined;
7684
+ first_name?: string | undefined;
7685
+ last_name?: string | undefined;
7687
7686
  };
7688
- preview_image?: string | undefined;
7689
7687
  uid?: string | undefined;
7688
+ preview_image?: string | undefined;
7690
7689
  preview_summary?: string | undefined;
7691
7690
  })[];
7692
7691
  }[];
7692
+ total: number;
7693
7693
  cursor?: string | undefined;
7694
7694
  }, Error>;
7695
7695
  export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
7696
- total: number;
7697
7696
  results: {
7698
7697
  id: string;
7699
7698
  title: string;
7700
- custom_type_id: string;
7701
- group_lang_id: string;
7702
7699
  language: {
7703
7700
  isMaster?: boolean | undefined;
7704
7701
  id: string;
7705
7702
  label: string;
7706
7703
  };
7704
+ custom_type_id: string;
7705
+ group_lang_id: string;
7707
7706
  versions: (({
7708
7707
  status: "unclassified";
7709
7708
  } | {
@@ -7714,35 +7713,35 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7714
7713
  } | {
7715
7714
  status: "archived";
7716
7715
  }) & {
7717
- version_id: string;
7718
7716
  tags: string[];
7717
+ version_id: string;
7719
7718
  last_modified_date: Date;
7720
7719
  custom_type_label: string;
7721
7720
  author: {
7722
7721
  id?: string | undefined;
7723
- first_name?: string | undefined;
7724
- last_name?: string | undefined;
7725
7722
  email?: string | undefined;
7726
7723
  uploadedAvatar?: string | undefined;
7724
+ first_name?: string | undefined;
7725
+ last_name?: string | undefined;
7727
7726
  };
7728
- preview_image?: string | undefined;
7729
7727
  uid?: string | undefined;
7728
+ preview_image?: string | undefined;
7730
7729
  preview_summary?: string | undefined;
7731
7730
  })[];
7732
7731
  }[];
7732
+ total: number;
7733
7733
  cursor?: string | undefined;
7734
7734
  }, Error, {
7735
- total: number;
7736
7735
  results: {
7737
7736
  id: string;
7738
7737
  title: string;
7739
- custom_type_id: string;
7740
- group_lang_id: string;
7741
7738
  language: {
7742
7739
  isMaster?: boolean | undefined;
7743
7740
  id: string;
7744
7741
  label: string;
7745
7742
  };
7743
+ custom_type_id: string;
7744
+ group_lang_id: string;
7746
7745
  versions: (({
7747
7746
  status: "unclassified";
7748
7747
  } | {
@@ -7753,36 +7752,36 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7753
7752
  } | {
7754
7753
  status: "archived";
7755
7754
  }) & {
7756
- version_id: string;
7757
7755
  tags: string[];
7756
+ version_id: string;
7758
7757
  last_modified_date: Date;
7759
7758
  custom_type_label: string;
7760
7759
  author: {
7761
7760
  id?: string | undefined;
7762
- first_name?: string | undefined;
7763
- last_name?: string | undefined;
7764
7761
  email?: string | undefined;
7765
7762
  uploadedAvatar?: string | undefined;
7763
+ first_name?: string | undefined;
7764
+ last_name?: string | undefined;
7766
7765
  };
7767
- preview_image?: string | undefined;
7768
7766
  uid?: string | undefined;
7767
+ preview_image?: string | undefined;
7769
7768
  preview_summary?: string | undefined;
7770
7769
  })[];
7771
7770
  }[];
7771
+ total: number;
7772
7772
  cursor?: string | undefined;
7773
7773
  }, readonly ["documents", "list", GetDocumentListArgs]> & {
7774
7774
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
7775
- total: number;
7776
7775
  results: {
7777
7776
  id: string;
7778
7777
  title: string;
7779
- custom_type_id: string;
7780
- group_lang_id: string;
7781
7778
  language: {
7782
7779
  isMaster?: boolean | undefined;
7783
7780
  id: string;
7784
7781
  label: string;
7785
7782
  };
7783
+ custom_type_id: string;
7784
+ group_lang_id: string;
7786
7785
  versions: (({
7787
7786
  status: "unclassified";
7788
7787
  } | {
@@ -7793,37 +7792,37 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7793
7792
  } | {
7794
7793
  status: "archived";
7795
7794
  }) & {
7796
- version_id: string;
7797
7795
  tags: string[];
7796
+ version_id: string;
7798
7797
  last_modified_date: Date;
7799
7798
  custom_type_label: string;
7800
7799
  author: {
7801
7800
  id?: string | undefined;
7802
- first_name?: string | undefined;
7803
- last_name?: string | undefined;
7804
7801
  email?: string | undefined;
7805
7802
  uploadedAvatar?: string | undefined;
7803
+ first_name?: string | undefined;
7804
+ last_name?: string | undefined;
7806
7805
  };
7807
- preview_image?: string | undefined;
7808
7806
  uid?: string | undefined;
7807
+ preview_image?: string | undefined;
7809
7808
  preview_summary?: string | undefined;
7810
7809
  })[];
7811
7810
  }[];
7811
+ total: number;
7812
7812
  cursor?: string | undefined;
7813
7813
  }> | undefined;
7814
7814
  } & {
7815
7815
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
7816
- total: number;
7817
7816
  results: {
7818
7817
  id: string;
7819
7818
  title: string;
7820
- custom_type_id: string;
7821
- group_lang_id: string;
7822
7819
  language: {
7823
7820
  isMaster?: boolean | undefined;
7824
7821
  id: string;
7825
7822
  label: string;
7826
7823
  };
7824
+ custom_type_id: string;
7825
+ group_lang_id: string;
7827
7826
  versions: (({
7828
7827
  status: "unclassified";
7829
7828
  } | {
@@ -7834,22 +7833,23 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7834
7833
  } | {
7835
7834
  status: "archived";
7836
7835
  }) & {
7837
- version_id: string;
7838
7836
  tags: string[];
7837
+ version_id: string;
7839
7838
  last_modified_date: Date;
7840
7839
  custom_type_label: string;
7841
7840
  author: {
7842
7841
  id?: string | undefined;
7843
- first_name?: string | undefined;
7844
- last_name?: string | undefined;
7845
7842
  email?: string | undefined;
7846
7843
  uploadedAvatar?: string | undefined;
7844
+ first_name?: string | undefined;
7845
+ last_name?: string | undefined;
7847
7846
  };
7848
- preview_image?: string | undefined;
7849
7847
  uid?: string | undefined;
7848
+ preview_image?: string | undefined;
7850
7849
  preview_summary?: string | undefined;
7851
7850
  })[];
7852
7851
  }[];
7852
+ total: number;
7853
7853
  cursor?: string | undefined;
7854
7854
  }>;
7855
7855
  };