Generate database schema from Typescript interfaces

Viewed 458

I'm trying to generate a schema based on the AWS SDK interfaces. We're trying to build a inventory of all resources over multiple accounts. These API call's give me a lot of JSON, and I need an easy way to store that in a relational database.

So my question is can I generate a SQL database schema (for postgresql or mysql) based on interfaces without adding entity annotations (those are needed for typeorm for example).

0 Answers
Related