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
857 B
Plaintext
24 lines
857 B
Plaintext
import type { SQL, Table } from 'drizzle-orm';
|
|
import type { FlattenedField, Sort, Where } from 'payload';
|
|
import type { DrizzleAdapter, GenericColumn } from '../types.js';
|
|
import type { BuildQueryJoinAliases } from './buildQuery.js';
|
|
export type QueryContext = {
|
|
rawSort?: SQL;
|
|
sort: Sort;
|
|
};
|
|
type Args = {
|
|
adapter: DrizzleAdapter;
|
|
aliasTable?: Table;
|
|
context: QueryContext;
|
|
fields: FlattenedField[];
|
|
joins: BuildQueryJoinAliases;
|
|
locale?: string;
|
|
parentIsLocalized: boolean;
|
|
selectFields: Record<string, GenericColumn>;
|
|
selectLocale?: boolean;
|
|
tableName: string;
|
|
where: Where;
|
|
};
|
|
export declare function parseParams({ adapter, aliasTable, context, fields, joins, locale, parentIsLocalized, selectFields, selectLocale, tableName, where, }: Args): SQL;
|
|
export {};
|
|
//# sourceMappingURL=parseParams.d.ts.map |