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

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