/strapi-to-typescript

Convert the strapi models to typescript.

Primary LanguageTypeScriptMIT LicenseMIT

Strapi-to-TypeScript

Convert the Strapi models to TypeScript interfaces by processing each of the ./api/**/models/*.settings.json recursively.

Build

npm i
npm 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.