Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
734 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * Creates a new, generic service definition in the given or default project.
|
---|
3 | */
|
---|
4 | export interface Schema {
|
---|
5 | /**
|
---|
6 | * When true (the default), creates files at the top level of the project.
|
---|
7 | */
|
---|
8 | flat?: boolean;
|
---|
9 | /**
|
---|
10 | * Apply lint fixes after generating the service.
|
---|
11 | * @deprecated Use "ng lint --fix" directly instead.
|
---|
12 | */
|
---|
13 | lintFix?: boolean;
|
---|
14 | /**
|
---|
15 | * The name of the service.
|
---|
16 | */
|
---|
17 | name: string;
|
---|
18 | /**
|
---|
19 | * The path at which to create the service, relative to the workspace root.
|
---|
20 | */
|
---|
21 | path?: string;
|
---|
22 | /**
|
---|
23 | * The name of the project.
|
---|
24 | */
|
---|
25 | project?: string;
|
---|
26 | /**
|
---|
27 | * Do not create "spec.ts" test files for the new service.
|
---|
28 | */
|
---|
29 | skipTests?: boolean;
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.