@grexx/grexxlinter 0.2.2124 → 0.2.2142

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.
@@ -86,6 +86,60 @@
86
86
  "roleName"
87
87
  ]
88
88
  }
89
+ },
90
+ {
91
+ "when": {
92
+ "op": "and",
93
+ "items": [
94
+ {
95
+ "op": "cmp",
96
+ "field": null,
97
+ "fieldName": "«[Role name]»",
98
+ "operator": "contains",
99
+ "value": "agents",
100
+ "valueIsField": false,
101
+ "isEmpty": false
102
+ },
103
+ {
104
+ "op": "not",
105
+ "item": {
106
+ "op": "cmp",
107
+ "field": null,
108
+ "fieldName": "«[Role name]»",
109
+ "operator": "contains",
110
+ "value": "allNormalCases",
111
+ "valueIsField": false,
112
+ "isEmpty": false
113
+ }
114
+ }
115
+ ]
116
+ },
117
+ "source": {
118
+ "kind": "objects",
119
+ "type": [
120
+ "roleName"
121
+ ]
122
+ }
123
+ },
124
+ {
125
+ "when": {
126
+ "op": "not",
127
+ "item": {
128
+ "op": "cmp",
129
+ "field": null,
130
+ "fieldName": "«[Role name]»",
131
+ "operator": "contains",
132
+ "value": "agents",
133
+ "valueIsField": false,
134
+ "isEmpty": false
135
+ }
136
+ },
137
+ "source": {
138
+ "kind": "objects",
139
+ "type": [
140
+ "roleName"
141
+ ]
142
+ }
89
143
  }
90
144
  ]
91
145
  },
@@ -125,6 +125,266 @@
125
125
  }
126
126
  ]
127
127
  },
128
+ "fromValue": {
129
+ "baseline": "MAY",
130
+ "requiredWhen": [
131
+ {
132
+ "op": "cmp",
133
+ "field": "fromAttributeType",
134
+ "fieldName": "From attribute type",
135
+ "operator": "==",
136
+ "value": "casemetadata",
137
+ "valueIsField": false,
138
+ "isEmpty": false
139
+ },
140
+ {
141
+ "op": "cmp",
142
+ "field": "fromAttributeType",
143
+ "fieldName": "From attribute type",
144
+ "operator": "==",
145
+ "value": "currentItem",
146
+ "valueIsField": false,
147
+ "isEmpty": false
148
+ },
149
+ {
150
+ "op": "cmp",
151
+ "field": "fromAttributeType",
152
+ "fieldName": "From attribute type",
153
+ "operator": "==",
154
+ "value": "dataset",
155
+ "valueIsField": false,
156
+ "isEmpty": false
157
+ },
158
+ {
159
+ "op": "cmp",
160
+ "field": "fromAttributeType",
161
+ "fieldName": "From attribute type",
162
+ "operator": "==",
163
+ "value": "newcasemetadata",
164
+ "valueIsField": false,
165
+ "isEmpty": false
166
+ },
167
+ {
168
+ "op": "cmp",
169
+ "field": "fromAttributeType",
170
+ "fieldName": "From attribute type",
171
+ "operator": "==",
172
+ "value": "value",
173
+ "valueIsField": false,
174
+ "isEmpty": false
175
+ }
176
+ ],
177
+ "enabledWhen": [
178
+ {
179
+ "op": "cmp",
180
+ "field": "fromAttributeType",
181
+ "fieldName": "From attribute type",
182
+ "operator": "==",
183
+ "value": "casemetadata",
184
+ "valueIsField": false,
185
+ "isEmpty": false
186
+ },
187
+ {
188
+ "op": "cmp",
189
+ "field": "fromAttributeType",
190
+ "fieldName": "From attribute type",
191
+ "operator": "==",
192
+ "value": "currentItem",
193
+ "valueIsField": false,
194
+ "isEmpty": false
195
+ },
196
+ {
197
+ "op": "cmp",
198
+ "field": "fromAttributeType",
199
+ "fieldName": "From attribute type",
200
+ "operator": "==",
201
+ "value": "dataset",
202
+ "valueIsField": false,
203
+ "isEmpty": false
204
+ },
205
+ {
206
+ "op": "cmp",
207
+ "field": "fromAttributeType",
208
+ "fieldName": "From attribute type",
209
+ "operator": "==",
210
+ "value": "newcasemetadata",
211
+ "valueIsField": false,
212
+ "isEmpty": false
213
+ },
214
+ {
215
+ "op": "cmp",
216
+ "field": "fromAttributeType",
217
+ "fieldName": "From attribute type",
218
+ "operator": "==",
219
+ "value": "value",
220
+ "valueIsField": false,
221
+ "isEmpty": false
222
+ }
223
+ ],
224
+ "optionsWhen": [
225
+ {
226
+ "when": {
227
+ "op": "cmp",
228
+ "field": "fromAttributeType",
229
+ "fieldName": "From attribute type",
230
+ "operator": "==",
231
+ "value": "casemetadata",
232
+ "valueIsField": false,
233
+ "isEmpty": false
234
+ },
235
+ "source": {
236
+ "kind": "static",
237
+ "options": [
238
+ {
239
+ "id": "caseid",
240
+ "label": "Case ID"
241
+ },
242
+ {
243
+ "id": "casetype",
244
+ "label": "Casetype"
245
+ },
246
+ {
247
+ "id": "CopyDate",
248
+ "label": "Copy date"
249
+ },
250
+ {
251
+ "id": "CopyOfCaseID",
252
+ "label": "Copy of caseID"
253
+ },
254
+ {
255
+ "id": "dateCreated",
256
+ "label": "Date created"
257
+ },
258
+ {
259
+ "id": "dateFinished",
260
+ "label": "Date closed"
261
+ },
262
+ {
263
+ "id": "id",
264
+ "label": "ID"
265
+ },
266
+ {
267
+ "id": "origin",
268
+ "label": "Origin"
269
+ },
270
+ {
271
+ "id": "lastModified",
272
+ "label": "Last modified"
273
+ },
274
+ {
275
+ "id": "parentCase",
276
+ "label": "Parent case"
277
+ },
278
+ {
279
+ "id": "reference",
280
+ "label": "Reference"
281
+ },
282
+ {
283
+ "id": "requestor",
284
+ "label": "Requestor"
285
+ },
286
+ {
287
+ "id": "src",
288
+ "label": "Source ID"
289
+ },
290
+ {
291
+ "id": "related",
292
+ "label": "Related cases"
293
+ }
294
+ ]
295
+ }
296
+ },
297
+ {
298
+ "when": {
299
+ "op": "cmp",
300
+ "field": "fromAttributeType",
301
+ "fieldName": "From attribute type",
302
+ "operator": "==",
303
+ "value": "dataset",
304
+ "valueIsField": false,
305
+ "isEmpty": false
306
+ },
307
+ "source": {
308
+ "kind": "objects",
309
+ "type": [
310
+ "dataset"
311
+ ]
312
+ }
313
+ },
314
+ {
315
+ "when": {
316
+ "op": "cmp",
317
+ "field": "fromAttributeType",
318
+ "fieldName": "From attribute type",
319
+ "operator": "==",
320
+ "value": "newcasemetadata",
321
+ "valueIsField": false,
322
+ "isEmpty": false
323
+ },
324
+ "source": {
325
+ "kind": "static",
326
+ "options": [
327
+ {
328
+ "id": "caseid",
329
+ "label": "Case ID"
330
+ },
331
+ {
332
+ "id": "casetype",
333
+ "label": "Casetype"
334
+ },
335
+ {
336
+ "id": "CopyDate",
337
+ "label": "Copy date"
338
+ },
339
+ {
340
+ "id": "CopyOfCaseID",
341
+ "label": "Copy of caseID"
342
+ },
343
+ {
344
+ "id": "dateCreated",
345
+ "label": "Date created"
346
+ },
347
+ {
348
+ "id": "dateFinished",
349
+ "label": "Date closed"
350
+ },
351
+ {
352
+ "id": "id",
353
+ "label": "ID"
354
+ },
355
+ {
356
+ "id": "origin",
357
+ "label": "Origin"
358
+ },
359
+ {
360
+ "id": "lastModified",
361
+ "label": "Last modified"
362
+ },
363
+ {
364
+ "id": "parentCase",
365
+ "label": "Parent case"
366
+ },
367
+ {
368
+ "id": "reference",
369
+ "label": "Reference"
370
+ },
371
+ {
372
+ "id": "requestor",
373
+ "label": "Requestor"
374
+ },
375
+ {
376
+ "id": "src",
377
+ "label": "Source ID"
378
+ },
379
+ {
380
+ "id": "related",
381
+ "label": "Related cases"
382
+ }
383
+ ]
384
+ }
385
+ }
386
+ ]
387
+ },
128
388
  "progressTemplate": {
129
389
  "baseline": "MUST_NOT",
130
390
  "enabledWhen": [
@@ -71,6 +71,15 @@
71
71
  "value": "menu",
72
72
  "valueIsField": false,
73
73
  "isEmpty": false
74
+ },
75
+ {
76
+ "op": "cmp",
77
+ "field": "type",
78
+ "fieldName": "Type",
79
+ "operator": "==",
80
+ "value": "title",
81
+ "valueIsField": false,
82
+ "isEmpty": false
74
83
  }
75
84
  ]
76
85
  },
@@ -175,6 +175,16 @@
175
175
  "required": [
176
176
  "type"
177
177
  ]
178
+ },
179
+ {
180
+ "properties": {
181
+ "type": {
182
+ "const": "title"
183
+ }
184
+ },
185
+ "required": [
186
+ "type"
187
+ ]
178
188
  }
179
189
  ]
180
190
  },
@@ -0,0 +1,5 @@
1
+ {
2
+ "inactiveParentCaseid": {
3
+ "baseline": "MUST_NOT"
4
+ }
5
+ }
@@ -1,4 +1,46 @@
1
1
  {
2
+ "deleteActivity": {
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
+ "editActivity": {
17
+ "baseline": "MAY",
18
+ "enabledWhen": [
19
+ {
20
+ "op": "cmp",
21
+ "field": "dataset",
22
+ "fieldName": "Dataset",
23
+ "operator": "!=",
24
+ "value": "",
25
+ "valueIsField": false,
26
+ "isEmpty": true
27
+ }
28
+ ]
29
+ },
30
+ "deleteQuickActivity": {
31
+ "baseline": "MAY",
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
+ },
2
44
  "itemTemplate": {
3
45
  "baseline": "MAY",
4
46
  "enabledWhen": [
@@ -363,7 +363,7 @@
363
363
  ]
364
364
  },
365
365
  "multivalue": {
366
- "baseline": "MAY",
366
+ "baseline": "MUST_NOT",
367
367
  "enabledWhen": [
368
368
  {
369
369
  "op": "cmp",
@@ -387,6 +387,15 @@
387
387
  "value": "true",
388
388
  "valueIsField": false,
389
389
  "isEmpty": false
390
+ },
391
+ {
392
+ "op": "cmp",
393
+ "field": "type",
394
+ "fieldName": "Type platform attribute",
395
+ "operator": "notin",
396
+ "value": "[\"datasetrow\", \"money\", \"singlecurrencymoney\", \"datetime\", \"date\", \"double\", \"inlinetemplate\", \"boolean\"]",
397
+ "valueIsField": false,
398
+ "isEmpty": false
390
399
  }
391
400
  ]
392
401
  },
@@ -401,6 +410,15 @@
401
410
  "value": "true",
402
411
  "valueIsField": false,
403
412
  "isEmpty": false
413
+ },
414
+ {
415
+ "op": "cmp",
416
+ "field": "type",
417
+ "fieldName": "Type platform attribute",
418
+ "operator": "notin",
419
+ "value": "[\"datasetrow\", \"money\", \"singlecurrencymoney\", \"datetime\", \"date\", \"double\", \"inlinetemplate\", \"boolean\"]",
420
+ "valueIsField": false,
421
+ "isEmpty": false
404
422
  }
405
423
  ]
406
424
  },
@@ -415,6 +433,15 @@
415
433
  "value": "true",
416
434
  "valueIsField": false,
417
435
  "isEmpty": false
436
+ },
437
+ {
438
+ "op": "cmp",
439
+ "field": "type",
440
+ "fieldName": "Type platform attribute",
441
+ "operator": "notin",
442
+ "value": "[\"datasetrow\", \"money\", \"singlecurrencymoney\", \"datetime\", \"date\", \"double\", \"inlinetemplate\", \"boolean\"]",
443
+ "valueIsField": false,
444
+ "isEmpty": false
418
445
  }
419
446
  ],
420
447
  "setValueWhen": [
@@ -24,6 +24,23 @@
24
24
  "attribute"
25
25
  ]
26
26
  }
27
+ },
28
+ {
29
+ "when": {
30
+ "op": "cmp",
31
+ "field": "isTaskQueueBeingUsedWithQueuecases",
32
+ "fieldName": "Is task queue being used with queuecases",
33
+ "operator": "!=",
34
+ "value": "true",
35
+ "valueIsField": false,
36
+ "isEmpty": false
37
+ },
38
+ "source": {
39
+ "kind": "objects",
40
+ "type": [
41
+ "attribute"
42
+ ]
43
+ }
27
44
  }
28
45
  ]
29
46
  }
@@ -26,5 +26,8 @@
26
26
  "isEmpty": false
27
27
  }
28
28
  ]
29
+ },
30
+ "tryRule": {
31
+ "baseline": "MUST_NOT"
29
32
  }
30
33
  }
@@ -11,6 +11,20 @@
11
11
  "valueIsField": false,
12
12
  "isEmpty": false
13
13
  }
14
+ ],
15
+ "messageWhen": [
16
+ {
17
+ "when": {
18
+ "op": "cmp",
19
+ "field": null,
20
+ "fieldName": "«template»",
21
+ "operator": "==",
22
+ "value": "0",
23
+ "valueIsField": false,
24
+ "isEmpty": false
25
+ },
26
+ "message": "fa fa-exclamation-triangle There are no navigations configured on this platform. Configure navigation in order to use it in a view."
27
+ }
14
28
  ]
15
29
  },
16
30
  "leftNavigationItems": {
@@ -39,6 +53,20 @@
39
53
  }
40
54
  ]
41
55
  }
56
+ ],
57
+ "messageWhen": [
58
+ {
59
+ "when": {
60
+ "op": "cmp",
61
+ "field": null,
62
+ "fieldName": "«template»",
63
+ "operator": "==",
64
+ "value": "0",
65
+ "valueIsField": false,
66
+ "isEmpty": false
67
+ },
68
+ "message": "fa fa-exclamation-triangle There are no navigations configured on this platform. Configure navigation in order to use it in a view."
69
+ }
42
70
  ]
43
71
  },
44
72
  "name": {
@@ -70,6 +98,20 @@
70
98
  "valueIsField": false,
71
99
  "isEmpty": false
72
100
  }
101
+ ],
102
+ "messageWhen": [
103
+ {
104
+ "when": {
105
+ "op": "cmp",
106
+ "field": null,
107
+ "fieldName": "«template»",
108
+ "operator": "==",
109
+ "value": "0",
110
+ "valueIsField": false,
111
+ "isEmpty": false
112
+ },
113
+ "message": "fa fa-exclamation-triangle There are no navigations configured on this platform. Configure navigation in order to use it in a view."
114
+ }
73
115
  ]
74
116
  },
75
117
  "rightNavigationItems": {
@@ -98,6 +140,20 @@
98
140
  }
99
141
  ]
100
142
  }
143
+ ],
144
+ "messageWhen": [
145
+ {
146
+ "when": {
147
+ "op": "cmp",
148
+ "field": null,
149
+ "fieldName": "«template»",
150
+ "operator": "==",
151
+ "value": "0",
152
+ "valueIsField": false,
153
+ "isEmpty": false
154
+ },
155
+ "message": "fa fa-exclamation-triangle There are no navigations configured on this platform. Configure navigation in order to use it in a view."
156
+ }
101
157
  ]
102
158
  },
103
159
  "topNavigation": {
@@ -112,6 +168,20 @@
112
168
  "valueIsField": false,
113
169
  "isEmpty": false
114
170
  }
171
+ ],
172
+ "messageWhen": [
173
+ {
174
+ "when": {
175
+ "op": "cmp",
176
+ "field": null,
177
+ "fieldName": "«template»",
178
+ "operator": "==",
179
+ "value": "0",
180
+ "valueIsField": false,
181
+ "isEmpty": false
182
+ },
183
+ "message": "fa fa-exclamation-triangle There are no navigations configured on this platform. Configure navigation in order to use it in a view."
184
+ }
115
185
  ]
116
186
  },
117
187
  "topNavigationItems": {
@@ -140,6 +210,20 @@
140
210
  }
141
211
  ]
142
212
  }
213
+ ],
214
+ "messageWhen": [
215
+ {
216
+ "when": {
217
+ "op": "cmp",
218
+ "field": null,
219
+ "fieldName": "«template»",
220
+ "operator": "==",
221
+ "value": "0",
222
+ "valueIsField": false,
223
+ "isEmpty": false
224
+ },
225
+ "message": "fa fa-exclamation-triangle There are no navigations configured on this platform. Configure navigation in order to use it in a view."
226
+ }
143
227
  ]
144
228
  },
145
229
  "typeOfDevParentCase": {