@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,99 +1,80 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/gridActivity.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/gridActivity.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": "gridActivity"
27
+ "_type" : {
28
+ "const" : "gridActivity"
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
- "activity": {
36
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
35
+ "activity" : {
36
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
37
37
  },
38
- "breaker": {
39
- "type": "boolean"
38
+ "breaker" : {
39
+ "type" : "boolean"
40
40
  },
41
- "checkRights": {
42
- "enum": [
43
- "checkOnce",
44
- "inlineAll"
45
- ],
46
- "type": "string"
41
+ "checkRights" : {
42
+ "enum" : [ "checkOnce", "inlineAll" ],
43
+ "type" : "string"
47
44
  },
48
- "description": {
49
- "$ref": "template/inlineTemplate.schema.json"
45
+ "description" : {
46
+ "$ref" : "template/inlineTemplate.schema.json"
50
47
  },
51
- "icon": {
52
- "type": "string"
48
+ "icon" : {
49
+ "type" : "string"
53
50
  },
54
- "inactive": {
55
- "type": "boolean"
51
+ "inactive" : {
52
+ "type" : "boolean"
56
53
  },
57
- "interfaceStudioProduct": {
58
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
54
+ "interfaceStudioProduct" : {
55
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
59
56
  },
60
- "metaCaseToOtap": {
61
- "type": "boolean"
57
+ "metaCaseToOtap" : {
58
+ "type" : "boolean"
62
59
  },
63
- "ourProductId": {
64
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
60
+ "ourProductId" : {
61
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
65
62
  },
66
- "title": {
67
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
63
+ "title" : {
64
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
68
65
  },
69
- "type": {
70
- "enum": [
71
- "single",
72
- "multi",
73
- "multiForm",
74
- "standalone",
75
- "quickStandalone",
76
- "quickSingle",
77
- "singleInline",
78
- "quickInline",
79
- "inlineAdd",
80
- "inlineEdit"
81
- ],
82
- "type": "string"
66
+ "type" : {
67
+ "enum" : [ "single", "multi", "multiForm", "standalone", "quickStandalone", "quickSingle", "singleInline", "quickInline", "inlineAdd", "inlineEdit" ],
68
+ "type" : "string"
83
69
  },
84
- "useActivityTitle": {
85
- "type": "boolean"
70
+ "useActivityTitle" : {
71
+ "type" : "boolean"
86
72
  },
87
- "whenDoneRefreshType": {
88
- "type": "string"
73
+ "whenDoneRefreshType" : {
74
+ "type" : "string"
89
75
  }
90
76
  },
91
- "required": [
92
- "_type",
93
- "_uid",
94
- "widget"
95
- ],
96
- "title": "gridActivity",
97
- "type": "object",
98
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/gridActivity.json."
99
- }
77
+ "required" : [ "_type", "_uid" ],
78
+ "title" : "gridActivity",
79
+ "type" : "object"
80
+ }
@@ -1,148 +1,111 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/gridColumn.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/gridColumn.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"
20
- },
21
- "_origin": {
22
- "type": "string"
23
- },
24
- "_src": {
25
- "type": "string"
26
- },
27
- "_type": {
28
- "const": "gridColumn"
29
- },
30
- "_uid": {
31
- "description": "Deterministic UUID derived from case-ID.",
32
- "format": "uuid",
33
- "type": "string"
34
- },
35
- "aggregationOperation": {
36
- "enum": [
37
- "count",
38
- "average",
39
- "min",
40
- "max",
41
- "sum",
42
- "static"
43
- ],
44
- "type": "string"
45
- },
46
- "aggregationStatic": {
47
- "$ref": "template/inlineTemplate.schema.json"
48
- },
49
- "clickHandler": {
50
- "enum": [
51
- "none",
52
- "caseRedirectHandler",
53
- "activityHandler",
54
- "showSubmittedValues"
55
- ],
56
- "type": "string"
57
- },
58
- "clickHandlerColumnCase": {
59
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
60
- },
61
- "column": {
62
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
63
- },
64
- "description": {
65
- "$ref": "template/inlineTemplate.schema.json"
66
- },
67
- "hidden": {
68
- "type": "boolean"
69
- },
70
- "hideable": {
71
- "type": "boolean"
72
- },
73
- "inactive": {
74
- "type": "boolean"
75
- },
76
- "interfaceStudioProduct": {
77
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
78
- },
79
- "metaCaseToOtap": {
80
- "type": "boolean"
81
- },
82
- "ourProductId": {
83
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
84
- },
85
- "render": {
86
- "enum": [
87
- "default",
88
- "caseid",
89
- "pageid",
90
- "bold",
91
- "json",
92
- "escapeHtml",
93
- "dateonly",
94
- "timeonly",
95
- "withseconds",
96
- "shortdatetime",
97
- "shortdateonly",
98
- "shortdatetimebrowserlocale",
99
- "shortdateonlybrowserlocale",
100
- "relativetime",
101
- "calendartime",
102
- "raw",
103
- "picklistLabel",
104
- "picklistLabelLink",
105
- "utcdatetime"
106
- ],
107
- "type": "string"
108
- },
109
- "resizable": {
110
- "type": "boolean"
111
- },
112
- "searchable": {
113
- "type": "boolean"
114
- },
115
- "sizeGridMinWidth": {
116
- "type": "integer"
117
- },
118
- "sizeMax": {
119
- "type": "integer"
120
- },
121
- "sizeMin": {
122
- "type": "integer"
123
- },
124
- "sizeSize": {
125
- "type": "number"
126
- },
127
- "sortable": {
128
- "type": "boolean"
129
- },
130
- "title": {
131
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
132
- },
133
- "valueAsRowClass": {
134
- "type": "boolean"
135
- },
136
- "wordwrap": {
137
- "type": "boolean"
19
+ "type" : "array"
20
+ },
21
+ "_origin" : {
22
+ "type" : "string"
23
+ },
24
+ "_src" : {
25
+ "type" : "string"
26
+ },
27
+ "_type" : {
28
+ "const" : "gridColumn"
29
+ },
30
+ "_uid" : {
31
+ "description" : "Deterministic UUID derived from case-ID.",
32
+ "format" : "uuid",
33
+ "type" : "string"
34
+ },
35
+ "aggregationOperation" : {
36
+ "enum" : [ "count", "average", "min", "max", "sum", "static" ],
37
+ "type" : "string"
38
+ },
39
+ "aggregationStatic" : {
40
+ "$ref" : "template/inlineTemplate.schema.json"
41
+ },
42
+ "clickHandler" : {
43
+ "enum" : [ "none", "caseRedirectHandler", "activityHandler", "showSubmittedValues" ],
44
+ "type" : "string"
45
+ },
46
+ "clickHandlerColumnCase" : {
47
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
48
+ },
49
+ "column" : {
50
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
51
+ },
52
+ "description" : {
53
+ "$ref" : "template/inlineTemplate.schema.json"
54
+ },
55
+ "hidden" : {
56
+ "type" : "boolean"
57
+ },
58
+ "hideable" : {
59
+ "type" : "boolean"
60
+ },
61
+ "inactive" : {
62
+ "type" : "boolean"
63
+ },
64
+ "interfaceStudioProduct" : {
65
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
66
+ },
67
+ "metaCaseToOtap" : {
68
+ "type" : "boolean"
69
+ },
70
+ "ourProductId" : {
71
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
72
+ },
73
+ "render" : {
74
+ "enum" : [ "default", "caseid", "pageid", "bold", "json", "escapeHtml", "dateonly", "timeonly", "withseconds", "shortdatetime", "shortdateonly", "shortdatetimebrowserlocale", "shortdateonlybrowserlocale", "relativetime", "calendartime", "raw", "picklistLabel", "picklistLabelLink", "utcdatetime" ],
75
+ "type" : "string"
76
+ },
77
+ "resizable" : {
78
+ "type" : "boolean"
79
+ },
80
+ "searchable" : {
81
+ "type" : "boolean"
82
+ },
83
+ "sizeGridMinWidth" : {
84
+ "type" : "integer"
85
+ },
86
+ "sizeMax" : {
87
+ "type" : "integer"
88
+ },
89
+ "sizeMin" : {
90
+ "type" : "integer"
91
+ },
92
+ "sizeSize" : {
93
+ "type" : "number"
94
+ },
95
+ "sortable" : {
96
+ "type" : "boolean"
97
+ },
98
+ "title" : {
99
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
100
+ },
101
+ "valueAsRowClass" : {
102
+ "type" : "boolean"
103
+ },
104
+ "wordwrap" : {
105
+ "type" : "boolean"
138
106
  }
139
107
  },
140
- "required": [
141
- "_type",
142
- "_uid",
143
- "widget"
144
- ],
145
- "title": "gridColumn",
146
- "type": "object",
147
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/gridColumn.json."
148
- }
108
+ "required" : [ "_type", "_uid" ],
109
+ "title" : "gridColumn",
110
+ "type" : "object"
111
+ }
@@ -79,21 +79,11 @@
79
79
  "title": "ifthenelse",
80
80
  "type": "object",
81
81
  "allOf": [
82
- {
83
- "properties": {
84
- "caseSummary": false
85
- }
86
- },
87
82
  {
88
83
  "properties": {
89
84
  "hasValidConfiguration": false
90
85
  }
91
86
  },
92
- {
93
- "properties": {
94
- "parentRule": false
95
- }
96
- },
97
87
  {
98
88
  "properties": {
99
89
  "wasEverFullyConfigured": false
@@ -70,12 +70,5 @@
70
70
  ],
71
71
  "title": "indirectRole",
72
72
  "type": "object",
73
- "allOf": [
74
- {
75
- "properties": {
76
- "devParentCase": false
77
- }
78
- }
79
- ],
80
73
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/indirectRole.json."
81
74
  }
@@ -1,80 +1,63 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/jobStep.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/jobStep.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": "jobStep"
27
+ "_type" : {
28
+ "const" : "jobStep"
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
- "activity": {
36
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
35
+ "activity" : {
36
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
37
37
  },
38
- "description": {
39
- "$ref": "template/inlineTemplate.schema.json"
38
+ "description" : {
39
+ "$ref" : "template/inlineTemplate.schema.json"
40
40
  },
41
- "executeCasetype": {
42
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
41
+ "executeCasetype" : {
42
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
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
- "metaCaseToOtap": {
51
- "type": "boolean"
50
+ "metaCaseToOtap" : {
51
+ "type" : "boolean"
52
52
  },
53
- "name": {
54
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
53
+ "name" : {
54
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
55
55
  },
56
- "ourProductId": {
57
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
56
+ "ourProductId" : {
57
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
58
58
  }
59
59
  },
60
- "required": [
61
- "_type",
62
- "_uid",
63
- "activity"
64
- ],
65
- "title": "jobStep",
66
- "type": "object",
67
- "allOf": [
68
- {
69
- "properties": {
70
- "nextStepSucces": false
71
- }
72
- },
73
- {
74
- "properties": {
75
- "nextStepFaillure": false
76
- }
77
- }
78
- ],
79
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/jobStep.json."
80
- }
60
+ "required" : [ "_type", "_uid" ],
61
+ "title" : "jobStep",
62
+ "type" : "object"
63
+ }