We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d7c69 commit c50f25dCopy full SHA for c50f25d
index.d.ts
@@ -3,26 +3,26 @@
3
4
export function handler(routeConfig: RouteConfig): any;
5
6
-interface ProxyIntegrationRoute {
+export interface ProxyIntegrationRoute {
7
path: string;
8
method: string;
9
action?: (request: any) => any;
10
}
11
12
-interface ProxyIntegrationConfig {
+export interface ProxyIntegrationConfig {
13
cors: boolean;
14
routes: ProxyIntegrationRoute[];
15
debug?: boolean;
16
errorMapping?: any;
17
defaultHeaders?: string;
18
19
20
-interface SnsRoute {
+export interface SnsRoute {
21
subject: any;
22
action?: (sns: any) => any;
23
24
25
-interface SnsConfig {
+export interface SnsConfig {
26
routes: SnsRoute[];
27
28
0 commit comments