amplify-codegen
amplify-codegen copied to clipboard
feat: Add support for JS and TS interfaces/unions
Description of changes
A PR has added support for unions and interfaces.
However, they were still not working for generating models for JS/TS -index.js, index.d.ts, and schema.js metadata file.
This PR aims to complete this work and add the necessary support
Codegen Paramaters Changed or Added
N/A
Issue #, if available
N/A
Description of how you validated changes
Updating and adding tests at the moment.
Checklist
- [X] PR description included
- [ ]
yarn testpasses - [ ] E2E test run linked
- [ ] Tests are changed or added
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.