-
-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathschema.json
114 lines (114 loc) · 3.12 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"$schema": "http://json-schema.org/schema",
"$id": "SchematicsNgRxContainer",
"title": "NgRx Container Options Schema",
"type": "object",
"properties": {
"path": {
"type": "string",
"format": "path",
"description": "The path to create the component.",
"visible": false,
"$default": {
"$source": "workingDirectory"
}
},
"project": {
"type": "string",
"description": "The name of the project.",
"aliases": ["p"]
},
"name": {
"type": "string",
"description": "The name of the component.",
"$default": {
"$source": "argv",
"index": 0
},
"x-prompt": "What should be the name of the container component?"
},
"inlineStyle": {
"description": "Specifies if the style will be in the ts file.",
"type": "boolean",
"alias": "s"
},
"inlineTemplate": {
"description": "Specifies if the template will be in the ts file.",
"type": "boolean",
"alias": "t"
},
"viewEncapsulation": {
"description": "Specifies the view encapsulation strategy.",
"enum": ["Emulated", "Native", "None"],
"type": "string",
"alias": "v"
},
"changeDetection": {
"description": "Specifies the change detection strategy.",
"enum": ["Default", "OnPush"],
"type": "string",
"alias": "c"
},
"prefix": {
"type": "string",
"format": "html-selector",
"description": "The prefix to apply to generated selectors.",
"alias": "p"
},
"style": {
"description": "The file extension or preprocessor to use for style files.",
"type": "string"
},
"skipTests": {
"type": "boolean",
"description": "When true, does not create test files."
},
"flat": {
"type": "boolean",
"description": "Flag to indicate if a dir is created."
},
"skipImport": {
"type": "boolean",
"description": "Flag to skip the module import."
},
"selector": {
"type": "string",
"format": "html-selector",
"description": "The selector to use for the component."
},
"module": {
"type": "string",
"description": "Allows specification of the declaring module.",
"alias": "m"
},
"export": {
"type": "boolean",
"description": "Specifies if declaring module exports the component."
},
"state": {
"type": "string",
"description": "Specifies the path to the state exports."
},
"stateInterface": {
"type": "string",
"default": "State",
"description": "Specifies the interface for the state."
},
"testDepth": {
"description": "Specifies whether to create a unit test or an integration test.",
"enum": ["unit", "integration"],
"type": "string",
"default": "integration"
},
"standalone": {
"description": "Whether the generated component is standalone.",
"type": "boolean"
},
"displayBlock": {
"description": "Specifies if the style will contain :host { display: block; }.",
"type": "boolean",
"alias": "b"
}
},
"required": []
}