A suite of tools to automatically generates TypeScript types for your Directus schema, making it easier to work with your Directus data in a type-safe manner.
This suite features support for O2M, M2O, M2M and M2A relations.
- directus-extension-ts-typegen - Directus module extension to generate the types via gui
- directus-ts-typegen - CLI to integrate the type generaton directly in your code base
- @directus-ts-typegen/shared - Core type generation logic used in the extension and CLI
- directus-extension-generate-types - Initial inspiration for this project
Published under the MIT License.
Need help or found a bug? Please open an issue on the project repository.
