@studyportals/sp-r2d2
Version:
A framework that contains various components used when developing projects that will be deployed via AWS λ.
19 lines (18 loc) • 444 B
TypeScript
import { IRequest } from './i-request.interface';
/**
* A simple api gateway request that contains the minimal execution information and request headers.
*/
export interface IApiRequest extends IRequest {
/**
* Gets the request's headers.
*/
readonly headers: {
[key: string]: any;
};
/**
* Gets the request's path parameters.
*/
readonly pathParameters: {
[key: string]: any;
};
}