UNPKG

1.61 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/schema",
3 "$id": "SchematicsNgRxComponentStore",
4 "title": "NgRx Component Store Options Schema",
5 "type": "object",
6 "properties": {
7 "name": {
8 "description": "The name of the component store.",
9 "type": "string",
10 "$default": {
11 "$source": "argv",
12 "index": 0
13 },
14 "x-prompt": "What should be the name of the component store?"
15 },
16 "path": {
17 "type": "string",
18 "format": "path",
19 "description": "The path to create the component store.",
20 "visible": false,
21 "$default": {
22 "$source": "workingDirectory"
23 }
24 },
25 "project": {
26 "type": "string",
27 "description": "The name of the project.",
28 "aliases": ["p"]
29 },
30 "flat": {
31 "type": "boolean",
32 "default": true,
33 "description": "Flag to indicate if a dir is created."
34 },
35 "skipTests": {
36 "type": "boolean",
37 "default": false,
38 "description": "When true, does not create test files."
39 },
40 "component": {
41 "type": "string",
42 "default": "",
43 "description": "Allows specification of the declaring component.",
44 "alias": "m",
45 "subtype": "filepath",
46 "x-prompt": "To which component (path) should the component store be provided in?"
47 },
48 "module": {
49 "type": "string",
50 "default": "",
51 "description": "Allows specification of the declaring module.",
52 "alias": "m",
53 "subtype": "filepath",
54 "x-prompt": "To which module (path) should the component store be provided in?"
55 }
56 },
57 "required": []
58}