Files
klz-cables.com/.pnpm-store/v10/files/b0/6b3528f967628ffccd4d8dfca9460fa75eddb23618372c425c30d2d2cbd9f93f10ec1e230c784f2cbef892a6905918614047d30e9a9388f717b115630d4ab8
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

19 lines
709 B
Plaintext

import type { PayloadRequest } from 'payload';
import type { DrizzleAdapter } from '../types.js';
type HandleUpsertErrorArgs = {
adapter: DrizzleAdapter;
collectionSlug?: string;
error: unknown;
globalSlug?: string;
id?: number | string;
req?: Partial<PayloadRequest>;
tableName: string;
};
/**
* Handles unique constraint violation errors from PostgreSQL and SQLite,
* converting them to Payload ValidationErrors.
* Re-throws non-constraint errors unchanged.
*/
export declare const handleUpsertError: ({ id, adapter, collectionSlug, error: caughtError, globalSlug, req, tableName, }: HandleUpsertErrorArgs) => never;
export {};
//# sourceMappingURL=handleUpsertError.d.ts.map