UNPKG

@studyportals/sp-r2d2

Version:

A framework that contains various components used when developing projects that will be deployed via AWS λ.

62 lines (61 loc) 8.66 kB
import { EventTranslationError } from './core/errors/event-translation-error.class'; import { IEventTranslator } from './core/event-translation-interfaces/i-event-translator.interface'; import { IEventTranslatorFactory } from './core/event-translation-interfaces/i-event-translator-factory.interface'; import { IEventHandler } from './core/event-handling-interfaces/i-event-handler.interface'; import { FilteringEventHandlerDecorator } from './core/event-handling/filtering-event-handler-decorator.class'; import { CorsFilteringEventHandlerDecorator } from './core/event-handling/cors-filtering-event-handler-decorator.class'; import { ApplicationEventHandler } from './core/event-handling/application-event-handler.class'; import { PingEventHandlerDecorator } from './core/event-handling/ping-event-handler-decorator.class'; import { IResponseSender } from './core/response-sending-interfaces/i-response-sender.interface'; import { IResponseSenderFactory } from './core/response-sending-interfaces/i-response-sender-factory.interface'; import { BaseResponseSender } from './core/response-sending/base-response-sender.class'; import { IBootstrapper } from './bootstrapping-interfaces/i-bootstrapper.interface'; import { IBootstrapperFactory } from './bootstrapping-interfaces/i-bootstrapper-factory.interface'; import { BaseBootstrapper } from './bootstrapping/base-bootstrapper.class'; import { BaseBootstrapperFactory } from './bootstrapping/base-bootstrapper-factory.class'; import { ApiGatewayEventTranslator } from './execution-environments/api-gateway/event-translation/api-gateway-event-translator.class'; import { ApiGatewayEventTranslatorFactory } from './execution-environments/api-gateway/event-translation/api-gateway-event-translator-factory.class'; import { CognitoAuthorizedApiGatewayEventTranslator } from './execution-environments/api-gateway/event-translation/cognito-authorized-api-gateway-event-translator.class'; import { CognitoAuthorizedApiGatewayEventTranslatorFactory } from './execution-environments/api-gateway/event-translation/cognito-authorized-api-gateway-event-translator-factory.class'; import { HttpResponseSender } from './execution-environments/api-gateway/response-sending/http-response-sender.class'; import { HttpResponseSenderFactory } from './execution-environments/api-gateway/response-sending/http-response-sender-factory.class'; import { HttpResponse } from './execution-environments/api-gateway/http-responses/http-response.class'; import { BadRequestResponse } from './execution-environments/api-gateway/http-responses/bad-request-response.class'; import { CreatedResponse } from './execution-environments/api-gateway/http-responses/created-response.class'; import { InternalServerErrorResponse } from './execution-environments/api-gateway/http-responses/internal-server-error-response.class'; import { NotFoundResponse } from './execution-environments/api-gateway/http-responses/not-found-response.class'; import { SuccessResponse } from './execution-environments/api-gateway/http-responses/success-response.class'; import { UnauthorizedResponse } from './execution-environments/api-gateway/http-responses/unauthorized-response.class'; import { SnsEventTranslator } from './execution-environments/sns/event-translation/sns-event-translator.class'; import { SnsEventTranslatorFactory } from './execution-environments/sns/event-translation/sns-event-translator-factory.class'; import { SnsResponseSenderFactory } from './execution-environments/sns/response-sending/sns-response-sender-factory.class'; import { S3EventTranslator } from './execution-environments/s3/event-translation/s3-event-translator.class'; import { S3EventTranslatorFactory } from './execution-environments/s3/event-translation/s3-event-translator-factory.class'; import { S3ResponseSenderFactory } from './execution-environments/s3/response-sending/s3-response-sender-factory.class'; import { ScheduledEventTranslator } from './execution-environments/scheduler/event-translation/scheduled-event-translator.class'; import { ScheduledEventTranslatorFactory } from './execution-environments/scheduler/event-translation/scheduled-event-translator-factory.class'; import { SchedulerResponseSenderFactory } from './execution-environments/scheduler/response-sending/scheduler-response-sender-factory.class'; import { SingleRecordSqsEventTranslator } from './execution-environments/sqs/event-translation/single-record-sqs-event-translator.class'; import { SingleRecordSqsSnsMessageTranslator } from './execution-environments/sqs/event-translation/single-record-sqs-sns-message-translator.class'; import { MultiRecordSqsEventTranslator } from './execution-environments/sqs/event-translation/multi-record-sqs-event-translator.class'; import { SingleRecordSqsEventTranslatorFactory } from './execution-environments/sqs/event-translation/single-record-sqs-event-translator-factory.class'; import { SingleRecordSqsSnsMessageTranslatorFactory } from './execution-environments/sqs/event-translation/single-record-sqs-sns-message-translator-factory.class'; import { MultiRecordSqsEventTranslatorFactory } from './execution-environments/sqs/event-translation/multi-record-sqs-event-translator-factory.class'; import { ConsoleEventTranslator } from './execution-environments/console/event-translation/console-event-translator.class'; import { ConsoleEventTranslatorFactory } from './execution-environments/console/event-translation/console-event-translator-factory.class'; import { ConsoleResponseSenderFactory } from './execution-environments/console/response-sending/console-response-sender-factory.class'; import { ConsoleEvent } from './execution-environments/console/types/console-event.type'; import { SqsResponseSenderFactory } from './execution-environments/sqs/response-sending/sqs-response-sender-factory.class'; import { LambdaHandler } from './lambda/lambda-handler.class'; import { FilteringLambdaHandler } from './lambda/filtering-lambda-handler.class'; import { CorsFilteringLambdaHandler } from './lambda/cors-filtering-lambda-handler.class'; import { IEventFilterFactory } from './core/event-filtering-interfaces/i-event-filter-factory.interface'; import { CorsHttpEventFilterFactory } from './core/event-filtering/cors-http-event-filter-factory.class'; import { BaseEventFilter } from './core/event-filtering/base-event-filter.class'; import { CorsHttpEventFilter } from './core/event-filtering/cors-http-event-filter.class'; import { IEventFilter } from './core/event-filtering-interfaces/i-event-filter.interface'; import { WarmUpEventHandlerDecorator } from './core/event-handling/warm-up-event-handler-decorator.class'; import { IApiGatewayEventTranslatorOptions } from './execution-environments/api-gateway/event-translation/i-api-gateway-event-translator-options'; import { DynamoDBStreamEventTranslator } from './execution-environments/dynamodb/event-translation/dynamo-db-stream-event-translator.class'; import { DynamoDBStreamEventTranslatorFactory } from './execution-environments/dynamodb/event-translation/dynamo-db-stream-event-translator-factory.class'; export { IBootstrapper, IBootstrapperFactory, BaseBootstrapper, BaseBootstrapperFactory, IResponseSender, IResponseSenderFactory, BaseResponseSender, SchedulerResponseSenderFactory, SnsResponseSenderFactory, S3ResponseSenderFactory, SqsResponseSenderFactory, HttpResponseSender, HttpResponseSenderFactory, HttpResponse, BadRequestResponse, CreatedResponse, InternalServerErrorResponse, NotFoundResponse, SuccessResponse, UnauthorizedResponse, EventTranslationError, IEventTranslator, IEventTranslatorFactory, IApiGatewayEventTranslatorOptions, ApiGatewayEventTranslator, ApiGatewayEventTranslatorFactory, CognitoAuthorizedApiGatewayEventTranslator, CognitoAuthorizedApiGatewayEventTranslatorFactory, SnsEventTranslator, SnsEventTranslatorFactory, S3EventTranslator, S3EventTranslatorFactory, ScheduledEventTranslator, ScheduledEventTranslatorFactory, SingleRecordSqsEventTranslator, SingleRecordSqsEventTranslatorFactory, SingleRecordSqsSnsMessageTranslator, SingleRecordSqsSnsMessageTranslatorFactory, MultiRecordSqsEventTranslator, MultiRecordSqsEventTranslatorFactory, ConsoleEventTranslator, ConsoleEventTranslatorFactory, ConsoleResponseSenderFactory, ConsoleEvent, DynamoDBStreamEventTranslator, DynamoDBStreamEventTranslatorFactory, IEventHandler, FilteringEventHandlerDecorator, CorsFilteringEventHandlerDecorator, PingEventHandlerDecorator, ApplicationEventHandler, WarmUpEventHandlerDecorator, IEventFilterFactory, CorsHttpEventFilterFactory, IEventFilter, BaseEventFilter, CorsHttpEventFilter, LambdaHandler, FilteringLambdaHandler, CorsFilteringLambdaHandler, };