You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
/**
|
|
* Creates a new, generic directive definition in the given or default project.
|
|
*/
|
|
export interface Schema {
|
|
/**
|
|
* The declaring NgModule exports this directive.
|
|
*/
|
|
export?: boolean;
|
|
/**
|
|
* When true (the default), creates the new files at the top level of the current project.
|
|
*/
|
|
flat?: boolean;
|
|
/**
|
|
* Apply lint fixes after generating the directive.
|
|
* @deprecated Use "ng lint --fix" directly instead.
|
|
*/
|
|
lintFix?: boolean;
|
|
/**
|
|
* The declaring NgModule.
|
|
*/
|
|
module?: string;
|
|
/**
|
|
* The name of the new directive.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* The path at which to create the interface that defines the directive, relative to the
|
|
* workspace root.
|
|
*/
|
|
path?: string;
|
|
/**
|
|
* A prefix to apply to generated selectors.
|
|
*/
|
|
prefix?: string;
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project?: string;
|
|
/**
|
|
* The HTML selector to use for this directive.
|
|
*/
|
|
selector?: string;
|
|
/**
|
|
* Do not import this directive into the owning NgModule.
|
|
*/
|
|
skipImport?: boolean;
|
|
/**
|
|
* Do not create "spec.ts" test files for the new class.
|
|
*/
|
|
skipTests?: boolean;
|
|
}
|