@grexx/grexxlinter 0.2.367 → 0.2.418
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 +7 -2
- package/lsp.js +6 -1
- package/package.json +1 -1
- package/schemas/.caserefs.json +2 -1
- package/schemas/.coverage.json +0 -479
- package/schemas/activity.schema.json +28 -28
- package/schemas/attribute.schema.json +2 -2
- package/schemas/catchBlock.schema.json +1 -1
- package/schemas/customThrow.schema.json +1 -1
- package/schemas/forEach.schema.json +5 -5
- package/schemas/formfield.schema.json +1 -1
- package/schemas/mapping.schema.json +8 -152
- package/schemas/platformAttribute.schema.json +6 -6
- package/schemas/roleName.schema.json +0 -1
- package/schemas/template/date-function.schema.json +1 -1
- package/schemas/template/html.schema.json +1 -1
- package/schemas/template/if.schema.json +1 -1
- package/schemas/template/iterator.schema.json +1 -1
- package/schemas/template/multivalue.schema.json +1 -1
- package/schemas/template/picklist.schema.json +1 -1
- package/schemas/template/util.schema.json +1 -1
- package/schemas/trigger.schema.json +3 -3
- package/schemas/tryBlock.schema.json +1 -1
- package/schemas/while.schema.json +3 -3
- package/schemas/widget.schema.json +41 -85
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"if": {
|
|
126
126
|
"properties": {
|
|
127
127
|
"showProgress": {
|
|
128
|
-
"const":
|
|
128
|
+
"const": true
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"required": [
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"if": {
|
|
144
144
|
"properties": {
|
|
145
145
|
"showProgress": {
|
|
146
|
-
"const":
|
|
146
|
+
"const": true
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
149
|
"required": [
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
"if": {
|
|
420
420
|
"properties": {
|
|
421
421
|
"showProgress": {
|
|
422
|
-
"const":
|
|
422
|
+
"const": true
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
425
|
"required": [
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"if": {
|
|
81
81
|
"properties": {
|
|
82
82
|
"showProgress": {
|
|
83
|
-
"const":
|
|
83
|
+
"const": true
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"required": [
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"if": {
|
|
99
99
|
"properties": {
|
|
100
100
|
"showProgress": {
|
|
101
|
-
"const":
|
|
101
|
+
"const": true
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"required": [
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"if": {
|
|
117
117
|
"properties": {
|
|
118
118
|
"showProgress": {
|
|
119
|
-
"const":
|
|
119
|
+
"const": true
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"required": [
|
|
@@ -733,38 +733,6 @@
|
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
735
|
},
|
|
736
|
-
{
|
|
737
|
-
"if": {
|
|
738
|
-
"anyOf": [
|
|
739
|
-
{
|
|
740
|
-
"properties": {
|
|
741
|
-
"isLinkedToPlatformWidget": {
|
|
742
|
-
"const": "true"
|
|
743
|
-
}
|
|
744
|
-
},
|
|
745
|
-
"required": [
|
|
746
|
-
"isLinkedToPlatformWidget"
|
|
747
|
-
]
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
"properties": {
|
|
751
|
-
"isLinkedToPlatformWidget": {
|
|
752
|
-
"const": "true"
|
|
753
|
-
}
|
|
754
|
-
},
|
|
755
|
-
"required": [
|
|
756
|
-
"isLinkedToPlatformWidget"
|
|
757
|
-
]
|
|
758
|
-
}
|
|
759
|
-
]
|
|
760
|
-
},
|
|
761
|
-
"then": {},
|
|
762
|
-
"else": {
|
|
763
|
-
"properties": {
|
|
764
|
-
"platformWidget": false
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
},
|
|
768
736
|
{
|
|
769
737
|
"if": {
|
|
770
738
|
"properties": {
|
|
@@ -939,6 +907,46 @@
|
|
|
939
907
|
}
|
|
940
908
|
}
|
|
941
909
|
},
|
|
910
|
+
{
|
|
911
|
+
"if": {
|
|
912
|
+
"anyOf": [
|
|
913
|
+
{
|
|
914
|
+
"properties": {
|
|
915
|
+
"widgetType": {
|
|
916
|
+
"const": "templateWidget"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"required": [
|
|
920
|
+
"widgetType"
|
|
921
|
+
]
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"properties": {
|
|
925
|
+
"widgetType": {
|
|
926
|
+
"const": "tileWidget"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
"required": [
|
|
930
|
+
"widgetType"
|
|
931
|
+
]
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
"then": {
|
|
936
|
+
"anyOf": [
|
|
937
|
+
{
|
|
938
|
+
"required": [
|
|
939
|
+
"template"
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"required": [
|
|
944
|
+
"templateInline"
|
|
945
|
+
]
|
|
946
|
+
}
|
|
947
|
+
]
|
|
948
|
+
}
|
|
949
|
+
},
|
|
942
950
|
{
|
|
943
951
|
"if": {
|
|
944
952
|
"properties": {
|
|
@@ -1001,8 +1009,7 @@
|
|
|
1001
1009
|
},
|
|
1002
1010
|
"then": {
|
|
1003
1011
|
"required": [
|
|
1004
|
-
"dataset"
|
|
1005
|
-
"template"
|
|
1012
|
+
"dataset"
|
|
1006
1013
|
]
|
|
1007
1014
|
}
|
|
1008
1015
|
},
|
|
@@ -1091,57 +1098,6 @@
|
|
|
1091
1098
|
"form"
|
|
1092
1099
|
]
|
|
1093
1100
|
}
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"if": {
|
|
1097
|
-
"properties": {
|
|
1098
|
-
"isLinkedToPlatformWidget": {
|
|
1099
|
-
"const": "true"
|
|
1100
|
-
}
|
|
1101
|
-
},
|
|
1102
|
-
"required": [
|
|
1103
|
-
"isLinkedToPlatformWidget"
|
|
1104
|
-
]
|
|
1105
|
-
},
|
|
1106
|
-
"then": {
|
|
1107
|
-
"required": [
|
|
1108
|
-
"platformWidget"
|
|
1109
|
-
]
|
|
1110
|
-
}
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
"if": {
|
|
1114
|
-
"properties": {
|
|
1115
|
-
"widgetType": {
|
|
1116
|
-
"const": "templateWidget"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
"required": [
|
|
1120
|
-
"widgetType"
|
|
1121
|
-
]
|
|
1122
|
-
},
|
|
1123
|
-
"then": {
|
|
1124
|
-
"required": [
|
|
1125
|
-
"template"
|
|
1126
|
-
]
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
"if": {
|
|
1131
|
-
"properties": {
|
|
1132
|
-
"widgetType": {
|
|
1133
|
-
"const": "filePreview"
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
"required": [
|
|
1137
|
-
"widgetType"
|
|
1138
|
-
]
|
|
1139
|
-
},
|
|
1140
|
-
"then": {
|
|
1141
|
-
"required": [
|
|
1142
|
-
"templateInline"
|
|
1143
|
-
]
|
|
1144
|
-
}
|
|
1145
1101
|
}
|
|
1146
1102
|
],
|
|
1147
1103
|
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/widget.json."
|