aws-amplify / aws-amplify/amplify-data
How to get Types and Enums ? (Angular)
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 23
- Avg merge
- 26m
- Merged PRs (30d)
- 1
Description
Hi,
I've just started Gen 2.
Why don't you generate a TypeScript file with all the types and enums, so that we can import them into the front-end code ?
It would be great if Amplify could automatically generate a file of types and enums in Amplify folder, directly usable for the front-end.
Typing helps to avoid many errors.
Contributor guide
Research direction
Start by reviewing the Gen 2 data-model workflow and how the Amplify folder is generated for Angular projects. Define the expected generated TypeScript types and enums and confirm that frontend code can import them; done means the requested file is generated automatically and is usable by the frontend.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100