@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,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
+ }
@@ -130,17 +130,11 @@
130
130
  },
131
131
  "required": [
132
132
  "_type",
133
- "_uid",
134
- "type"
133
+ "_uid"
135
134
  ],
136
135
  "title": "mapping",
137
136
  "type": "object",
138
137
  "allOf": [
139
- {
140
- "properties": {
141
- "devParentCase": false
142
- }
143
- },
144
138
  {
145
139
  "if": {
146
140
  "anyOf": [
@@ -337,11 +331,6 @@
337
331
  }
338
332
  }
339
333
  },
340
- {
341
- "properties": {
342
- "parentRule": false
343
- }
344
- },
345
334
  {
346
335
  "if": {
347
336
  "anyOf": [
@@ -153,11 +153,6 @@
153
153
  }
154
154
  }
155
155
  },
156
- {
157
- "properties": {
158
- "devParentCase": false
159
- }
160
- },
161
156
  {
162
157
  "if": {
163
158
  "anyOf": [
@@ -1,90 +1,64 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/menuItemRight.schema.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "additionalProperties": false,
5
- "properties": {
6
- "_id": {
7
- "type": "string"
2
+ "$id" : "https://grexx.net/studio-next/schemas/menuItemRight.schema.json",
3
+ "$schema" : "https://json-schema.org/draft/2020-12/schema",
4
+ "additionalProperties" : false,
5
+ "properties" : {
6
+ "_id" : {
7
+ "type" : "string"
8
8
  },
9
- "_interfaceID": {
10
- "type": "string"
9
+ "_interfaceID" : {
10
+ "type" : "string"
11
11
  },
12
- "_isInterface": {
13
- "type": "boolean"
12
+ "_isInterface" : {
13
+ "type" : "boolean"
14
14
  },
15
- "_knownIDs": {
16
- "items": {
17
- "type": "string"
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": "menuItemRight"
27
+ "_type" : {
28
+ "const" : "menuItemRight"
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
- "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
- "ourProductId": {
51
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
50
+ "ourProductId" : {
51
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
52
52
  },
53
- "roleName": {
54
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
53
+ "roleName" : {
54
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
55
55
  },
56
- "type": {
57
- "enum": [
58
- "widget_view",
59
- "activity_request",
60
- "activity_execute",
61
- "activity_trigger",
62
- "activity_agent_request",
63
- "activity_agent_execute",
64
- "activity_agent_suggest_request",
65
- "activity_agent_suggest_execute",
66
- "dataset_view",
67
- "form_view",
68
- "menuItem_view",
69
- "debug_action",
70
- "any_right"
71
- ],
72
- "type": "string"
56
+ "type" : {
57
+ "enum" : [ "widget_view", "activity_request", "activity_execute", "activity_trigger", "activity_agent_request", "activity_agent_execute", "activity_agent_suggest_request", "activity_agent_suggest_execute", "dataset_view", "form_view", "menuItem_view", "debug_action", "any_right" ],
58
+ "type" : "string"
73
59
  }
74
60
  },
75
- "required": [
76
- "_type",
77
- "_uid",
78
- "menuItem"
79
- ],
80
- "title": "menuItemRight",
81
- "type": "object",
82
- "allOf": [
83
- {
84
- "properties": {
85
- "devParentCase": false
86
- }
87
- }
88
- ],
89
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/menuItemRight.json."
90
- }
61
+ "required" : [ "_type", "_uid" ],
62
+ "title" : "menuItemRight",
63
+ "type" : "object"
64
+ }
@@ -71,7 +71,9 @@
71
71
  },
72
72
  "required": [
73
73
  "_type",
74
- "_uid"
74
+ "_uid",
75
+ "name",
76
+ "type"
75
77
  ],
76
78
  "title": "metadata",
77
79
  "type": "object",
@@ -1,81 +1,60 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/notCondition.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/notCondition.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": "notCondition"
27
+ "_type" : {
28
+ "const" : "notCondition"
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
- "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
- "negate": {
51
- "type": "boolean"
50
+ "negate" : {
51
+ "type" : "boolean"
52
52
  },
53
- "ourProductId": {
54
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
53
+ "ourProductId" : {
54
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
55
55
  }
56
56
  },
57
- "required": [
58
- "_type",
59
- "_uid"
60
- ],
61
- "title": "notCondition",
62
- "type": "object",
63
- "allOf": [
64
- {
65
- "properties": {
66
- "devParentCase": false
67
- }
68
- },
69
- {
70
- "properties": {
71
- "StoreproductId": false
72
- }
73
- },
74
- {
75
- "properties": {
76
- "StoreproductLatestVersionId": false
77
- }
78
- }
79
- ],
80
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/notCondition.json."
81
- }
57
+ "required" : [ "_type", "_uid" ],
58
+ "title" : "notCondition",
59
+ "type" : "object"
60
+ }
@@ -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",