@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
@@ -0,0 +1,377 @@
1
+ {
2
+ "allowHTML": {
3
+ "baseline": "MAY",
4
+ "enabledWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": "type",
8
+ "fieldName": "Type platform attribute",
9
+ "operator": "in",
10
+ "value": "«[\"string\", \"json\", \"inlinetemplate\"]»",
11
+ "valueIsField": false,
12
+ "isEmpty": false
13
+ }
14
+ ]
15
+ },
16
+ "calculatedCached": {
17
+ "baseline": "MUST_NOT",
18
+ "enabledWhen": [
19
+ {
20
+ "op": "cmp",
21
+ "field": "isCalculated",
22
+ "fieldName": "Calculated field",
23
+ "operator": "==",
24
+ "value": "true",
25
+ "valueIsField": false,
26
+ "isEmpty": false
27
+ }
28
+ ]
29
+ },
30
+ "calcTemplate": {
31
+ "baseline": "MUST_NOT",
32
+ "requiredWhen": [
33
+ {
34
+ "op": "cmp",
35
+ "field": "isCalculated",
36
+ "fieldName": "Calculated field",
37
+ "operator": "==",
38
+ "value": "true",
39
+ "valueIsField": false,
40
+ "isEmpty": false
41
+ }
42
+ ],
43
+ "enabledWhen": [
44
+ {
45
+ "op": "cmp",
46
+ "field": "isCalculated",
47
+ "fieldName": "Calculated field",
48
+ "operator": "==",
49
+ "value": "true",
50
+ "valueIsField": false,
51
+ "isEmpty": false
52
+ }
53
+ ]
54
+ },
55
+ "calculationOrder": {
56
+ "baseline": "MUST_NOT",
57
+ "enabledWhen": [
58
+ {
59
+ "op": "and",
60
+ "items": [
61
+ {
62
+ "op": "cmp",
63
+ "field": "calculatedCached",
64
+ "fieldName": "Calculated cached",
65
+ "operator": "==",
66
+ "value": "true",
67
+ "valueIsField": false,
68
+ "isEmpty": false
69
+ },
70
+ {
71
+ "op": "cmp",
72
+ "field": "isCalculated",
73
+ "fieldName": "Calculated field",
74
+ "operator": "==",
75
+ "value": "true",
76
+ "valueIsField": false,
77
+ "isEmpty": false
78
+ }
79
+ ]
80
+ }
81
+ ]
82
+ },
83
+ "currency": {
84
+ "baseline": "MAY",
85
+ "requiredWhen": [
86
+ {
87
+ "op": "cmp",
88
+ "field": "type",
89
+ "fieldName": "Type platform attribute",
90
+ "operator": "==",
91
+ "value": "singlecurrencymoney",
92
+ "valueIsField": false,
93
+ "isEmpty": false
94
+ }
95
+ ],
96
+ "enabledWhen": [
97
+ {
98
+ "op": "cmp",
99
+ "field": "type",
100
+ "fieldName": "Type platform attribute",
101
+ "operator": "==",
102
+ "value": "singlecurrencymoney",
103
+ "valueIsField": false,
104
+ "isEmpty": false
105
+ },
106
+ {
107
+ "op": "cmp",
108
+ "field": "type",
109
+ "fieldName": "Type platform attribute",
110
+ "operator": "==",
111
+ "value": "money",
112
+ "valueIsField": false,
113
+ "isEmpty": false
114
+ }
115
+ ]
116
+ },
117
+ "dateProfile": {
118
+ "baseline": "MAY",
119
+ "enabledWhen": [
120
+ {
121
+ "op": "cmp",
122
+ "field": "type",
123
+ "fieldName": "Type platform attribute",
124
+ "operator": "contains",
125
+ "value": "date",
126
+ "valueIsField": false,
127
+ "isEmpty": false
128
+ }
129
+ ]
130
+ },
131
+ "attributeDefaultValue": {
132
+ "baseline": "MAY",
133
+ "enabledWhen": [
134
+ {
135
+ "op": "cmp",
136
+ "field": "type",
137
+ "fieldName": "Type platform attribute",
138
+ "operator": "in",
139
+ "value": "«[\"integer\", \"long\", \"json\", \"string\", \"double\", \"boolean\"…»",
140
+ "valueIsField": false,
141
+ "isEmpty": false
142
+ },
143
+ {
144
+ "op": "cmp",
145
+ "field": "type",
146
+ "fieldName": "Type platform attribute",
147
+ "operator": "==",
148
+ "value": "singlecurrencymoney",
149
+ "valueIsField": false,
150
+ "isEmpty": false
151
+ }
152
+ ]
153
+ },
154
+ "excludeFromRelatedCases": {
155
+ "baseline": "MAY",
156
+ "enabledWhen": [
157
+ {
158
+ "op": "and",
159
+ "items": [
160
+ {
161
+ "op": "cmp",
162
+ "field": null,
163
+ "fieldName": "Current user is meta",
164
+ "operator": "==",
165
+ "value": "true",
166
+ "valueIsField": false,
167
+ "isEmpty": false
168
+ },
169
+ {
170
+ "op": "cmp",
171
+ "field": "type",
172
+ "fieldName": "Type platform attribute",
173
+ "operator": "in",
174
+ "value": "«[\"case\", \"json\", \"string\", \"inlinetemplate\"]»",
175
+ "valueIsField": false,
176
+ "isEmpty": false
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "op": "and",
182
+ "items": [
183
+ {
184
+ "op": "cmp",
185
+ "field": null,
186
+ "fieldName": "Current user is meta",
187
+ "operator": "==",
188
+ "value": "true",
189
+ "valueIsField": false,
190
+ "isEmpty": false
191
+ },
192
+ {
193
+ "op": "cmp",
194
+ "field": "type",
195
+ "fieldName": "Type platform attribute",
196
+ "operator": "in",
197
+ "value": "«[\"string\", \"json\", \"inlinetemplate\", \"case\"]»",
198
+ "valueIsField": false,
199
+ "isEmpty": false
200
+ }
201
+ ]
202
+ }
203
+ ]
204
+ },
205
+ "filesizeMax": {
206
+ "baseline": "MAY",
207
+ "enabledWhen": [
208
+ {
209
+ "op": "cmp",
210
+ "field": "type",
211
+ "fieldName": "Type platform attribute",
212
+ "operator": "==",
213
+ "value": "file",
214
+ "valueIsField": false,
215
+ "isEmpty": false
216
+ }
217
+ ]
218
+ },
219
+ "filesizeMin": {
220
+ "baseline": "MAY",
221
+ "enabledWhen": [
222
+ {
223
+ "op": "cmp",
224
+ "field": "type",
225
+ "fieldName": "Type platform attribute",
226
+ "operator": "==",
227
+ "value": "file",
228
+ "valueIsField": false,
229
+ "isEmpty": false
230
+ }
231
+ ]
232
+ },
233
+ "fileuploadInstruction": {
234
+ "baseline": "MAY",
235
+ "enabledWhen": [
236
+ {
237
+ "op": "cmp",
238
+ "field": "type",
239
+ "fieldName": "Type platform attribute",
240
+ "operator": "==",
241
+ "value": "file",
242
+ "valueIsField": false,
243
+ "isEmpty": false
244
+ }
245
+ ]
246
+ },
247
+ "multivalue": {
248
+ "baseline": "MAY",
249
+ "enabledWhen": [
250
+ {
251
+ "op": "cmp",
252
+ "field": "type",
253
+ "fieldName": "Type platform attribute",
254
+ "operator": "notin",
255
+ "value": "[\"datasetrow\", \"money\", \"singlecurrencymoney\", \"datetime\", \"date\", \"double\", \"inlinetemplate\", \"boolean\"]",
256
+ "valueIsField": false,
257
+ "isEmpty": false
258
+ }
259
+ ]
260
+ },
261
+ "multivalueMax": {
262
+ "baseline": "MAY",
263
+ "enabledWhen": [
264
+ {
265
+ "op": "cmp",
266
+ "field": "multivalue",
267
+ "fieldName": "Multivalue",
268
+ "operator": "==",
269
+ "value": "true",
270
+ "valueIsField": false,
271
+ "isEmpty": false
272
+ }
273
+ ]
274
+ },
275
+ "multivalueMin": {
276
+ "baseline": "MAY",
277
+ "enabledWhen": [
278
+ {
279
+ "op": "cmp",
280
+ "field": "multivalue",
281
+ "fieldName": "Multivalue",
282
+ "operator": "==",
283
+ "value": "true",
284
+ "valueIsField": false,
285
+ "isEmpty": false
286
+ }
287
+ ]
288
+ },
289
+ "multivalueType": {
290
+ "baseline": "MAY",
291
+ "enabledWhen": [
292
+ {
293
+ "op": "cmp",
294
+ "field": "multivalue",
295
+ "fieldName": "Multivalue",
296
+ "operator": "==",
297
+ "value": "true",
298
+ "valueIsField": false,
299
+ "isEmpty": false
300
+ }
301
+ ]
302
+ },
303
+ "picklist": {
304
+ "baseline": "MAY",
305
+ "enabledWhen": [
306
+ {
307
+ "op": "cmp",
308
+ "field": "type",
309
+ "fieldName": "Type platform attribute",
310
+ "operator": "notin",
311
+ "value": "«[\"json\", \"datetime\", \"datasetrow\", \"inlinetemplate\", \"poi…»",
312
+ "valueIsField": false,
313
+ "isEmpty": false
314
+ }
315
+ ]
316
+ },
317
+ "picklistShowLinkToCase": {
318
+ "baseline": "MAY",
319
+ "enabledWhen": [
320
+ {
321
+ "op": "cmp",
322
+ "field": "picklist",
323
+ "fieldName": "Picklist",
324
+ "operator": "!==",
325
+ "value": "",
326
+ "valueIsField": false,
327
+ "isEmpty": true
328
+ },
329
+ {
330
+ "op": "cmp",
331
+ "field": "type",
332
+ "fieldName": "Type platform attribute",
333
+ "operator": "notin",
334
+ "value": "«[\"json\", \"datetime\", \"datasetrow\", \"inlinetemplate\", \"poi…»",
335
+ "valueIsField": false,
336
+ "isEmpty": false
337
+ }
338
+ ]
339
+ },
340
+ "subtype": {
341
+ "baseline": "MAY",
342
+ "enabledWhen": [
343
+ {
344
+ "op": "cmp",
345
+ "field": "type",
346
+ "fieldName": "Type platform attribute",
347
+ "operator": "==",
348
+ "value": "case",
349
+ "valueIsField": false,
350
+ "isEmpty": false
351
+ }
352
+ ]
353
+ },
354
+ "validation": {
355
+ "baseline": "MUST_NOT",
356
+ "enabledWhen": [
357
+ {
358
+ "op": "cmp",
359
+ "field": "type",
360
+ "fieldName": "Type platform attribute",
361
+ "operator": "in",
362
+ "value": "«[\"string\", \"double\", \"json\", \"inlinetemplate\"]»",
363
+ "valueIsField": false,
364
+ "isEmpty": false
365
+ },
366
+ {
367
+ "op": "cmp",
368
+ "field": "type",
369
+ "fieldName": "Type platform attribute",
370
+ "operator": "in",
371
+ "value": "«[\"string\", \"json\", \"integer\", \"double\", \"long\"]»",
372
+ "valueIsField": false,
373
+ "isEmpty": false
374
+ }
375
+ ]
376
+ }
377
+ }
@@ -0,0 +1,130 @@
1
+ {
2
+ "aiAgents": {
3
+ "baseline": "MUST_NOT",
4
+ "requiredWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": null,
8
+ "fieldName": "«[Type]»",
9
+ "operator": "==",
10
+ "value": "agent",
11
+ "valueIsField": false,
12
+ "isEmpty": false
13
+ }
14
+ ],
15
+ "enabledWhen": [
16
+ {
17
+ "op": "cmp",
18
+ "field": null,
19
+ "fieldName": "«[Type]»",
20
+ "operator": "==",
21
+ "value": "agent",
22
+ "valueIsField": false,
23
+ "isEmpty": false
24
+ }
25
+ ]
26
+ },
27
+ "attribute": {
28
+ "baseline": "MAY",
29
+ "requiredWhen": [
30
+ {
31
+ "op": "cmp",
32
+ "field": "platformRoleType",
33
+ "fieldName": "Type",
34
+ "operator": "==",
35
+ "value": "Direct",
36
+ "valueIsField": false,
37
+ "isEmpty": false
38
+ }
39
+ ],
40
+ "enabledWhen": [
41
+ {
42
+ "op": "cmp",
43
+ "field": "platformRoleType",
44
+ "fieldName": "Type",
45
+ "operator": "==",
46
+ "value": "Direct",
47
+ "valueIsField": false,
48
+ "isEmpty": false
49
+ }
50
+ ]
51
+ },
52
+ "indirectPlatformRole": {
53
+ "baseline": "MAY",
54
+ "requiredWhen": [
55
+ {
56
+ "op": "cmp",
57
+ "field": "platformRoleType",
58
+ "fieldName": "Type",
59
+ "operator": "==",
60
+ "value": "Indirect",
61
+ "valueIsField": false,
62
+ "isEmpty": false
63
+ }
64
+ ],
65
+ "enabledWhen": [
66
+ {
67
+ "op": "cmp",
68
+ "field": "platformRoleType",
69
+ "fieldName": "Type",
70
+ "operator": "==",
71
+ "value": "Indirect",
72
+ "valueIsField": false,
73
+ "isEmpty": false
74
+ }
75
+ ]
76
+ },
77
+ "page": {
78
+ "baseline": "MAY",
79
+ "requiredWhen": [
80
+ {
81
+ "op": "cmp",
82
+ "field": "platformRoleType",
83
+ "fieldName": "Type",
84
+ "operator": "==",
85
+ "value": "Direct",
86
+ "valueIsField": false,
87
+ "isEmpty": false
88
+ }
89
+ ],
90
+ "enabledWhen": [
91
+ {
92
+ "op": "cmp",
93
+ "field": "platformRoleType",
94
+ "fieldName": "Type",
95
+ "operator": "==",
96
+ "value": "Direct",
97
+ "valueIsField": false,
98
+ "isEmpty": false
99
+ }
100
+ ]
101
+ },
102
+ "specialRoleType": {
103
+ "baseline": "MAY",
104
+ "requiredWhen": [
105
+ {
106
+ "op": "cmp",
107
+ "field": "platformRoleType",
108
+ "fieldName": "Type",
109
+ "operator": "==",
110
+ "value": "Special",
111
+ "valueIsField": false,
112
+ "isEmpty": false
113
+ }
114
+ ],
115
+ "enabledWhen": [
116
+ {
117
+ "op": "cmp",
118
+ "field": "platformRoleType",
119
+ "fieldName": "Type",
120
+ "operator": "==",
121
+ "value": "Special",
122
+ "valueIsField": false,
123
+ "isEmpty": false
124
+ }
125
+ ]
126
+ },
127
+ "platformRoleType": {
128
+ "baseline": "MUST"
129
+ }
130
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": {
3
+ "baseline": "MUST"
4
+ },
5
+ "version": {
6
+ "baseline": "MUST"
7
+ }
8
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "securityProfile": {
3
+ "baseline": "MAY",
4
+ "enabledWhen": [
5
+ {
6
+ "op": "cmp",
7
+ "field": "contexttype",
8
+ "fieldName": "Context type",
9
+ "operator": "==",
10
+ "value": "additionalSecurityProfile",
11
+ "valueIsField": false,
12
+ "isEmpty": false
13
+ }
14
+ ]
15
+ },
16
+ "fromInlineTemplate": {
17
+ "baseline": "MAY",
18
+ "enabledWhen": [
19
+ {
20
+ "op": "cmp",
21
+ "field": "contexttype",
22
+ "fieldName": "Context type",
23
+ "operator": "contains",
24
+ "value": "platform",
25
+ "valueIsField": false,
26
+ "isEmpty": false
27
+ },
28
+ {
29
+ "op": "cmp",
30
+ "field": "contexttype",
31
+ "fieldName": "Context type",
32
+ "operator": "==",
33
+ "value": "context",
34
+ "valueIsField": false,
35
+ "isEmpty": false
36
+ },
37
+ {
38
+ "op": "cmp",
39
+ "field": "contexttype",
40
+ "fieldName": "Context type",
41
+ "operator": "==",
42
+ "value": "impersonate",
43
+ "valueIsField": false,
44
+ "isEmpty": false
45
+ },
46
+ {
47
+ "op": "cmp",
48
+ "field": "contexttype",
49
+ "fieldName": "Context type",
50
+ "operator": "==",
51
+ "value": "usersession",
52
+ "valueIsField": false,
53
+ "isEmpty": false
54
+ }
55
+ ]
56
+ },
57
+ "type": {
58
+ "baseline": "MUST_NOT",
59
+ "requiredWhen": [
60
+ {
61
+ "op": "cmp",
62
+ "field": "contexttype",
63
+ "fieldName": "Context type",
64
+ "operator": "==",
65
+ "value": "context",
66
+ "valueIsField": false,
67
+ "isEmpty": false
68
+ },
69
+ {
70
+ "op": "cmp",
71
+ "field": "contexttype",
72
+ "fieldName": "Context type",
73
+ "operator": "==",
74
+ "value": "usersession",
75
+ "valueIsField": false,
76
+ "isEmpty": false
77
+ }
78
+ ],
79
+ "enabledWhen": [
80
+ {
81
+ "op": "cmp",
82
+ "field": "contexttype",
83
+ "fieldName": "Context type",
84
+ "operator": "==",
85
+ "value": "context",
86
+ "valueIsField": false,
87
+ "isEmpty": false
88
+ },
89
+ {
90
+ "op": "cmp",
91
+ "field": "contexttype",
92
+ "fieldName": "Context type",
93
+ "operator": "==",
94
+ "value": "usersession",
95
+ "valueIsField": false,
96
+ "isEmpty": false
97
+ }
98
+ ]
99
+ }
100
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": {
3
+ "baseline": "MUST"
4
+ }
5
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": {
3
+ "baseline": "MUST"
4
+ },
5
+ "securityRequirements": {
6
+ "baseline": "MUST"
7
+ }
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "key": {
3
+ "baseline": "MUST"
4
+ }
5
+ }