@rxap/schematic-angular 16.2.0-dev.7 → 16.2.0-dev.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/package.json +8 -8
- package/src/lib/table-column.js +43 -41
- package/src/lib/table-column.js.map +1 -1
- package/src/schematics/accordion/accordion-component/schema.json +372 -0
- package/src/schematics/accordion/accordion-item-component/schema.json +295 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +396 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +352 -0
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +654 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +637 -0
- package/src/schematics/data-grid-component/schema.json +358 -0
- package/src/schematics/dialog-component/schema.json +240 -0
- package/src/schematics/form/control/input-form-control/schema.json +388 -0
- package/src/schematics/form/control/select-form-control/schema.json +394 -0
- package/src/schematics/form/control/table-select-form-control/schema.json +443 -0
- package/src/schematics/form/form-component/schema.json +352 -0
- package/src/schematics/form/form-control/schema.json +325 -0
- package/src/schematics/form/form-definition/schema.json +333 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +309 -0
- package/src/schematics/table/action/form-table-action/schema.json +422 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +279 -0
- package/src/schematics/table/action/open-api-table-action/schema.json +307 -0
- package/src/schematics/table/action/operation-table-action/schema.json +265 -0
- package/src/schematics/table/header-button/form-table-header-button/schema.json +338 -0
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +260 -0
- package/src/schematics/table/table-action/schema.json +261 -0
- package/src/schematics/table/table-component/schema.json +604 -0
- package/src/schematics/table/table-header-button/schema.json +242 -0
- package/src/schematics/table/tree-table-component/schema.json +587 -0
- package/src/schematics/tree-component/schema.json +123 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "form-definition-schematic",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"project": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "Project name where the files should be generated"
|
|
13
|
+
},
|
|
14
|
+
"feature": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Feature name where the files should be generated"
|
|
17
|
+
},
|
|
18
|
+
"overwrite": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"description": "Overwrite existing files",
|
|
31
|
+
"default": false
|
|
32
|
+
},
|
|
33
|
+
"overwriteHtml": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"default": false
|
|
36
|
+
},
|
|
37
|
+
"replace": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"default": false
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"project"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"componentName": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"name": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"context": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
58
|
+
},
|
|
59
|
+
"nestModule": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "The module name for the table nest operations"
|
|
62
|
+
},
|
|
63
|
+
"controllerName": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"backend": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "The backend that should be used to handel data",
|
|
69
|
+
"enum": [
|
|
70
|
+
"none",
|
|
71
|
+
"nestjs",
|
|
72
|
+
"open-api",
|
|
73
|
+
"local"
|
|
74
|
+
],
|
|
75
|
+
"default": "none"
|
|
76
|
+
},
|
|
77
|
+
"directory": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "A directory name or absolute path where the files should be generated. Relative to the project and feature base path if a feature is defined"
|
|
80
|
+
},
|
|
81
|
+
"shared": {
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"description": "Whether the generated code is used across the project",
|
|
84
|
+
"default": false
|
|
85
|
+
},
|
|
86
|
+
"scope": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"prefix": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"openApi": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"additionalProperties": true
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"controlList": {
|
|
104
|
+
"alias": "control",
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"name": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "The name of the control"
|
|
112
|
+
},
|
|
113
|
+
"type": {
|
|
114
|
+
"$ref": "#/definitions/type"
|
|
115
|
+
},
|
|
116
|
+
"isArray": {
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"description": "Whether the control value is an array",
|
|
119
|
+
"default": false
|
|
120
|
+
},
|
|
121
|
+
"state": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"description": "The initial state of the control"
|
|
124
|
+
},
|
|
125
|
+
"isRequired": {
|
|
126
|
+
"type": "boolean",
|
|
127
|
+
"description": "Whether the control value is required",
|
|
128
|
+
"default": false
|
|
129
|
+
},
|
|
130
|
+
"isReadonly": {
|
|
131
|
+
"type": "boolean",
|
|
132
|
+
"description": "Whether the control value is readonly",
|
|
133
|
+
"default": false
|
|
134
|
+
},
|
|
135
|
+
"isDisabled": {
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"description": "Whether the control value is disabled",
|
|
138
|
+
"default": false
|
|
139
|
+
},
|
|
140
|
+
"validatorList": {
|
|
141
|
+
"type": "array",
|
|
142
|
+
"items": {
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"kind": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "The name of the template",
|
|
149
|
+
"enum": [
|
|
150
|
+
"default",
|
|
151
|
+
"input",
|
|
152
|
+
"select",
|
|
153
|
+
"checkbox",
|
|
154
|
+
"autocomplete-table-select",
|
|
155
|
+
"table-select",
|
|
156
|
+
"textarea",
|
|
157
|
+
"slide-toggle"
|
|
158
|
+
],
|
|
159
|
+
"default": "default"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"name"
|
|
164
|
+
],
|
|
165
|
+
"additionalProperties": true
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": [
|
|
170
|
+
"controlList"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"standalone": {
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"description": "Whether the form definition has a form.provider file",
|
|
179
|
+
"default": true
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"definitions": {
|
|
185
|
+
"type": {
|
|
186
|
+
"oneOf": [
|
|
187
|
+
{
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"name": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
"isTypeOnly": {
|
|
197
|
+
"type": "boolean"
|
|
198
|
+
},
|
|
199
|
+
"moduleSpecifier": {
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"namedImport": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
},
|
|
205
|
+
"namespaceImport": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
"defaultImport": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"required": [
|
|
213
|
+
"name"
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
"property": {
|
|
219
|
+
"oneOf": [
|
|
220
|
+
{
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"name": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"type": {
|
|
230
|
+
"$ref": "#/definitions/type"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": [
|
|
234
|
+
"name"
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
],
|
|
238
|
+
"definitions": {
|
|
239
|
+
"type": {
|
|
240
|
+
"oneOf": [
|
|
241
|
+
{
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"name": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
"isTypeOnly": {
|
|
251
|
+
"type": "boolean"
|
|
252
|
+
},
|
|
253
|
+
"moduleSpecifier": {
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"namedImport": {
|
|
257
|
+
"type": "string"
|
|
258
|
+
},
|
|
259
|
+
"namespaceImport": {
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"defaultImport": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"name"
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
]
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"button": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"properties": {
|
|
277
|
+
"svgIcon": {
|
|
278
|
+
"type": "string"
|
|
279
|
+
},
|
|
280
|
+
"icon": {
|
|
281
|
+
"type": "string"
|
|
282
|
+
},
|
|
283
|
+
"directiveList": {
|
|
284
|
+
"type": "array",
|
|
285
|
+
"items": {
|
|
286
|
+
"$ref": "#/definitions/type"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
"importList": {
|
|
290
|
+
"type": "array",
|
|
291
|
+
"items": {
|
|
292
|
+
"$ref": "#/definitions/type"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"definitions": {
|
|
297
|
+
"type": {
|
|
298
|
+
"oneOf": [
|
|
299
|
+
{
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "object",
|
|
304
|
+
"properties": {
|
|
305
|
+
"name": {
|
|
306
|
+
"type": "string"
|
|
307
|
+
},
|
|
308
|
+
"isTypeOnly": {
|
|
309
|
+
"type": "boolean"
|
|
310
|
+
},
|
|
311
|
+
"moduleSpecifier": {
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
"namedImport": {
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
"namespaceImport": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
},
|
|
320
|
+
"defaultImport": {
|
|
321
|
+
"type": "string"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"required": [
|
|
325
|
+
"name"
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "dialog-table-action-schematic",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"allOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"project": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Project name where the files should be generated"
|
|
15
|
+
},
|
|
16
|
+
"feature": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Feature name where the files should be generated"
|
|
19
|
+
},
|
|
20
|
+
"overwrite": {
|
|
21
|
+
"anyOf": [
|
|
22
|
+
{
|
|
23
|
+
"type": "boolean"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "array",
|
|
27
|
+
"items": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"description": "Overwrite existing files",
|
|
33
|
+
"default": false
|
|
34
|
+
},
|
|
35
|
+
"overwriteHtml": {
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"default": false
|
|
38
|
+
},
|
|
39
|
+
"replace": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"default": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": [
|
|
45
|
+
"project"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"componentName": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"name": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"context": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
60
|
+
},
|
|
61
|
+
"nestModule": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "The module name for the table nest operations"
|
|
64
|
+
},
|
|
65
|
+
"controllerName": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"backend": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "The backend that should be used to handel data",
|
|
71
|
+
"enum": [
|
|
72
|
+
"none",
|
|
73
|
+
"nestjs",
|
|
74
|
+
"open-api",
|
|
75
|
+
"local"
|
|
76
|
+
],
|
|
77
|
+
"default": "none"
|
|
78
|
+
},
|
|
79
|
+
"directory": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "A directory name or absolute path where the files should be generated. Relative to the project and feature base path if a feature is defined"
|
|
82
|
+
},
|
|
83
|
+
"shared": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"description": "Whether the generated code is used across the project",
|
|
86
|
+
"default": false
|
|
87
|
+
},
|
|
88
|
+
"scope": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"prefix": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"openApi": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": true
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"type": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"refresh": {
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"confirm": {
|
|
112
|
+
"type": "boolean"
|
|
113
|
+
},
|
|
114
|
+
"tooltip": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"errorMessage": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"successMessage": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"priority": {
|
|
124
|
+
"type": "number"
|
|
125
|
+
},
|
|
126
|
+
"checkFunction": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
},
|
|
129
|
+
"inHeader": {
|
|
130
|
+
"type": "boolean"
|
|
131
|
+
},
|
|
132
|
+
"role": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
},
|
|
135
|
+
"icon": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"svgIcon": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"permission": {
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"color": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
147
|
+
},
|
|
148
|
+
"cssClass": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"description": "Additional CSS classes added to the button element"
|
|
151
|
+
},
|
|
152
|
+
"options": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"additionalProperties": true
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"type"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "object",
|
|
163
|
+
"properties": {
|
|
164
|
+
"tableName": {
|
|
165
|
+
"alias": "table",
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "The name of the table action"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"withoutBody": {
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"description": "Whether the table action operation should be without body",
|
|
179
|
+
"default": false
|
|
180
|
+
},
|
|
181
|
+
"actionList": {
|
|
182
|
+
"alias": "action",
|
|
183
|
+
"type": "array",
|
|
184
|
+
"description": "The list of actions to be added to the dialog",
|
|
185
|
+
"items": {
|
|
186
|
+
"oneOf": [
|
|
187
|
+
{
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"label": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
"color": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"role": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"enum": [
|
|
202
|
+
"submit",
|
|
203
|
+
"close"
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"title": {
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "The title for the dialog"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"definitions": {
|
|
219
|
+
"type": {
|
|
220
|
+
"oneOf": [
|
|
221
|
+
{
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"type": "object",
|
|
226
|
+
"properties": {
|
|
227
|
+
"name": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"isTypeOnly": {
|
|
231
|
+
"type": "boolean"
|
|
232
|
+
},
|
|
233
|
+
"moduleSpecifier": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
},
|
|
236
|
+
"namedImport": {
|
|
237
|
+
"type": "string"
|
|
238
|
+
},
|
|
239
|
+
"namespaceImport": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"defaultImport": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"name"
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"property": {
|
|
253
|
+
"oneOf": [
|
|
254
|
+
{
|
|
255
|
+
"type": "string"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "object",
|
|
259
|
+
"properties": {
|
|
260
|
+
"name": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"type": {
|
|
264
|
+
"$ref": "#/definitions/type"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"name"
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"definitions": {
|
|
273
|
+
"type": {
|
|
274
|
+
"oneOf": [
|
|
275
|
+
{
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"name": {
|
|
282
|
+
"type": "string"
|
|
283
|
+
},
|
|
284
|
+
"isTypeOnly": {
|
|
285
|
+
"type": "boolean"
|
|
286
|
+
},
|
|
287
|
+
"moduleSpecifier": {
|
|
288
|
+
"type": "string"
|
|
289
|
+
},
|
|
290
|
+
"namedImport": {
|
|
291
|
+
"type": "string"
|
|
292
|
+
},
|
|
293
|
+
"namespaceImport": {
|
|
294
|
+
"type": "string"
|
|
295
|
+
},
|
|
296
|
+
"defaultImport": {
|
|
297
|
+
"type": "string"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"required": [
|
|
301
|
+
"name"
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|