UNPKG

@rxdi/schematics

Version:

45 lines (43 loc) 805 B
import { Path } from '@angular-devkit/core'; export interface ControllerOptions { /** * The name of the controller. */ name: string; /** * The path to create the controller. */ path?: string | Path; /** * The path to insert the controller declaration. */ module?: Path; /** * Directive to insert declaration in module. */ skipImport?: boolean; /** * Metadata name affected by declaration insertion. */ metadata?: string; /** * Nest element type name */ type?: string; /** * Application language. */ language?: string; /** * The source root path */ sourceRoot?: string; /** * Specifies if a spec file is generated. */ spec?: boolean; /** * Flag to indicate if a directory is created. */ flat?: boolean; }