@grexx/grexxlinter 0.2.2124 → 0.2.2179

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 (44) hide show
  1. package/cli.js +1 -1
  2. package/package.json +1 -1
  3. package/schemas/.coverage.json +6909 -2954
  4. package/schemas/activity.behavior.json +1037 -59
  5. package/schemas/activity.schema.json +79 -29
  6. package/schemas/activityAttribute.behavior.json +56 -0
  7. package/schemas/agent.behavior.json +44 -0
  8. package/schemas/agentTool.behavior.json +47 -0
  9. package/schemas/attribute.behavior.json +1503 -110
  10. package/schemas/casetype.behavior.json +854 -128
  11. package/schemas/catchBlock.behavior.json +22 -0
  12. package/schemas/container.behavior.json +74 -0
  13. package/schemas/customThrow.behavior.json +22 -0
  14. package/schemas/dataset.behavior.json +310 -18
  15. package/schemas/dataset.schema.json +51 -5
  16. package/schemas/datasetColumn.behavior.json +295 -11
  17. package/schemas/datasetCondition.behavior.json +247 -0
  18. package/schemas/directRole.behavior.json +68 -0
  19. package/schemas/forEach.behavior.json +82 -0
  20. package/schemas/form.behavior.json +25 -0
  21. package/schemas/formAction.behavior.json +947 -106
  22. package/schemas/formActionAi.behavior.json +22 -0
  23. package/schemas/formGroup.behavior.json +3 -0
  24. package/schemas/formfield.behavior.json +4523 -455
  25. package/schemas/indirectRole.behavior.json +82 -0
  26. package/schemas/mapping.behavior.json +608 -29
  27. package/schemas/menuItem.behavior.json +255 -0
  28. package/schemas/menuItem.schema.json +10 -0
  29. package/schemas/metadata.behavior.json +120 -0
  30. package/schemas/navigation.behavior.json +25 -0
  31. package/schemas/parallelBlock.behavior.json +5 -0
  32. package/schemas/picklist.behavior.json +108 -0
  33. package/schemas/platformAttribute.behavior.json +428 -1
  34. package/schemas/platformRole.behavior.json +44 -0
  35. package/schemas/requestContext.behavior.json +119 -0
  36. package/schemas/simpleCondition.behavior.json +384 -1
  37. package/schemas/taskQueue.behavior.json +17 -0
  38. package/schemas/template.behavior.json +11 -0
  39. package/schemas/trigger.behavior.json +296 -0
  40. package/schemas/tryBlock.behavior.json +25 -0
  41. package/schemas/view.behavior.json +259 -0
  42. package/schemas/while.behavior.json +22 -0
  43. package/schemas/widget.behavior.json +1755 -119
  44. package/schemas/widget.schema.json +144 -0
@@ -383,13 +383,27 @@
383
383
  },
384
384
  {
385
385
  "if": {
386
- "properties": {
387
- "jumpToCase": {
388
- "const": true
386
+ "anyOf": [
387
+ {
388
+ "properties": {
389
+ "jumpToCase": {
390
+ "const": true
391
+ }
392
+ },
393
+ "required": [
394
+ "jumpToCase"
395
+ ]
396
+ },
397
+ {
398
+ "properties": {
399
+ "type": {
400
+ "const": "form"
401
+ }
402
+ },
403
+ "required": [
404
+ "type"
405
+ ]
389
406
  }
390
- },
391
- "required": [
392
- "jumpToCase"
393
407
  ]
394
408
  },
395
409
  "then": {},
@@ -401,13 +415,27 @@
401
415
  },
402
416
  {
403
417
  "if": {
404
- "properties": {
405
- "jumpToCase": {
406
- "const": true
418
+ "anyOf": [
419
+ {
420
+ "properties": {
421
+ "jumpToCase": {
422
+ "const": true
423
+ }
424
+ },
425
+ "required": [
426
+ "jumpToCase"
427
+ ]
428
+ },
429
+ {
430
+ "properties": {
431
+ "type": {
432
+ "const": "form"
433
+ }
434
+ },
435
+ "required": [
436
+ "type"
437
+ ]
407
438
  }
408
- },
409
- "required": [
410
- "jumpToCase"
411
439
  ]
412
440
  },
413
441
  "then": {},
@@ -573,6 +601,24 @@
573
601
  }
574
602
  }
575
603
  },
604
+ {
605
+ "if": {
606
+ "properties": {
607
+ "type": {
608
+ "const": "multitask"
609
+ }
610
+ },
611
+ "required": [
612
+ "type"
613
+ ]
614
+ },
615
+ "then": {},
616
+ "else": {
617
+ "properties": {
618
+ "multitaskLayout": false
619
+ }
620
+ }
621
+ },
576
622
  {
577
623
  "if": {
578
624
  "properties": {
@@ -888,6 +934,27 @@
888
934
  ]
889
935
  }
890
936
  },
937
+ {
938
+ "if": {
939
+ "properties": {
940
+ "type": {
941
+ "const": "event"
942
+ }
943
+ },
944
+ "required": [
945
+ "type"
946
+ ]
947
+ },
948
+ "then": {
949
+ "required": [
950
+ "eventType"
951
+ ],
952
+ "properties": {
953
+ "autoMapFromLocal": false,
954
+ "autoMapToLocal": false
955
+ }
956
+ }
957
+ },
891
958
  {
892
959
  "if": {
893
960
  "properties": {
@@ -963,23 +1030,6 @@
963
1030
  ]
964
1031
  }
965
1032
  },
966
- {
967
- "if": {
968
- "properties": {
969
- "type": {
970
- "const": "event"
971
- }
972
- },
973
- "required": [
974
- "type"
975
- ]
976
- },
977
- "then": {
978
- "required": [
979
- "eventType"
980
- ]
981
- }
982
- },
983
1033
  {
984
1034
  "if": {
985
1035
  "properties": {
@@ -28,6 +28,17 @@
28
28
  "valueIsField": false,
29
29
  "isEmpty": false
30
30
  }
31
+ ],
32
+ "forbiddenWhen": [
33
+ {
34
+ "op": "cmp",
35
+ "field": "isCachedCalculated",
36
+ "fieldName": "Is cached calculated",
37
+ "operator": "!=",
38
+ "value": "true",
39
+ "valueIsField": false,
40
+ "isEmpty": false
41
+ }
31
42
  ]
32
43
  },
33
44
  "subtype": {
@@ -42,6 +53,17 @@
42
53
  "valueIsField": false,
43
54
  "isEmpty": false
44
55
  }
56
+ ],
57
+ "forbiddenWhen": [
58
+ {
59
+ "op": "cmp",
60
+ "field": "type",
61
+ "fieldName": "Type",
62
+ "operator": "!=",
63
+ "value": "case",
64
+ "valueIsField": false,
65
+ "isEmpty": false
66
+ }
45
67
  ]
46
68
  },
47
69
  "subTypeIsUnknown": {
@@ -79,6 +101,40 @@
79
101
  "valueIsField": false,
80
102
  "isEmpty": false
81
103
  }
104
+ ],
105
+ "forbiddenWhen": [
106
+ {
107
+ "op": "or",
108
+ "items": [
109
+ {
110
+ "op": "cmp",
111
+ "field": "subtype",
112
+ "fieldName": "Sub type",
113
+ "operator": "!=",
114
+ "value": "",
115
+ "valueIsField": false,
116
+ "isEmpty": true
117
+ },
118
+ {
119
+ "op": "cmp",
120
+ "field": "type",
121
+ "fieldName": "Type",
122
+ "operator": "!=",
123
+ "value": "case",
124
+ "valueIsField": false,
125
+ "isEmpty": false
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "op": "cmp",
131
+ "field": "type",
132
+ "fieldName": "Type",
133
+ "operator": "!=",
134
+ "value": "case",
135
+ "valueIsField": false,
136
+ "isEmpty": false
137
+ }
82
138
  ]
83
139
  },
84
140
  "type": {
@@ -11,6 +11,17 @@
11
11
  "valueIsField": false,
12
12
  "isEmpty": false
13
13
  }
14
+ ],
15
+ "forbiddenWhen": [
16
+ {
17
+ "op": "cmp",
18
+ "field": "agentAllowContextSwitchType",
19
+ "fieldName": "Allow to switch context type",
20
+ "operator": "!=",
21
+ "value": "sameAttribute",
22
+ "valueIsField": false,
23
+ "isEmpty": false
24
+ }
14
25
  ]
15
26
  },
16
27
  "agentAllowContextSwitchAttribute": {
@@ -36,6 +47,17 @@
36
47
  "valueIsField": false,
37
48
  "isEmpty": false
38
49
  }
50
+ ],
51
+ "forbiddenWhen": [
52
+ {
53
+ "op": "cmp",
54
+ "field": "agentAllowContextSwitchType",
55
+ "fieldName": "Allow to switch context type",
56
+ "operator": "!=",
57
+ "value": "sameAttribute",
58
+ "valueIsField": false,
59
+ "isEmpty": false
60
+ }
39
61
  ]
40
62
  },
41
63
  "model": {
@@ -61,6 +83,17 @@
61
83
  "valueIsField": false,
62
84
  "isEmpty": true
63
85
  }
86
+ ],
87
+ "forbiddenWhen": [
88
+ {
89
+ "op": "cmp",
90
+ "field": "agentTextModel",
91
+ "fieldName": "Text model",
92
+ "operator": "!==",
93
+ "value": "",
94
+ "valueIsField": false,
95
+ "isEmpty": true
96
+ }
64
97
  ]
65
98
  },
66
99
  "agentTextModel": {
@@ -86,6 +119,17 @@
86
119
  "valueIsField": false,
87
120
  "isEmpty": true
88
121
  }
122
+ ],
123
+ "forbiddenWhen": [
124
+ {
125
+ "op": "cmp",
126
+ "field": "agentTextModel",
127
+ "fieldName": "Text model",
128
+ "operator": "===",
129
+ "value": "",
130
+ "valueIsField": false,
131
+ "isEmpty": true
132
+ }
89
133
  ]
90
134
  }
91
135
  }
@@ -22,6 +22,42 @@
22
22
  "valueIsField": false,
23
23
  "isEmpty": false
24
24
  }
25
+ ],
26
+ "forbiddenWhen": [
27
+ {
28
+ "op": "cmp",
29
+ "field": "toolType",
30
+ "fieldName": "Tool type",
31
+ "operator": "!=",
32
+ "value": "globalActivity",
33
+ "valueIsField": false,
34
+ "isEmpty": false
35
+ }
36
+ ]
37
+ },
38
+ "allowedToRedirectBack": {
39
+ "baseline": "MAY",
40
+ "enabledWhen": [
41
+ {
42
+ "op": "cmp",
43
+ "field": "toolType",
44
+ "fieldName": "Tool type",
45
+ "operator": "==",
46
+ "value": "redirect",
47
+ "valueIsField": false,
48
+ "isEmpty": false
49
+ }
50
+ ],
51
+ "forbiddenWhen": [
52
+ {
53
+ "op": "cmp",
54
+ "field": "toolType",
55
+ "fieldName": "Tool type",
56
+ "operator": "!=",
57
+ "value": "redirect",
58
+ "valueIsField": false,
59
+ "isEmpty": false
60
+ }
25
61
  ]
26
62
  },
27
63
  "name": {
@@ -50,6 +86,17 @@
50
86
  "valueIsField": false,
51
87
  "isEmpty": false
52
88
  }
89
+ ],
90
+ "forbiddenWhen": [
91
+ {
92
+ "op": "cmp",
93
+ "field": "toolType",
94
+ "fieldName": "Tool type",
95
+ "operator": "!=",
96
+ "value": "redirect",
97
+ "valueIsField": false,
98
+ "isEmpty": false
99
+ }
53
100
  ]
54
101
  },
55
102
  "toolType": {