From 2f9c332b8476f244414ea8c508348676e201ac88 Mon Sep 17 00:00:00 2001 From: svozza Date: Fri, 8 Nov 2024 17:45:28 +0000 Subject: [PATCH] address initial PR comments --- packages/parser/package.json | 14 ++++++++++++-- packages/parser/src/schemas/appsync.ts | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/packages/parser/package.json b/packages/parser/package.json index 6aa7e7430..8670b22f7 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -59,6 +59,10 @@ "require": "./lib/cjs/schemas/apigwv2.js", "import": "./lib/esm/schemas/apigwv2.js" }, + "./schemas/appsync": { + "require": "./lib/cjs/schemas/appsync.js", + "import": "./lib/esm/schemas/appsync.js" + }, "./schemas/cloudformation-custom-resources": { "require": "./lib/cjs/schemas/cloudformation-custom-resources.js", "import": "./lib/esm/schemas/cloudformation-custom-resources.js" @@ -235,7 +239,10 @@ "./lib/cjs/schemas/lambda.d.ts", "./lib/esm/schemas/lambda.d.ts" ], - "schemas/s3": ["./lib/cjs/schemas/s3.d.ts", "./lib/esm/schemas/s3.d.ts"], + "schemas/s3": [ + "./lib/cjs/schemas/s3.d.ts", + "./lib/esm/schemas/s3.d.ts" + ], "schemas/ses": [ "./lib/cjs/schemas/ses.d.ts", "./lib/esm/schemas/ses.d.ts" @@ -312,7 +319,10 @@ "./lib/cjs/envelopes/vpc-latticev2.d.ts", "./lib/esm/envelopes/vpc-latticev2.d.ts" ], - "helpers": ["./lib/cjs/helpers.d.ts", "./lib/esm/helpers.d.ts"] + "helpers": [ + "./lib/cjs/helpers.d.ts", + "./lib/esm/helpers.d.ts" + ] } }, "main": "./lib/cjs/index.js", diff --git a/packages/parser/src/schemas/appsync.ts b/packages/parser/src/schemas/appsync.ts index 10efca8be..0ef16a295 100644 --- a/packages/parser/src/schemas/appsync.ts +++ b/packages/parser/src/schemas/appsync.ts @@ -131,7 +131,7 @@ const AppSyncResolverSchema = z.object({ * A zod schema for a batch AppSync resolver event * * @example - * /* + * ```json * [{ * "arguments": { * "id": "1973493"