nestjs-reverse-engineering
Version:
A powerful TypeScript/NestJS library for database reverse engineering, entity generation, and CRUD operations
29 lines • 967 B
TypeScript
import { DynamicModule } from '@nestjs/common';
import { ReverseEngineeringConfigInput } from './types/config.types';
export interface ReverseEngineeringModuleOptions extends ReverseEngineeringConfigInput {
/**
* Whether to expose REST API endpoints
* @default true
*/
enableAPI?: boolean;
/**
* Whether to make the module global
* @default false
*/
isGlobal?: boolean;
}
export declare class ReverseEngineeringModule {
/**
* Configure the module with provided options
*/
static forRoot(options: ReverseEngineeringModuleOptions): DynamicModule;
/**
* Configure the module for async initialization
*/
static forRootAsync(options: {
useFactory?: (...args: any[]) => Promise<ReverseEngineeringModuleOptions> | ReverseEngineeringModuleOptions;
inject?: any[];
isGlobal?: boolean;
}): DynamicModule;
}
//# sourceMappingURL=reverse-engineering-module-new.d.ts.map