@prismicio/editor-fields 0.4.67 → 0.4.69

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 (30) hide show
  1. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +13 -13
  2. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  3. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +1 -1
  4. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +1 -1
  5. package/dist/core/service/customType.d.ts +9 -9
  6. package/dist/core/service/document.d.ts +85 -85
  7. package/dist/core/service/documentSearch.d.ts +15 -15
  8. package/dist/core/service/repository.d.ts +6 -6
  9. package/dist/core/service/role.d.ts +10 -10
  10. package/dist/fields/ImageField/useImageField.d.ts +1 -1
  11. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +1 -1
  12. package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
  13. package/dist/fields/LinkField/Documents/documentsData.d.ts +4 -4
  14. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  15. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +1 -1
  16. package/dist/slices/utils.d.ts +4 -4
  17. package/package.json +4 -4
  18. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +0 -8
  19. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +0 -19
  20. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +0 -1
  21. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +0 -23
  22. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +0 -1
  23. package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +0 -3
  24. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +0 -8
  25. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +0 -34
  26. package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +0 -34
  27. /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/index.d.ts +0 -0
  28. /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles/TableHandlesPlugin.d.ts → tableHandles/tableHandlesPlugin.d.ts} +0 -0
  29. /package/dist/fields/RichTextField/extensions/Table/{TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts → plugins/tableHandles/tableHandlesPluginView.d.ts} +0 -0
  30. /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/utils.d.ts +0 -0
@@ -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<{
@@ -156,10 +156,10 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
156
156
  version_id: string;
157
157
  tags: string[];
158
158
  last_modified_date: Date;
159
- summary?: string | undefined;
160
159
  preview_image?: string | undefined;
161
160
  uid?: string | undefined;
162
161
  custom_type_id?: string | undefined;
162
+ summary?: string | undefined;
163
163
  author_ids?: string[] | undefined;
164
164
  highlights?: {
165
165
  uid?: string | undefined;
@@ -168,10 +168,10 @@ declare const documentSearchVersionSchema: z.ZodIntersection<z.ZodDiscriminatedU
168
168
  version_id: string;
169
169
  tags: string[];
170
170
  last_modified_date: Date;
171
- summary?: string | undefined;
172
171
  preview_image?: string | undefined;
173
172
  uid?: string | undefined;
174
173
  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<{
@@ -292,8 +292,8 @@ export declare const documentMetaSchema: z.ZodObject<{
292
292
  preview_summary?: string | undefined;
293
293
  }>>, "many">;
294
294
  }, "strip", z.ZodTypeAny, {
295
- title: string;
296
295
  id: string;
296
+ title: string;
297
297
  custom_type_id: string;
298
298
  group_lang_id: string;
299
299
  language: {
@@ -331,8 +331,8 @@ export declare const documentMetaSchema: z.ZodObject<{
331
331
  custom_type_id: string;
332
332
  group_lang_id: string;
333
333
  language: {
334
- name: string;
335
334
  id: string;
335
+ name: string;
336
336
  is_master?: boolean | undefined;
337
337
  };
338
338
  versions: (({
@@ -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<{
@@ -478,8 +478,8 @@ declare const getDocumentListSchema: z.ZodObject<{
478
478
  preview_summary?: string | undefined;
479
479
  }>>, "many">;
480
480
  }, "strip", z.ZodTypeAny, {
481
- title: string;
482
481
  id: string;
482
+ title: string;
483
483
  custom_type_id: string;
484
484
  group_lang_id: string;
485
485
  language: {
@@ -517,8 +517,8 @@ declare const getDocumentListSchema: z.ZodObject<{
517
517
  custom_type_id: string;
518
518
  group_lang_id: string;
519
519
  language: {
520
- name: string;
521
520
  id: string;
521
+ name: string;
522
522
  is_master?: boolean | undefined;
523
523
  };
524
524
  versions: (({
@@ -551,8 +551,8 @@ declare const getDocumentListSchema: z.ZodObject<{
551
551
  }, "strip", z.ZodTypeAny, {
552
552
  total: number;
553
553
  results: {
554
- title: string;
555
554
  id: string;
555
+ title: string;
556
556
  custom_type_id: string;
557
557
  group_lang_id: string;
558
558
  language: {
@@ -594,8 +594,8 @@ declare const getDocumentListSchema: z.ZodObject<{
594
594
  custom_type_id: string;
595
595
  group_lang_id: string;
596
596
  language: {
597
- name: string;
598
597
  id: string;
598
+ name: string;
599
599
  is_master?: boolean | undefined;
600
600
  };
601
601
  versions: (({
@@ -680,10 +680,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
680
680
  version_id: string;
681
681
  tags: string[];
682
682
  last_modified_date: Date;
683
- summary?: string | undefined;
684
683
  preview_image?: string | undefined;
685
684
  uid?: string | undefined;
686
685
  custom_type_id?: string | undefined;
686
+ summary?: string | undefined;
687
687
  author_ids?: string[] | undefined;
688
688
  highlights?: {
689
689
  uid?: string | undefined;
@@ -692,10 +692,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
692
692
  version_id: string;
693
693
  tags: string[];
694
694
  last_modified_date: Date;
695
- summary?: string | undefined;
696
695
  preview_image?: string | undefined;
697
696
  uid?: string | undefined;
698
697
  custom_type_id?: string | undefined;
698
+ summary?: string | undefined;
699
699
  author_ids?: string[] | undefined;
700
700
  highlights?: {
701
701
  uid?: string | undefined;
@@ -703,8 +703,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
703
703
  }>>, "many">;
704
704
  locale_id: z.ZodOptional<z.ZodString>;
705
705
  }, "strip", z.ZodTypeAny, {
706
- title: string;
707
706
  id: string;
707
+ title: string;
708
708
  custom_type_id: string;
709
709
  group_lang_id: string;
710
710
  interesting_versions: (({
@@ -720,10 +720,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
720
720
  version_id: string;
721
721
  tags: string[];
722
722
  last_modified_date: Date;
723
- summary?: string | undefined;
724
723
  preview_image?: string | undefined;
725
724
  uid?: string | undefined;
726
725
  custom_type_id?: string | undefined;
726
+ summary?: string | undefined;
727
727
  author_ids?: string[] | undefined;
728
728
  highlights?: {
729
729
  uid?: string | undefined;
@@ -747,10 +747,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
747
747
  version_id: string;
748
748
  tags: string[];
749
749
  last_modified_date: Date;
750
- summary?: string | undefined;
751
750
  preview_image?: string | undefined;
752
751
  uid?: string | undefined;
753
752
  custom_type_id?: string | undefined;
753
+ summary?: string | undefined;
754
754
  author_ids?: string[] | undefined;
755
755
  highlights?: {
756
756
  uid?: string | undefined;
@@ -759,8 +759,8 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
759
759
  title?: string | null | undefined;
760
760
  locale_id?: string | undefined;
761
761
  }>, {
762
- title: string;
763
762
  id: string;
763
+ title: string;
764
764
  custom_type_id: string;
765
765
  group_lang_id: string;
766
766
  locale_id?: string | undefined;
@@ -777,10 +777,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
777
777
  version_id: string;
778
778
  tags: string[];
779
779
  last_modified_date: Date;
780
- summary?: string | undefined;
781
780
  preview_image?: string | undefined;
782
781
  uid?: string | undefined;
783
782
  custom_type_id?: string | undefined;
783
+ summary?: string | undefined;
784
784
  author_ids?: string[] | undefined;
785
785
  highlights?: {
786
786
  uid?: string | undefined;
@@ -803,10 +803,10 @@ declare const documentSearchDocumentSchema: z.ZodEffects<z.ZodObject<{
803
803
  version_id: string;
804
804
  tags: string[];
805
805
  last_modified_date: Date;
806
- summary?: string | undefined;
807
806
  preview_image?: string | undefined;
808
807
  uid?: string | undefined;
809
808
  custom_type_id?: string | undefined;
809
+ summary?: string | undefined;
810
810
  author_ids?: string[] | undefined;
811
811
  highlights?: {
812
812
  uid?: string | undefined;
@@ -869,10 +869,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
869
869
  version_id: string;
870
870
  tags: string[];
871
871
  last_modified_date: Date;
872
- summary?: string | undefined;
873
872
  preview_image?: string | undefined;
874
873
  uid?: string | undefined;
875
874
  custom_type_id?: string | undefined;
875
+ summary?: string | undefined;
876
876
  author_ids?: string[] | undefined;
877
877
  highlights?: {
878
878
  uid?: string | undefined;
@@ -881,10 +881,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
881
881
  version_id: string;
882
882
  tags: string[];
883
883
  last_modified_date: Date;
884
- summary?: string | undefined;
885
884
  preview_image?: string | undefined;
886
885
  uid?: string | undefined;
887
886
  custom_type_id?: string | undefined;
887
+ summary?: string | undefined;
888
888
  author_ids?: string[] | undefined;
889
889
  highlights?: {
890
890
  uid?: string | undefined;
@@ -892,8 +892,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
892
892
  }>>, "many">;
893
893
  locale_id: z.ZodOptional<z.ZodString>;
894
894
  }, "strip", z.ZodTypeAny, {
895
- title: string;
896
895
  id: string;
896
+ title: string;
897
897
  custom_type_id: string;
898
898
  group_lang_id: string;
899
899
  interesting_versions: (({
@@ -909,10 +909,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
909
909
  version_id: string;
910
910
  tags: string[];
911
911
  last_modified_date: Date;
912
- summary?: string | undefined;
913
912
  preview_image?: string | undefined;
914
913
  uid?: string | undefined;
915
914
  custom_type_id?: string | undefined;
915
+ summary?: string | undefined;
916
916
  author_ids?: string[] | undefined;
917
917
  highlights?: {
918
918
  uid?: string | undefined;
@@ -936,10 +936,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
936
936
  version_id: string;
937
937
  tags: string[];
938
938
  last_modified_date: Date;
939
- summary?: string | undefined;
940
939
  preview_image?: string | undefined;
941
940
  uid?: string | undefined;
942
941
  custom_type_id?: string | undefined;
942
+ summary?: string | undefined;
943
943
  author_ids?: string[] | undefined;
944
944
  highlights?: {
945
945
  uid?: string | undefined;
@@ -948,8 +948,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
948
948
  title?: string | null | undefined;
949
949
  locale_id?: string | undefined;
950
950
  }>, {
951
- title: string;
952
951
  id: string;
952
+ title: string;
953
953
  custom_type_id: string;
954
954
  group_lang_id: string;
955
955
  locale_id?: string | undefined;
@@ -966,10 +966,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
966
966
  version_id: string;
967
967
  tags: string[];
968
968
  last_modified_date: Date;
969
- summary?: string | undefined;
970
969
  preview_image?: string | undefined;
971
970
  uid?: string | undefined;
972
971
  custom_type_id?: string | undefined;
972
+ summary?: string | undefined;
973
973
  author_ids?: string[] | undefined;
974
974
  highlights?: {
975
975
  uid?: string | undefined;
@@ -992,10 +992,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
992
992
  version_id: string;
993
993
  tags: string[];
994
994
  last_modified_date: Date;
995
- summary?: string | undefined;
996
995
  preview_image?: string | undefined;
997
996
  uid?: string | undefined;
998
997
  custom_type_id?: string | undefined;
998
+ summary?: string | undefined;
999
999
  author_ids?: string[] | undefined;
1000
1000
  highlights?: {
1001
1001
  uid?: string | undefined;
@@ -1006,8 +1006,8 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1006
1006
  }>, "many">;
1007
1007
  }, "strip", z.ZodTypeAny, {
1008
1008
  results: {
1009
- title: string;
1010
1009
  id: string;
1010
+ title: string;
1011
1011
  custom_type_id: string;
1012
1012
  group_lang_id: string;
1013
1013
  locale_id?: string | undefined;
@@ -1024,10 +1024,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1024
1024
  version_id: string;
1025
1025
  tags: string[];
1026
1026
  last_modified_date: Date;
1027
- summary?: string | undefined;
1028
1027
  preview_image?: string | undefined;
1029
1028
  uid?: string | undefined;
1030
1029
  custom_type_id?: string | undefined;
1030
+ summary?: string | undefined;
1031
1031
  author_ids?: string[] | undefined;
1032
1032
  highlights?: {
1033
1033
  uid?: string | undefined;
@@ -1052,10 +1052,10 @@ declare const documentsFullTextSearchAPISchemaOkType: z.ZodObject<{
1052
1052
  version_id: string;
1053
1053
  tags: string[];
1054
1054
  last_modified_date: Date;
1055
- summary?: string | undefined;
1056
1055
  preview_image?: string | undefined;
1057
1056
  uid?: string | undefined;
1058
1057
  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: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "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";
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: "em" | "strong" | "list-item";
1445
+ type: "strong" | "em" | "list-item";
1446
1446
  })[] | undefined;
1447
1447
  };
1448
1448
  } & {
@@ -1554,7 +1554,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1554
1554
  label?: string | null | undefined;
1555
1555
  direction?: string | null | undefined;
1556
1556
  }) | ({
1557
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1557
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1558
1558
  content: {
1559
1559
  text: string;
1560
1560
  } & {
@@ -1607,7 +1607,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1607
1607
  } | {
1608
1608
  start: number;
1609
1609
  end: number;
1610
- type: "em" | "strong" | "list-item";
1610
+ type: "strong" | "em" | "list-item";
1611
1611
  })[] | undefined;
1612
1612
  };
1613
1613
  } & {
@@ -1990,7 +1990,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
1990
1990
  label?: string | null | undefined;
1991
1991
  direction?: string | null | undefined;
1992
1992
  }) | ({
1993
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1993
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
1994
1994
  content: {
1995
1995
  text: string;
1996
1996
  } & {
@@ -2043,7 +2043,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2043
2043
  } | {
2044
2044
  start: number;
2045
2045
  end: number;
2046
- type: "em" | "strong" | "list-item";
2046
+ type: "strong" | "em" | "list-item";
2047
2047
  })[] | undefined;
2048
2048
  };
2049
2049
  } & {
@@ -2155,7 +2155,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2155
2155
  label?: string | null | undefined;
2156
2156
  direction?: string | null | undefined;
2157
2157
  }) | ({
2158
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2158
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2159
2159
  content: {
2160
2160
  text: string;
2161
2161
  } & {
@@ -2208,7 +2208,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2208
2208
  } | {
2209
2209
  start: number;
2210
2210
  end: number;
2211
- type: "em" | "strong" | "list-item";
2211
+ type: "strong" | "em" | "list-item";
2212
2212
  })[] | undefined;
2213
2213
  };
2214
2214
  } & {
@@ -2583,7 +2583,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2583
2583
  label?: string | null | undefined;
2584
2584
  direction?: string | null | undefined;
2585
2585
  }) | ({
2586
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2586
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2587
2587
  content: {
2588
2588
  text: string;
2589
2589
  } & {
@@ -2636,7 +2636,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2636
2636
  } | {
2637
2637
  start: number;
2638
2638
  end: number;
2639
- type: "em" | "strong" | "list-item";
2639
+ type: "strong" | "em" | "list-item";
2640
2640
  })[] | undefined;
2641
2641
  };
2642
2642
  } & {
@@ -2745,7 +2745,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2745
2745
  label?: string | null | undefined;
2746
2746
  direction?: string | null | undefined;
2747
2747
  }) | ({
2748
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2748
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
2749
2749
  content: {
2750
2750
  text: string;
2751
2751
  } & {
@@ -2798,7 +2798,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
2798
2798
  } | {
2799
2799
  start: number;
2800
2800
  end: number;
2801
- type: "em" | "strong" | "list-item";
2801
+ type: "strong" | "em" | "list-item";
2802
2802
  })[] | undefined;
2803
2803
  };
2804
2804
  } & {
@@ -3175,7 +3175,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3175
3175
  label?: string | null | undefined;
3176
3176
  direction?: string | null | undefined;
3177
3177
  }) | ({
3178
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3178
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3179
3179
  content: {
3180
3180
  text: string;
3181
3181
  } & {
@@ -3228,7 +3228,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3228
3228
  } | {
3229
3229
  start: number;
3230
3230
  end: number;
3231
- type: "em" | "strong" | "list-item";
3231
+ type: "strong" | "em" | "list-item";
3232
3232
  })[] | undefined;
3233
3233
  };
3234
3234
  } & {
@@ -3340,7 +3340,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3340
3340
  label?: string | null | undefined;
3341
3341
  direction?: string | null | undefined;
3342
3342
  }) | ({
3343
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3343
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3344
3344
  content: {
3345
3345
  text: string;
3346
3346
  } & {
@@ -3393,7 +3393,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3393
3393
  } | {
3394
3394
  start: number;
3395
3395
  end: number;
3396
- type: "em" | "strong" | "list-item";
3396
+ type: "strong" | "em" | "list-item";
3397
3397
  })[] | undefined;
3398
3398
  };
3399
3399
  } & {
@@ -3768,7 +3768,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3768
3768
  label?: string | null | undefined;
3769
3769
  direction?: string | null | undefined;
3770
3770
  }) | ({
3771
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3771
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3772
3772
  content: {
3773
3773
  text: string;
3774
3774
  } & {
@@ -3821,7 +3821,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3821
3821
  } | {
3822
3822
  start: number;
3823
3823
  end: number;
3824
- type: "em" | "strong" | "list-item";
3824
+ type: "strong" | "em" | "list-item";
3825
3825
  })[] | undefined;
3826
3826
  };
3827
3827
  } & {
@@ -3930,7 +3930,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3930
3930
  label?: string | null | undefined;
3931
3931
  direction?: string | null | undefined;
3932
3932
  }) | ({
3933
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3933
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
3934
3934
  content: {
3935
3935
  text: string;
3936
3936
  } & {
@@ -3983,7 +3983,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
3983
3983
  } | {
3984
3984
  start: number;
3985
3985
  end: number;
3986
- type: "em" | "strong" | "list-item";
3986
+ type: "strong" | "em" | "list-item";
3987
3987
  })[] | undefined;
3988
3988
  };
3989
3989
  } & {
@@ -4356,7 +4356,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4356
4356
  label?: string | null | undefined;
4357
4357
  direction?: string | null | undefined;
4358
4358
  }) | ({
4359
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4359
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4360
4360
  content: {
4361
4361
  text: string;
4362
4362
  } & {
@@ -4409,7 +4409,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4409
4409
  } | {
4410
4410
  start: number;
4411
4411
  end: number;
4412
- type: "em" | "strong" | "list-item";
4412
+ type: "strong" | "em" | "list-item";
4413
4413
  })[] | undefined;
4414
4414
  };
4415
4415
  } & {
@@ -4521,7 +4521,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4521
4521
  label?: string | null | undefined;
4522
4522
  direction?: string | null | undefined;
4523
4523
  }) | ({
4524
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4524
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4525
4525
  content: {
4526
4526
  text: string;
4527
4527
  } & {
@@ -4574,7 +4574,7 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
4574
4574
  } | {
4575
4575
  start: number;
4576
4576
  end: number;
4577
- type: "em" | "strong" | "list-item";
4577
+ type: "strong" | "em" | "list-item";
4578
4578
  })[] | undefined;
4579
4579
  };
4580
4580
  } & {
@@ -4956,7 +4956,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
4956
4956
  label?: string | null | undefined;
4957
4957
  direction?: string | null | undefined;
4958
4958
  }) | ({
4959
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4959
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
4960
4960
  content: {
4961
4961
  text: string;
4962
4962
  } & {
@@ -5009,7 +5009,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5009
5009
  } | {
5010
5010
  start: number;
5011
5011
  end: number;
5012
- type: "em" | "strong" | "list-item";
5012
+ type: "strong" | "em" | "list-item";
5013
5013
  })[] | undefined;
5014
5014
  };
5015
5015
  } & {
@@ -5121,7 +5121,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5121
5121
  label?: string | null | undefined;
5122
5122
  direction?: string | null | undefined;
5123
5123
  }) | ({
5124
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5124
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5125
5125
  content: {
5126
5126
  text: string;
5127
5127
  } & {
@@ -5174,7 +5174,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5174
5174
  } | {
5175
5175
  start: number;
5176
5176
  end: number;
5177
- type: "em" | "strong" | "list-item";
5177
+ type: "strong" | "em" | "list-item";
5178
5178
  })[] | undefined;
5179
5179
  };
5180
5180
  } & {
@@ -5549,7 +5549,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5549
5549
  label?: string | null | undefined;
5550
5550
  direction?: string | null | undefined;
5551
5551
  }) | ({
5552
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5552
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5553
5553
  content: {
5554
5554
  text: string;
5555
5555
  } & {
@@ -5602,7 +5602,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5602
5602
  } | {
5603
5603
  start: number;
5604
5604
  end: number;
5605
- type: "em" | "strong" | "list-item";
5605
+ type: "strong" | "em" | "list-item";
5606
5606
  })[] | undefined;
5607
5607
  };
5608
5608
  } & {
@@ -5714,7 +5714,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5714
5714
  label?: string | null | undefined;
5715
5715
  direction?: string | null | undefined;
5716
5716
  }) | ({
5717
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5717
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
5718
5718
  content: {
5719
5719
  text: string;
5720
5720
  } & {
@@ -5767,7 +5767,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
5767
5767
  } | {
5768
5768
  start: number;
5769
5769
  end: number;
5770
- type: "em" | "strong" | "list-item";
5770
+ type: "strong" | "em" | "list-item";
5771
5771
  })[] | undefined;
5772
5772
  };
5773
5773
  } & {
@@ -6144,7 +6144,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6144
6144
  label?: string | null | undefined;
6145
6145
  direction?: string | null | undefined;
6146
6146
  }) | ({
6147
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6147
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6148
6148
  content: {
6149
6149
  text: string;
6150
6150
  } & {
@@ -6197,7 +6197,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6197
6197
  } | {
6198
6198
  start: number;
6199
6199
  end: number;
6200
- type: "em" | "strong" | "list-item";
6200
+ type: "strong" | "em" | "list-item";
6201
6201
  })[] | undefined;
6202
6202
  };
6203
6203
  } & {
@@ -6309,7 +6309,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6309
6309
  label?: string | null | undefined;
6310
6310
  direction?: string | null | undefined;
6311
6311
  }) | ({
6312
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6312
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6313
6313
  content: {
6314
6314
  text: string;
6315
6315
  } & {
@@ -6362,7 +6362,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6362
6362
  } | {
6363
6363
  start: number;
6364
6364
  end: number;
6365
- type: "em" | "strong" | "list-item";
6365
+ type: "strong" | "em" | "list-item";
6366
6366
  })[] | undefined;
6367
6367
  };
6368
6368
  } & {
@@ -6737,7 +6737,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6737
6737
  label?: string | null | undefined;
6738
6738
  direction?: string | null | undefined;
6739
6739
  }) | ({
6740
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6740
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6741
6741
  content: {
6742
6742
  text: string;
6743
6743
  } & {
@@ -6790,7 +6790,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6790
6790
  } | {
6791
6791
  start: number;
6792
6792
  end: number;
6793
- type: "em" | "strong" | "list-item";
6793
+ type: "strong" | "em" | "list-item";
6794
6794
  })[] | undefined;
6795
6795
  };
6796
6796
  } & {
@@ -6902,7 +6902,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6902
6902
  label?: string | null | undefined;
6903
6903
  direction?: string | null | undefined;
6904
6904
  }) | ({
6905
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6905
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
6906
6906
  content: {
6907
6907
  text: string;
6908
6908
  } & {
@@ -6955,7 +6955,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
6955
6955
  } | {
6956
6956
  start: number;
6957
6957
  end: number;
6958
- type: "em" | "strong" | "list-item";
6958
+ type: "strong" | "em" | "list-item";
6959
6959
  })[] | undefined;
6960
6960
  };
6961
6961
  } & {
@@ -7328,7 +7328,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7328
7328
  label?: string | null | undefined;
7329
7329
  direction?: string | null | undefined;
7330
7330
  }) | ({
7331
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7331
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7332
7332
  content: {
7333
7333
  text: string;
7334
7334
  } & {
@@ -7381,7 +7381,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7381
7381
  } | {
7382
7382
  start: number;
7383
7383
  end: number;
7384
- type: "em" | "strong" | "list-item";
7384
+ type: "strong" | "em" | "list-item";
7385
7385
  })[] | undefined;
7386
7386
  };
7387
7387
  } & {
@@ -7493,7 +7493,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7493
7493
  label?: string | null | undefined;
7494
7494
  direction?: string | null | undefined;
7495
7495
  }) | ({
7496
- type: "em" | "embed" | "strong" | "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7496
+ type: "image" | "embed" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "list-item" | "o-list-item" | "rtl";
7497
7497
  content: {
7498
7498
  text: string;
7499
7499
  } & {
@@ -7546,7 +7546,7 @@ export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
7546
7546
  } | {
7547
7547
  start: number;
7548
7548
  end: number;
7549
- type: "em" | "strong" | "list-item";
7549
+ type: "strong" | "em" | "list-item";
7550
7550
  })[] | undefined;
7551
7551
  };
7552
7552
  } & {
@@ -7655,8 +7655,8 @@ export declare function invalidateDocumentListData(queryClient: QueryClient): Pr
7655
7655
  export declare function useDocumentList(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
7656
7656
  total: number;
7657
7657
  results: {
7658
- title: string;
7659
7658
  id: string;
7659
+ title: string;
7660
7660
  custom_type_id: string;
7661
7661
  group_lang_id: string;
7662
7662
  language: {
@@ -7695,8 +7695,8 @@ export declare function useDocumentList(args: GetDocumentListArgs): import("@tan
7695
7695
  export declare function getDocumentListOptions(args: GetDocumentListArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
7696
7696
  total: number;
7697
7697
  results: {
7698
- title: string;
7699
7698
  id: string;
7699
+ title: string;
7700
7700
  custom_type_id: string;
7701
7701
  group_lang_id: string;
7702
7702
  language: {
@@ -7734,8 +7734,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7734
7734
  }, Error, {
7735
7735
  total: number;
7736
7736
  results: {
7737
- title: string;
7738
7737
  id: string;
7738
+ title: string;
7739
7739
  custom_type_id: string;
7740
7740
  group_lang_id: string;
7741
7741
  language: {
@@ -7774,8 +7774,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7774
7774
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
7775
7775
  total: number;
7776
7776
  results: {
7777
- title: string;
7778
7777
  id: string;
7778
+ title: string;
7779
7779
  custom_type_id: string;
7780
7780
  group_lang_id: string;
7781
7781
  language: {
@@ -7815,8 +7815,8 @@ export declare function getDocumentListOptions(args: GetDocumentListArgs): impor
7815
7815
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<readonly ["documents", "list", GetDocumentListArgs], {
7816
7816
  total: number;
7817
7817
  results: {
7818
- title: string;
7819
7818
  id: string;
7819
+ title: string;
7820
7820
  custom_type_id: string;
7821
7821
  group_lang_id: string;
7822
7822
  language: {