@rxap/schematic-angular 16.2.0-dev.8 → 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.
Files changed (28) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +2 -2
  3. package/src/schematics/accordion/accordion-component/schema.json +372 -0
  4. package/src/schematics/accordion/accordion-item-component/schema.json +295 -0
  5. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +396 -0
  6. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +352 -0
  7. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +654 -0
  8. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +637 -0
  9. package/src/schematics/data-grid-component/schema.json +358 -0
  10. package/src/schematics/dialog-component/schema.json +240 -0
  11. package/src/schematics/form/control/input-form-control/schema.json +388 -0
  12. package/src/schematics/form/control/select-form-control/schema.json +394 -0
  13. package/src/schematics/form/control/table-select-form-control/schema.json +443 -0
  14. package/src/schematics/form/form-component/schema.json +352 -0
  15. package/src/schematics/form/form-control/schema.json +325 -0
  16. package/src/schematics/form/form-definition/schema.json +333 -0
  17. package/src/schematics/table/action/dialog-table-action/schema.json +309 -0
  18. package/src/schematics/table/action/form-table-action/schema.json +422 -0
  19. package/src/schematics/table/action/navigation-table-action/schema.json +279 -0
  20. package/src/schematics/table/action/open-api-table-action/schema.json +307 -0
  21. package/src/schematics/table/action/operation-table-action/schema.json +265 -0
  22. package/src/schematics/table/header-button/form-table-header-button/schema.json +338 -0
  23. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +260 -0
  24. package/src/schematics/table/table-action/schema.json +261 -0
  25. package/src/schematics/table/table-component/schema.json +604 -0
  26. package/src/schematics/table/table-header-button/schema.json +242 -0
  27. package/src/schematics/table/tree-table-component/schema.json +587 -0
  28. package/src/schematics/tree-component/schema.json +123 -0
@@ -0,0 +1,307 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "open-api-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
+ "operationId": {
177
+ "type": "string",
178
+ "description": "The open api operationId for the table action"
179
+ },
180
+ "scope": {
181
+ "type": "string",
182
+ "description": "The scope of package for the openapi classes"
183
+ },
184
+ "body": {
185
+ "oneOf": [
186
+ {
187
+ "type": "boolean",
188
+ "description": "Pass the full row as body for the operation request"
189
+ },
190
+ {
191
+ "type": "object",
192
+ "description": "Mapping of table columns to body properties - [request property]: [table column]",
193
+ "additionalProperties": true
194
+ }
195
+ ]
196
+ },
197
+ "parameters": {
198
+ "oneOf": [
199
+ {
200
+ "type": "boolean",
201
+ "description": "Pass the full row as parameters for the operation request"
202
+ },
203
+ {
204
+ "type": "object",
205
+ "description": "Mapping of table columns to parameters properties - [request property]: [table column]",
206
+ "additionalProperties": true
207
+ }
208
+ ]
209
+ }
210
+ },
211
+ "required": [
212
+ "operationId"
213
+ ]
214
+ }
215
+ ],
216
+ "definitions": {
217
+ "type": {
218
+ "oneOf": [
219
+ {
220
+ "type": "string"
221
+ },
222
+ {
223
+ "type": "object",
224
+ "properties": {
225
+ "name": {
226
+ "type": "string"
227
+ },
228
+ "isTypeOnly": {
229
+ "type": "boolean"
230
+ },
231
+ "moduleSpecifier": {
232
+ "type": "string"
233
+ },
234
+ "namedImport": {
235
+ "type": "string"
236
+ },
237
+ "namespaceImport": {
238
+ "type": "string"
239
+ },
240
+ "defaultImport": {
241
+ "type": "string"
242
+ }
243
+ },
244
+ "required": [
245
+ "name"
246
+ ]
247
+ }
248
+ ]
249
+ },
250
+ "property": {
251
+ "oneOf": [
252
+ {
253
+ "type": "string"
254
+ },
255
+ {
256
+ "type": "object",
257
+ "properties": {
258
+ "name": {
259
+ "type": "string"
260
+ },
261
+ "type": {
262
+ "$ref": "#/definitions/type"
263
+ }
264
+ },
265
+ "required": [
266
+ "name"
267
+ ]
268
+ }
269
+ ],
270
+ "definitions": {
271
+ "type": {
272
+ "oneOf": [
273
+ {
274
+ "type": "string"
275
+ },
276
+ {
277
+ "type": "object",
278
+ "properties": {
279
+ "name": {
280
+ "type": "string"
281
+ },
282
+ "isTypeOnly": {
283
+ "type": "boolean"
284
+ },
285
+ "moduleSpecifier": {
286
+ "type": "string"
287
+ },
288
+ "namedImport": {
289
+ "type": "string"
290
+ },
291
+ "namespaceImport": {
292
+ "type": "string"
293
+ },
294
+ "defaultImport": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ "required": [
299
+ "name"
300
+ ]
301
+ }
302
+ ]
303
+ }
304
+ }
305
+ }
306
+ }
307
+ }
@@ -0,0 +1,265 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "operation-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
+ "definitions": {
175
+ "type": {
176
+ "oneOf": [
177
+ {
178
+ "type": "string"
179
+ },
180
+ {
181
+ "type": "object",
182
+ "properties": {
183
+ "name": {
184
+ "type": "string"
185
+ },
186
+ "isTypeOnly": {
187
+ "type": "boolean"
188
+ },
189
+ "moduleSpecifier": {
190
+ "type": "string"
191
+ },
192
+ "namedImport": {
193
+ "type": "string"
194
+ },
195
+ "namespaceImport": {
196
+ "type": "string"
197
+ },
198
+ "defaultImport": {
199
+ "type": "string"
200
+ }
201
+ },
202
+ "required": [
203
+ "name"
204
+ ]
205
+ }
206
+ ]
207
+ },
208
+ "property": {
209
+ "oneOf": [
210
+ {
211
+ "type": "string"
212
+ },
213
+ {
214
+ "type": "object",
215
+ "properties": {
216
+ "name": {
217
+ "type": "string"
218
+ },
219
+ "type": {
220
+ "$ref": "#/definitions/type"
221
+ }
222
+ },
223
+ "required": [
224
+ "name"
225
+ ]
226
+ }
227
+ ],
228
+ "definitions": {
229
+ "type": {
230
+ "oneOf": [
231
+ {
232
+ "type": "string"
233
+ },
234
+ {
235
+ "type": "object",
236
+ "properties": {
237
+ "name": {
238
+ "type": "string"
239
+ },
240
+ "isTypeOnly": {
241
+ "type": "boolean"
242
+ },
243
+ "moduleSpecifier": {
244
+ "type": "string"
245
+ },
246
+ "namedImport": {
247
+ "type": "string"
248
+ },
249
+ "namespaceImport": {
250
+ "type": "string"
251
+ },
252
+ "defaultImport": {
253
+ "type": "string"
254
+ }
255
+ },
256
+ "required": [
257
+ "name"
258
+ ]
259
+ }
260
+ ]
261
+ }
262
+ }
263
+ }
264
+ }
265
+ }