I wanted a way to create TypeScript interfaces from the jsonSchema
definition found in objection.js
models and created a simple script that will allow you to do this.
I'm assuming you have your project set up to work with Typescript.
Then you will need the following packages:
npm i json-schema-to-typescript fast-glob ts-node-dev ts-node --save-dev