@grexx/grexxlinter 0.2.1074 → 0.2.1111

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.
@@ -1,66 +1,71 @@
1
1
  {
2
- "$id" : "https://grexx.net/studio-next/schemas/picklistItem.schema.json",
3
- "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
- "additionalProperties" : false,
5
- "properties" : {
6
- "_id" : {
7
- "type" : "string"
8
- },
9
- "_interfaceID" : {
10
- "type" : "string"
11
- },
12
- "_isInterface" : {
13
- "type" : "boolean"
14
- },
15
- "_knownIDs" : {
16
- "items" : {
17
- "type" : "string"
2
+ "$id": "https://grexx.net/studio-next/schemas/picklistItem.schema.json",
3
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "_id": {
7
+ "type": "string"
8
+ },
9
+ "_interfaceID": {
10
+ "type": "string"
11
+ },
12
+ "_isInterface": {
13
+ "type": "boolean"
14
+ },
15
+ "_knownIDs": {
16
+ "items": {
17
+ "type": "string"
18
18
  },
19
- "type" : "array"
19
+ "type": "array"
20
20
  },
21
- "_origin" : {
22
- "type" : "string"
21
+ "_origin": {
22
+ "type": "string"
23
23
  },
24
- "_src" : {
25
- "type" : "string"
24
+ "_src": {
25
+ "type": "string"
26
26
  },
27
- "_type" : {
28
- "const" : "picklistItem"
27
+ "_type": {
28
+ "const": "picklistItem"
29
29
  },
30
- "_uid" : {
31
- "description" : "Deterministic UUID derived from case-ID.",
32
- "format" : "uuid",
33
- "type" : "string"
30
+ "_uid": {
31
+ "description": "Deterministic UUID derived from case-ID.",
32
+ "format": "uuid",
33
+ "type": "string"
34
34
  },
35
- "condition" : {
36
- "$ref" : "abstractCondition.schema.json"
35
+ "condition": {
36
+ "$ref": "abstractCondition.schema.json"
37
37
  },
38
- "description" : {
39
- "$ref" : "template/inlineTemplate.schema.json"
38
+ "description": {
39
+ "$ref": "template/inlineTemplate.schema.json"
40
40
  },
41
- "disabled" : {
42
- "type" : "boolean"
41
+ "disabled": {
42
+ "type": "boolean"
43
43
  },
44
- "inactive" : {
45
- "type" : "boolean"
44
+ "inactive": {
45
+ "type": "boolean"
46
46
  },
47
- "interfaceStudioProduct" : {
48
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
47
+ "interfaceStudioProduct": {
48
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
49
49
  },
50
- "label" : {
51
- "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
50
+ "label": {
51
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
52
52
  },
53
- "metaCaseToOtap" : {
54
- "type" : "boolean"
53
+ "metaCaseToOtap": {
54
+ "type": "boolean"
55
55
  },
56
- "ourProductId" : {
57
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
56
+ "ourProductId": {
57
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
58
58
  },
59
- "value" : {
60
- "type" : "string"
59
+ "value": {
60
+ "type": "string"
61
61
  }
62
62
  },
63
- "required" : [ "_type", "_uid" ],
64
- "title" : "picklistItem",
65
- "type" : "object"
66
- }
63
+ "required": [
64
+ "_type",
65
+ "_uid",
66
+ "label"
67
+ ],
68
+ "title": "picklistItem",
69
+ "type": "object",
70
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/picklistItem.json."
71
+ }
@@ -131,6 +131,15 @@
131
131
  "attributeDefaultValue": {
132
132
  "baseline": "MAY",
133
133
  "enabledWhen": [
134
+ {
135
+ "op": "cmp",
136
+ "field": "attributeDefaultValue",
137
+ "fieldName": "Default attribute value",
138
+ "operator": "!==",
139
+ "value": "",
140
+ "valueIsField": false,
141
+ "isEmpty": true
142
+ },
134
143
  {
135
144
  "op": "cmp",
136
145
  "field": "type",
@@ -151,6 +160,32 @@
151
160
  }
152
161
  ],
153
162
  "messageWhen": [
163
+ {
164
+ "when": {
165
+ "op": "and",
166
+ "items": [
167
+ {
168
+ "op": "cmp",
169
+ "field": "attributeDefaultValue",
170
+ "fieldName": "Default attribute value",
171
+ "operator": "==",
172
+ "value": "",
173
+ "valueIsField": false,
174
+ "isEmpty": true
175
+ },
176
+ {
177
+ "op": "cmp",
178
+ "field": "type",
179
+ "fieldName": "Type platform attribute",
180
+ "operator": "==",
181
+ "value": "boolean",
182
+ "valueIsField": false,
183
+ "isEmpty": false
184
+ }
185
+ ]
186
+ },
187
+ "message": "Default is NULL"
188
+ },
154
189
  {
155
190
  "when": {
156
191
  "op": "cmp",
@@ -167,9 +167,6 @@
167
167
  }
168
168
  ]
169
169
  },
170
- "leftFieldStaticItem": {
171
- "baseline": "MUST_NOT"
172
- },
173
170
  "leftFieldType": {
174
171
  "baseline": "MAY",
175
172
  "optionsWhen": [
@@ -257,6 +254,9 @@
257
254
  }
258
255
  ]
259
256
  },
257
+ "leftTriggerPointer": {
258
+ "baseline": "MUST_NOT"
259
+ },
260
260
  "leftValue": {
261
261
  "baseline": "MAY",
262
262
  "requiredWhen": [
@@ -392,20 +392,6 @@
392
392
  }
393
393
  ]
394
394
  },
395
- "parentCondition": {
396
- "baseline": "MUST_NOT",
397
- "enabledWhen": [
398
- {
399
- "op": "cmp",
400
- "field": "parentCondition",
401
- "fieldName": "Parent condition",
402
- "operator": "==",
403
- "value": "",
404
- "valueIsField": false,
405
- "isEmpty": true
406
- }
407
- ]
408
- },
409
395
  "rightField": {
410
396
  "baseline": "MAY",
411
397
  "requiredWhen": [
@@ -635,6 +621,9 @@
635
621
  }
636
622
  ]
637
623
  },
624
+ "rightTriggerPointer": {
625
+ "baseline": "MUST_NOT"
626
+ },
638
627
  "rightValue": {
639
628
  "baseline": "MAY",
640
629
  "requiredWhen": [
@@ -193,11 +193,6 @@
193
193
  "title": "simpleCondition",
194
194
  "type": "object",
195
195
  "allOf": [
196
- {
197
- "properties": {
198
- "leftFieldStaticItem": false
199
- }
200
- },
201
196
  {
202
197
  "if": {
203
198
  "anyOf": [
@@ -281,6 +281,18 @@
281
281
  }
282
282
  ]
283
283
  },
284
+ "additionalIn": {
285
+ "baseline": "MUST_NOT"
286
+ },
287
+ "additionalOut": {
288
+ "baseline": "MUST_NOT"
289
+ },
290
+ "additionalSubmit": {
291
+ "baseline": "MUST_NOT"
292
+ },
293
+ "additionalExecute": {
294
+ "baseline": "MUST_NOT"
295
+ },
284
296
  "progressTemplate": {
285
297
  "baseline": "MUST_NOT",
286
298
  "enabledWhen": [
@@ -130,6 +130,9 @@
130
130
  }
131
131
  ]
132
132
  },
133
+ "widgetAgentTranscriptionEnabled": {
134
+ "baseline": "MUST_NOT"
135
+ },
133
136
  "caseAttribute": {
134
137
  "baseline": "MUST_NOT",
135
138
  "enabledWhen": [
@@ -635,6 +638,12 @@
635
638
  }
636
639
  ]
637
640
  },
641
+ "options": {
642
+ "baseline": "MUST_NOT"
643
+ },
644
+ "subWidgetParentWidget": {
645
+ "baseline": "MUST_NOT"
646
+ },
638
647
  "preSelectedCase": {
639
648
  "baseline": "MUST_NOT",
640
649
  "enabledWhen": [
@@ -718,6 +727,9 @@
718
727
  }
719
728
  ]
720
729
  },
730
+ "selectionTemplateInline": {
731
+ "baseline": "MUST_NOT"
732
+ },
721
733
  "activity": {
722
734
  "baseline": "MUST_NOT",
723
735
  "enabledWhen": [
@@ -894,6 +906,9 @@
894
906
  }
895
907
  ]
896
908
  },
909
+ "isLinkedToPlatformWidget": {
910
+ "baseline": "MUST_NOT"
911
+ },
897
912
  "pluginOptions": {
898
913
  "baseline": "MAY",
899
914
  "enabledWhen": [
@@ -1143,6 +1158,9 @@
1143
1158
  }
1144
1159
  ]
1145
1160
  },
1161
+ "templateOnEmptyInline": {
1162
+ "baseline": "MUST_NOT"
1163
+ },
1146
1164
  "widgetType": {
1147
1165
  "baseline": "MUST_NOT",
1148
1166
  "requiredWhen": [