A Directus extension that automatically generates TypeScript, Python, and OpenAPI types from your Directus schema.
directus-extension-generate-types is a Directus module that automatically generates type definitions for your Directus project's schema. It creates TypeScript interfaces, Python type hints, and OpenAPI specifications based on your collections and fields, helping developers maintain type safety and reduce manual errors.
Directus developers and teams who want to integrate type-safe code with their Directus backend, particularly those using TypeScript or Python in their frontend or API clients.
It saves time by automating type generation, ensures consistency between your Directus schema and application code, and supports multiple languages to fit various tech stacks.
Create types for your directus project in your favourite language.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates types for TypeScript, Python Type Hints, and OpenAPI, allowing integration across diverse tech stacks, as listed in the README's 'Currently supports' section.
Automatically creates type definitions from Directus collections, fields, and relationships, reducing manual errors and ensuring consistency with the data model.
Installs as a Directus module by placing a file and enabling it in project settings, making setup straightforward for existing Directus projects, per the installation steps.
Built to support additional languages through contributions, encouraging community-driven growth, as highlighted in the README's contribute section.
Only supports three languages with vague future plans ('More soon™'), missing popular options like Java, C#, or Go, which limits its utility for broader teams.
Requires downloading from GitHub releases and manually placing files, which is more cumbersome and error-prone compared to package manager installations or CLI tools.
Tightly coupled with Directus, so updates to Directus core may break compatibility or require manual updates, as it's a third-party extension without guaranteed sync.