Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
24 lines
814 B
Plaintext
24 lines
814 B
Plaintext
import type { SanitizedCollectionConfig } from '../collections/config/types.js';
|
|
import type { JoinQuery, PayloadRequest } from '../types/index.js';
|
|
type Args = {
|
|
collectionConfig: SanitizedCollectionConfig;
|
|
joins?: JoinQuery;
|
|
overrideAccess: boolean;
|
|
req: PayloadRequest;
|
|
};
|
|
/**
|
|
* * Validates `where` for each join
|
|
* * Combines the access result for joined collection
|
|
* * Combines the default join's `where`
|
|
*/
|
|
export declare const sanitizeJoinQuery: ({ collectionConfig, joins: joinsQuery, overrideAccess, req, }: Args) => Promise<false | Partial<{
|
|
[x: string]: false | {
|
|
count?: boolean;
|
|
limit?: number;
|
|
page?: number;
|
|
sort?: string;
|
|
where?: import("../types/index.js").Where;
|
|
};
|
|
}>>;
|
|
export {};
|
|
//# sourceMappingURL=sanitizeJoinQuery.d.ts.map |