Join Slack
Powered by
I am working on the image resize one, but even the...
# help
b
Bob Wall
06/20/2022, 2:26 PM
I am working on the image resize one, but even the appsync functions are using this type -
https://github.com/serverless-stack/serverless-stack/blob/master/examples/graphql-appsync/api/functions/lambda.ts
f
Frank
06/20/2022, 2:33 PM
Hmm definitely shouldn’t be
APIGatewayProxyHandlerV2
. Will update!
b
Bob Wall
06/20/2022, 2:54 PM
by chance, what should it be for an s3 event
Bob Wall
06/20/2022, 2:55 PM
this is the s3 event that i am working through -
https://github.com/serverless-stack/serverless-stack/blob/master/examples/bucket-image-resize/api/functions/resize.ts
f
Frank
06/21/2022, 7:32 PM
I think it should be
S3Handler
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/b1531302ae0883690b6424400d7b9e9295c6277f/types/aws-lambda/trigger/s3.d.ts
Frank
06/23/2022, 12:04 AM
Leaving a note here that the examples have been updated with correct types
Open in Slack
Previous
Next