Files
klz-cables.com/.pnpm-store/v10/files/29/992a77685f6e2cf034bab8fa802d590ebced270e8e69790aa0ca1a53c11d6b3301afbc7a78392e523db031e6204f421cb4de6972f19245b58ec5b5ad878bc2
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

16 lines
1018 B
Plaintext

import type { FieldAffectingData } from 'payload';
import { GraphQLInputObjectType } from 'graphql';
/**
* In GraphQL, you can use "where" as an argument to filter a collection. Example:
* { Posts(where: { title: { equals: "Hello" } }) { text } }
* This function defines the operators for a field's condition in the "where" argument of the collection (it thus gets called for every field).
* For example, in the example above, it would control that
* - "equals" is a valid operator for the "title" field
* - the accepted type of the "equals" argument has to be a string.
*
* @param field the field for which their valid operators inside a "where" argument is being defined
* @param parentName the name of the parent field (if any)
* @returns all the operators (including their types) which can be used as a condition for a given field inside a where
*/
export declare const withOperators: (field: FieldAffectingData, parentName: string) => GraphQLInputObjectType;
//# sourceMappingURL=withOperators.d.ts.map