@prismicio/editor-fields 0.4.63 → 0.4.64-alpha.fix-simulator-issue.0

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 (68) hide show
  1. package/dist/EditorConfig.d.ts +12 -3
  2. package/dist/core/APIExplorer/APIExplorer.d.ts +2 -0
  3. package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +54 -0
  4. package/dist/core/APIExplorer/components/APIExplorerRequest.d.ts +2 -0
  5. package/dist/core/APIExplorer/components/APIExplorerResponse.d.ts +2 -0
  6. package/dist/core/APIExplorer/components/Request/GetByTypeRequest.d.ts +1 -0
  7. package/dist/core/APIExplorer/components/Request/GetByUIDRequest.d.ts +1 -0
  8. package/dist/core/APIExplorer/components/Request/GetRepositoryRequest.d.ts +1 -0
  9. package/dist/core/APIExplorer/components/Request/GetRequest.d.ts +1 -0
  10. package/dist/core/APIExplorer/components/Request/GetSingleRequest.d.ts +1 -0
  11. package/dist/core/APIExplorer/components/Request/components/RequestFormInput.d.ts +4 -0
  12. package/dist/core/APIExplorer/components/Request/components/RequestFormInputBase.d.ts +6 -0
  13. package/dist/core/APIExplorer/components/Request/components/RequestFormSelect.d.ts +4 -0
  14. package/dist/core/APIExplorer/components/Request/components/RequestPaginationFieldset.d.ts +5 -0
  15. package/dist/core/APIExplorer/components/Request/components/RequestTypeFieldset.d.ts +7 -0
  16. package/dist/core/APIExplorer/components/Request/components/index.d.ts +3 -0
  17. package/dist/core/APIExplorer/components/Request/createRequest.d.ts +20 -0
  18. package/dist/core/APIExplorer/components/Request/index.d.ts +1 -0
  19. package/dist/core/APIExplorer/components/Request/types.d.ts +14 -0
  20. package/dist/core/APIExplorer/index.d.ts +1 -0
  21. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +80 -80
  22. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  23. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +8 -8
  24. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +8 -8
  25. package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
  26. package/dist/core/service/aiSeoMetadata.d.ts +2 -6
  27. package/dist/core/service/customType.d.ts +20 -20
  28. package/dist/core/service/document.d.ts +213 -213
  29. package/dist/core/service/documentSearch.d.ts +47 -47
  30. package/dist/core/service/repository.d.ts +30 -30
  31. package/dist/core/service/role.d.ts +267 -46
  32. package/dist/core/service/user.d.ts +11 -7
  33. package/dist/fields/ImageField/useImageField.d.ts +8 -8
  34. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +8 -8
  35. package/dist/fields/LinkField/Documents/documentsData.d.ts +16 -16
  36. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  37. package/dist/fields/RichTextField/RichTextField.d.ts +2 -0
  38. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  39. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +8 -8
  40. package/dist/fields/RichTextField/extensions/Table/Table.d.ts +4 -4
  41. package/dist/fields/RichTextField/extensions/Table/TableCell/TableCell.d.ts +10 -0
  42. package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +10 -0
  43. package/dist/fields/RichTextField/extensions/Table/TableCell/index.d.ts +2 -0
  44. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +8 -0
  45. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts +34 -0
  46. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +19 -0
  47. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +1 -0
  48. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +23 -0
  49. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +1 -0
  50. package/dist/fields/RichTextField/extensions/Table/TableCell/types.d.ts +17 -0
  51. package/dist/fields/RichTextField/extensions/Table/TableCell/utils.d.ts +15 -0
  52. package/dist/fields/RichTextField/extensions/Table/TableEvent.d.ts +31 -0
  53. package/dist/fields/RichTextField/extensions/Table/TableLimitToast.d.ts +7 -0
  54. package/dist/fields/RichTextField/extensions/Table/TableRow.d.ts +9 -0
  55. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +20 -0
  56. package/dist/fields/RichTextField/extensions/Table/menus/TableColumnMenu.d.ts +11 -0
  57. package/dist/fields/RichTextField/extensions/Table/menus/TableFloatingMenus.d.ts +7 -0
  58. package/dist/fields/RichTextField/extensions/Table/menus/TableRowMenu.d.ts +10 -0
  59. package/dist/fields/RichTextField/extensions/Table/menus/TriggerAnchor.d.ts +11 -0
  60. package/dist/fields/RichTextField/extensions/Table/menus/index.d.ts +2 -0
  61. package/dist/fields/RichTextField/extensions/Table/menus/utils.d.ts +23 -0
  62. package/dist/fields/RichTextField/extensions/Table/utils.d.ts +60 -0
  63. package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
  64. package/dist/index.cjs.js +138 -38
  65. package/dist/index.d.ts +1 -0
  66. package/dist/index.es.js +59001 -10823
  67. package/dist/slices/utils.d.ts +4 -4
  68. package/package.json +6 -6
@@ -6,20 +6,20 @@ export declare const languageSchema: z.ZodEffects<z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  is_master: z.ZodOptional<z.ZodBoolean>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- name: string;
10
9
  id: string;
10
+ name: string;
11
11
  is_master?: boolean | undefined;
12
12
  }, {
13
- name: string;
14
13
  id: string;
14
+ name: string;
15
15
  is_master?: boolean | undefined;
16
16
  }>, {
17
17
  isMaster?: boolean | undefined;
18
18
  id: string;
19
19
  label: string;
20
20
  }, {
21
- name: string;
22
21
  id: string;
22
+ name: string;
23
23
  is_master?: boolean | undefined;
24
24
  }>;
25
25
  declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -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
- tags: string[];
82
81
  version_id: string;
82
+ tags: string[];
83
83
  last_modified_date: Date;
84
84
  custom_type_label: string;
85
85
  author: {
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
- tags: string[];
97
96
  version_id: string;
97
+ tags: string[];
98
98
  last_modified_date: Date;
99
99
  custom_type_label: string;
100
100
  author: {
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
- tags: string[];
157
156
  version_id: string;
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;
166
166
  } | undefined;
167
167
  }, {
168
- tags: string[];
169
168
  version_id: string;
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
- name: string;
193
192
  id: string;
193
+ name: string;
194
194
  is_master?: boolean | undefined;
195
195
  }, {
196
- name: string;
197
196
  id: string;
197
+ name: string;
198
198
  is_master?: boolean | undefined;
199
199
  }>, {
200
200
  isMaster?: boolean | undefined;
201
201
  id: string;
202
202
  label: string;
203
203
  }, {
204
- name: string;
205
204
  id: string;
205
+ name: string;
206
206
  is_master?: boolean | undefined;
207
207
  }>;
208
208
  versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -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
- tags: string[];
265
264
  version_id: string;
265
+ tags: string[];
266
266
  last_modified_date: Date;
267
267
  custom_type_label: string;
268
268
  author: {
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
- tags: string[];
280
279
  version_id: string;
280
+ tags: string[];
281
281
  last_modified_date: Date;
282
282
  custom_type_label: string;
283
283
  author: {
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
- tags: string[];
315
314
  version_id: string;
315
+ tags: string[];
316
316
  last_modified_date: Date;
317
317
  custom_type_label: string;
318
318
  author: {
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
- name: string;
335
332
  id: string;
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
- tags: string[];
349
348
  version_id: string;
349
+ tags: string[];
350
350
  last_modified_date: Date;
351
351
  custom_type_label: string;
352
352
  author: {
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;
@@ -375,20 +375,20 @@ declare const getDocumentListSchema: z.ZodObject<{
375
375
  name: z.ZodString;
376
376
  is_master: z.ZodOptional<z.ZodBoolean>;
377
377
  }, "strip", z.ZodTypeAny, {
378
- name: string;
379
378
  id: string;
379
+ name: string;
380
380
  is_master?: boolean | undefined;
381
381
  }, {
382
- name: string;
383
382
  id: string;
383
+ name: string;
384
384
  is_master?: boolean | undefined;
385
385
  }>, {
386
386
  isMaster?: boolean | undefined;
387
387
  id: string;
388
388
  label: string;
389
389
  }, {
390
- name: string;
391
390
  id: string;
391
+ name: string;
392
392
  is_master?: boolean | undefined;
393
393
  }>;
394
394
  versions: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
@@ -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
- tags: string[];
451
450
  version_id: string;
451
+ tags: string[];
452
452
  last_modified_date: Date;
453
453
  custom_type_label: string;
454
454
  author: {
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
- tags: string[];
466
465
  version_id: string;
466
+ tags: string[];
467
467
  last_modified_date: Date;
468
468
  custom_type_label: string;
469
469
  author: {
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
- tags: string[];
501
500
  version_id: string;
501
+ tags: string[];
502
502
  last_modified_date: Date;
503
503
  custom_type_label: string;
504
504
  author: {
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
- name: string;
521
518
  id: string;
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
- tags: string[];
535
534
  version_id: string;
535
+ tags: string[];
536
536
  last_modified_date: Date;
537
537
  custom_type_label: string;
538
538
  author: {
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
- tags: string[];
574
572
  version_id: string;
573
+ tags: 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
- name: string;
598
594
  id: string;
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
- tags: string[];
612
610
  version_id: string;
611
+ tags: 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
- tags: string[];
681
680
  version_id: string;
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;
690
690
  } | undefined;
691
691
  }, {
692
- tags: string[];
693
692
  version_id: string;
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;
@@ -717,13 +717,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
717
717
  } | {
718
718
  status: "archived";
719
719
  }) & {
720
- tags: string[];
721
720
  version_id: string;
721
+ tags: string[];
722
722
  last_modified_date: Date;
723
- 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;
@@ -744,13 +744,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
744
744
  } | {
745
745
  status: "archived";
746
746
  }) & {
747
- tags: string[];
748
747
  version_id: string;
748
+ tags: string[];
749
749
  last_modified_date: Date;
750
- 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;
@@ -774,13 +774,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
774
774
  } | {
775
775
  status: "archived";
776
776
  }) & {
777
- tags: string[];
778
777
  version_id: string;
778
+ tags: string[];
779
779
  last_modified_date: Date;
780
- 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;
@@ -800,13 +800,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
800
800
  } | {
801
801
  status: "archived";
802
802
  }) & {
803
- tags: string[];
804
803
  version_id: string;
804
+ tags: string[];
805
805
  last_modified_date: Date;
806
- 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;
@@ -866,25 +866,25 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
866
866
  uid?: string | undefined;
867
867
  }>>;
868
868
  }>, "strip", z.ZodTypeAny, {
869
- tags: string[];
870
869
  version_id: string;
870
+ tags: string[];
871
871
  last_modified_date: Date;
872
- 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;
879
879
  } | undefined;
880
880
  }, {
881
- tags: string[];
882
881
  version_id: string;
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;
@@ -906,13 +906,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
906
906
  } | {
907
907
  status: "archived";
908
908
  }) & {
909
- tags: string[];
910
909
  version_id: string;
910
+ tags: string[];
911
911
  last_modified_date: Date;
912
- 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;
@@ -933,13 +933,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
933
933
  } | {
934
934
  status: "archived";
935
935
  }) & {
936
- tags: string[];
937
936
  version_id: string;
937
+ tags: string[];
938
938
  last_modified_date: Date;
939
- 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;
@@ -963,13 +963,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
963
963
  } | {
964
964
  status: "archived";
965
965
  }) & {
966
- tags: string[];
967
966
  version_id: string;
967
+ tags: string[];
968
968
  last_modified_date: Date;
969
- 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;
@@ -989,13 +989,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
989
989
  } | {
990
990
  status: "archived";
991
991
  }) & {
992
- tags: string[];
993
992
  version_id: string;
993
+ tags: string[];
994
994
  last_modified_date: Date;
995
- 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;
@@ -1021,13 +1021,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1021
1021
  } | {
1022
1022
  status: "archived";
1023
1023
  }) & {
1024
- tags: string[];
1025
1024
  version_id: string;
1025
+ tags: string[];
1026
1026
  last_modified_date: Date;
1027
- 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;
@@ -1049,13 +1049,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1049
1049
  } | {
1050
1050
  status: "archived";
1051
1051
  }) & {
1052
- tags: string[];
1053
1052
  version_id: string;
1053
+ tags: string[];
1054
1054
  last_modified_date: Date;
1055
- 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: "image" | "paragraph" | "embed" | "em" | "strong" | "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
  } & {
@@ -1550,7 +1550,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1550
1550
  label?: string | null | undefined;
1551
1551
  direction?: string | null | undefined;
1552
1552
  }) | ({
1553
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1553
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1554
1554
  content: {
1555
1555
  text: string;
1556
1556
  } & {
@@ -1603,7 +1603,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1603
1603
  } | {
1604
1604
  start: number;
1605
1605
  end: number;
1606
- type: "strong" | "em" | "list-item";
1606
+ type: "em" | "strong" | "list-item";
1607
1607
  })[] | undefined;
1608
1608
  };
1609
1609
  } & {
@@ -1984,7 +1984,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1984
1984
  label?: string | null | undefined;
1985
1985
  direction?: string | null | undefined;
1986
1986
  }) | ({
1987
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1987
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1988
1988
  content: {
1989
1989
  text: string;
1990
1990
  } & {
@@ -2037,7 +2037,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2037
2037
  } | {
2038
2038
  start: number;
2039
2039
  end: number;
2040
- type: "strong" | "em" | "list-item";
2040
+ type: "em" | "strong" | "list-item";
2041
2041
  })[] | undefined;
2042
2042
  };
2043
2043
  } & {
@@ -2145,7 +2145,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2145
2145
  label?: string | null | undefined;
2146
2146
  direction?: string | null | undefined;
2147
2147
  }) | ({
2148
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2148
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2149
2149
  content: {
2150
2150
  text: string;
2151
2151
  } & {
@@ -2198,7 +2198,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2198
2198
  } | {
2199
2199
  start: number;
2200
2200
  end: number;
2201
- type: "strong" | "em" | "list-item";
2201
+ type: "em" | "strong" | "list-item";
2202
2202
  })[] | undefined;
2203
2203
  };
2204
2204
  } & {
@@ -2571,7 +2571,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2571
2571
  label?: string | null | undefined;
2572
2572
  direction?: string | null | undefined;
2573
2573
  }) | ({
2574
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2574
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2575
2575
  content: {
2576
2576
  text: string;
2577
2577
  } & {
@@ -2624,7 +2624,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2624
2624
  } | {
2625
2625
  start: number;
2626
2626
  end: number;
2627
- type: "strong" | "em" | "list-item";
2627
+ type: "em" | "strong" | "list-item";
2628
2628
  })[] | undefined;
2629
2629
  };
2630
2630
  } & {
@@ -2729,7 +2729,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2729
2729
  label?: string | null | undefined;
2730
2730
  direction?: string | null | undefined;
2731
2731
  }) | ({
2732
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2732
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2733
2733
  content: {
2734
2734
  text: string;
2735
2735
  } & {
@@ -2782,7 +2782,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2782
2782
  } | {
2783
2783
  start: number;
2784
2784
  end: number;
2785
- type: "strong" | "em" | "list-item";
2785
+ type: "em" | "strong" | "list-item";
2786
2786
  })[] | undefined;
2787
2787
  };
2788
2788
  } & {
@@ -3157,7 +3157,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3157
3157
  label?: string | null | undefined;
3158
3158
  direction?: string | null | undefined;
3159
3159
  }) | ({
3160
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3160
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3161
3161
  content: {
3162
3162
  text: string;
3163
3163
  } & {
@@ -3210,7 +3210,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3210
3210
  } | {
3211
3211
  start: number;
3212
3212
  end: number;
3213
- type: "strong" | "em" | "list-item";
3213
+ type: "em" | "strong" | "list-item";
3214
3214
  })[] | undefined;
3215
3215
  };
3216
3216
  } & {
@@ -3318,7 +3318,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3318
3318
  label?: string | null | undefined;
3319
3319
  direction?: string | null | undefined;
3320
3320
  }) | ({
3321
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3321
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3322
3322
  content: {
3323
3323
  text: string;
3324
3324
  } & {
@@ -3371,7 +3371,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3371
3371
  } | {
3372
3372
  start: number;
3373
3373
  end: number;
3374
- type: "strong" | "em" | "list-item";
3374
+ type: "em" | "strong" | "list-item";
3375
3375
  })[] | undefined;
3376
3376
  };
3377
3377
  } & {
@@ -3744,7 +3744,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3744
3744
  label?: string | null | undefined;
3745
3745
  direction?: string | null | undefined;
3746
3746
  }) | ({
3747
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3747
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3748
3748
  content: {
3749
3749
  text: string;
3750
3750
  } & {
@@ -3797,7 +3797,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3797
3797
  } | {
3798
3798
  start: number;
3799
3799
  end: number;
3800
- type: "strong" | "em" | "list-item";
3800
+ type: "em" | "strong" | "list-item";
3801
3801
  })[] | undefined;
3802
3802
  };
3803
3803
  } & {
@@ -3902,7 +3902,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3902
3902
  label?: string | null | undefined;
3903
3903
  direction?: string | null | undefined;
3904
3904
  }) | ({
3905
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3905
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3906
3906
  content: {
3907
3907
  text: string;
3908
3908
  } & {
@@ -3955,7 +3955,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3955
3955
  } | {
3956
3956
  start: number;
3957
3957
  end: number;
3958
- type: "strong" | "em" | "list-item";
3958
+ type: "em" | "strong" | "list-item";
3959
3959
  })[] | undefined;
3960
3960
  };
3961
3961
  } & {
@@ -4326,7 +4326,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4326
4326
  label?: string | null | undefined;
4327
4327
  direction?: string | null | undefined;
4328
4328
  }) | ({
4329
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4329
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4330
4330
  content: {
4331
4331
  text: string;
4332
4332
  } & {
@@ -4379,7 +4379,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4379
4379
  } | {
4380
4380
  start: number;
4381
4381
  end: number;
4382
- type: "strong" | "em" | "list-item";
4382
+ type: "em" | "strong" | "list-item";
4383
4383
  })[] | undefined;
4384
4384
  };
4385
4385
  } & {
@@ -4487,7 +4487,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4487
4487
  label?: string | null | undefined;
4488
4488
  direction?: string | null | undefined;
4489
4489
  }) | ({
4490
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4490
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4491
4491
  content: {
4492
4492
  text: string;
4493
4493
  } & {
@@ -4540,7 +4540,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4540
4540
  } | {
4541
4541
  start: number;
4542
4542
  end: number;
4543
- type: "strong" | "em" | "list-item";
4543
+ type: "em" | "strong" | "list-item";
4544
4544
  })[] | undefined;
4545
4545
  };
4546
4546
  } & {
@@ -4920,7 +4920,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4920
4920
  label?: string | null | undefined;
4921
4921
  direction?: string | null | undefined;
4922
4922
  }) | ({
4923
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4923
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4924
4924
  content: {
4925
4925
  text: string;
4926
4926
  } & {
@@ -4973,7 +4973,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4973
4973
  } | {
4974
4974
  start: number;
4975
4975
  end: number;
4976
- type: "strong" | "em" | "list-item";
4976
+ type: "em" | "strong" | "list-item";
4977
4977
  })[] | undefined;
4978
4978
  };
4979
4979
  } & {
@@ -5081,7 +5081,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5081
5081
  label?: string | null | undefined;
5082
5082
  direction?: string | null | undefined;
5083
5083
  }) | ({
5084
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5084
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5085
5085
  content: {
5086
5086
  text: string;
5087
5087
  } & {
@@ -5134,7 +5134,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5134
5134
  } | {
5135
5135
  start: number;
5136
5136
  end: number;
5137
- type: "strong" | "em" | "list-item";
5137
+ type: "em" | "strong" | "list-item";
5138
5138
  })[] | undefined;
5139
5139
  };
5140
5140
  } & {
@@ -5507,7 +5507,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5507
5507
  label?: string | null | undefined;
5508
5508
  direction?: string | null | undefined;
5509
5509
  }) | ({
5510
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5510
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5511
5511
  content: {
5512
5512
  text: string;
5513
5513
  } & {
@@ -5560,7 +5560,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5560
5560
  } | {
5561
5561
  start: number;
5562
5562
  end: number;
5563
- type: "strong" | "em" | "list-item";
5563
+ type: "em" | "strong" | "list-item";
5564
5564
  })[] | undefined;
5565
5565
  };
5566
5566
  } & {
@@ -5668,7 +5668,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5668
5668
  label?: string | null | undefined;
5669
5669
  direction?: string | null | undefined;
5670
5670
  }) | ({
5671
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5671
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5672
5672
  content: {
5673
5673
  text: string;
5674
5674
  } & {
@@ -5721,7 +5721,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5721
5721
  } | {
5722
5722
  start: number;
5723
5723
  end: number;
5724
- type: "strong" | "em" | "list-item";
5724
+ type: "em" | "strong" | "list-item";
5725
5725
  })[] | undefined;
5726
5726
  };
5727
5727
  } & {
@@ -6096,7 +6096,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6096
6096
  label?: string | null | undefined;
6097
6097
  direction?: string | null | undefined;
6098
6098
  }) | ({
6099
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6099
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6100
6100
  content: {
6101
6101
  text: string;
6102
6102
  } & {
@@ -6149,7 +6149,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6149
6149
  } | {
6150
6150
  start: number;
6151
6151
  end: number;
6152
- type: "strong" | "em" | "list-item";
6152
+ type: "em" | "strong" | "list-item";
6153
6153
  })[] | undefined;
6154
6154
  };
6155
6155
  } & {
@@ -6257,7 +6257,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6257
6257
  label?: string | null | undefined;
6258
6258
  direction?: string | null | undefined;
6259
6259
  }) | ({
6260
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6260
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6261
6261
  content: {
6262
6262
  text: string;
6263
6263
  } & {
@@ -6310,7 +6310,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6310
6310
  } | {
6311
6311
  start: number;
6312
6312
  end: number;
6313
- type: "strong" | "em" | "list-item";
6313
+ type: "em" | "strong" | "list-item";
6314
6314
  })[] | undefined;
6315
6315
  };
6316
6316
  } & {
@@ -6683,7 +6683,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6683
6683
  label?: string | null | undefined;
6684
6684
  direction?: string | null | undefined;
6685
6685
  }) | ({
6686
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6686
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6687
6687
  content: {
6688
6688
  text: string;
6689
6689
  } & {
@@ -6736,7 +6736,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6736
6736
  } | {
6737
6737
  start: number;
6738
6738
  end: number;
6739
- type: "strong" | "em" | "list-item";
6739
+ type: "em" | "strong" | "list-item";
6740
6740
  })[] | undefined;
6741
6741
  };
6742
6742
  } & {
@@ -6844,7 +6844,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6844
6844
  label?: string | null | undefined;
6845
6845
  direction?: string | null | undefined;
6846
6846
  }) | ({
6847
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6847
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6848
6848
  content: {
6849
6849
  text: string;
6850
6850
  } & {
@@ -6897,7 +6897,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6897
6897
  } | {
6898
6898
  start: number;
6899
6899
  end: number;
6900
- type: "strong" | "em" | "list-item";
6900
+ type: "em" | "strong" | "list-item";
6901
6901
  })[] | undefined;
6902
6902
  };
6903
6903
  } & {
@@ -7268,7 +7268,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7268
7268
  label?: string | null | undefined;
7269
7269
  direction?: string | null | undefined;
7270
7270
  }) | ({
7271
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7271
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7272
7272
  content: {
7273
7273
  text: string;
7274
7274
  } & {
@@ -7321,7 +7321,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7321
7321
  } | {
7322
7322
  start: number;
7323
7323
  end: number;
7324
- type: "strong" | "em" | "list-item";
7324
+ type: "em" | "strong" | "list-item";
7325
7325
  })[] | undefined;
7326
7326
  };
7327
7327
  } & {
@@ -7429,7 +7429,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7429
7429
  label?: string | null | undefined;
7430
7430
  direction?: string | null | undefined;
7431
7431
  }) | ({
7432
- type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7432
+ type: "image" | "paragraph" | "embed" | "em" | "strong" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7433
7433
  content: {
7434
7434
  text: string;
7435
7435
  } & {
@@ -7482,7 +7482,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7482
7482
  } | {
7483
7483
  start: number;
7484
7484
  end: number;
7485
- type: "strong" | "em" | "list-item";
7485
+ type: "em" | "strong" | "list-item";
7486
7486
  })[] | undefined;
7487
7487
  };
7488
7488
  } & {
@@ -7587,17 +7587,16 @@ type UpdateDocumentFunction = (document: DocumentMeta, page: GetDocumentListSche
7587
7587
  export declare function updateDocumentListData(queryClient: QueryClient, updateFunction: UpdateDocumentFunction): void;
7588
7588
  export declare function invalidateDocumentListData(queryClient: QueryClient): Promise<void>;
7589
7589
  export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
7590
- total: number;
7591
7590
  results: {
7592
7591
  id: string;
7593
7592
  title: string;
7594
- custom_type_id: string;
7595
- group_lang_id: string;
7596
7593
  language: {
7597
7594
  isMaster?: boolean | undefined;
7598
7595
  id: string;
7599
7596
  label: string;
7600
7597
  };
7598
+ custom_type_id: string;
7599
+ group_lang_id: string;
7601
7600
  versions: (({
7602
7601
  status: "unclassified";
7603
7602
  } | {
@@ -7608,36 +7607,36 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7608
7607
  } | {
7609
7608
  status: "archived";
7610
7609
  }) & {
7611
- tags: string[];
7612
7610
  version_id: string;
7611
+ tags: string[];
7613
7612
  last_modified_date: Date;
7614
7613
  custom_type_label: string;
7615
7614
  author: {
7616
7615
  id?: string | undefined;
7617
- first_name?: string | undefined;
7618
- last_name?: string | undefined;
7619
7616
  email?: string | undefined;
7620
7617
  uploadedAvatar?: string | undefined;
7618
+ first_name?: string | undefined;
7619
+ last_name?: string | undefined;
7621
7620
  };
7622
- preview_image?: string | undefined;
7623
7621
  uid?: string | undefined;
7622
+ preview_image?: string | undefined;
7624
7623
  preview_summary?: string | undefined;
7625
7624
  })[];
7626
7625
  }[];
7626
+ total: number;
7627
7627
  cursor?: string | undefined;
7628
7628
  }, Error>;
7629
7629
  export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
7630
- total: number;
7631
7630
  results: {
7632
7631
  id: string;
7633
7632
  title: string;
7634
- custom_type_id: string;
7635
- group_lang_id: string;
7636
7633
  language: {
7637
7634
  isMaster?: boolean | undefined;
7638
7635
  id: string;
7639
7636
  label: string;
7640
7637
  };
7638
+ custom_type_id: string;
7639
+ group_lang_id: string;
7641
7640
  versions: (({
7642
7641
  status: "unclassified";
7643
7642
  } | {
@@ -7648,35 +7647,35 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7648
7647
  } | {
7649
7648
  status: "archived";
7650
7649
  }) & {
7651
- tags: string[];
7652
7650
  version_id: string;
7651
+ tags: string[];
7653
7652
  last_modified_date: Date;
7654
7653
  custom_type_label: string;
7655
7654
  author: {
7656
7655
  id?: string | undefined;
7657
- first_name?: string | undefined;
7658
- last_name?: string | undefined;
7659
7656
  email?: string | undefined;
7660
7657
  uploadedAvatar?: string | undefined;
7658
+ first_name?: string | undefined;
7659
+ last_name?: string | undefined;
7661
7660
  };
7662
- preview_image?: string | undefined;
7663
7661
  uid?: string | undefined;
7662
+ preview_image?: string | undefined;
7664
7663
  preview_summary?: string | undefined;
7665
7664
  })[];
7666
7665
  }[];
7666
+ total: number;
7667
7667
  cursor?: string | undefined;
7668
7668
  }, Error, {
7669
- total: number;
7670
7669
  results: {
7671
7670
  id: string;
7672
7671
  title: string;
7673
- custom_type_id: string;
7674
- group_lang_id: string;
7675
7672
  language: {
7676
7673
  isMaster?: boolean | undefined;
7677
7674
  id: string;
7678
7675
  label: string;
7679
7676
  };
7677
+ custom_type_id: string;
7678
+ group_lang_id: string;
7680
7679
  versions: (({
7681
7680
  status: "unclassified";
7682
7681
  } | {
@@ -7687,36 +7686,36 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7687
7686
  } | {
7688
7687
  status: "archived";
7689
7688
  }) & {
7690
- tags: string[];
7691
7689
  version_id: string;
7690
+ tags: string[];
7692
7691
  last_modified_date: Date;
7693
7692
  custom_type_label: string;
7694
7693
  author: {
7695
7694
  id?: string | undefined;
7696
- first_name?: string | undefined;
7697
- last_name?: string | undefined;
7698
7695
  email?: string | undefined;
7699
7696
  uploadedAvatar?: string | undefined;
7697
+ first_name?: string | undefined;
7698
+ last_name?: string | undefined;
7700
7699
  };
7701
- preview_image?: string | undefined;
7702
7700
  uid?: string | undefined;
7701
+ preview_image?: string | undefined;
7703
7702
  preview_summary?: string | undefined;
7704
7703
  })[];
7705
7704
  }[];
7705
+ total: number;
7706
7706
  cursor?: string | undefined;
7707
7707
  }, readonly ["documents", "list", GetDocumentListArgs]> & {
7708
7708
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
7709
- total: number;
7710
7709
  results: {
7711
7710
  id: string;
7712
7711
  title: string;
7713
- custom_type_id: string;
7714
- group_lang_id: string;
7715
7712
  language: {
7716
7713
  isMaster?: boolean | undefined;
7717
7714
  id: string;
7718
7715
  label: string;
7719
7716
  };
7717
+ custom_type_id: string;
7718
+ group_lang_id: string;
7720
7719
  versions: (({
7721
7720
  status: "unclassified";
7722
7721
  } | {
@@ -7727,37 +7726,37 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7727
7726
  } | {
7728
7727
  status: "archived";
7729
7728
  }) & {
7730
- tags: string[];
7731
7729
  version_id: string;
7730
+ tags: string[];
7732
7731
  last_modified_date: Date;
7733
7732
  custom_type_label: string;
7734
7733
  author: {
7735
7734
  id?: string | undefined;
7736
- first_name?: string | undefined;
7737
- last_name?: string | undefined;
7738
7735
  email?: string | undefined;
7739
7736
  uploadedAvatar?: string | undefined;
7737
+ first_name?: string | undefined;
7738
+ last_name?: string | undefined;
7740
7739
  };
7741
- preview_image?: string | undefined;
7742
7740
  uid?: string | undefined;
7741
+ preview_image?: string | undefined;
7743
7742
  preview_summary?: string | undefined;
7744
7743
  })[];
7745
7744
  }[];
7745
+ total: number;
7746
7746
  cursor?: string | undefined;
7747
7747
  }> | undefined;
7748
7748
  } & {
7749
7749
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
7750
- total: number;
7751
7750
  results: {
7752
7751
  id: string;
7753
7752
  title: string;
7754
- custom_type_id: string;
7755
- group_lang_id: string;
7756
7753
  language: {
7757
7754
  isMaster?: boolean | undefined;
7758
7755
  id: string;
7759
7756
  label: string;
7760
7757
  };
7758
+ custom_type_id: string;
7759
+ group_lang_id: string;
7761
7760
  versions: (({
7762
7761
  status: "unclassified";
7763
7762
  } | {
@@ -7768,22 +7767,23 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7768
7767
  } | {
7769
7768
  status: "archived";
7770
7769
  }) & {
7771
- tags: string[];
7772
7770
  version_id: string;
7771
+ tags: string[];
7773
7772
  last_modified_date: Date;
7774
7773
  custom_type_label: string;
7775
7774
  author: {
7776
7775
  id?: string | undefined;
7777
- first_name?: string | undefined;
7778
- last_name?: string | undefined;
7779
7776
  email?: string | undefined;
7780
7777
  uploadedAvatar?: string | undefined;
7778
+ first_name?: string | undefined;
7779
+ last_name?: string | undefined;
7781
7780
  };
7782
- preview_image?: string | undefined;
7783
7781
  uid?: string | undefined;
7782
+ preview_image?: string | undefined;
7784
7783
  preview_summary?: string | undefined;
7785
7784
  })[];
7786
7785
  }[];
7786
+ total: number;
7787
7787
  cursor?: string | undefined;
7788
7788
  }>;
7789
7789
  };