Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /**
|
---|
2 | * Creates a new, generic NgModule definition in the given or default project.
|
---|
3 | */
|
---|
4 | export interface Schema {
|
---|
5 | /**
|
---|
6 | * The new NgModule imports "CommonModule".
|
---|
7 | */
|
---|
8 | commonModule?: boolean;
|
---|
9 | /**
|
---|
10 | * Create the new files at the top level of the current project root.
|
---|
11 | */
|
---|
12 | flat?: boolean;
|
---|
13 | /**
|
---|
14 | * Apply lint fixes after generating the module.
|
---|
15 | * @deprecated Use "ng lint --fix" directly instead.
|
---|
16 | */
|
---|
17 | lintFix?: boolean;
|
---|
18 | /**
|
---|
19 | * The declaring NgModule.
|
---|
20 | */
|
---|
21 | module?: string;
|
---|
22 | /**
|
---|
23 | * The name of the NgModule.
|
---|
24 | */
|
---|
25 | name: string;
|
---|
26 | /**
|
---|
27 | * The path at which to create the NgModule, relative to the workspace root.
|
---|
28 | */
|
---|
29 | path?: string;
|
---|
30 | /**
|
---|
31 | * The name of the project.
|
---|
32 | */
|
---|
33 | project?: string;
|
---|
34 | /**
|
---|
35 | * The route path for a lazy-loaded module. When supplied, creates a component in the new
|
---|
36 | * module, and adds the route to that component in the `Routes` array declared in the module
|
---|
37 | * provided in the `--module` option.
|
---|
38 | */
|
---|
39 | route?: string;
|
---|
40 | /**
|
---|
41 | * Create a routing module.
|
---|
42 | */
|
---|
43 | routing?: boolean;
|
---|
44 | /**
|
---|
45 | * The scope for the new routing module.
|
---|
46 | */
|
---|
47 | routingScope?: RoutingScope;
|
---|
48 | }
|
---|
49 | /**
|
---|
50 | * The scope for the new routing module.
|
---|
51 | */
|
---|
52 | export declare enum RoutingScope {
|
---|
53 | Child = "Child",
|
---|
54 | Root = "Root"
|
---|
55 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.