@grexx/grexxlinter 0.2.348 → 0.2.351

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grexx/grexxlinter",
3
- "version": "0.2.348",
3
+ "version": "0.2.351",
4
4
  "description": "Lint Grexx Studio casetype YAML against the studio JSON Schemas.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,174 @@
1
+ {
2
+ "activity": {
3
+ "aiAgent": [
4
+ "agent"
5
+ ],
6
+ "newCaseAlternativeStartActivity": [
7
+ "activity"
8
+ ],
9
+ "module": [
10
+ "activity"
11
+ ],
12
+ "caseViewJumpToCase": [
13
+ "view"
14
+ ],
15
+ "casetype": [
16
+ "casetype"
17
+ ],
18
+ "form": [
19
+ "form"
20
+ ],
21
+ "multitaskDataset": [
22
+ "dataset"
23
+ ],
24
+ "multitaskTag": [
25
+ "tag"
26
+ ],
27
+ "queue": [
28
+ "taskQueue"
29
+ ],
30
+ "tags": [
31
+ "tag"
32
+ ]
33
+ },
34
+ "activityAttribute": {
35
+ "platformAttribute": [
36
+ "platformAttribute"
37
+ ],
38
+ "subtype": [
39
+ "casetype"
40
+ ]
41
+ },
42
+ "agent": {
43
+ "agentAllowContextSwitchAttribute": [
44
+ "platformAttribute"
45
+ ],
46
+ "model": [
47
+ "llmModel"
48
+ ]
49
+ },
50
+ "agentTool": {
51
+ "activity": [
52
+ "activity"
53
+ ],
54
+ "otherAgent": [
55
+ "agent"
56
+ ]
57
+ },
58
+ "attribute": {
59
+ "calculatedTemplate": [
60
+ "template"
61
+ ],
62
+ "addActivity": [
63
+ "activity"
64
+ ],
65
+ "attributeDataretentionProfiles": [
66
+ "dataRetentionProfile"
67
+ ],
68
+ "dateProfile": [
69
+ "dateProfile"
70
+ ],
71
+ "fileProfile": [
72
+ "fileUploadProfile"
73
+ ],
74
+ "picklist": [
75
+ "picklist"
76
+ ],
77
+ "platformAttribute": [
78
+ "platformAttribute"
79
+ ],
80
+ "subtype": [
81
+ "casetype"
82
+ ],
83
+ "uniqueColumn": [
84
+ "datasetColumn"
85
+ ],
86
+ "uniqueDataset": [
87
+ "dataset"
88
+ ]
89
+ },
90
+ "dataRetentionProfile": {
91
+ "dataset": [
92
+ "dataset"
93
+ ],
94
+ "pageCasetype": [
95
+ "casetype"
96
+ ]
97
+ },
98
+ "datasetColumn": {
99
+ "attribute": [
100
+ "attribute"
101
+ ],
102
+ "baseColumn": [
103
+ "datasetColumn"
104
+ ],
105
+ "activityAttribute": [
106
+ "activityAttribute"
107
+ ]
108
+ },
109
+ "form": {
110
+ "dataset": [
111
+ "dataset"
112
+ ]
113
+ },
114
+ "hasRoleCondition": {
115
+ "roleName": [
116
+ "roleName"
117
+ ]
118
+ },
119
+ "platformAttribute": {
120
+ "attributeDataretentionProfiles": [
121
+ "dataRetentionProfile"
122
+ ],
123
+ "dateProfile": [
124
+ "dateProfile"
125
+ ],
126
+ "picklist": [
127
+ "picklist"
128
+ ],
129
+ "subtype": [
130
+ "casetype"
131
+ ]
132
+ },
133
+ "requestContext": {
134
+ "securityProfile": [
135
+ "securityProfile"
136
+ ]
137
+ },
138
+ "securityProfile": {
139
+ "securityRequirements": [
140
+ "securityRequirement"
141
+ ]
142
+ },
143
+ "taskQueue": {
144
+ "rateLimitPerHourAttribute": [
145
+ "attribute"
146
+ ]
147
+ },
148
+ "view": {
149
+ "css": [
150
+ "template"
151
+ ],
152
+ "leftNavigation": [
153
+ "navigation"
154
+ ],
155
+ "leftNavigationItems": [
156
+ "menuItem"
157
+ ],
158
+ "rightNavigation": [
159
+ "navigation"
160
+ ],
161
+ "rightNavigationItems": [
162
+ "menuItem"
163
+ ],
164
+ "metadatas": [
165
+ "metadata"
166
+ ],
167
+ "topNavigation": [
168
+ "navigation"
169
+ ],
170
+ "topNavigationItems": [
171
+ "menuItem"
172
+ ]
173
+ }
174
+ }
@@ -106,12 +106,5 @@
106
106
  ],
107
107
  "title": "activityAttribute",
108
108
  "type": "object",
109
- "allOf": [
110
- {
111
- "properties": {
112
- "allowHTML": false
113
- }
114
- }
115
- ],
116
109
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/activityAttribute.json."
117
110
  }
@@ -226,16 +226,6 @@
226
226
  "title": "attribute",
227
227
  "type": "object",
228
228
  "allOf": [
229
- {
230
- "properties": {
231
- "calculatedTemplate": false
232
- }
233
- },
234
- {
235
- "properties": {
236
- "linkToPlatform": false
237
- }
238
- },
239
229
  {
240
230
  "if": {
241
231
  "properties": {
@@ -1,86 +1,67 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/conditionList.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/conditionList.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": "conditionList"
27
+ "_type" : {
28
+ "const" : "conditionList"
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
- "conditions": {
36
- "items": {
37
- "$ref": "abstractCondition.schema.json"
35
+ "conditions" : {
36
+ "items" : {
37
+ "$ref" : "abstractCondition.schema.json"
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
- "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
- "negate": {
54
- "type": "boolean"
53
+ "negate" : {
54
+ "type" : "boolean"
55
55
  },
56
- "ourProductId": {
57
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
56
+ "ourProductId" : {
57
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
58
58
  },
59
- "type": {
60
- "enum": [
61
- "AND",
62
- "OR"
63
- ],
64
- "type": "string"
59
+ "type" : {
60
+ "enum" : [ "AND", "OR" ],
61
+ "type" : "string"
65
62
  }
66
63
  },
67
- "required": [
68
- "_type",
69
- "_uid"
70
- ],
71
- "title": "conditionList",
72
- "type": "object",
73
- "allOf": [
74
- {
75
- "properties": {
76
- "hasValidConfiguration": false
77
- }
78
- },
79
- {
80
- "properties": {
81
- "wasEverFullyConfigured": false
82
- }
83
- }
84
- ],
85
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/conditionList.json."
86
- }
64
+ "required" : [ "_type", "_uid" ],
65
+ "title" : "conditionList",
66
+ "type" : "object"
67
+ }
@@ -106,11 +106,6 @@
106
106
  "title": "datasetColumn",
107
107
  "type": "object",
108
108
  "allOf": [
109
- {
110
- "properties": {
111
- "multivalueType": false
112
- }
113
- },
114
109
  {
115
110
  "if": {
116
111
  "anyOf": [
@@ -175,11 +170,6 @@
175
170
  }
176
171
  }
177
172
  },
178
- {
179
- "properties": {
180
- "name": false
181
- }
182
- },
183
173
  {
184
174
  "if": {
185
175
  "properties": {
@@ -75,7 +75,6 @@
75
75
  "required": [
76
76
  "_type",
77
77
  "_uid",
78
- "condition",
79
78
  "roleName",
80
79
  "type"
81
80
  ],
@@ -1,119 +1,103 @@
1
1
  {
2
- "$id": "https://grexx.net/studio-next/schemas/form.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/form.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": "form"
27
+ "_type" : {
28
+ "const" : "form"
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": "conditionList.schema.json"
35
+ "condition" : {
36
+ "$ref" : "conditionList.schema.json"
37
37
  },
38
- "cssClass": {
39
- "items": {
40
- "type": "string"
38
+ "cssClass" : {
39
+ "items" : {
40
+ "type" : "string"
41
41
  },
42
- "type": "array"
42
+ "type" : "array"
43
43
  },
44
- "dataset": {
45
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
44
+ "dataset" : {
45
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
46
46
  },
47
- "description": {
48
- "$ref": "template/inlineTemplate.schema.json"
47
+ "description" : {
48
+ "$ref" : "template/inlineTemplate.schema.json"
49
49
  },
50
- "formGroup": {
51
- "$ref": "formGroup.schema.json"
50
+ "formGroup" : {
51
+ "$ref" : "formGroup.schema.json"
52
52
  },
53
- "formLogic": {
54
- "items": {
55
- "$ref": "abstractRule.schema.json"
53
+ "formLogic" : {
54
+ "items" : {
55
+ "$ref" : "abstractRule.schema.json"
56
56
  },
57
- "type": "array"
57
+ "type" : "array"
58
58
  },
59
- "formVersion": {
60
- "type": "string"
59
+ "formVersion" : {
60
+ "type" : "string"
61
61
  },
62
- "inactive": {
63
- "type": "boolean"
62
+ "inactive" : {
63
+ "type" : "boolean"
64
64
  },
65
- "instruction": {
66
- "$ref": "template/inlineTemplate.schema.json"
65
+ "instruction" : {
66
+ "$ref" : "template/inlineTemplate.schema.json"
67
67
  },
68
- "interfaceStudioProduct": {
69
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
68
+ "interfaceStudioProduct" : {
69
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
70
70
  },
71
- "isMultiTaskForm": {
72
- "type": "boolean"
71
+ "isMultiTaskForm" : {
72
+ "type" : "boolean"
73
73
  },
74
- "logic": {
75
- "additionalProperties": true,
76
- "type": "object"
74
+ "logic" : {
75
+ "additionalProperties" : true,
76
+ "type" : "object"
77
77
  },
78
- "metaCaseToOtap": {
79
- "type": "boolean"
78
+ "metaCaseToOtap" : {
79
+ "type" : "boolean"
80
80
  },
81
- "name": {
82
- "$ref": "common.schema.json#/$defs/multilanguageStringStructure"
81
+ "name" : {
82
+ "$ref" : "common.schema.json#/$defs/multilanguageStringStructure"
83
83
  },
84
- "onStart": {
85
- "items": {
86
- "$ref": "abstractRule.schema.json"
84
+ "onStart" : {
85
+ "items" : {
86
+ "$ref" : "abstractRule.schema.json"
87
87
  },
88
- "type": "array"
88
+ "type" : "array"
89
89
  },
90
- "ourProductId": {
91
- "$ref": "common.schema.json#/$defs/caseIdOrFileReference"
90
+ "ourProductId" : {
91
+ "$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
92
92
  },
93
- "rights": {
94
- "items": {
95
- "$ref": "formRight.schema.json"
93
+ "rights" : {
94
+ "items" : {
95
+ "$ref" : "formRight.schema.json"
96
96
  },
97
- "type": "array"
97
+ "type" : "array"
98
98
  }
99
99
  },
100
- "required": [
101
- "_type",
102
- "_uid"
103
- ],
104
- "title": "form",
105
- "type": "object",
106
- "allOf": [
107
- {
108
- "properties": {
109
- "isMultiTaskForm": false
110
- }
111
- },
112
- {
113
- "properties": {
114
- "onStart": false
115
- }
116
- }
117
- ],
118
- "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/form.json."
119
- }
100
+ "required" : [ "_type", "_uid" ],
101
+ "title" : "form",
102
+ "type" : "object"
103
+ }
@@ -75,7 +75,6 @@
75
75
  "required": [
76
76
  "_type",
77
77
  "_uid",
78
- "condition",
79
78
  "roleName",
80
79
  "type"
81
80
  ],
@@ -299,16 +299,6 @@
299
299
  "title": "formfield",
300
300
  "type": "object",
301
301
  "allOf": [
302
- {
303
- "properties": {
304
- "attributeInfo": false
305
- }
306
- },
307
- {
308
- "properties": {
309
- "logic": false
310
- }
311
- },
312
302
  {
313
303
  "if": {
314
304
  "properties": {