@prismicio/editor-fields 0.4.59-alpha.xru-link-variant-link-style.1 → 0.4.60
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/EditorConfig.d.ts +0 -1
- package/dist/core/service/document.d.ts +0 -1
- package/dist/core/service/documentSearch.d.ts +1 -4
- package/dist/core/service/role.d.ts +2 -2
- package/dist/index.cjs.js +43 -43
- package/dist/index.es.js +10599 -10644
- package/package.json +4 -4
package/dist/EditorConfig.d.ts
CHANGED
|
@@ -3578,7 +3578,6 @@ export declare const documentSchema: z.ZodEffects<z.ZodType<unknown, z.ZodTypeDe
|
|
|
3578
3578
|
};
|
|
3579
3579
|
}, unknown>;
|
|
3580
3580
|
export declare function makeGetDocumentsQueryString(searchDocumentParams: SearchDocumentParams): string;
|
|
3581
|
-
export declare function getEnrichedSearchDocuments(baseUrl: URL, authStrategy: AuthStrategy, searchDocuments: DocumentFullTextSearchApi["results"]): Promise<DocumentMeta[]>;
|
|
3582
3581
|
export declare const sliceItemContentSchema: z.ZodEffects<z.ZodUnknown, {
|
|
3583
3582
|
key: string;
|
|
3584
3583
|
name: string;
|
|
@@ -16,7 +16,6 @@ interface SearchDocumentsArgs {
|
|
|
16
16
|
* TODO: Remove after all repos have been migrated to storageVerison 7 or above (PBD-1908)
|
|
17
17
|
*/
|
|
18
18
|
storageVersion?: Repository["storageVersion"];
|
|
19
|
-
searchDocumentsWithInterestingVersions: boolean;
|
|
20
19
|
track: ((args: {
|
|
21
20
|
numberOfResults: number;
|
|
22
21
|
searchQuery: string;
|
|
@@ -245,7 +244,6 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
245
244
|
readonly authors: string[] | undefined;
|
|
246
245
|
readonly status: ("unclassified" | "published" | "release" | "archived")[] | undefined;
|
|
247
246
|
readonly locale: string | undefined;
|
|
248
|
-
readonly searchDocumentsWithInterestingVersions: boolean;
|
|
249
247
|
readonly track: ((args: {
|
|
250
248
|
numberOfResults: number;
|
|
251
249
|
searchQuery: string;
|
|
@@ -333,7 +331,6 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
333
331
|
readonly authors: string[] | undefined;
|
|
334
332
|
readonly status: ("unclassified" | "published" | "release" | "archived")[] | undefined;
|
|
335
333
|
readonly locale: string | undefined;
|
|
336
|
-
readonly searchDocumentsWithInterestingVersions: boolean;
|
|
337
334
|
readonly track: ((args: {
|
|
338
335
|
numberOfResults: number;
|
|
339
336
|
searchQuery: string;
|
|
@@ -411,5 +408,5 @@ export declare function searchDocumentsQueryOptions(args: SearchDocumentsQueryOp
|
|
|
411
408
|
};
|
|
412
409
|
type SearchDocumentsConfig = Pick<EditorConfig & {
|
|
413
410
|
searchDocuments: true;
|
|
414
|
-
}, "authStrategy" | "coreApiBaseUrl" | "documentSearchBaseUrl" | "repository" | "searchDocuments"
|
|
411
|
+
}, "authStrategy" | "coreApiBaseUrl" | "documentSearchBaseUrl" | "repository" | "searchDocuments">;
|
|
415
412
|
export {};
|
|
@@ -102,7 +102,7 @@ export declare function getTeamSpacesOptions(args: GetTeamSpacesArgs): import("@
|
|
|
102
102
|
customTypes: string[];
|
|
103
103
|
rolesPerLocale?: Record<string, "Manager" | "Writer" | "Readonly"> | undefined;
|
|
104
104
|
rolesPerLocaleByUser?: Record<string, Record<string, "Manager" | "Writer" | "Readonly">> | undefined;
|
|
105
|
-
}[], string[]> & {
|
|
105
|
+
}[], (string | GetTeamSpacesArgs)[]> & {
|
|
106
106
|
initialData?: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").L<{
|
|
107
107
|
results: {
|
|
108
108
|
name: string;
|
|
@@ -113,7 +113,7 @@ export declare function getTeamSpacesOptions(args: GetTeamSpacesArgs): import("@
|
|
|
113
113
|
}[];
|
|
114
114
|
}> | undefined;
|
|
115
115
|
} & {
|
|
116
|
-
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<string[], {
|
|
116
|
+
queryKey: import("@tanstack/query-core/build/legacy/hydration-DTVzC0E7").E<(string | GetTeamSpacesArgs)[], {
|
|
117
117
|
results: {
|
|
118
118
|
name: string;
|
|
119
119
|
id: string;
|