Skip to content

Commit 7d8d1b5

Browse files
committed
chore: link parser package
1 parent 88e5708 commit 7d8d1b5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/event-handler/src/types/appsync-events.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ type RouteOptions<T extends boolean | undefined = false> = {
161161

162162
// #region Events
163163

164+
/**
165+
* Event type for AppSync Events.
166+
*
167+
* For strongly typed validation and parsing at runtime, check out the `@aws-lambda-powertools/parser` package.
168+
*/
164169
type AppSyncEventsEvent = {
165170
/**
166171
* The `identity` field is marked as `unknown` because it varies based on the authentication type used in AppSync.
@@ -234,6 +239,9 @@ type AppSyncEventsEvent = {
234239
* }
235240
* ]
236241
* }
242+
*
243+
* For strongly typed validation and parsing at runtime, check out the `@aws-lambda-powertools/parser` package.
244+
*
237245
* ```
238246
*/
239247
type AppSyncEventsPublishEvent = AppSyncEventsEvent & {
@@ -277,6 +285,8 @@ type AppSyncEventsPublishEvent = AppSyncEventsEvent & {
277285
* "events": null
278286
* }
279287
* ```
288+
*
289+
* For strongly typed validation and parsing at runtime, check out the `@aws-lambda-powertools/parser` package.
280290
*/
281291
type AppSyncEventsSubscribeEvent = AppSyncEventsEvent & {
282292
info: {

0 commit comments

Comments
 (0)