source: trip-planner-front/node_modules/@schematics/angular/module/schema.json@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[6a3a178]1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularModule",
4 "title": "Angular Module Options Schema",
5 "type": "object",
6 "additionalProperties": false,
7 "description": "Creates a new, generic NgModule definition in the given or default project.",
8 "properties": {
9 "name": {
10 "type": "string",
11 "description": "The name of the NgModule.",
12 "$default": {
13 "$source": "argv",
14 "index": 0
15 },
16 "x-prompt": "What name would you like to use for the NgModule?"
17 },
18 "path": {
19 "type": "string",
20 "format": "path",
21 "description": "The path at which to create the NgModule, relative to the workspace root.",
22 "visible": false
23 },
24 "project": {
25 "type": "string",
26 "description": "The name of the project.",
27 "$default": {
28 "$source": "projectName"
29 }
30 },
31 "routing": {
32 "type": "boolean",
33 "description": "Create a routing module.",
34 "default": false,
35 "x-user-analytics": 17
36 },
37 "routingScope": {
38 "enum": ["Child", "Root"],
39 "type": "string",
40 "description": "The scope for the new routing module.",
41 "default": "Child"
42 },
43 "route": {
44 "type": "string",
45 "description": "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."
46 },
47 "flat": {
48 "type": "boolean",
49 "description": "Create the new files at the top level of the current project root. ",
50 "default": false
51 },
52 "commonModule": {
53 "type": "boolean",
54 "description": "The new NgModule imports \"CommonModule\". ",
55 "default": true,
56 "visible": false
57 },
58 "module": {
59 "type": "string",
60 "description": "The declaring NgModule.",
61 "alias": "m"
62 },
63 "lintFix": {
64 "type": "boolean",
65 "description": "Apply lint fixes after generating the module.",
66 "x-user-analytics": 15,
67 "x-deprecated": "Use \"ng lint --fix\" directly instead."
68 }
69 },
70 "required": ["name"]
71}
Note: See TracBrowser for help on using the repository browser.