@prismicio/editor-fields 0.4.82 → 0.4.83
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 +26 -26
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +1 -1
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +2 -2
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +61 -61
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +6 -6
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +6 -6
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +78 -78
- package/dist/core/service/document.d.ts +136 -136
- package/dist/core/service/documentSearch.d.ts +35 -35
- package/dist/core/service/repository.d.ts +12 -12
- package/dist/core/service/role.d.ts +12 -12
- package/dist/fields/ImageField/useImageField.d.ts +6 -6
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +6 -6
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +11 -11
- package/dist/fields/LinkField/useLinkField.d.ts +1 -1
- package/dist/fields/RichTextField/coreExtensions/ListItem.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +120 -118
- package/package.json +4 -4
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +0 -9
|
@@ -16,20 +16,20 @@ declare const unsplashImage: import("zod").ZodObject<{
|
|
|
16
16
|
alt_description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
17
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
18
18
|
}, "strip", import("zod").ZodTypeAny, {
|
|
19
|
-
id: string;
|
|
20
19
|
description: string | null;
|
|
21
|
-
width: number;
|
|
22
20
|
height: number;
|
|
21
|
+
id: string;
|
|
22
|
+
width: number;
|
|
23
23
|
urls: {
|
|
24
24
|
small: string;
|
|
25
25
|
full: string;
|
|
26
26
|
};
|
|
27
27
|
alt_description?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
id: string;
|
|
30
29
|
description: string | null;
|
|
31
|
-
width: number;
|
|
32
30
|
height: number;
|
|
31
|
+
id: string;
|
|
32
|
+
width: number;
|
|
33
33
|
urls: {
|
|
34
34
|
small: string;
|
|
35
35
|
full: string;
|
|
@@ -54,20 +54,20 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
54
54
|
alt_description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
55
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
56
56
|
}, "strip", import("zod").ZodTypeAny, {
|
|
57
|
-
id: string;
|
|
58
57
|
description: string | null;
|
|
59
|
-
width: number;
|
|
60
58
|
height: number;
|
|
59
|
+
id: string;
|
|
60
|
+
width: number;
|
|
61
61
|
urls: {
|
|
62
62
|
small: string;
|
|
63
63
|
full: string;
|
|
64
64
|
};
|
|
65
65
|
alt_description?: string | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
id: string;
|
|
68
67
|
description: string | null;
|
|
69
|
-
width: number;
|
|
70
68
|
height: number;
|
|
69
|
+
id: string;
|
|
70
|
+
width: number;
|
|
71
71
|
urls: {
|
|
72
72
|
small: string;
|
|
73
73
|
full: string;
|
|
@@ -76,10 +76,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
76
76
|
}>, "many">;
|
|
77
77
|
}, "strip", import("zod").ZodTypeAny, {
|
|
78
78
|
results: {
|
|
79
|
-
id: string;
|
|
80
79
|
description: string | null;
|
|
81
|
-
width: number;
|
|
82
80
|
height: number;
|
|
81
|
+
id: string;
|
|
82
|
+
width: number;
|
|
83
83
|
urls: {
|
|
84
84
|
small: string;
|
|
85
85
|
full: string;
|
|
@@ -88,10 +88,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
88
88
|
}[];
|
|
89
89
|
}, {
|
|
90
90
|
results: {
|
|
91
|
-
id: string;
|
|
92
91
|
description: string | null;
|
|
93
|
-
width: number;
|
|
94
92
|
height: number;
|
|
93
|
+
id: string;
|
|
94
|
+
width: number;
|
|
95
95
|
urls: {
|
|
96
96
|
small: string;
|
|
97
97
|
full: string;
|
|
@@ -99,10 +99,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
99
99
|
alt_description?: string | undefined;
|
|
100
100
|
}[];
|
|
101
101
|
}>, {
|
|
102
|
-
id: string;
|
|
103
102
|
description: string | null;
|
|
104
|
-
width: number;
|
|
105
103
|
height: number;
|
|
104
|
+
id: string;
|
|
105
|
+
width: number;
|
|
106
106
|
urls: {
|
|
107
107
|
small: string;
|
|
108
108
|
full: string;
|
|
@@ -110,10 +110,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
110
110
|
alt_description?: string | undefined;
|
|
111
111
|
}[], {
|
|
112
112
|
results: {
|
|
113
|
-
id: string;
|
|
114
113
|
description: string | null;
|
|
115
|
-
width: number;
|
|
116
114
|
height: number;
|
|
115
|
+
id: string;
|
|
116
|
+
width: number;
|
|
117
117
|
urls: {
|
|
118
118
|
small: string;
|
|
119
119
|
full: string;
|
|
@@ -124,10 +124,10 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
124
124
|
export type UnplashSearchApi = TypeOf<typeof unsplashSearchApiType>;
|
|
125
125
|
export type UnsplashImage = TypeOf<typeof unsplashImage>;
|
|
126
126
|
export declare function useUnsplashSearch(baseUrl: URL, term: string): {
|
|
127
|
-
id: string;
|
|
128
127
|
description: string | null;
|
|
129
|
-
width: number;
|
|
130
128
|
height: number;
|
|
129
|
+
id: string;
|
|
130
|
+
width: number;
|
|
131
131
|
urls: {
|
|
132
132
|
small: string;
|
|
133
133
|
full: string;
|