@prismicio/editor-fields 0.4.62 → 0.4.63

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 (32) hide show
  1. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +45 -45
  2. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +5 -5
  3. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
  4. package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
  5. package/dist/core/service/customType.d.ts +18 -18
  6. package/dist/core/service/document.d.ts +97 -71
  7. package/dist/core/service/documentSearch.d.ts +20 -39
  8. package/dist/fields/ImageField/useImageField.d.ts +5 -5
  9. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +5 -5
  10. package/dist/fields/LinkField/Documents/documentsData.d.ts +8 -6
  11. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  12. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  13. package/dist/fields/RichTextField/coreExtensions/HardBreak.d.ts +1 -1
  14. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +5 -5
  15. package/dist/fields/RichTextField/coreExtensions/Text.d.ts +1 -1
  16. package/dist/fields/RichTextField/extensions/Bold/BoldModel.d.ts +1 -1
  17. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +7 -7
  18. package/dist/fields/RichTextField/extensions/Italic/ItalicModel.d.ts +1 -1
  19. package/dist/fields/RichTextField/extensions/Label/LabelModel.d.ts +1 -1
  20. package/dist/fields/RichTextField/extensions/Link/Link.d.ts +1 -1
  21. package/dist/fields/RichTextField/extensions/Link/LinkModel.d.ts +1 -1
  22. package/dist/fields/RichTextField/extensions/Table/Table.d.ts +18 -0
  23. package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
  24. package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
  25. package/dist/fields/RichTextField/globalExtensions/TextDirection.d.ts +1 -1
  26. package/dist/fields/RichTextField/models/EditorExtension.d.ts +1 -1
  27. package/dist/fields/RichTextField/models/helpers/NodeUtils.d.ts +1 -1
  28. package/dist/fields/TableField/TableField.d.ts +1 -1
  29. package/dist/index.cjs.js +11 -130
  30. package/dist/index.es.js +10894 -64732
  31. package/dist/slices/utils.d.ts +2 -2
  32. package/package.json +27 -27
@@ -59,27 +59,31 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
59
59
  custom_type_label: z.ZodString;
60
60
  preview_summary: z.ZodOptional<z.ZodString>;
61
61
  author: z.ZodObject<{
62
+ id: z.ZodOptional<z.ZodString>;
62
63
  first_name: z.ZodOptional<z.ZodString>;
63
64
  last_name: z.ZodOptional<z.ZodString>;
64
65
  email: z.ZodOptional<z.ZodString>;
65
66
  uploadedAvatar: z.ZodOptional<z.ZodString>;
66
67
  }, "strip", z.ZodTypeAny, {
68
+ id?: string | undefined;
67
69
  first_name?: string | undefined;
68
70
  last_name?: string | undefined;
69
71
  email?: string | undefined;
70
72
  uploadedAvatar?: string | undefined;
71
73
  }, {
74
+ id?: string | undefined;
72
75
  first_name?: string | undefined;
73
76
  last_name?: string | undefined;
74
77
  email?: string | undefined;
75
78
  uploadedAvatar?: string | undefined;
76
79
  }>;
77
80
  }>, "strip", z.ZodTypeAny, {
78
- version_id: string;
79
81
  tags: string[];
82
+ version_id: string;
80
83
  last_modified_date: Date;
81
84
  custom_type_label: string;
82
85
  author: {
86
+ id?: string | undefined;
83
87
  first_name?: string | undefined;
84
88
  last_name?: string | undefined;
85
89
  email?: string | undefined;
@@ -89,11 +93,12 @@ declare const documentVersionSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"
89
93
  uid?: string | undefined;
90
94
  preview_summary?: string | undefined;
91
95
  }, {
92
- version_id: string;
93
96
  tags: string[];
97
+ version_id: string;
94
98
  last_modified_date: Date;
95
99
  custom_type_label: string;
96
100
  author: {
101
+ id?: string | undefined;
97
102
  first_name?: string | undefined;
98
103
  last_name?: string | undefined;
99
104
  email?: string | undefined;
@@ -148,25 +153,25 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
148
153
  uid?: string | undefined;
149
154
  }>>;
150
155
  }>, "strip", z.ZodTypeAny, {
151
- version_id: string;
152
156
  tags: string[];
157
+ version_id: string;
153
158
  last_modified_date: Date;
154
- summary?: string | undefined;
155
159
  preview_image?: string | undefined;
156
160
  uid?: string | undefined;
157
161
  custom_type_id?: string | undefined;
162
+ summary?: string | undefined;
158
163
  author_ids?: string[] | undefined;
159
164
  highlights?: {
160
165
  uid?: string | undefined;
161
166
  } | undefined;
162
167
  }, {
163
- version_id: string;
164
168
  tags: string[];
169
+ version_id: string;
165
170
  last_modified_date: Date;
166
- summary?: string | undefined;
167
171
  preview_image?: string | undefined;
168
172
  uid?: string | undefined;
169
173
  custom_type_id?: string | undefined;
174
+ summary?: string | undefined;
170
175
  author_ids?: string[] | undefined;
171
176
  highlights?: {
172
177
  uid?: string | undefined;
@@ -237,27 +242,31 @@ export declare const documentMetaSchema: z.ZodObject<{
237
242
  custom_type_label: z.ZodString;
238
243
  preview_summary: z.ZodOptional<z.ZodString>;
239
244
  author: z.ZodObject<{
245
+ id: z.ZodOptional<z.ZodString>;
240
246
  first_name: z.ZodOptional<z.ZodString>;
241
247
  last_name: z.ZodOptional<z.ZodString>;
242
248
  email: z.ZodOptional<z.ZodString>;
243
249
  uploadedAvatar: z.ZodOptional<z.ZodString>;
244
250
  }, "strip", z.ZodTypeAny, {
251
+ id?: string | undefined;
245
252
  first_name?: string | undefined;
246
253
  last_name?: string | undefined;
247
254
  email?: string | undefined;
248
255
  uploadedAvatar?: string | undefined;
249
256
  }, {
257
+ id?: string | undefined;
250
258
  first_name?: string | undefined;
251
259
  last_name?: string | undefined;
252
260
  email?: string | undefined;
253
261
  uploadedAvatar?: string | undefined;
254
262
  }>;
255
263
  }>, "strip", z.ZodTypeAny, {
256
- version_id: string;
257
264
  tags: string[];
265
+ version_id: string;
258
266
  last_modified_date: Date;
259
267
  custom_type_label: string;
260
268
  author: {
269
+ id?: string | undefined;
261
270
  first_name?: string | undefined;
262
271
  last_name?: string | undefined;
263
272
  email?: string | undefined;
@@ -267,11 +276,12 @@ export declare const documentMetaSchema: z.ZodObject<{
267
276
  uid?: string | undefined;
268
277
  preview_summary?: string | undefined;
269
278
  }, {
270
- version_id: string;
271
279
  tags: string[];
280
+ version_id: string;
272
281
  last_modified_date: Date;
273
282
  custom_type_label: string;
274
283
  author: {
284
+ id?: string | undefined;
275
285
  first_name?: string | undefined;
276
286
  last_name?: string | undefined;
277
287
  email?: string | undefined;
@@ -301,11 +311,12 @@ export declare const documentMetaSchema: z.ZodObject<{
301
311
  } | {
302
312
  status: "archived";
303
313
  }) & {
304
- version_id: string;
305
314
  tags: string[];
315
+ version_id: string;
306
316
  last_modified_date: Date;
307
317
  custom_type_label: string;
308
318
  author: {
319
+ id?: string | undefined;
309
320
  first_name?: string | undefined;
310
321
  last_name?: string | undefined;
311
322
  email?: string | undefined;
@@ -334,11 +345,12 @@ export declare const documentMetaSchema: z.ZodObject<{
334
345
  } | {
335
346
  status: "archived";
336
347
  }) & {
337
- version_id: string;
338
348
  tags: string[];
349
+ version_id: string;
339
350
  last_modified_date: Date;
340
351
  custom_type_label: string;
341
352
  author: {
353
+ id?: string | undefined;
342
354
  first_name?: string | undefined;
343
355
  last_name?: string | undefined;
344
356
  email?: string | undefined;
@@ -416,27 +428,31 @@ declare const getDocumentListSchema: z.ZodObject<{
416
428
  custom_type_label: z.ZodString;
417
429
  preview_summary: z.ZodOptional<z.ZodString>;
418
430
  author: z.ZodObject<{
431
+ id: z.ZodOptional<z.ZodString>;
419
432
  first_name: z.ZodOptional<z.ZodString>;
420
433
  last_name: z.ZodOptional<z.ZodString>;
421
434
  email: z.ZodOptional<z.ZodString>;
422
435
  uploadedAvatar: z.ZodOptional<z.ZodString>;
423
436
  }, "strip", z.ZodTypeAny, {
437
+ id?: string | undefined;
424
438
  first_name?: string | undefined;
425
439
  last_name?: string | undefined;
426
440
  email?: string | undefined;
427
441
  uploadedAvatar?: string | undefined;
428
442
  }, {
443
+ id?: string | undefined;
429
444
  first_name?: string | undefined;
430
445
  last_name?: string | undefined;
431
446
  email?: string | undefined;
432
447
  uploadedAvatar?: string | undefined;
433
448
  }>;
434
449
  }>, "strip", z.ZodTypeAny, {
435
- version_id: string;
436
450
  tags: string[];
451
+ version_id: string;
437
452
  last_modified_date: Date;
438
453
  custom_type_label: string;
439
454
  author: {
455
+ id?: string | undefined;
440
456
  first_name?: string | undefined;
441
457
  last_name?: string | undefined;
442
458
  email?: string | undefined;
@@ -446,11 +462,12 @@ declare const getDocumentListSchema: z.ZodObject<{
446
462
  uid?: string | undefined;
447
463
  preview_summary?: string | undefined;
448
464
  }, {
449
- version_id: string;
450
465
  tags: string[];
466
+ version_id: string;
451
467
  last_modified_date: Date;
452
468
  custom_type_label: string;
453
469
  author: {
470
+ id?: string | undefined;
454
471
  first_name?: string | undefined;
455
472
  last_name?: string | undefined;
456
473
  email?: string | undefined;
@@ -480,11 +497,12 @@ declare const getDocumentListSchema: z.ZodObject<{
480
497
  } | {
481
498
  status: "archived";
482
499
  }) & {
483
- version_id: string;
484
500
  tags: string[];
501
+ version_id: string;
485
502
  last_modified_date: Date;
486
503
  custom_type_label: string;
487
504
  author: {
505
+ id?: string | undefined;
488
506
  first_name?: string | undefined;
489
507
  last_name?: string | undefined;
490
508
  email?: string | undefined;
@@ -513,11 +531,12 @@ declare const getDocumentListSchema: z.ZodObject<{
513
531
  } | {
514
532
  status: "archived";
515
533
  }) & {
516
- version_id: string;
517
534
  tags: string[];
535
+ version_id: string;
518
536
  last_modified_date: Date;
519
537
  custom_type_label: string;
520
538
  author: {
539
+ id?: string | undefined;
521
540
  first_name?: string | undefined;
522
541
  last_name?: string | undefined;
523
542
  email?: string | undefined;
@@ -551,11 +570,12 @@ declare const getDocumentListSchema: z.ZodObject<{
551
570
  } | {
552
571
  status: "archived";
553
572
  }) & {
554
- version_id: string;
555
573
  tags: string[];
574
+ version_id: string;
556
575
  last_modified_date: Date;
557
576
  custom_type_label: string;
558
577
  author: {
578
+ id?: string | undefined;
559
579
  first_name?: string | undefined;
560
580
  last_name?: string | undefined;
561
581
  email?: string | undefined;
@@ -588,11 +608,12 @@ declare const getDocumentListSchema: z.ZodObject<{
588
608
  } | {
589
609
  status: "archived";
590
610
  }) & {
591
- version_id: string;
592
611
  tags: string[];
612
+ version_id: string;
593
613
  last_modified_date: Date;
594
614
  custom_type_label: string;
595
615
  author: {
616
+ id?: string | undefined;
596
617
  first_name?: string | undefined;
597
618
  last_name?: string | undefined;
598
619
  email?: string | undefined;
@@ -656,25 +677,25 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
656
677
  uid?: string | undefined;
657
678
  }>>;
658
679
  }>, "strip", z.ZodTypeAny, {
659
- version_id: string;
660
680
  tags: string[];
681
+ version_id: string;
661
682
  last_modified_date: Date;
662
- summary?: string | undefined;
663
683
  preview_image?: string | undefined;
664
684
  uid?: string | undefined;
665
685
  custom_type_id?: string | undefined;
686
+ summary?: string | undefined;
666
687
  author_ids?: string[] | undefined;
667
688
  highlights?: {
668
689
  uid?: string | undefined;
669
690
  } | undefined;
670
691
  }, {
671
- version_id: string;
672
692
  tags: string[];
693
+ version_id: string;
673
694
  last_modified_date: Date;
674
- summary?: string | undefined;
675
695
  preview_image?: string | undefined;
676
696
  uid?: string | undefined;
677
697
  custom_type_id?: string | undefined;
698
+ summary?: string | undefined;
678
699
  author_ids?: string[] | undefined;
679
700
  highlights?: {
680
701
  uid?: string | undefined;
@@ -696,13 +717,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
696
717
  } | {
697
718
  status: "archived";
698
719
  }) & {
699
- version_id: string;
700
720
  tags: string[];
721
+ version_id: string;
701
722
  last_modified_date: Date;
702
- summary?: string | undefined;
703
723
  preview_image?: string | undefined;
704
724
  uid?: string | undefined;
705
725
  custom_type_id?: string | undefined;
726
+ summary?: string | undefined;
706
727
  author_ids?: string[] | undefined;
707
728
  highlights?: {
708
729
  uid?: string | undefined;
@@ -723,13 +744,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
723
744
  } | {
724
745
  status: "archived";
725
746
  }) & {
726
- version_id: string;
727
747
  tags: string[];
748
+ version_id: string;
728
749
  last_modified_date: Date;
729
- summary?: string | undefined;
730
750
  preview_image?: string | undefined;
731
751
  uid?: string | undefined;
732
752
  custom_type_id?: string | undefined;
753
+ summary?: string | undefined;
733
754
  author_ids?: string[] | undefined;
734
755
  highlights?: {
735
756
  uid?: string | undefined;
@@ -753,13 +774,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
753
774
  } | {
754
775
  status: "archived";
755
776
  }) & {
756
- version_id: string;
757
777
  tags: string[];
778
+ version_id: string;
758
779
  last_modified_date: Date;
759
- summary?: string | undefined;
760
780
  preview_image?: string | undefined;
761
781
  uid?: string | undefined;
762
782
  custom_type_id?: string | undefined;
783
+ summary?: string | undefined;
763
784
  author_ids?: string[] | undefined;
764
785
  highlights?: {
765
786
  uid?: string | undefined;
@@ -779,13 +800,13 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
779
800
  } | {
780
801
  status: "archived";
781
802
  }) & {
782
- version_id: string;
783
803
  tags: string[];
804
+ version_id: string;
784
805
  last_modified_date: Date;
785
- summary?: string | undefined;
786
806
  preview_image?: string | undefined;
787
807
  uid?: string | undefined;
788
808
  custom_type_id?: string | undefined;
809
+ summary?: string | undefined;
789
810
  author_ids?: string[] | undefined;
790
811
  highlights?: {
791
812
  uid?: string | undefined;
@@ -845,25 +866,25 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
845
866
  uid?: string | undefined;
846
867
  }>>;
847
868
  }>, "strip", z.ZodTypeAny, {
848
- version_id: string;
849
869
  tags: string[];
870
+ version_id: string;
850
871
  last_modified_date: Date;
851
- summary?: string | undefined;
852
872
  preview_image?: string | undefined;
853
873
  uid?: string | undefined;
854
874
  custom_type_id?: string | undefined;
875
+ summary?: string | undefined;
855
876
  author_ids?: string[] | undefined;
856
877
  highlights?: {
857
878
  uid?: string | undefined;
858
879
  } | undefined;
859
880
  }, {
860
- version_id: string;
861
881
  tags: string[];
882
+ version_id: string;
862
883
  last_modified_date: Date;
863
- summary?: string | undefined;
864
884
  preview_image?: string | undefined;
865
885
  uid?: string | undefined;
866
886
  custom_type_id?: string | undefined;
887
+ summary?: string | undefined;
867
888
  author_ids?: string[] | undefined;
868
889
  highlights?: {
869
890
  uid?: string | undefined;
@@ -885,13 +906,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
885
906
  } | {
886
907
  status: "archived";
887
908
  }) & {
888
- version_id: string;
889
909
  tags: string[];
910
+ version_id: string;
890
911
  last_modified_date: Date;
891
- summary?: string | undefined;
892
912
  preview_image?: string | undefined;
893
913
  uid?: string | undefined;
894
914
  custom_type_id?: string | undefined;
915
+ summary?: string | undefined;
895
916
  author_ids?: string[] | undefined;
896
917
  highlights?: {
897
918
  uid?: string | undefined;
@@ -912,13 +933,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
912
933
  } | {
913
934
  status: "archived";
914
935
  }) & {
915
- version_id: string;
916
936
  tags: string[];
937
+ version_id: string;
917
938
  last_modified_date: Date;
918
- summary?: string | undefined;
919
939
  preview_image?: string | undefined;
920
940
  uid?: string | undefined;
921
941
  custom_type_id?: string | undefined;
942
+ summary?: string | undefined;
922
943
  author_ids?: string[] | undefined;
923
944
  highlights?: {
924
945
  uid?: string | undefined;
@@ -942,13 +963,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
942
963
  } | {
943
964
  status: "archived";
944
965
  }) & {
945
- version_id: string;
946
966
  tags: string[];
967
+ version_id: string;
947
968
  last_modified_date: Date;
948
- summary?: string | undefined;
949
969
  preview_image?: string | undefined;
950
970
  uid?: string | undefined;
951
971
  custom_type_id?: string | undefined;
972
+ summary?: string | undefined;
952
973
  author_ids?: string[] | undefined;
953
974
  highlights?: {
954
975
  uid?: string | undefined;
@@ -968,13 +989,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
968
989
  } | {
969
990
  status: "archived";
970
991
  }) & {
971
- version_id: string;
972
992
  tags: string[];
993
+ version_id: string;
973
994
  last_modified_date: Date;
974
- summary?: string | undefined;
975
995
  preview_image?: string | undefined;
976
996
  uid?: string | undefined;
977
997
  custom_type_id?: string | undefined;
998
+ summary?: string | undefined;
978
999
  author_ids?: string[] | undefined;
979
1000
  highlights?: {
980
1001
  uid?: string | undefined;
@@ -1000,13 +1021,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1000
1021
  } | {
1001
1022
  status: "archived";
1002
1023
  }) & {
1003
- version_id: string;
1004
1024
  tags: string[];
1025
+ version_id: string;
1005
1026
  last_modified_date: Date;
1006
- summary?: string | undefined;
1007
1027
  preview_image?: string | undefined;
1008
1028
  uid?: string | undefined;
1009
1029
  custom_type_id?: string | undefined;
1030
+ summary?: string | undefined;
1010
1031
  author_ids?: string[] | undefined;
1011
1032
  highlights?: {
1012
1033
  uid?: string | undefined;
@@ -1028,13 +1049,13 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1028
1049
  } | {
1029
1050
  status: "archived";
1030
1051
  }) & {
1031
- version_id: string;
1032
1052
  tags: string[];
1053
+ version_id: string;
1033
1054
  last_modified_date: Date;
1034
- summary?: string | undefined;
1035
1055
  preview_image?: string | undefined;
1036
1056
  uid?: string | undefined;
1037
1057
  custom_type_id?: string | undefined;
1058
+ summary?: string | undefined;
1038
1059
  author_ids?: string[] | undefined;
1039
1060
  highlights?: {
1040
1061
  uid?: string | undefined;
@@ -1368,7 +1389,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1368
1389
  label?: string | null | undefined;
1369
1390
  direction?: string | null | undefined;
1370
1391
  }) | ({
1371
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1392
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1372
1393
  content: {
1373
1394
  text: string;
1374
1395
  } & {
@@ -1529,7 +1550,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1529
1550
  label?: string | null | undefined;
1530
1551
  direction?: string | null | undefined;
1531
1552
  }) | ({
1532
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1553
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1533
1554
  content: {
1534
1555
  text: string;
1535
1556
  } & {
@@ -1963,7 +1984,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1963
1984
  label?: string | null | undefined;
1964
1985
  direction?: string | null | undefined;
1965
1986
  }) | ({
1966
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1987
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1967
1988
  content: {
1968
1989
  text: string;
1969
1990
  } & {
@@ -2124,7 +2145,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2124
2145
  label?: string | null | undefined;
2125
2146
  direction?: string | null | undefined;
2126
2147
  }) | ({
2127
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2148
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2128
2149
  content: {
2129
2150
  text: string;
2130
2151
  } & {
@@ -2550,7 +2571,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2550
2571
  label?: string | null | undefined;
2551
2572
  direction?: string | null | undefined;
2552
2573
  }) | ({
2553
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2574
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2554
2575
  content: {
2555
2576
  text: string;
2556
2577
  } & {
@@ -2708,7 +2729,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2708
2729
  label?: string | null | undefined;
2709
2730
  direction?: string | null | undefined;
2710
2731
  }) | ({
2711
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2732
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2712
2733
  content: {
2713
2734
  text: string;
2714
2735
  } & {
@@ -3136,7 +3157,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3136
3157
  label?: string | null | undefined;
3137
3158
  direction?: string | null | undefined;
3138
3159
  }) | ({
3139
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3160
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3140
3161
  content: {
3141
3162
  text: string;
3142
3163
  } & {
@@ -3297,7 +3318,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3297
3318
  label?: string | null | undefined;
3298
3319
  direction?: string | null | undefined;
3299
3320
  }) | ({
3300
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3321
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3301
3322
  content: {
3302
3323
  text: string;
3303
3324
  } & {
@@ -3723,7 +3744,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3723
3744
  label?: string | null | undefined;
3724
3745
  direction?: string | null | undefined;
3725
3746
  }) | ({
3726
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3747
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3727
3748
  content: {
3728
3749
  text: string;
3729
3750
  } & {
@@ -3881,7 +3902,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3881
3902
  label?: string | null | undefined;
3882
3903
  direction?: string | null | undefined;
3883
3904
  }) | ({
3884
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3905
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3885
3906
  content: {
3886
3907
  text: string;
3887
3908
  } & {
@@ -4305,7 +4326,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4305
4326
  label?: string | null | undefined;
4306
4327
  direction?: string | null | undefined;
4307
4328
  }) | ({
4308
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
4329
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4309
4330
  content: {
4310
4331
  text: string;
4311
4332
  } & {
@@ -4466,7 +4487,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4466
4487
  label?: string | null | undefined;
4467
4488
  direction?: string | null | undefined;
4468
4489
  }) | ({
4469
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
4490
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4470
4491
  content: {
4471
4492
  text: string;
4472
4493
  } & {
@@ -4899,7 +4920,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4899
4920
  label?: string | null | undefined;
4900
4921
  direction?: string | null | undefined;
4901
4922
  }) | ({
4902
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
4923
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4903
4924
  content: {
4904
4925
  text: string;
4905
4926
  } & {
@@ -5060,7 +5081,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5060
5081
  label?: string | null | undefined;
5061
5082
  direction?: string | null | undefined;
5062
5083
  }) | ({
5063
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
5084
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5064
5085
  content: {
5065
5086
  text: string;
5066
5087
  } & {
@@ -5486,7 +5507,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5486
5507
  label?: string | null | undefined;
5487
5508
  direction?: string | null | undefined;
5488
5509
  }) | ({
5489
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
5510
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5490
5511
  content: {
5491
5512
  text: string;
5492
5513
  } & {
@@ -5647,7 +5668,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5647
5668
  label?: string | null | undefined;
5648
5669
  direction?: string | null | undefined;
5649
5670
  }) | ({
5650
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
5671
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5651
5672
  content: {
5652
5673
  text: string;
5653
5674
  } & {
@@ -6075,7 +6096,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6075
6096
  label?: string | null | undefined;
6076
6097
  direction?: string | null | undefined;
6077
6098
  }) | ({
6078
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
6099
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6079
6100
  content: {
6080
6101
  text: string;
6081
6102
  } & {
@@ -6236,7 +6257,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6236
6257
  label?: string | null | undefined;
6237
6258
  direction?: string | null | undefined;
6238
6259
  }) | ({
6239
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
6260
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6240
6261
  content: {
6241
6262
  text: string;
6242
6263
  } & {
@@ -6662,7 +6683,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6662
6683
  label?: string | null | undefined;
6663
6684
  direction?: string | null | undefined;
6664
6685
  }) | ({
6665
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
6686
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6666
6687
  content: {
6667
6688
  text: string;
6668
6689
  } & {
@@ -6823,7 +6844,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6823
6844
  label?: string | null | undefined;
6824
6845
  direction?: string | null | undefined;
6825
6846
  }) | ({
6826
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
6847
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6827
6848
  content: {
6828
6849
  text: string;
6829
6850
  } & {
@@ -7247,7 +7268,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7247
7268
  label?: string | null | undefined;
7248
7269
  direction?: string | null | undefined;
7249
7270
  }) | ({
7250
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
7271
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7251
7272
  content: {
7252
7273
  text: string;
7253
7274
  } & {
@@ -7408,7 +7429,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7408
7429
  label?: string | null | undefined;
7409
7430
  direction?: string | null | undefined;
7410
7431
  }) | ({
7411
- type: "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraph" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
7432
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7412
7433
  content: {
7413
7434
  text: string;
7414
7435
  } & {
@@ -7587,11 +7608,12 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7587
7608
  } | {
7588
7609
  status: "archived";
7589
7610
  }) & {
7590
- version_id: string;
7591
7611
  tags: string[];
7612
+ version_id: string;
7592
7613
  last_modified_date: Date;
7593
7614
  custom_type_label: string;
7594
7615
  author: {
7616
+ id?: string | undefined;
7595
7617
  first_name?: string | undefined;
7596
7618
  last_name?: string | undefined;
7597
7619
  email?: string | undefined;
@@ -7626,11 +7648,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7626
7648
  } | {
7627
7649
  status: "archived";
7628
7650
  }) & {
7629
- version_id: string;
7630
7651
  tags: string[];
7652
+ version_id: string;
7631
7653
  last_modified_date: Date;
7632
7654
  custom_type_label: string;
7633
7655
  author: {
7656
+ id?: string | undefined;
7634
7657
  first_name?: string | undefined;
7635
7658
  last_name?: string | undefined;
7636
7659
  email?: string | undefined;
@@ -7664,11 +7687,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7664
7687
  } | {
7665
7688
  status: "archived";
7666
7689
  }) & {
7667
- version_id: string;
7668
7690
  tags: string[];
7691
+ version_id: string;
7669
7692
  last_modified_date: Date;
7670
7693
  custom_type_label: string;
7671
7694
  author: {
7695
+ id?: string | undefined;
7672
7696
  first_name?: string | undefined;
7673
7697
  last_name?: string | undefined;
7674
7698
  email?: string | undefined;
@@ -7703,11 +7727,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7703
7727
  } | {
7704
7728
  status: "archived";
7705
7729
  }) & {
7706
- version_id: string;
7707
7730
  tags: string[];
7731
+ version_id: string;
7708
7732
  last_modified_date: Date;
7709
7733
  custom_type_label: string;
7710
7734
  author: {
7735
+ id?: string | undefined;
7711
7736
  first_name?: string | undefined;
7712
7737
  last_name?: string | undefined;
7713
7738
  email?: string | undefined;
@@ -7743,11 +7768,12 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7743
7768
  } | {
7744
7769
  status: "archived";
7745
7770
  }) & {
7746
- version_id: string;
7747
7771
  tags: string[];
7772
+ version_id: string;
7748
7773
  last_modified_date: Date;
7749
7774
  custom_type_label: string;
7750
7775
  author: {
7776
+ id?: string | undefined;
7751
7777
  first_name?: string | undefined;
7752
7778
  last_name?: string | undefined;
7753
7779
  email?: string | undefined;