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
25 lines
1003 B
Plaintext
25 lines
1003 B
Plaintext
import type { SanitizedCollectionConfig } from '../../collections/config/types.js';
|
|
import type { FlattenedField } from '../../fields/config/types.js';
|
|
import type { SanitizedGlobalConfig } from '../../globals/config/types.js';
|
|
import type { PayloadRequest, Where } from '../../types/index.js';
|
|
import type { EntityPolicies } from './types.js';
|
|
type Args = {
|
|
errors?: {
|
|
path: string;
|
|
}[];
|
|
overrideAccess: boolean;
|
|
policies?: EntityPolicies;
|
|
polymorphicJoin?: boolean;
|
|
req: PayloadRequest;
|
|
versionFields?: FlattenedField[];
|
|
where: Where;
|
|
} & ({
|
|
collectionConfig: SanitizedCollectionConfig;
|
|
globalConfig?: never | undefined;
|
|
} | {
|
|
collectionConfig?: never | undefined;
|
|
globalConfig: SanitizedGlobalConfig;
|
|
});
|
|
export declare function validateQueryPaths({ collectionConfig, errors, globalConfig, overrideAccess, policies, polymorphicJoin, req, versionFields, where, }: Args): Promise<void>;
|
|
export {};
|
|
//# sourceMappingURL=validateQueryPaths.d.ts.map |