@prismicio/editor-fields 0.4.71 → 0.4.72
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.
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +10 -6
- package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +1 -0
- package/dist/core/APIExplorer/hooks/useCopy.d.ts +4 -0
- package/dist/core/APIExplorer/hooks/useRequestRepository.d.ts +1 -0
- package/dist/core/APIExplorer/hooks/useRequestRepositoryCustomTypes.d.ts +6 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +44 -44
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +4 -4
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +4 -4
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +10 -10
- package/dist/core/service/document.d.ts +163 -163
- package/dist/core/service/documentSearch.d.ts +40 -40
- package/dist/core/service/repository.d.ts +6 -6
- package/dist/core/service/role.d.ts +10 -10
- package/dist/fields/ImageField/useImageField.d.ts +4 -4
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +4 -4
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +12 -12
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +4 -4
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +4 -4
- package/dist/index.cjs.js +46 -46
- package/dist/index.es.js +27399 -27305
- package/dist/slices/utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/TableHandlesPlugin.d.ts +0 -8
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/events.d.ts +0 -19
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/index.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/TableHandles/utils.d.ts +0 -23
- package/dist/fields/RichTextField/extensions/Table/TableCell/plugins/index.d.ts +0 -1
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +0 -3
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginDef.d.ts +0 -8
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginView.d.ts +0 -34
- package/dist/fields/RichTextField/extensions/Table/plugins/TableHandles/TableHandlesPluginViewClass.d.ts +0 -34
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/index.d.ts +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles/TableHandlesPlugin.d.ts → tableHandles/tableHandlesPlugin.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/{TableCell/plugins/TableHandles/TableHandlesPluginView.d.ts → plugins/tableHandles/tableHandlesPluginView.d.ts} +0 -0
- /package/dist/fields/RichTextField/extensions/Table/plugins/{TableHandles → tableHandles}/utils.d.ts +0 -0
|
@@ -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;
|
|
11
10
|
status: boolean;
|
|
12
11
|
id: string;
|
|
12
|
+
label: string;
|
|
13
13
|
repeatable: boolean;
|
|
14
14
|
}, {
|
|
15
|
-
label: string;
|
|
16
15
|
status: boolean;
|
|
17
16
|
id: string;
|
|
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;
|
|
28
27
|
status: boolean;
|
|
29
28
|
id: string;
|
|
29
|
+
label: string;
|
|
30
30
|
repeatable: boolean;
|
|
31
31
|
}[], Error, {
|
|
32
|
-
label: string;
|
|
33
32
|
status: boolean;
|
|
34
33
|
id: string;
|
|
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;
|
|
39
38
|
status: boolean;
|
|
40
39
|
id: string;
|
|
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;
|
|
46
45
|
status: boolean;
|
|
47
46
|
id: string;
|
|
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;
|
|
54
53
|
status: boolean;
|
|
55
54
|
id: string;
|
|
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;
|
|
60
59
|
status: boolean;
|
|
61
60
|
id: string;
|
|
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;
|
|
69
68
|
status: boolean;
|
|
70
69
|
id: string;
|
|
70
|
+
label: string;
|
|
71
71
|
repeatable: boolean;
|
|
72
72
|
};
|
|
73
73
|
export declare function invalidateCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<void>;
|
|
@@ -2031,5 +2031,5 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
2031
2031
|
} & {
|
|
2032
2032
|
format?: "custom" | "page" | undefined;
|
|
2033
2033
|
}, Error>;
|
|
2034
|
-
export declare function
|
|
2034
|
+
export declare function usePrefetchStaticCustomType(args: CustomTypeOptionsArgs): void;
|
|
2035
2035
|
export {};
|