@grexx/grexxlinter 0.2.2142 → 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 (37) hide show
  1. package/cli.js +1 -1
  2. package/package.json +1 -1
  3. package/schemas/.coverage.json +1 -1
  4. package/schemas/activity.behavior.json +823 -8
  5. package/schemas/activityAttribute.behavior.json +56 -0
  6. package/schemas/agent.behavior.json +44 -0
  7. package/schemas/agentTool.behavior.json +33 -0
  8. package/schemas/attribute.behavior.json +1137 -54
  9. package/schemas/casetype.behavior.json +512 -1
  10. package/schemas/catchBlock.behavior.json +22 -0
  11. package/schemas/container.behavior.json +65 -0
  12. package/schemas/customThrow.behavior.json +22 -0
  13. package/schemas/dataset.behavior.json +277 -0
  14. package/schemas/datasetColumn.behavior.json +289 -11
  15. package/schemas/datasetCondition.behavior.json +247 -0
  16. package/schemas/directRole.behavior.json +68 -0
  17. package/schemas/forEach.behavior.json +82 -0
  18. package/schemas/form.behavior.json +11 -0
  19. package/schemas/formAction.behavior.json +856 -47
  20. package/schemas/formActionAi.behavior.json +22 -0
  21. package/schemas/formfield.behavior.json +2330 -227
  22. package/schemas/indirectRole.behavior.json +28 -0
  23. package/schemas/mapping.behavior.json +321 -2
  24. package/schemas/menuItem.behavior.json +246 -0
  25. package/schemas/metadata.behavior.json +120 -0
  26. package/schemas/navigation.behavior.json +25 -0
  27. package/schemas/picklist.behavior.json +66 -0
  28. package/schemas/platformAttribute.behavior.json +400 -0
  29. package/schemas/platformRole.behavior.json +44 -0
  30. package/schemas/requestContext.behavior.json +119 -0
  31. package/schemas/simpleCondition.behavior.json +384 -1
  32. package/schemas/template.behavior.json +11 -0
  33. package/schemas/trigger.behavior.json +296 -0
  34. package/schemas/tryBlock.behavior.json +22 -0
  35. package/schemas/view.behavior.json +175 -0
  36. package/schemas/while.behavior.json +22 -0
  37. package/schemas/widget.behavior.json +1092 -34
@@ -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,17 @@
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
+ }
25
36
  ]
26
37
  },
27
38
  "allowedToRedirectBack": {
@@ -36,6 +47,17 @@
36
47
  "valueIsField": false,
37
48
  "isEmpty": false
38
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
+ }
39
61
  ]
40
62
  },
41
63
  "name": {
@@ -64,6 +86,17 @@
64
86
  "valueIsField": false,
65
87
  "isEmpty": false
66
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
+ }
67
100
  ]
68
101
  },
69
102
  "toolType": {