UNPKG

964 BTypeScriptView Raw
1/**
2 * Creates a new generic pipe definition in the given or default project.
3 */
4export interface Schema {
5 /**
6 * When true, 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 * When true, applies lint fixes after generating the pipe.
15 */
16 lintFix?: boolean;
17 /**
18 * The declaring NgModule.
19 */
20 module?: string;
21 /**
22 * The name of the pipe.
23 */
24 name: string;
25 /**
26 * The path at which to create the pipe, relative to the workspace root.
27 */
28 path?: string;
29 /**
30 * The name of the project.
31 */
32 project?: string;
33 /**
34 * When true, does not import this pipe into the owning NgModule.
35 */
36 skipImport?: boolean;
37 /**
38 * When true, does not create "spec.ts" test files for the new pipe.
39 */
40 skipTests?: boolean;
41}