@grexx/grexxlinter 0.2.1 → 0.2.343

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.
Files changed (46) hide show
  1. package/cli.js +3 -3
  2. package/lsp.js +2 -2
  3. package/package.json +1 -1
  4. package/schemas/.coverage.json +3176 -1101
  5. package/schemas/activityAttribute.schema.json +116 -55
  6. package/schemas/activityRight.schema.json +65 -45
  7. package/schemas/agentTool.schema.json +3 -1
  8. package/schemas/attribute.schema.json +32 -0
  9. package/schemas/catchBlock.schema.json +82 -56
  10. package/schemas/conditionList.schema.json +69 -50
  11. package/schemas/customThrow.schema.json +82 -54
  12. package/schemas/dataRetentionProfile.schema.json +70 -65
  13. package/schemas/datasetColumn.schema.json +11 -0
  14. package/schemas/datasetRight.schema.json +0 -1
  15. package/schemas/datasource.schema.json +64 -54
  16. package/schemas/fileUploadProfile.schema.json +60 -55
  17. package/schemas/forEach.schema.json +33 -0
  18. package/schemas/formRight.schema.json +0 -1
  19. package/schemas/formfield.schema.json +44 -0
  20. package/schemas/ifthenelse.schema.json +73 -57
  21. package/schemas/jobStep.schema.json +47 -52
  22. package/schemas/llmModel.schema.json +98 -58
  23. package/schemas/metadata.schema.json +3 -1
  24. package/schemas/navigation.schema.json +31 -3
  25. package/schemas/picklistItem.schema.json +49 -54
  26. package/schemas/platformAttribute.schema.json +66 -0
  27. package/schemas/requestContext.schema.json +10 -0
  28. package/schemas/securityProfile.schema.json +53 -47
  29. package/schemas/securityRequirement.schema.json +52 -47
  30. package/schemas/simpleCondition.schema.json +15 -0
  31. package/schemas/tag.schema.json +43 -48
  32. package/schemas/taskQueue.schema.json +56 -51
  33. package/schemas/template/date-function.schema.json +1 -0
  34. package/schemas/template/html.schema.json +1 -0
  35. package/schemas/template/if.schema.json +1 -0
  36. package/schemas/template/iterator.schema.json +1 -0
  37. package/schemas/template/multivalue.schema.json +1 -0
  38. package/schemas/template/picklist.schema.json +1 -0
  39. package/schemas/template/util.schema.json +4 -0
  40. package/schemas/trigger.schema.json +33 -0
  41. package/schemas/tryBlock.schema.json +2 -2
  42. package/schemas/view.schema.json +1 -2
  43. package/schemas/webhook.schema.json +46 -58
  44. package/schemas/while.schema.json +33 -0
  45. package/schemas/widget.schema.json +197 -2
  46. package/schemas/widgetRight.schema.json +0 -1
@@ -76,6 +76,38 @@
76
76
  "title": "while",
77
77
  "type": "object",
78
78
  "allOf": [
79
+ {
80
+ "if": {
81
+ "anyOf": [
82
+ {
83
+ "properties": {
84
+ "showProgress": {
85
+ "const": "true"
86
+ }
87
+ },
88
+ "required": [
89
+ "showProgress"
90
+ ]
91
+ },
92
+ {
93
+ "properties": {
94
+ "showProgress": {
95
+ "const": "true"
96
+ }
97
+ },
98
+ "required": [
99
+ "showProgress"
100
+ ]
101
+ }
102
+ ]
103
+ },
104
+ "then": {},
105
+ "else": {
106
+ "properties": {
107
+ "progressTemplate": false
108
+ }
109
+ }
110
+ },
79
111
  {
80
112
  "if": {
81
113
  "anyOf": [
@@ -121,6 +153,7 @@
121
153
  },
122
154
  "then": {
123
155
  "required": [
156
+ "progressTemplate",
124
157
  "progressTitle"
125
158
  ]
126
159
  }
@@ -994,8 +994,35 @@
994
994
  }
995
995
  },
996
996
  {
997
- "properties": {
998
- "platformWidget": false
997
+ "if": {
998
+ "anyOf": [
999
+ {
1000
+ "properties": {
1001
+ "isLinkedToPlatformWidget": {
1002
+ "const": "true"
1003
+ }
1004
+ },
1005
+ "required": [
1006
+ "isLinkedToPlatformWidget"
1007
+ ]
1008
+ },
1009
+ {
1010
+ "properties": {
1011
+ "isLinkedToPlatformWidget": {
1012
+ "const": "true"
1013
+ }
1014
+ },
1015
+ "required": [
1016
+ "isLinkedToPlatformWidget"
1017
+ ]
1018
+ }
1019
+ ]
1020
+ },
1021
+ "then": {},
1022
+ "else": {
1023
+ "properties": {
1024
+ "platformWidget": false
1025
+ }
999
1026
  }
1000
1027
  },
1001
1028
  {
@@ -1016,6 +1043,126 @@
1016
1043
  }
1017
1044
  }
1018
1045
  },
1046
+ {
1047
+ "if": {
1048
+ "anyOf": [
1049
+ {
1050
+ "allOf": [
1051
+ {
1052
+ "anyOf": [
1053
+ {
1054
+ "properties": {
1055
+ "widgetType": {
1056
+ "const": "formSearch"
1057
+ }
1058
+ },
1059
+ "required": [
1060
+ "widgetType"
1061
+ ]
1062
+ },
1063
+ {
1064
+ "properties": {
1065
+ "widgetType": {
1066
+ "const": "simpleSearch"
1067
+ }
1068
+ },
1069
+ "required": [
1070
+ "widgetType"
1071
+ ]
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "properties": {
1077
+ "widgetType": {
1078
+ "const": "simpleSearch"
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "widgetType"
1083
+ ]
1084
+ }
1085
+ ]
1086
+ },
1087
+ {
1088
+ "properties": {
1089
+ "widgetType": {
1090
+ "const": "simpleSearch"
1091
+ }
1092
+ },
1093
+ "required": [
1094
+ "widgetType"
1095
+ ]
1096
+ }
1097
+ ]
1098
+ },
1099
+ "then": {},
1100
+ "else": {
1101
+ "properties": {
1102
+ "templateSearchBox": false
1103
+ }
1104
+ }
1105
+ },
1106
+ {
1107
+ "if": {
1108
+ "anyOf": [
1109
+ {
1110
+ "allOf": [
1111
+ {
1112
+ "anyOf": [
1113
+ {
1114
+ "properties": {
1115
+ "widgetType": {
1116
+ "const": "formSearch"
1117
+ }
1118
+ },
1119
+ "required": [
1120
+ "widgetType"
1121
+ ]
1122
+ },
1123
+ {
1124
+ "properties": {
1125
+ "widgetType": {
1126
+ "const": "simpleSearch"
1127
+ }
1128
+ },
1129
+ "required": [
1130
+ "widgetType"
1131
+ ]
1132
+ }
1133
+ ]
1134
+ },
1135
+ {
1136
+ "properties": {
1137
+ "widgetType": {
1138
+ "const": "simpleSearch"
1139
+ }
1140
+ },
1141
+ "required": [
1142
+ "widgetType"
1143
+ ]
1144
+ }
1145
+ ]
1146
+ },
1147
+ {
1148
+ "properties": {
1149
+ "widgetType": {
1150
+ "const": "simpleSearch"
1151
+ }
1152
+ },
1153
+ "required": [
1154
+ "widgetType"
1155
+ ]
1156
+ }
1157
+ ]
1158
+ },
1159
+ "then": {},
1160
+ "else": {
1161
+ "properties": {
1162
+ "templateSearchRow": false
1163
+ }
1164
+ }
1165
+ },
1019
1166
  {
1020
1167
  "if": {
1021
1168
  "properties": {
@@ -1256,6 +1403,37 @@
1256
1403
  ]
1257
1404
  }
1258
1405
  },
1406
+ {
1407
+ "if": {
1408
+ "allOf": [
1409
+ {
1410
+ "properties": {
1411
+ "widgetAgentCustomActivities": {
1412
+ "const": "true"
1413
+ }
1414
+ },
1415
+ "required": [
1416
+ "widgetAgentCustomActivities"
1417
+ ]
1418
+ },
1419
+ {
1420
+ "properties": {
1421
+ "widgetType": {
1422
+ "const": "AIConversationWidget"
1423
+ }
1424
+ },
1425
+ "required": [
1426
+ "widgetType"
1427
+ ]
1428
+ }
1429
+ ]
1430
+ },
1431
+ "then": {
1432
+ "required": [
1433
+ "widgetAgentActivityFilterType"
1434
+ ]
1435
+ }
1436
+ },
1259
1437
  {
1260
1438
  "if": {
1261
1439
  "properties": {
@@ -1360,6 +1538,23 @@
1360
1538
  ]
1361
1539
  }
1362
1540
  },
1541
+ {
1542
+ "if": {
1543
+ "properties": {
1544
+ "isLinkedToPlatformWidget": {
1545
+ "const": "true"
1546
+ }
1547
+ },
1548
+ "required": [
1549
+ "isLinkedToPlatformWidget"
1550
+ ]
1551
+ },
1552
+ "then": {
1553
+ "required": [
1554
+ "platformWidget"
1555
+ ]
1556
+ }
1557
+ },
1363
1558
  {
1364
1559
  "if": {
1365
1560
  "properties": {
@@ -75,7 +75,6 @@
75
75
  "required": [
76
76
  "_type",
77
77
  "_uid",
78
- "description",
79
78
  "roleName",
80
79
  "type"
81
80
  ],