@grexx/grexxlinter 0.2.326 → 0.2.343

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 (51) hide show
  1. package/cli.js +2 -2
  2. package/lsp.js +1 -1
  3. package/package.json +1 -1
  4. package/schemas/.coverage.json +0 -147
  5. package/schemas/activity.schema.json +0 -1
  6. package/schemas/activityRight.schema.json +2 -8
  7. package/schemas/attribute.schema.json +10 -0
  8. package/schemas/casetype.schema.json +0 -1
  9. package/schemas/catchBlock.schema.json +1 -2
  10. package/schemas/conditionList.schema.json +69 -50
  11. package/schemas/container.schema.json +1 -7
  12. package/schemas/datasetColumn.schema.json +0 -5
  13. package/schemas/datasetRight.schema.json +0 -2
  14. package/schemas/directRole.schema.json +0 -7
  15. package/schemas/forEach.schema.json +0 -5
  16. package/schemas/formAction.schema.json +1 -7
  17. package/schemas/formActionInlineJavascript.schema.json +49 -54
  18. package/schemas/formGroup.schema.json +71 -82
  19. package/schemas/formRight.schema.json +0 -2
  20. package/schemas/formfield.schema.json +0 -5
  21. package/schemas/gridActivity.schema.json +59 -78
  22. package/schemas/gridColumn.schema.json +107 -144
  23. package/schemas/ifthenelse.schema.json +0 -10
  24. package/schemas/indirectRole.schema.json +0 -7
  25. package/schemas/jobStep.schema.json +47 -64
  26. package/schemas/mapping.schema.json +1 -12
  27. package/schemas/menuItem.schema.json +0 -5
  28. package/schemas/menuItemRight.schema.json +45 -71
  29. package/schemas/metadata.schema.json +3 -1
  30. package/schemas/notCondition.schema.json +45 -66
  31. package/schemas/parallelBlock.schema.json +55 -60
  32. package/schemas/picklist.schema.json +1 -2
  33. package/schemas/picklistItem.schema.json +49 -55
  34. package/schemas/platformRole.schema.json +0 -6
  35. package/schemas/plugin.schema.json +71 -77
  36. package/schemas/pluginLibrary.schema.json +0 -2
  37. package/schemas/requestContext.schema.json +10 -0
  38. package/schemas/securityProfile.schema.json +53 -47
  39. package/schemas/securityRequirement.schema.json +52 -47
  40. package/schemas/simpleCondition.schema.json +0 -5
  41. package/schemas/template/date-function.schema.json +1 -0
  42. package/schemas/template/html.schema.json +1 -0
  43. package/schemas/template/if.schema.json +1 -0
  44. package/schemas/template/iterator.schema.json +1 -0
  45. package/schemas/template/multivalue.schema.json +1 -0
  46. package/schemas/template/picklist.schema.json +1 -0
  47. package/schemas/template/util.schema.json +4 -0
  48. package/schemas/template.schema.json +1 -2
  49. package/schemas/trigger.schema.json +0 -5
  50. package/schemas/tryBlock.schema.json +1 -2
  51. package/schemas/widgetRight.schema.json +1 -2
@@ -1,110 +1,99 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/formGroup.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/formGroup.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": "formGroup"
27
+ "_type" : {
28
+ "const" : "formGroup"
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
- "buttons": {
36
- "items": {
37
- "$ref": "formButton.schema.json"
35
+ "buttons" : {
36
+ "items" : {
37
+ "$ref" : "formButton.schema.json"
38
38
  },
39
- "type": "array"
39
+ "type" : "array"
40
40
  },
41
- "cssClass": {
42
- "items": {
43
- "type": "string"
41
+ "cssClass" : {
42
+ "items" : {
43
+ "type" : "string"
44
44
  },
45
- "type": "array"
45
+ "type" : "array"
46
46
  },
47
- "description": {
48
- "$ref": "template/inlineTemplate.schema.json"
47
+ "description" : {
48
+ "$ref" : "template/inlineTemplate.schema.json"
49
49
  },
50
- "formFields": {
51
- "items": {
52
- "$ref": "formfield.schema.json"
50
+ "formFields" : {
51
+ "items" : {
52
+ "$ref" : "formfield.schema.json"
53
53
  },
54
- "type": "array"
54
+ "type" : "array"
55
55
  },
56
- "groups": {
57
- "items": {
58
- "$ref": "formGroup.schema.json"
56
+ "groups" : {
57
+ "items" : {
58
+ "$ref" : "formGroup.schema.json"
59
59
  },
60
- "type": "array"
60
+ "type" : "array"
61
61
  },
62
- "hide": {
63
- "type": "boolean"
62
+ "hide" : {
63
+ "type" : "boolean"
64
64
  },
65
- "inactive": {
66
- "type": "boolean"
65
+ "inactive" : {
66
+ "type" : "boolean"
67
67
  },
68
- "instruction": {
69
- "$ref": "template/inlineTemplate.schema.json"
68
+ "instruction" : {
69
+ "$ref" : "template/inlineTemplate.schema.json"
70
70
  },
71
- "interfaceStudioProduct": {
72
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
71
+ "interfaceStudioProduct" : {
72
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
73
73
  },
74
- "metaCaseToOtap": {
75
- "type": "boolean"
74
+ "metaCaseToOtap" : {
75
+ "type" : "boolean"
76
76
  },
77
- "name": {
78
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
77
+ "name" : {
78
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
79
79
  },
80
- "offset": {
81
- "type": "integer"
80
+ "offset" : {
81
+ "type" : "integer"
82
82
  },
83
- "ourProductId": {
84
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
83
+ "ourProductId" : {
84
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
85
85
  },
86
- "tooltip": {
87
- "$ref": "template/inlineTemplate.schema.json"
86
+ "tooltip" : {
87
+ "$ref" : "template/inlineTemplate.schema.json"
88
88
  },
89
- "type": {
90
- "type": "string"
89
+ "type" : {
90
+ "type" : "string"
91
91
  },
92
- "width": {
93
- "type": "integer"
92
+ "width" : {
93
+ "type" : "integer"
94
94
  }
95
95
  },
96
- "required": [
97
- "_type",
98
- "_uid"
99
- ],
100
- "title": "formGroup",
101
- "type": "object",
102
- "allOf": [
103
- {
104
- "properties": {
105
- "devParentCase": false
106
- }
107
- }
108
- ],
109
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/formGroup.json."
110
- }
96
+ "required" : [ "_type", "_uid" ],
97
+ "title" : "formGroup",
98
+ "type" : "object"
99
+ }
@@ -76,8 +76,6 @@
76
76
  "_type",
77
77
  "_uid",
78
78
  "condition",
79
- "form",
80
- "name",
81
79
  "roleName",
82
80
  "type"
83
81
  ],
@@ -314,11 +314,6 @@
314
314
  "dateProfile": false
315
315
  }
316
316
  },
317
- {
318
- "properties": {
319
- "devParentCase": false
320
- }
321
- },
322
317
  {
323
318
  "properties": {
324
319
  "logic": false
@@ -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
  }