UNPKG

@athenna/database

Version:

The Athenna database handler for SQL/NoSQL.

29 lines (28 loc) 824 B
/** * @athenna/database * * (c) João Lenon <lenon@athenna.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import { BaseCommand } from '@athenna/artisan'; export declare class MakeCrudCommand extends BaseCommand { name: string; namePascal: string; nameLower: string; isMongo: boolean; properties: any[]; static signature(): string; static description(): string; cleanGenerator(): void; toCase(value: string): any; handle(): Promise<void>; makeModel(): Promise<void>; makeMigration(): Promise<void>; makeController(): Promise<void>; addRoutes(): Promise<void>; makeService(): Promise<void>; makeControllerTest(): Promise<void>; makeServiceTest(): Promise<void>; }