@rxap/schematic-angular 16.2.0-dev.14 → 16.2.0-dev.16

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 (135) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/package.json +8 -8
  4. package/src/lib/accordion-identifier.d.ts +4 -0
  5. package/src/lib/accordion-identifier.js.map +1 -1
  6. package/src/lib/accordion-item.d.ts +13 -6
  7. package/src/lib/accordion-item.js +19 -4
  8. package/src/lib/accordion-item.js.map +1 -1
  9. package/src/lib/coerce-accordion-component.js +1 -1
  10. package/src/lib/coerce-accordion-component.js.map +1 -1
  11. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  12. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  13. package/src/lib/data-grid-options.d.ts +9 -1
  14. package/src/lib/data-grid-options.js +36 -6
  15. package/src/lib/data-grid-options.js.map +1 -1
  16. package/src/lib/form-control.d.ts +9 -3
  17. package/src/lib/form-control.js +19 -54
  18. package/src/lib/form-control.js.map +1 -1
  19. package/src/lib/merge-with-column-list.js +3 -1
  20. package/src/lib/merge-with-column-list.js.map +1 -1
  21. package/src/lib/minimum-table-component-options.js +2 -2
  22. package/src/lib/minimum-table-component-options.js.map +1 -1
  23. package/src/lib/pipe-option.js +0 -2
  24. package/src/lib/pipe-option.js.map +1 -1
  25. package/src/lib/table-column.d.ts +9 -5
  26. package/src/lib/table-column.js +36 -60
  27. package/src/lib/table-column.js.map +1 -1
  28. package/src/schema.json +2368 -0
  29. package/src/schematic-input.schema.json +607 -0
  30. package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
  31. package/src/schematics/accordion/accordion-component/index.js +51 -25
  32. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  33. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  34. package/src/schematics/accordion/accordion-component/schema.json +183 -360
  35. package/src/schematics/accordion/accordion-component/template.schema.json +22 -25
  36. package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
  37. package/src/schematics/accordion/accordion-item-component/index.js +70 -49
  38. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  39. package/src/schematics/accordion/accordion-item-component/schema.json +167 -336
  40. package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -15
  41. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  42. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +21 -25
  43. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  44. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +331 -429
  45. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +9 -15
  46. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  47. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +14 -6
  48. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  49. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +174 -346
  50. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +6 -15
  51. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  52. package/src/schematics/accordion/item/accordion-item-table-component/index.js +11 -13
  53. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  54. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +453 -614
  55. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +9 -18
  56. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  57. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +37 -61
  58. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  59. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +431 -592
  60. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +10 -19
  61. package/src/schematics/accordion-identifier.schema.json +25 -0
  62. package/src/schematics/accordion-item.schema.json +24 -0
  63. package/src/schematics/angular.schema.json +11 -3
  64. package/src/schematics/button.schema.json +1 -1
  65. package/src/schematics/data-grid-component/index.d.ts +2 -3
  66. package/src/schematics/data-grid-component/index.js +42 -45
  67. package/src/schematics/data-grid-component/index.js.map +1 -1
  68. package/src/schematics/data-grid-component/schema.json +261 -375
  69. package/src/schematics/data-grid-component/template.schema.json +6 -15
  70. package/src/schematics/data-grid-item.schema.json +4 -1
  71. package/src/schematics/data-grid.schema.json +26 -4
  72. package/src/schematics/dialog-component/schema.json +72 -158
  73. package/src/schematics/dialog-component/template.schema.json +3 -6
  74. package/src/schematics/form/control/input-form-control/schema.json +108 -306
  75. package/src/schematics/form/control/input-form-control/template.schema.json +6 -9
  76. package/src/schematics/form/control/select-form-control/schema.json +120 -307
  77. package/src/schematics/form/control/select-form-control/template.schema.json +6 -9
  78. package/src/schematics/form/control/table-select-form-control/index.d.ts +7 -1
  79. package/src/schematics/form/control/table-select-form-control/index.js +195 -149
  80. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  81. package/src/schematics/form/control/table-select-form-control/schema.json +101 -296
  82. package/src/schematics/form/control/table-select-form-control/template.schema.json +11 -6
  83. package/src/schematics/form/form-component/index.d.ts +2 -0
  84. package/src/schematics/form/form-component/index.js +6 -4
  85. package/src/schematics/form/form-component/index.js.map +1 -1
  86. package/src/schematics/form/form-component/schema.d.ts +3 -1
  87. package/src/schematics/form/form-component/schema.json +176 -233
  88. package/src/schematics/form/form-component/template.schema.json +6 -9
  89. package/src/schematics/form/form-control/schema.json +68 -176
  90. package/src/schematics/form/form-control/template.schema.json +6 -9
  91. package/src/schematics/form/form-definition/schema.json +125 -230
  92. package/src/schematics/form/form-definition/template.schema.json +6 -9
  93. package/src/schematics/form-component.schema.json +9 -3
  94. package/src/schematics/form-definition.schema.json +3 -3
  95. package/src/schematics/general.schema.json +1 -4
  96. package/src/schematics/input-form-control.schema.json +11 -3
  97. package/src/schematics/minimum-table.schema.json +11 -5
  98. package/src/schematics/pipe.schema.json +1 -1
  99. package/src/schematics/select-form-control.schema.json +15 -4
  100. package/src/schematics/table/action/dialog-table-action/schema.json +150 -230
  101. package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
  102. package/src/schematics/table/action/form-table-action/schema.json +317 -310
  103. package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
  104. package/src/schematics/table/action/navigation-table-action/schema.json +150 -230
  105. package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
  106. package/src/schematics/table/action/open-api-table-action/schema.json +150 -230
  107. package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
  108. package/src/schematics/table/action/operation-table-action/schema.json +138 -218
  109. package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
  110. package/src/schematics/table/header-button/form-table-header-button/schema.json +217 -261
  111. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -6
  112. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +131 -211
  113. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
  114. package/src/schematics/table/table-action/schema.json +56 -139
  115. package/src/schematics/table/table-action/template.schema.json +6 -6
  116. package/src/schematics/table/table-component/index.d.ts +10 -2
  117. package/src/schematics/table/table-component/index.js +13 -1
  118. package/src/schematics/table/table-component/index.js.map +1 -1
  119. package/src/schematics/table/table-component/schema.json +352 -547
  120. package/src/schematics/table/table-component/template.schema.json +6 -18
  121. package/src/schematics/table/table-header-button/schema.json +56 -139
  122. package/src/schematics/table/table-header-button/template.schema.json +6 -6
  123. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +6 -0
  124. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  125. package/src/schematics/table/tree-table-component/index.js +11 -3
  126. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  127. package/src/schematics/table/tree-table-component/schema.json +352 -547
  128. package/src/schematics/table/tree-table-component/template.schema.json +6 -18
  129. package/src/schematics/table-column.schema.json +4 -1
  130. package/src/schematics/table.schema.json +4 -1
  131. package/src/schematics/tree-component/schema.json +70 -62
  132. package/src/schematics/tree-component/template.schema.json +7 -2
  133. package/src/schematics/tree-table.schema.json +3 -3
  134. package/src/schematics/value.schema.json +1 -1
  135. package/src/template.schema.json +173 -0
@@ -3,45 +3,71 @@
3
3
  "$id": "accordion-item-data-grid-component-schematic",
4
4
  "allOf": [
5
5
  {
6
+ "$ref": "#/definitions/angular"
7
+ },
8
+ {
9
+ "$ref": "#/definitions/accordionItem"
10
+ },
11
+ {
12
+ "type": "object",
13
+ "properties": {
14
+ "dataGrid": {
15
+ "$ref": "#/definitions/dataGrid"
16
+ }
17
+ }
18
+ }
19
+ ],
20
+ "definitions": {
21
+ "accordionItem": {
22
+ "type": "object",
23
+ "properties": {
24
+ "kind": {
25
+ "type": "string",
26
+ "enum": [
27
+ "default",
28
+ "table",
29
+ "data-grid",
30
+ "data-grid-collection",
31
+ "tree-table",
32
+ "switch"
33
+ ],
34
+ "description": "The type of the accordion item",
35
+ "default": "panel"
36
+ },
37
+ "modifiers": {
38
+ "alias": "modifier",
39
+ "type": "array",
40
+ "items": {
41
+ "type": "string"
42
+ },
43
+ "description": "The modifiers to apply to the accordion item type"
44
+ },
45
+ "identifier": {
46
+ "$ref": "#/definitions/accordionIdentifier"
47
+ },
48
+ "title": {
49
+ "type": "string"
50
+ },
51
+ "description": {
52
+ "type": "string"
53
+ },
54
+ "upstream": {
55
+ "$ref": "#/definitions/upstream"
56
+ },
57
+ "propertyList": {
58
+ "alias": "property",
59
+ "type": "array",
60
+ "items": {
61
+ "$ref": "#/definitions/property"
62
+ }
63
+ }
64
+ },
65
+ "additionalProperties": true
66
+ },
67
+ "angular": {
6
68
  "allOf": [
7
69
  {
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
- ]
70
+ "$ref": "#/definitions/general"
45
71
  },
46
72
  {
47
73
  "type": "object",
@@ -64,15 +90,7 @@
64
90
  "type": "string"
65
91
  },
66
92
  "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"
93
+ "$ref": "#/definitions/backend"
76
94
  },
77
95
  "directory": {
78
96
  "type": "string",
@@ -97,209 +115,248 @@
97
115
  }
98
116
  ]
99
117
  },
100
- {
118
+ "dataGrid": {
101
119
  "type": "object",
102
120
  "properties": {
121
+ "mode": {
122
+ "type": "string",
123
+ "description": "The mode of the form",
124
+ "enum": [
125
+ "form",
126
+ "plain"
127
+ ]
128
+ },
129
+ "collection": {
130
+ "type": "boolean",
131
+ "description": "Whether the data grid is used as collection."
132
+ },
133
+ "title": {
134
+ "type": "string",
135
+ "description": "The title of the data grid card component"
136
+ },
137
+ "subtitle": {
138
+ "type": "string",
139
+ "description": "The subtitle of the data grid card component"
140
+ },
141
+ "itemList": {
142
+ "alias": "item",
143
+ "type": "array",
144
+ "items": {
145
+ "$ref": "#/definitions/dataGridItem"
146
+ }
147
+ },
148
+ "inCard": {
149
+ "type": "boolean",
150
+ "description": "Whether the data grid is used in a card.",
151
+ "default": true
152
+ },
153
+ "upstream": {
154
+ "$ref": "#/definitions/upstream"
155
+ },
156
+ "propertyList": {
157
+ "alias": "property",
158
+ "type": "array",
159
+ "items": {
160
+ "$ref": "#/definitions/property"
161
+ }
162
+ },
163
+ "identifier": {
164
+ "$ref": "#/definitions/accordionIdentifier"
165
+ }
166
+ }
167
+ },
168
+ "accordionIdentifier": {
169
+ "type": "object",
170
+ "properties": {
171
+ "property": {
172
+ "$ref": "#/definitions/property"
173
+ },
174
+ "source": {
175
+ "type": "string",
176
+ "enum": [
177
+ "route"
178
+ ],
179
+ "default": "route"
180
+ }
181
+ },
182
+ "required": [
183
+ "property"
184
+ ]
185
+ },
186
+ "backend": {
187
+ "type": "string",
188
+ "description": "The backend that should be used to handel data",
189
+ "enum": [
190
+ "none",
191
+ "nestjs",
192
+ "open-api",
193
+ "local"
194
+ ],
195
+ "default": "none"
196
+ },
197
+ "dataGridItem": {
198
+ "type": "object",
199
+ "properties": {
200
+ "name": {
201
+ "type": "string",
202
+ "description": "The name of the data grid item"
203
+ },
204
+ "header": {
205
+ "type": "string",
206
+ "description": "The name of the control"
207
+ },
208
+ "pipeList": {
209
+ "type": "array",
210
+ "items": {
211
+ "$ref": "#/definitions/pipe"
212
+ }
213
+ },
214
+ "formControl": {
215
+ "$ref": "#/definitions/formControl"
216
+ },
217
+ "template": {
218
+ "type": "string"
219
+ },
103
220
  "kind": {
104
221
  "type": "string",
105
222
  "enum": [
106
223
  "default",
107
- "table",
108
- "data-grid",
109
- "data-grid-collection",
110
- "tree-table",
111
- "switch"
224
+ "link"
112
225
  ],
113
- "description": "The type of the accordion item",
114
- "default": "panel"
226
+ "default": "default"
115
227
  },
116
- "modifiers": {
117
- "alias": "modifier",
228
+ "type": {
229
+ "$ref": "#/definitions/type"
230
+ },
231
+ "isArray": {
232
+ "type": "boolean"
233
+ }
234
+ },
235
+ "required": [
236
+ "name"
237
+ ]
238
+ },
239
+ "formControl": {
240
+ "type": "object",
241
+ "properties": {
242
+ "name": {
243
+ "type": "string",
244
+ "description": "The name of the control"
245
+ },
246
+ "type": {
247
+ "$ref": "#/definitions/type"
248
+ },
249
+ "isArray": {
250
+ "type": "boolean",
251
+ "description": "Whether the control value is an array",
252
+ "default": false
253
+ },
254
+ "state": {
255
+ "type": "string",
256
+ "description": "The initial state of the control"
257
+ },
258
+ "isRequired": {
259
+ "type": "boolean",
260
+ "description": "Whether the control value is required",
261
+ "default": false
262
+ },
263
+ "isReadonly": {
264
+ "type": "boolean",
265
+ "description": "Whether the control value is readonly",
266
+ "default": false
267
+ },
268
+ "isDisabled": {
269
+ "type": "boolean",
270
+ "description": "Whether the control value is disabled",
271
+ "default": false
272
+ },
273
+ "validatorList": {
118
274
  "type": "array",
119
275
  "items": {
120
276
  "type": "string"
121
- },
122
- "description": "The modifiers to apply to the accordion item type"
123
- },
124
- "title": {
125
- "type": "string"
277
+ }
126
278
  },
127
- "description": {
128
- "type": "string"
279
+ "kind": {
280
+ "type": "string",
281
+ "description": "The name of the template",
282
+ "enum": [
283
+ "default",
284
+ "input",
285
+ "select",
286
+ "checkbox",
287
+ "autocomplete-table-select",
288
+ "table-select",
289
+ "textarea",
290
+ "slide-toggle"
291
+ ],
292
+ "default": "default"
129
293
  }
130
294
  },
295
+ "required": [
296
+ "name"
297
+ ],
131
298
  "additionalProperties": true
132
299
  },
133
- {
300
+ "general": {
134
301
  "type": "object",
135
302
  "properties": {
136
- "dataGrid": {
137
- "type": "object",
138
- "properties": {
139
- "mode": {
140
- "type": "string",
141
- "description": "The mode of the form",
142
- "enum": [
143
- "form",
144
- "plain"
145
- ]
146
- },
147
- "collection": {
148
- "type": "boolean",
149
- "description": "Whether the data grid is used as collection."
150
- },
151
- "title": {
152
- "type": "string",
153
- "description": "The title of the data grid card component"
154
- },
155
- "subtitle": {
156
- "type": "string",
157
- "description": "The subtitle of the data grid card component"
303
+ "project": {
304
+ "type": "string",
305
+ "description": "Project name where the files should be generated"
306
+ },
307
+ "feature": {
308
+ "type": "string",
309
+ "description": "Feature name where the files should be generated"
310
+ },
311
+ "overwrite": {
312
+ "anyOf": [
313
+ {
314
+ "type": "boolean"
158
315
  },
159
- "itemList": {
160
- "alias": "item",
316
+ {
161
317
  "type": "array",
162
318
  "items": {
163
- "type": "object",
164
- "properties": {
165
- "name": {
166
- "type": "string",
167
- "description": "The name of the data grid item"
168
- },
169
- "header": {
170
- "type": "string",
171
- "description": "The name of the control"
172
- },
173
- "pipeList": {
174
- "type": "array",
175
- "items": {
176
- "$ref": "#/definitions/pipe"
177
- }
178
- },
179
- "formControl": {
180
- "type": "object",
181
- "properties": {
182
- "name": {
183
- "type": "string",
184
- "description": "The name of the control"
185
- },
186
- "type": {
187
- "$ref": "#/definitions/type"
188
- },
189
- "isArray": {
190
- "type": "boolean",
191
- "description": "Whether the control value is an array",
192
- "default": false
193
- },
194
- "state": {
195
- "type": "string",
196
- "description": "The initial state of the control"
197
- },
198
- "isRequired": {
199
- "type": "boolean",
200
- "description": "Whether the control value is required",
201
- "default": false
202
- },
203
- "isReadonly": {
204
- "type": "boolean",
205
- "description": "Whether the control value is readonly",
206
- "default": false
207
- },
208
- "isDisabled": {
209
- "type": "boolean",
210
- "description": "Whether the control value is disabled",
211
- "default": false
212
- },
213
- "validatorList": {
214
- "type": "array",
215
- "items": {
216
- "type": "string"
217
- }
218
- },
219
- "kind": {
220
- "type": "string",
221
- "description": "The name of the template",
222
- "enum": [
223
- "default",
224
- "input",
225
- "select",
226
- "checkbox",
227
- "autocomplete-table-select",
228
- "table-select",
229
- "textarea",
230
- "slide-toggle"
231
- ],
232
- "default": "default"
233
- }
234
- },
235
- "required": [
236
- "name"
237
- ],
238
- "additionalProperties": true
239
- },
240
- "template": {
241
- "type": "string"
242
- },
243
- "kind": {
244
- "type": "string",
245
- "enum": [
246
- "default",
247
- "link"
248
- ],
249
- "default": "default"
250
- },
251
- "type": {
252
- "$ref": "#/definitions/type"
253
- },
254
- "isArray": {
255
- "type": "boolean"
256
- }
257
- },
258
- "required": [
259
- "name"
260
- ]
319
+ "type": "string"
261
320
  }
262
- },
263
- "inCard": {
264
- "type": "boolean",
265
- "description": "Whether the data grid is used in a card.",
266
- "default": true
267
321
  }
268
- }
322
+ ],
323
+ "description": "Overwrite existing files",
324
+ "default": false
325
+ },
326
+ "overwriteHtml": {
327
+ "type": "boolean",
328
+ "default": false
329
+ },
330
+ "replace": {
331
+ "type": "boolean",
332
+ "default": false
269
333
  }
270
334
  }
271
- }
272
- ],
273
- "definitions": {
274
- "type": {
335
+ },
336
+ "pipe": {
275
337
  "oneOf": [
276
338
  {
277
339
  "type": "string"
278
340
  },
279
341
  {
280
- "type": "object",
281
- "properties": {
282
- "name": {
283
- "type": "string"
284
- },
285
- "isTypeOnly": {
286
- "type": "boolean"
287
- },
288
- "moduleSpecifier": {
289
- "type": "string"
290
- },
291
- "namedImport": {
292
- "type": "string"
293
- },
294
- "namespaceImport": {
295
- "type": "string"
342
+ "allOf": [
343
+ {
344
+ "$ref": "#/definitions/type"
296
345
  },
297
- "defaultImport": {
298
- "type": "string"
346
+ {
347
+ "type": "object",
348
+ "properties": {
349
+ "argumentList": {
350
+ "type": "array",
351
+ "items": {
352
+ "$ref": "#/definitions/value"
353
+ }
354
+ }
355
+ },
356
+ "required": [
357
+ "name"
358
+ ]
299
359
  }
300
- },
301
- "required": [
302
- "name"
303
360
  ]
304
361
  }
305
362
  ]
@@ -326,219 +383,99 @@
326
383
  "name"
327
384
  ]
328
385
  }
329
- ],
330
- "definitions": {
331
- "type": {
332
- "oneOf": [
333
- {
334
- "type": "string"
335
- },
336
- {
337
- "type": "object",
338
- "properties": {
339
- "name": {
340
- "type": "string"
341
- },
342
- "isTypeOnly": {
343
- "type": "boolean"
344
- },
345
- "moduleSpecifier": {
346
- "type": "string"
347
- },
348
- "namedImport": {
349
- "type": "string"
350
- },
351
- "namespaceImport": {
352
- "type": "string"
353
- },
354
- "defaultImport": {
355
- "type": "string"
356
- }
357
- },
358
- "required": [
359
- "name"
360
- ]
361
- }
362
- ]
363
- }
364
- }
386
+ ]
365
387
  },
366
- "button": {
367
- "type": "object",
368
- "properties": {
369
- "svgIcon": {
370
- "type": "string"
371
- },
372
- "icon": {
388
+ "type": {
389
+ "oneOf": [
390
+ {
373
391
  "type": "string"
374
392
  },
375
- "directiveList": {
376
- "type": "array",
377
- "items": {
378
- "$ref": "#/definitions/type"
379
- }
380
- },
381
- "importList": {
382
- "type": "array",
383
- "items": {
384
- "$ref": "#/definitions/type"
385
- }
386
- }
387
- },
388
- "definitions": {
389
- "type": {
390
- "oneOf": [
391
- {
393
+ {
394
+ "type": "object",
395
+ "properties": {
396
+ "name": {
392
397
  "type": "string"
393
398
  },
394
- {
395
- "type": "object",
396
- "properties": {
397
- "name": {
398
- "type": "string"
399
- },
400
- "isTypeOnly": {
401
- "type": "boolean"
402
- },
403
- "moduleSpecifier": {
404
- "type": "string"
405
- },
406
- "namedImport": {
407
- "type": "string"
408
- },
409
- "namespaceImport": {
410
- "type": "string"
411
- },
412
- "defaultImport": {
413
- "type": "string"
414
- }
415
- },
416
- "required": [
417
- "name"
418
- ]
399
+ "isTypeOnly": {
400
+ "type": "boolean"
401
+ },
402
+ "moduleSpecifier": {
403
+ "type": "string"
404
+ },
405
+ "namedImport": {
406
+ "type": "string"
407
+ },
408
+ "namespaceImport": {
409
+ "type": "string"
410
+ },
411
+ "defaultImport": {
412
+ "type": "string"
419
413
  }
414
+ },
415
+ "required": [
416
+ "name"
420
417
  ]
421
418
  }
422
- }
419
+ ]
423
420
  },
424
- "pipe": {
421
+ "upstream": {
425
422
  "oneOf": [
426
423
  {
427
- "type": "string"
428
- },
429
- {
430
- "allOf": [
431
- {
432
- "$ref": "#/definitions/type"
433
- },
434
- {
435
- "type": "object",
436
- "properties": {
437
- "argumentList": {
438
- "type": "array",
439
- "items": {
440
- "$ref": "#/definitions/value"
441
- }
442
- }
443
- },
444
- "required": [
445
- "name"
424
+ "type": "object",
425
+ "properties": {
426
+ "kind": {
427
+ "type": "string",
428
+ "enum": [
429
+ "open-api"
446
430
  ]
447
- }
448
- ]
449
- }
450
- ],
451
- "definitions": {
452
- "type": {
453
- "oneOf": [
454
- {
431
+ },
432
+ "operationId": {
455
433
  "type": "string"
456
434
  },
457
- {
435
+ "scope": {
436
+ "type": "string"
437
+ },
438
+ "mapper": {
458
439
  "type": "object",
459
440
  "properties": {
460
- "name": {
441
+ "pageIndex": {
461
442
  "type": "string"
462
443
  },
463
- "isTypeOnly": {
464
- "type": "boolean"
465
- },
466
- "moduleSpecifier": {
444
+ "pageSize": {
467
445
  "type": "string"
468
446
  },
469
- "namedImport": {
447
+ "sortBy": {
470
448
  "type": "string"
471
449
  },
472
- "namespaceImport": {
450
+ "sortDirection": {
473
451
  "type": "string"
474
452
  },
475
- "defaultImport": {
453
+ "list": {
476
454
  "type": "string"
477
- }
478
- },
479
- "required": [
480
- "name"
481
- ]
482
- }
483
- ]
484
- },
485
- "value": {
486
- "oneOf": [
487
- {
488
- "type": "string"
489
- },
490
- {
491
- "type": "object",
492
- "properties": {
493
- "type": {
494
- "$ref": "#/definitions/type"
495
455
  },
496
- "value": {
497
- "type": "string"
498
- }
499
- },
500
- "required": [
501
- "value"
502
- ]
503
- }
504
- ],
505
- "definitions": {
506
- "type": {
507
- "oneOf": [
508
- {
456
+ "total": {
509
457
  "type": "string"
510
458
  },
511
- {
459
+ "filter": {
512
460
  "type": "object",
513
461
  "properties": {
514
- "name": {
515
- "type": "string"
516
- },
517
- "isTypeOnly": {
518
- "type": "boolean"
519
- },
520
- "moduleSpecifier": {
521
- "type": "string"
522
- },
523
- "namedImport": {
462
+ "eq": {
524
463
  "type": "string"
525
464
  },
526
- "namespaceImport": {
527
- "type": "string"
528
- },
529
- "defaultImport": {
465
+ "join": {
530
466
  "type": "string"
531
467
  }
532
- },
533
- "required": [
534
- "name"
535
- ]
468
+ }
536
469
  }
537
- ]
470
+ }
538
471
  }
539
- }
472
+ },
473
+ "required": [
474
+ "kind",
475
+ "operationId"
476
+ ]
540
477
  }
541
- }
478
+ ]
542
479
  },
543
480
  "value": {
544
481
  "oneOf": [
@@ -559,42 +496,7 @@
559
496
  "value"
560
497
  ]
561
498
  }
562
- ],
563
- "definitions": {
564
- "type": {
565
- "oneOf": [
566
- {
567
- "type": "string"
568
- },
569
- {
570
- "type": "object",
571
- "properties": {
572
- "name": {
573
- "type": "string"
574
- },
575
- "isTypeOnly": {
576
- "type": "boolean"
577
- },
578
- "moduleSpecifier": {
579
- "type": "string"
580
- },
581
- "namedImport": {
582
- "type": "string"
583
- },
584
- "namespaceImport": {
585
- "type": "string"
586
- },
587
- "defaultImport": {
588
- "type": "string"
589
- }
590
- },
591
- "required": [
592
- "name"
593
- ]
594
- }
595
- ]
596
- }
597
- }
499
+ ]
598
500
  }
599
501
  }
600
502
  }