1 | import { BaseCommand } from '@adonisjs/core/build/standalone';
|
2 |
|
3 |
|
4 |
|
5 | export default class MakeFactory extends BaseCommand {
|
6 | static commandName: string;
|
7 | static description: string;
|
8 | |
9 |
|
10 |
|
11 | model: string;
|
12 | |
13 |
|
14 |
|
15 | modelPath: string;
|
16 | exact: boolean;
|
17 | |
18 |
|
19 |
|
20 | private generateModelImportPath;
|
21 | |
22 |
|
23 |
|
24 | protected getDestinationPath(): string;
|
25 | |
26 |
|
27 |
|
28 | protected templateData(): {
|
29 | model: string;
|
30 | modelImportPath: string;
|
31 | toModelName: () => (model: string, render: any) => any;
|
32 | };
|
33 | run(): Promise<void>;
|
34 | }
|