Skip to content

Commit dffebb4

Browse files
hello Request
1 parent 8c72af5 commit dffebb4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/types/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ export * as Destination from './destination';
33
export * as Handler from './handler';
44
export * as Hooks from './hooks';
55
export * as Mapping from './mapping';
6+
export * as Request from './request';
67
export * as Schema from './schema';
78
export * as WalkerOS from './walkeros';

packages/types/src/request.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export interface Context {
2+
city?: string;
3+
country?: string;
4+
encoding?: string;
5+
ip?: string;
6+
language?: string;
7+
origin?: string;
8+
region?: string;
9+
userAgent?: string;
10+
}

0 commit comments

Comments
 (0)