@grexx/grexxlinter 0.2.343 → 0.2.348
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/cli.js +186 -9
- package/lsp.js +122 -5
- package/package.json +1 -1
- package/schemas/.coverage.json +75 -567
- package/schemas/activity.schema.json +0 -18
- package/schemas/activityAttribute.schema.json +0 -17
- package/schemas/attribute.schema.json +0 -25
- package/schemas/catchBlock.schema.json +11 -3
- package/schemas/container.schema.json +57 -68
- package/schemas/customThrow.schema.json +11 -3
- package/schemas/dataset.schema.json +0 -52
- package/schemas/datasetColumn.schema.json +0 -109
- package/schemas/datasetCondition.schema.json +0 -77
- package/schemas/folderInfo.schema.json +45 -0
- package/schemas/forEach.schema.json +42 -22
- package/schemas/formAction.schema.json +0 -10
- package/schemas/formfield.schema.json +0 -35
- package/schemas/mapping.schema.json +32 -31
- package/schemas/menuItem.schema.json +43 -51
- package/schemas/metadata.schema.json +0 -17
- package/schemas/platformAttribute.schema.json +0 -22
- package/schemas/platformRole.schema.json +0 -5
- package/schemas/simpleCondition.schema.json +0 -5
- package/schemas/trigger.schema.json +131 -63
- package/schemas/tryBlock.schema.json +11 -3
- package/schemas/view.schema.json +0 -17
- package/schemas/while.schema.json +23 -43
- package/schemas/widget.schema.json +0 -463
package/schemas/view.schema.json
CHANGED
|
@@ -137,22 +137,5 @@
|
|
|
137
137
|
],
|
|
138
138
|
"title": "view",
|
|
139
139
|
"type": "object",
|
|
140
|
-
"allOf": [
|
|
141
|
-
{
|
|
142
|
-
"properties": {
|
|
143
|
-
"leftNavigationItems": false
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"properties": {
|
|
148
|
-
"rightNavigationItems": false
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"properties": {
|
|
153
|
-
"topNavigationItems": false
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
140
|
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/view.json."
|
|
158
141
|
}
|
|
@@ -78,27 +78,13 @@
|
|
|
78
78
|
"allOf": [
|
|
79
79
|
{
|
|
80
80
|
"if": {
|
|
81
|
-
"
|
|
82
|
-
{
|
|
83
|
-
"
|
|
84
|
-
"showProgress": {
|
|
85
|
-
"const": "true"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"required": [
|
|
89
|
-
"showProgress"
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"properties": {
|
|
94
|
-
"showProgress": {
|
|
95
|
-
"const": "true"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"required": [
|
|
99
|
-
"showProgress"
|
|
100
|
-
]
|
|
81
|
+
"properties": {
|
|
82
|
+
"showProgress": {
|
|
83
|
+
"const": "true"
|
|
101
84
|
}
|
|
85
|
+
},
|
|
86
|
+
"required": [
|
|
87
|
+
"showProgress"
|
|
102
88
|
]
|
|
103
89
|
},
|
|
104
90
|
"then": {},
|
|
@@ -110,27 +96,13 @@
|
|
|
110
96
|
},
|
|
111
97
|
{
|
|
112
98
|
"if": {
|
|
113
|
-
"
|
|
114
|
-
{
|
|
115
|
-
"
|
|
116
|
-
"showProgress": {
|
|
117
|
-
"const": "true"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"required": [
|
|
121
|
-
"showProgress"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"properties": {
|
|
126
|
-
"showProgress": {
|
|
127
|
-
"const": "true"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"required": [
|
|
131
|
-
"showProgress"
|
|
132
|
-
]
|
|
99
|
+
"properties": {
|
|
100
|
+
"showProgress": {
|
|
101
|
+
"const": "true"
|
|
133
102
|
}
|
|
103
|
+
},
|
|
104
|
+
"required": [
|
|
105
|
+
"showProgress"
|
|
134
106
|
]
|
|
135
107
|
},
|
|
136
108
|
"then": {},
|
|
@@ -152,9 +124,17 @@
|
|
|
152
124
|
]
|
|
153
125
|
},
|
|
154
126
|
"then": {
|
|
155
|
-
"
|
|
156
|
-
|
|
157
|
-
|
|
127
|
+
"anyOf": [
|
|
128
|
+
{
|
|
129
|
+
"required": [
|
|
130
|
+
"progressTemplate"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"required": [
|
|
135
|
+
"progressTitle"
|
|
136
|
+
]
|
|
137
|
+
}
|
|
158
138
|
]
|
|
159
139
|
}
|
|
160
140
|
}
|
|
@@ -259,120 +259,6 @@
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
|
-
{
|
|
263
|
-
"if": {
|
|
264
|
-
"anyOf": [
|
|
265
|
-
{
|
|
266
|
-
"properties": {
|
|
267
|
-
"widgetType": {
|
|
268
|
-
"const": "tileWidget"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
"required": [
|
|
272
|
-
"widgetType"
|
|
273
|
-
]
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"properties": {
|
|
277
|
-
"widgetType": {
|
|
278
|
-
"const": "tileWidget"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"required": [
|
|
282
|
-
"widgetType"
|
|
283
|
-
]
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"allOf": [
|
|
287
|
-
{
|
|
288
|
-
"anyOf": [
|
|
289
|
-
{
|
|
290
|
-
"properties": {
|
|
291
|
-
"widgetType": {
|
|
292
|
-
"const": "formSearch"
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
"required": [
|
|
296
|
-
"widgetType"
|
|
297
|
-
]
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
"properties": {
|
|
301
|
-
"widgetType": {
|
|
302
|
-
"const": "simpleSearch"
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
"required": [
|
|
306
|
-
"widgetType"
|
|
307
|
-
]
|
|
308
|
-
}
|
|
309
|
-
]
|
|
310
|
-
},
|
|
311
|
-
{
|
|
312
|
-
"properties": {
|
|
313
|
-
"widgetType": {
|
|
314
|
-
"const": "simpleSearch"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
"required": [
|
|
318
|
-
"widgetType"
|
|
319
|
-
]
|
|
320
|
-
}
|
|
321
|
-
]
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"anyOf": [
|
|
325
|
-
{
|
|
326
|
-
"properties": {
|
|
327
|
-
"widgetType": {
|
|
328
|
-
"const": "grid-v2"
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"required": [
|
|
332
|
-
"widgetType"
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"properties": {
|
|
337
|
-
"widgetType": {
|
|
338
|
-
"const": "grid"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
"required": [
|
|
342
|
-
"widgetType"
|
|
343
|
-
]
|
|
344
|
-
}
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"properties": {
|
|
349
|
-
"widgetType": {
|
|
350
|
-
"const": "activityWidget"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"required": [
|
|
354
|
-
"widgetType"
|
|
355
|
-
]
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"properties": {
|
|
359
|
-
"widgetType": {
|
|
360
|
-
"const": "simpleSearch"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"required": [
|
|
364
|
-
"widgetType"
|
|
365
|
-
]
|
|
366
|
-
}
|
|
367
|
-
]
|
|
368
|
-
},
|
|
369
|
-
"then": {},
|
|
370
|
-
"else": {
|
|
371
|
-
"properties": {
|
|
372
|
-
"dataset": false
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
262
|
{
|
|
377
263
|
"if": {
|
|
378
264
|
"anyOf": [
|
|
@@ -629,24 +515,6 @@
|
|
|
629
515
|
}
|
|
630
516
|
}
|
|
631
517
|
},
|
|
632
|
-
{
|
|
633
|
-
"if": {
|
|
634
|
-
"properties": {
|
|
635
|
-
"widgetType": {
|
|
636
|
-
"const": "tileWidget"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
"required": [
|
|
640
|
-
"widgetType"
|
|
641
|
-
]
|
|
642
|
-
},
|
|
643
|
-
"then": {},
|
|
644
|
-
"else": {
|
|
645
|
-
"properties": {
|
|
646
|
-
"preSelectedCase": false
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
518
|
{
|
|
651
519
|
"if": {
|
|
652
520
|
"properties": {
|
|
@@ -665,38 +533,6 @@
|
|
|
665
533
|
}
|
|
666
534
|
}
|
|
667
535
|
},
|
|
668
|
-
{
|
|
669
|
-
"if": {
|
|
670
|
-
"anyOf": [
|
|
671
|
-
{
|
|
672
|
-
"properties": {
|
|
673
|
-
"widgetType": {
|
|
674
|
-
"const": "activityWidget"
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
|
-
"required": [
|
|
678
|
-
"widgetType"
|
|
679
|
-
]
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"properties": {
|
|
683
|
-
"widgetType": {
|
|
684
|
-
"const": "viewWidget"
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
"required": [
|
|
688
|
-
"widgetType"
|
|
689
|
-
]
|
|
690
|
-
}
|
|
691
|
-
]
|
|
692
|
-
},
|
|
693
|
-
"then": {},
|
|
694
|
-
"else": {
|
|
695
|
-
"properties": {
|
|
696
|
-
"selectionTemplate": false
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
},
|
|
700
536
|
{
|
|
701
537
|
"if": {
|
|
702
538
|
"anyOf": [
|
|
@@ -897,102 +733,6 @@
|
|
|
897
733
|
}
|
|
898
734
|
}
|
|
899
735
|
},
|
|
900
|
-
{
|
|
901
|
-
"if": {
|
|
902
|
-
"anyOf": [
|
|
903
|
-
{
|
|
904
|
-
"anyOf": [
|
|
905
|
-
{
|
|
906
|
-
"properties": {
|
|
907
|
-
"widgetType": {
|
|
908
|
-
"const": "caseData"
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
"required": [
|
|
912
|
-
"widgetType"
|
|
913
|
-
]
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"properties": {
|
|
917
|
-
"widgetType": {
|
|
918
|
-
"const": "caseDataClean"
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
"required": [
|
|
922
|
-
"widgetType"
|
|
923
|
-
]
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"properties": {
|
|
927
|
-
"widgetType": {
|
|
928
|
-
"const": "formWidget"
|
|
929
|
-
}
|
|
930
|
-
},
|
|
931
|
-
"required": [
|
|
932
|
-
"widgetType"
|
|
933
|
-
]
|
|
934
|
-
}
|
|
935
|
-
]
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
"properties": {
|
|
939
|
-
"widgetType": {
|
|
940
|
-
"const": "activityWidget"
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
"required": [
|
|
944
|
-
"widgetType"
|
|
945
|
-
]
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"properties": {
|
|
949
|
-
"widgetType": {
|
|
950
|
-
"const": "pluginWidget"
|
|
951
|
-
}
|
|
952
|
-
},
|
|
953
|
-
"required": [
|
|
954
|
-
"widgetType"
|
|
955
|
-
]
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
"properties": {
|
|
959
|
-
"widgetType": {
|
|
960
|
-
"const": "templateWidget"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
"required": [
|
|
964
|
-
"widgetType"
|
|
965
|
-
]
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
"properties": {
|
|
969
|
-
"widgetType": {
|
|
970
|
-
"const": "tileWidget"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"required": [
|
|
974
|
-
"widgetType"
|
|
975
|
-
]
|
|
976
|
-
},
|
|
977
|
-
{
|
|
978
|
-
"properties": {
|
|
979
|
-
"widgetType": {
|
|
980
|
-
"const": "viewWidget"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
"required": [
|
|
984
|
-
"widgetType"
|
|
985
|
-
]
|
|
986
|
-
}
|
|
987
|
-
]
|
|
988
|
-
},
|
|
989
|
-
"then": {},
|
|
990
|
-
"else": {
|
|
991
|
-
"properties": {
|
|
992
|
-
"masterWidget": false
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
736
|
{
|
|
997
737
|
"if": {
|
|
998
738
|
"anyOf": [
|
|
@@ -1181,90 +921,6 @@
|
|
|
1181
921
|
}
|
|
1182
922
|
}
|
|
1183
923
|
},
|
|
1184
|
-
{
|
|
1185
|
-
"if": {
|
|
1186
|
-
"anyOf": [
|
|
1187
|
-
{
|
|
1188
|
-
"properties": {
|
|
1189
|
-
"widgetType": {
|
|
1190
|
-
"const": "templateWidget"
|
|
1191
|
-
}
|
|
1192
|
-
},
|
|
1193
|
-
"required": [
|
|
1194
|
-
"widgetType"
|
|
1195
|
-
]
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"properties": {
|
|
1199
|
-
"widgetType": {
|
|
1200
|
-
"const": "tileWidget"
|
|
1201
|
-
}
|
|
1202
|
-
},
|
|
1203
|
-
"required": [
|
|
1204
|
-
"widgetType"
|
|
1205
|
-
]
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"properties": {
|
|
1209
|
-
"widgetType": {
|
|
1210
|
-
"const": "templateWidget"
|
|
1211
|
-
}
|
|
1212
|
-
},
|
|
1213
|
-
"required": [
|
|
1214
|
-
"widgetType"
|
|
1215
|
-
]
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
"properties": {
|
|
1219
|
-
"widgetType": {
|
|
1220
|
-
"const": "tileWidget"
|
|
1221
|
-
}
|
|
1222
|
-
},
|
|
1223
|
-
"required": [
|
|
1224
|
-
"widgetType"
|
|
1225
|
-
]
|
|
1226
|
-
}
|
|
1227
|
-
]
|
|
1228
|
-
},
|
|
1229
|
-
"then": {},
|
|
1230
|
-
"else": {
|
|
1231
|
-
"properties": {
|
|
1232
|
-
"template": false
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
"if": {
|
|
1238
|
-
"anyOf": [
|
|
1239
|
-
{
|
|
1240
|
-
"properties": {
|
|
1241
|
-
"widgetType": {
|
|
1242
|
-
"const": "filePreview"
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
"required": [
|
|
1246
|
-
"widgetType"
|
|
1247
|
-
]
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"properties": {
|
|
1251
|
-
"widgetType": {
|
|
1252
|
-
"const": "filePreview"
|
|
1253
|
-
}
|
|
1254
|
-
},
|
|
1255
|
-
"required": [
|
|
1256
|
-
"widgetType"
|
|
1257
|
-
]
|
|
1258
|
-
}
|
|
1259
|
-
]
|
|
1260
|
-
},
|
|
1261
|
-
"then": {},
|
|
1262
|
-
"else": {
|
|
1263
|
-
"properties": {
|
|
1264
|
-
"templateInline": false
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
924
|
{
|
|
1269
925
|
"if": {
|
|
1270
926
|
"properties": {
|
|
@@ -1283,108 +939,6 @@
|
|
|
1283
939
|
}
|
|
1284
940
|
}
|
|
1285
941
|
},
|
|
1286
|
-
{
|
|
1287
|
-
"if": {
|
|
1288
|
-
"anyOf": [
|
|
1289
|
-
{
|
|
1290
|
-
"anyOf": [
|
|
1291
|
-
{
|
|
1292
|
-
"properties": {
|
|
1293
|
-
"widgetType": {
|
|
1294
|
-
"const": "caseData"
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
"required": [
|
|
1298
|
-
"widgetType"
|
|
1299
|
-
]
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"properties": {
|
|
1303
|
-
"widgetType": {
|
|
1304
|
-
"const": "caseDataClean"
|
|
1305
|
-
}
|
|
1306
|
-
},
|
|
1307
|
-
"required": [
|
|
1308
|
-
"widgetType"
|
|
1309
|
-
]
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"properties": {
|
|
1313
|
-
"widgetType": {
|
|
1314
|
-
"const": "formWidget"
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
"required": [
|
|
1318
|
-
"widgetType"
|
|
1319
|
-
]
|
|
1320
|
-
}
|
|
1321
|
-
]
|
|
1322
|
-
},
|
|
1323
|
-
{
|
|
1324
|
-
"anyOf": [
|
|
1325
|
-
{
|
|
1326
|
-
"properties": {
|
|
1327
|
-
"widgetType": {
|
|
1328
|
-
"const": "formSearch"
|
|
1329
|
-
}
|
|
1330
|
-
},
|
|
1331
|
-
"required": [
|
|
1332
|
-
"widgetType"
|
|
1333
|
-
]
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"properties": {
|
|
1337
|
-
"widgetType": {
|
|
1338
|
-
"const": "simpleSearch"
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1341
|
-
"required": [
|
|
1342
|
-
"widgetType"
|
|
1343
|
-
]
|
|
1344
|
-
}
|
|
1345
|
-
]
|
|
1346
|
-
}
|
|
1347
|
-
]
|
|
1348
|
-
},
|
|
1349
|
-
"then": {},
|
|
1350
|
-
"else": {
|
|
1351
|
-
"properties": {
|
|
1352
|
-
"widgetType": false
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"if": {
|
|
1358
|
-
"anyOf": [
|
|
1359
|
-
{
|
|
1360
|
-
"properties": {
|
|
1361
|
-
"widgetType": {
|
|
1362
|
-
"const": "viewWidget"
|
|
1363
|
-
}
|
|
1364
|
-
},
|
|
1365
|
-
"required": [
|
|
1366
|
-
"widgetType"
|
|
1367
|
-
]
|
|
1368
|
-
},
|
|
1369
|
-
{
|
|
1370
|
-
"properties": {
|
|
1371
|
-
"widgetType": {
|
|
1372
|
-
"const": "viewWidget"
|
|
1373
|
-
}
|
|
1374
|
-
},
|
|
1375
|
-
"required": [
|
|
1376
|
-
"widgetType"
|
|
1377
|
-
]
|
|
1378
|
-
}
|
|
1379
|
-
]
|
|
1380
|
-
},
|
|
1381
|
-
"then": {},
|
|
1382
|
-
"else": {
|
|
1383
|
-
"properties": {
|
|
1384
|
-
"view": false
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
942
|
{
|
|
1389
943
|
"if": {
|
|
1390
944
|
"properties": {
|
|
@@ -1588,23 +1142,6 @@
|
|
|
1588
1142
|
"templateInline"
|
|
1589
1143
|
]
|
|
1590
1144
|
}
|
|
1591
|
-
},
|
|
1592
|
-
{
|
|
1593
|
-
"if": {
|
|
1594
|
-
"properties": {
|
|
1595
|
-
"widgetType": {
|
|
1596
|
-
"const": "viewWidget"
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1599
|
-
"required": [
|
|
1600
|
-
"widgetType"
|
|
1601
|
-
]
|
|
1602
|
-
},
|
|
1603
|
-
"then": {
|
|
1604
|
-
"required": [
|
|
1605
|
-
"view"
|
|
1606
|
-
]
|
|
1607
|
-
}
|
|
1608
1145
|
}
|
|
1609
1146
|
],
|
|
1610
1147
|
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/widget.json."
|