1 |
|
2 |
|
3 |
|
4 | export interface Schema {
|
5 | |
6 |
|
7 |
|
8 | commonModule?: boolean;
|
9 | |
10 |
|
11 |
|
12 | flat?: boolean;
|
13 | |
14 |
|
15 |
|
16 | lintFix?: boolean;
|
17 | |
18 |
|
19 |
|
20 | module?: string;
|
21 | /**
|
22 | * The name of the NgModule.
|
23 | */
|
24 | name: string;
|
25 | /**
|
26 | * The path at which to create the NgModule, relative to the workspace root.
|
27 | */
|
28 | path?: string;
|
29 | /**
|
30 | * The name of the project.
|
31 | */
|
32 | project?: string;
|
33 | /**
|
34 | * The route path for a lazy-loaded module. When supplied, creates a component in the new
|
35 | * module, and adds the route to that component in the `Routes` array declared in the module
|
36 | * provided in the `--module` option.
|
37 | */
|
38 | route?: string;
|
39 | /**
|
40 | * When true, creates a routing module.
|
41 | */
|
42 | routing?: boolean;
|
43 | /**
|
44 | * The scope for the new routing module.
|
45 | */
|
46 | routingScope?: RoutingScope;
|
47 | }
|
48 | /**
|
49 | * The scope for the new routing module.
|
50 | */
|
51 | export declare enum RoutingScope {
|
52 | Child = "Child",
|
53 | Root = "Root"
|
54 | }
|