@grexx/grexxlinter 0.2.2105 → 0.2.2124
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 +1 -1
- package/package.json +1 -1
- package/schemas/.coverage.json +667 -234
- package/schemas/activity.schema.json +54 -268
- package/schemas/agent.schema.json +6 -20
- package/schemas/attribute.behavior.json +245 -209
- package/schemas/dataset.schema.json +30 -100
- package/schemas/datasetColumn.behavior.json +11 -0
- package/schemas/datasetColumn.schema.json +12 -40
- package/schemas/datasetCondition.schema.json +6 -20
- package/schemas/formAction.behavior.json +1 -1
- package/schemas/mapping.schema.json +24 -100
- package/schemas/menuItem.schema.json +6 -60
- package/schemas/platformAttribute.behavior.json +60 -8
- package/schemas/platformAttribute.schema.json +6 -20
- package/schemas/platformRole.schema.json +35 -0
- package/schemas/requestContext.schema.json +0 -20
- package/schemas/simpleCondition.schema.json +12 -40
- package/schemas/trigger.schema.json +24 -80
- package/schemas/widget.schema.json +0 -72
|
@@ -129,6 +129,41 @@
|
|
|
129
129
|
"title": "platformRole",
|
|
130
130
|
"type": "object",
|
|
131
131
|
"allOf": [
|
|
132
|
+
{
|
|
133
|
+
"if": {
|
|
134
|
+
"properties": {
|
|
135
|
+
"platformRoleType": {
|
|
136
|
+
"const": "agent"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"required": [
|
|
140
|
+
"platformRoleType"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"then": {},
|
|
144
|
+
"else": {
|
|
145
|
+
"properties": {
|
|
146
|
+
"aiAgents": false
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"if": {
|
|
152
|
+
"properties": {
|
|
153
|
+
"platformRoleType": {
|
|
154
|
+
"const": "agent"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"platformRoleType"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"then": {
|
|
162
|
+
"required": [
|
|
163
|
+
"aiAgents"
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
132
167
|
{
|
|
133
168
|
"if": {
|
|
134
169
|
"properties": {
|
|
@@ -95,26 +95,6 @@
|
|
|
95
95
|
{
|
|
96
96
|
"if": {
|
|
97
97
|
"anyOf": [
|
|
98
|
-
{
|
|
99
|
-
"properties": {
|
|
100
|
-
"contexttype": {
|
|
101
|
-
"const": "context"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"required": [
|
|
105
|
-
"contexttype"
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"properties": {
|
|
110
|
-
"contexttype": {
|
|
111
|
-
"const": "usersession"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"required": [
|
|
115
|
-
"contexttype"
|
|
116
|
-
]
|
|
117
|
-
},
|
|
118
98
|
{
|
|
119
99
|
"properties": {
|
|
120
100
|
"contexttype": {
|
|
@@ -195,27 +195,13 @@
|
|
|
195
195
|
"allOf": [
|
|
196
196
|
{
|
|
197
197
|
"if": {
|
|
198
|
-
"
|
|
199
|
-
{
|
|
200
|
-
"
|
|
201
|
-
"leftFieldType": {
|
|
202
|
-
"const": "taskAttribute"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"required": [
|
|
206
|
-
"leftFieldType"
|
|
207
|
-
]
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"properties": {
|
|
211
|
-
"leftFieldType": {
|
|
212
|
-
"const": "taskAttribute"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"required": [
|
|
216
|
-
"leftFieldType"
|
|
217
|
-
]
|
|
198
|
+
"properties": {
|
|
199
|
+
"leftFieldType": {
|
|
200
|
+
"const": "taskAttribute"
|
|
218
201
|
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"leftFieldType"
|
|
219
205
|
]
|
|
220
206
|
},
|
|
221
207
|
"then": {},
|
|
@@ -227,27 +213,13 @@
|
|
|
227
213
|
},
|
|
228
214
|
{
|
|
229
215
|
"if": {
|
|
230
|
-
"
|
|
231
|
-
{
|
|
232
|
-
"
|
|
233
|
-
"rightFieldType": {
|
|
234
|
-
"const": "taskAttribute"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
"required": [
|
|
238
|
-
"rightFieldType"
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"properties": {
|
|
243
|
-
"rightFieldType": {
|
|
244
|
-
"const": "taskAttribute"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
"required": [
|
|
248
|
-
"rightFieldType"
|
|
249
|
-
]
|
|
216
|
+
"properties": {
|
|
217
|
+
"rightFieldType": {
|
|
218
|
+
"const": "taskAttribute"
|
|
250
219
|
}
|
|
220
|
+
},
|
|
221
|
+
"required": [
|
|
222
|
+
"rightFieldType"
|
|
251
223
|
]
|
|
252
224
|
},
|
|
253
225
|
"then": {},
|
|
@@ -159,27 +159,13 @@
|
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"if": {
|
|
162
|
-
"
|
|
163
|
-
{
|
|
164
|
-
"
|
|
165
|
-
"toTriggerType": {
|
|
166
|
-
"const": "attributeValue"
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
"required": [
|
|
170
|
-
"toTriggerType"
|
|
171
|
-
]
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"properties": {
|
|
175
|
-
"toTriggerType": {
|
|
176
|
-
"const": "attributeValue"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"required": [
|
|
180
|
-
"toTriggerType"
|
|
181
|
-
]
|
|
162
|
+
"properties": {
|
|
163
|
+
"toTriggerType": {
|
|
164
|
+
"const": "attributeValue"
|
|
182
165
|
}
|
|
166
|
+
},
|
|
167
|
+
"required": [
|
|
168
|
+
"toTriggerType"
|
|
183
169
|
]
|
|
184
170
|
},
|
|
185
171
|
"then": {},
|
|
@@ -191,27 +177,13 @@
|
|
|
191
177
|
},
|
|
192
178
|
{
|
|
193
179
|
"if": {
|
|
194
|
-
"
|
|
195
|
-
{
|
|
196
|
-
"
|
|
197
|
-
"toTriggerType": {
|
|
198
|
-
"const": "casesInDataset"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"required": [
|
|
202
|
-
"toTriggerType"
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"properties": {
|
|
207
|
-
"toTriggerType": {
|
|
208
|
-
"const": "casesInDataset"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"required": [
|
|
212
|
-
"toTriggerType"
|
|
213
|
-
]
|
|
180
|
+
"properties": {
|
|
181
|
+
"toTriggerType": {
|
|
182
|
+
"const": "casesInDataset"
|
|
214
183
|
}
|
|
184
|
+
},
|
|
185
|
+
"required": [
|
|
186
|
+
"toTriggerType"
|
|
215
187
|
]
|
|
216
188
|
},
|
|
217
189
|
"then": {},
|
|
@@ -223,27 +195,13 @@
|
|
|
223
195
|
},
|
|
224
196
|
{
|
|
225
197
|
"if": {
|
|
226
|
-
"
|
|
227
|
-
{
|
|
228
|
-
"
|
|
229
|
-
"toTriggerType": {
|
|
230
|
-
"const": "foreachItem"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
"required": [
|
|
234
|
-
"toTriggerType"
|
|
235
|
-
]
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"properties": {
|
|
239
|
-
"toTriggerType": {
|
|
240
|
-
"const": "foreachItem"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"required": [
|
|
244
|
-
"toTriggerType"
|
|
245
|
-
]
|
|
198
|
+
"properties": {
|
|
199
|
+
"toTriggerType": {
|
|
200
|
+
"const": "foreachItem"
|
|
246
201
|
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"toTriggerType"
|
|
247
205
|
]
|
|
248
206
|
},
|
|
249
207
|
"then": {},
|
|
@@ -255,27 +213,13 @@
|
|
|
255
213
|
},
|
|
256
214
|
{
|
|
257
215
|
"if": {
|
|
258
|
-
"
|
|
259
|
-
{
|
|
260
|
-
"
|
|
261
|
-
"toTriggerType": {
|
|
262
|
-
"const": "page"
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"required": [
|
|
266
|
-
"toTriggerType"
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"properties": {
|
|
271
|
-
"toTriggerType": {
|
|
272
|
-
"const": "page"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"required": [
|
|
276
|
-
"toTriggerType"
|
|
277
|
-
]
|
|
216
|
+
"properties": {
|
|
217
|
+
"toTriggerType": {
|
|
218
|
+
"const": "page"
|
|
278
219
|
}
|
|
220
|
+
},
|
|
221
|
+
"required": [
|
|
222
|
+
"toTriggerType"
|
|
279
223
|
]
|
|
280
224
|
},
|
|
281
225
|
"then": {},
|
|
@@ -617,78 +617,6 @@
|
|
|
617
617
|
}
|
|
618
618
|
]
|
|
619
619
|
},
|
|
620
|
-
{
|
|
621
|
-
"anyOf": [
|
|
622
|
-
{
|
|
623
|
-
"properties": {
|
|
624
|
-
"widgetType": {
|
|
625
|
-
"const": "caseData"
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
"required": [
|
|
629
|
-
"widgetType"
|
|
630
|
-
]
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
"properties": {
|
|
634
|
-
"widgetType": {
|
|
635
|
-
"const": "caseDataClean"
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
"required": [
|
|
639
|
-
"widgetType"
|
|
640
|
-
]
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
"properties": {
|
|
644
|
-
"widgetType": {
|
|
645
|
-
"const": "formWidget"
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
|
-
"required": [
|
|
649
|
-
"widgetType"
|
|
650
|
-
]
|
|
651
|
-
}
|
|
652
|
-
]
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"allOf": [
|
|
656
|
-
{
|
|
657
|
-
"anyOf": [
|
|
658
|
-
{
|
|
659
|
-
"properties": {
|
|
660
|
-
"widgetType": {
|
|
661
|
-
"const": "formSearch"
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
"required": [
|
|
665
|
-
"widgetType"
|
|
666
|
-
]
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"properties": {
|
|
670
|
-
"widgetType": {
|
|
671
|
-
"const": "simpleSearch"
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"required": [
|
|
675
|
-
"widgetType"
|
|
676
|
-
]
|
|
677
|
-
}
|
|
678
|
-
]
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"properties": {
|
|
682
|
-
"widgetType": {
|
|
683
|
-
"const": "formSearch"
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
"required": [
|
|
687
|
-
"widgetType"
|
|
688
|
-
]
|
|
689
|
-
}
|
|
690
|
-
]
|
|
691
|
-
},
|
|
692
620
|
{
|
|
693
621
|
"anyOf": [
|
|
694
622
|
{
|