@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.
@@ -114,6 +114,141 @@
114
114
  "valueIsField": false,
115
115
  "isEmpty": false
116
116
  }
117
+ ],
118
+ "messageWhen": [
119
+ {
120
+ "when": {
121
+ "op": "and",
122
+ "items": [
123
+ {
124
+ "op": "cmp",
125
+ "field": "leftFieldType",
126
+ "fieldName": "Left type",
127
+ "operator": "==",
128
+ "value": "leftDatasetColumn",
129
+ "valueIsField": false,
130
+ "isEmpty": false
131
+ },
132
+ {
133
+ "op": "cmp",
134
+ "field": null,
135
+ "fieldName": "Parent dataset type",
136
+ "operator": "==",
137
+ "value": "join",
138
+ "valueIsField": false,
139
+ "isEmpty": false
140
+ }
141
+ ]
142
+ },
143
+ "message": "Columns from the left side dataset"
144
+ },
145
+ {
146
+ "when": {
147
+ "op": "and",
148
+ "items": [
149
+ {
150
+ "op": "cmp",
151
+ "field": "leftFieldType",
152
+ "fieldName": "Left type",
153
+ "operator": "==",
154
+ "value": "rightDatasetColumn",
155
+ "valueIsField": false,
156
+ "isEmpty": false
157
+ },
158
+ {
159
+ "op": "cmp",
160
+ "field": null,
161
+ "fieldName": "Parent dataset type",
162
+ "operator": "==",
163
+ "value": "join",
164
+ "valueIsField": false,
165
+ "isEmpty": false
166
+ }
167
+ ]
168
+ },
169
+ "message": "Columns from the right side dataset"
170
+ }
171
+ ],
172
+ "optionsWhen": [
173
+ {
174
+ "when": {
175
+ "op": "and",
176
+ "items": [
177
+ {
178
+ "op": "cmp",
179
+ "field": "leftFieldType",
180
+ "fieldName": "Left type",
181
+ "operator": "==",
182
+ "value": "leftDatasetColumn",
183
+ "valueIsField": false,
184
+ "isEmpty": false
185
+ },
186
+ {
187
+ "op": "cmp",
188
+ "field": null,
189
+ "fieldName": "Parent dataset type",
190
+ "operator": "==",
191
+ "value": "join",
192
+ "valueIsField": false,
193
+ "isEmpty": false
194
+ }
195
+ ]
196
+ },
197
+ "source": {
198
+ "kind": "objects",
199
+ "type": [
200
+ "datasetColumn"
201
+ ]
202
+ }
203
+ },
204
+ {
205
+ "when": {
206
+ "op": "and",
207
+ "items": [
208
+ {
209
+ "op": "cmp",
210
+ "field": "leftFieldType",
211
+ "fieldName": "Left type",
212
+ "operator": "==",
213
+ "value": "rightDatasetColumn",
214
+ "valueIsField": false,
215
+ "isEmpty": false
216
+ },
217
+ {
218
+ "op": "cmp",
219
+ "field": null,
220
+ "fieldName": "Parent dataset type",
221
+ "operator": "==",
222
+ "value": "join",
223
+ "valueIsField": false,
224
+ "isEmpty": false
225
+ }
226
+ ]
227
+ },
228
+ "source": {
229
+ "kind": "objects",
230
+ "type": [
231
+ "datasetColumn"
232
+ ]
233
+ }
234
+ },
235
+ {
236
+ "when": {
237
+ "op": "cmp",
238
+ "field": null,
239
+ "fieldName": "Parent dataset type",
240
+ "operator": "!=",
241
+ "value": "join",
242
+ "valueIsField": false,
243
+ "isEmpty": false
244
+ },
245
+ "source": {
246
+ "kind": "objects",
247
+ "type": [
248
+ "datasetColumn"
249
+ ]
250
+ }
251
+ }
117
252
  ]
118
253
  },
119
254
  "field": {
@@ -267,6 +402,231 @@
267
402
  "valueIsField": false,
268
403
  "isEmpty": false
269
404
  }
405
+ ],
406
+ "messageWhen": [
407
+ {
408
+ "when": {
409
+ "op": "and",
410
+ "items": [
411
+ {
412
+ "op": "cmp",
413
+ "field": null,
414
+ "fieldName": "Parent dataset type",
415
+ "operator": "==",
416
+ "value": "join",
417
+ "valueIsField": false,
418
+ "isEmpty": false
419
+ },
420
+ {
421
+ "op": "cmp",
422
+ "field": "fieldType",
423
+ "fieldName": "Right type",
424
+ "operator": "==",
425
+ "value": "leftDatasetColumn",
426
+ "valueIsField": false,
427
+ "isEmpty": false
428
+ }
429
+ ]
430
+ },
431
+ "message": "Columns from the left side dataset"
432
+ },
433
+ {
434
+ "when": {
435
+ "op": "and",
436
+ "items": [
437
+ {
438
+ "op": "cmp",
439
+ "field": null,
440
+ "fieldName": "Parent dataset type",
441
+ "operator": "==",
442
+ "value": "join",
443
+ "valueIsField": false,
444
+ "isEmpty": false
445
+ },
446
+ {
447
+ "op": "cmp",
448
+ "field": "fieldType",
449
+ "fieldName": "Right type",
450
+ "operator": "==",
451
+ "value": "rightDatasetColumn",
452
+ "valueIsField": false,
453
+ "isEmpty": false
454
+ }
455
+ ]
456
+ },
457
+ "message": "Columns from the right side dataset"
458
+ }
459
+ ],
460
+ "optionsWhen": [
461
+ {
462
+ "when": {
463
+ "op": "and",
464
+ "items": [
465
+ {
466
+ "op": "cmp",
467
+ "field": null,
468
+ "fieldName": "Parent dataset type",
469
+ "operator": "==",
470
+ "value": "join",
471
+ "valueIsField": false,
472
+ "isEmpty": false
473
+ },
474
+ {
475
+ "op": "cmp",
476
+ "field": "fieldType",
477
+ "fieldName": "Right type",
478
+ "operator": "==",
479
+ "value": "leftDatasetColumn",
480
+ "valueIsField": false,
481
+ "isEmpty": false
482
+ }
483
+ ]
484
+ },
485
+ "source": {
486
+ "kind": "objects",
487
+ "type": [
488
+ "datasetColumn"
489
+ ]
490
+ }
491
+ },
492
+ {
493
+ "when": {
494
+ "op": "and",
495
+ "items": [
496
+ {
497
+ "op": "cmp",
498
+ "field": null,
499
+ "fieldName": "Parent dataset type",
500
+ "operator": "==",
501
+ "value": "join",
502
+ "valueIsField": false,
503
+ "isEmpty": false
504
+ },
505
+ {
506
+ "op": "cmp",
507
+ "field": "fieldType",
508
+ "fieldName": "Right type",
509
+ "operator": "==",
510
+ "value": "rightDatasetColumn",
511
+ "valueIsField": false,
512
+ "isEmpty": false
513
+ }
514
+ ]
515
+ },
516
+ "source": {
517
+ "kind": "objects",
518
+ "type": [
519
+ "datasetColumn"
520
+ ]
521
+ }
522
+ },
523
+ {
524
+ "when": {
525
+ "op": "cmp",
526
+ "field": "fieldType",
527
+ "fieldName": "Right type",
528
+ "operator": "==",
529
+ "value": "casedata",
530
+ "valueIsField": false,
531
+ "isEmpty": false
532
+ },
533
+ "source": {
534
+ "kind": "objects",
535
+ "type": [
536
+ "platformAttribute",
537
+ "attribute"
538
+ ]
539
+ }
540
+ },
541
+ {
542
+ "when": {
543
+ "op": "cmp",
544
+ "field": "fieldType",
545
+ "fieldName": "Right type",
546
+ "operator": "==",
547
+ "value": "casemetadata",
548
+ "valueIsField": false,
549
+ "isEmpty": false
550
+ },
551
+ "source": {
552
+ "kind": "static",
553
+ "options": [
554
+ {
555
+ "id": "caseid",
556
+ "label": "Case ID"
557
+ },
558
+ {
559
+ "id": "casetype",
560
+ "label": "Casetype"
561
+ },
562
+ {
563
+ "id": "CopyDate",
564
+ "label": "Copy date"
565
+ },
566
+ {
567
+ "id": "CopyOfCaseID",
568
+ "label": "Copy of caseID"
569
+ },
570
+ {
571
+ "id": "dateCreated",
572
+ "label": "Date created"
573
+ },
574
+ {
575
+ "id": "dateFinished",
576
+ "label": "Date closed"
577
+ },
578
+ {
579
+ "id": "id",
580
+ "label": "ID"
581
+ },
582
+ {
583
+ "id": "origin",
584
+ "label": "Origin"
585
+ },
586
+ {
587
+ "id": "lastModified",
588
+ "label": "Last modified"
589
+ },
590
+ {
591
+ "id": "parentCase",
592
+ "label": "Parent case"
593
+ },
594
+ {
595
+ "id": "reference",
596
+ "label": "Reference"
597
+ },
598
+ {
599
+ "id": "requestor",
600
+ "label": "Requestor"
601
+ },
602
+ {
603
+ "id": "src",
604
+ "label": "Source ID"
605
+ },
606
+ {
607
+ "id": "related",
608
+ "label": "Related cases"
609
+ }
610
+ ]
611
+ }
612
+ },
613
+ {
614
+ "when": {
615
+ "op": "cmp",
616
+ "field": "fieldType",
617
+ "fieldName": "Right type",
618
+ "operator": "==",
619
+ "value": "column",
620
+ "valueIsField": false,
621
+ "isEmpty": false
622
+ },
623
+ "source": {
624
+ "kind": "objects",
625
+ "type": [
626
+ "datasetColumn"
627
+ ]
628
+ }
629
+ }
270
630
  ]
271
631
  },
272
632
  "inlineTemplate": {
@@ -317,6 +677,135 @@
317
677
  "valueIsField": false,
318
678
  "isEmpty": false
319
679
  }
680
+ ],
681
+ "optionsWhen": [
682
+ {
683
+ "when": {
684
+ "op": "cmp",
685
+ "field": null,
686
+ "fieldName": "Parent dataset type",
687
+ "operator": "==",
688
+ "value": "join",
689
+ "valueIsField": false,
690
+ "isEmpty": false
691
+ },
692
+ "source": {
693
+ "kind": "static",
694
+ "options": [
695
+ {
696
+ "id": "column",
697
+ "label": "Column of this dataset"
698
+ },
699
+ {
700
+ "id": "leftDatasetColumn",
701
+ "label": "Left dataset column"
702
+ },
703
+ {
704
+ "id": "rightDatasetColumn",
705
+ "label": "Right dataset column"
706
+ }
707
+ ]
708
+ }
709
+ }
710
+ ]
711
+ },
712
+ "operator": {
713
+ "baseline": "MAY",
714
+ "optionsWhen": [
715
+ {
716
+ "when": {
717
+ "op": "or",
718
+ "items": [
719
+ {
720
+ "op": "cmp",
721
+ "field": null,
722
+ "fieldName": "Parent dataset type",
723
+ "operator": "contains",
724
+ "value": "elastic",
725
+ "valueIsField": false,
726
+ "isEmpty": false
727
+ },
728
+ {
729
+ "op": "cmp",
730
+ "field": null,
731
+ "fieldName": "Parent dataset type",
732
+ "operator": "contains",
733
+ "value": "kibana",
734
+ "valueIsField": false,
735
+ "isEmpty": false
736
+ }
737
+ ]
738
+ },
739
+ "source": {
740
+ "kind": "static",
741
+ "options": [
742
+ {
743
+ "id": "==",
744
+ "label": "Is equal (==)"
745
+ },
746
+ {
747
+ "id": "!==",
748
+ "label": "Is not equal (!==)"
749
+ },
750
+ {
751
+ "id": ">=",
752
+ "label": "Greater than or equal to (>=)"
753
+ },
754
+ {
755
+ "id": "<=",
756
+ "label": "Less than or equal to (<=)"
757
+ },
758
+ {
759
+ "id": ">",
760
+ "label": "Greater than (>)"
761
+ },
762
+ {
763
+ "id": "<",
764
+ "label": "Less than (<)"
765
+ },
766
+ {
767
+ "id": "like",
768
+ "label": "Like"
769
+ },
770
+ {
771
+ "id": "!like",
772
+ "label": "Not like"
773
+ },
774
+ {
775
+ "id": "in",
776
+ "label": "In"
777
+ },
778
+ {
779
+ "id": "!in",
780
+ "label": "Not in"
781
+ },
782
+ {
783
+ "id": "contains",
784
+ "label": "Contains"
785
+ },
786
+ {
787
+ "id": "!contains",
788
+ "label": "Not contains"
789
+ },
790
+ {
791
+ "id": "beginsWith",
792
+ "label": "Begins with"
793
+ },
794
+ {
795
+ "id": "notBeginsWith",
796
+ "label": "Not begins with"
797
+ },
798
+ {
799
+ "id": "endsWith",
800
+ "label": "Ends with"
801
+ },
802
+ {
803
+ "id": "notEndsWith",
804
+ "label": "Not ends with"
805
+ }
806
+ ]
807
+ }
808
+ }
320
809
  ]
321
810
  },
322
811
  "fieldType": {
@@ -342,6 +831,98 @@
342
831
  "valueIsField": false,
343
832
  "isEmpty": false
344
833
  }
834
+ ],
835
+ "optionsWhen": [
836
+ {
837
+ "when": {
838
+ "op": "or",
839
+ "items": [
840
+ {
841
+ "op": "cmp",
842
+ "field": null,
843
+ "fieldName": "Parent dataset type",
844
+ "operator": "contains",
845
+ "value": "elastic",
846
+ "valueIsField": false,
847
+ "isEmpty": false
848
+ },
849
+ {
850
+ "op": "cmp",
851
+ "field": null,
852
+ "fieldName": "Parent dataset type",
853
+ "operator": "contains",
854
+ "value": "kibana",
855
+ "valueIsField": false,
856
+ "isEmpty": false
857
+ }
858
+ ]
859
+ },
860
+ "source": {
861
+ "kind": "static",
862
+ "options": [
863
+ {
864
+ "id": "column",
865
+ "label": "Column"
866
+ },
867
+ {
868
+ "id": "currentcase",
869
+ "label": "Current case"
870
+ },
871
+ {
872
+ "id": "casedata",
873
+ "label": "Current case casedata"
874
+ },
875
+ {
876
+ "id": "casemetadata",
877
+ "label": "Current case metadata"
878
+ },
879
+ {
880
+ "id": "inlineTemplate",
881
+ "label": "Inline template"
882
+ },
883
+ {
884
+ "id": "value",
885
+ "label": "Value"
886
+ }
887
+ ]
888
+ }
889
+ },
890
+ {
891
+ "when": {
892
+ "op": "cmp",
893
+ "field": null,
894
+ "fieldName": "Parent dataset type",
895
+ "operator": "==",
896
+ "value": "join",
897
+ "valueIsField": false,
898
+ "isEmpty": false
899
+ },
900
+ "source": {
901
+ "kind": "static",
902
+ "options": [
903
+ {
904
+ "id": "column",
905
+ "label": "Column"
906
+ },
907
+ {
908
+ "id": "leftDatasetColumn",
909
+ "label": "Left dataset column"
910
+ },
911
+ {
912
+ "id": "rightDatasetColumn",
913
+ "label": "Right dataset column"
914
+ },
915
+ {
916
+ "id": "inlineTemplate",
917
+ "label": "Inline template"
918
+ },
919
+ {
920
+ "id": "value",
921
+ "label": "Value"
922
+ }
923
+ ]
924
+ }
925
+ }
345
926
  ]
346
927
  },
347
928
  "value": {
@@ -268,6 +268,32 @@
268
268
  "valueIsField": false,
269
269
  "isEmpty": false
270
270
  }
271
+ ],
272
+ "optionsWhen": [
273
+ {
274
+ "when": {
275
+ "op": "cmp",
276
+ "field": "type",
277
+ "fieldName": "Type",
278
+ "operator": "==",
279
+ "value": "action.switchpicklist",
280
+ "valueIsField": false,
281
+ "isEmpty": false
282
+ },
283
+ "source": {
284
+ "kind": "static",
285
+ "options": [
286
+ {
287
+ "id": "currentCase",
288
+ "label": "Current case"
289
+ },
290
+ {
291
+ "id": "parentCase",
292
+ "label": "Parent case"
293
+ }
294
+ ]
295
+ }
296
+ }
271
297
  ]
272
298
  }
273
299
  }