UNPKG

972 BTypeScriptView Raw
1/**
2 * Creates a new, generic pipe definition in the given or default project.
3 */
4export interface Schema {
5 /**
6 * The declaring NgModule exports this pipe.
7 */
8 export?: boolean;
9 /**
10 * When true (the default) creates files at the top level of the project.
11 */
12 flat?: boolean;
13 /**
14 * Apply lint fixes after generating the pipe.
15 * @deprecated Use "ng lint --fix" directly instead.
16 */
17 lintFix?: boolean;
18 /**
19 * The declaring NgModule.
20 */
21 module?: string;
22 /**
23 * The name of the pipe.
24 */
25 name: string;
26 /**
27 * The path at which to create the pipe, relative to the workspace root.
28 */
29 path?: string;
30 /**
31 * The name of the project.
32 */
33 project?: string;
34 /**
35 * Do not import this pipe into the owning NgModule.
36 */
37 skipImport?: boolean;
38 /**
39 * Do not create "spec.ts" test files for the new pipe.
40 */
41 skipTests?: boolean;
42}