@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
@@ -34,6 +34,46 @@
34
34
  }
35
35
  ]
36
36
  }
37
+ ],
38
+ "forbiddenWhen": [
39
+ {
40
+ "op": "and",
41
+ "items": [
42
+ {
43
+ "op": "cmp",
44
+ "field": null,
45
+ "fieldName": "«[Role name]»",
46
+ "operator": "contains",
47
+ "value": "agents",
48
+ "valueIsField": false,
49
+ "isEmpty": false
50
+ },
51
+ {
52
+ "op": "not",
53
+ "item": {
54
+ "op": "cmp",
55
+ "field": null,
56
+ "fieldName": "«[Role name]»",
57
+ "operator": "contains",
58
+ "value": "allNormalCases",
59
+ "valueIsField": false,
60
+ "isEmpty": false
61
+ }
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "op": "not",
67
+ "item": {
68
+ "op": "cmp",
69
+ "field": null,
70
+ "fieldName": "«[Role name]»",
71
+ "operator": "contains",
72
+ "value": "agents",
73
+ "valueIsField": false,
74
+ "isEmpty": false
75
+ }
76
+ }
37
77
  ]
38
78
  },
39
79
  "attribute": {
@@ -88,6 +128,34 @@
88
128
  }
89
129
  ]
90
130
  }
131
+ ],
132
+ "forbiddenWhen": [
133
+ {
134
+ "op": "and",
135
+ "items": [
136
+ {
137
+ "op": "cmp",
138
+ "field": null,
139
+ "fieldName": "«[Role name]»",
140
+ "operator": "contains",
141
+ "value": "agents",
142
+ "valueIsField": false,
143
+ "isEmpty": false
144
+ },
145
+ {
146
+ "op": "not",
147
+ "item": {
148
+ "op": "cmp",
149
+ "field": null,
150
+ "fieldName": "«[Role name]»",
151
+ "operator": "contains",
152
+ "value": "allNormalCases",
153
+ "valueIsField": false,
154
+ "isEmpty": false
155
+ }
156
+ }
157
+ ]
158
+ }
91
159
  ]
92
160
  },
93
161
  "homepageCaseid": {
@@ -25,6 +25,26 @@
25
25
  "valueIsField": false,
26
26
  "isEmpty": false
27
27
  }
28
+ ],
29
+ "forbiddenWhen": [
30
+ {
31
+ "op": "cmp",
32
+ "field": "iterableType",
33
+ "fieldName": "Iterable type",
34
+ "operator": "==",
35
+ "value": "InlineTemplate",
36
+ "valueIsField": false,
37
+ "isEmpty": false
38
+ },
39
+ {
40
+ "op": "cmp",
41
+ "field": "iterableType",
42
+ "fieldName": "Iterable type",
43
+ "operator": "==",
44
+ "value": "Multivalue",
45
+ "valueIsField": false,
46
+ "isEmpty": false
47
+ }
28
48
  ]
29
49
  },
30
50
  "multivalueTemplate": {
@@ -50,6 +70,26 @@
50
70
  "valueIsField": false,
51
71
  "isEmpty": false
52
72
  }
73
+ ],
74
+ "forbiddenWhen": [
75
+ {
76
+ "op": "cmp",
77
+ "field": "iterableType",
78
+ "fieldName": "Iterable type",
79
+ "operator": "==",
80
+ "value": "Dataset",
81
+ "valueIsField": false,
82
+ "isEmpty": false
83
+ },
84
+ {
85
+ "op": "cmp",
86
+ "field": "iterableType",
87
+ "fieldName": "Iterable type",
88
+ "operator": "==",
89
+ "value": "Multivalue",
90
+ "valueIsField": false,
91
+ "isEmpty": false
92
+ }
53
93
  ]
54
94
  },
55
95
  "for": {
@@ -75,6 +115,26 @@
75
115
  "valueIsField": false,
76
116
  "isEmpty": false
77
117
  }
118
+ ],
119
+ "forbiddenWhen": [
120
+ {
121
+ "op": "cmp",
122
+ "field": "iterableType",
123
+ "fieldName": "Iterable type",
124
+ "operator": "==",
125
+ "value": "Dataset",
126
+ "valueIsField": false,
127
+ "isEmpty": false
128
+ },
129
+ {
130
+ "op": "cmp",
131
+ "field": "iterableType",
132
+ "fieldName": "Iterable type",
133
+ "operator": "==",
134
+ "value": "InlineTemplate",
135
+ "valueIsField": false,
136
+ "isEmpty": false
137
+ }
78
138
  ]
79
139
  },
80
140
  "progressTemplate": {
@@ -89,6 +149,17 @@
89
149
  "valueIsField": false,
90
150
  "isEmpty": false
91
151
  }
152
+ ],
153
+ "forbiddenWhen": [
154
+ {
155
+ "op": "cmp",
156
+ "field": "showProgress",
157
+ "fieldName": "Show Progress",
158
+ "operator": "!=",
159
+ "value": "true",
160
+ "valueIsField": false,
161
+ "isEmpty": false
162
+ }
92
163
  ]
93
164
  },
94
165
  "progressTitle": {
@@ -103,6 +174,17 @@
103
174
  "valueIsField": false,
104
175
  "isEmpty": false
105
176
  }
177
+ ],
178
+ "forbiddenWhen": [
179
+ {
180
+ "op": "cmp",
181
+ "field": "showProgress",
182
+ "fieldName": "Show Progress",
183
+ "operator": "!=",
184
+ "value": "true",
185
+ "valueIsField": false,
186
+ "isEmpty": false
187
+ }
106
188
  ]
107
189
  }
108
190
  }
@@ -1,4 +1,29 @@
1
1
  {
2
+ "cLOSEAllCasetypesThatHaveThisAsResultForms": {
3
+ "baseline": "MAY",
4
+ "enabledWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": "cLOSEAllCasetypesThatHaveThisAsResultForms",
8
+ "fieldName": "CLOSE - All casetypes that have this as result forms",
9
+ "operator": "!=",
10
+ "value": "",
11
+ "valueIsField": false,
12
+ "isEmpty": true
13
+ }
14
+ ],
15
+ "forbiddenWhen": [
16
+ {
17
+ "op": "cmp",
18
+ "field": "cLOSEAllCasetypesThatHaveThisAsResultForms",
19
+ "fieldName": "CLOSE - All casetypes that have this as result forms",
20
+ "operator": "==",
21
+ "value": "",
22
+ "valueIsField": false,
23
+ "isEmpty": true
24
+ }
25
+ ]
26
+ },
2
27
  "isMultiTaskForm": {
3
28
  "baseline": "MUST_NOT"
4
29
  },