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
17 lines
899 B
Plaintext
17 lines
899 B
Plaintext
interface Options {
|
|
formData?: FormData;
|
|
/**
|
|
* Headers as returned from `headers()`.
|
|
*
|
|
* Currently accepts both a plain `Headers` object and `Promise<ReadonlyHeaders>` to be compatible with async APIs introduced in Next.js 15: https://github.com/vercel/next.js/pull/68812
|
|
*/
|
|
headers?: Headers | Promise<any>;
|
|
/**
|
|
* Whether the server action response should be included in any events captured within the server action.
|
|
*/
|
|
recordResponse?: boolean;
|
|
}
|
|
export declare function withServerActionInstrumentation<A extends (...args: any[]) => any>(serverActionName: string, callback: A): Promise<ReturnType<A>>;
|
|
export declare function withServerActionInstrumentation<A extends (...args: any[]) => any>(serverActionName: string, options: Options, callback: A): Promise<ReturnType<A>>;
|
|
export {};
|
|
//# sourceMappingURL=withServerActionInstrumentation.d.ts.map |