1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "$id": "SchematicsNgRxRootEffect",
|
4 | "title": "NgRx Root Effect Options Schema",
|
5 | "type": "object",
|
6 | "properties": {
|
7 | "name": {
|
8 | "description": "The name of the effect.",
|
9 | "type": "string",
|
10 | "default": "App"
|
11 | },
|
12 | "skipPackageJson": {
|
13 | "type": "boolean",
|
14 | "default": false,
|
15 | "description": "Do not add @ngrx/effects as dependency to package.json (e.g., --skipPackageJson)."
|
16 | },
|
17 | "path": {
|
18 | "type": "string",
|
19 | "format": "path",
|
20 | "description": "The path to create the effect.",
|
21 | "visible": false
|
22 | },
|
23 | "flat": {
|
24 | "type": "boolean",
|
25 | "default": true,
|
26 | "description": "Flag to indicate if a dir is created."
|
27 | },
|
28 | "skipTests": {
|
29 | "type": "boolean",
|
30 | "default": false,
|
31 | "description": "When true, does not create test files."
|
32 | },
|
33 | "project": {
|
34 | "type": "string",
|
35 | "description": "The name of the project.",
|
36 | "aliases": ["p"]
|
37 | },
|
38 | "module": {
|
39 | "type": "string",
|
40 | "default": "app",
|
41 | "description": "Allows specification of the declaring module.",
|
42 | "alias": "m",
|
43 | "subtype": "filepath"
|
44 | },
|
45 | "group": {
|
46 | "type": "boolean",
|
47 | "default": false,
|
48 | "description": "Group effects file within 'effects' folder",
|
49 | "aliases": ["g"]
|
50 | },
|
51 | "minimal": {
|
52 | "type": "boolean",
|
53 | "default": true,
|
54 | "description": "Setup root effects module without registering initial effects."
|
55 | }
|
56 | },
|
57 | "required": []
|
58 | }
|