@grexx/grexxlinter 0.2.326 → 0.2.348

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 (60) hide show
  1. package/cli.js +186 -9
  2. package/lsp.js +122 -5
  3. package/package.json +1 -1
  4. package/schemas/.coverage.json +75 -714
  5. package/schemas/activity.schema.json +0 -19
  6. package/schemas/activityAttribute.schema.json +0 -17
  7. package/schemas/activityRight.schema.json +2 -8
  8. package/schemas/attribute.schema.json +2 -17
  9. package/schemas/casetype.schema.json +0 -1
  10. package/schemas/catchBlock.schema.json +12 -5
  11. package/schemas/conditionList.schema.json +69 -50
  12. package/schemas/container.schema.json +57 -74
  13. package/schemas/customThrow.schema.json +11 -3
  14. package/schemas/dataset.schema.json +0 -52
  15. package/schemas/datasetColumn.schema.json +0 -114
  16. package/schemas/datasetCondition.schema.json +0 -77
  17. package/schemas/datasetRight.schema.json +0 -2
  18. package/schemas/directRole.schema.json +0 -7
  19. package/schemas/folderInfo.schema.json +45 -0
  20. package/schemas/forEach.schema.json +42 -27
  21. package/schemas/formAction.schema.json +1 -17
  22. package/schemas/formActionInlineJavascript.schema.json +49 -54
  23. package/schemas/formGroup.schema.json +71 -82
  24. package/schemas/formRight.schema.json +0 -2
  25. package/schemas/formfield.schema.json +0 -40
  26. package/schemas/gridActivity.schema.json +59 -78
  27. package/schemas/gridColumn.schema.json +107 -144
  28. package/schemas/ifthenelse.schema.json +0 -10
  29. package/schemas/indirectRole.schema.json +0 -7
  30. package/schemas/jobStep.schema.json +47 -64
  31. package/schemas/mapping.schema.json +33 -43
  32. package/schemas/menuItem.schema.json +43 -56
  33. package/schemas/menuItemRight.schema.json +45 -71
  34. package/schemas/metadata.schema.json +3 -18
  35. package/schemas/notCondition.schema.json +45 -66
  36. package/schemas/parallelBlock.schema.json +55 -60
  37. package/schemas/picklist.schema.json +1 -2
  38. package/schemas/picklistItem.schema.json +49 -55
  39. package/schemas/platformAttribute.schema.json +0 -22
  40. package/schemas/platformRole.schema.json +0 -11
  41. package/schemas/plugin.schema.json +71 -77
  42. package/schemas/pluginLibrary.schema.json +0 -2
  43. package/schemas/requestContext.schema.json +10 -0
  44. package/schemas/securityProfile.schema.json +53 -47
  45. package/schemas/securityRequirement.schema.json +52 -47
  46. package/schemas/simpleCondition.schema.json +0 -10
  47. package/schemas/template/date-function.schema.json +1 -0
  48. package/schemas/template/html.schema.json +1 -0
  49. package/schemas/template/if.schema.json +1 -0
  50. package/schemas/template/iterator.schema.json +1 -0
  51. package/schemas/template/multivalue.schema.json +1 -0
  52. package/schemas/template/picklist.schema.json +1 -0
  53. package/schemas/template/util.schema.json +4 -0
  54. package/schemas/template.schema.json +1 -2
  55. package/schemas/trigger.schema.json +131 -68
  56. package/schemas/tryBlock.schema.json +12 -5
  57. package/schemas/view.schema.json +0 -17
  58. package/schemas/while.schema.json +23 -43
  59. package/schemas/widget.schema.json +0 -463
  60. package/schemas/widgetRight.schema.json +1 -2
@@ -1,80 +1,75 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/parallelBlock.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/parallelBlock.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": "parallelBlock"
27
+ "_type" : {
28
+ "const" : "parallelBlock"
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
- "inactive": {
39
- "type": "boolean"
38
+ "inactive" : {
39
+ "type" : "boolean"
40
40
  },
41
- "interfaceStudioProduct": {
42
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
41
+ "interfaceStudioProduct" : {
42
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
43
43
  },
44
- "metaCaseToOtap": {
45
- "type": "boolean"
44
+ "metaCaseToOtap" : {
45
+ "type" : "boolean"
46
46
  },
47
- "name": {
48
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
47
+ "name" : {
48
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
49
49
  },
50
- "ourProductId": {
51
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
50
+ "ourProductId" : {
51
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
52
52
  },
53
- "parallelRules": {
54
- "items": {
55
- "$ref": "ruleList.schema.json"
53
+ "parallelRules" : {
54
+ "items" : {
55
+ "$ref" : "ruleList.schema.json"
56
56
  },
57
- "type": "array"
57
+ "type" : "array"
58
58
  },
59
- "progressTemplate": {
60
- "$ref": "template/inlineTemplate.schema.json"
59
+ "progressTemplate" : {
60
+ "$ref" : "template/inlineTemplate.schema.json"
61
61
  },
62
- "progressTitle": {
63
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
62
+ "progressTitle" : {
63
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
64
64
  },
65
- "showProgress": {
66
- "type": "boolean"
65
+ "showProgress" : {
66
+ "type" : "boolean"
67
67
  },
68
- "timeOutSeconds": {
69
- "type": "integer"
68
+ "timeOutSeconds" : {
69
+ "type" : "integer"
70
70
  }
71
71
  },
72
- "required": [
73
- "_type",
74
- "_uid",
75
- "root"
76
- ],
77
- "title": "parallelBlock",
78
- "type": "object",
79
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/parallelBlock.json."
80
- }
72
+ "required" : [ "_type", "_uid" ],
73
+ "title" : "parallelBlock",
74
+ "type" : "object"
75
+ }
@@ -105,8 +105,7 @@
105
105
  "required": [
106
106
  "_type",
107
107
  "_uid",
108
- "name",
109
- "StoreproductId"
108
+ "name"
110
109
  ],
111
110
  "title": "picklist",
112
111
  "type": "object",
@@ -1,72 +1,66 @@
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": [
64
- "_type",
65
- "_uid",
66
- "StoreproductId",
67
- "StoreproductLatestVersionId"
68
- ],
69
- "title": "picklistItem",
70
- "type": "object",
71
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/picklistItem.json."
72
- }
63
+ "required" : [ "_type", "_uid" ],
64
+ "title" : "picklistItem",
65
+ "type" : "object"
66
+ }
@@ -305,11 +305,6 @@
305
305
  }
306
306
  }
307
307
  },
308
- {
309
- "properties": {
310
- "validation": false
311
- }
312
- },
313
308
  {
314
309
  "if": {
315
310
  "properties": {
@@ -343,23 +338,6 @@
343
338
  "currency"
344
339
  ]
345
340
  }
346
- },
347
- {
348
- "if": {
349
- "properties": {
350
- "type": {
351
- "const": "case"
352
- }
353
- },
354
- "required": [
355
- "type"
356
- ]
357
- },
358
- "then": {
359
- "required": [
360
- "subtype"
361
- ]
362
- }
363
341
  }
364
342
  ],
365
343
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/platformAttribute.json."
@@ -124,22 +124,11 @@
124
124
  "required": [
125
125
  "_type",
126
126
  "_uid",
127
- "roleName",
128
127
  "platformRoleType"
129
128
  ],
130
129
  "title": "platformRole",
131
130
  "type": "object",
132
131
  "allOf": [
133
- {
134
- "properties": {
135
- "aiAgents": false
136
- }
137
- },
138
- {
139
- "properties": {
140
- "devParentCase": false
141
- }
142
- },
143
132
  {
144
133
  "if": {
145
134
  "properties": {
@@ -1,105 +1,99 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/plugin.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/plugin.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": "plugin"
27
+ "_type" : {
28
+ "const" : "plugin"
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
- "datasets": {
36
- "items": {
37
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
35
+ "datasets" : {
36
+ "items" : {
37
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
38
38
  },
39
- "type": "array"
39
+ "type" : "array"
40
40
  },
41
- "definitionHTML": {
42
- "type": "string"
41
+ "definitionHTML" : {
42
+ "type" : "string"
43
43
  },
44
- "definitionJavascript": {
45
- "type": "string"
44
+ "definitionJavascript" : {
45
+ "type" : "string"
46
46
  },
47
- "definitionStylesheet": {
48
- "type": "string"
47
+ "definitionStylesheet" : {
48
+ "type" : "string"
49
49
  },
50
- "description": {
51
- "$ref": "template/inlineTemplate.schema.json"
50
+ "description" : {
51
+ "$ref" : "template/inlineTemplate.schema.json"
52
52
  },
53
- "enabled": {
54
- "type": "boolean"
53
+ "enabled" : {
54
+ "type" : "boolean"
55
55
  },
56
- "forms": {
57
- "items": {
58
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
56
+ "forms" : {
57
+ "items" : {
58
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
59
59
  },
60
- "type": "array"
60
+ "type" : "array"
61
61
  },
62
- "inactive": {
63
- "type": "boolean"
62
+ "inactive" : {
63
+ "type" : "boolean"
64
64
  },
65
- "interfaceStudioProduct": {
66
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
65
+ "interfaceStudioProduct" : {
66
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
67
67
  },
68
- "metaCaseToOtap": {
69
- "type": "boolean"
68
+ "metaCaseToOtap" : {
69
+ "type" : "boolean"
70
70
  },
71
- "name": {
72
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
71
+ "name" : {
72
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
73
73
  },
74
- "ourProductId": {
75
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
74
+ "ourProductId" : {
75
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
76
76
  },
77
- "pluginLibrary": {
78
- "items": {
79
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
77
+ "pluginLibrary" : {
78
+ "items" : {
79
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
80
80
  },
81
- "type": "array"
81
+ "type" : "array"
82
82
  },
83
- "type": {
84
- "type": "string"
83
+ "type" : {
84
+ "type" : "string"
85
85
  },
86
- "version": {
87
- "type": "string"
86
+ "version" : {
87
+ "type" : "string"
88
88
  },
89
- "views": {
90
- "items": {
91
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
89
+ "views" : {
90
+ "items" : {
91
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
92
92
  },
93
- "type": "array"
93
+ "type" : "array"
94
94
  }
95
95
  },
96
- "required": [
97
- "_type",
98
- "_uid",
99
- "StoreproductId",
100
- "StoreproductLatestVersionId"
101
- ],
102
- "title": "plugin",
103
- "type": "object",
104
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/plugin.json."
105
- }
96
+ "required" : [ "_type", "_uid" ],
97
+ "title" : "plugin",
98
+ "type" : "object"
99
+ }
@@ -70,8 +70,6 @@
70
70
  "_type",
71
71
  "_uid",
72
72
  "name",
73
- "StoreproductId",
74
- "StoreproductLatestVersionId",
75
73
  "version"
76
74
  ],
77
75
  "title": "pluginLibrary",
@@ -92,6 +92,11 @@
92
92
  "title": "requestContext",
93
93
  "type": "object",
94
94
  "allOf": [
95
+ {
96
+ "properties": {
97
+ "hasValidConfiguration": false
98
+ }
99
+ },
95
100
  {
96
101
  "if": {
97
102
  "anyOf": [
@@ -144,6 +149,11 @@
144
149
  }
145
150
  }
146
151
  },
152
+ {
153
+ "properties": {
154
+ "wasEverFullyConfigured": false
155
+ }
156
+ },
147
157
  {
148
158
  "if": {
149
159
  "properties": {
@@ -1,63 +1,69 @@
1
1
  {
2
- "$id" : "https://grexx.net/studio-next/schemas/securityProfile.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/securityProfile.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" : "securityProfile"
27
+ "_type": {
28
+ "const": "securityProfile"
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
- "inactive" : {
39
- "type" : "boolean"
38
+ "inactive": {
39
+ "type": "boolean"
40
40
  },
41
- "interfaceStudioProduct" : {
42
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
41
+ "interfaceStudioProduct": {
42
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
43
43
  },
44
- "metaCaseToOtap" : {
45
- "type" : "boolean"
44
+ "metaCaseToOtap": {
45
+ "type": "boolean"
46
46
  },
47
- "name" : {
48
- "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
47
+ "name": {
48
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
49
49
  },
50
- "ourProductId" : {
51
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
50
+ "ourProductId": {
51
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
52
52
  },
53
- "securityRequirements" : {
54
- "items" : {
55
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
53
+ "securityRequirements": {
54
+ "items": {
55
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
56
56
  },
57
- "type" : "array"
57
+ "type": "array"
58
58
  }
59
59
  },
60
- "required" : [ "_type", "_uid" ],
61
- "title" : "securityProfile",
62
- "type" : "object"
63
- }
60
+ "required": [
61
+ "_type",
62
+ "_uid",
63
+ "name",
64
+ "securityRequirements"
65
+ ],
66
+ "title": "securityProfile",
67
+ "type": "object",
68
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/securityProfile.json."
69
+ }