@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
|
@@ -123,27 +123,13 @@
|
|
|
123
123
|
"allOf": [
|
|
124
124
|
{
|
|
125
125
|
"if": {
|
|
126
|
-
"
|
|
127
|
-
{
|
|
128
|
-
"
|
|
129
|
-
"showProgress": {
|
|
130
|
-
"const": "true"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"required": [
|
|
134
|
-
"showProgress"
|
|
135
|
-
]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"properties": {
|
|
139
|
-
"showProgress": {
|
|
140
|
-
"const": "true"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"required": [
|
|
144
|
-
"showProgress"
|
|
145
|
-
]
|
|
126
|
+
"properties": {
|
|
127
|
+
"showProgress": {
|
|
128
|
+
"const": "true"
|
|
146
129
|
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"showProgress"
|
|
147
133
|
]
|
|
148
134
|
},
|
|
149
135
|
"then": {},
|
|
@@ -155,27 +141,13 @@
|
|
|
155
141
|
},
|
|
156
142
|
{
|
|
157
143
|
"if": {
|
|
158
|
-
"
|
|
159
|
-
{
|
|
160
|
-
"
|
|
161
|
-
"showProgress": {
|
|
162
|
-
"const": "true"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"required": [
|
|
166
|
-
"showProgress"
|
|
167
|
-
]
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"properties": {
|
|
171
|
-
"showProgress": {
|
|
172
|
-
"const": "true"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"required": [
|
|
176
|
-
"showProgress"
|
|
177
|
-
]
|
|
144
|
+
"properties": {
|
|
145
|
+
"showProgress": {
|
|
146
|
+
"const": "true"
|
|
178
147
|
}
|
|
148
|
+
},
|
|
149
|
+
"required": [
|
|
150
|
+
"showProgress"
|
|
179
151
|
]
|
|
180
152
|
},
|
|
181
153
|
"then": {},
|
|
@@ -317,7 +289,7 @@
|
|
|
317
289
|
"if": {
|
|
318
290
|
"properties": {
|
|
319
291
|
"toTriggerType": {
|
|
320
|
-
"const": "
|
|
292
|
+
"const": "currentCase"
|
|
321
293
|
}
|
|
322
294
|
},
|
|
323
295
|
"required": [
|
|
@@ -325,10 +297,17 @@
|
|
|
325
297
|
]
|
|
326
298
|
},
|
|
327
299
|
"then": {
|
|
328
|
-
"
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
300
|
+
"anyOf": [
|
|
301
|
+
{
|
|
302
|
+
"required": [
|
|
303
|
+
"activityTo"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"required": [
|
|
308
|
+
"activityTag"
|
|
309
|
+
]
|
|
310
|
+
}
|
|
332
311
|
]
|
|
333
312
|
}
|
|
334
313
|
},
|
|
@@ -344,10 +323,17 @@
|
|
|
344
323
|
]
|
|
345
324
|
},
|
|
346
325
|
"then": {
|
|
347
|
-
"
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
326
|
+
"anyOf": [
|
|
327
|
+
{
|
|
328
|
+
"required": [
|
|
329
|
+
"activityTo"
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"required": [
|
|
334
|
+
"activityTag"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
351
337
|
]
|
|
352
338
|
}
|
|
353
339
|
},
|
|
@@ -355,7 +341,7 @@
|
|
|
355
341
|
"if": {
|
|
356
342
|
"properties": {
|
|
357
343
|
"toTriggerType": {
|
|
358
|
-
"const": "
|
|
344
|
+
"const": "attributeValue"
|
|
359
345
|
}
|
|
360
346
|
},
|
|
361
347
|
"required": [
|
|
@@ -363,9 +349,43 @@
|
|
|
363
349
|
]
|
|
364
350
|
},
|
|
365
351
|
"then": {
|
|
352
|
+
"anyOf": [
|
|
353
|
+
{
|
|
354
|
+
"required": [
|
|
355
|
+
"activityTo"
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"required": [
|
|
360
|
+
"activityTag"
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"if": {
|
|
368
|
+
"properties": {
|
|
369
|
+
"toTriggerType": {
|
|
370
|
+
"const": "parent"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
366
373
|
"required": [
|
|
367
|
-
"
|
|
368
|
-
|
|
374
|
+
"toTriggerType"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"then": {
|
|
378
|
+
"anyOf": [
|
|
379
|
+
{
|
|
380
|
+
"required": [
|
|
381
|
+
"activityTo"
|
|
382
|
+
]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"required": [
|
|
386
|
+
"activityTag"
|
|
387
|
+
]
|
|
388
|
+
}
|
|
369
389
|
]
|
|
370
390
|
}
|
|
371
391
|
},
|
|
@@ -381,10 +401,43 @@
|
|
|
381
401
|
]
|
|
382
402
|
},
|
|
383
403
|
"then": {
|
|
404
|
+
"anyOf": [
|
|
405
|
+
{
|
|
406
|
+
"required": [
|
|
407
|
+
"activityTo"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"required": [
|
|
412
|
+
"activityTag"
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"if": {
|
|
420
|
+
"properties": {
|
|
421
|
+
"showProgress": {
|
|
422
|
+
"const": "true"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
384
425
|
"required": [
|
|
385
|
-
"
|
|
386
|
-
|
|
387
|
-
|
|
426
|
+
"showProgress"
|
|
427
|
+
]
|
|
428
|
+
},
|
|
429
|
+
"then": {
|
|
430
|
+
"anyOf": [
|
|
431
|
+
{
|
|
432
|
+
"required": [
|
|
433
|
+
"progressTemplate"
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"required": [
|
|
438
|
+
"progressTitle"
|
|
439
|
+
]
|
|
440
|
+
}
|
|
388
441
|
]
|
|
389
442
|
}
|
|
390
443
|
},
|
|
@@ -392,7 +445,7 @@
|
|
|
392
445
|
"if": {
|
|
393
446
|
"properties": {
|
|
394
447
|
"toTriggerType": {
|
|
395
|
-
"const": "
|
|
448
|
+
"const": "attributeValue"
|
|
396
449
|
}
|
|
397
450
|
},
|
|
398
451
|
"required": [
|
|
@@ -401,26 +454,41 @@
|
|
|
401
454
|
},
|
|
402
455
|
"then": {
|
|
403
456
|
"required": [
|
|
404
|
-
"
|
|
405
|
-
"activityTag"
|
|
457
|
+
"caseTo"
|
|
406
458
|
]
|
|
407
459
|
}
|
|
408
460
|
},
|
|
409
461
|
{
|
|
410
462
|
"if": {
|
|
411
463
|
"properties": {
|
|
412
|
-
"
|
|
413
|
-
"const": "
|
|
464
|
+
"toTriggerType": {
|
|
465
|
+
"const": "casesInDataset"
|
|
414
466
|
}
|
|
415
467
|
},
|
|
416
468
|
"required": [
|
|
417
|
-
"
|
|
469
|
+
"toTriggerType"
|
|
418
470
|
]
|
|
419
471
|
},
|
|
420
472
|
"then": {
|
|
421
473
|
"required": [
|
|
422
|
-
"
|
|
423
|
-
|
|
474
|
+
"datasetTo"
|
|
475
|
+
]
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"if": {
|
|
480
|
+
"properties": {
|
|
481
|
+
"toTriggerType": {
|
|
482
|
+
"const": "foreachItem"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"required": [
|
|
486
|
+
"toTriggerType"
|
|
487
|
+
]
|
|
488
|
+
},
|
|
489
|
+
"then": {
|
|
490
|
+
"required": [
|
|
491
|
+
"forEachTo"
|
|
424
492
|
]
|
|
425
493
|
}
|
|
426
494
|
},
|
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
|
}
|