@grexx/grexxlinter 0.2.549 → 0.2.595

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.
@@ -76,11 +76,137 @@
76
76
  "valueIsField": false,
77
77
  "isEmpty": false
78
78
  }
79
+ ],
80
+ "optionsWhen": [
81
+ {
82
+ "when": {
83
+ "op": "cmp",
84
+ "field": null,
85
+ "fieldName": "Casetype Parentcase == Static picklist item",
86
+ "operator": "==",
87
+ "value": "true",
88
+ "valueIsField": false,
89
+ "isEmpty": false
90
+ },
91
+ "source": {
92
+ "kind": "objects",
93
+ "type": [
94
+ "platformAttribute",
95
+ "attribute"
96
+ ]
97
+ }
98
+ },
99
+ {
100
+ "when": {
101
+ "op": "cmp",
102
+ "field": null,
103
+ "fieldName": "Casetype Parentcase",
104
+ "operator": "==",
105
+ "value": "../static-picklist-item/casetype.yaml",
106
+ "valueIsField": false,
107
+ "isEmpty": false
108
+ },
109
+ "source": {
110
+ "kind": "objects",
111
+ "type": [
112
+ "platformAttribute",
113
+ "attribute"
114
+ ]
115
+ }
116
+ },
117
+ {
118
+ "when": {
119
+ "op": "cmp",
120
+ "field": null,
121
+ "fieldName": "Condition Type",
122
+ "operator": "==",
123
+ "value": "formcondition",
124
+ "valueIsField": false,
125
+ "isEmpty": false
126
+ },
127
+ "source": {
128
+ "kind": "objects",
129
+ "type": [
130
+ "attribute"
131
+ ]
132
+ }
133
+ },
134
+ {
135
+ "when": {
136
+ "op": "cmp",
137
+ "field": "leftFieldType",
138
+ "fieldName": "Left field type",
139
+ "operator": "==",
140
+ "value": "caseData",
141
+ "valueIsField": false,
142
+ "isEmpty": false
143
+ },
144
+ "source": {
145
+ "kind": "objects",
146
+ "type": [
147
+ "attribute"
148
+ ]
149
+ }
150
+ },
151
+ {
152
+ "when": {
153
+ "op": "cmp",
154
+ "field": "leftFieldType",
155
+ "fieldName": "Left field type",
156
+ "operator": "==",
157
+ "value": "taskIn",
158
+ "valueIsField": false,
159
+ "isEmpty": false
160
+ },
161
+ "source": {
162
+ "kind": "objects",
163
+ "type": [
164
+ "formfield"
165
+ ]
166
+ }
167
+ }
79
168
  ]
80
169
  },
81
170
  "leftFieldStaticItem": {
82
171
  "baseline": "MUST_NOT"
83
172
  },
173
+ "leftFieldType": {
174
+ "baseline": "MAY",
175
+ "optionsWhen": [
176
+ {
177
+ "when": {
178
+ "op": "cmp",
179
+ "field": null,
180
+ "fieldName": "Condition Type",
181
+ "operator": "==",
182
+ "value": "formcondition",
183
+ "valueIsField": false,
184
+ "isEmpty": false
185
+ },
186
+ "source": {
187
+ "kind": "static",
188
+ "options": [
189
+ {
190
+ "id": "caseData",
191
+ "label": "Form field"
192
+ },
193
+ {
194
+ "id": "value",
195
+ "label": "Value"
196
+ },
197
+ {
198
+ "id": "staticPicklistItem",
199
+ "label": "Value of static picklist item"
200
+ },
201
+ {
202
+ "id": "inlinetemplate",
203
+ "label": "Template"
204
+ }
205
+ ]
206
+ }
207
+ }
208
+ ]
209
+ },
84
210
  "leftTemplate": {
85
211
  "baseline": "MAY",
86
212
  "requiredWhen": [
@@ -165,6 +291,107 @@
165
291
  }
166
292
  ]
167
293
  },
294
+ "operator": {
295
+ "baseline": "MAY",
296
+ "optionsWhen": [
297
+ {
298
+ "when": {
299
+ "op": "cmp",
300
+ "field": null,
301
+ "fieldName": "Condition Type",
302
+ "operator": "==",
303
+ "value": "formcondition",
304
+ "valueIsField": false,
305
+ "isEmpty": false
306
+ },
307
+ "source": {
308
+ "kind": "static",
309
+ "options": [
310
+ {
311
+ "id": "==",
312
+ "label": "Is Equal (==)"
313
+ },
314
+ {
315
+ "id": "!==",
316
+ "label": "Is Not Equal (!==)"
317
+ },
318
+ {
319
+ "id": ">=",
320
+ "label": "Greater Than or Equal to (>=)"
321
+ },
322
+ {
323
+ "id": "<=",
324
+ "label": "Less Than or Equal to (<=)"
325
+ },
326
+ {
327
+ "id": ">",
328
+ "label": "Greater Than (>)"
329
+ },
330
+ {
331
+ "id": "<",
332
+ "label": "Less Than (<)"
333
+ },
334
+ {
335
+ "id": "like",
336
+ "label": "Like"
337
+ },
338
+ {
339
+ "id": "contains",
340
+ "label": "Contains"
341
+ },
342
+ {
343
+ "id": "in",
344
+ "label": "In"
345
+ },
346
+ {
347
+ "id": "==text==",
348
+ "label": "Is Textually Equal (for picklists)"
349
+ }
350
+ ]
351
+ }
352
+ },
353
+ {
354
+ "when": {
355
+ "op": "cmp",
356
+ "field": "leftFieldType",
357
+ "fieldName": "Left field type",
358
+ "operator": "==",
359
+ "value": "formfield",
360
+ "valueIsField": false,
361
+ "isEmpty": false
362
+ },
363
+ "source": {
364
+ "kind": "static",
365
+ "options": [
366
+ {
367
+ "id": "==",
368
+ "label": "Is equal (==)"
369
+ },
370
+ {
371
+ "id": "!==",
372
+ "label": "Is not equal (!==)"
373
+ },
374
+ {
375
+ "id": ">=",
376
+ "label": "Greater than or equal to (>=)"
377
+ },
378
+ {
379
+ "id": "<=",
380
+ "label": "Less than or equal to (<=)"
381
+ },
382
+ {
383
+ "id": ">",
384
+ "label": "Greater than (>)"
385
+ },
386
+ {
387
+ "id": "<",
388
+ "label": "Less than (<)"
389
+ }
390
+ ]
391
+ }
392
+ }
393
+ ]
394
+ },
168
395
  "parentCondition": {
169
396
  "baseline": "MUST_NOT",
170
397
  "enabledWhen": [
@@ -238,11 +465,137 @@
238
465
  "valueIsField": false,
239
466
  "isEmpty": false
240
467
  }
468
+ ],
469
+ "optionsWhen": [
470
+ {
471
+ "when": {
472
+ "op": "cmp",
473
+ "field": null,
474
+ "fieldName": "Casetype Parentcase == Static picklist item",
475
+ "operator": "==",
476
+ "value": "true",
477
+ "valueIsField": false,
478
+ "isEmpty": false
479
+ },
480
+ "source": {
481
+ "kind": "objects",
482
+ "type": [
483
+ "platformAttribute",
484
+ "attribute"
485
+ ]
486
+ }
487
+ },
488
+ {
489
+ "when": {
490
+ "op": "cmp",
491
+ "field": null,
492
+ "fieldName": "Casetype Parentcase",
493
+ "operator": "==",
494
+ "value": "../static-picklist-item/casetype.yaml",
495
+ "valueIsField": false,
496
+ "isEmpty": false
497
+ },
498
+ "source": {
499
+ "kind": "objects",
500
+ "type": [
501
+ "platformAttribute",
502
+ "attribute"
503
+ ]
504
+ }
505
+ },
506
+ {
507
+ "when": {
508
+ "op": "cmp",
509
+ "field": null,
510
+ "fieldName": "Condition Type",
511
+ "operator": "==",
512
+ "value": "formcondition",
513
+ "valueIsField": false,
514
+ "isEmpty": false
515
+ },
516
+ "source": {
517
+ "kind": "objects",
518
+ "type": [
519
+ "attribute"
520
+ ]
521
+ }
522
+ },
523
+ {
524
+ "when": {
525
+ "op": "cmp",
526
+ "field": "rightFieldType",
527
+ "fieldName": "Right field type",
528
+ "operator": "==",
529
+ "value": "caseData",
530
+ "valueIsField": false,
531
+ "isEmpty": false
532
+ },
533
+ "source": {
534
+ "kind": "objects",
535
+ "type": [
536
+ "attribute"
537
+ ]
538
+ }
539
+ },
540
+ {
541
+ "when": {
542
+ "op": "cmp",
543
+ "field": "rightFieldType",
544
+ "fieldName": "Right field type",
545
+ "operator": "==",
546
+ "value": "taskIn",
547
+ "valueIsField": false,
548
+ "isEmpty": false
549
+ },
550
+ "source": {
551
+ "kind": "objects",
552
+ "type": [
553
+ "formfield"
554
+ ]
555
+ }
556
+ }
241
557
  ]
242
558
  },
243
559
  "rightFieldStaticItem": {
244
560
  "baseline": "MUST_NOT"
245
561
  },
562
+ "rightFieldType": {
563
+ "baseline": "MAY",
564
+ "optionsWhen": [
565
+ {
566
+ "when": {
567
+ "op": "cmp",
568
+ "field": null,
569
+ "fieldName": "Condition Type",
570
+ "operator": "==",
571
+ "value": "formcondition",
572
+ "valueIsField": false,
573
+ "isEmpty": false
574
+ },
575
+ "source": {
576
+ "kind": "static",
577
+ "options": [
578
+ {
579
+ "id": "caseData",
580
+ "label": "Form field"
581
+ },
582
+ {
583
+ "id": "value",
584
+ "label": "Value"
585
+ },
586
+ {
587
+ "id": "staticPicklistItem",
588
+ "label": "Value of static picklist item"
589
+ },
590
+ {
591
+ "id": "inlinetemplate",
592
+ "label": "Template"
593
+ }
594
+ ]
595
+ }
596
+ }
597
+ ]
598
+ },
246
599
  "rightTemplate": {
247
600
  "baseline": "MAY",
248
601
  "enabledWhen": [
@@ -1,5 +1,27 @@
1
1
  {
2
2
  "name": {
3
3
  "baseline": "MUST"
4
+ },
5
+ "rateLimitPerHourAttribute": {
6
+ "baseline": "MAY",
7
+ "optionsWhen": [
8
+ {
9
+ "when": {
10
+ "op": "cmp",
11
+ "field": null,
12
+ "fieldName": "Is task queue being used with queuecases",
13
+ "operator": "==",
14
+ "value": "true",
15
+ "valueIsField": false,
16
+ "isEmpty": false
17
+ },
18
+ "source": {
19
+ "kind": "objects",
20
+ "type": [
21
+ "attribute"
22
+ ]
23
+ }
24
+ }
25
+ ]
4
26
  }
5
27
  }