/
schema.json
47 lines (47 loc) · 1.25 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
{
"$schema": "http://json-schema.org/schema",
"id": "component-story",
"type": "object",
"properties": {
"libPath": {
"type": "string",
"description": "Path to the library",
"examples": ["libs/ui-samples"]
},
"moduleFileName": {
"type": "string",
"description": "File name of the module that declares this component",
"examples": ["ui-samples.module.ts"],
"x-deprecated": true
},
"ngModuleClassName": {
"type": "string",
"description": "Class name of the module that declares this component",
"examples": ["UiSamplesModule"],
"x-deprecated": true
},
"componentName": {
"type": "string",
"description": "Class name of the component",
"examples": ["AwesomeComponent"]
},
"componentPath": {
"type": "string",
"description": "Relative path to the component file from the library root",
"examples": ["awesome"]
},
"componentFileName": {
"type": "string",
"description": "Component file name without the .ts extension",
"examples": ["awesome.component"]
}
},
"required": [
"libPath",
"moduleFileName",
"ngModuleClassName",
"componentName",
"componentPath",
"componentFileName"
]
}