@prismicio/editor-fields 0.4.77-alpha.bump-types-internal.3 → 0.4.78
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 -10
- package/dist/core/APIExplorer/components/Request/MissingParameterError.d.ts +3 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +18 -18
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +2 -2
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +2 -2
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +9 -9
- package/dist/core/service/document.d.ts +50 -50
- package/dist/core/service/documentSearch.d.ts +10 -10
- package/dist/core/service/repository.d.ts +12 -12
- package/dist/fields/ImageField/useImageField.d.ts +2 -2
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +2 -2
- package/dist/fields/LinkField/Documents/documentsData.d.ts +4 -4
- package/dist/fields/RichTextField/extensions/Image/useImageView.d.ts +2 -2
- package/dist/fields/RichTextField/extensions/extensions.d.ts +1 -1
- package/dist/index.cjs.js +46 -46
- package/dist/index.es.js +17216 -17161
- package/package.json +4 -4
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/getFilterSnippet.d.ts +0 -2
|
@@ -88,6 +88,7 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
88
88
|
}) | undefined;
|
|
89
89
|
onClear: () => void;
|
|
90
90
|
uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
|
|
91
|
+
url: string;
|
|
91
92
|
id: string;
|
|
92
93
|
tags: {
|
|
93
94
|
id: string;
|
|
@@ -98,13 +99,12 @@ export declare function useImageField(props: useImageFieldProps): {
|
|
|
98
99
|
uploader_id?: string | undefined;
|
|
99
100
|
}[];
|
|
100
101
|
size: number;
|
|
101
|
-
url: string;
|
|
102
102
|
kind: string;
|
|
103
103
|
last_modified: number;
|
|
104
104
|
filename: string;
|
|
105
105
|
notes?: string | undefined;
|
|
106
|
-
width?: number | undefined;
|
|
107
106
|
height?: number | undefined;
|
|
107
|
+
width?: number | undefined;
|
|
108
108
|
credits?: string | undefined;
|
|
109
109
|
alt?: string | undefined;
|
|
110
110
|
uploader_id?: string | undefined;
|
|
@@ -4,6 +4,7 @@ interface UseImageFieldImageUploadArgs {
|
|
|
4
4
|
}
|
|
5
5
|
export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadArgs): {
|
|
6
6
|
uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
|
|
7
|
+
url: string;
|
|
7
8
|
id: string;
|
|
8
9
|
tags: {
|
|
9
10
|
id: string;
|
|
@@ -14,13 +15,12 @@ export declare function useImageFieldImageUpload(args: UseImageFieldImageUploadA
|
|
|
14
15
|
uploader_id?: string | undefined;
|
|
15
16
|
}[];
|
|
16
17
|
size: number;
|
|
17
|
-
url: string;
|
|
18
18
|
kind: string;
|
|
19
19
|
last_modified: number;
|
|
20
20
|
filename: string;
|
|
21
21
|
notes?: string | undefined;
|
|
22
|
-
width?: number | undefined;
|
|
23
22
|
height?: number | undefined;
|
|
23
|
+
width?: number | undefined;
|
|
24
24
|
credits?: string | undefined;
|
|
25
25
|
alt?: string | undefined;
|
|
26
26
|
uploader_id?: string | undefined;
|
|
@@ -21,8 +21,8 @@ export declare function useDocuments(params: {
|
|
|
21
21
|
last_modified_date: Date;
|
|
22
22
|
custom_type_label: string;
|
|
23
23
|
author: {
|
|
24
|
-
id?: string | undefined;
|
|
25
24
|
email?: string | undefined;
|
|
25
|
+
id?: string | undefined;
|
|
26
26
|
first_name?: string | undefined;
|
|
27
27
|
last_name?: string | undefined;
|
|
28
28
|
uploadedAvatar?: string | undefined;
|
|
@@ -43,8 +43,8 @@ export declare function useDocuments(params: {
|
|
|
43
43
|
tags: string[];
|
|
44
44
|
version_id: string;
|
|
45
45
|
last_modified_date: Date;
|
|
46
|
-
uid?: string | undefined;
|
|
47
46
|
summary?: string | undefined;
|
|
47
|
+
uid?: string | undefined;
|
|
48
48
|
preview_image?: string | undefined;
|
|
49
49
|
custom_type_id?: string | undefined;
|
|
50
50
|
author_ids?: string[] | undefined;
|
|
@@ -77,8 +77,8 @@ export declare function useDocuments(params: {
|
|
|
77
77
|
last_modified_date: Date;
|
|
78
78
|
custom_type_label: string;
|
|
79
79
|
author: {
|
|
80
|
-
id?: string | undefined;
|
|
81
80
|
email?: string | undefined;
|
|
81
|
+
id?: string | undefined;
|
|
82
82
|
first_name?: string | undefined;
|
|
83
83
|
last_name?: string | undefined;
|
|
84
84
|
uploadedAvatar?: string | undefined;
|
|
@@ -99,8 +99,8 @@ export declare function useDocuments(params: {
|
|
|
99
99
|
tags: string[];
|
|
100
100
|
version_id: string;
|
|
101
101
|
last_modified_date: Date;
|
|
102
|
-
uid?: string | undefined;
|
|
103
102
|
summary?: string | undefined;
|
|
103
|
+
uid?: string | undefined;
|
|
104
104
|
preview_image?: string | undefined;
|
|
105
105
|
custom_type_id?: string | undefined;
|
|
106
106
|
author_ids?: string[] | undefined;
|
|
@@ -20,6 +20,7 @@ export declare function useImageView(props: useImageViewProps): {
|
|
|
20
20
|
updateContent: (content?: ImageBlockData) => void;
|
|
21
21
|
onClear: () => void;
|
|
22
22
|
uploadImage: import("@tanstack/react-query/build/legacy/types").UseMutateFunction<{
|
|
23
|
+
url: string;
|
|
23
24
|
id: string;
|
|
24
25
|
tags: {
|
|
25
26
|
id: string;
|
|
@@ -30,13 +31,12 @@ export declare function useImageView(props: useImageViewProps): {
|
|
|
30
31
|
uploader_id?: string | undefined;
|
|
31
32
|
}[];
|
|
32
33
|
size: number;
|
|
33
|
-
url: string;
|
|
34
34
|
kind: string;
|
|
35
35
|
last_modified: number;
|
|
36
36
|
filename: string;
|
|
37
37
|
notes?: string | undefined;
|
|
38
|
-
width?: number | undefined;
|
|
39
38
|
height?: number | undefined;
|
|
39
|
+
width?: number | undefined;
|
|
40
40
|
credits?: string | undefined;
|
|
41
41
|
alt?: string | undefined;
|
|
42
42
|
uploader_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ import { Link } from "./Link/Link";
|
|
|
12
12
|
import { default as OrderedList } from "./OrderedList/OrderedList";
|
|
13
13
|
import { default as Paragraph } from "./Paragraph/Paragraph";
|
|
14
14
|
import { Table } from "./Table/Table";
|
|
15
|
-
export declare const MarkExtensions: (import("./
|
|
15
|
+
export declare const MarkExtensions: (import("./Bold/BoldModel").BoldExtension | import("./Italic/ItalicModel").ItalicExtension | import("./Link/LinkModel").LinkExtension | import("./Label/LabelModel").LabelExtension)[];
|
|
16
16
|
export type MarkExtensionName = (typeof MarkExtensions)[number]["name"];
|
|
17
17
|
export declare function getAllExtensions(nodeTypes?: Set<ExtendedRichTextNodeType>): WidgetExtension[];
|
|
18
18
|
export { Bold, BulletList, CodeBlock, Embed, Heading, Image, Italic, Label, Link, OrderedList, Paragraph, Table, };
|