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