1 | {
|
2 | "$schema": "http://json-schema.org/schema",
|
3 | "$id": "SchematicsNgRxData",
|
4 | "title": "NgRx Data Options Schema",
|
5 | "type": "object",
|
6 | "properties": {
|
7 | "name": {
|
8 | "description": "The name of the data entity.",
|
9 | "type": "string",
|
10 | "$default": {
|
11 | "$source": "argv",
|
12 | "index": 0
|
13 | }
|
14 | },
|
15 | "path": {
|
16 | "type": "string",
|
17 | "format": "path",
|
18 | "description": "The path to create the service.",
|
19 | "visible": false,
|
20 | "$default": {
|
21 | "$source": "workingDirectory"
|
22 | }
|
23 | },
|
24 | "project": {
|
25 | "type": "string",
|
26 | "description": "The name of the project.",
|
27 | "aliases": ["p"]
|
28 | },
|
29 | "skipTests": {
|
30 | "type": "boolean",
|
31 | "description": "When true, does not create test files.",
|
32 | "default": false
|
33 | },
|
34 | "flat": {
|
35 | "type": "boolean",
|
36 | "default": true,
|
37 | "description": "Flag to indicate if a dir is created."
|
38 | },
|
39 | "group": {
|
40 | "type": "boolean",
|
41 | "default": false,
|
42 | "description": "Group the services within relative subfolders",
|
43 | "aliases": ["g"]
|
44 | }
|
45 | },
|
46 | "required": []
|
47 | }
|