Type alias HttpApiMapper<Context, EventShape, AuthContext, StateShape, Output, Body>
HttpApiMapper<Context, EventShape, AuthContext, StateShape, Output, Body>: Record<string, { handler: ((request) => HttpApiHandlerResponse<Context, EventShape, AuthContext> | Promise<HttpApiHandlerResponse<Context, EventShape, AuthContext>>); responseMapper: ((input) => HttpApiResponse<Body> | Promise<HttpApiResponse<Body>>); }>
Type Parameters
-
Context = object
-
-
-
-
Output = unknown
-
Body = unknown