import { BaseGenerator } from '@adonisjs/assembler/build/commands/Make/Base'; /** * Command to make a new model Observer */ export default class Make extends BaseGenerator { /** * Required by BaseGenerator */ protected suffix: string; protected form: "singular"; protected pattern: "pascalcase"; protected resourceName: string; protected createExact: boolean; static commandName: string; static description: string; private modelPath; static settings: { loadApp: boolean; stayAlive: boolean; }; observerName: string; model: string; isGlobal: boolean; /** * Pull path from the `observers` directory declaration from * the `.adonisrc.json` file or fallback to `app/Observers` */ protected getDestinationPath(): string; /** * Returns the template stub */ protected getStub(): string; protected templateData(): any; prepare(): Promise; run(): Promise; }