@grexx/grexxlinter 0.2.343 → 0.2.350

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.
@@ -322,24 +322,6 @@
322
322
  }
323
323
  }
324
324
  },
325
- {
326
- "if": {
327
- "properties": {
328
- "type": {
329
- "const": "casetype"
330
- }
331
- },
332
- "required": [
333
- "type"
334
- ]
335
- },
336
- "then": {},
337
- "else": {
338
- "properties": {
339
- "newCaseAlternativeStartActivity": false
340
- }
341
- }
342
- },
343
325
  {
344
326
  "if": {
345
327
  "anyOf": [
@@ -111,23 +111,6 @@
111
111
  "properties": {
112
112
  "allowHTML": false
113
113
  }
114
- },
115
- {
116
- "if": {
117
- "properties": {
118
- "type": {
119
- "const": "case"
120
- }
121
- },
122
- "required": [
123
- "type"
124
- ]
125
- },
126
- "then": {
127
- "required": [
128
- "subtype"
129
- ]
130
- }
131
114
  }
132
115
  ],
133
116
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/activityAttribute.json."
@@ -231,36 +231,11 @@
231
231
  "calculatedTemplate": false
232
232
  }
233
233
  },
234
- {
235
- "properties": {
236
- "addActivity": false
237
- }
238
- },
239
- {
240
- "properties": {
241
- "currency": false
242
- }
243
- },
244
- {
245
- "properties": {
246
- "attributeDefaultValue": false
247
- }
248
- },
249
234
  {
250
235
  "properties": {
251
236
  "linkToPlatform": false
252
237
  }
253
238
  },
254
- {
255
- "properties": {
256
- "addActivityBase": false
257
- }
258
- },
259
- {
260
- "properties": {
261
- "picklistBase": false
262
- }
263
- },
264
239
  {
265
240
  "if": {
266
241
  "properties": {
@@ -91,9 +91,17 @@
91
91
  ]
92
92
  },
93
93
  "then": {
94
- "required": [
95
- "progressTemplate",
96
- "progressTitle"
94
+ "anyOf": [
95
+ {
96
+ "required": [
97
+ "progressTitle"
98
+ ]
99
+ },
100
+ {
101
+ "required": [
102
+ "progressTemplate"
103
+ ]
104
+ }
97
105
  ]
98
106
  }
99
107
  }
@@ -1,88 +1,77 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/container.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/container.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": "container"
27
+ "_type" : {
28
+ "const" : "container"
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
- "description": {
36
- "$ref": "template/inlineTemplate.schema.json"
35
+ "description" : {
36
+ "$ref" : "template/inlineTemplate.schema.json"
37
37
  },
38
- "hide": {
39
- "type": "boolean"
38
+ "hide" : {
39
+ "type" : "boolean"
40
40
  },
41
- "inactive": {
42
- "type": "boolean"
41
+ "inactive" : {
42
+ "type" : "boolean"
43
43
  },
44
- "interfaceStudioProduct": {
45
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
44
+ "interfaceStudioProduct" : {
45
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
46
46
  },
47
- "metaCaseToOtap": {
48
- "type": "boolean"
47
+ "metaCaseToOtap" : {
48
+ "type" : "boolean"
49
49
  },
50
- "name": {
51
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
50
+ "name" : {
51
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
52
52
  },
53
- "options": {
54
- "additionalProperties": true,
55
- "type": "object"
53
+ "options" : {
54
+ "additionalProperties" : true,
55
+ "type" : "object"
56
56
  },
57
- "ourProductId": {
58
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
57
+ "ourProductId" : {
58
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
59
59
  },
60
- "position": {
61
- "additionalProperties": true,
62
- "type": "object"
60
+ "position" : {
61
+ "additionalProperties" : true,
62
+ "type" : "object"
63
63
  },
64
- "showSingleTab": {
65
- "type": "boolean"
64
+ "showSingleTab" : {
65
+ "type" : "boolean"
66
66
  },
67
- "widgets": {
68
- "items": {
69
- "$ref": "widget.schema.json"
67
+ "widgets" : {
68
+ "items" : {
69
+ "$ref" : "widget.schema.json"
70
70
  },
71
- "type": "array"
71
+ "type" : "array"
72
72
  }
73
73
  },
74
- "required": [
75
- "_type",
76
- "_uid"
77
- ],
78
- "title": "container",
79
- "type": "object",
80
- "allOf": [
81
- {
82
- "properties": {
83
- "showSingleTab": false
84
- }
85
- }
86
- ],
87
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/container.json."
88
- }
74
+ "required" : [ "_type", "_uid" ],
75
+ "title" : "container",
76
+ "type" : "object"
77
+ }
@@ -90,9 +90,17 @@
90
90
  ]
91
91
  },
92
92
  "then": {
93
- "required": [
94
- "progressTemplate",
95
- "progressTitle"
93
+ "anyOf": [
94
+ {
95
+ "required": [
96
+ "progressTemplate"
97
+ ]
98
+ },
99
+ {
100
+ "required": [
101
+ "progressTitle"
102
+ ]
103
+ }
96
104
  ]
97
105
  }
98
106
  }
@@ -320,58 +320,6 @@
320
320
  }
321
321
  }
322
322
  },
323
- {
324
- "if": {
325
- "anyOf": [
326
- {
327
- "properties": {
328
- "type": {
329
- "const": "aggregation"
330
- }
331
- },
332
- "required": [
333
- "type"
334
- ]
335
- },
336
- {
337
- "properties": {
338
- "type": {
339
- "const": "filter"
340
- }
341
- },
342
- "required": [
343
- "type"
344
- ]
345
- },
346
- {
347
- "properties": {
348
- "type": {
349
- "const": "aggregation"
350
- }
351
- },
352
- "required": [
353
- "type"
354
- ]
355
- },
356
- {
357
- "properties": {
358
- "type": {
359
- "const": "filter"
360
- }
361
- },
362
- "required": [
363
- "type"
364
- ]
365
- }
366
- ]
367
- },
368
- "then": {},
369
- "else": {
370
- "properties": {
371
- "parentDataset": false
372
- }
373
- }
374
- },
375
323
  {
376
324
  "if": {
377
325
  "anyOf": [
@@ -106,46 +106,14 @@
106
106
  "title": "datasetColumn",
107
107
  "type": "object",
108
108
  "allOf": [
109
- {
110
- "if": {
111
- "anyOf": [
112
- {
113
- "properties": {
114
- "fieldType": {
115
- "const": "platformAttribute"
116
- }
117
- },
118
- "required": [
119
- "fieldType"
120
- ]
121
- },
122
- {
123
- "properties": {
124
- "fieldType": {
125
- "const": "platformAttribute"
126
- }
127
- },
128
- "required": [
129
- "fieldType"
130
- ]
131
- }
132
- ]
133
- },
134
- "then": {},
135
- "else": {
136
- "properties": {
137
- "attribute": false
138
- }
139
- }
140
- },
141
109
  {
142
110
  "properties": {
143
- "multivalueType": false
111
+ "columnType": false
144
112
  }
145
113
  },
146
114
  {
147
115
  "properties": {
148
- "sortOrder": false
116
+ "hasValidConfiguration": false
149
117
  }
150
118
  },
151
119
  {
@@ -214,79 +182,7 @@
214
182
  },
215
183
  {
216
184
  "properties": {
217
- "name": false
218
- }
219
- },
220
- {
221
- "if": {
222
- "anyOf": [
223
- {
224
- "properties": {
225
- "fieldType": {
226
- "const": "activityMetadata"
227
- }
228
- },
229
- "required": [
230
- "fieldType"
231
- ]
232
- },
233
- {
234
- "properties": {
235
- "fieldType": {
236
- "const": "taskMetaData"
237
- }
238
- },
239
- "required": [
240
- "fieldType"
241
- ]
242
- },
243
- {
244
- "properties": {
245
- "fieldType": {
246
- "const": "taskqueueMetaData"
247
- }
248
- },
249
- "required": [
250
- "fieldType"
251
- ]
252
- },
253
- {
254
- "properties": {
255
- "fieldType": {
256
- "const": "activityMetadata"
257
- }
258
- },
259
- "required": [
260
- "fieldType"
261
- ]
262
- },
263
- {
264
- "properties": {
265
- "fieldType": {
266
- "const": "taskMetaData"
267
- }
268
- },
269
- "required": [
270
- "fieldType"
271
- ]
272
- },
273
- {
274
- "properties": {
275
- "fieldType": {
276
- "const": "taskqueueMetaData"
277
- }
278
- },
279
- "required": [
280
- "fieldType"
281
- ]
282
- }
283
- ]
284
- },
285
- "then": {},
286
- "else": {
287
- "properties": {
288
- "field": false
289
- }
185
+ "wasEverFullyConfigured": false
290
186
  }
291
187
  },
292
188
  {
@@ -156,78 +156,6 @@
156
156
  "title": "datasetCondition",
157
157
  "type": "object",
158
158
  "allOf": [
159
- {
160
- "if": {
161
- "anyOf": [
162
- {
163
- "properties": {
164
- "fieldType": {
165
- "const": "casedata"
166
- }
167
- },
168
- "required": [
169
- "fieldType"
170
- ]
171
- },
172
- {
173
- "properties": {
174
- "fieldType": {
175
- "const": "casemetadata"
176
- }
177
- },
178
- "required": [
179
- "fieldType"
180
- ]
181
- },
182
- {
183
- "properties": {
184
- "fieldType": {
185
- "const": "column"
186
- }
187
- },
188
- "required": [
189
- "fieldType"
190
- ]
191
- },
192
- {
193
- "properties": {
194
- "fieldType": {
195
- "const": "casedata"
196
- }
197
- },
198
- "required": [
199
- "fieldType"
200
- ]
201
- },
202
- {
203
- "properties": {
204
- "fieldType": {
205
- "const": "casemetadata"
206
- }
207
- },
208
- "required": [
209
- "fieldType"
210
- ]
211
- },
212
- {
213
- "properties": {
214
- "fieldType": {
215
- "const": "column"
216
- }
217
- },
218
- "required": [
219
- "fieldType"
220
- ]
221
- }
222
- ]
223
- },
224
- "then": {},
225
- "else": {
226
- "properties": {
227
- "field": false
228
- }
229
- }
230
- },
231
159
  {
232
160
  "if": {
233
161
  "anyOf": [
@@ -260,11 +188,6 @@
260
188
  }
261
189
  }
262
190
  },
263
- {
264
- "properties": {
265
- "leftFieldType": false
266
- }
267
- },
268
191
  {
269
192
  "if": {
270
193
  "properties": {
@@ -0,0 +1,45 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://grexx.net/studio-next/schemas/folderInfo.schema.json",
4
+ "title": "folderInfo",
5
+ "$comment": "Hand-maintained — L2 does not define folderInfo. Lives in packages/schemas/custom/ and is overlaid into extended/ by scripts/extend.mjs. Permissive on purpose (no additionalProperties:false yet); tighten as the shape is nailed down.",
6
+ "type": "object",
7
+ "properties": {
8
+ "_type": { "const": "folderInfo" },
9
+ "_id": { "type": "string" },
10
+ "_uid": { "type": "string" },
11
+ "folderName": { "type": "string" },
12
+ "folderType": { "type": "string" },
13
+ "component": { "type": "string" },
14
+ "marketPlaceProduct": { "type": "string" },
15
+ "marketPlaceAvailableProducts": {
16
+ "type": "array",
17
+ "items": { "$ref": "#/$defs/availableProduct" }
18
+ }
19
+ },
20
+ "required": ["_type"],
21
+ "$defs": {
22
+ "availableProduct": {
23
+ "type": "object",
24
+ "properties": {
25
+ "_type": { "const": "availableProduct" },
26
+ "_id": { "type": "string" },
27
+ "storeProductId": { "type": "string" },
28
+ "storeSpaceId": { "type": "string" },
29
+ "availableVersions": {
30
+ "type": "array",
31
+ "items": { "$ref": "#/$defs/availableProductVersion" }
32
+ }
33
+ }
34
+ },
35
+ "availableProductVersion": {
36
+ "type": "object",
37
+ "properties": {
38
+ "_type": { "const": "availableProductVersion" },
39
+ "_id": { "type": "string" },
40
+ "status": { "type": "string" },
41
+ "versionName": { "type": "string" }
42
+ }
43
+ }
44
+ }
45
+ }