31 lines
754 B
TypeScript
31 lines
754 B
TypeScript
|
/**
|
||
|
* Creates a new, generic interceptor definition in the given or default project.
|
||
|
*/
|
||
|
export interface Schema {
|
||
|
/**
|
||
|
* When true (the default), creates files at the top level of the project.
|
||
|
*/
|
||
|
flat?: boolean;
|
||
|
/**
|
||
|
* Apply lint fixes after generating the interceptor.
|
||
|
* @deprecated Use "ng lint --fix" directly instead.
|
||
|
*/
|
||
|
lintFix?: boolean;
|
||
|
/**
|
||
|
* The name of the interceptor.
|
||
|
*/
|
||
|
name: string;
|
||
|
/**
|
||
|
* The path at which to create the interceptor, relative to the workspace root.
|
||
|
*/
|
||
|
path?: string;
|
||
|
/**
|
||
|
* The name of the project.
|
||
|
*/
|
||
|
project?: string;
|
||
|
/**
|
||
|
* Do not create "spec.ts" test files for the new interceptor.
|
||
|
*/
|
||
|
skipTests?: boolean;
|
||
|
}
|