UNPKG

@bitblit/epsilon

Version:

Tiny adapter to simplify building API gateway Lambda APIS

11 lines (10 loc) 355 B
import { APIGatewayEvent, Context } from 'aws-lambda'; import { JwtTokenBase } from '@bitblit/ratchet/common'; export interface DefaultEpsilonApolloContext<T extends JwtTokenBase> { user?: T; bearerTokenString?: string; headers: Record<string, string>; functionName: string; lambdaEvent: APIGatewayEvent; lambdaContext: Context; }