@grexx/grexxlinter 0.2.1 → 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,77 +1,65 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://grexx.net/studio-next/schemas/webhook.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/webhook.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": "webhook"
|
|
27
|
+
"_type" : {
|
|
28
|
+
"const" : "webhook"
|
|
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
|
-
"dataType": {
|
|
36
|
-
"enum": [
|
|
37
|
-
|
|
38
|
-
],
|
|
39
|
-
"type": "string"
|
|
35
|
+
"dataType" : {
|
|
36
|
+
"enum" : [ "ANALYTICS_JSON" ],
|
|
37
|
+
"type" : "string"
|
|
40
38
|
},
|
|
41
|
-
"description": {
|
|
42
|
-
"$ref": "template/inlineTemplate.schema.json"
|
|
39
|
+
"description" : {
|
|
40
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
43
41
|
},
|
|
44
|
-
"event": {
|
|
45
|
-
"enum": [
|
|
46
|
-
|
|
47
|
-
"casedata_change",
|
|
48
|
-
"case_finish"
|
|
49
|
-
],
|
|
50
|
-
"type": "string"
|
|
42
|
+
"event" : {
|
|
43
|
+
"enum" : [ "user_postform", "casedata_change", "case_finish" ],
|
|
44
|
+
"type" : "string"
|
|
51
45
|
},
|
|
52
|
-
"inactive": {
|
|
53
|
-
"type": "boolean"
|
|
46
|
+
"inactive" : {
|
|
47
|
+
"type" : "boolean"
|
|
54
48
|
},
|
|
55
|
-
"interfaceStudioProduct": {
|
|
56
|
-
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
49
|
+
"interfaceStudioProduct" : {
|
|
50
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
57
51
|
},
|
|
58
|
-
"metaCaseToOtap": {
|
|
59
|
-
"type": "boolean"
|
|
52
|
+
"metaCaseToOtap" : {
|
|
53
|
+
"type" : "boolean"
|
|
60
54
|
},
|
|
61
|
-
"ourProductId": {
|
|
62
|
-
"$ref": "common.schema.json#/$defs/caseIdOrFileReference"
|
|
55
|
+
"ourProductId" : {
|
|
56
|
+
"$ref" : "common.schema.json#/$defs/caseIdOrFileReference"
|
|
63
57
|
},
|
|
64
|
-
"url": {
|
|
65
|
-
"$ref": "template/inlineTemplate.schema.json"
|
|
58
|
+
"url" : {
|
|
59
|
+
"$ref" : "template/inlineTemplate.schema.json"
|
|
66
60
|
}
|
|
67
61
|
},
|
|
68
|
-
"required": [
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"url"
|
|
73
|
-
],
|
|
74
|
-
"title": "webhook",
|
|
75
|
-
"type": "object",
|
|
76
|
-
"$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/webhook.json."
|
|
77
|
-
}
|
|
62
|
+
"required" : [ "_type", "_uid" ],
|
|
63
|
+
"title" : "webhook",
|
|
64
|
+
"type" : "object"
|
|
65
|
+
}
|
|
@@ -76,6 +76,38 @@
|
|
|
76
76
|
"title": "while",
|
|
77
77
|
"type": "object",
|
|
78
78
|
"allOf": [
|
|
79
|
+
{
|
|
80
|
+
"if": {
|
|
81
|
+
"anyOf": [
|
|
82
|
+
{
|
|
83
|
+
"properties": {
|
|
84
|
+
"showProgress": {
|
|
85
|
+
"const": "true"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"required": [
|
|
89
|
+
"showProgress"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"properties": {
|
|
94
|
+
"showProgress": {
|
|
95
|
+
"const": "true"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"showProgress"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"then": {},
|
|
105
|
+
"else": {
|
|
106
|
+
"properties": {
|
|
107
|
+
"progressTemplate": false
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
79
111
|
{
|
|
80
112
|
"if": {
|
|
81
113
|
"anyOf": [
|
|
@@ -121,6 +153,7 @@
|
|
|
121
153
|
},
|
|
122
154
|
"then": {
|
|
123
155
|
"required": [
|
|
156
|
+
"progressTemplate",
|
|
124
157
|
"progressTitle"
|
|
125
158
|
]
|
|
126
159
|
}
|
|
@@ -994,8 +994,35 @@
|
|
|
994
994
|
}
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
|
-
"
|
|
998
|
-
"
|
|
997
|
+
"if": {
|
|
998
|
+
"anyOf": [
|
|
999
|
+
{
|
|
1000
|
+
"properties": {
|
|
1001
|
+
"isLinkedToPlatformWidget": {
|
|
1002
|
+
"const": "true"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"required": [
|
|
1006
|
+
"isLinkedToPlatformWidget"
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"properties": {
|
|
1011
|
+
"isLinkedToPlatformWidget": {
|
|
1012
|
+
"const": "true"
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
"required": [
|
|
1016
|
+
"isLinkedToPlatformWidget"
|
|
1017
|
+
]
|
|
1018
|
+
}
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"then": {},
|
|
1022
|
+
"else": {
|
|
1023
|
+
"properties": {
|
|
1024
|
+
"platformWidget": false
|
|
1025
|
+
}
|
|
999
1026
|
}
|
|
1000
1027
|
},
|
|
1001
1028
|
{
|
|
@@ -1016,6 +1043,126 @@
|
|
|
1016
1043
|
}
|
|
1017
1044
|
}
|
|
1018
1045
|
},
|
|
1046
|
+
{
|
|
1047
|
+
"if": {
|
|
1048
|
+
"anyOf": [
|
|
1049
|
+
{
|
|
1050
|
+
"allOf": [
|
|
1051
|
+
{
|
|
1052
|
+
"anyOf": [
|
|
1053
|
+
{
|
|
1054
|
+
"properties": {
|
|
1055
|
+
"widgetType": {
|
|
1056
|
+
"const": "formSearch"
|
|
1057
|
+
}
|
|
1058
|
+
},
|
|
1059
|
+
"required": [
|
|
1060
|
+
"widgetType"
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"properties": {
|
|
1065
|
+
"widgetType": {
|
|
1066
|
+
"const": "simpleSearch"
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"required": [
|
|
1070
|
+
"widgetType"
|
|
1071
|
+
]
|
|
1072
|
+
}
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"properties": {
|
|
1077
|
+
"widgetType": {
|
|
1078
|
+
"const": "simpleSearch"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
"required": [
|
|
1082
|
+
"widgetType"
|
|
1083
|
+
]
|
|
1084
|
+
}
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"properties": {
|
|
1089
|
+
"widgetType": {
|
|
1090
|
+
"const": "simpleSearch"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"required": [
|
|
1094
|
+
"widgetType"
|
|
1095
|
+
]
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1098
|
+
},
|
|
1099
|
+
"then": {},
|
|
1100
|
+
"else": {
|
|
1101
|
+
"properties": {
|
|
1102
|
+
"templateSearchBox": false
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
"if": {
|
|
1108
|
+
"anyOf": [
|
|
1109
|
+
{
|
|
1110
|
+
"allOf": [
|
|
1111
|
+
{
|
|
1112
|
+
"anyOf": [
|
|
1113
|
+
{
|
|
1114
|
+
"properties": {
|
|
1115
|
+
"widgetType": {
|
|
1116
|
+
"const": "formSearch"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
"required": [
|
|
1120
|
+
"widgetType"
|
|
1121
|
+
]
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"properties": {
|
|
1125
|
+
"widgetType": {
|
|
1126
|
+
"const": "simpleSearch"
|
|
1127
|
+
}
|
|
1128
|
+
},
|
|
1129
|
+
"required": [
|
|
1130
|
+
"widgetType"
|
|
1131
|
+
]
|
|
1132
|
+
}
|
|
1133
|
+
]
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"properties": {
|
|
1137
|
+
"widgetType": {
|
|
1138
|
+
"const": "simpleSearch"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"required": [
|
|
1142
|
+
"widgetType"
|
|
1143
|
+
]
|
|
1144
|
+
}
|
|
1145
|
+
]
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"properties": {
|
|
1149
|
+
"widgetType": {
|
|
1150
|
+
"const": "simpleSearch"
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
"required": [
|
|
1154
|
+
"widgetType"
|
|
1155
|
+
]
|
|
1156
|
+
}
|
|
1157
|
+
]
|
|
1158
|
+
},
|
|
1159
|
+
"then": {},
|
|
1160
|
+
"else": {
|
|
1161
|
+
"properties": {
|
|
1162
|
+
"templateSearchRow": false
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1019
1166
|
{
|
|
1020
1167
|
"if": {
|
|
1021
1168
|
"properties": {
|
|
@@ -1256,6 +1403,37 @@
|
|
|
1256
1403
|
]
|
|
1257
1404
|
}
|
|
1258
1405
|
},
|
|
1406
|
+
{
|
|
1407
|
+
"if": {
|
|
1408
|
+
"allOf": [
|
|
1409
|
+
{
|
|
1410
|
+
"properties": {
|
|
1411
|
+
"widgetAgentCustomActivities": {
|
|
1412
|
+
"const": "true"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
"required": [
|
|
1416
|
+
"widgetAgentCustomActivities"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"properties": {
|
|
1421
|
+
"widgetType": {
|
|
1422
|
+
"const": "AIConversationWidget"
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
"required": [
|
|
1426
|
+
"widgetType"
|
|
1427
|
+
]
|
|
1428
|
+
}
|
|
1429
|
+
]
|
|
1430
|
+
},
|
|
1431
|
+
"then": {
|
|
1432
|
+
"required": [
|
|
1433
|
+
"widgetAgentActivityFilterType"
|
|
1434
|
+
]
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1259
1437
|
{
|
|
1260
1438
|
"if": {
|
|
1261
1439
|
"properties": {
|
|
@@ -1360,6 +1538,23 @@
|
|
|
1360
1538
|
]
|
|
1361
1539
|
}
|
|
1362
1540
|
},
|
|
1541
|
+
{
|
|
1542
|
+
"if": {
|
|
1543
|
+
"properties": {
|
|
1544
|
+
"isLinkedToPlatformWidget": {
|
|
1545
|
+
"const": "true"
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"required": [
|
|
1549
|
+
"isLinkedToPlatformWidget"
|
|
1550
|
+
]
|
|
1551
|
+
},
|
|
1552
|
+
"then": {
|
|
1553
|
+
"required": [
|
|
1554
|
+
"platformWidget"
|
|
1555
|
+
]
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1363
1558
|
{
|
|
1364
1559
|
"if": {
|
|
1365
1560
|
"properties": {
|