forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
41 lines (41 loc) · 939 Bytes
/
Copy pathschema.json
File metadata and controls
41 lines (41 loc) · 939 Bytes
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
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsAngularClass",
"title": "Angular Class Options Schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the class.",
"$default": {
"$source": "argv",
"index": 0
}
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the class.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"spec": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"default": false
},
"type": {
"type": "string",
"description": "Specifies the type of class.",
"default": ""
}
},
"required": [],
"additionalProperties": false
}