@grexx/grexxlinter 0.2.418 → 0.2.545

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 (56) hide show
  1. package/cli.js +1 -1
  2. package/package.json +1 -1
  3. package/schemas/activity.behavior.json +921 -0
  4. package/schemas/activityAttribute.behavior.json +47 -0
  5. package/schemas/activityRight.behavior.json +8 -0
  6. package/schemas/agent.behavior.json +91 -0
  7. package/schemas/agentTool.behavior.json +58 -0
  8. package/schemas/attribute.behavior.json +761 -0
  9. package/schemas/casetype.behavior.json +269 -0
  10. package/schemas/catchBlock.behavior.json +30 -0
  11. package/schemas/container.behavior.json +16 -0
  12. package/schemas/customThrow.behavior.json +30 -0
  13. package/schemas/dataRetentionProfile.behavior.json +157 -0
  14. package/schemas/dataset.behavior.json +359 -0
  15. package/schemas/datasetColumn.behavior.json +629 -0
  16. package/schemas/datasetCondition.behavior.json +361 -0
  17. package/schemas/datasetRight.behavior.json +8 -0
  18. package/schemas/datasource.behavior.json +8 -0
  19. package/schemas/directRole.behavior.json +59 -0
  20. package/schemas/fileUploadProfile.behavior.json +5 -0
  21. package/schemas/forEach.behavior.json +116 -0
  22. package/schemas/formAction.behavior.json +262 -0
  23. package/schemas/formActionAi.behavior.json +52 -0
  24. package/schemas/formRight.behavior.json +8 -0
  25. package/schemas/formfield.behavior.json +1028 -0
  26. package/schemas/gridColumn.schema.json +1 -1
  27. package/schemas/indirectRole.behavior.json +59 -0
  28. package/schemas/llmModel.behavior.json +8 -0
  29. package/schemas/mapping.behavior.json +216 -0
  30. package/schemas/menuItem.behavior.json +221 -0
  31. package/schemas/metadata.behavior.json +89 -0
  32. package/schemas/navigation.behavior.json +33 -0
  33. package/schemas/picklist.behavior.json +58 -0
  34. package/schemas/platformAttribute.behavior.json +377 -0
  35. package/schemas/platformRole.behavior.json +130 -0
  36. package/schemas/pluginLibrary.behavior.json +8 -0
  37. package/schemas/requestContext.behavior.json +100 -0
  38. package/schemas/roleName.behavior.json +5 -0
  39. package/schemas/securityProfile.behavior.json +8 -0
  40. package/schemas/securityRequirement.behavior.json +5 -0
  41. package/schemas/simpleCondition.behavior.json +319 -0
  42. package/schemas/taskQueue.behavior.json +5 -0
  43. package/schemas/template/date-function.schema.json +1 -1
  44. package/schemas/template/html.schema.json +1 -1
  45. package/schemas/template/if.schema.json +1 -1
  46. package/schemas/template/iterator.schema.json +1 -1
  47. package/schemas/template/multivalue.schema.json +1 -1
  48. package/schemas/template/picklist.schema.json +1 -1
  49. package/schemas/template/util.schema.json +1 -1
  50. package/schemas/template.behavior.json +5 -0
  51. package/schemas/trigger.behavior.json +294 -0
  52. package/schemas/tryBlock.behavior.json +30 -0
  53. package/schemas/view.behavior.json +159 -0
  54. package/schemas/while.behavior.json +30 -0
  55. package/schemas/widget.behavior.json +1213 -0
  56. package/schemas/widgetRight.behavior.json +8 -0
@@ -71,7 +71,7 @@
71
71
  "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
72
72
  },
73
73
  "render" : {
74
- "enum" : [ "default", "caseid", "pageid", "bold", "json", "escapeHtml", "dateonly", "timeonly", "withseconds", "shortdatetime", "shortdateonly", "shortdatetimebrowserlocale", "shortdateonlybrowserlocale", "relativetime", "calendartime", "raw", "picklistLabel", "picklistLabelLink", "utcdatetime" ],
74
+ "enum" : [ "default", "caseid", "pageid", "bold", "json", "escapeHtml", "dateonly", "timeonly", "withseconds", "shortdatetime", "shortdateonly", "shortdatetimebrowserlocale", "shortdateonlybrowserlocale", "relativetime", "calendartime", "raw", "picklistLabel", "picklistLabelLink", "utcdatetime", "thumbnail", "thumbnailWithHover" ],
75
75
  "type" : "string"
76
76
  },
77
77
  "resizable" : {
@@ -0,0 +1,59 @@
1
+ {
2
+ "caseAttribute": {
3
+ "baseline": "MAY",
4
+ "requiredWhen": [
5
+ {
6
+ "op": "not",
7
+ "item": {
8
+ "op": "cmp",
9
+ "field": null,
10
+ "fieldName": "«[Role name]»",
11
+ "operator": "contains",
12
+ "value": "agents",
13
+ "valueIsField": false,
14
+ "isEmpty": false
15
+ }
16
+ }
17
+ ],
18
+ "enabledWhen": [
19
+ {
20
+ "op": "not",
21
+ "item": {
22
+ "op": "cmp",
23
+ "field": null,
24
+ "fieldName": "«[Role name]»",
25
+ "operator": "contains",
26
+ "value": "agents",
27
+ "valueIsField": false,
28
+ "isEmpty": false
29
+ }
30
+ },
31
+ {
32
+ "op": "and",
33
+ "items": [
34
+ {
35
+ "op": "cmp",
36
+ "field": null,
37
+ "fieldName": "«[Role name]»",
38
+ "operator": "contains",
39
+ "value": "agents",
40
+ "valueIsField": false,
41
+ "isEmpty": false
42
+ },
43
+ {
44
+ "op": "cmp",
45
+ "field": null,
46
+ "fieldName": "«[Role name]»",
47
+ "operator": "contains",
48
+ "value": "allNormalCases",
49
+ "valueIsField": false,
50
+ "isEmpty": false
51
+ }
52
+ ]
53
+ }
54
+ ]
55
+ },
56
+ "roleName": {
57
+ "baseline": "MUST"
58
+ }
59
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "agentTextModel": {
3
+ "baseline": "MUST"
4
+ },
5
+ "name": {
6
+ "baseline": "MUST"
7
+ }
8
+ }
@@ -0,0 +1,216 @@
1
+ {
2
+ "fromAttribute": {
3
+ "baseline": "MUST_NOT",
4
+ "requiredWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": "fromAttributeType",
8
+ "fieldName": "From attribute type",
9
+ "operator": "==",
10
+ "value": "casedata",
11
+ "valueIsField": false,
12
+ "isEmpty": false
13
+ },
14
+ {
15
+ "op": "cmp",
16
+ "field": "fromAttributeType",
17
+ "fieldName": "From attribute type",
18
+ "operator": "==",
19
+ "value": "taskout",
20
+ "valueIsField": false,
21
+ "isEmpty": false
22
+ }
23
+ ],
24
+ "enabledWhen": [
25
+ {
26
+ "op": "cmp",
27
+ "field": "fromAttributeType",
28
+ "fieldName": "From attribute type",
29
+ "operator": "==",
30
+ "value": "casedata",
31
+ "valueIsField": false,
32
+ "isEmpty": false
33
+ },
34
+ {
35
+ "op": "cmp",
36
+ "field": "fromAttributeType",
37
+ "fieldName": "From attribute type",
38
+ "operator": "==",
39
+ "value": "taskout",
40
+ "valueIsField": false,
41
+ "isEmpty": false
42
+ }
43
+ ]
44
+ },
45
+ "fromInlineTemplate": {
46
+ "baseline": "MUST_NOT",
47
+ "requiredWhen": [
48
+ {
49
+ "op": "cmp",
50
+ "field": "fromAttributeType",
51
+ "fieldName": "From attribute type",
52
+ "operator": "==",
53
+ "value": "inlineTemplate",
54
+ "valueIsField": false,
55
+ "isEmpty": false
56
+ }
57
+ ],
58
+ "enabledWhen": [
59
+ {
60
+ "op": "cmp",
61
+ "field": "fromAttributeType",
62
+ "fieldName": "From attribute type",
63
+ "operator": "==",
64
+ "value": "inlineTemplate",
65
+ "valueIsField": false,
66
+ "isEmpty": false
67
+ }
68
+ ]
69
+ },
70
+ "progressTemplate": {
71
+ "baseline": "MUST_NOT",
72
+ "enabledWhen": [
73
+ {
74
+ "op": "cmp",
75
+ "field": "showProgress",
76
+ "fieldName": "Show Progress",
77
+ "operator": "==",
78
+ "value": "true",
79
+ "valueIsField": false,
80
+ "isEmpty": false
81
+ }
82
+ ]
83
+ },
84
+ "progressTitle": {
85
+ "baseline": "MUST_NOT",
86
+ "requiredWhen": [
87
+ {
88
+ "op": "cmp",
89
+ "field": "showProgress",
90
+ "fieldName": "Show Progress",
91
+ "operator": "==",
92
+ "value": "true",
93
+ "valueIsField": false,
94
+ "isEmpty": false
95
+ }
96
+ ],
97
+ "enabledWhen": [
98
+ {
99
+ "op": "cmp",
100
+ "field": "showProgress",
101
+ "fieldName": "Show Progress",
102
+ "operator": "==",
103
+ "value": "true",
104
+ "valueIsField": false,
105
+ "isEmpty": false
106
+ }
107
+ ]
108
+ },
109
+ "toAttribute": {
110
+ "baseline": "MUST_NOT",
111
+ "requiredWhen": [
112
+ {
113
+ "op": "cmp",
114
+ "field": "toAttributeType",
115
+ "fieldName": "To attribute type",
116
+ "operator": "!==",
117
+ "value": "taskIn",
118
+ "valueIsField": false,
119
+ "isEmpty": false
120
+ },
121
+ {
122
+ "op": "cmp",
123
+ "field": "toAttributeType",
124
+ "fieldName": "To attribute type",
125
+ "operator": "!=",
126
+ "value": "",
127
+ "valueIsField": false,
128
+ "isEmpty": true
129
+ }
130
+ ],
131
+ "enabledWhen": [
132
+ {
133
+ "op": "cmp",
134
+ "field": "toAttributeType",
135
+ "fieldName": "To attribute type",
136
+ "operator": "!==",
137
+ "value": "taskIn",
138
+ "valueIsField": false,
139
+ "isEmpty": false
140
+ },
141
+ {
142
+ "op": "cmp",
143
+ "field": "toAttributeType",
144
+ "fieldName": "To attribute type",
145
+ "operator": "!=",
146
+ "value": "",
147
+ "valueIsField": false,
148
+ "isEmpty": true
149
+ }
150
+ ]
151
+ },
152
+ "jsonPath": {
153
+ "baseline": "MUST_NOT",
154
+ "enabledWhen": [
155
+ {
156
+ "op": "cmp",
157
+ "field": "toAttributeType",
158
+ "fieldName": "To attribute type",
159
+ "operator": "in",
160
+ "value": "('casedata',' taskIn')",
161
+ "valueIsField": false,
162
+ "isEmpty": false
163
+ }
164
+ ]
165
+ },
166
+ "toKey": {
167
+ "baseline": "MUST_NOT",
168
+ "requiredWhen": [
169
+ {
170
+ "op": "cmp",
171
+ "field": "toAttributeType",
172
+ "fieldName": "To attribute type",
173
+ "operator": "==",
174
+ "value": "usersession",
175
+ "valueIsField": false,
176
+ "isEmpty": false
177
+ }
178
+ ],
179
+ "enabledWhen": [
180
+ {
181
+ "op": "cmp",
182
+ "field": "toAttributeType",
183
+ "fieldName": "To attribute type",
184
+ "operator": "==",
185
+ "value": "usersession",
186
+ "valueIsField": false,
187
+ "isEmpty": false
188
+ }
189
+ ]
190
+ },
191
+ "activityAttribute": {
192
+ "baseline": "MUST_NOT",
193
+ "requiredWhen": [
194
+ {
195
+ "op": "cmp",
196
+ "field": "toAttributeType",
197
+ "fieldName": "To attribute type",
198
+ "operator": "==",
199
+ "value": "taskAttribute",
200
+ "valueIsField": false,
201
+ "isEmpty": false
202
+ }
203
+ ],
204
+ "enabledWhen": [
205
+ {
206
+ "op": "cmp",
207
+ "field": "toAttributeType",
208
+ "fieldName": "To attribute type",
209
+ "operator": "==",
210
+ "value": "taskAttribute",
211
+ "valueIsField": false,
212
+ "isEmpty": false
213
+ }
214
+ ]
215
+ }
216
+ }
@@ -0,0 +1,221 @@
1
+ {
2
+ "cssClass": {
3
+ "baseline": "MUST_NOT",
4
+ "enabledWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": "type",
8
+ "fieldName": "Type",
9
+ "operator": "==",
10
+ "value": "link",
11
+ "valueIsField": false,
12
+ "isEmpty": false
13
+ },
14
+ {
15
+ "op": "cmp",
16
+ "field": "type",
17
+ "fieldName": "Type",
18
+ "operator": "==",
19
+ "value": "menu",
20
+ "valueIsField": false,
21
+ "isEmpty": false
22
+ },
23
+ {
24
+ "op": "cmp",
25
+ "field": "type",
26
+ "fieldName": "Type",
27
+ "operator": "==",
28
+ "value": "text",
29
+ "valueIsField": false,
30
+ "isEmpty": false
31
+ },
32
+ {
33
+ "op": "cmp",
34
+ "field": "type",
35
+ "fieldName": "Type",
36
+ "operator": "==",
37
+ "value": "title",
38
+ "valueIsField": false,
39
+ "isEmpty": false
40
+ }
41
+ ]
42
+ },
43
+ "href": {
44
+ "baseline": "MUST_NOT",
45
+ "requiredWhen": [
46
+ {
47
+ "op": "cmp",
48
+ "field": "type",
49
+ "fieldName": "Type",
50
+ "operator": "==",
51
+ "value": "link",
52
+ "valueIsField": false,
53
+ "isEmpty": false
54
+ }
55
+ ],
56
+ "enabledWhen": [
57
+ {
58
+ "op": "cmp",
59
+ "field": "type",
60
+ "fieldName": "Type",
61
+ "operator": "==",
62
+ "value": "link",
63
+ "valueIsField": false,
64
+ "isEmpty": false
65
+ },
66
+ {
67
+ "op": "cmp",
68
+ "field": "type",
69
+ "fieldName": "Type",
70
+ "operator": "==",
71
+ "value": "menu",
72
+ "valueIsField": false,
73
+ "isEmpty": false
74
+ }
75
+ ]
76
+ },
77
+ "icon": {
78
+ "baseline": "MUST_NOT",
79
+ "enabledWhen": [
80
+ {
81
+ "op": "cmp",
82
+ "field": "type",
83
+ "fieldName": "Type",
84
+ "operator": "==",
85
+ "value": "link",
86
+ "valueIsField": false,
87
+ "isEmpty": false
88
+ },
89
+ {
90
+ "op": "cmp",
91
+ "field": "type",
92
+ "fieldName": "Type",
93
+ "operator": "==",
94
+ "value": "menu",
95
+ "valueIsField": false,
96
+ "isEmpty": false
97
+ }
98
+ ]
99
+ },
100
+ "subtext": {
101
+ "baseline": "MUST_NOT",
102
+ "enabledWhen": [
103
+ {
104
+ "op": "cmp",
105
+ "field": "type",
106
+ "fieldName": "Type",
107
+ "operator": "==",
108
+ "value": "title",
109
+ "valueIsField": false,
110
+ "isEmpty": false
111
+ }
112
+ ]
113
+ },
114
+ "template": {
115
+ "baseline": "MUST_NOT",
116
+ "requiredWhen": [
117
+ {
118
+ "op": "cmp",
119
+ "field": "type",
120
+ "fieldName": "Type",
121
+ "operator": "==",
122
+ "value": "template",
123
+ "valueIsField": false,
124
+ "isEmpty": false
125
+ }
126
+ ],
127
+ "enabledWhen": [
128
+ {
129
+ "op": "cmp",
130
+ "field": "type",
131
+ "fieldName": "Type",
132
+ "operator": "==",
133
+ "value": "template",
134
+ "valueIsField": false,
135
+ "isEmpty": false
136
+ }
137
+ ]
138
+ },
139
+ "text": {
140
+ "baseline": "MUST_NOT",
141
+ "requiredWhen": [
142
+ {
143
+ "op": "cmp",
144
+ "field": "type",
145
+ "fieldName": "Type",
146
+ "operator": "==",
147
+ "value": "html",
148
+ "valueIsField": false,
149
+ "isEmpty": false
150
+ },
151
+ {
152
+ "op": "cmp",
153
+ "field": "type",
154
+ "fieldName": "Type",
155
+ "operator": "==",
156
+ "value": "text",
157
+ "valueIsField": false,
158
+ "isEmpty": false
159
+ },
160
+ {
161
+ "op": "cmp",
162
+ "field": "type",
163
+ "fieldName": "Type",
164
+ "operator": "==",
165
+ "value": "title",
166
+ "valueIsField": false,
167
+ "isEmpty": false
168
+ }
169
+ ],
170
+ "enabledWhen": [
171
+ {
172
+ "op": "cmp",
173
+ "field": "type",
174
+ "fieldName": "Type",
175
+ "operator": "==",
176
+ "value": "html",
177
+ "valueIsField": false,
178
+ "isEmpty": false
179
+ },
180
+ {
181
+ "op": "cmp",
182
+ "field": "type",
183
+ "fieldName": "Type",
184
+ "operator": "==",
185
+ "value": "text",
186
+ "valueIsField": false,
187
+ "isEmpty": false
188
+ },
189
+ {
190
+ "op": "cmp",
191
+ "field": "type",
192
+ "fieldName": "Type",
193
+ "operator": "==",
194
+ "value": "title",
195
+ "valueIsField": false,
196
+ "isEmpty": false
197
+ },
198
+ {
199
+ "op": "cmp",
200
+ "field": "type",
201
+ "fieldName": "Type",
202
+ "operator": "==",
203
+ "value": "link",
204
+ "valueIsField": false,
205
+ "isEmpty": false
206
+ },
207
+ {
208
+ "op": "cmp",
209
+ "field": "type",
210
+ "fieldName": "Type",
211
+ "operator": "==",
212
+ "value": "menu",
213
+ "valueIsField": false,
214
+ "isEmpty": false
215
+ }
216
+ ]
217
+ },
218
+ "type": {
219
+ "baseline": "MUST"
220
+ }
221
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": {
3
+ "baseline": "MUST"
4
+ },
5
+ "param1": {
6
+ "baseline": "MUST_NOT",
7
+ "enabledWhen": [
8
+ {
9
+ "op": "cmp",
10
+ "field": "type",
11
+ "fieldName": "Type metadata",
12
+ "operator": "like",
13
+ "value": "icon",
14
+ "valueIsField": false,
15
+ "isEmpty": false
16
+ }
17
+ ]
18
+ },
19
+ "param2": {
20
+ "baseline": "MUST_NOT",
21
+ "enabledWhen": [
22
+ {
23
+ "op": "cmp",
24
+ "field": "type",
25
+ "fieldName": "Type metadata",
26
+ "operator": "like",
27
+ "value": "icon",
28
+ "valueIsField": false,
29
+ "isEmpty": false
30
+ }
31
+ ]
32
+ },
33
+ "type": {
34
+ "baseline": "MUST"
35
+ },
36
+ "value": {
37
+ "baseline": "MUST_NOT",
38
+ "requiredWhen": [
39
+ {
40
+ "op": "and",
41
+ "items": [
42
+ {
43
+ "op": "cmp",
44
+ "field": "type",
45
+ "fieldName": "Type metadata",
46
+ "operator": "!=",
47
+ "value": "meta:msapplication-TileColor",
48
+ "valueIsField": false,
49
+ "isEmpty": false
50
+ },
51
+ {
52
+ "op": "cmp",
53
+ "field": "type",
54
+ "fieldName": "Type metadata",
55
+ "operator": "!=",
56
+ "value": "meta:theme-color",
57
+ "valueIsField": false,
58
+ "isEmpty": false
59
+ }
60
+ ]
61
+ }
62
+ ],
63
+ "enabledWhen": [
64
+ {
65
+ "op": "and",
66
+ "items": [
67
+ {
68
+ "op": "cmp",
69
+ "field": "type",
70
+ "fieldName": "Type metadata",
71
+ "operator": "!=",
72
+ "value": "meta:msapplication-TileColor",
73
+ "valueIsField": false,
74
+ "isEmpty": false
75
+ },
76
+ {
77
+ "op": "cmp",
78
+ "field": "type",
79
+ "fieldName": "Type metadata",
80
+ "operator": "!=",
81
+ "value": "meta:theme-color",
82
+ "valueIsField": false,
83
+ "isEmpty": false
84
+ }
85
+ ]
86
+ }
87
+ ]
88
+ }
89
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": {
3
+ "baseline": "MUST"
4
+ },
5
+ "uncollapsible": {
6
+ "baseline": "MUST_NOT",
7
+ "enabledWhen": [
8
+ {
9
+ "op": "or",
10
+ "items": [
11
+ {
12
+ "op": "cmp",
13
+ "field": "type",
14
+ "fieldName": "Type",
15
+ "operator": "==",
16
+ "value": "sidebar-left",
17
+ "valueIsField": false,
18
+ "isEmpty": false
19
+ },
20
+ {
21
+ "op": "cmp",
22
+ "field": "type",
23
+ "fieldName": "Type",
24
+ "operator": "==",
25
+ "value": "sidebar-right",
26
+ "valueIsField": false,
27
+ "isEmpty": false
28
+ }
29
+ ]
30
+ }
31
+ ]
32
+ }
33
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "itemTemplate": {
3
+ "baseline": "MAY",
4
+ "enabledWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": "dataset",
8
+ "fieldName": "Dataset",
9
+ "operator": "!=",
10
+ "value": "",
11
+ "valueIsField": false,
12
+ "isEmpty": true
13
+ }
14
+ ]
15
+ },
16
+ "name": {
17
+ "baseline": "MUST"
18
+ },
19
+ "inlineTemplate": {
20
+ "baseline": "MAY",
21
+ "requiredWhen": [
22
+ {
23
+ "op": "cmp",
24
+ "field": "dataset",
25
+ "fieldName": "Dataset",
26
+ "operator": "!=",
27
+ "value": "",
28
+ "valueIsField": false,
29
+ "isEmpty": true
30
+ }
31
+ ],
32
+ "enabledWhen": [
33
+ {
34
+ "op": "cmp",
35
+ "field": "dataset",
36
+ "fieldName": "Dataset",
37
+ "operator": "!=",
38
+ "value": "",
39
+ "valueIsField": false,
40
+ "isEmpty": true
41
+ }
42
+ ]
43
+ },
44
+ "valueTemplate": {
45
+ "baseline": "MAY",
46
+ "enabledWhen": [
47
+ {
48
+ "op": "cmp",
49
+ "field": "dataset",
50
+ "fieldName": "Dataset",
51
+ "operator": "!=",
52
+ "value": "",
53
+ "valueIsField": false,
54
+ "isEmpty": true
55
+ }
56
+ ]
57
+ }
58
+ }