Files
klz-cables.com/.pnpm-store/v10/files/54/9b67dcdb8b18f71c7e45793c915bb65d6060c189d3ed892b8f9e8b5fc12773b79eb5e640595c4f9028a638a07695d024b33bfe7e1ad386fed98a2a21dbc03c
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

22 lines
921 B
Plaintext

import type { SQL, Table } from 'drizzle-orm';
import type { FlattenedField, Sort } from 'payload';
import type { DrizzleAdapter, GenericColumn } from '../types.js';
import type { BuildQueryJoinAliases, BuildQueryResult } from './buildQuery.js';
type Args = {
adapter: DrizzleAdapter;
aliasTable?: Table;
fields: FlattenedField[];
joins: BuildQueryJoinAliases;
locale?: string;
parentIsLocalized: boolean;
rawSort?: SQL;
selectFields: Record<string, GenericColumn>;
sort?: Sort;
tableName: string;
};
/**
* Gets the order by column and direction constructed from the sort argument adds the column to the select fields and joins if necessary
*/
export declare const buildOrderBy: ({ adapter, aliasTable, fields, joins, locale, parentIsLocalized, rawSort, selectFields, sort, tableName, }: Args) => BuildQueryResult["orderBy"];
export {};
//# sourceMappingURL=buildOrderBy.d.ts.map