UNPKG

572 BTypeScriptView Raw
1/**
2 * Creates a new, generic service definition in the given 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 * The name of the service.
11 */
12 name: string;
13 /**
14 * The path at which to create the service, relative to the workspace root.
15 */
16 path?: string;
17 /**
18 * The name of the project.
19 */
20 project: string;
21 /**
22 * Do not create "spec.ts" test files for the new service.
23 */
24 skipTests?: boolean;
25}