@grexx/grexxlinter 0.2.0 → 0.2.326
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.
- package/cli.js +2 -2
- package/lsp.js +1 -1
- package/package.json +1 -1
- package/schemas/.coverage.json +3326 -1104
- package/schemas/activity.schema.json +1 -0
- package/schemas/activityAttribute.schema.json +116 -55
- package/schemas/activityRight.schema.json +71 -45
- package/schemas/agentTool.schema.json +3 -1
- package/schemas/attribute.schema.json +22 -0
- package/schemas/casetype.schema.json +1 -0
- package/schemas/catchBlock.schema.json +83 -56
- package/schemas/container.schema.json +7 -1
- package/schemas/customThrow.schema.json +82 -54
- package/schemas/dataRetentionProfile.schema.json +70 -65
- package/schemas/datasetColumn.schema.json +16 -0
- package/schemas/datasetRight.schema.json +2 -1
- package/schemas/datasource.schema.json +64 -54
- package/schemas/directRole.schema.json +7 -0
- package/schemas/fileUploadProfile.schema.json +60 -55
- package/schemas/forEach.schema.json +38 -0
- package/schemas/formAction.schema.json +7 -1
- package/schemas/formActionInlineJavascript.schema.json +54 -49
- package/schemas/formGroup.schema.json +82 -71
- package/schemas/formRight.schema.json +2 -1
- package/schemas/formfield.schema.json +49 -0
- package/schemas/gridActivity.schema.json +78 -59
- package/schemas/gridColumn.schema.json +144 -107
- package/schemas/ifthenelse.schema.json +83 -57
- package/schemas/indirectRole.schema.json +7 -0
- package/schemas/jobStep.schema.json +12 -0
- package/schemas/llmModel.schema.json +98 -58
- package/schemas/mapping.schema.json +12 -1
- package/schemas/menuItem.schema.json +5 -0
- package/schemas/menuItemRight.schema.json +71 -45
- package/schemas/navigation.schema.json +31 -3
- package/schemas/notCondition.schema.json +66 -45
- package/schemas/parallelBlock.schema.json +60 -55
- package/schemas/picklist.schema.json +2 -1
- package/schemas/picklistItem.schema.json +2 -1
- package/schemas/platformAttribute.schema.json +66 -0
- package/schemas/platformRole.schema.json +6 -0
- package/schemas/plugin.schema.json +77 -71
- package/schemas/pluginLibrary.schema.json +2 -0
- package/schemas/simpleCondition.schema.json +20 -0
- package/schemas/tag.schema.json +43 -48
- package/schemas/taskQueue.schema.json +56 -51
- package/schemas/template.schema.json +2 -1
- package/schemas/trigger.schema.json +38 -0
- package/schemas/tryBlock.schema.json +4 -3
- package/schemas/view.schema.json +1 -2
- package/schemas/webhook.schema.json +46 -58
- package/schemas/while.schema.json +33 -0
- package/schemas/widget.schema.json +197 -2
- package/schemas/widgetRight.schema.json +2 -2
|
@@ -1,99 +1,105 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id"
|
|
3
|
-
"$schema"
|
|
4
|
-
"additionalProperties"
|
|
5
|
-
"properties"
|
|
6
|
-
"_id"
|
|
7
|
-
"type"
|
|
8
|
-
},
|
|
9
|
-
"_interfaceID"
|
|
10
|
-
"type"
|
|
11
|
-
},
|
|
12
|
-
"_isInterface"
|
|
13
|
-
"type"
|
|
14
|
-
},
|
|
15
|
-
"_knownIDs"
|
|
16
|
-
"items"
|
|
17
|
-
"type"
|
|
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"
|
|
19
|
+
"type": "array"
|
|
20
20
|
},
|
|
21
|
-
"_origin"
|
|
22
|
-
"type"
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
23
|
},
|
|
24
|
-
"_src"
|
|
25
|
-
"type"
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"_type"
|
|
28
|
-
"const"
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "plugin"
|
|
29
29
|
},
|
|
30
|
-
"_uid"
|
|
31
|
-
"description"
|
|
32
|
-
"format"
|
|
33
|
-
"type"
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
34
|
},
|
|
35
|
-
"datasets"
|
|
36
|
-
"items"
|
|
37
|
-
"$ref"
|
|
35
|
+
"datasets": {
|
|
36
|
+
"items": {
|
|
37
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
38
38
|
},
|
|
39
|
-
"type"
|
|
39
|
+
"type": "array"
|
|
40
40
|
},
|
|
41
|
-
"definitionHTML"
|
|
42
|
-
"type"
|
|
41
|
+
"definitionHTML": {
|
|
42
|
+
"type": "string"
|
|
43
43
|
},
|
|
44
|
-
"definitionJavascript"
|
|
45
|
-
"type"
|
|
44
|
+
"definitionJavascript": {
|
|
45
|
+
"type": "string"
|
|
46
46
|
},
|
|
47
|
-
"definitionStylesheet"
|
|
48
|
-
"type"
|
|
47
|
+
"definitionStylesheet": {
|
|
48
|
+
"type": "string"
|
|
49
49
|
},
|
|
50
|
-
"description"
|
|
51
|
-
"$ref"
|
|
50
|
+
"description": {
|
|
51
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
52
52
|
},
|
|
53
|
-
"enabled"
|
|
54
|
-
"type"
|
|
53
|
+
"enabled": {
|
|
54
|
+
"type": "boolean"
|
|
55
55
|
},
|
|
56
|
-
"forms"
|
|
57
|
-
"items"
|
|
58
|
-
"$ref"
|
|
56
|
+
"forms": {
|
|
57
|
+
"items": {
|
|
58
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
59
59
|
},
|
|
60
|
-
"type"
|
|
60
|
+
"type": "array"
|
|
61
61
|
},
|
|
62
|
-
"inactive"
|
|
63
|
-
"type"
|
|
62
|
+
"inactive": {
|
|
63
|
+
"type": "boolean"
|
|
64
64
|
},
|
|
65
|
-
"interfaceStudioProduct"
|
|
66
|
-
"$ref"
|
|
65
|
+
"interfaceStudioProduct": {
|
|
66
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
67
67
|
},
|
|
68
|
-
"metaCaseToOtap"
|
|
69
|
-
"type"
|
|
68
|
+
"metaCaseToOtap": {
|
|
69
|
+
"type": "boolean"
|
|
70
70
|
},
|
|
71
|
-
"name"
|
|
72
|
-
"$ref"
|
|
71
|
+
"name": {
|
|
72
|
+
"$ref": "common.schema.json#/$defs/multilanguageStringStructure"
|
|
73
73
|
},
|
|
74
|
-
"ourProductId"
|
|
75
|
-
"$ref"
|
|
74
|
+
"ourProductId": {
|
|
75
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
76
76
|
},
|
|
77
|
-
"pluginLibrary"
|
|
78
|
-
"items"
|
|
79
|
-
"$ref"
|
|
77
|
+
"pluginLibrary": {
|
|
78
|
+
"items": {
|
|
79
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
80
80
|
},
|
|
81
|
-
"type"
|
|
81
|
+
"type": "array"
|
|
82
82
|
},
|
|
83
|
-
"type"
|
|
84
|
-
"type"
|
|
83
|
+
"type": {
|
|
84
|
+
"type": "string"
|
|
85
85
|
},
|
|
86
|
-
"version"
|
|
87
|
-
"type"
|
|
86
|
+
"version": {
|
|
87
|
+
"type": "string"
|
|
88
88
|
},
|
|
89
|
-
"views"
|
|
90
|
-
"items"
|
|
91
|
-
"$ref"
|
|
89
|
+
"views": {
|
|
90
|
+
"items": {
|
|
91
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
92
92
|
},
|
|
93
|
-
"type"
|
|
93
|
+
"type": "array"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
"required"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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
|
+
}
|
|
@@ -193,6 +193,11 @@
|
|
|
193
193
|
"title": "simpleCondition",
|
|
194
194
|
"type": "object",
|
|
195
195
|
"allOf": [
|
|
196
|
+
{
|
|
197
|
+
"properties": {
|
|
198
|
+
"leftFieldStaticItem": false
|
|
199
|
+
}
|
|
200
|
+
},
|
|
196
201
|
{
|
|
197
202
|
"if": {
|
|
198
203
|
"anyOf": [
|
|
@@ -225,6 +230,21 @@
|
|
|
225
230
|
}
|
|
226
231
|
}
|
|
227
232
|
},
|
|
233
|
+
{
|
|
234
|
+
"properties": {
|
|
235
|
+
"parentCondition": false
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"properties": {
|
|
240
|
+
"parentRule": false
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"properties": {
|
|
245
|
+
"rightFieldStaticItem": false
|
|
246
|
+
}
|
|
247
|
+
},
|
|
228
248
|
{
|
|
229
249
|
"if": {
|
|
230
250
|
"anyOf": [
|
package/schemas/tag.schema.json
CHANGED
|
@@ -1,62 +1,57 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://grexx.net/studio-next/schemas/tag.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/tag.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": "tag"
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "tag"
|
|
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
53
|
},
|
|
54
|
-
"required": [
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
],
|
|
59
|
-
"title": "tag",
|
|
60
|
-
"type": "object",
|
|
61
|
-
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/tag.json."
|
|
62
|
-
}
|
|
54
|
+
"required" : [ "_type", "_uid" ],
|
|
55
|
+
"title" : "tag",
|
|
56
|
+
"type" : "object"
|
|
57
|
+
}
|
|
@@ -1,69 +1,74 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id"
|
|
3
|
-
"$schema"
|
|
4
|
-
"additionalProperties"
|
|
5
|
-
"properties"
|
|
6
|
-
"_id"
|
|
7
|
-
"type"
|
|
8
|
-
},
|
|
9
|
-
"_interfaceID"
|
|
10
|
-
"type"
|
|
11
|
-
},
|
|
12
|
-
"_isInterface"
|
|
13
|
-
"type"
|
|
14
|
-
},
|
|
15
|
-
"_knownIDs"
|
|
16
|
-
"items"
|
|
17
|
-
"type"
|
|
2
|
+
"$id": "https://grexx.net/studio-next/schemas/taskQueue.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"
|
|
19
|
+
"type": "array"
|
|
20
20
|
},
|
|
21
|
-
"_origin"
|
|
22
|
-
"type"
|
|
21
|
+
"_origin": {
|
|
22
|
+
"type": "string"
|
|
23
23
|
},
|
|
24
|
-
"_src"
|
|
25
|
-
"type"
|
|
24
|
+
"_src": {
|
|
25
|
+
"type": "string"
|
|
26
26
|
},
|
|
27
|
-
"_type"
|
|
28
|
-
"const"
|
|
27
|
+
"_type": {
|
|
28
|
+
"const": "taskQueue"
|
|
29
29
|
},
|
|
30
|
-
"_uid"
|
|
31
|
-
"description"
|
|
32
|
-
"format"
|
|
33
|
-
"type"
|
|
30
|
+
"_uid": {
|
|
31
|
+
"description": "Deterministic UUID derived from case-ID.",
|
|
32
|
+
"format": "uuid",
|
|
33
|
+
"type": "string"
|
|
34
34
|
},
|
|
35
|
-
"blockOnFailure"
|
|
36
|
-
"type"
|
|
35
|
+
"blockOnFailure": {
|
|
36
|
+
"type": "boolean"
|
|
37
37
|
},
|
|
38
|
-
"description"
|
|
39
|
-
"$ref"
|
|
38
|
+
"description": {
|
|
39
|
+
"$ref": "template/inlineTemplate.schema.json"
|
|
40
40
|
},
|
|
41
|
-
"executeOnlyMostRecentActivity"
|
|
42
|
-
"type"
|
|
41
|
+
"executeOnlyMostRecentActivity": {
|
|
42
|
+
"type": "boolean"
|
|
43
43
|
},
|
|
44
|
-
"inactive"
|
|
45
|
-
"type"
|
|
44
|
+
"inactive": {
|
|
45
|
+
"type": "boolean"
|
|
46
46
|
},
|
|
47
|
-
"interfaceStudioProduct"
|
|
48
|
-
"$ref"
|
|
47
|
+
"interfaceStudioProduct": {
|
|
48
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
49
|
},
|
|
50
|
-
"metaCaseToOtap"
|
|
51
|
-
"type"
|
|
50
|
+
"metaCaseToOtap": {
|
|
51
|
+
"type": "boolean"
|
|
52
52
|
},
|
|
53
|
-
"name"
|
|
54
|
-
"$ref"
|
|
53
|
+
"name": {
|
|
54
|
+
"$ref": "common.schema.json#/$defs/multilanguageStringStructure"
|
|
55
55
|
},
|
|
56
|
-
"ourProductId"
|
|
57
|
-
"$ref"
|
|
56
|
+
"ourProductId": {
|
|
57
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
58
58
|
},
|
|
59
|
-
"rateLimitPerHourAttribute"
|
|
60
|
-
"$ref"
|
|
59
|
+
"rateLimitPerHourAttribute": {
|
|
60
|
+
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
61
61
|
},
|
|
62
|
-
"type"
|
|
63
|
-
"type"
|
|
62
|
+
"type": {
|
|
63
|
+
"type": "string"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"required"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
"required": [
|
|
67
|
+
"_type",
|
|
68
|
+
"_uid",
|
|
69
|
+
"name"
|
|
70
|
+
],
|
|
71
|
+
"title": "taskQueue",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/taskQueue.json."
|
|
74
|
+
}
|
|
@@ -121,6 +121,43 @@
|
|
|
121
121
|
"title": "trigger",
|
|
122
122
|
"type": "object",
|
|
123
123
|
"allOf": [
|
|
124
|
+
{
|
|
125
|
+
"properties": {
|
|
126
|
+
"parentRule": false
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"if": {
|
|
131
|
+
"anyOf": [
|
|
132
|
+
{
|
|
133
|
+
"properties": {
|
|
134
|
+
"showProgress": {
|
|
135
|
+
"const": "true"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"required": [
|
|
139
|
+
"showProgress"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"properties": {
|
|
144
|
+
"showProgress": {
|
|
145
|
+
"const": "true"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"required": [
|
|
149
|
+
"showProgress"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"then": {},
|
|
155
|
+
"else": {
|
|
156
|
+
"properties": {
|
|
157
|
+
"progressTemplate": false
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
124
161
|
{
|
|
125
162
|
"if": {
|
|
126
163
|
"anyOf": [
|
|
@@ -387,6 +424,7 @@
|
|
|
387
424
|
},
|
|
388
425
|
"then": {
|
|
389
426
|
"required": [
|
|
427
|
+
"progressTemplate",
|
|
390
428
|
"progressTitle"
|
|
391
429
|
]
|
|
392
430
|
}
|
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
},
|
|
72
72
|
"required": [
|
|
73
73
|
"_type",
|
|
74
|
-
"_uid"
|
|
74
|
+
"_uid",
|
|
75
|
+
"root"
|
|
75
76
|
],
|
|
76
77
|
"title": "tryBlock",
|
|
77
78
|
"type": "object",
|
|
@@ -89,8 +90,8 @@
|
|
|
89
90
|
},
|
|
90
91
|
"then": {
|
|
91
92
|
"required": [
|
|
92
|
-
"
|
|
93
|
-
"
|
|
93
|
+
"progressTemplate",
|
|
94
|
+
"progressTitle"
|
|
94
95
|
]
|
|
95
96
|
}
|
|
96
97
|
}
|