UNPKG

1.4 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "SchematicsNgRxRootState",
4 "title": "NgRx Root State Management Options Schema",
5 "type": "object",
6 "properties": {
7 "skipPackageJson": {
8 "type": "boolean",
9 "default": false,
10 "description": "Do not add @ngrx/store as dependency to package.json (e.g., --skipPackageJson)."
11 },
12 "path": {
13 "type": "string",
14 "format": "path",
15 "description": "The path to create the state.",
16 "visible": false,
17 "$default": {
18 "$source": "workingDirectory"
19 }
20 },
21 "project": {
22 "type": "string",
23 "description": "The name of the project.",
24 "aliases": ["p"]
25 },
26 "module": {
27 "type": "string",
28 "default": "app",
29 "description": "Allows specification of the declaring module.",
30 "alias": "m",
31 "subtype": "filepath"
32 },
33 "maxAge": {
34 "type": "number",
35 "default": 25,
36 "description": "number (>1) | 0 - maximum allowed actions to be stored in the history tree. The oldest actions are removed once maxAge is reached. It's critical for performance. 0 is infinite. Default is 25 for performance reasons."
37 },
38 "autoPause": {
39 "type": "boolean",
40 "default": false,
41 "description": "boolean - pauses recording actions and state changes when the extension window is not open."
42 }
43 },
44 "required": []
45}