mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
47 lines
986 B
TypeScript
47 lines
986 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
export interface Schema {
|
|
/**
|
|
* The name of the pipe.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* The path to create the pipe.
|
|
*/
|
|
path?: string;
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project?: string;
|
|
/**
|
|
* Flag to indicate if a dir is created.
|
|
*/
|
|
flat?: boolean;
|
|
/**
|
|
* Specifies if a spec file is generated.
|
|
*/
|
|
spec?: boolean;
|
|
/**
|
|
* Allows for skipping the module import.
|
|
*/
|
|
skipImport?: boolean;
|
|
/**
|
|
* Allows specification of the declaring module.
|
|
*/
|
|
module?: string;
|
|
/**
|
|
* Specifies if declaring module exports the pipe.
|
|
*/
|
|
export?: boolean;
|
|
/**
|
|
* Specifies whether to apply lint fixes after generating the component.
|
|
*/
|
|
lintFix?: boolean;
|
|
}
|