Strapi-to-TypeScript
Convert the Strapi models to TypeScript interfaces by processing each of the ./api/**/models/*.settings.json
recursively.
Install and Run
npm install -g strapi-to-typescriptsts path/to/strapi/api/ -o path/to/your/types/dir/
Build
npm inpm run start
Explanation
The input folder is recursively processed and each model file is read. When done, the expected output folder is generated, and finally, the Strapi models are converted to TypeScript.