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 | },
|
18 | "project": {
|
19 | "type": "string",
|
20 | "description": "The name of the project.",
|
21 | "aliases": ["p"]
|
22 | },
|
23 | "module": {
|
24 | "type": "string",
|
25 | "default": "app",
|
26 | "description": "Allows specification of the declaring module.",
|
27 | "alias": "m",
|
28 | "subtype": "filepath"
|
29 | },
|
30 | "maxAge": {
|
31 | "type": "number",
|
32 | "default": 25,
|
33 | "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."
|
34 | },
|
35 | "autoPause": {
|
36 | "type": "boolean",
|
37 | "default": false,
|
38 | "description": "boolean - pauses recording actions and state changes when the extension window is not open."
|
39 | }
|
40 | },
|
41 | "required": []
|
42 | }
|