payload-authjs
Version:
A Payload CMS 3 plugin for Auth.js 5
8 lines (7 loc) • 304 B
TypeScript
import { type Collection, type PayloadRequest } from "payload";
/**
* Get the collection from the request
*
* @see https://github.com/payloadcms/payload/blob/main/packages/payload/src/utilities/getRequestEntity.ts#L8
*/
export declare const getRequestCollection: (req: PayloadRequest) => Collection;