@prismicio/editor-fields 0.4.75 → 0.4.76-alpha.tree-view-component.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.
- package/dist/core/APIExplorer/components/APIExplorerContext.d.ts +38 -14
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigDialog.d.ts +10 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/FilterConfigPathInput.d.ts +9 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/RequestFiltersFieldset.d.ts +5 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/getFilterSnippet.d.ts +2 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/index.d.ts +3 -0
- package/dist/core/APIExplorer/components/Request/components/RequestFiltersFieldset/types.d.ts +34 -0
- package/dist/core/APIExplorer/components/Request/components/RequestRefFieldset.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/components/index.d.ts +1 -0
- package/dist/core/APIExplorer/components/Request/createRequest.d.ts +3 -1
- package/dist/core/APIExplorer/components/Request/index.d.ts +1 -1
- package/dist/core/APIExplorer/components/Request/types.d.ts +1 -1
- package/dist/core/APIExplorer/hooks/useRepositoryCustomTypes.d.ts +1 -1
- package/dist/core/APIExplorer/utils.d.ts +3 -2
- package/dist/core/DeferredBarChart.d.ts +3 -0
- package/dist/core/MediaLibrary/hooks/mediaLibraryData.d.ts +93 -93
- package/dist/core/MediaLibrary/hooks/tagData.d.ts +3 -3
- package/dist/core/MediaLibrary/hooks/useMediaLibraryUpload.d.ts +9 -9
- package/dist/core/MediaLibrary/hooks/useSelectedMedia.d.ts +9 -9
- package/dist/core/UnsplashLibrary/unsplashData.d.ts +18 -18
- package/dist/core/service/customType.d.ts +20 -20
- package/dist/core/service/document.d.ts +188 -188
- package/dist/core/service/documentSearch.d.ts +55 -55
- package/dist/core/service/repository.d.ts +20 -12
- package/dist/core/service/user.d.ts +5 -5
- package/dist/fields/ImageField/useImageField.d.ts +9 -9
- package/dist/fields/ImageField/useImageFieldImageUpload.d.ts +9 -9
- package/dist/fields/IntegrationField/integrationData.d.ts +5 -5
- package/dist/fields/LinkField/Documents/documentsData.d.ts +18 -18
- package/dist/fields/LinkField/LinkField.d.ts +1 -1
- 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 +9 -9
- package/dist/index.cjs.js +90 -90
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +21323 -20616
- 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
|
-
id: string;
|
|
11
10
|
label: string;
|
|
12
11
|
status: boolean;
|
|
12
|
+
id: string;
|
|
13
13
|
repeatable: boolean;
|
|
14
14
|
}, {
|
|
15
|
-
id: string;
|
|
16
15
|
label: string;
|
|
17
16
|
status: boolean;
|
|
17
|
+
id: 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
|
-
id: string;
|
|
28
27
|
label: string;
|
|
29
28
|
status: boolean;
|
|
29
|
+
id: string;
|
|
30
30
|
repeatable: boolean;
|
|
31
31
|
}[], Error, {
|
|
32
|
-
id: string;
|
|
33
32
|
label: string;
|
|
34
33
|
status: boolean;
|
|
34
|
+
id: string;
|
|
35
35
|
repeatable: boolean;
|
|
36
36
|
}[], string[]> & {
|
|
37
37
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
38
|
-
id: string;
|
|
39
38
|
label: string;
|
|
40
39
|
status: boolean;
|
|
40
|
+
id: string;
|
|
41
41
|
repeatable: boolean;
|
|
42
42
|
}[]> | undefined;
|
|
43
43
|
} & {
|
|
44
44
|
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
|
|
45
|
-
id: string;
|
|
46
45
|
label: string;
|
|
47
46
|
status: boolean;
|
|
47
|
+
id: 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
|
-
id: string;
|
|
54
53
|
label: string;
|
|
55
54
|
status: boolean;
|
|
55
|
+
id: string;
|
|
56
56
|
repeatable: boolean;
|
|
57
57
|
}[]>;
|
|
58
58
|
export declare function useCustomTypes(args: CustomTypesOptionsArgs): import("@tanstack/react-query/build/legacy/types").UseSuspenseQueryResult<{
|
|
59
|
-
id: string;
|
|
60
59
|
label: string;
|
|
61
60
|
status: boolean;
|
|
61
|
+
id: 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
|
-
id: string;
|
|
69
68
|
label: string;
|
|
70
69
|
status: boolean;
|
|
70
|
+
id: 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?: "
|
|
157
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
158
158
|
customtypes?: readonly (string | ({
|
|
159
159
|
id: string;
|
|
160
160
|
} & {
|
|
@@ -340,7 +340,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
340
340
|
label?: string | null | undefined;
|
|
341
341
|
useAsTitle?: boolean | undefined;
|
|
342
342
|
placeholder?: string | undefined;
|
|
343
|
-
select?: "
|
|
343
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
344
344
|
customtypes?: readonly (string | ({
|
|
345
345
|
id: string;
|
|
346
346
|
} & {
|
|
@@ -526,7 +526,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
526
526
|
label?: string | null | undefined;
|
|
527
527
|
useAsTitle?: boolean | undefined;
|
|
528
528
|
placeholder?: string | undefined;
|
|
529
|
-
select?: "
|
|
529
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
530
530
|
customtypes?: readonly (string | ({
|
|
531
531
|
id: string;
|
|
532
532
|
} & {
|
|
@@ -722,7 +722,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
722
722
|
label?: string | null | undefined;
|
|
723
723
|
useAsTitle?: boolean | undefined;
|
|
724
724
|
placeholder?: string | undefined;
|
|
725
|
-
select?: "
|
|
725
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
726
726
|
customtypes?: readonly (string | ({
|
|
727
727
|
id: string;
|
|
728
728
|
} & {
|
|
@@ -908,7 +908,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
908
908
|
label?: string | null | undefined;
|
|
909
909
|
useAsTitle?: boolean | undefined;
|
|
910
910
|
placeholder?: string | undefined;
|
|
911
|
-
select?: "
|
|
911
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
912
912
|
customtypes?: readonly (string | ({
|
|
913
913
|
id: string;
|
|
914
914
|
} & {
|
|
@@ -1095,7 +1095,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1095
1095
|
label?: string | null | undefined;
|
|
1096
1096
|
useAsTitle?: boolean | undefined;
|
|
1097
1097
|
placeholder?: string | undefined;
|
|
1098
|
-
select?: "
|
|
1098
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
1099
1099
|
customtypes?: readonly (string | ({
|
|
1100
1100
|
id: string;
|
|
1101
1101
|
} & {
|
|
@@ -1274,7 +1274,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1274
1274
|
label?: string | null | undefined;
|
|
1275
1275
|
useAsTitle?: boolean | undefined;
|
|
1276
1276
|
placeholder?: string | undefined;
|
|
1277
|
-
select?: "
|
|
1277
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
1278
1278
|
customtypes?: readonly (string | ({
|
|
1279
1279
|
id: string;
|
|
1280
1280
|
} & {
|
|
@@ -1469,7 +1469,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1469
1469
|
label?: string | null | undefined;
|
|
1470
1470
|
useAsTitle?: boolean | undefined;
|
|
1471
1471
|
placeholder?: string | undefined;
|
|
1472
|
-
select?: "
|
|
1472
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
1473
1473
|
customtypes?: readonly (string | ({
|
|
1474
1474
|
id: string;
|
|
1475
1475
|
} & {
|
|
@@ -1655,7 +1655,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1655
1655
|
label?: string | null | undefined;
|
|
1656
1656
|
useAsTitle?: boolean | undefined;
|
|
1657
1657
|
placeholder?: string | undefined;
|
|
1658
|
-
select?: "
|
|
1658
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
1659
1659
|
customtypes?: readonly (string | ({
|
|
1660
1660
|
id: string;
|
|
1661
1661
|
} & {
|
|
@@ -1841,7 +1841,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
1841
1841
|
label?: string | null | undefined;
|
|
1842
1842
|
useAsTitle?: boolean | undefined;
|
|
1843
1843
|
placeholder?: string | undefined;
|
|
1844
|
-
select?: "
|
|
1844
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
1845
1845
|
customtypes?: readonly (string | ({
|
|
1846
1846
|
id: string;
|
|
1847
1847
|
} & {
|
|
@@ -2026,7 +2026,7 @@ export declare function useStaticCustomType(args: CustomTypeOptionsArgs): import
|
|
|
2026
2026
|
label?: string | null | undefined;
|
|
2027
2027
|
useAsTitle?: boolean | undefined;
|
|
2028
2028
|
placeholder?: string | undefined;
|
|
2029
|
-
select?: "
|
|
2029
|
+
select?: "document" | "web" | "media" | null | undefined;
|
|
2030
2030
|
customtypes?: readonly (string | ({
|
|
2031
2031
|
id: string;
|
|
2032
2032
|
} & {
|