-
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
schema.json
60 lines (60 loc) · 1.43 KB
/
schema.json
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
51
52
53
54
55
56
57
58
59
60
{
"$schema": "http://json-schema.org/schema",
"id": "SchematicsNgRxReducer",
"title": "NgRx Reducer Options Schema",
"type": "object",
"properties": {
"name": {
"description": "The name of the reducer.",
"type": "string",
"$default": {
"$source": "argv",
"index": 0
}
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the component.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"visible": false,
"aliases": ["p"]
},
"spec": {
"type": "boolean",
"description": "Specifies if a spec file is generated.",
"default": true
},
"module": {
"type": "string",
"description": "Specifies the declaring module.",
"aliases": ["m"]
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a dir is created."
},
"feature": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if part of a feature schematic."
},
"reducers": {
"type": "string",
"description": "Specifies the reducers file.",
"aliases": ["r"]
},
"group": {
"type": "boolean",
"default": false,
"description": "Group reducer file within 'reducers' folder",
"aliases": ["g"]
}
},
"required": []
}