@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.
@@ -183,6 +183,89 @@
183
183
  }
184
184
  ]
185
185
  }
186
+ ],
187
+ "messageWhen": [
188
+ {
189
+ "when": {
190
+ "op": "and",
191
+ "items": [
192
+ {
193
+ "op": "or",
194
+ "items": [
195
+ {
196
+ "op": "cmp",
197
+ "field": null,
198
+ "fieldName": "«[Attribute] ⏎ [Attribute]»",
199
+ "operator": "contains",
200
+ "value": "date",
201
+ "valueIsField": false,
202
+ "isEmpty": false
203
+ },
204
+ {
205
+ "op": "cmp",
206
+ "field": "type",
207
+ "fieldName": "Typed - Type",
208
+ "operator": "contains",
209
+ "value": "date",
210
+ "valueIsField": false,
211
+ "isEmpty": false
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "op": "cmp",
217
+ "field": null,
218
+ "fieldName": "«[Attribute][Attribute]»",
219
+ "operator": "!==",
220
+ "value": "",
221
+ "valueIsField": false,
222
+ "isEmpty": true
223
+ }
224
+ ]
225
+ },
226
+ "message": "The value chosen here will overrule that."
227
+ }
228
+ ]
229
+ },
230
+ "render": {
231
+ "baseline": "MAY",
232
+ "optionsWhen": [
233
+ {
234
+ "when": {
235
+ "op": "cmp",
236
+ "field": null,
237
+ "fieldName": "Dataset in parent form",
238
+ "operator": "!==",
239
+ "value": "",
240
+ "valueIsField": false,
241
+ "isEmpty": true
242
+ },
243
+ "source": {
244
+ "kind": "static",
245
+ "options": [
246
+ {
247
+ "id": "default",
248
+ "label": "Default"
249
+ },
250
+ {
251
+ "id": "list",
252
+ "label": "Picklist with counter (based on data)"
253
+ },
254
+ {
255
+ "id": "buttons",
256
+ "label": "Radiobuttons (sv) / Checkboxxes (mv)"
257
+ },
258
+ {
259
+ "id": "range",
260
+ "label": "Range"
261
+ },
262
+ {
263
+ "id": "slider",
264
+ "label": "Slider"
265
+ }
266
+ ]
267
+ }
268
+ }
186
269
  ]
187
270
  },
188
271
  "fileuploadInstruction": {
@@ -231,6 +314,74 @@
231
314
  }
232
315
  ]
233
316
  },
317
+ "labelStyle": {
318
+ "baseline": "MAY",
319
+ "optionsWhen": [
320
+ {
321
+ "when": {
322
+ "op": "cmp",
323
+ "field": "width",
324
+ "fieldName": "Width",
325
+ "operator": "<",
326
+ "value": "2",
327
+ "valueIsField": false,
328
+ "isEmpty": false
329
+ },
330
+ "source": {
331
+ "kind": "static",
332
+ "options": [
333
+ {
334
+ "id": "Hidden",
335
+ "label": "Hidden"
336
+ },
337
+ {
338
+ "id": "Top",
339
+ "label": "Top"
340
+ }
341
+ ]
342
+ }
343
+ },
344
+ {
345
+ "when": {
346
+ "op": "not",
347
+ "item": {
348
+ "op": "cmp",
349
+ "field": "width",
350
+ "fieldName": "Width",
351
+ "operator": "<",
352
+ "value": "2",
353
+ "valueIsField": false,
354
+ "isEmpty": false
355
+ }
356
+ },
357
+ "source": {
358
+ "kind": "static",
359
+ "options": [
360
+ {
361
+ "id": "Top",
362
+ "label": "Top"
363
+ },
364
+ {
365
+ "id": "Bottom",
366
+ "label": "Bottom"
367
+ },
368
+ {
369
+ "id": "Left",
370
+ "label": "Left"
371
+ },
372
+ {
373
+ "id": "Right",
374
+ "label": "Right"
375
+ },
376
+ {
377
+ "id": "Hidden",
378
+ "label": "Hidden"
379
+ }
380
+ ]
381
+ }
382
+ }
383
+ ]
384
+ },
234
385
  "multivalueInputSeparator": {
235
386
  "baseline": "MAY",
236
387
  "enabledWhen": [
@@ -53,6 +53,42 @@
53
53
  }
54
54
  ]
55
55
  },
56
+ "externalRole": {
57
+ "baseline": "MAY",
58
+ "optionsWhen": [
59
+ {
60
+ "when": {
61
+ "op": "and",
62
+ "items": [
63
+ {
64
+ "op": "cmp",
65
+ "field": null,
66
+ "fieldName": "«[Role name]»",
67
+ "operator": "contains",
68
+ "value": "agents",
69
+ "valueIsField": false,
70
+ "isEmpty": false
71
+ },
72
+ {
73
+ "op": "cmp",
74
+ "field": null,
75
+ "fieldName": "«[Role name]»",
76
+ "operator": "contains",
77
+ "value": "allNormalCases",
78
+ "valueIsField": false,
79
+ "isEmpty": false
80
+ }
81
+ ]
82
+ },
83
+ "source": {
84
+ "kind": "objects",
85
+ "type": [
86
+ "roleName"
87
+ ]
88
+ }
89
+ }
90
+ ]
91
+ },
56
92
  "roleName": {
57
93
  "baseline": "MUST"
58
94
  }
@@ -40,6 +40,61 @@
40
40
  "valueIsField": false,
41
41
  "isEmpty": false
42
42
  }
43
+ ],
44
+ "optionsWhen": [
45
+ {
46
+ "when": {
47
+ "op": "cmp",
48
+ "field": "fromAttributeType",
49
+ "fieldName": "From attribute type",
50
+ "operator": "==",
51
+ "value": "casedata",
52
+ "valueIsField": false,
53
+ "isEmpty": false
54
+ },
55
+ "source": {
56
+ "kind": "objects",
57
+ "type": [
58
+ "attribute"
59
+ ]
60
+ }
61
+ },
62
+ {
63
+ "when": {
64
+ "op": "cmp",
65
+ "field": "fromAttributeType",
66
+ "fieldName": "From attribute type",
67
+ "operator": "==",
68
+ "value": "casedata",
69
+ "valueIsField": false,
70
+ "isEmpty": false
71
+ },
72
+ "source": {
73
+ "kind": "objects",
74
+ "type": [
75
+ "platformAttribute",
76
+ "attribute"
77
+ ]
78
+ }
79
+ },
80
+ {
81
+ "when": {
82
+ "op": "cmp",
83
+ "field": "fromAttributeType",
84
+ "fieldName": "From attribute type",
85
+ "operator": "==",
86
+ "value": "taskout",
87
+ "valueIsField": false,
88
+ "isEmpty": false
89
+ },
90
+ "source": {
91
+ "kind": "objects",
92
+ "type": [
93
+ "platformAttribute",
94
+ "attribute"
95
+ ]
96
+ }
97
+ }
43
98
  ]
44
99
  },
45
100
  "fromInlineTemplate": {
@@ -147,6 +202,188 @@
147
202
  "valueIsField": false,
148
203
  "isEmpty": true
149
204
  }
205
+ ],
206
+ "optionsWhen": [
207
+ {
208
+ "when": {
209
+ "op": "cmp",
210
+ "field": "toAttributeType",
211
+ "fieldName": "To attribute type",
212
+ "operator": "==",
213
+ "value": "casedata",
214
+ "valueIsField": false,
215
+ "isEmpty": false
216
+ },
217
+ "source": {
218
+ "kind": "objects",
219
+ "type": [
220
+ "platformAttribute",
221
+ "attribute"
222
+ ]
223
+ }
224
+ },
225
+ {
226
+ "when": {
227
+ "op": "cmp",
228
+ "field": "toAttributeType",
229
+ "fieldName": "To attribute type",
230
+ "operator": "==",
231
+ "value": "casemetadata",
232
+ "valueIsField": false,
233
+ "isEmpty": false
234
+ },
235
+ "source": {
236
+ "kind": "static",
237
+ "options": [
238
+ {
239
+ "id": "caseid",
240
+ "label": "Case ID"
241
+ },
242
+ {
243
+ "id": "casetype",
244
+ "label": "Casetype"
245
+ },
246
+ {
247
+ "id": "CopyDate",
248
+ "label": "Copy date"
249
+ },
250
+ {
251
+ "id": "CopyOfCaseID",
252
+ "label": "Copy of caseID"
253
+ },
254
+ {
255
+ "id": "dateCreated",
256
+ "label": "Date created"
257
+ },
258
+ {
259
+ "id": "dateFinished",
260
+ "label": "Date closed"
261
+ },
262
+ {
263
+ "id": "id",
264
+ "label": "ID"
265
+ },
266
+ {
267
+ "id": "origin",
268
+ "label": "Origin"
269
+ },
270
+ {
271
+ "id": "lastModified",
272
+ "label": "Last modified"
273
+ },
274
+ {
275
+ "id": "parentCase",
276
+ "label": "Parent case"
277
+ },
278
+ {
279
+ "id": "reference",
280
+ "label": "Reference"
281
+ },
282
+ {
283
+ "id": "requestor",
284
+ "label": "Requestor"
285
+ },
286
+ {
287
+ "id": "src",
288
+ "label": "Source ID"
289
+ },
290
+ {
291
+ "id": "related",
292
+ "label": "Related cases"
293
+ }
294
+ ]
295
+ }
296
+ },
297
+ {
298
+ "when": {
299
+ "op": "cmp",
300
+ "field": "toAttributeType",
301
+ "fieldName": "To attribute type",
302
+ "operator": "==",
303
+ "value": "newcasemetadata",
304
+ "valueIsField": false,
305
+ "isEmpty": false
306
+ },
307
+ "source": {
308
+ "kind": "static",
309
+ "options": [
310
+ {
311
+ "id": "caseid",
312
+ "label": "Case ID"
313
+ },
314
+ {
315
+ "id": "casetype",
316
+ "label": "Casetype"
317
+ },
318
+ {
319
+ "id": "CopyDate",
320
+ "label": "Copy date"
321
+ },
322
+ {
323
+ "id": "CopyOfCaseID",
324
+ "label": "Copy of caseID"
325
+ },
326
+ {
327
+ "id": "dateCreated",
328
+ "label": "Date created"
329
+ },
330
+ {
331
+ "id": "dateFinished",
332
+ "label": "Date closed"
333
+ },
334
+ {
335
+ "id": "id",
336
+ "label": "ID"
337
+ },
338
+ {
339
+ "id": "origin",
340
+ "label": "Origin"
341
+ },
342
+ {
343
+ "id": "lastModified",
344
+ "label": "Last modified"
345
+ },
346
+ {
347
+ "id": "parentCase",
348
+ "label": "Parent case"
349
+ },
350
+ {
351
+ "id": "reference",
352
+ "label": "Reference"
353
+ },
354
+ {
355
+ "id": "requestor",
356
+ "label": "Requestor"
357
+ },
358
+ {
359
+ "id": "src",
360
+ "label": "Source ID"
361
+ },
362
+ {
363
+ "id": "related",
364
+ "label": "Related cases"
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ {
370
+ "when": {
371
+ "op": "cmp",
372
+ "field": "toAttributeType",
373
+ "fieldName": "To attribute type",
374
+ "operator": "==",
375
+ "value": "taskIn",
376
+ "valueIsField": false,
377
+ "isEmpty": false
378
+ },
379
+ "source": {
380
+ "kind": "objects",
381
+ "type": [
382
+ "platformAttribute",
383
+ "attribute"
384
+ ]
385
+ }
386
+ }
150
387
  ]
151
388
  },
152
389
  "jsonPath": {
@@ -36,6 +36,34 @@
36
36
  "isEmpty": false
37
37
  }
38
38
  }
39
+ ],
40
+ "messageWhen": [
41
+ {
42
+ "when": {
43
+ "op": "cmp",
44
+ "field": null,
45
+ "fieldName": "SYSTEM - Started from Casetype",
46
+ "operator": "==",
47
+ "value": "true",
48
+ "valueIsField": false,
49
+ "isEmpty": false
50
+ },
51
+ "message": "This option is only available when you add SEO and Metadata via Platform > Search engine optimisation"
52
+ }
53
+ ],
54
+ "setValueWhen": [
55
+ {
56
+ "when": {
57
+ "op": "cmp",
58
+ "field": "type",
59
+ "fieldName": "Type metadata",
60
+ "operator": "like",
61
+ "value": "icon",
62
+ "valueIsField": false,
63
+ "isEmpty": false
64
+ },
65
+ "value": "true"
66
+ }
39
67
  ]
40
68
  },
41
69
  "name": {
@@ -149,6 +149,50 @@
149
149
  "valueIsField": false,
150
150
  "isEmpty": false
151
151
  }
152
+ ],
153
+ "messageWhen": [
154
+ {
155
+ "when": {
156
+ "op": "cmp",
157
+ "field": "type",
158
+ "fieldName": "Type platform attribute",
159
+ "operator": "==",
160
+ "value": "boolean",
161
+ "valueIsField": false,
162
+ "isEmpty": false
163
+ },
164
+ "message": "Default is NULL"
165
+ }
166
+ ],
167
+ "optionsWhen": [
168
+ {
169
+ "when": {
170
+ "op": "cmp",
171
+ "field": "type",
172
+ "fieldName": "Type platform attribute",
173
+ "operator": "==",
174
+ "value": "boolean",
175
+ "valueIsField": false,
176
+ "isEmpty": false
177
+ },
178
+ "source": {
179
+ "kind": "static",
180
+ "options": [
181
+ {
182
+ "id": "false",
183
+ "label": "false"
184
+ },
185
+ {
186
+ "id": "true",
187
+ "label": "true"
188
+ },
189
+ {
190
+ "id": "null",
191
+ "label": "null"
192
+ }
193
+ ]
194
+ }
195
+ }
152
196
  ]
153
197
  },
154
198
  "excludeFromRelatedCases": {
@@ -298,6 +342,20 @@
298
342
  "valueIsField": false,
299
343
  "isEmpty": false
300
344
  }
345
+ ],
346
+ "setValueWhen": [
347
+ {
348
+ "when": {
349
+ "op": "cmp",
350
+ "field": "multivalue",
351
+ "fieldName": "Multivalue",
352
+ "operator": "==",
353
+ "value": "true",
354
+ "valueIsField": false,
355
+ "isEmpty": false
356
+ },
357
+ "value": "set"
358
+ }
301
359
  ]
302
360
  },
303
361
  "picklist": {