Skip to content

Commit 9b77ef1

Browse files
committed
feat(parser): add comprehensive Cognito trigger schemas
- Implemented 12 new Zod schemas for Cognito Lambda triggers: - Pre-Signup, Post-Confirmation, Pre-Authentication, Post-Authentication - Pre-Token Generation (V1 & V2), Migrate User - Custom Message, Custom Email Sender, Custom SMS Sender - Define Auth Challenge, Create Auth Challenge, Verify Auth Challenge - Updated schemas/index.ts for dedicated exports - Added unit tests in cognito.test.ts following Prepare/Act/Assess format
1 parent 7e100d3 commit 9b77ef1

File tree

4 files changed

+1067
-6
lines changed

4 files changed

+1067
-6
lines changed

packages/parser/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
"require": "./lib/cjs/schemas/cloudwatch.js",
7373
"import": "./lib/esm/schemas/cloudwatch.js"
7474
},
75+
"./schemas/cognito": {
76+
"require": "./lib/cjs/schemas/cognito.js",
77+
"import": "./lib/esm/schemas/cognito.js"
78+
},
7579
"./schemas/dynamodb": {
7680
"require": "./lib/cjs/schemas/dynamodb.js",
7781
"import": "./lib/esm/schemas/dynamodb.js"
@@ -183,6 +187,10 @@
183187
"./lib/cjs/schemas/cloudwatch.d.ts",
184188
"./lib/esm/schemas/cloudwatch.d.ts"
185189
],
190+
"schemas/cognito":[
191+
"./lib/cjs/schemas/cognito.d.ts",
192+
"./lib/esm/schemas/cognito.d.ts"
193+
],
186194
"schemas/dynamodb": [
187195
"./lib/cjs/schemas/dynamodb.d.ts",
188196
"./lib/esm/schemas/dynamodb.d.ts"

0 commit comments

Comments
 (0)