# MongooseGenerateHook Class

Module
import { MongooseGenerateHook } from "@tsed/cli-plugin-mongoose"
Source/packages/cli-plugin-mongoose/src/hooks/MongooseGenerateHook.ts

# Overview

class MongooseGenerateHook {
    projectPackageJson: ProjectPackageJson;
    srcRenderService: SrcRendererService;
    cliMongoose: CliMongoose;
    packages: any[];
    protected cliDockerComposeYaml: CliDockerComposeYaml;
    constructor(providersInfoService: ProvidersInfoService);
    onGenerateExec(ctx: GenerateCmdContext): Tasks;
}

# Members

projectPackageJson: ProjectPackageJson

srcRenderService: SrcRendererService

cliMongoose: CliMongoose

packages: any[]

protected cliDockerComposeYaml: CliDockerComposeYaml

onGenerateExec(ctx: GenerateCmdContext): Tasks