Files
klz-cables.com/.pnpm-store/v10/files/f5/c111b58d7afcc3bf62a493d662c4d5bb7ad77a30850b5fdc3653114fed36fd93a8e053a54364e08eaadc529d81589a26145cebcf40aa5baab02b66d703d4c5
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

47 lines
1.3 KiB
Plaintext

import type { SQL } from 'drizzle-orm';
import type { FlattenedField, JoinQuery, PayloadRequest, SelectType } from 'payload';
import type { DrizzleAdapter, DrizzleTransaction, GenericColumn } from '../types.js';
type BaseArgs = {
adapter: DrizzleAdapter;
/**
* Collection slug for error reporting
*/
collectionSlug?: string;
data: Record<string, unknown>;
db: DrizzleAdapter['drizzle'] | DrizzleTransaction;
fields: FlattenedField[];
/**
* Collection slug for error reporting
*/
globalSlug?: string;
/**
* When true, skips reading the data back from the database and returns the input data
* @default false
*/
ignoreResult?: 'idOnly' | boolean;
joinQuery?: JoinQuery;
path?: string;
req?: Partial<PayloadRequest>;
tableName: string;
};
type CreateArgs = {
customID?: number | string;
id?: never;
joinQuery?: never;
operation: 'create';
select?: SelectType;
upsertTarget?: never;
where?: never;
} & BaseArgs;
type UpdateArgs = {
customID?: never;
id?: number | string;
joinQuery?: JoinQuery;
operation: 'update';
select?: SelectType;
upsertTarget?: GenericColumn;
where?: SQL<unknown>;
} & BaseArgs;
export type Args = CreateArgs | UpdateArgs;
export {};
//# sourceMappingURL=types.d.ts.map