Files
klz-cables.com/.pnpm-store/v10/files/1f/9a099690e0c6a0ae79eda87d33d80518848fc96d4ad083f95ab2a506541f1f1bb461a715f2d55f3fc1495b05c0d496a7daebd1852a4a50c337b74756319508
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

10 lines
542 B
Plaintext

import type { PayloadRequest } from 'payload';
import type { DrizzleAdapter } from '../types.js';
/**
* Returns current db transaction instance from req or adapter.drizzle itself
*
* If a transaction session doesn't exist (e.g., it was already committed/rolled back),
* falls back to the default adapter.drizzle instance to prevent errors.
*/
export declare const getTransaction: <T extends DrizzleAdapter = DrizzleAdapter>(adapter: T, req?: Partial<PayloadRequest>) => Promise<T["drizzle"]>;
//# sourceMappingURL=getTransaction.d.ts.map