Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/types/src/misc.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { QueryParams } from './request';

/**
* Data extracted from an incoming request to a node server
*/
Expand All @@ -16,8 +18,8 @@ export interface ExtractedNodeRequestData {
/** String representing the cookies sent along with the request */
cookies?: { [key: string]: string };

/** The request's query string, without the leading '?' */
query_string?: string;
/** The request's query params */
query_string?: QueryParams;

/** Any data sent in the request's body, as a JSON string */
data?: string;
Expand Down