@tsdiapi/crud
Version:
A TSDIAPI plugin that provides automatic CRUD (Create, Read, Update, Delete) API generation for your database entities. It generates TypeScript modules and services with full type safety, validation, and best practices.
17 lines • 348 B
JavaScript
const defaultConfig = {};
class App {
name = 'tsdiapi-crud';
config;
context;
services = [];
constructor(config) {
this.config = { ...config };
}
async onInit(ctx) {
this.context = ctx;
}
}
export default function createPlugin(config) {
return new App(config);
}
//# sourceMappingURL=index.js.map