26 lines
572 B
TypeScript
26 lines
572 B
TypeScript
/**
|
|
* Creates a new, generic class definition in the given project.
|
|
*/
|
|
export interface Schema {
|
|
/**
|
|
* The name of the new class.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* The path at which to create the class, relative to the workspace root.
|
|
*/
|
|
path?: string;
|
|
/**
|
|
* The name of the project.
|
|
*/
|
|
project: string;
|
|
/**
|
|
* Do not create "spec.ts" test files for the new class.
|
|
*/
|
|
skipTests?: boolean;
|
|
/**
|
|
* Adds a developer-defined type to the filename, in the format "name.type.ts".
|
|
*/
|
|
type?: string;
|
|
}
|