41 lines
904 B
TypeScript
Executable file
41 lines
904 B
TypeScript
Executable file
/**
|
|
* Creates a new, generic pipe definition in the given project.
|
|
*/
|
|
export interface Schema {
|
|
/**
|
|
* The declaring NgModule exports this pipe.
|
|
*/
|
|
export?: boolean;
|
|
/**
|
|
* When true (the default) creates files at the top level of the project.
|
|
*/
|
|
flat?: boolean;
|
|
/**
|
|
* The declaring NgModule.
|
|
*/
|
|
module?: string;
|
|
/**
|
|
* The name of the pipe.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* The path at which to create the pipe, relative to the workspace root.
|
|
*/
|
|
path?: string;
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project: string;
|
|
/**
|
|
* Do not import this pipe into the owning NgModule.
|
|
*/
|
|
skipImport?: boolean;
|
|
/**
|
|
* Do not create "spec.ts" test files for the new pipe.
|
|
*/
|
|
skipTests?: boolean;
|
|
/**
|
|
* Whether the generated pipe is standalone.
|
|
*/
|
|
standalone?: boolean;
|
|
}
|