@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.
Files changed (54) 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 +3326 -1104
  5. package/schemas/activity.schema.json +1 -0
  6. package/schemas/activityAttribute.schema.json +116 -55
  7. package/schemas/activityRight.schema.json +71 -45
  8. package/schemas/agentTool.schema.json +3 -1
  9. package/schemas/attribute.schema.json +22 -0
  10. package/schemas/casetype.schema.json +1 -0
  11. package/schemas/catchBlock.schema.json +83 -56
  12. package/schemas/container.schema.json +7 -1
  13. package/schemas/customThrow.schema.json +82 -54
  14. package/schemas/dataRetentionProfile.schema.json +70 -65
  15. package/schemas/datasetColumn.schema.json +16 -0
  16. package/schemas/datasetRight.schema.json +2 -1
  17. package/schemas/datasource.schema.json +64 -54
  18. package/schemas/directRole.schema.json +7 -0
  19. package/schemas/fileUploadProfile.schema.json +60 -55
  20. package/schemas/forEach.schema.json +38 -0
  21. package/schemas/formAction.schema.json +7 -1
  22. package/schemas/formActionInlineJavascript.schema.json +54 -49
  23. package/schemas/formGroup.schema.json +82 -71
  24. package/schemas/formRight.schema.json +2 -1
  25. package/schemas/formfield.schema.json +49 -0
  26. package/schemas/gridActivity.schema.json +78 -59
  27. package/schemas/gridColumn.schema.json +144 -107
  28. package/schemas/ifthenelse.schema.json +83 -57
  29. package/schemas/indirectRole.schema.json +7 -0
  30. package/schemas/jobStep.schema.json +12 -0
  31. package/schemas/llmModel.schema.json +98 -58
  32. package/schemas/mapping.schema.json +12 -1
  33. package/schemas/menuItem.schema.json +5 -0
  34. package/schemas/menuItemRight.schema.json +71 -45
  35. package/schemas/navigation.schema.json +31 -3
  36. package/schemas/notCondition.schema.json +66 -45
  37. package/schemas/parallelBlock.schema.json +60 -55
  38. package/schemas/picklist.schema.json +2 -1
  39. package/schemas/picklistItem.schema.json +2 -1
  40. package/schemas/platformAttribute.schema.json +66 -0
  41. package/schemas/platformRole.schema.json +6 -0
  42. package/schemas/plugin.schema.json +77 -71
  43. package/schemas/pluginLibrary.schema.json +2 -0
  44. package/schemas/simpleCondition.schema.json +20 -0
  45. package/schemas/tag.schema.json +43 -48
  46. package/schemas/taskQueue.schema.json +56 -51
  47. package/schemas/template.schema.json +2 -1
  48. package/schemas/trigger.schema.json +38 -0
  49. package/schemas/tryBlock.schema.json +4 -3
  50. package/schemas/view.schema.json +1 -2
  51. package/schemas/webhook.schema.json +46 -58
  52. package/schemas/while.schema.json +33 -0
  53. package/schemas/widget.schema.json +197 -2
  54. package/schemas/widgetRight.schema.json +2 -2
@@ -1,73 +1,101 @@
1
1
  {
2
- "$id" : "https://grexx.net/studio-next/schemas/customThrow.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/customThrow.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" : "customThrow"
27
+ "_type": {
28
+ "const": "customThrow"
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
- "debugMessage" : {
36
- "$ref" : "template/inlineTemplate.schema.json"
35
+ "debugMessage": {
36
+ "$ref": "template/inlineTemplate.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
- "messageType" : {
48
- "enum" : [ "error", "warning", "info" ],
49
- "type" : "string"
47
+ "messageType": {
48
+ "enum": [
49
+ "error",
50
+ "warning",
51
+ "info"
52
+ ],
53
+ "type": "string"
50
54
  },
51
- "metaCaseToOtap" : {
52
- "type" : "boolean"
55
+ "metaCaseToOtap": {
56
+ "type": "boolean"
53
57
  },
54
- "ourProductId" : {
55
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
58
+ "ourProductId": {
59
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
56
60
  },
57
- "progressTemplate" : {
58
- "$ref" : "template/inlineTemplate.schema.json"
61
+ "progressTemplate": {
62
+ "$ref": "template/inlineTemplate.schema.json"
59
63
  },
60
- "progressTitle" : {
61
- "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
64
+ "progressTitle": {
65
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
62
66
  },
63
- "publicMessage" : {
64
- "$ref" : "template/inlineTemplate.schema.json"
67
+ "publicMessage": {
68
+ "$ref": "template/inlineTemplate.schema.json"
65
69
  },
66
- "showProgress" : {
67
- "type" : "boolean"
70
+ "showProgress": {
71
+ "type": "boolean"
68
72
  }
69
73
  },
70
- "required" : [ "_type", "_uid" ],
71
- "title" : "customThrow",
72
- "type" : "object"
73
- }
74
+ "required": [
75
+ "_type",
76
+ "_uid"
77
+ ],
78
+ "title": "customThrow",
79
+ "type": "object",
80
+ "allOf": [
81
+ {
82
+ "if": {
83
+ "properties": {
84
+ "showProgress": {
85
+ "const": "true"
86
+ }
87
+ },
88
+ "required": [
89
+ "showProgress"
90
+ ]
91
+ },
92
+ "then": {
93
+ "required": [
94
+ "progressTemplate",
95
+ "progressTitle"
96
+ ]
97
+ }
98
+ }
99
+ ],
100
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/customThrow.json."
101
+ }
@@ -1,90 +1,95 @@
1
1
  {
2
- "$id" : "https://grexx.net/studio-next/schemas/dataRetentionProfile.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/dataRetentionProfile.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" : "dataRetentionProfile"
27
+ "_type": {
28
+ "const": "dataRetentionProfile"
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
- "dataRetentionCleanupDeletedCasedata" : {
36
- "type" : "boolean"
35
+ "dataRetentionCleanupDeletedCasedata": {
36
+ "type": "boolean"
37
37
  },
38
- "dataRetentionCleanupFinishedCasedata" : {
39
- "type" : "boolean"
38
+ "dataRetentionCleanupFinishedCasedata": {
39
+ "type": "boolean"
40
40
  },
41
- "dataRetentionCleanupFinishedCases" : {
42
- "type" : "boolean"
41
+ "dataRetentionCleanupFinishedCases": {
42
+ "type": "boolean"
43
43
  },
44
- "dataRetentionCleanupOpenCasedata" : {
45
- "type" : "boolean"
44
+ "dataRetentionCleanupOpenCasedata": {
45
+ "type": "boolean"
46
46
  },
47
- "dataRetentionCleanupTaskdata" : {
48
- "type" : "boolean"
47
+ "dataRetentionCleanupTaskdata": {
48
+ "type": "boolean"
49
49
  },
50
- "dataRetentionDataAgeMinutes" : {
51
- "type" : "integer"
50
+ "dataRetentionDataAgeMinutes": {
51
+ "type": "integer"
52
52
  },
53
- "dataRetentionNeverStoreData" : {
54
- "type" : "boolean"
53
+ "dataRetentionNeverStoreData": {
54
+ "type": "boolean"
55
55
  },
56
- "dataset" : {
57
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
56
+ "dataset": {
57
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
58
58
  },
59
- "description" : {
60
- "$ref" : "template/inlineTemplate.schema.json"
59
+ "description": {
60
+ "$ref": "template/inlineTemplate.schema.json"
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
- "onlyRunOnOtap" : {
75
- "items" : {
76
- "type" : "string"
74
+ "onlyRunOnOtap": {
75
+ "items": {
76
+ "type": "string"
77
77
  },
78
- "type" : "array"
78
+ "type": "array"
79
79
  },
80
- "ourProductId" : {
81
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
80
+ "ourProductId": {
81
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
82
82
  },
83
- "pageCasetype" : {
84
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
83
+ "pageCasetype": {
84
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
85
85
  }
86
86
  },
87
- "required" : [ "_type", "_uid" ],
88
- "title" : "dataRetentionProfile",
89
- "type" : "object"
90
- }
87
+ "required": [
88
+ "_type",
89
+ "_uid",
90
+ "name"
91
+ ],
92
+ "title": "dataRetentionProfile",
93
+ "type": "object",
94
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/dataRetentionProfile.json."
95
+ }
@@ -138,6 +138,16 @@
138
138
  }
139
139
  }
140
140
  },
141
+ {
142
+ "properties": {
143
+ "caseSummary": false
144
+ }
145
+ },
146
+ {
147
+ "properties": {
148
+ "multivalueType": false
149
+ }
150
+ },
141
151
  {
142
152
  "properties": {
143
153
  "sortOrder": false
@@ -207,6 +217,11 @@
207
217
  }
208
218
  }
209
219
  },
220
+ {
221
+ "properties": {
222
+ "name": false
223
+ }
224
+ },
210
225
  {
211
226
  "if": {
212
227
  "anyOf": [
@@ -333,6 +348,7 @@
333
348
  },
334
349
  "then": {
335
350
  "required": [
351
+ "externalReference",
336
352
  "title"
337
353
  ],
338
354
  "properties": {
@@ -75,8 +75,9 @@
75
75
  "required": [
76
76
  "_type",
77
77
  "_uid",
78
- "description",
79
78
  "condition",
79
+ "dataset",
80
+ "name",
80
81
  "roleName",
81
82
  "type"
82
83
  ],
@@ -1,73 +1,83 @@
1
1
  {
2
- "$id" : "https://grexx.net/studio-next/schemas/datasource.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/datasource.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" : "datasource"
27
+ "_type": {
28
+ "const": "datasource"
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
- "datasourceDatabase" : {
36
- "type" : "string"
35
+ "datasourceDatabase": {
36
+ "type": "string"
37
37
  },
38
- "datasourceHost" : {
39
- "type" : "string"
38
+ "datasourceHost": {
39
+ "type": "string"
40
40
  },
41
- "datasourcePort" : {
42
- "type" : "integer"
41
+ "datasourcePort": {
42
+ "type": "integer"
43
43
  },
44
- "datasourceUser" : {
45
- "type" : "string"
44
+ "datasourceUser": {
45
+ "type": "string"
46
46
  },
47
- "description" : {
48
- "$ref" : "template/inlineTemplate.schema.json"
47
+ "description": {
48
+ "$ref": "template/inlineTemplate.schema.json"
49
49
  },
50
- "inactive" : {
51
- "type" : "boolean"
50
+ "inactive": {
51
+ "type": "boolean"
52
52
  },
53
- "interfaceStudioProduct" : {
54
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
53
+ "interfaceStudioProduct": {
54
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
55
55
  },
56
- "metaCaseToOtap" : {
57
- "type" : "boolean"
56
+ "metaCaseToOtap": {
57
+ "type": "boolean"
58
58
  },
59
- "name" : {
60
- "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
59
+ "name": {
60
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
61
61
  },
62
- "ourProductId" : {
63
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
62
+ "ourProductId": {
63
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
64
64
  },
65
- "type" : {
66
- "enum" : [ "internal", "mysql_fdw", "multicorn_alchemy" ],
67
- "type" : "string"
65
+ "type": {
66
+ "enum": [
67
+ "internal",
68
+ "mysql_fdw",
69
+ "multicorn_alchemy"
70
+ ],
71
+ "type": "string"
68
72
  }
69
73
  },
70
- "required" : [ "_type", "_uid" ],
71
- "title" : "datasource",
72
- "type" : "object"
73
- }
74
+ "required": [
75
+ "_type",
76
+ "_uid",
77
+ "name",
78
+ "type"
79
+ ],
80
+ "title": "datasource",
81
+ "type": "object",
82
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/datasource.json."
83
+ }
@@ -67,5 +67,12 @@
67
67
  ],
68
68
  "title": "directRole",
69
69
  "type": "object",
70
+ "allOf": [
71
+ {
72
+ "properties": {
73
+ "devParentCase": false
74
+ }
75
+ }
76
+ ],
70
77
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/directRole.json."
71
78
  }
@@ -1,75 +1,80 @@
1
1
  {
2
- "$id" : "https://grexx.net/studio-next/schemas/fileUploadProfile.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/fileUploadProfile.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" : "fileUploadProfile"
27
+ "_type": {
28
+ "const": "fileUploadProfile"
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
- "allowedExtensions" : {
36
- "items" : {
37
- "type" : "string"
35
+ "allowedExtensions": {
36
+ "items": {
37
+ "type": "string"
38
38
  },
39
- "type" : "array"
39
+ "type": "array"
40
40
  },
41
- "description" : {
42
- "$ref" : "template/inlineTemplate.schema.json"
41
+ "description": {
42
+ "$ref": "template/inlineTemplate.schema.json"
43
43
  },
44
- "disallowedExtensions" : {
45
- "items" : {
46
- "type" : "string"
44
+ "disallowedExtensions": {
45
+ "items": {
46
+ "type": "string"
47
47
  },
48
- "type" : "array"
48
+ "type": "array"
49
49
  },
50
- "inactive" : {
51
- "type" : "boolean"
50
+ "inactive": {
51
+ "type": "boolean"
52
52
  },
53
- "interfaceStudioProduct" : {
54
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
53
+ "interfaceStudioProduct": {
54
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
55
55
  },
56
- "maxFileSize" : {
57
- "type" : "integer"
56
+ "maxFileSize": {
57
+ "type": "integer"
58
58
  },
59
- "metaCaseToOtap" : {
60
- "type" : "boolean"
59
+ "metaCaseToOtap": {
60
+ "type": "boolean"
61
61
  },
62
- "minFileSize" : {
63
- "type" : "integer"
62
+ "minFileSize": {
63
+ "type": "integer"
64
64
  },
65
- "name" : {
66
- "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
65
+ "name": {
66
+ "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
67
67
  },
68
- "ourProductId" : {
69
- "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
68
+ "ourProductId": {
69
+ "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
70
70
  }
71
71
  },
72
- "required" : [ "_type", "_uid" ],
73
- "title" : "fileUploadProfile",
74
- "type" : "object"
75
- }
72
+ "required": [
73
+ "_type",
74
+ "_uid",
75
+ "name"
76
+ ],
77
+ "title": "fileUploadProfile",
78
+ "type": "object",
79
+ "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/fileUploadProfile.json."
80
+ }