@prismicio/editor-fields 0.4.63-alpha.jp-upgrade-tiptap.0 → 0.4.64
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/MediaLibrary/hooks/mediaLibraryData.d.ts +133 -133
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +6 -6
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +13 -13
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +13 -13
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +9 -9
- package/dist/core/service/document.d.ts +98 -72
- package/dist/core/service/documentSearch.d.ts +10 -29
- package/dist/core/service/repository.d.ts +6 -6
- package/dist/core/service/role.d.ts +10 -10
- package/dist/core/service/user.d.ts +5 -5
- package/dist/fields/ImageField/useImageField.d.ts +13 -13
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +13 -13
- package/dist/fields/LinkField/Documents/documentsData.d.ts +4 -2
- 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 +13 -13
- package/dist/fields/RichTextField/extensions/Table/Table.d.ts +18 -0
- package/dist/fields/RichTextField/extensions/Table/TableControlsWrapper.d.ts +3 -0
- package/dist/fields/TableField/TableField.d.ts +1 -1
- package/dist/index.cjs.js +44 -72
- package/dist/index.es.js +25847 -28228
- package/dist/slices/utils.d.ts +2 -2
- package/package.json +5 -5
|
@@ -17,9 +17,9 @@ declare const unsplashImage: import("zod").ZodObject<{
|
|
|
17
17
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
18
18
|
}, "strip", import("zod").ZodTypeAny, {
|
|
19
19
|
id: string;
|
|
20
|
-
height: number;
|
|
21
|
-
width: number;
|
|
22
20
|
description: string | null;
|
|
21
|
+
width: number;
|
|
22
|
+
height: number;
|
|
23
23
|
urls: {
|
|
24
24
|
small: string;
|
|
25
25
|
full: string;
|
|
@@ -27,9 +27,9 @@ declare const unsplashImage: import("zod").ZodObject<{
|
|
|
27
27
|
alt_description?: string | undefined;
|
|
28
28
|
}, {
|
|
29
29
|
id: string;
|
|
30
|
-
height: number;
|
|
31
|
-
width: number;
|
|
32
30
|
description: string | null;
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
33
|
urls: {
|
|
34
34
|
small: string;
|
|
35
35
|
full: string;
|
|
@@ -55,9 +55,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
55
55
|
description: import("zod").ZodNullable<import("zod").ZodString>;
|
|
56
56
|
}, "strip", import("zod").ZodTypeAny, {
|
|
57
57
|
id: string;
|
|
58
|
-
height: number;
|
|
59
|
-
width: number;
|
|
60
58
|
description: string | null;
|
|
59
|
+
width: number;
|
|
60
|
+
height: number;
|
|
61
61
|
urls: {
|
|
62
62
|
small: string;
|
|
63
63
|
full: string;
|
|
@@ -65,9 +65,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
65
65
|
alt_description?: string | undefined;
|
|
66
66
|
}, {
|
|
67
67
|
id: string;
|
|
68
|
-
height: number;
|
|
69
|
-
width: number;
|
|
70
68
|
description: string | null;
|
|
69
|
+
width: number;
|
|
70
|
+
height: number;
|
|
71
71
|
urls: {
|
|
72
72
|
small: string;
|
|
73
73
|
full: string;
|
|
@@ -77,9 +77,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
77
77
|
}, "strip", import("zod").ZodTypeAny, {
|
|
78
78
|
results: {
|
|
79
79
|
id: string;
|
|
80
|
-
height: number;
|
|
81
|
-
width: number;
|
|
82
80
|
description: string | null;
|
|
81
|
+
width: number;
|
|
82
|
+
height: number;
|
|
83
83
|
urls: {
|
|
84
84
|
small: string;
|
|
85
85
|
full: string;
|
|
@@ -89,9 +89,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
89
89
|
}, {
|
|
90
90
|
results: {
|
|
91
91
|
id: string;
|
|
92
|
-
height: number;
|
|
93
|
-
width: number;
|
|
94
92
|
description: string | null;
|
|
93
|
+
width: number;
|
|
94
|
+
height: number;
|
|
95
95
|
urls: {
|
|
96
96
|
small: string;
|
|
97
97
|
full: string;
|
|
@@ -100,9 +100,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
100
100
|
}[];
|
|
101
101
|
}>, {
|
|
102
102
|
id: string;
|
|
103
|
-
height: number;
|
|
104
|
-
width: number;
|
|
105
103
|
description: string | null;
|
|
104
|
+
width: number;
|
|
105
|
+
height: number;
|
|
106
106
|
urls: {
|
|
107
107
|
small: string;
|
|
108
108
|
full: string;
|
|
@@ -111,9 +111,9 @@ export declare const unsplashSearchApiType: import("zod").ZodEffects<import("zod
|
|
|
111
111
|
}[], {
|
|
112
112
|
results: {
|
|
113
113
|
id: string;
|
|
114
|
-
height: number;
|
|
115
|
-
width: number;
|
|
116
114
|
description: string | null;
|
|
115
|
+
width: number;
|
|
116
|
+
height: number;
|
|
117
117
|
urls: {
|
|
118
118
|
small: string;
|
|
119
119
|
full: string;
|
|
@@ -125,9 +125,9 @@ 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
127
|
id: string;
|
|
128
|
-
height: number;
|
|
129
|
-
width: number;
|
|
130
128
|
description: string | null;
|
|
129
|
+
width: number;
|
|
130
|
+
height: number;
|
|
131
131
|
urls: {
|
|
132
132
|
small: string;
|
|
133
133
|
full: string;
|
|
@@ -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
|
+
status: boolean;
|
|
10
11
|
id: string;
|
|
11
12
|
label: string;
|
|
12
|
-
status: boolean;
|
|
13
13
|
repeatable: boolean;
|
|
14
14
|
}, {
|
|
15
|
+
status: boolean;
|
|
15
16
|
id: string;
|
|
16
17
|
label: string;
|
|
17
|
-
status: boolean;
|
|
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
|
+
status: boolean;
|
|
27
28
|
id: string;
|
|
28
29
|
label: string;
|
|
29
|
-
status: boolean;
|
|
30
30
|
repeatable: boolean;
|
|
31
31
|
}[], Error, {
|
|
32
|
+
status: boolean;
|
|
32
33
|
id: string;
|
|
33
34
|
label: string;
|
|
34
|
-
status: boolean;
|
|
35
35
|
repeatable: boolean;
|
|
36
36
|
}[], string[]> & {
|
|
37
37
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
38
|
+
status: boolean;
|
|
38
39
|
id: string;
|
|
39
40
|
label: string;
|
|
40
|
-
status: boolean;
|
|
41
41
|
repeatable: boolean;
|
|
42
42
|
}[]> | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
|
|
45
|
+
status: boolean;
|
|
45
46
|
id: string;
|
|
46
47
|
label: string;
|
|
47
|
-
status: boolean;
|
|
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
|
+
status: boolean;
|
|
53
54
|
id: string;
|
|
54
55
|
label: string;
|
|
55
|
-
status: boolean;
|
|
56
56
|
repeatable: boolean;
|
|
57
57
|
}[]>;
|
|
58
58
|
export declare function useCustomTypes(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
59
|
+
status: boolean;
|
|
59
60
|
id: string;
|
|
60
61
|
label: string;
|
|
61
|
-
status: boolean;
|
|
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
|
+
status: boolean;
|
|
68
69
|
id: string;
|
|
69
70
|
label: string;
|
|
70
|
-
status: boolean;
|
|
71
71
|
repeatable: boolean;
|
|
72
72
|
};
|
|
73
73
|
export declare function invalidateCustomTypes(queryClient: QueryClient, args: CustomTypesOptionsArgs): Promise<void>;
|