@grexx/grexxlinter 0.2.343 → 0.2.350
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 +321 -45
- package/lsp.js +13502 -13383
- package/package.json +1 -1
- package/schemas/.caserefs.json +174 -0
- 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 +3 -107
- 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
|
@@ -86,8 +86,21 @@
|
|
|
86
86
|
"type": "object",
|
|
87
87
|
"allOf": [
|
|
88
88
|
{
|
|
89
|
-
"
|
|
90
|
-
"
|
|
89
|
+
"if": {
|
|
90
|
+
"properties": {
|
|
91
|
+
"showProgress": {
|
|
92
|
+
"const": "true"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": [
|
|
96
|
+
"showProgress"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"then": {},
|
|
100
|
+
"else": {
|
|
101
|
+
"properties": {
|
|
102
|
+
"progressTemplate": false
|
|
103
|
+
}
|
|
91
104
|
}
|
|
92
105
|
},
|
|
93
106
|
{
|
|
@@ -118,42 +131,50 @@
|
|
|
118
131
|
"then": {},
|
|
119
132
|
"else": {
|
|
120
133
|
"properties": {
|
|
121
|
-
"
|
|
134
|
+
"progressTitle": false
|
|
122
135
|
}
|
|
123
136
|
}
|
|
124
137
|
},
|
|
125
138
|
{
|
|
126
139
|
"if": {
|
|
140
|
+
"properties": {
|
|
141
|
+
"showProgress": {
|
|
142
|
+
"const": "true"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"showProgress"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"then": {
|
|
127
150
|
"anyOf": [
|
|
128
151
|
{
|
|
129
|
-
"properties": {
|
|
130
|
-
"showProgress": {
|
|
131
|
-
"const": "true"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
152
|
"required": [
|
|
135
|
-
"
|
|
153
|
+
"progressTitle"
|
|
136
154
|
]
|
|
137
155
|
},
|
|
138
156
|
{
|
|
139
|
-
"properties": {
|
|
140
|
-
"showProgress": {
|
|
141
|
-
"const": "true"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
157
|
"required": [
|
|
145
|
-
"
|
|
158
|
+
"progressTemplate"
|
|
146
159
|
]
|
|
147
160
|
}
|
|
148
161
|
]
|
|
149
|
-
},
|
|
150
|
-
"then": {},
|
|
151
|
-
"else": {
|
|
152
|
-
"properties": {
|
|
153
|
-
"progressTitle": false
|
|
154
|
-
}
|
|
155
162
|
}
|
|
156
163
|
},
|
|
164
|
+
{
|
|
165
|
+
"anyOf": [
|
|
166
|
+
{
|
|
167
|
+
"required": [
|
|
168
|
+
"for"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"required": [
|
|
173
|
+
"forDataset"
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
},
|
|
157
178
|
{
|
|
158
179
|
"if": {
|
|
159
180
|
"properties": {
|
|
@@ -167,7 +188,6 @@
|
|
|
167
188
|
},
|
|
168
189
|
"then": {
|
|
169
190
|
"required": [
|
|
170
|
-
"progressTemplate",
|
|
171
191
|
"progressTitle"
|
|
172
192
|
]
|
|
173
193
|
}
|
|
@@ -299,51 +299,16 @@
|
|
|
299
299
|
"title": "formfield",
|
|
300
300
|
"type": "object",
|
|
301
301
|
"allOf": [
|
|
302
|
-
{
|
|
303
|
-
"properties": {
|
|
304
|
-
"addActivity": false
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
302
|
{
|
|
308
303
|
"properties": {
|
|
309
304
|
"attributeInfo": false
|
|
310
305
|
}
|
|
311
306
|
},
|
|
312
|
-
{
|
|
313
|
-
"properties": {
|
|
314
|
-
"dateProfile": false
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
307
|
{
|
|
318
308
|
"properties": {
|
|
319
309
|
"logic": false
|
|
320
310
|
}
|
|
321
311
|
},
|
|
322
|
-
{
|
|
323
|
-
"properties": {
|
|
324
|
-
"addActivityBase": false
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"properties": {
|
|
329
|
-
"picklistBase": false
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"properties": {
|
|
334
|
-
"placeholder": false
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"properties": {
|
|
339
|
-
"placeholderUseLabel": false
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"properties": {
|
|
344
|
-
"textRows": false
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
312
|
{
|
|
348
313
|
"if": {
|
|
349
314
|
"properties": {
|
|
@@ -333,27 +333,13 @@
|
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"if": {
|
|
336
|
-
"
|
|
337
|
-
{
|
|
338
|
-
"
|
|
339
|
-
"showProgress": {
|
|
340
|
-
"const": "true"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
"required": [
|
|
344
|
-
"showProgress"
|
|
345
|
-
]
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"properties": {
|
|
349
|
-
"showProgress": {
|
|
350
|
-
"const": "true"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"required": [
|
|
354
|
-
"showProgress"
|
|
355
|
-
]
|
|
336
|
+
"properties": {
|
|
337
|
+
"showProgress": {
|
|
338
|
+
"const": "true"
|
|
356
339
|
}
|
|
340
|
+
},
|
|
341
|
+
"required": [
|
|
342
|
+
"showProgress"
|
|
357
343
|
]
|
|
358
344
|
},
|
|
359
345
|
"then": {},
|
|
@@ -395,16 +381,6 @@
|
|
|
395
381
|
}
|
|
396
382
|
}
|
|
397
383
|
},
|
|
398
|
-
{
|
|
399
|
-
"properties": {
|
|
400
|
-
"toAttribute": false
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
"properties": {
|
|
405
|
-
"jsonPath": false
|
|
406
|
-
}
|
|
407
|
-
},
|
|
408
384
|
{
|
|
409
385
|
"if": {
|
|
410
386
|
"anyOf": [
|
|
@@ -469,6 +445,32 @@
|
|
|
469
445
|
}
|
|
470
446
|
}
|
|
471
447
|
},
|
|
448
|
+
{
|
|
449
|
+
"if": {
|
|
450
|
+
"properties": {
|
|
451
|
+
"showProgress": {
|
|
452
|
+
"const": "true"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"required": [
|
|
456
|
+
"showProgress"
|
|
457
|
+
]
|
|
458
|
+
},
|
|
459
|
+
"then": {
|
|
460
|
+
"anyOf": [
|
|
461
|
+
{
|
|
462
|
+
"required": [
|
|
463
|
+
"progressTemplate"
|
|
464
|
+
]
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"required": [
|
|
468
|
+
"progressTitle"
|
|
469
|
+
]
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
},
|
|
472
474
|
{
|
|
473
475
|
"if": {
|
|
474
476
|
"properties": {
|
|
@@ -646,7 +648,6 @@
|
|
|
646
648
|
},
|
|
647
649
|
"then": {
|
|
648
650
|
"required": [
|
|
649
|
-
"progressTemplate",
|
|
650
651
|
"progressTitle"
|
|
651
652
|
]
|
|
652
653
|
}
|
|
@@ -198,26 +198,6 @@
|
|
|
198
198
|
{
|
|
199
199
|
"if": {
|
|
200
200
|
"anyOf": [
|
|
201
|
-
{
|
|
202
|
-
"properties": {
|
|
203
|
-
"type": {
|
|
204
|
-
"const": "link"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"required": [
|
|
208
|
-
"type"
|
|
209
|
-
]
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"properties": {
|
|
213
|
-
"type": {
|
|
214
|
-
"const": "menu"
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
"required": [
|
|
218
|
-
"type"
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
201
|
{
|
|
222
202
|
"properties": {
|
|
223
203
|
"type": {
|
|
@@ -310,26 +290,6 @@
|
|
|
310
290
|
"type"
|
|
311
291
|
]
|
|
312
292
|
},
|
|
313
|
-
{
|
|
314
|
-
"properties": {
|
|
315
|
-
"type": {
|
|
316
|
-
"const": "link"
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
"required": [
|
|
320
|
-
"type"
|
|
321
|
-
]
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"properties": {
|
|
325
|
-
"type": {
|
|
326
|
-
"const": "menu"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
"required": [
|
|
330
|
-
"type"
|
|
331
|
-
]
|
|
332
|
-
},
|
|
333
293
|
{
|
|
334
294
|
"properties": {
|
|
335
295
|
"type": {
|
|
@@ -363,7 +323,7 @@
|
|
|
363
323
|
{
|
|
364
324
|
"properties": {
|
|
365
325
|
"type": {
|
|
366
|
-
"const": "
|
|
326
|
+
"const": "text"
|
|
367
327
|
}
|
|
368
328
|
},
|
|
369
329
|
"required": [
|
|
@@ -373,7 +333,7 @@
|
|
|
373
333
|
{
|
|
374
334
|
"properties": {
|
|
375
335
|
"type": {
|
|
376
|
-
"const": "
|
|
336
|
+
"const": "title"
|
|
377
337
|
}
|
|
378
338
|
},
|
|
379
339
|
"required": [
|
|
@@ -383,7 +343,7 @@
|
|
|
383
343
|
{
|
|
384
344
|
"properties": {
|
|
385
345
|
"type": {
|
|
386
|
-
"const": "
|
|
346
|
+
"const": "link"
|
|
387
347
|
}
|
|
388
348
|
},
|
|
389
349
|
"required": [
|
|
@@ -393,7 +353,7 @@
|
|
|
393
353
|
{
|
|
394
354
|
"properties": {
|
|
395
355
|
"type": {
|
|
396
|
-
"const": "
|
|
356
|
+
"const": "menu"
|
|
397
357
|
}
|
|
398
358
|
},
|
|
399
359
|
"required": [
|
|
@@ -413,7 +373,7 @@
|
|
|
413
373
|
"if": {
|
|
414
374
|
"properties": {
|
|
415
375
|
"type": {
|
|
416
|
-
"const": "
|
|
376
|
+
"const": "menu"
|
|
417
377
|
}
|
|
418
378
|
},
|
|
419
379
|
"required": [
|
|
@@ -421,10 +381,43 @@
|
|
|
421
381
|
]
|
|
422
382
|
},
|
|
423
383
|
"then": {
|
|
384
|
+
"anyOf": [
|
|
385
|
+
{
|
|
386
|
+
"required": [
|
|
387
|
+
"text"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"required": [
|
|
392
|
+
"icon"
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
]
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"if": {
|
|
400
|
+
"properties": {
|
|
401
|
+
"type": {
|
|
402
|
+
"const": "link"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
424
405
|
"required": [
|
|
425
|
-
"
|
|
426
|
-
|
|
427
|
-
|
|
406
|
+
"type"
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
"then": {
|
|
410
|
+
"anyOf": [
|
|
411
|
+
{
|
|
412
|
+
"required": [
|
|
413
|
+
"text"
|
|
414
|
+
]
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"required": [
|
|
418
|
+
"icon"
|
|
419
|
+
]
|
|
420
|
+
}
|
|
428
421
|
]
|
|
429
422
|
}
|
|
430
423
|
},
|
|
@@ -432,7 +425,7 @@
|
|
|
432
425
|
"if": {
|
|
433
426
|
"properties": {
|
|
434
427
|
"type": {
|
|
435
|
-
"const": "
|
|
428
|
+
"const": "link"
|
|
436
429
|
}
|
|
437
430
|
},
|
|
438
431
|
"required": [
|
|
@@ -441,8 +434,7 @@
|
|
|
441
434
|
},
|
|
442
435
|
"then": {
|
|
443
436
|
"required": [
|
|
444
|
-
"
|
|
445
|
-
"text"
|
|
437
|
+
"href"
|
|
446
438
|
]
|
|
447
439
|
}
|
|
448
440
|
},
|
|
@@ -77,22 +77,5 @@
|
|
|
77
77
|
],
|
|
78
78
|
"title": "metadata",
|
|
79
79
|
"type": "object",
|
|
80
|
-
"allOf": [
|
|
81
|
-
{
|
|
82
|
-
"properties": {
|
|
83
|
-
"param1": false
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"properties": {
|
|
88
|
-
"param2": false
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"properties": {
|
|
93
|
-
"value": false
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
80
|
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/metadata.json."
|
|
98
81
|
}
|
|
@@ -305,11 +305,6 @@
|
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
{
|
|
309
|
-
"properties": {
|
|
310
|
-
"validation": false
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
308
|
{
|
|
314
309
|
"if": {
|
|
315
310
|
"properties": {
|
|
@@ -343,23 +338,6 @@
|
|
|
343
338
|
"currency"
|
|
344
339
|
]
|
|
345
340
|
}
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"if": {
|
|
349
|
-
"properties": {
|
|
350
|
-
"type": {
|
|
351
|
-
"const": "case"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
"required": [
|
|
355
|
-
"type"
|
|
356
|
-
]
|
|
357
|
-
},
|
|
358
|
-
"then": {
|
|
359
|
-
"required": [
|
|
360
|
-
"subtype"
|
|
361
|
-
]
|
|
362
|
-
}
|
|
363
341
|
}
|
|
364
342
|
],
|
|
365
343
|
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/platformAttribute.json."
|