-
Notifications
You must be signed in to change notification settings - Fork 153
feat(parser): add TransferFamilySchema for AWS Transfer Family events #3575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(parser): add TransferFamilySchema for AWS Transfer Family events #3575
Conversation
…and docs - Implemented TransferFamilySchema using Zod for AWS Transfer Family events. - Updated type definitions, package exports, and documentation. - Added unit tests and a test event JSON file to ensure validation.
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @VatsalGoel3, thank you for the PR.
Please revert the changes made to all the package.json
files and the main package-lock.json
. Zod is already present int the environment so there's no need to install it again.
Also, please don't modify the PR template or it will interfere with our CI.
We'll review the PR once the diff is fixed, of course let us know if you need any help.
Hi @dreamorosi, Also, I noticed a SonarCloud Quality Gate failure due to 2 security hotspots. Let me know if I need to address anything in my changes to rectify it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for reverting the unintended changes.
I've left a few more comments on the actual changes, we're getting there.
Let's make this round of changes and see if they solve the SonarCube alerts, if not I'll share more info.
Thank you again!
Also, we require all PRs to have this text in the description:
This was part of the template but it's been edited and the wording has changed. Before we can merge it we'll need you to either add it back or acknowledge that you agree with this wording. |
|
@dreamorosi Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this PR and addressing all the review comments!
And congrats for getting your first PR in this project merged 🎉
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience! |
Summary
This PR adds a new built-in schema for AWS Transfer Family events.
Changes
TransferFamilySchema
using Zod to validate AWS Transfer Family events.schema.ts
and updated package exports (package.json
).TransferFamilySchema
as a built-in schema.tests/events/transfer-family/base.json
).tests/unit/schema/transfer-family.test.ts
) for schema validation.Issue number: closes #3518
Checklist ✅
npm test -w packages/parser
).docs/parser.md
).By submitting this pull request, I confirm that I have read and followed the Powertools for AWS Lambda (TypeScript) contributing guidelines, and I confirm that you can use, modify, copy, and redistribute this contribution under the terms of your choice.