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
14 lines
648 B
Plaintext
14 lines
648 B
Plaintext
import type { ImportMap, InitReqResult, SanitizedConfig } from 'payload';
|
|
import { createLocalReq } from 'payload';
|
|
/**
|
|
* Initializes a full request object, including the `req` object and access control.
|
|
* As access control and getting the request locale is dependent on the current URL and
|
|
*/
|
|
export declare const initReq: ({ canSetHeaders, configPromise, importMap, key, overrides, }: {
|
|
canSetHeaders?: boolean;
|
|
configPromise: Promise<SanitizedConfig> | SanitizedConfig;
|
|
importMap: ImportMap;
|
|
key: string;
|
|
overrides?: Parameters<typeof createLocalReq>[0];
|
|
}) => Promise<InitReqResult>;
|
|
//# sourceMappingURL=initReq.d.ts.map |