UNPKG

723 BTypeScriptView Raw
1/**
2 * Creates a new, generic interceptor definition in the given or default project.
3 */
4export interface Schema {
5 /**
6 * When true (the default), creates files at the top level of the project.
7 */
8 flat?: boolean;
9 /**
10 * When true, applies lint fixes after generating the interceptor.
11 */
12 lintFix?: boolean;
13 /**
14 * The name of the interceptor.
15 */
16 name: string;
17 /**
18 * The path at which to create the interceptor, relative to the workspace root.
19 */
20 path?: string;
21 /**
22 * The name of the project.
23 */
24 project?: string;
25 /**
26 * When true, does not create "spec.ts" test files for the new interceptor.
27 */
28 skipTests?: boolean;
29}