# TypeORMGenerateHook Class

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

# Overview

class TypeORMGenerateHook {
    projectPackageJson: ProjectPackageJson;
    srcRenderService: SrcRendererService;
    cliTypeORM: CliTypeORM;
    packages: any[];
    protected cliDockerComposeYaml: CliDockerComposeYaml;
    constructor(providersInfoService: ProvidersInfoService);
    onGeneratePrompt(): Promise<QuestionOptions>;
    onGenerateExec(ctx: TypeORMGenerateOptions): Tasks;
}

# Members

projectPackageJson: ProjectPackageJson

srcRenderService: SrcRendererService

cliTypeORM: CliTypeORM

packages: any[]

protected cliDockerComposeYaml: CliDockerComposeYaml

onGeneratePrompt(): Promise<QuestionOptions>

onGenerateExec(ctx: TypeORMGenerateOptions): Tasks