@grexx/grexxlinter 0.2.2367 → 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 CHANGED
@@ -15248,7 +15248,7 @@ function toJSOrError(doc) {
15248
15248
  // src/cli.ts
15249
15249
  var PARALLEL_THRESHOLD = 200;
15250
15250
  var MAX_WORKERS = 8;
15251
- var VERSION = "0.2.2367";
15251
+ var VERSION = "0.2.2397";
15252
15252
  function isNewer(latest, current) {
15253
15253
  const a = latest.split(".").map(Number);
15254
15254
  const b = current.split(".").map(Number);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grexx/grexxlinter",
3
- "version": "0.2.2367",
3
+ "version": "0.2.2397",
4
4
  "description": "Lint Grexx Studio casetype YAML against the studio JSON Schemas.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -58,8 +58,8 @@
58
58
  "enabledWhen": [
59
59
  {
60
60
  "op": "cmp",
61
- "field": "generateCloseActivity",
62
- "fieldName": "Generate close activity",
61
+ "field": "createCloseActivity",
62
+ "fieldName": "Create close activity",
63
63
  "operator": "==",
64
64
  "value": "true",
65
65
  "valueIsField": false,
@@ -78,8 +78,8 @@
78
78
  "forbiddenWhen": [
79
79
  {
80
80
  "op": "cmp",
81
- "field": "generateCloseActivity",
82
- "fieldName": "Generate close activity",
81
+ "field": "createCloseActivity",
82
+ "fieldName": "Create close activity",
83
83
  "operator": "!=",
84
84
  "value": "true",
85
85
  "valueIsField": false,
@@ -119,8 +119,8 @@
119
119
  "enabledWhen": [
120
120
  {
121
121
  "op": "cmp",
122
- "field": "generateEditActivity",
123
- "fieldName": "Generate edit activity",
122
+ "field": "createEditActivity",
123
+ "fieldName": "Create edit activity",
124
124
  "operator": "==",
125
125
  "value": "true",
126
126
  "valueIsField": false,
@@ -139,8 +139,8 @@
139
139
  "forbiddenWhen": [
140
140
  {
141
141
  "op": "cmp",
142
- "field": "generateEditActivity",
143
- "fieldName": "Generate edit activity",
142
+ "field": "createEditActivity",
143
+ "fieldName": "Create edit activity",
144
144
  "operator": "!=",
145
145
  "value": "true",
146
146
  "valueIsField": false,
@@ -1133,5 +1133,134 @@
1133
1133
  "isEmpty": false
1134
1134
  }
1135
1135
  ]
1136
+ },
1137
+ "createAddActivityOn": {
1138
+ "baseline": "MUST_NOT",
1139
+ "enabledWhen": [
1140
+ {
1141
+ "op": "cmp",
1142
+ "field": "type",
1143
+ "fieldName": "Type",
1144
+ "operator": "==",
1145
+ "value": "casetype",
1146
+ "valueIsField": false,
1147
+ "isEmpty": false
1148
+ }
1149
+ ],
1150
+ "forbiddenWhen": [
1151
+ {
1152
+ "op": "cmp",
1153
+ "field": "type",
1154
+ "fieldName": "Type",
1155
+ "operator": "==",
1156
+ "value": "page",
1157
+ "valueIsField": false,
1158
+ "isEmpty": false
1159
+ },
1160
+ {
1161
+ "op": "cmp",
1162
+ "field": "type",
1163
+ "fieldName": "Type",
1164
+ "operator": "==",
1165
+ "value": "scripted",
1166
+ "valueIsField": false,
1167
+ "isEmpty": false
1168
+ },
1169
+ {
1170
+ "op": "cmp",
1171
+ "field": "type",
1172
+ "fieldName": "Type",
1173
+ "operator": "==",
1174
+ "value": "systemservice",
1175
+ "valueIsField": false,
1176
+ "isEmpty": false
1177
+ }
1178
+ ]
1179
+ },
1180
+ "createEditActivity": {
1181
+ "baseline": "MUST_NOT",
1182
+ "enabledWhen": [
1183
+ {
1184
+ "op": "cmp",
1185
+ "field": "type",
1186
+ "fieldName": "Type",
1187
+ "operator": "==",
1188
+ "value": "casetype",
1189
+ "valueIsField": false,
1190
+ "isEmpty": false
1191
+ }
1192
+ ],
1193
+ "forbiddenWhen": [
1194
+ {
1195
+ "op": "cmp",
1196
+ "field": "type",
1197
+ "fieldName": "Type",
1198
+ "operator": "==",
1199
+ "value": "page",
1200
+ "valueIsField": false,
1201
+ "isEmpty": false
1202
+ },
1203
+ {
1204
+ "op": "cmp",
1205
+ "field": "type",
1206
+ "fieldName": "Type",
1207
+ "operator": "==",
1208
+ "value": "scripted",
1209
+ "valueIsField": false,
1210
+ "isEmpty": false
1211
+ },
1212
+ {
1213
+ "op": "cmp",
1214
+ "field": "type",
1215
+ "fieldName": "Type",
1216
+ "operator": "==",
1217
+ "value": "systemservice",
1218
+ "valueIsField": false,
1219
+ "isEmpty": false
1220
+ }
1221
+ ]
1222
+ },
1223
+ "createCloseActivity": {
1224
+ "baseline": "MUST_NOT",
1225
+ "enabledWhen": [
1226
+ {
1227
+ "op": "cmp",
1228
+ "field": "type",
1229
+ "fieldName": "Type",
1230
+ "operator": "==",
1231
+ "value": "casetype",
1232
+ "valueIsField": false,
1233
+ "isEmpty": false
1234
+ }
1235
+ ],
1236
+ "forbiddenWhen": [
1237
+ {
1238
+ "op": "cmp",
1239
+ "field": "type",
1240
+ "fieldName": "Type",
1241
+ "operator": "==",
1242
+ "value": "page",
1243
+ "valueIsField": false,
1244
+ "isEmpty": false
1245
+ },
1246
+ {
1247
+ "op": "cmp",
1248
+ "field": "type",
1249
+ "fieldName": "Type",
1250
+ "operator": "==",
1251
+ "value": "scripted",
1252
+ "valueIsField": false,
1253
+ "isEmpty": false
1254
+ },
1255
+ {
1256
+ "op": "cmp",
1257
+ "field": "type",
1258
+ "fieldName": "Type",
1259
+ "operator": "==",
1260
+ "value": "systemservice",
1261
+ "valueIsField": false,
1262
+ "isEmpty": false
1263
+ }
1264
+ ]
1136
1265
  }
1137
1266
  }