generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
/// <reference types="node" />
|
||||
import type { IncomingMessage } from 'http';
|
||||
import type { BaseNextRequest } from '../base-http';
|
||||
import type { NextRequest } from '../web/exports';
|
||||
export declare function getServerActionRequestMetadata(req: IncomingMessage | BaseNextRequest | NextRequest): {
|
||||
actionId: string | null;
|
||||
isURLEncodedAction: boolean;
|
||||
isMultipartAction: boolean;
|
||||
isFetchAction: boolean;
|
||||
isServerAction: boolean;
|
||||
};
|
||||
export declare function getIsServerAction(req: IncomingMessage | BaseNextRequest | NextRequest): boolean;
|
||||
Reference in New Issue
Block a user