@grexx/grexxlinter 0.2.2308 → 0.2.2397
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.
- package/cli.js +1 -1
- package/package.json +1 -1
- package/schemas/.coverage.json +10 -232
- package/schemas/attribute.behavior.json +0 -225
- package/schemas/casetype.behavior.json +137 -8
- package/schemas/datasetColumn.behavior.json +20 -10
- package/schemas/datasetCondition.behavior.json +40 -20
- package/schemas/formfield.behavior.json +6 -170
- package/schemas/mapping.behavior.json +24 -57
- package/schemas/simpleCondition.behavior.json +7 -38
- package/schemas/trigger.behavior.json +0 -18
- package/schemas/widget.behavior.json +0 -46
- package/schemas/widget.schema.json +18 -0
|
@@ -391,15 +391,18 @@
|
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
"id": "casetype",
|
|
394
|
-
"label": "Casetype"
|
|
394
|
+
"label": "Casetype",
|
|
395
|
+
"retired": true
|
|
395
396
|
},
|
|
396
397
|
{
|
|
397
398
|
"id": "CopyDate",
|
|
398
|
-
"label": "Copy date"
|
|
399
|
+
"label": "Copy date",
|
|
400
|
+
"retired": true
|
|
399
401
|
},
|
|
400
402
|
{
|
|
401
403
|
"id": "CopyOfCaseID",
|
|
402
|
-
"label": "Copy of caseID"
|
|
404
|
+
"label": "Copy of caseID",
|
|
405
|
+
"retired": true
|
|
403
406
|
},
|
|
404
407
|
{
|
|
405
408
|
"id": "dateCreated",
|
|
@@ -480,15 +483,18 @@
|
|
|
480
483
|
},
|
|
481
484
|
{
|
|
482
485
|
"id": "casetype",
|
|
483
|
-
"label": "Casetype"
|
|
486
|
+
"label": "Casetype",
|
|
487
|
+
"retired": true
|
|
484
488
|
},
|
|
485
489
|
{
|
|
486
490
|
"id": "CopyDate",
|
|
487
|
-
"label": "Copy date"
|
|
491
|
+
"label": "Copy date",
|
|
492
|
+
"retired": true
|
|
488
493
|
},
|
|
489
494
|
{
|
|
490
495
|
"id": "CopyOfCaseID",
|
|
491
|
-
"label": "Copy of caseID"
|
|
496
|
+
"label": "Copy of caseID",
|
|
497
|
+
"retired": true
|
|
492
498
|
},
|
|
493
499
|
{
|
|
494
500
|
"id": "dateCreated",
|
|
@@ -627,15 +633,6 @@
|
|
|
627
633
|
"toAttribute": {
|
|
628
634
|
"baseline": "MUST_NOT",
|
|
629
635
|
"requiredWhen": [
|
|
630
|
-
{
|
|
631
|
-
"op": "cmp",
|
|
632
|
-
"field": "toAttributeType",
|
|
633
|
-
"fieldName": "To attribute type",
|
|
634
|
-
"operator": "!==",
|
|
635
|
-
"value": "taskIn",
|
|
636
|
-
"valueIsField": false,
|
|
637
|
-
"isEmpty": false
|
|
638
|
-
},
|
|
639
636
|
{
|
|
640
637
|
"op": "cmp",
|
|
641
638
|
"field": "toAttributeType",
|
|
@@ -647,15 +644,6 @@
|
|
|
647
644
|
}
|
|
648
645
|
],
|
|
649
646
|
"enabledWhen": [
|
|
650
|
-
{
|
|
651
|
-
"op": "cmp",
|
|
652
|
-
"field": "toAttributeType",
|
|
653
|
-
"fieldName": "To attribute type",
|
|
654
|
-
"operator": "!==",
|
|
655
|
-
"value": "taskIn",
|
|
656
|
-
"valueIsField": false,
|
|
657
|
-
"isEmpty": false
|
|
658
|
-
},
|
|
659
647
|
{
|
|
660
648
|
"op": "cmp",
|
|
661
649
|
"field": "toAttributeType",
|
|
@@ -742,15 +730,18 @@
|
|
|
742
730
|
},
|
|
743
731
|
{
|
|
744
732
|
"id": "casetype",
|
|
745
|
-
"label": "Casetype"
|
|
733
|
+
"label": "Casetype",
|
|
734
|
+
"retired": true
|
|
746
735
|
},
|
|
747
736
|
{
|
|
748
737
|
"id": "CopyDate",
|
|
749
|
-
"label": "Copy date"
|
|
738
|
+
"label": "Copy date",
|
|
739
|
+
"retired": true
|
|
750
740
|
},
|
|
751
741
|
{
|
|
752
742
|
"id": "CopyOfCaseID",
|
|
753
|
-
"label": "Copy of caseID"
|
|
743
|
+
"label": "Copy of caseID",
|
|
744
|
+
"retired": true
|
|
754
745
|
},
|
|
755
746
|
{
|
|
756
747
|
"id": "dateCreated",
|
|
@@ -814,15 +805,18 @@
|
|
|
814
805
|
},
|
|
815
806
|
{
|
|
816
807
|
"id": "casetype",
|
|
817
|
-
"label": "Casetype"
|
|
808
|
+
"label": "Casetype",
|
|
809
|
+
"retired": true
|
|
818
810
|
},
|
|
819
811
|
{
|
|
820
812
|
"id": "CopyDate",
|
|
821
|
-
"label": "Copy date"
|
|
813
|
+
"label": "Copy date",
|
|
814
|
+
"retired": true
|
|
822
815
|
},
|
|
823
816
|
{
|
|
824
817
|
"id": "CopyOfCaseID",
|
|
825
|
-
"label": "Copy of caseID"
|
|
818
|
+
"label": "Copy of caseID",
|
|
819
|
+
"retired": true
|
|
826
820
|
},
|
|
827
821
|
{
|
|
828
822
|
"id": "dateCreated",
|
|
@@ -918,15 +912,6 @@
|
|
|
918
912
|
"value": "usersession",
|
|
919
913
|
"valueIsField": false,
|
|
920
914
|
"isEmpty": false
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"op": "cmp",
|
|
924
|
-
"field": "toAttributeType",
|
|
925
|
-
"fieldName": "To attribute type",
|
|
926
|
-
"operator": "!==",
|
|
927
|
-
"value": "taskIn",
|
|
928
|
-
"valueIsField": false,
|
|
929
|
-
"isEmpty": false
|
|
930
915
|
}
|
|
931
916
|
]
|
|
932
917
|
},
|
|
@@ -972,15 +957,6 @@
|
|
|
972
957
|
"value": "taskAttribute",
|
|
973
958
|
"valueIsField": false,
|
|
974
959
|
"isEmpty": false
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
"op": "cmp",
|
|
978
|
-
"field": "toAttributeType",
|
|
979
|
-
"fieldName": "To attribute type",
|
|
980
|
-
"operator": "!==",
|
|
981
|
-
"value": "taskIn",
|
|
982
|
-
"valueIsField": false,
|
|
983
|
-
"isEmpty": false
|
|
984
960
|
}
|
|
985
961
|
]
|
|
986
962
|
},
|
|
@@ -1026,15 +1002,6 @@
|
|
|
1026
1002
|
"value": "usersession",
|
|
1027
1003
|
"valueIsField": false,
|
|
1028
1004
|
"isEmpty": false
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
"op": "cmp",
|
|
1032
|
-
"field": "toAttributeType",
|
|
1033
|
-
"fieldName": "To attribute type",
|
|
1034
|
-
"operator": "!==",
|
|
1035
|
-
"value": "taskIn",
|
|
1036
|
-
"valueIsField": false,
|
|
1037
|
-
"isEmpty": false
|
|
1038
1005
|
}
|
|
1039
1006
|
]
|
|
1040
1007
|
}
|
|
@@ -264,7 +264,8 @@
|
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
"id": "staticPicklistItem",
|
|
267
|
-
"label": "Value of static picklist item"
|
|
267
|
+
"label": "Value of static picklist item",
|
|
268
|
+
"retired": true
|
|
268
269
|
},
|
|
269
270
|
{
|
|
270
271
|
"id": "inlinetemplate",
|
|
@@ -518,7 +519,8 @@
|
|
|
518
519
|
},
|
|
519
520
|
{
|
|
520
521
|
"id": "like",
|
|
521
|
-
"label": "Like"
|
|
522
|
+
"label": "Like",
|
|
523
|
+
"retired": true
|
|
522
524
|
},
|
|
523
525
|
{
|
|
524
526
|
"id": "contains",
|
|
@@ -784,41 +786,7 @@
|
|
|
784
786
|
]
|
|
785
787
|
},
|
|
786
788
|
"rightFieldStaticItem": {
|
|
787
|
-
"baseline": "MUST_NOT"
|
|
788
|
-
"forbiddenWhen": [
|
|
789
|
-
{
|
|
790
|
-
"op": "or",
|
|
791
|
-
"items": [
|
|
792
|
-
{
|
|
793
|
-
"op": "cmp",
|
|
794
|
-
"field": "leftFieldType",
|
|
795
|
-
"fieldName": "Left field type",
|
|
796
|
-
"operator": "!=",
|
|
797
|
-
"value": "value",
|
|
798
|
-
"valueIsField": false,
|
|
799
|
-
"isEmpty": false
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"op": "cmp",
|
|
803
|
-
"field": "rightField",
|
|
804
|
-
"fieldName": "Right field",
|
|
805
|
-
"operator": "===",
|
|
806
|
-
"value": "",
|
|
807
|
-
"valueIsField": false,
|
|
808
|
-
"isEmpty": true
|
|
809
|
-
}
|
|
810
|
-
]
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
"op": "cmp",
|
|
814
|
-
"field": "rightField",
|
|
815
|
-
"fieldName": "Right field",
|
|
816
|
-
"operator": "===",
|
|
817
|
-
"value": "",
|
|
818
|
-
"valueIsField": false,
|
|
819
|
-
"isEmpty": true
|
|
820
|
-
}
|
|
821
|
-
]
|
|
789
|
+
"baseline": "MUST_NOT"
|
|
822
790
|
},
|
|
823
791
|
"rightFieldType": {
|
|
824
792
|
"baseline": "MAY",
|
|
@@ -846,7 +814,8 @@
|
|
|
846
814
|
},
|
|
847
815
|
{
|
|
848
816
|
"id": "staticPicklistItem",
|
|
849
|
-
"label": "Value of static picklist item"
|
|
817
|
+
"label": "Value of static picklist item",
|
|
818
|
+
"retired": true
|
|
850
819
|
},
|
|
851
820
|
{
|
|
852
821
|
"id": "inlinetemplate",
|
|
@@ -61,15 +61,6 @@
|
|
|
61
61
|
"valueIsField": false,
|
|
62
62
|
"isEmpty": false
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
"op": "cmp",
|
|
66
|
-
"field": "toTriggerType",
|
|
67
|
-
"fieldName": "To type",
|
|
68
|
-
"operator": "==",
|
|
69
|
-
"value": "page",
|
|
70
|
-
"valueIsField": false,
|
|
71
|
-
"isEmpty": false
|
|
72
|
-
},
|
|
73
64
|
{
|
|
74
65
|
"op": "cmp",
|
|
75
66
|
"field": "toTriggerType",
|
|
@@ -295,15 +286,6 @@
|
|
|
295
286
|
"valueIsField": false,
|
|
296
287
|
"isEmpty": false
|
|
297
288
|
},
|
|
298
|
-
{
|
|
299
|
-
"op": "cmp",
|
|
300
|
-
"field": "toTriggerType",
|
|
301
|
-
"fieldName": "To type",
|
|
302
|
-
"operator": "==",
|
|
303
|
-
"value": "page",
|
|
304
|
-
"valueIsField": false,
|
|
305
|
-
"isEmpty": false
|
|
306
|
-
},
|
|
307
289
|
{
|
|
308
290
|
"op": "cmp",
|
|
309
291
|
"field": "toTriggerType",
|
|
@@ -1016,29 +1016,6 @@
|
|
|
1016
1016
|
"preSelectedCase": {
|
|
1017
1017
|
"baseline": "MUST_NOT",
|
|
1018
1018
|
"enabledWhen": [
|
|
1019
|
-
{
|
|
1020
|
-
"op": "and",
|
|
1021
|
-
"items": [
|
|
1022
|
-
{
|
|
1023
|
-
"op": "cmp",
|
|
1024
|
-
"field": "masterWidget",
|
|
1025
|
-
"fieldName": "Settings - Master Widget ID",
|
|
1026
|
-
"operator": "!==",
|
|
1027
|
-
"value": "",
|
|
1028
|
-
"valueIsField": false,
|
|
1029
|
-
"isEmpty": true
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"op": "cmp",
|
|
1033
|
-
"field": "widgetType",
|
|
1034
|
-
"fieldName": "Type",
|
|
1035
|
-
"operator": "==",
|
|
1036
|
-
"value": "tileWidget",
|
|
1037
|
-
"valueIsField": false,
|
|
1038
|
-
"isEmpty": false
|
|
1039
|
-
}
|
|
1040
|
-
]
|
|
1041
|
-
},
|
|
1042
1019
|
{
|
|
1043
1020
|
"op": "cmp",
|
|
1044
1021
|
"field": "widgetType",
|
|
@@ -1050,29 +1027,6 @@
|
|
|
1050
1027
|
}
|
|
1051
1028
|
],
|
|
1052
1029
|
"forbiddenWhen": [
|
|
1053
|
-
{
|
|
1054
|
-
"op": "and",
|
|
1055
|
-
"items": [
|
|
1056
|
-
{
|
|
1057
|
-
"op": "cmp",
|
|
1058
|
-
"field": "masterWidget",
|
|
1059
|
-
"fieldName": "Settings - Master Widget ID",
|
|
1060
|
-
"operator": "===",
|
|
1061
|
-
"value": "",
|
|
1062
|
-
"valueIsField": false,
|
|
1063
|
-
"isEmpty": true
|
|
1064
|
-
},
|
|
1065
|
-
{
|
|
1066
|
-
"op": "cmp",
|
|
1067
|
-
"field": "widgetType",
|
|
1068
|
-
"fieldName": "Type",
|
|
1069
|
-
"operator": "==",
|
|
1070
|
-
"value": "tileWidget",
|
|
1071
|
-
"valueIsField": false,
|
|
1072
|
-
"isEmpty": false
|
|
1073
|
-
}
|
|
1074
|
-
]
|
|
1075
|
-
},
|
|
1076
1030
|
{
|
|
1077
1031
|
"op": "cmp",
|
|
1078
1032
|
"field": "widgetType",
|
|
@@ -834,6 +834,24 @@
|
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
},
|
|
837
|
+
{
|
|
838
|
+
"if": {
|
|
839
|
+
"properties": {
|
|
840
|
+
"widgetType": {
|
|
841
|
+
"const": "tileWidget"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"required": [
|
|
845
|
+
"widgetType"
|
|
846
|
+
]
|
|
847
|
+
},
|
|
848
|
+
"then": {},
|
|
849
|
+
"else": {
|
|
850
|
+
"properties": {
|
|
851
|
+
"preSelectedCase": false
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
},
|
|
837
855
|
{
|
|
838
856
|
"if": {
|
|
839
857
|
"properties": {
|