From 5d81ebaa05bb09ee95e0c7b0e290b47c47d78a89 Mon Sep 17 00:00:00 2001 From: Chris McLeod Date: Sun, 21 Apr 2019 13:14:08 -0500 Subject: [PATCH] Update main module to export dictionary Exporting the dictionary is useful for tooling. Closes https://github.com/serverless/event-mocks/issues/7 --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index 7cef3fd..c1b4b45 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -29,7 +29,7 @@ import alexaSkillEventTemplate from "./events/aws/alexa-skill-event-template.jso import cloudWatchEventTemplate from "./events/aws/cloud-watch-event-template.json"; import cognitoUserPoolEventTemplate from "./events/aws/cognito-user-pool-event-template.json"; -const dictionary = { +export const dictionary = { "aws:sns": snsTemplate as SNSEvent, "aws:sqs": sqsTemplate as SQSEvent, "aws:apiGateway": apiGatewayTemplate as APIGatewayEvent,