26 lines
572 B
TypeScript
26 lines
572 B
TypeScript
|
/**
|
||
|
* Creates a new, generic service definition in the given project.
|
||
|
*/
|
||
|
export interface Schema {
|
||
|
/**
|
||
|
* When true (the default), creates files at the top level of the project.
|
||
|
*/
|
||
|
flat?: boolean;
|
||
|
/**
|
||
|
* The name of the service.
|
||
|
*/
|
||
|
name: string;
|
||
|
/**
|
||
|
* The path at which to create the service, relative to the workspace root.
|
||
|
*/
|
||
|
path?: string;
|
||
|
/**
|
||
|
* The name of the project.
|
||
|
*/
|
||
|
project: string;
|
||
|
/**
|
||
|
* Do not create "spec.ts" test files for the new service.
|
||
|
*/
|
||
|
skipTests?: boolean;
|
||
|
}
|