@cadriciel/module-schema-orm
v0.3.2
Published
Sequelize model generator for Cadriciel
Readme
🏗️ @cadriciel/module-schema-orm
The synchronization engine for Sequelize models. It bridges the gap between the database schema and TypeScript code.
Features
- Hot-Reloading: Watches for schema changes (via
schema_changestable) and triggers model re-generation. - Model Generation: (External script) Generates optimized Sequelize TypeScript models from database reflection.
- Type Safety: Ensures generated models are fully typed for IDE support.
Usage
import SchemaOrmModule from "@cadriciel/module-schema-orm";
kernel.load(SchemaOrmModule);This module works in tandem with the generate:orm command to keep your backend code in sync with your database evolution.
