UNPKG

@r1tsu/payload

Version:

7 lines 411 B
import type { PayloadRequestWithData } from '../types/index.js'; /** * Starts a new transaction using the db adapter with a random id and then assigns it to the req.transaction * @returns true if beginning a transaction and false when req already has a transaction to use */ export declare function initTransaction(req: PayloadRequestWithData): Promise<boolean>; //# sourceMappingURL=initTransaction.d.ts.map