@rxap/schematic-angular 16.2.0 → 16.3.0
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 +10 -0
- package/README.md +1 -1
- package/package.json +6 -6
- package/src/lib/angular-options.js +2 -1
- package/src/lib/angular-options.js.map +1 -1
- package/src/lib/backend-types.d.ts +2 -1
- package/src/lib/backend-types.js +1 -0
- package/src/lib/backend-types.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.d.ts +4 -1
- package/src/lib/coerce-minimum-table-component.js +5 -0
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/table/column/options-table-column.d.ts +11 -0
- package/src/lib/table/column/options-table-column.js +23 -0
- package/src/lib/table/column/options-table-column.js.map +1 -0
- package/src/lib/table/table-column-kind.d.ts +2 -1
- package/src/lib/table/table-column-kind.js +1 -0
- package/src/lib/table/table-column-kind.js.map +1 -1
- package/src/lib/table/table-column.js +3 -0
- package/src/lib/table/table-column.js.map +1 -1
- package/src/schema.json +57 -24
- package/src/schematics/accordion/accordion-component/schema.json +57 -24
- package/src/schematics/accordion/accordion-item-component/schema.json +57 -24
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +28 -24
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +57 -24
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +57 -24
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +57 -24
- package/src/schematics/accordion/templates/switch-accordion-item.hbs +1 -1
- package/src/schematics/backend.schema.json +2 -1
- package/src/schematics/data-grid-component/schema.json +28 -24
- package/src/schematics/dialog-component/schema.json +2 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +2 -1
- package/src/schematics/form/control/input-form-control/schema.json +2 -1
- package/src/schematics/form/control/select-form-control/schema.json +28 -24
- package/src/schematics/form/control/table-select-form-control/schema.json +2 -1
- package/src/schematics/form/form-array/schema.json +28 -24
- package/src/schematics/form/form-component/schema.json +28 -24
- package/src/schematics/form/form-control/schema.json +28 -24
- package/src/schematics/form/form-definition/schema.json +28 -24
- package/src/schematics/form/form-group/schema.json +28 -24
- package/src/schematics/option.schema.json +27 -0
- package/src/schematics/options-table-column.schema.json +33 -0
- package/src/schematics/route-component/schema.json +2 -1
- package/src/schematics/select-form-control.schema.json +4 -23
- package/src/schematics/table/action/dialog-table-action/schema.json +2 -1
- package/src/schematics/table/action/form-table-action/schema.json +28 -24
- package/src/schematics/table/action/navigation-table-action/schema.json +2 -1
- package/src/schematics/table/action/open-api-table-action/schema.json +2 -1
- package/src/schematics/table/action/operation-table-action/schema.json +2 -1
- package/src/schematics/table/header-button/form-table-header-button/schema.json +28 -24
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +2 -1
- package/src/schematics/table/table-action/schema.json +2 -1
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +3 -0
- package/src/schematics/table/table-component/schema.json +57 -24
- package/src/schematics/table/table-header-button/schema.json +2 -1
- package/src/schematics/table/templates/options-table-column.hbs +26 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +3 -0
- package/src/schematics/table/tree-table-component/schema.json +57 -24
- package/src/schematics/table-column.schema.json +6 -0
- package/src/schematics/tree-component/schema.json +2 -1
- package/src/template.schema.json +6 -0
|
@@ -240,7 +240,8 @@
|
|
|
240
240
|
"none",
|
|
241
241
|
"nestjs",
|
|
242
242
|
"open-api",
|
|
243
|
-
"local"
|
|
243
|
+
"local",
|
|
244
|
+
"data-source"
|
|
244
245
|
],
|
|
245
246
|
"default": "none"
|
|
246
247
|
},
|
|
@@ -823,6 +824,31 @@
|
|
|
823
824
|
}
|
|
824
825
|
]
|
|
825
826
|
},
|
|
827
|
+
"option": {
|
|
828
|
+
"type": "object",
|
|
829
|
+
"properties": {
|
|
830
|
+
"display": {
|
|
831
|
+
"type": "string"
|
|
832
|
+
},
|
|
833
|
+
"value": {
|
|
834
|
+
"oneOf": [
|
|
835
|
+
{
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"type": "number"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"type": "boolean"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"type": "object",
|
|
846
|
+
"additionalProperties": true
|
|
847
|
+
}
|
|
848
|
+
]
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
},
|
|
826
852
|
"pipe": {
|
|
827
853
|
"oneOf": [
|
|
828
854
|
{
|
|
@@ -905,29 +931,7 @@
|
|
|
905
931
|
"optionList": {
|
|
906
932
|
"type": "array",
|
|
907
933
|
"items": {
|
|
908
|
-
"
|
|
909
|
-
"properties": {
|
|
910
|
-
"display": {
|
|
911
|
-
"type": "string"
|
|
912
|
-
},
|
|
913
|
-
"value": {
|
|
914
|
-
"oneOf": [
|
|
915
|
-
{
|
|
916
|
-
"type": "string"
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"type": "number"
|
|
920
|
-
},
|
|
921
|
-
{
|
|
922
|
-
"type": "boolean"
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
"type": "object",
|
|
926
|
-
"additionalProperties": true
|
|
927
|
-
}
|
|
928
|
-
]
|
|
929
|
-
}
|
|
930
|
-
}
|
|
934
|
+
"$ref": "#/definitions/option"
|
|
931
935
|
}
|
|
932
936
|
},
|
|
933
937
|
"backend": {
|
|
@@ -273,7 +273,8 @@
|
|
|
273
273
|
"none",
|
|
274
274
|
"nestjs",
|
|
275
275
|
"open-api",
|
|
276
|
-
"local"
|
|
276
|
+
"local",
|
|
277
|
+
"data-source"
|
|
277
278
|
],
|
|
278
279
|
"default": "none"
|
|
279
280
|
},
|
|
@@ -1189,6 +1190,57 @@
|
|
|
1189
1190
|
}
|
|
1190
1191
|
}
|
|
1191
1192
|
},
|
|
1193
|
+
"option": {
|
|
1194
|
+
"type": "object",
|
|
1195
|
+
"properties": {
|
|
1196
|
+
"display": {
|
|
1197
|
+
"type": "string"
|
|
1198
|
+
},
|
|
1199
|
+
"value": {
|
|
1200
|
+
"oneOf": [
|
|
1201
|
+
{
|
|
1202
|
+
"type": "string"
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"type": "number"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"type": "boolean"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
"type": "object",
|
|
1212
|
+
"additionalProperties": true
|
|
1213
|
+
}
|
|
1214
|
+
]
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"optionsTableColumn": {
|
|
1219
|
+
"allOf": [
|
|
1220
|
+
{
|
|
1221
|
+
"$ref": "#/definitions/baseTableColumn"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"type": "object",
|
|
1225
|
+
"properties": {
|
|
1226
|
+
"kind": {
|
|
1227
|
+
"type": "string",
|
|
1228
|
+
"const": "options"
|
|
1229
|
+
},
|
|
1230
|
+
"optionList": {
|
|
1231
|
+
"type": "array",
|
|
1232
|
+
"items": {
|
|
1233
|
+
"$ref": "#/definitions/option"
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"required": [
|
|
1238
|
+
"kind",
|
|
1239
|
+
"optionList"
|
|
1240
|
+
]
|
|
1241
|
+
}
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1192
1244
|
"pipe": {
|
|
1193
1245
|
"oneOf": [
|
|
1194
1246
|
{
|
|
@@ -1271,29 +1323,7 @@
|
|
|
1271
1323
|
"optionList": {
|
|
1272
1324
|
"type": "array",
|
|
1273
1325
|
"items": {
|
|
1274
|
-
"
|
|
1275
|
-
"properties": {
|
|
1276
|
-
"display": {
|
|
1277
|
-
"type": "string"
|
|
1278
|
-
},
|
|
1279
|
-
"value": {
|
|
1280
|
-
"oneOf": [
|
|
1281
|
-
{
|
|
1282
|
-
"type": "string"
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
"type": "number"
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"type": "boolean"
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
"type": "object",
|
|
1292
|
-
"additionalProperties": true
|
|
1293
|
-
}
|
|
1294
|
-
]
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1326
|
+
"$ref": "#/definitions/option"
|
|
1297
1327
|
}
|
|
1298
1328
|
},
|
|
1299
1329
|
"backend": {
|
|
@@ -1621,6 +1651,9 @@
|
|
|
1621
1651
|
},
|
|
1622
1652
|
{
|
|
1623
1653
|
"$ref": "#/definitions/spinnerTableColumn"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"$ref": "#/definitions/optionsTableColumn"
|
|
1624
1657
|
}
|
|
1625
1658
|
]
|
|
1626
1659
|
},
|
|
@@ -240,7 +240,8 @@
|
|
|
240
240
|
"none",
|
|
241
241
|
"nestjs",
|
|
242
242
|
"open-api",
|
|
243
|
-
"local"
|
|
243
|
+
"local",
|
|
244
|
+
"data-source"
|
|
244
245
|
],
|
|
245
246
|
"default": "none"
|
|
246
247
|
},
|
|
@@ -883,6 +884,57 @@
|
|
|
883
884
|
}
|
|
884
885
|
}
|
|
885
886
|
},
|
|
887
|
+
"option": {
|
|
888
|
+
"type": "object",
|
|
889
|
+
"properties": {
|
|
890
|
+
"display": {
|
|
891
|
+
"type": "string"
|
|
892
|
+
},
|
|
893
|
+
"value": {
|
|
894
|
+
"oneOf": [
|
|
895
|
+
{
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"type": "number"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "boolean"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"type": "object",
|
|
906
|
+
"additionalProperties": true
|
|
907
|
+
}
|
|
908
|
+
]
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"optionsTableColumn": {
|
|
913
|
+
"allOf": [
|
|
914
|
+
{
|
|
915
|
+
"$ref": "#/definitions/baseTableColumn"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"type": "object",
|
|
919
|
+
"properties": {
|
|
920
|
+
"kind": {
|
|
921
|
+
"type": "string",
|
|
922
|
+
"const": "options"
|
|
923
|
+
},
|
|
924
|
+
"optionList": {
|
|
925
|
+
"type": "array",
|
|
926
|
+
"items": {
|
|
927
|
+
"$ref": "#/definitions/option"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": [
|
|
932
|
+
"kind",
|
|
933
|
+
"optionList"
|
|
934
|
+
]
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
},
|
|
886
938
|
"pipe": {
|
|
887
939
|
"oneOf": [
|
|
888
940
|
{
|
|
@@ -965,29 +1017,7 @@
|
|
|
965
1017
|
"optionList": {
|
|
966
1018
|
"type": "array",
|
|
967
1019
|
"items": {
|
|
968
|
-
"
|
|
969
|
-
"properties": {
|
|
970
|
-
"display": {
|
|
971
|
-
"type": "string"
|
|
972
|
-
},
|
|
973
|
-
"value": {
|
|
974
|
-
"oneOf": [
|
|
975
|
-
{
|
|
976
|
-
"type": "string"
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"type": "number"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"type": "boolean"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"type": "object",
|
|
986
|
-
"additionalProperties": true
|
|
987
|
-
}
|
|
988
|
-
]
|
|
989
|
-
}
|
|
990
|
-
}
|
|
1020
|
+
"$ref": "#/definitions/option"
|
|
991
1021
|
}
|
|
992
1022
|
},
|
|
993
1023
|
"backend": {
|
|
@@ -1236,6 +1266,9 @@
|
|
|
1236
1266
|
},
|
|
1237
1267
|
{
|
|
1238
1268
|
"$ref": "#/definitions/spinnerTableColumn"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"$ref": "#/definitions/optionsTableColumn"
|
|
1239
1272
|
}
|
|
1240
1273
|
]
|
|
1241
1274
|
},
|
|
@@ -240,7 +240,8 @@
|
|
|
240
240
|
"none",
|
|
241
241
|
"nestjs",
|
|
242
242
|
"open-api",
|
|
243
|
-
"local"
|
|
243
|
+
"local",
|
|
244
|
+
"data-source"
|
|
244
245
|
],
|
|
245
246
|
"default": "none"
|
|
246
247
|
},
|
|
@@ -883,6 +884,57 @@
|
|
|
883
884
|
}
|
|
884
885
|
}
|
|
885
886
|
},
|
|
887
|
+
"option": {
|
|
888
|
+
"type": "object",
|
|
889
|
+
"properties": {
|
|
890
|
+
"display": {
|
|
891
|
+
"type": "string"
|
|
892
|
+
},
|
|
893
|
+
"value": {
|
|
894
|
+
"oneOf": [
|
|
895
|
+
{
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"type": "number"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"type": "boolean"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"type": "object",
|
|
906
|
+
"additionalProperties": true
|
|
907
|
+
}
|
|
908
|
+
]
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"optionsTableColumn": {
|
|
913
|
+
"allOf": [
|
|
914
|
+
{
|
|
915
|
+
"$ref": "#/definitions/baseTableColumn"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"type": "object",
|
|
919
|
+
"properties": {
|
|
920
|
+
"kind": {
|
|
921
|
+
"type": "string",
|
|
922
|
+
"const": "options"
|
|
923
|
+
},
|
|
924
|
+
"optionList": {
|
|
925
|
+
"type": "array",
|
|
926
|
+
"items": {
|
|
927
|
+
"$ref": "#/definitions/option"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"required": [
|
|
932
|
+
"kind",
|
|
933
|
+
"optionList"
|
|
934
|
+
]
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
},
|
|
886
938
|
"pipe": {
|
|
887
939
|
"oneOf": [
|
|
888
940
|
{
|
|
@@ -965,29 +1017,7 @@
|
|
|
965
1017
|
"optionList": {
|
|
966
1018
|
"type": "array",
|
|
967
1019
|
"items": {
|
|
968
|
-
"
|
|
969
|
-
"properties": {
|
|
970
|
-
"display": {
|
|
971
|
-
"type": "string"
|
|
972
|
-
},
|
|
973
|
-
"value": {
|
|
974
|
-
"oneOf": [
|
|
975
|
-
{
|
|
976
|
-
"type": "string"
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"type": "number"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"type": "boolean"
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"type": "object",
|
|
986
|
-
"additionalProperties": true
|
|
987
|
-
}
|
|
988
|
-
]
|
|
989
|
-
}
|
|
990
|
-
}
|
|
1020
|
+
"$ref": "#/definitions/option"
|
|
991
1021
|
}
|
|
992
1022
|
},
|
|
993
1023
|
"backend": {
|
|
@@ -1154,6 +1184,9 @@
|
|
|
1154
1184
|
},
|
|
1155
1185
|
{
|
|
1156
1186
|
"$ref": "#/definitions/spinnerTableColumn"
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"$ref": "#/definitions/optionsTableColumn"
|
|
1157
1190
|
}
|
|
1158
1191
|
]
|
|
1159
1192
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
<ng-container [ngSwitch]="data.{{item.switch.property.name}}">
|
|
3
3
|
{{#each item.switch.case}}
|
|
4
|
-
<ng-template [ngSwitchCase]="{{this.test}}">
|
|
4
|
+
<ng-template [ngSwitchCase]="{{propertyValue this.test}}">
|
|
5
5
|
{{#each this.itemList}}
|
|
6
6
|
{{#if this.permission}}
|
|
7
7
|
<ng-template rxapIfHasPermission="{{item.permission}}">
|
|
@@ -240,7 +240,8 @@
|
|
|
240
240
|
"none",
|
|
241
241
|
"nestjs",
|
|
242
242
|
"open-api",
|
|
243
|
-
"local"
|
|
243
|
+
"local",
|
|
244
|
+
"data-source"
|
|
244
245
|
],
|
|
245
246
|
"default": "none"
|
|
246
247
|
},
|
|
@@ -755,6 +756,31 @@
|
|
|
755
756
|
}
|
|
756
757
|
]
|
|
757
758
|
},
|
|
759
|
+
"option": {
|
|
760
|
+
"type": "object",
|
|
761
|
+
"properties": {
|
|
762
|
+
"display": {
|
|
763
|
+
"type": "string"
|
|
764
|
+
},
|
|
765
|
+
"value": {
|
|
766
|
+
"oneOf": [
|
|
767
|
+
{
|
|
768
|
+
"type": "string"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"type": "number"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"type": "boolean"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"type": "object",
|
|
778
|
+
"additionalProperties": true
|
|
779
|
+
}
|
|
780
|
+
]
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
},
|
|
758
784
|
"pipe": {
|
|
759
785
|
"oneOf": [
|
|
760
786
|
{
|
|
@@ -837,29 +863,7 @@
|
|
|
837
863
|
"optionList": {
|
|
838
864
|
"type": "array",
|
|
839
865
|
"items": {
|
|
840
|
-
"
|
|
841
|
-
"properties": {
|
|
842
|
-
"display": {
|
|
843
|
-
"type": "string"
|
|
844
|
-
},
|
|
845
|
-
"value": {
|
|
846
|
-
"oneOf": [
|
|
847
|
-
{
|
|
848
|
-
"type": "string"
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"type": "number"
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
"type": "boolean"
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
"type": "object",
|
|
858
|
-
"additionalProperties": true
|
|
859
|
-
}
|
|
860
|
-
]
|
|
861
|
-
}
|
|
862
|
-
}
|
|
866
|
+
"$ref": "#/definitions/option"
|
|
863
867
|
}
|
|
864
868
|
},
|
|
865
869
|
"backend": {
|
|
@@ -153,7 +153,8 @@
|
|
|
153
153
|
"none",
|
|
154
154
|
"nestjs",
|
|
155
155
|
"open-api",
|
|
156
|
-
"local"
|
|
156
|
+
"local",
|
|
157
|
+
"data-source"
|
|
157
158
|
],
|
|
158
159
|
"default": "none"
|
|
159
160
|
},
|
|
@@ -288,6 +289,31 @@
|
|
|
288
289
|
}
|
|
289
290
|
}
|
|
290
291
|
},
|
|
292
|
+
"option": {
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"display": {
|
|
296
|
+
"type": "string"
|
|
297
|
+
},
|
|
298
|
+
"value": {
|
|
299
|
+
"oneOf": [
|
|
300
|
+
{
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"type": "number"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "boolean"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "object",
|
|
311
|
+
"additionalProperties": true
|
|
312
|
+
}
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
},
|
|
291
317
|
"property": {
|
|
292
318
|
"oneOf": [
|
|
293
319
|
{
|
|
@@ -342,29 +368,7 @@
|
|
|
342
368
|
"optionList": {
|
|
343
369
|
"type": "array",
|
|
344
370
|
"items": {
|
|
345
|
-
"
|
|
346
|
-
"properties": {
|
|
347
|
-
"display": {
|
|
348
|
-
"type": "string"
|
|
349
|
-
},
|
|
350
|
-
"value": {
|
|
351
|
-
"oneOf": [
|
|
352
|
-
{
|
|
353
|
-
"type": "string"
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"type": "number"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"type": "boolean"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"type": "object",
|
|
363
|
-
"additionalProperties": true
|
|
364
|
-
}
|
|
365
|
-
]
|
|
366
|
-
}
|
|
367
|
-
}
|
|
371
|
+
"$ref": "#/definitions/option"
|
|
368
372
|
}
|
|
369
373
|
},
|
|
370
374
|
"backend": {
|
|
@@ -253,7 +253,8 @@
|
|
|
253
253
|
"none",
|
|
254
254
|
"nestjs",
|
|
255
255
|
"open-api",
|
|
256
|
-
"local"
|
|
256
|
+
"local",
|
|
257
|
+
"data-source"
|
|
257
258
|
],
|
|
258
259
|
"default": "none"
|
|
259
260
|
},
|
|
@@ -676,6 +677,31 @@
|
|
|
676
677
|
}
|
|
677
678
|
]
|
|
678
679
|
},
|
|
680
|
+
"option": {
|
|
681
|
+
"type": "object",
|
|
682
|
+
"properties": {
|
|
683
|
+
"display": {
|
|
684
|
+
"type": "string"
|
|
685
|
+
},
|
|
686
|
+
"value": {
|
|
687
|
+
"oneOf": [
|
|
688
|
+
{
|
|
689
|
+
"type": "string"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"type": "number"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"type": "boolean"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"type": "object",
|
|
699
|
+
"additionalProperties": true
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
},
|
|
679
705
|
"property": {
|
|
680
706
|
"oneOf": [
|
|
681
707
|
{
|
|
@@ -730,29 +756,7 @@
|
|
|
730
756
|
"optionList": {
|
|
731
757
|
"type": "array",
|
|
732
758
|
"items": {
|
|
733
|
-
"
|
|
734
|
-
"properties": {
|
|
735
|
-
"display": {
|
|
736
|
-
"type": "string"
|
|
737
|
-
},
|
|
738
|
-
"value": {
|
|
739
|
-
"oneOf": [
|
|
740
|
-
{
|
|
741
|
-
"type": "string"
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
"type": "number"
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"type": "boolean"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"type": "object",
|
|
751
|
-
"additionalProperties": true
|
|
752
|
-
}
|
|
753
|
-
]
|
|
754
|
-
}
|
|
755
|
-
}
|
|
759
|
+
"$ref": "#/definitions/option"
|
|
756
760
|
}
|
|
757
761
|
},
|
|
758
762
|
"backend": {
|