1 |
|
2 | export declare type SentryRequestType = 'event' | 'transaction' | 'session' | 'attachment';
|
3 |
|
4 | export interface SentryRequest {
|
5 | body: string;
|
6 | type: SentryRequestType;
|
7 | url: string;
|
8 | }
|
9 |
|
10 | export interface Request {
|
11 | url?: string;
|
12 | method?: string;
|
13 | data?: any;
|
14 | query_string?: QueryParams;
|
15 | cookies?: {
|
16 | [key: string]: string;
|
17 | };
|
18 | env?: {
|
19 | [key: string]: string;
|
20 | };
|
21 | headers?: {
|
22 | [key: string]: string;
|
23 | };
|
24 | }
|
25 | export declare type QueryParams = string | {
|
26 | [key: string]: string;
|
27 | } | Array<[string, string]>;
|
28 |
|
\ | No newline at end of file |