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

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 (27) hide show
  1. package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +53 -53
  2. package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
  3. package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +5 -5
  4. package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +5 -5
  5. package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
  6. package/dist/core/service/customType.d.ts +21 -21
  7. package/dist/core/service/document.d.ts +112 -112
  8. package/dist/core/service/documentSearch.d.ts +17 -17
  9. package/dist/core/service/onboarding.d.ts +3 -3
  10. package/dist/core/service/repository.d.ts +36 -36
  11. package/dist/core/service/role.d.ts +10 -10
  12. package/dist/fields/ImageField/useImageField.d.ts +5 -5
  13. package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +5 -5
  14. package/dist/fields/LinkField/Documents/documentsData.d.ts +6 -6
  15. package/dist/fields/LinkField/LinkField.d.ts +1 -1
  16. package/dist/fields/LinkField/useLinkField.d.ts +1 -1
  17. package/dist/fields/RichTextField/RichTextField.d.ts +5 -0
  18. package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
  19. package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +5 -5
  20. package/dist/fields/RichTextField/extensions/Table/TableCell/TableHeaderCell.d.ts +1 -1
  21. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts +2 -2
  22. package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +2 -4
  23. package/dist/fields/RichTextField/extensions/Table/TableView.d.ts +3 -1
  24. package/dist/fields/RichTextField/extensions/Table/utils.d.ts +2 -53
  25. package/dist/index.cjs.js +40 -40
  26. package/dist/index.es.js +17348 -17086
  27. package/package.json +4 -4
@@ -7,14 +7,14 @@ declare const CustomType: z.ZodObject<{
7
7
  repeatable: z.ZodBoolean;
8
8
  status: z.ZodBoolean;
9
9
  }, "strip", z.ZodTypeAny, {
10
+ label: string;
10
11
  id: string;
11
12
  status: boolean;
12
- label: string;
13
13
  repeatable: boolean;
14
14
  }, {
15
+ label: string;
15
16
  id: string;
16
17
  status: boolean;
17
- label: string;
18
18
  repeatable: boolean;
19
19
  }>;
20
20
  export type CustomType = z.TypeOf<typeof CustomType>;
@@ -24,50 +24,50 @@ interface CustomTypesOptionsArgs {
24
24
  authStrategy: AuthStrategy;
25
25
  }
26
26
  export declare function getCustomTypesOptions(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseQueryOptions<{
27
+ label: string;
27
28
  id: string;
28
29
  status: boolean;
29
- label: string;
30
30
  repeatable: boolean;
31
31
  }[], Error, {
32
+ label: string;
32
33
  id: string;
33
34
  status: boolean;
34
- label: string;
35
35
  repeatable: boolean;
36
36
  }[], string[]> & {
37
37
  initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
38
+ label: string;
38
39
  id: string;
39
40
  status: boolean;
40
- label: string;
41
41
  repeatable: boolean;
42
42
  }[]> | undefined;
43
43
  } & {
44
44
  queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
45
+ label: string;
45
46
  id: string;
46
47
  status: boolean;
47
- label: string;
48
48
  repeatable: boolean;
49
49
  }[]>;
50
50
  };
51
51
  export declare function prefetchCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): void;
52
52
  export declare function fetchCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<{
53
+ label: string;
53
54
  id: string;
54
55
  status: boolean;
55
- label: string;
56
56
  repeatable: boolean;
57
57
  }[]>;
58
58
  export declare function useCustomTypes(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
59
+ label: string;
59
60
  id: string;
60
61
  status: boolean;
61
- label: string;
62
62
  repeatable: boolean;
63
63
  }[], Error>;
64
64
  interface CustomTypeOptionsArgs extends CustomTypesOptionsArgs {
65
65
  id: string;
66
66
  }
67
67
  export declare function useCustomType(args: CustomTypeOptionsArgs): {
68
+ label: string;
68
69
  id: string;
69
70
  status: boolean;
70
- label: string;
71
71
  repeatable: boolean;
72
72
  };
73
73
  export declare function invalidateCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<void>;
@@ -154,7 +154,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
154
154
  label?: string | null | undefined;
155
155
  useAsTitle?: boolean | undefined;
156
156
  placeholder?: string | undefined;
157
- select?: "document" | "web" | "media" | null | undefined;
157
+ select?: "web" | "document" | "media" | null | undefined;
158
158
  customtypes?: readonly string[] | undefined;
159
159
  masks?: readonly string[] | undefined;
160
160
  tags?: readonly string[] | undefined;
@@ -329,7 +329,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
329
329
  label?: string | null | undefined;
330
330
  useAsTitle?: boolean | undefined;
331
331
  placeholder?: string | undefined;
332
- select?: "document" | "web" | "media" | null | undefined;
332
+ select?: "web" | "document" | "media" | null | undefined;
333
333
  customtypes?: readonly string[] | undefined;
334
334
  masks?: readonly string[] | undefined;
335
335
  tags?: readonly string[] | undefined;
@@ -504,7 +504,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
504
504
  label?: string | null | undefined;
505
505
  useAsTitle?: boolean | undefined;
506
506
  placeholder?: string | undefined;
507
- select?: "document" | "web" | "media" | null | undefined;
507
+ select?: "web" | "document" | "media" | null | undefined;
508
508
  customtypes?: readonly string[] | undefined;
509
509
  masks?: readonly string[] | undefined;
510
510
  tags?: readonly string[] | undefined;
@@ -689,7 +689,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
689
689
  label?: string | null | undefined;
690
690
  useAsTitle?: boolean | undefined;
691
691
  placeholder?: string | undefined;
692
- select?: "document" | "web" | "media" | null | undefined;
692
+ select?: "web" | "document" | "media" | null | undefined;
693
693
  customtypes?: readonly string[] | undefined;
694
694
  masks?: readonly string[] | undefined;
695
695
  tags?: readonly string[] | undefined;
@@ -864,7 +864,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
864
864
  label?: string | null | undefined;
865
865
  useAsTitle?: boolean | undefined;
866
866
  placeholder?: string | undefined;
867
- select?: "document" | "web" | "media" | null | undefined;
867
+ select?: "web" | "document" | "media" | null | undefined;
868
868
  customtypes?: readonly string[] | undefined;
869
869
  masks?: readonly string[] | undefined;
870
870
  tags?: readonly string[] | undefined;
@@ -1040,7 +1040,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1040
1040
  label?: string | null | undefined;
1041
1041
  useAsTitle?: boolean | undefined;
1042
1042
  placeholder?: string | undefined;
1043
- select?: "document" | "web" | "media" | null | undefined;
1043
+ select?: "web" | "document" | "media" | null | undefined;
1044
1044
  customtypes?: readonly string[] | undefined;
1045
1045
  masks?: readonly string[] | undefined;
1046
1046
  tags?: readonly string[] | undefined;
@@ -1208,7 +1208,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1208
1208
  label?: string | null | undefined;
1209
1209
  useAsTitle?: boolean | undefined;
1210
1210
  placeholder?: string | undefined;
1211
- select?: "document" | "web" | "media" | null | undefined;
1211
+ select?: "web" | "document" | "media" | null | undefined;
1212
1212
  customtypes?: readonly string[] | undefined;
1213
1213
  masks?: readonly string[] | undefined;
1214
1214
  tags?: readonly string[] | undefined;
@@ -1392,7 +1392,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1392
1392
  label?: string | null | undefined;
1393
1393
  useAsTitle?: boolean | undefined;
1394
1394
  placeholder?: string | undefined;
1395
- select?: "document" | "web" | "media" | null | undefined;
1395
+ select?: "web" | "document" | "media" | null | undefined;
1396
1396
  customtypes?: readonly string[] | undefined;
1397
1397
  masks?: readonly string[] | undefined;
1398
1398
  tags?: readonly string[] | undefined;
@@ -1567,7 +1567,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1567
1567
  label?: string | null | undefined;
1568
1568
  useAsTitle?: boolean | undefined;
1569
1569
  placeholder?: string | undefined;
1570
- select?: "document" | "web" | "media" | null | undefined;
1570
+ select?: "web" | "document" | "media" | null | undefined;
1571
1571
  customtypes?: readonly string[] | undefined;
1572
1572
  masks?: readonly string[] | undefined;
1573
1573
  tags?: readonly string[] | undefined;
@@ -1742,7 +1742,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1742
1742
  label?: string | null | undefined;
1743
1743
  useAsTitle?: boolean | undefined;
1744
1744
  placeholder?: string | undefined;
1745
- select?: "document" | "web" | "media" | null | undefined;
1745
+ select?: "web" | "document" | "media" | null | undefined;
1746
1746
  customtypes?: readonly string[] | undefined;
1747
1747
  masks?: readonly string[] | undefined;
1748
1748
  tags?: readonly string[] | undefined;
@@ -1916,7 +1916,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
1916
1916
  label?: string | null | undefined;
1917
1917
  useAsTitle?: boolean | undefined;
1918
1918
  placeholder?: string | undefined;
1919
- select?: "document" | "web" | "media" | null | undefined;
1919
+ select?: "web" | "document" | "media" | null | undefined;
1920
1920
  customtypes?: readonly string[] | undefined;
1921
1921
  masks?: readonly string[] | undefined;
1922
1922
  tags?: readonly string[] | undefined;
@@ -2029,7 +2029,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
2029
2029
  };
2030
2030
  status: boolean;
2031
2031
  } & {
2032
- format?: "custom" | "page" | undefined;
2032
+ format?: "page" | "custom" | undefined;
2033
2033
  }, Error>;
2034
2034
  export declare function prefetchStaticCustomType(queryClient: QueryClient, args: CustomTypeOptionsArgs): void;
2035
2035
  export {};