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