@forge/manifest 0.0.0-experimental-9fff5da → 0.0.0-experimental-7c72fec
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/CHANGELOG.md +535 -1
- package/out/builder/processor-builder.d.ts.map +1 -1
- package/out/builder/processor-builder.js +3 -0
- package/out/index.d.ts +1 -1
- package/out/index.d.ts.map +1 -1
- package/out/mapping/product-event-to-scope-mapping.json +90 -0
- package/out/processor/deprecated-csp-method-validation-processor.d.ts +6 -0
- package/out/processor/deprecated-csp-method-validation-processor.d.ts.map +1 -0
- package/out/processor/deprecated-csp-method-validation-processor.js +18 -0
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +3 -0
- package/out/schema/basic-manifest-schema.json +9 -0
- package/out/schema/basic-manifest.d.ts +4 -0
- package/out/schema/display-conditions-schema.json +42 -0
- package/out/schema/manifest-schema.json +1876 -644
- package/out/schema/manifest.d.ts +1510 -872
- package/out/scopes/deprecated-shipyard-scopes.json +24 -0
- package/out/scopes/shipyard-scopes.json +314 -170
- package/out/text/errors.d.ts +3 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +7 -4
- package/out/types/display-condition-types.d.ts +8 -0
- package/out/types/display-condition-types.d.ts.map +1 -1
- package/out/types/module-types.d.ts +12 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +12 -0
- package/out/types/validation-types.d.ts +2 -1
- package/out/types/validation-types.d.ts.map +1 -1
- package/out/types/validation-types.js +1 -0
- package/out/validators/connect-authentication-validator.d.ts +7 -0
- package/out/validators/connect-authentication-validator.d.ts.map +1 -0
- package/out/validators/connect-authentication-validator.js +27 -0
- package/out/validators/deprecated-permissions-validator.d.ts +7 -0
- package/out/validators/deprecated-permissions-validator.d.ts.map +1 -0
- package/out/validators/deprecated-permissions-validator.js +31 -0
- package/out/validators/index.d.ts +1 -0
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -0
- package/out/validators/modules-validator.d.ts.map +1 -1
- package/out/validators/modules-validator.js +7 -2
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +14 -8
- package/out/validators/resources-validator.d.ts.map +1 -1
- package/out/validators/resources-validator.js +26 -2
- package/package.json +3 -2
|
@@ -69,6 +69,15 @@
|
|
|
69
69
|
"description": "A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.",
|
|
70
70
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
71
71
|
"maxLength": 23
|
|
72
|
+
},
|
|
73
|
+
"authentication": {
|
|
74
|
+
"description": "The type of authentication used to communicate with tenant APIs",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"default": "jwt",
|
|
77
|
+
"enum": [
|
|
78
|
+
"jwt",
|
|
79
|
+
"oauth2"
|
|
80
|
+
]
|
|
72
81
|
}
|
|
73
82
|
}
|
|
74
83
|
}
|
|
@@ -456,6 +465,9 @@
|
|
|
456
465
|
"maxLength": 255,
|
|
457
466
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
458
467
|
},
|
|
468
|
+
"displayConditions": {
|
|
469
|
+
"type": "object"
|
|
470
|
+
},
|
|
459
471
|
"key": {
|
|
460
472
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
461
473
|
}
|
|
@@ -510,6 +522,9 @@
|
|
|
510
522
|
"large"
|
|
511
523
|
]
|
|
512
524
|
},
|
|
525
|
+
"displayConditions": {
|
|
526
|
+
"type": "object"
|
|
527
|
+
},
|
|
513
528
|
"key": {
|
|
514
529
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
515
530
|
}
|
|
@@ -542,6 +557,9 @@
|
|
|
542
557
|
"maxLength": 255,
|
|
543
558
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
544
559
|
},
|
|
560
|
+
"displayConditions": {
|
|
561
|
+
"type": "object"
|
|
562
|
+
},
|
|
545
563
|
"key": {
|
|
546
564
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
547
565
|
}
|
|
@@ -597,6 +615,9 @@
|
|
|
597
615
|
"xlarge"
|
|
598
616
|
]
|
|
599
617
|
},
|
|
618
|
+
"displayConditions": {
|
|
619
|
+
"type": "object"
|
|
620
|
+
},
|
|
600
621
|
"key": {
|
|
601
622
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
602
623
|
}
|
|
@@ -783,6 +804,9 @@
|
|
|
783
804
|
"maxLength": 255,
|
|
784
805
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
785
806
|
},
|
|
807
|
+
"displayConditions": {
|
|
808
|
+
"type": "object"
|
|
809
|
+
},
|
|
786
810
|
"key": {
|
|
787
811
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
788
812
|
}
|
|
@@ -838,6 +862,9 @@
|
|
|
838
862
|
"xlarge"
|
|
839
863
|
]
|
|
840
864
|
},
|
|
865
|
+
"displayConditions": {
|
|
866
|
+
"type": "object"
|
|
867
|
+
},
|
|
841
868
|
"key": {
|
|
842
869
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
843
870
|
}
|
|
@@ -881,6 +908,9 @@
|
|
|
881
908
|
"maxLength": 255,
|
|
882
909
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
883
910
|
},
|
|
911
|
+
"displayConditions": {
|
|
912
|
+
"type": "object"
|
|
913
|
+
},
|
|
884
914
|
"key": {
|
|
885
915
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
886
916
|
}
|
|
@@ -937,6 +967,9 @@
|
|
|
937
967
|
"minLength": 1,
|
|
938
968
|
"maxLength": 255
|
|
939
969
|
},
|
|
970
|
+
"displayConditions": {
|
|
971
|
+
"type": "object"
|
|
972
|
+
},
|
|
940
973
|
"key": {
|
|
941
974
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
942
975
|
}
|
|
@@ -970,6 +1003,9 @@
|
|
|
970
1003
|
"maxLength": 255,
|
|
971
1004
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
972
1005
|
},
|
|
1006
|
+
"displayConditions": {
|
|
1007
|
+
"type": "object"
|
|
1008
|
+
},
|
|
973
1009
|
"key": {
|
|
974
1010
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
975
1011
|
}
|
|
@@ -1014,6 +1050,9 @@
|
|
|
1014
1050
|
"minLength": 1,
|
|
1015
1051
|
"maxLength": 255
|
|
1016
1052
|
},
|
|
1053
|
+
"displayConditions": {
|
|
1054
|
+
"type": "object"
|
|
1055
|
+
},
|
|
1017
1056
|
"key": {
|
|
1018
1057
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1019
1058
|
}
|
|
@@ -1046,24 +1085,134 @@
|
|
|
1046
1085
|
"maxLength": 255,
|
|
1047
1086
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1048
1087
|
},
|
|
1088
|
+
"displayConditions": {
|
|
1089
|
+
"type": "object"
|
|
1090
|
+
},
|
|
1091
|
+
"key": {
|
|
1092
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1095
|
+
"required": [
|
|
1096
|
+
"title",
|
|
1097
|
+
"function",
|
|
1098
|
+
"key"
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"type": "object",
|
|
1103
|
+
"properties": {
|
|
1104
|
+
"title": {
|
|
1105
|
+
"type": "string",
|
|
1106
|
+
"minLength": 1,
|
|
1107
|
+
"maxLength": 255
|
|
1108
|
+
},
|
|
1109
|
+
"resolver": {
|
|
1110
|
+
"additionalProperties": false,
|
|
1111
|
+
"type": "object",
|
|
1112
|
+
"properties": {
|
|
1113
|
+
"function": {
|
|
1114
|
+
"type": "string",
|
|
1115
|
+
"minLength": 1,
|
|
1116
|
+
"maxLength": 255,
|
|
1117
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"required": [
|
|
1121
|
+
"function"
|
|
1122
|
+
]
|
|
1123
|
+
},
|
|
1124
|
+
"resource": {
|
|
1125
|
+
"type": "string",
|
|
1126
|
+
"minLength": 1,
|
|
1127
|
+
"maxLength": 23,
|
|
1128
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1129
|
+
},
|
|
1130
|
+
"resourceUploadId": {
|
|
1131
|
+
"type": "string",
|
|
1132
|
+
"minLength": 1,
|
|
1133
|
+
"maxLength": 255
|
|
1134
|
+
},
|
|
1135
|
+
"displayConditions": {
|
|
1136
|
+
"type": "object"
|
|
1137
|
+
},
|
|
1138
|
+
"key": {
|
|
1139
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
"required": [
|
|
1143
|
+
"title",
|
|
1144
|
+
"resource",
|
|
1145
|
+
"key"
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
]
|
|
1149
|
+
},
|
|
1150
|
+
"minItems": 1
|
|
1151
|
+
},
|
|
1152
|
+
"confluence:globalPage": {
|
|
1153
|
+
"type": "array",
|
|
1154
|
+
"items": {
|
|
1155
|
+
"oneOf": [
|
|
1156
|
+
{
|
|
1157
|
+
"type": "object",
|
|
1158
|
+
"additionalProperties": false,
|
|
1159
|
+
"properties": {
|
|
1160
|
+
"title": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"minLength": 1,
|
|
1163
|
+
"maxLength": 255
|
|
1164
|
+
},
|
|
1165
|
+
"icon": {
|
|
1166
|
+
"type": "string",
|
|
1167
|
+
"minLength": 1,
|
|
1168
|
+
"maxLength": 255
|
|
1169
|
+
},
|
|
1170
|
+
"route": {
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"minLength": 1,
|
|
1173
|
+
"maxLength": 255,
|
|
1174
|
+
"pattern": "^[a-z0-9\\-]+$"
|
|
1175
|
+
},
|
|
1176
|
+
"function": {
|
|
1177
|
+
"type": "string",
|
|
1178
|
+
"minLength": 1,
|
|
1179
|
+
"maxLength": 255,
|
|
1180
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1181
|
+
},
|
|
1182
|
+
"displayConditions": {
|
|
1183
|
+
"type": "object"
|
|
1184
|
+
},
|
|
1049
1185
|
"key": {
|
|
1050
1186
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1051
1187
|
}
|
|
1052
1188
|
},
|
|
1053
1189
|
"required": [
|
|
1054
1190
|
"title",
|
|
1191
|
+
"route",
|
|
1055
1192
|
"function",
|
|
1056
1193
|
"key"
|
|
1057
1194
|
]
|
|
1058
1195
|
},
|
|
1059
1196
|
{
|
|
1060
1197
|
"type": "object",
|
|
1198
|
+
"additionalProperties": false,
|
|
1061
1199
|
"properties": {
|
|
1062
1200
|
"title": {
|
|
1063
1201
|
"type": "string",
|
|
1064
1202
|
"minLength": 1,
|
|
1065
1203
|
"maxLength": 255
|
|
1066
1204
|
},
|
|
1205
|
+
"icon": {
|
|
1206
|
+
"type": "string",
|
|
1207
|
+
"minLength": 1,
|
|
1208
|
+
"maxLength": 255
|
|
1209
|
+
},
|
|
1210
|
+
"route": {
|
|
1211
|
+
"type": "string",
|
|
1212
|
+
"minLength": 1,
|
|
1213
|
+
"maxLength": 255,
|
|
1214
|
+
"pattern": "^[a-z0-9\\-]+$"
|
|
1215
|
+
},
|
|
1067
1216
|
"resolver": {
|
|
1068
1217
|
"additionalProperties": false,
|
|
1069
1218
|
"type": "object",
|
|
@@ -1090,12 +1239,16 @@
|
|
|
1090
1239
|
"minLength": 1,
|
|
1091
1240
|
"maxLength": 255
|
|
1092
1241
|
},
|
|
1242
|
+
"displayConditions": {
|
|
1243
|
+
"type": "object"
|
|
1244
|
+
},
|
|
1093
1245
|
"key": {
|
|
1094
1246
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1095
1247
|
}
|
|
1096
1248
|
},
|
|
1097
1249
|
"required": [
|
|
1098
1250
|
"title",
|
|
1251
|
+
"route",
|
|
1099
1252
|
"resource",
|
|
1100
1253
|
"key"
|
|
1101
1254
|
]
|
|
@@ -1246,6 +1399,20 @@
|
|
|
1246
1399
|
}
|
|
1247
1400
|
]
|
|
1248
1401
|
},
|
|
1402
|
+
"value": {
|
|
1403
|
+
"type": "object",
|
|
1404
|
+
"properties": {
|
|
1405
|
+
"function": {
|
|
1406
|
+
"type": "string",
|
|
1407
|
+
"minLength": 1,
|
|
1408
|
+
"maxLength": 255,
|
|
1409
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"required": [
|
|
1413
|
+
"function"
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1249
1416
|
"key": {
|
|
1250
1417
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1251
1418
|
}
|
|
@@ -1362,6 +1529,20 @@
|
|
|
1362
1529
|
}
|
|
1363
1530
|
]
|
|
1364
1531
|
},
|
|
1532
|
+
"value": {
|
|
1533
|
+
"type": "object",
|
|
1534
|
+
"properties": {
|
|
1535
|
+
"function": {
|
|
1536
|
+
"type": "string",
|
|
1537
|
+
"minLength": 1,
|
|
1538
|
+
"maxLength": 255,
|
|
1539
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
"required": [
|
|
1543
|
+
"function"
|
|
1544
|
+
]
|
|
1545
|
+
},
|
|
1365
1546
|
"key": {
|
|
1366
1547
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1367
1548
|
}
|
|
@@ -1472,6 +1653,20 @@
|
|
|
1472
1653
|
}
|
|
1473
1654
|
]
|
|
1474
1655
|
},
|
|
1656
|
+
"value": {
|
|
1657
|
+
"type": "object",
|
|
1658
|
+
"properties": {
|
|
1659
|
+
"function": {
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"minLength": 1,
|
|
1662
|
+
"maxLength": 255,
|
|
1663
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
"required": [
|
|
1667
|
+
"function"
|
|
1668
|
+
]
|
|
1669
|
+
},
|
|
1475
1670
|
"icon": {
|
|
1476
1671
|
"type": "string",
|
|
1477
1672
|
"minLength": 1,
|
|
@@ -1639,6 +1834,20 @@
|
|
|
1639
1834
|
}
|
|
1640
1835
|
]
|
|
1641
1836
|
},
|
|
1837
|
+
"value": {
|
|
1838
|
+
"type": "object",
|
|
1839
|
+
"properties": {
|
|
1840
|
+
"function": {
|
|
1841
|
+
"type": "string",
|
|
1842
|
+
"minLength": 1,
|
|
1843
|
+
"maxLength": 255,
|
|
1844
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"required": [
|
|
1848
|
+
"function"
|
|
1849
|
+
]
|
|
1850
|
+
},
|
|
1642
1851
|
"icon": {
|
|
1643
1852
|
"type": "string",
|
|
1644
1853
|
"minLength": 1,
|
|
@@ -1815,31 +2024,45 @@
|
|
|
1815
2024
|
{
|
|
1816
2025
|
"type": "object",
|
|
1817
2026
|
"properties": {
|
|
1818
|
-
"
|
|
2027
|
+
"function": {
|
|
1819
2028
|
"type": "string",
|
|
1820
2029
|
"minLength": 1,
|
|
1821
|
-
"maxLength": 255
|
|
2030
|
+
"maxLength": 255,
|
|
2031
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2032
|
+
},
|
|
2033
|
+
"title": {
|
|
2034
|
+
"minLength": 1,
|
|
2035
|
+
"maxLength": 255,
|
|
2036
|
+
"type": "string"
|
|
1822
2037
|
},
|
|
1823
2038
|
"label": {
|
|
1824
|
-
"type": "string",
|
|
1825
2039
|
"minLength": 1,
|
|
1826
|
-
"maxLength": 255
|
|
2040
|
+
"maxLength": 255,
|
|
2041
|
+
"type": "string"
|
|
1827
2042
|
},
|
|
1828
2043
|
"status": {
|
|
1829
2044
|
"type": "object",
|
|
1830
2045
|
"properties": {
|
|
2046
|
+
"type": {
|
|
2047
|
+
"enum": [
|
|
2048
|
+
"badge",
|
|
2049
|
+
"icon",
|
|
2050
|
+
"lozenge"
|
|
2051
|
+
],
|
|
2052
|
+
"type": "string"
|
|
2053
|
+
},
|
|
1831
2054
|
"value": {
|
|
1832
2055
|
"type": "object",
|
|
1833
2056
|
"properties": {
|
|
1834
2057
|
"label": {
|
|
1835
|
-
"type": "string",
|
|
1836
2058
|
"minLength": 1,
|
|
1837
|
-
"maxLength": 255
|
|
2059
|
+
"maxLength": 255,
|
|
2060
|
+
"type": "string"
|
|
2061
|
+
},
|
|
2062
|
+
"url": {
|
|
2063
|
+
"type": "string"
|
|
1838
2064
|
},
|
|
1839
2065
|
"type": {
|
|
1840
|
-
"type": "string",
|
|
1841
|
-
"minLength": 1,
|
|
1842
|
-
"maxLength": 255,
|
|
1843
2066
|
"enum": [
|
|
1844
2067
|
"default",
|
|
1845
2068
|
"inprogress",
|
|
@@ -1847,73 +2070,93 @@
|
|
|
1847
2070
|
"new",
|
|
1848
2071
|
"removed",
|
|
1849
2072
|
"success"
|
|
1850
|
-
]
|
|
2073
|
+
],
|
|
2074
|
+
"type": "string"
|
|
1851
2075
|
}
|
|
1852
2076
|
},
|
|
1853
2077
|
"required": [
|
|
1854
2078
|
"label"
|
|
1855
2079
|
]
|
|
1856
|
-
},
|
|
1857
|
-
"type": {
|
|
1858
|
-
"type": "string",
|
|
1859
|
-
"minLength": 1,
|
|
1860
|
-
"maxLength": 255,
|
|
1861
|
-
"enum": [
|
|
1862
|
-
"badge",
|
|
1863
|
-
"lozenge"
|
|
1864
|
-
]
|
|
1865
2080
|
}
|
|
1866
2081
|
},
|
|
1867
2082
|
"required": [
|
|
1868
|
-
"
|
|
1869
|
-
"
|
|
2083
|
+
"type",
|
|
2084
|
+
"value"
|
|
1870
2085
|
]
|
|
1871
2086
|
},
|
|
1872
|
-
"
|
|
2087
|
+
"icon": {
|
|
1873
2088
|
"type": "string",
|
|
1874
2089
|
"minLength": 1,
|
|
1875
|
-
"maxLength": 255
|
|
1876
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2090
|
+
"maxLength": 255
|
|
1877
2091
|
},
|
|
1878
2092
|
"key": {
|
|
1879
2093
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1880
2094
|
}
|
|
1881
2095
|
},
|
|
1882
2096
|
"required": [
|
|
1883
|
-
"title",
|
|
1884
|
-
"label",
|
|
1885
2097
|
"function",
|
|
2098
|
+
"label",
|
|
2099
|
+
"title",
|
|
1886
2100
|
"key"
|
|
1887
2101
|
]
|
|
1888
2102
|
},
|
|
1889
2103
|
{
|
|
1890
2104
|
"type": "object",
|
|
1891
2105
|
"properties": {
|
|
1892
|
-
"
|
|
2106
|
+
"resource": {
|
|
1893
2107
|
"type": "string",
|
|
1894
2108
|
"minLength": 1,
|
|
1895
|
-
"maxLength":
|
|
2109
|
+
"maxLength": 23,
|
|
2110
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1896
2111
|
},
|
|
1897
|
-
"
|
|
1898
|
-
"
|
|
2112
|
+
"resolver": {
|
|
2113
|
+
"additionalProperties": false,
|
|
2114
|
+
"type": "object",
|
|
2115
|
+
"properties": {
|
|
2116
|
+
"function": {
|
|
2117
|
+
"type": "string",
|
|
2118
|
+
"minLength": 1,
|
|
2119
|
+
"maxLength": 255,
|
|
2120
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
"required": [
|
|
2124
|
+
"function"
|
|
2125
|
+
]
|
|
2126
|
+
},
|
|
2127
|
+
"title": {
|
|
1899
2128
|
"minLength": 1,
|
|
1900
|
-
"maxLength": 255
|
|
2129
|
+
"maxLength": 255,
|
|
2130
|
+
"type": "string"
|
|
2131
|
+
},
|
|
2132
|
+
"label": {
|
|
2133
|
+
"minLength": 1,
|
|
2134
|
+
"maxLength": 255,
|
|
2135
|
+
"type": "string"
|
|
1901
2136
|
},
|
|
1902
2137
|
"status": {
|
|
1903
2138
|
"type": "object",
|
|
1904
2139
|
"properties": {
|
|
2140
|
+
"type": {
|
|
2141
|
+
"enum": [
|
|
2142
|
+
"badge",
|
|
2143
|
+
"icon",
|
|
2144
|
+
"lozenge"
|
|
2145
|
+
],
|
|
2146
|
+
"type": "string"
|
|
2147
|
+
},
|
|
1905
2148
|
"value": {
|
|
1906
2149
|
"type": "object",
|
|
1907
2150
|
"properties": {
|
|
1908
2151
|
"label": {
|
|
1909
|
-
"type": "string",
|
|
1910
2152
|
"minLength": 1,
|
|
1911
|
-
"maxLength": 255
|
|
2153
|
+
"maxLength": 255,
|
|
2154
|
+
"type": "string"
|
|
2155
|
+
},
|
|
2156
|
+
"url": {
|
|
2157
|
+
"type": "string"
|
|
1912
2158
|
},
|
|
1913
2159
|
"type": {
|
|
1914
|
-
"type": "string",
|
|
1915
|
-
"minLength": 1,
|
|
1916
|
-
"maxLength": 255,
|
|
1917
2160
|
"enum": [
|
|
1918
2161
|
"default",
|
|
1919
2162
|
"inprogress",
|
|
@@ -1921,50 +2164,21 @@
|
|
|
1921
2164
|
"new",
|
|
1922
2165
|
"removed",
|
|
1923
2166
|
"success"
|
|
1924
|
-
]
|
|
2167
|
+
],
|
|
2168
|
+
"type": "string"
|
|
1925
2169
|
}
|
|
1926
2170
|
},
|
|
1927
2171
|
"required": [
|
|
1928
2172
|
"label"
|
|
1929
2173
|
]
|
|
1930
|
-
},
|
|
1931
|
-
"type": {
|
|
1932
|
-
"type": "string",
|
|
1933
|
-
"minLength": 1,
|
|
1934
|
-
"maxLength": 255,
|
|
1935
|
-
"enum": [
|
|
1936
|
-
"badge",
|
|
1937
|
-
"lozenge"
|
|
1938
|
-
]
|
|
1939
|
-
}
|
|
1940
|
-
},
|
|
1941
|
-
"required": [
|
|
1942
|
-
"value",
|
|
1943
|
-
"type"
|
|
1944
|
-
]
|
|
1945
|
-
},
|
|
1946
|
-
"resolver": {
|
|
1947
|
-
"additionalProperties": false,
|
|
1948
|
-
"type": "object",
|
|
1949
|
-
"properties": {
|
|
1950
|
-
"function": {
|
|
1951
|
-
"type": "string",
|
|
1952
|
-
"minLength": 1,
|
|
1953
|
-
"maxLength": 255,
|
|
1954
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1955
2174
|
}
|
|
1956
2175
|
},
|
|
1957
2176
|
"required": [
|
|
1958
|
-
"
|
|
2177
|
+
"type",
|
|
2178
|
+
"value"
|
|
1959
2179
|
]
|
|
1960
2180
|
},
|
|
1961
|
-
"
|
|
1962
|
-
"type": "string",
|
|
1963
|
-
"minLength": 1,
|
|
1964
|
-
"maxLength": 23,
|
|
1965
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1966
|
-
},
|
|
1967
|
-
"resourceUploadId": {
|
|
2181
|
+
"icon": {
|
|
1968
2182
|
"type": "string",
|
|
1969
2183
|
"minLength": 1,
|
|
1970
2184
|
"maxLength": 255
|
|
@@ -1974,9 +2188,9 @@
|
|
|
1974
2188
|
}
|
|
1975
2189
|
},
|
|
1976
2190
|
"required": [
|
|
1977
|
-
"title",
|
|
1978
2191
|
"label",
|
|
1979
2192
|
"resource",
|
|
2193
|
+
"title",
|
|
1980
2194
|
"key"
|
|
1981
2195
|
]
|
|
1982
2196
|
}
|
|
@@ -2286,12 +2500,13 @@
|
|
|
2286
2500
|
"oneOf": [
|
|
2287
2501
|
{
|
|
2288
2502
|
"type": "object",
|
|
2289
|
-
"required": [
|
|
2290
|
-
"title",
|
|
2291
|
-
"function",
|
|
2292
|
-
"key"
|
|
2293
|
-
],
|
|
2294
2503
|
"properties": {
|
|
2504
|
+
"function": {
|
|
2505
|
+
"type": "string",
|
|
2506
|
+
"minLength": 1,
|
|
2507
|
+
"maxLength": 255,
|
|
2508
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2509
|
+
},
|
|
2295
2510
|
"title": {
|
|
2296
2511
|
"type": "string",
|
|
2297
2512
|
"minLength": 1,
|
|
@@ -2303,52 +2518,106 @@
|
|
|
2303
2518
|
"maxLength": 255
|
|
2304
2519
|
},
|
|
2305
2520
|
"layout": {
|
|
2306
|
-
"type": "string",
|
|
2307
|
-
"minLength": 1,
|
|
2308
|
-
"maxLength": 255,
|
|
2309
2521
|
"enum": [
|
|
2310
|
-
"
|
|
2311
|
-
"
|
|
2312
|
-
]
|
|
2522
|
+
"basic",
|
|
2523
|
+
"native"
|
|
2524
|
+
],
|
|
2525
|
+
"type": "string"
|
|
2313
2526
|
},
|
|
2314
|
-
"
|
|
2315
|
-
"type": "
|
|
2316
|
-
"
|
|
2317
|
-
|
|
2318
|
-
|
|
2527
|
+
"pages": {
|
|
2528
|
+
"type": "array",
|
|
2529
|
+
"items": {
|
|
2530
|
+
"type": "object",
|
|
2531
|
+
"properties": {
|
|
2532
|
+
"title": {
|
|
2533
|
+
"type": "string",
|
|
2534
|
+
"minLength": 1,
|
|
2535
|
+
"maxLength": 255
|
|
2536
|
+
},
|
|
2537
|
+
"route": {
|
|
2538
|
+
"minLength": 1,
|
|
2539
|
+
"maxLength": 255,
|
|
2540
|
+
"type": "string"
|
|
2541
|
+
},
|
|
2542
|
+
"icon": {
|
|
2543
|
+
"type": "string",
|
|
2544
|
+
"minLength": 1,
|
|
2545
|
+
"maxLength": 255
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
"required": [
|
|
2549
|
+
"route",
|
|
2550
|
+
"title"
|
|
2551
|
+
]
|
|
2552
|
+
}
|
|
2553
|
+
},
|
|
2554
|
+
"sections": {
|
|
2555
|
+
"type": "array",
|
|
2556
|
+
"items": {
|
|
2557
|
+
"type": "object",
|
|
2558
|
+
"properties": {
|
|
2559
|
+
"header": {
|
|
2560
|
+
"minLength": 1,
|
|
2561
|
+
"maxLength": 255,
|
|
2562
|
+
"type": "string"
|
|
2563
|
+
},
|
|
2564
|
+
"pages": {
|
|
2565
|
+
"type": "array",
|
|
2566
|
+
"items": {
|
|
2567
|
+
"type": "object",
|
|
2568
|
+
"properties": {
|
|
2569
|
+
"title": {
|
|
2570
|
+
"type": "string",
|
|
2571
|
+
"minLength": 1,
|
|
2572
|
+
"maxLength": 255
|
|
2573
|
+
},
|
|
2574
|
+
"route": {
|
|
2575
|
+
"minLength": 1,
|
|
2576
|
+
"maxLength": 255,
|
|
2577
|
+
"type": "string"
|
|
2578
|
+
},
|
|
2579
|
+
"icon": {
|
|
2580
|
+
"type": "string",
|
|
2581
|
+
"minLength": 1,
|
|
2582
|
+
"maxLength": 255
|
|
2583
|
+
}
|
|
2584
|
+
},
|
|
2585
|
+
"required": [
|
|
2586
|
+
"route",
|
|
2587
|
+
"title"
|
|
2588
|
+
]
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
"required": [
|
|
2593
|
+
"pages"
|
|
2594
|
+
]
|
|
2595
|
+
}
|
|
2319
2596
|
},
|
|
2320
2597
|
"key": {
|
|
2321
2598
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2322
2599
|
}
|
|
2323
|
-
}
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"type": "object",
|
|
2600
|
+
},
|
|
2327
2601
|
"required": [
|
|
2602
|
+
"function",
|
|
2328
2603
|
"title",
|
|
2329
|
-
"resource",
|
|
2330
2604
|
"key"
|
|
2331
|
-
]
|
|
2605
|
+
]
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
"type": "object",
|
|
2332
2609
|
"properties": {
|
|
2333
|
-
"
|
|
2610
|
+
"resource": {
|
|
2334
2611
|
"type": "string",
|
|
2335
2612
|
"minLength": 1,
|
|
2336
|
-
"maxLength":
|
|
2613
|
+
"maxLength": 23,
|
|
2614
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2337
2615
|
},
|
|
2338
|
-
"
|
|
2616
|
+
"resourceUploadId": {
|
|
2339
2617
|
"type": "string",
|
|
2340
2618
|
"minLength": 1,
|
|
2341
2619
|
"maxLength": 255
|
|
2342
2620
|
},
|
|
2343
|
-
"layout": {
|
|
2344
|
-
"type": "string",
|
|
2345
|
-
"minLength": 1,
|
|
2346
|
-
"maxLength": 255,
|
|
2347
|
-
"enum": [
|
|
2348
|
-
"native",
|
|
2349
|
-
"basic"
|
|
2350
|
-
]
|
|
2351
|
-
},
|
|
2352
2621
|
"resolver": {
|
|
2353
2622
|
"additionalProperties": false,
|
|
2354
2623
|
"type": "object",
|
|
@@ -2364,21 +2633,102 @@
|
|
|
2364
2633
|
"function"
|
|
2365
2634
|
]
|
|
2366
2635
|
},
|
|
2367
|
-
"
|
|
2636
|
+
"title": {
|
|
2368
2637
|
"type": "string",
|
|
2369
2638
|
"minLength": 1,
|
|
2370
|
-
"maxLength":
|
|
2371
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2639
|
+
"maxLength": 255
|
|
2372
2640
|
},
|
|
2373
|
-
"
|
|
2641
|
+
"icon": {
|
|
2374
2642
|
"type": "string",
|
|
2375
2643
|
"minLength": 1,
|
|
2376
2644
|
"maxLength": 255
|
|
2377
2645
|
},
|
|
2646
|
+
"layout": {
|
|
2647
|
+
"enum": [
|
|
2648
|
+
"basic",
|
|
2649
|
+
"native"
|
|
2650
|
+
],
|
|
2651
|
+
"type": "string"
|
|
2652
|
+
},
|
|
2653
|
+
"pages": {
|
|
2654
|
+
"type": "array",
|
|
2655
|
+
"items": {
|
|
2656
|
+
"type": "object",
|
|
2657
|
+
"properties": {
|
|
2658
|
+
"title": {
|
|
2659
|
+
"type": "string",
|
|
2660
|
+
"minLength": 1,
|
|
2661
|
+
"maxLength": 255
|
|
2662
|
+
},
|
|
2663
|
+
"route": {
|
|
2664
|
+
"minLength": 1,
|
|
2665
|
+
"maxLength": 255,
|
|
2666
|
+
"type": "string"
|
|
2667
|
+
},
|
|
2668
|
+
"icon": {
|
|
2669
|
+
"type": "string",
|
|
2670
|
+
"minLength": 1,
|
|
2671
|
+
"maxLength": 255
|
|
2672
|
+
}
|
|
2673
|
+
},
|
|
2674
|
+
"required": [
|
|
2675
|
+
"route",
|
|
2676
|
+
"title"
|
|
2677
|
+
]
|
|
2678
|
+
}
|
|
2679
|
+
},
|
|
2680
|
+
"sections": {
|
|
2681
|
+
"type": "array",
|
|
2682
|
+
"items": {
|
|
2683
|
+
"type": "object",
|
|
2684
|
+
"properties": {
|
|
2685
|
+
"header": {
|
|
2686
|
+
"minLength": 1,
|
|
2687
|
+
"maxLength": 255,
|
|
2688
|
+
"type": "string"
|
|
2689
|
+
},
|
|
2690
|
+
"pages": {
|
|
2691
|
+
"type": "array",
|
|
2692
|
+
"items": {
|
|
2693
|
+
"type": "object",
|
|
2694
|
+
"properties": {
|
|
2695
|
+
"title": {
|
|
2696
|
+
"type": "string",
|
|
2697
|
+
"minLength": 1,
|
|
2698
|
+
"maxLength": 255
|
|
2699
|
+
},
|
|
2700
|
+
"route": {
|
|
2701
|
+
"minLength": 1,
|
|
2702
|
+
"maxLength": 255,
|
|
2703
|
+
"type": "string"
|
|
2704
|
+
},
|
|
2705
|
+
"icon": {
|
|
2706
|
+
"type": "string",
|
|
2707
|
+
"minLength": 1,
|
|
2708
|
+
"maxLength": 255
|
|
2709
|
+
}
|
|
2710
|
+
},
|
|
2711
|
+
"required": [
|
|
2712
|
+
"route",
|
|
2713
|
+
"title"
|
|
2714
|
+
]
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
"required": [
|
|
2719
|
+
"pages"
|
|
2720
|
+
]
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2378
2723
|
"key": {
|
|
2379
2724
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2380
2725
|
}
|
|
2381
|
-
}
|
|
2726
|
+
},
|
|
2727
|
+
"required": [
|
|
2728
|
+
"resource",
|
|
2729
|
+
"title",
|
|
2730
|
+
"key"
|
|
2731
|
+
]
|
|
2382
2732
|
}
|
|
2383
2733
|
]
|
|
2384
2734
|
},
|
|
@@ -2390,50 +2740,13 @@
|
|
|
2390
2740
|
"oneOf": [
|
|
2391
2741
|
{
|
|
2392
2742
|
"type": "object",
|
|
2393
|
-
"required": [
|
|
2394
|
-
"title",
|
|
2395
|
-
"function",
|
|
2396
|
-
"key"
|
|
2397
|
-
],
|
|
2398
2743
|
"properties": {
|
|
2399
|
-
"title": {
|
|
2400
|
-
"type": "string",
|
|
2401
|
-
"minLength": 1,
|
|
2402
|
-
"maxLength": 255
|
|
2403
|
-
},
|
|
2404
|
-
"icon": {
|
|
2405
|
-
"type": "string",
|
|
2406
|
-
"minLength": 1,
|
|
2407
|
-
"maxLength": 255
|
|
2408
|
-
},
|
|
2409
|
-
"layout": {
|
|
2410
|
-
"type": "string",
|
|
2411
|
-
"minLength": 1,
|
|
2412
|
-
"maxLength": 255,
|
|
2413
|
-
"enum": [
|
|
2414
|
-
"native",
|
|
2415
|
-
"basic"
|
|
2416
|
-
]
|
|
2417
|
-
},
|
|
2418
2744
|
"function": {
|
|
2419
2745
|
"type": "string",
|
|
2420
2746
|
"minLength": 1,
|
|
2421
2747
|
"maxLength": 255,
|
|
2422
2748
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2423
2749
|
},
|
|
2424
|
-
"key": {
|
|
2425
|
-
"$ref": "#/definitions/ModuleKeySchema"
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
},
|
|
2429
|
-
{
|
|
2430
|
-
"type": "object",
|
|
2431
|
-
"required": [
|
|
2432
|
-
"title",
|
|
2433
|
-
"resource",
|
|
2434
|
-
"key"
|
|
2435
|
-
],
|
|
2436
|
-
"properties": {
|
|
2437
2750
|
"title": {
|
|
2438
2751
|
"type": "string",
|
|
2439
2752
|
"minLength": 1,
|
|
@@ -2445,13 +2758,585 @@
|
|
|
2445
2758
|
"maxLength": 255
|
|
2446
2759
|
},
|
|
2447
2760
|
"layout": {
|
|
2448
|
-
"type": "string",
|
|
2449
|
-
"minLength": 1,
|
|
2450
|
-
"maxLength": 255,
|
|
2451
2761
|
"enum": [
|
|
2452
|
-
"
|
|
2453
|
-
"
|
|
2454
|
-
]
|
|
2762
|
+
"basic",
|
|
2763
|
+
"native"
|
|
2764
|
+
],
|
|
2765
|
+
"type": "string"
|
|
2766
|
+
},
|
|
2767
|
+
"pages": {
|
|
2768
|
+
"type": "array",
|
|
2769
|
+
"items": {
|
|
2770
|
+
"type": "object",
|
|
2771
|
+
"properties": {
|
|
2772
|
+
"title": {
|
|
2773
|
+
"type": "string",
|
|
2774
|
+
"minLength": 1,
|
|
2775
|
+
"maxLength": 255
|
|
2776
|
+
},
|
|
2777
|
+
"route": {
|
|
2778
|
+
"minLength": 1,
|
|
2779
|
+
"maxLength": 255,
|
|
2780
|
+
"type": "string"
|
|
2781
|
+
},
|
|
2782
|
+
"icon": {
|
|
2783
|
+
"type": "string",
|
|
2784
|
+
"minLength": 1,
|
|
2785
|
+
"maxLength": 255
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
"required": [
|
|
2789
|
+
"route",
|
|
2790
|
+
"title"
|
|
2791
|
+
]
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
"sections": {
|
|
2795
|
+
"type": "array",
|
|
2796
|
+
"items": {
|
|
2797
|
+
"type": "object",
|
|
2798
|
+
"properties": {
|
|
2799
|
+
"header": {
|
|
2800
|
+
"minLength": 1,
|
|
2801
|
+
"maxLength": 255,
|
|
2802
|
+
"type": "string"
|
|
2803
|
+
},
|
|
2804
|
+
"pages": {
|
|
2805
|
+
"type": "array",
|
|
2806
|
+
"items": {
|
|
2807
|
+
"type": "object",
|
|
2808
|
+
"properties": {
|
|
2809
|
+
"title": {
|
|
2810
|
+
"type": "string",
|
|
2811
|
+
"minLength": 1,
|
|
2812
|
+
"maxLength": 255
|
|
2813
|
+
},
|
|
2814
|
+
"route": {
|
|
2815
|
+
"minLength": 1,
|
|
2816
|
+
"maxLength": 255,
|
|
2817
|
+
"type": "string"
|
|
2818
|
+
},
|
|
2819
|
+
"icon": {
|
|
2820
|
+
"type": "string",
|
|
2821
|
+
"minLength": 1,
|
|
2822
|
+
"maxLength": 255
|
|
2823
|
+
}
|
|
2824
|
+
},
|
|
2825
|
+
"required": [
|
|
2826
|
+
"route",
|
|
2827
|
+
"title"
|
|
2828
|
+
]
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
},
|
|
2832
|
+
"required": [
|
|
2833
|
+
"pages"
|
|
2834
|
+
]
|
|
2835
|
+
}
|
|
2836
|
+
},
|
|
2837
|
+
"key": {
|
|
2838
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2841
|
+
"required": [
|
|
2842
|
+
"function",
|
|
2843
|
+
"title",
|
|
2844
|
+
"key"
|
|
2845
|
+
]
|
|
2846
|
+
},
|
|
2847
|
+
{
|
|
2848
|
+
"type": "object",
|
|
2849
|
+
"properties": {
|
|
2850
|
+
"resource": {
|
|
2851
|
+
"type": "string",
|
|
2852
|
+
"minLength": 1,
|
|
2853
|
+
"maxLength": 23,
|
|
2854
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2855
|
+
},
|
|
2856
|
+
"resourceUploadId": {
|
|
2857
|
+
"type": "string",
|
|
2858
|
+
"minLength": 1,
|
|
2859
|
+
"maxLength": 255
|
|
2860
|
+
},
|
|
2861
|
+
"resolver": {
|
|
2862
|
+
"additionalProperties": false,
|
|
2863
|
+
"type": "object",
|
|
2864
|
+
"properties": {
|
|
2865
|
+
"function": {
|
|
2866
|
+
"type": "string",
|
|
2867
|
+
"minLength": 1,
|
|
2868
|
+
"maxLength": 255,
|
|
2869
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
"required": [
|
|
2873
|
+
"function"
|
|
2874
|
+
]
|
|
2875
|
+
},
|
|
2876
|
+
"title": {
|
|
2877
|
+
"type": "string",
|
|
2878
|
+
"minLength": 1,
|
|
2879
|
+
"maxLength": 255
|
|
2880
|
+
},
|
|
2881
|
+
"icon": {
|
|
2882
|
+
"type": "string",
|
|
2883
|
+
"minLength": 1,
|
|
2884
|
+
"maxLength": 255
|
|
2885
|
+
},
|
|
2886
|
+
"layout": {
|
|
2887
|
+
"enum": [
|
|
2888
|
+
"basic",
|
|
2889
|
+
"native"
|
|
2890
|
+
],
|
|
2891
|
+
"type": "string"
|
|
2892
|
+
},
|
|
2893
|
+
"pages": {
|
|
2894
|
+
"type": "array",
|
|
2895
|
+
"items": {
|
|
2896
|
+
"type": "object",
|
|
2897
|
+
"properties": {
|
|
2898
|
+
"title": {
|
|
2899
|
+
"type": "string",
|
|
2900
|
+
"minLength": 1,
|
|
2901
|
+
"maxLength": 255
|
|
2902
|
+
},
|
|
2903
|
+
"route": {
|
|
2904
|
+
"minLength": 1,
|
|
2905
|
+
"maxLength": 255,
|
|
2906
|
+
"type": "string"
|
|
2907
|
+
},
|
|
2908
|
+
"icon": {
|
|
2909
|
+
"type": "string",
|
|
2910
|
+
"minLength": 1,
|
|
2911
|
+
"maxLength": 255
|
|
2912
|
+
}
|
|
2913
|
+
},
|
|
2914
|
+
"required": [
|
|
2915
|
+
"route",
|
|
2916
|
+
"title"
|
|
2917
|
+
]
|
|
2918
|
+
}
|
|
2919
|
+
},
|
|
2920
|
+
"sections": {
|
|
2921
|
+
"type": "array",
|
|
2922
|
+
"items": {
|
|
2923
|
+
"type": "object",
|
|
2924
|
+
"properties": {
|
|
2925
|
+
"header": {
|
|
2926
|
+
"minLength": 1,
|
|
2927
|
+
"maxLength": 255,
|
|
2928
|
+
"type": "string"
|
|
2929
|
+
},
|
|
2930
|
+
"pages": {
|
|
2931
|
+
"type": "array",
|
|
2932
|
+
"items": {
|
|
2933
|
+
"type": "object",
|
|
2934
|
+
"properties": {
|
|
2935
|
+
"title": {
|
|
2936
|
+
"type": "string",
|
|
2937
|
+
"minLength": 1,
|
|
2938
|
+
"maxLength": 255
|
|
2939
|
+
},
|
|
2940
|
+
"route": {
|
|
2941
|
+
"minLength": 1,
|
|
2942
|
+
"maxLength": 255,
|
|
2943
|
+
"type": "string"
|
|
2944
|
+
},
|
|
2945
|
+
"icon": {
|
|
2946
|
+
"type": "string",
|
|
2947
|
+
"minLength": 1,
|
|
2948
|
+
"maxLength": 255
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2951
|
+
"required": [
|
|
2952
|
+
"route",
|
|
2953
|
+
"title"
|
|
2954
|
+
]
|
|
2955
|
+
}
|
|
2956
|
+
}
|
|
2957
|
+
},
|
|
2958
|
+
"required": [
|
|
2959
|
+
"pages"
|
|
2960
|
+
]
|
|
2961
|
+
}
|
|
2962
|
+
},
|
|
2963
|
+
"key": {
|
|
2964
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
"required": [
|
|
2968
|
+
"resource",
|
|
2969
|
+
"title",
|
|
2970
|
+
"key"
|
|
2971
|
+
]
|
|
2972
|
+
}
|
|
2973
|
+
]
|
|
2974
|
+
},
|
|
2975
|
+
"minItems": 1
|
|
2976
|
+
},
|
|
2977
|
+
"jira:globalPage": {
|
|
2978
|
+
"type": "array",
|
|
2979
|
+
"items": {
|
|
2980
|
+
"oneOf": [
|
|
2981
|
+
{
|
|
2982
|
+
"type": "object",
|
|
2983
|
+
"properties": {
|
|
2984
|
+
"function": {
|
|
2985
|
+
"type": "string",
|
|
2986
|
+
"minLength": 1,
|
|
2987
|
+
"maxLength": 255,
|
|
2988
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2989
|
+
},
|
|
2990
|
+
"title": {
|
|
2991
|
+
"type": "string",
|
|
2992
|
+
"minLength": 1,
|
|
2993
|
+
"maxLength": 255
|
|
2994
|
+
},
|
|
2995
|
+
"icon": {
|
|
2996
|
+
"type": "string",
|
|
2997
|
+
"minLength": 1,
|
|
2998
|
+
"maxLength": 255
|
|
2999
|
+
},
|
|
3000
|
+
"layout": {
|
|
3001
|
+
"enum": [
|
|
3002
|
+
"basic",
|
|
3003
|
+
"native"
|
|
3004
|
+
],
|
|
3005
|
+
"type": "string"
|
|
3006
|
+
},
|
|
3007
|
+
"pages": {
|
|
3008
|
+
"type": "array",
|
|
3009
|
+
"items": {
|
|
3010
|
+
"type": "object",
|
|
3011
|
+
"properties": {
|
|
3012
|
+
"title": {
|
|
3013
|
+
"type": "string",
|
|
3014
|
+
"minLength": 1,
|
|
3015
|
+
"maxLength": 255
|
|
3016
|
+
},
|
|
3017
|
+
"route": {
|
|
3018
|
+
"minLength": 1,
|
|
3019
|
+
"maxLength": 255,
|
|
3020
|
+
"type": "string"
|
|
3021
|
+
},
|
|
3022
|
+
"icon": {
|
|
3023
|
+
"type": "string",
|
|
3024
|
+
"minLength": 1,
|
|
3025
|
+
"maxLength": 255
|
|
3026
|
+
}
|
|
3027
|
+
},
|
|
3028
|
+
"required": [
|
|
3029
|
+
"route",
|
|
3030
|
+
"title"
|
|
3031
|
+
]
|
|
3032
|
+
}
|
|
3033
|
+
},
|
|
3034
|
+
"sections": {
|
|
3035
|
+
"type": "array",
|
|
3036
|
+
"items": {
|
|
3037
|
+
"type": "object",
|
|
3038
|
+
"properties": {
|
|
3039
|
+
"header": {
|
|
3040
|
+
"minLength": 1,
|
|
3041
|
+
"maxLength": 255,
|
|
3042
|
+
"type": "string"
|
|
3043
|
+
},
|
|
3044
|
+
"pages": {
|
|
3045
|
+
"type": "array",
|
|
3046
|
+
"items": {
|
|
3047
|
+
"type": "object",
|
|
3048
|
+
"properties": {
|
|
3049
|
+
"title": {
|
|
3050
|
+
"type": "string",
|
|
3051
|
+
"minLength": 1,
|
|
3052
|
+
"maxLength": 255
|
|
3053
|
+
},
|
|
3054
|
+
"route": {
|
|
3055
|
+
"minLength": 1,
|
|
3056
|
+
"maxLength": 255,
|
|
3057
|
+
"type": "string"
|
|
3058
|
+
},
|
|
3059
|
+
"icon": {
|
|
3060
|
+
"type": "string",
|
|
3061
|
+
"minLength": 1,
|
|
3062
|
+
"maxLength": 255
|
|
3063
|
+
}
|
|
3064
|
+
},
|
|
3065
|
+
"required": [
|
|
3066
|
+
"route",
|
|
3067
|
+
"title"
|
|
3068
|
+
]
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3072
|
+
"required": [
|
|
3073
|
+
"pages"
|
|
3074
|
+
]
|
|
3075
|
+
}
|
|
3076
|
+
},
|
|
3077
|
+
"key": {
|
|
3078
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3079
|
+
}
|
|
3080
|
+
},
|
|
3081
|
+
"required": [
|
|
3082
|
+
"function",
|
|
3083
|
+
"title",
|
|
3084
|
+
"key"
|
|
3085
|
+
]
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"type": "object",
|
|
3089
|
+
"properties": {
|
|
3090
|
+
"resource": {
|
|
3091
|
+
"type": "string",
|
|
3092
|
+
"minLength": 1,
|
|
3093
|
+
"maxLength": 23,
|
|
3094
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3095
|
+
},
|
|
3096
|
+
"resourceUploadId": {
|
|
3097
|
+
"type": "string",
|
|
3098
|
+
"minLength": 1,
|
|
3099
|
+
"maxLength": 255
|
|
3100
|
+
},
|
|
3101
|
+
"resolver": {
|
|
3102
|
+
"additionalProperties": false,
|
|
3103
|
+
"type": "object",
|
|
3104
|
+
"properties": {
|
|
3105
|
+
"function": {
|
|
3106
|
+
"type": "string",
|
|
3107
|
+
"minLength": 1,
|
|
3108
|
+
"maxLength": 255,
|
|
3109
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3110
|
+
}
|
|
3111
|
+
},
|
|
3112
|
+
"required": [
|
|
3113
|
+
"function"
|
|
3114
|
+
]
|
|
3115
|
+
},
|
|
3116
|
+
"title": {
|
|
3117
|
+
"type": "string",
|
|
3118
|
+
"minLength": 1,
|
|
3119
|
+
"maxLength": 255
|
|
3120
|
+
},
|
|
3121
|
+
"icon": {
|
|
3122
|
+
"type": "string",
|
|
3123
|
+
"minLength": 1,
|
|
3124
|
+
"maxLength": 255
|
|
3125
|
+
},
|
|
3126
|
+
"layout": {
|
|
3127
|
+
"enum": [
|
|
3128
|
+
"basic",
|
|
3129
|
+
"native"
|
|
3130
|
+
],
|
|
3131
|
+
"type": "string"
|
|
3132
|
+
},
|
|
3133
|
+
"pages": {
|
|
3134
|
+
"type": "array",
|
|
3135
|
+
"items": {
|
|
3136
|
+
"type": "object",
|
|
3137
|
+
"properties": {
|
|
3138
|
+
"title": {
|
|
3139
|
+
"type": "string",
|
|
3140
|
+
"minLength": 1,
|
|
3141
|
+
"maxLength": 255
|
|
3142
|
+
},
|
|
3143
|
+
"route": {
|
|
3144
|
+
"minLength": 1,
|
|
3145
|
+
"maxLength": 255,
|
|
3146
|
+
"type": "string"
|
|
3147
|
+
},
|
|
3148
|
+
"icon": {
|
|
3149
|
+
"type": "string",
|
|
3150
|
+
"minLength": 1,
|
|
3151
|
+
"maxLength": 255
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
"required": [
|
|
3155
|
+
"route",
|
|
3156
|
+
"title"
|
|
3157
|
+
]
|
|
3158
|
+
}
|
|
3159
|
+
},
|
|
3160
|
+
"sections": {
|
|
3161
|
+
"type": "array",
|
|
3162
|
+
"items": {
|
|
3163
|
+
"type": "object",
|
|
3164
|
+
"properties": {
|
|
3165
|
+
"header": {
|
|
3166
|
+
"minLength": 1,
|
|
3167
|
+
"maxLength": 255,
|
|
3168
|
+
"type": "string"
|
|
3169
|
+
},
|
|
3170
|
+
"pages": {
|
|
3171
|
+
"type": "array",
|
|
3172
|
+
"items": {
|
|
3173
|
+
"type": "object",
|
|
3174
|
+
"properties": {
|
|
3175
|
+
"title": {
|
|
3176
|
+
"type": "string",
|
|
3177
|
+
"minLength": 1,
|
|
3178
|
+
"maxLength": 255
|
|
3179
|
+
},
|
|
3180
|
+
"route": {
|
|
3181
|
+
"minLength": 1,
|
|
3182
|
+
"maxLength": 255,
|
|
3183
|
+
"type": "string"
|
|
3184
|
+
},
|
|
3185
|
+
"icon": {
|
|
3186
|
+
"type": "string",
|
|
3187
|
+
"minLength": 1,
|
|
3188
|
+
"maxLength": 255
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
"required": [
|
|
3192
|
+
"route",
|
|
3193
|
+
"title"
|
|
3194
|
+
]
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
},
|
|
3198
|
+
"required": [
|
|
3199
|
+
"pages"
|
|
3200
|
+
]
|
|
3201
|
+
}
|
|
3202
|
+
},
|
|
3203
|
+
"key": {
|
|
3204
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3205
|
+
}
|
|
3206
|
+
},
|
|
3207
|
+
"required": [
|
|
3208
|
+
"resource",
|
|
3209
|
+
"title",
|
|
3210
|
+
"key"
|
|
3211
|
+
]
|
|
3212
|
+
}
|
|
3213
|
+
]
|
|
3214
|
+
},
|
|
3215
|
+
"minItems": 1
|
|
3216
|
+
},
|
|
3217
|
+
"jira:projectSettingsPage": {
|
|
3218
|
+
"type": "array",
|
|
3219
|
+
"items": {
|
|
3220
|
+
"oneOf": [
|
|
3221
|
+
{
|
|
3222
|
+
"type": "object",
|
|
3223
|
+
"properties": {
|
|
3224
|
+
"function": {
|
|
3225
|
+
"type": "string",
|
|
3226
|
+
"minLength": 1,
|
|
3227
|
+
"maxLength": 255,
|
|
3228
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3229
|
+
},
|
|
3230
|
+
"title": {
|
|
3231
|
+
"type": "string",
|
|
3232
|
+
"minLength": 1,
|
|
3233
|
+
"maxLength": 255
|
|
3234
|
+
},
|
|
3235
|
+
"icon": {
|
|
3236
|
+
"type": "string",
|
|
3237
|
+
"minLength": 1,
|
|
3238
|
+
"maxLength": 255
|
|
3239
|
+
},
|
|
3240
|
+
"layout": {
|
|
3241
|
+
"enum": [
|
|
3242
|
+
"basic",
|
|
3243
|
+
"native"
|
|
3244
|
+
],
|
|
3245
|
+
"type": "string"
|
|
3246
|
+
},
|
|
3247
|
+
"pages": {
|
|
3248
|
+
"type": "array",
|
|
3249
|
+
"items": {
|
|
3250
|
+
"type": "object",
|
|
3251
|
+
"properties": {
|
|
3252
|
+
"title": {
|
|
3253
|
+
"type": "string",
|
|
3254
|
+
"minLength": 1,
|
|
3255
|
+
"maxLength": 255
|
|
3256
|
+
},
|
|
3257
|
+
"route": {
|
|
3258
|
+
"minLength": 1,
|
|
3259
|
+
"maxLength": 255,
|
|
3260
|
+
"type": "string"
|
|
3261
|
+
},
|
|
3262
|
+
"icon": {
|
|
3263
|
+
"type": "string",
|
|
3264
|
+
"minLength": 1,
|
|
3265
|
+
"maxLength": 255
|
|
3266
|
+
}
|
|
3267
|
+
},
|
|
3268
|
+
"required": [
|
|
3269
|
+
"route",
|
|
3270
|
+
"title"
|
|
3271
|
+
]
|
|
3272
|
+
}
|
|
3273
|
+
},
|
|
3274
|
+
"sections": {
|
|
3275
|
+
"type": "array",
|
|
3276
|
+
"items": {
|
|
3277
|
+
"type": "object",
|
|
3278
|
+
"properties": {
|
|
3279
|
+
"header": {
|
|
3280
|
+
"minLength": 1,
|
|
3281
|
+
"maxLength": 255,
|
|
3282
|
+
"type": "string"
|
|
3283
|
+
},
|
|
3284
|
+
"pages": {
|
|
3285
|
+
"type": "array",
|
|
3286
|
+
"items": {
|
|
3287
|
+
"type": "object",
|
|
3288
|
+
"properties": {
|
|
3289
|
+
"title": {
|
|
3290
|
+
"type": "string",
|
|
3291
|
+
"minLength": 1,
|
|
3292
|
+
"maxLength": 255
|
|
3293
|
+
},
|
|
3294
|
+
"route": {
|
|
3295
|
+
"minLength": 1,
|
|
3296
|
+
"maxLength": 255,
|
|
3297
|
+
"type": "string"
|
|
3298
|
+
},
|
|
3299
|
+
"icon": {
|
|
3300
|
+
"type": "string",
|
|
3301
|
+
"minLength": 1,
|
|
3302
|
+
"maxLength": 255
|
|
3303
|
+
}
|
|
3304
|
+
},
|
|
3305
|
+
"required": [
|
|
3306
|
+
"route",
|
|
3307
|
+
"title"
|
|
3308
|
+
]
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3312
|
+
"required": [
|
|
3313
|
+
"pages"
|
|
3314
|
+
]
|
|
3315
|
+
}
|
|
3316
|
+
},
|
|
3317
|
+
"key": {
|
|
3318
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3319
|
+
}
|
|
3320
|
+
},
|
|
3321
|
+
"required": [
|
|
3322
|
+
"function",
|
|
3323
|
+
"title",
|
|
3324
|
+
"key"
|
|
3325
|
+
]
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"type": "object",
|
|
3329
|
+
"properties": {
|
|
3330
|
+
"resource": {
|
|
3331
|
+
"type": "string",
|
|
3332
|
+
"minLength": 1,
|
|
3333
|
+
"maxLength": 23,
|
|
3334
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3335
|
+
},
|
|
3336
|
+
"resourceUploadId": {
|
|
3337
|
+
"type": "string",
|
|
3338
|
+
"minLength": 1,
|
|
3339
|
+
"maxLength": 255
|
|
2455
3340
|
},
|
|
2456
3341
|
"resolver": {
|
|
2457
3342
|
"additionalProperties": false,
|
|
@@ -2468,21 +3353,102 @@
|
|
|
2468
3353
|
"function"
|
|
2469
3354
|
]
|
|
2470
3355
|
},
|
|
2471
|
-
"
|
|
3356
|
+
"title": {
|
|
2472
3357
|
"type": "string",
|
|
2473
3358
|
"minLength": 1,
|
|
2474
|
-
"maxLength":
|
|
2475
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3359
|
+
"maxLength": 255
|
|
2476
3360
|
},
|
|
2477
|
-
"
|
|
3361
|
+
"icon": {
|
|
2478
3362
|
"type": "string",
|
|
2479
3363
|
"minLength": 1,
|
|
2480
3364
|
"maxLength": 255
|
|
2481
3365
|
},
|
|
3366
|
+
"layout": {
|
|
3367
|
+
"enum": [
|
|
3368
|
+
"basic",
|
|
3369
|
+
"native"
|
|
3370
|
+
],
|
|
3371
|
+
"type": "string"
|
|
3372
|
+
},
|
|
3373
|
+
"pages": {
|
|
3374
|
+
"type": "array",
|
|
3375
|
+
"items": {
|
|
3376
|
+
"type": "object",
|
|
3377
|
+
"properties": {
|
|
3378
|
+
"title": {
|
|
3379
|
+
"type": "string",
|
|
3380
|
+
"minLength": 1,
|
|
3381
|
+
"maxLength": 255
|
|
3382
|
+
},
|
|
3383
|
+
"route": {
|
|
3384
|
+
"minLength": 1,
|
|
3385
|
+
"maxLength": 255,
|
|
3386
|
+
"type": "string"
|
|
3387
|
+
},
|
|
3388
|
+
"icon": {
|
|
3389
|
+
"type": "string",
|
|
3390
|
+
"minLength": 1,
|
|
3391
|
+
"maxLength": 255
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
"required": [
|
|
3395
|
+
"route",
|
|
3396
|
+
"title"
|
|
3397
|
+
]
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
"sections": {
|
|
3401
|
+
"type": "array",
|
|
3402
|
+
"items": {
|
|
3403
|
+
"type": "object",
|
|
3404
|
+
"properties": {
|
|
3405
|
+
"header": {
|
|
3406
|
+
"minLength": 1,
|
|
3407
|
+
"maxLength": 255,
|
|
3408
|
+
"type": "string"
|
|
3409
|
+
},
|
|
3410
|
+
"pages": {
|
|
3411
|
+
"type": "array",
|
|
3412
|
+
"items": {
|
|
3413
|
+
"type": "object",
|
|
3414
|
+
"properties": {
|
|
3415
|
+
"title": {
|
|
3416
|
+
"type": "string",
|
|
3417
|
+
"minLength": 1,
|
|
3418
|
+
"maxLength": 255
|
|
3419
|
+
},
|
|
3420
|
+
"route": {
|
|
3421
|
+
"minLength": 1,
|
|
3422
|
+
"maxLength": 255,
|
|
3423
|
+
"type": "string"
|
|
3424
|
+
},
|
|
3425
|
+
"icon": {
|
|
3426
|
+
"type": "string",
|
|
3427
|
+
"minLength": 1,
|
|
3428
|
+
"maxLength": 255
|
|
3429
|
+
}
|
|
3430
|
+
},
|
|
3431
|
+
"required": [
|
|
3432
|
+
"route",
|
|
3433
|
+
"title"
|
|
3434
|
+
]
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3437
|
+
},
|
|
3438
|
+
"required": [
|
|
3439
|
+
"pages"
|
|
3440
|
+
]
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
2482
3443
|
"key": {
|
|
2483
3444
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2484
3445
|
}
|
|
2485
|
-
}
|
|
3446
|
+
},
|
|
3447
|
+
"required": [
|
|
3448
|
+
"resource",
|
|
3449
|
+
"title",
|
|
3450
|
+
"key"
|
|
3451
|
+
]
|
|
2486
3452
|
}
|
|
2487
3453
|
]
|
|
2488
3454
|
},
|
|
@@ -2491,37 +3457,172 @@
|
|
|
2491
3457
|
"compass:adminPage": {
|
|
2492
3458
|
"type": "array",
|
|
2493
3459
|
"items": {
|
|
2494
|
-
"
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
"
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
3460
|
+
"oneOf": [
|
|
3461
|
+
{
|
|
3462
|
+
"type": "object",
|
|
3463
|
+
"required": [
|
|
3464
|
+
"title",
|
|
3465
|
+
"function",
|
|
3466
|
+
"key"
|
|
3467
|
+
],
|
|
3468
|
+
"properties": {
|
|
3469
|
+
"title": {
|
|
3470
|
+
"type": "string",
|
|
3471
|
+
"minLength": 1,
|
|
3472
|
+
"maxLength": 255
|
|
3473
|
+
},
|
|
3474
|
+
"icon": {
|
|
3475
|
+
"type": "string",
|
|
3476
|
+
"minLength": 1,
|
|
3477
|
+
"maxLength": 255
|
|
3478
|
+
},
|
|
3479
|
+
"function": {
|
|
3480
|
+
"type": "string",
|
|
3481
|
+
"minLength": 1,
|
|
3482
|
+
"maxLength": 255,
|
|
3483
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3484
|
+
},
|
|
3485
|
+
"key": {
|
|
3486
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
2510
3489
|
},
|
|
2511
|
-
|
|
2512
|
-
"type": "
|
|
2513
|
-
"
|
|
2514
|
-
|
|
2515
|
-
|
|
3490
|
+
{
|
|
3491
|
+
"type": "object",
|
|
3492
|
+
"required": [
|
|
3493
|
+
"title",
|
|
3494
|
+
"resource",
|
|
3495
|
+
"key"
|
|
3496
|
+
],
|
|
3497
|
+
"properties": {
|
|
3498
|
+
"title": {
|
|
3499
|
+
"type": "string",
|
|
3500
|
+
"minLength": 1,
|
|
3501
|
+
"maxLength": 255
|
|
3502
|
+
},
|
|
3503
|
+
"icon": {
|
|
3504
|
+
"type": "string",
|
|
3505
|
+
"minLength": 1,
|
|
3506
|
+
"maxLength": 255
|
|
3507
|
+
},
|
|
3508
|
+
"resolver": {
|
|
3509
|
+
"additionalProperties": false,
|
|
3510
|
+
"type": "object",
|
|
3511
|
+
"properties": {
|
|
3512
|
+
"function": {
|
|
3513
|
+
"type": "string",
|
|
3514
|
+
"minLength": 1,
|
|
3515
|
+
"maxLength": 255,
|
|
3516
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3517
|
+
}
|
|
3518
|
+
},
|
|
3519
|
+
"required": [
|
|
3520
|
+
"function"
|
|
3521
|
+
]
|
|
3522
|
+
},
|
|
3523
|
+
"resource": {
|
|
3524
|
+
"type": "string",
|
|
3525
|
+
"minLength": 1,
|
|
3526
|
+
"maxLength": 23,
|
|
3527
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3528
|
+
},
|
|
3529
|
+
"key": {
|
|
3530
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
]
|
|
3535
|
+
},
|
|
3536
|
+
"minItems": 1
|
|
3537
|
+
},
|
|
3538
|
+
"compass:componentPage": {
|
|
3539
|
+
"type": "array",
|
|
3540
|
+
"items": {
|
|
3541
|
+
"oneOf": [
|
|
3542
|
+
{
|
|
3543
|
+
"type": "object",
|
|
3544
|
+
"required": [
|
|
3545
|
+
"title",
|
|
3546
|
+
"function",
|
|
3547
|
+
"key"
|
|
3548
|
+
],
|
|
3549
|
+
"properties": {
|
|
3550
|
+
"title": {
|
|
3551
|
+
"type": "string",
|
|
3552
|
+
"minLength": 1,
|
|
3553
|
+
"maxLength": 255
|
|
3554
|
+
},
|
|
3555
|
+
"icon": {
|
|
3556
|
+
"type": "string",
|
|
3557
|
+
"minLength": 1,
|
|
3558
|
+
"maxLength": 255
|
|
3559
|
+
},
|
|
3560
|
+
"function": {
|
|
3561
|
+
"type": "string",
|
|
3562
|
+
"minLength": 1,
|
|
3563
|
+
"maxLength": 255,
|
|
3564
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3565
|
+
},
|
|
3566
|
+
"displayConditions": {
|
|
3567
|
+
"$ref": "#/definitions/DisplayConditions"
|
|
3568
|
+
},
|
|
3569
|
+
"key": {
|
|
3570
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3571
|
+
}
|
|
3572
|
+
}
|
|
2516
3573
|
},
|
|
2517
|
-
|
|
2518
|
-
"
|
|
3574
|
+
{
|
|
3575
|
+
"type": "object",
|
|
3576
|
+
"required": [
|
|
3577
|
+
"title",
|
|
3578
|
+
"resource",
|
|
3579
|
+
"key"
|
|
3580
|
+
],
|
|
3581
|
+
"properties": {
|
|
3582
|
+
"title": {
|
|
3583
|
+
"type": "string",
|
|
3584
|
+
"minLength": 1,
|
|
3585
|
+
"maxLength": 255
|
|
3586
|
+
},
|
|
3587
|
+
"icon": {
|
|
3588
|
+
"type": "string",
|
|
3589
|
+
"minLength": 1,
|
|
3590
|
+
"maxLength": 255
|
|
3591
|
+
},
|
|
3592
|
+
"resolver": {
|
|
3593
|
+
"additionalProperties": false,
|
|
3594
|
+
"type": "object",
|
|
3595
|
+
"properties": {
|
|
3596
|
+
"function": {
|
|
3597
|
+
"type": "string",
|
|
3598
|
+
"minLength": 1,
|
|
3599
|
+
"maxLength": 255,
|
|
3600
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3601
|
+
}
|
|
3602
|
+
},
|
|
3603
|
+
"required": [
|
|
3604
|
+
"function"
|
|
3605
|
+
]
|
|
3606
|
+
},
|
|
3607
|
+
"displayConditions": {
|
|
3608
|
+
"$ref": "#/definitions/DisplayConditions"
|
|
3609
|
+
},
|
|
3610
|
+
"resource": {
|
|
3611
|
+
"type": "string",
|
|
3612
|
+
"minLength": 1,
|
|
3613
|
+
"maxLength": 23,
|
|
3614
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
3615
|
+
},
|
|
3616
|
+
"key": {
|
|
3617
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
3618
|
+
}
|
|
3619
|
+
}
|
|
2519
3620
|
}
|
|
2520
|
-
|
|
3621
|
+
]
|
|
2521
3622
|
},
|
|
2522
3623
|
"minItems": 1
|
|
2523
3624
|
},
|
|
2524
|
-
"compass:
|
|
3625
|
+
"compass:globalPage": {
|
|
2525
3626
|
"type": "array",
|
|
2526
3627
|
"items": {
|
|
2527
3628
|
"oneOf": [
|
|
@@ -2549,9 +3650,6 @@
|
|
|
2549
3650
|
"maxLength": 255,
|
|
2550
3651
|
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2551
3652
|
},
|
|
2552
|
-
"displayConditions": {
|
|
2553
|
-
"$ref": "#/definitions/DisplayConditions"
|
|
2554
|
-
},
|
|
2555
3653
|
"key": {
|
|
2556
3654
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2557
3655
|
}
|
|
@@ -2590,20 +3688,12 @@
|
|
|
2590
3688
|
"function"
|
|
2591
3689
|
]
|
|
2592
3690
|
},
|
|
2593
|
-
"displayConditions": {
|
|
2594
|
-
"$ref": "#/definitions/DisplayConditions"
|
|
2595
|
-
},
|
|
2596
3691
|
"resource": {
|
|
2597
3692
|
"type": "string",
|
|
2598
3693
|
"minLength": 1,
|
|
2599
3694
|
"maxLength": 23,
|
|
2600
3695
|
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2601
3696
|
},
|
|
2602
|
-
"resourceUploadId": {
|
|
2603
|
-
"type": "string",
|
|
2604
|
-
"minLength": 1,
|
|
2605
|
-
"maxLength": 255
|
|
2606
|
-
},
|
|
2607
3697
|
"key": {
|
|
2608
3698
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2609
3699
|
}
|
|
@@ -2706,10 +3796,10 @@
|
|
|
2706
3796
|
"type": "object",
|
|
2707
3797
|
"anyOf": [
|
|
2708
3798
|
{
|
|
2709
|
-
"$ref": "#/definitions/
|
|
3799
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2710
3800
|
},
|
|
2711
3801
|
{
|
|
2712
|
-
"$ref": "#/definitions/
|
|
3802
|
+
"$ref": "#/definitions/singleCondition"
|
|
2713
3803
|
}
|
|
2714
3804
|
]
|
|
2715
3805
|
},
|
|
@@ -2832,10 +3922,10 @@
|
|
|
2832
3922
|
"type": "object",
|
|
2833
3923
|
"anyOf": [
|
|
2834
3924
|
{
|
|
2835
|
-
"$ref": "#/definitions/
|
|
3925
|
+
"$ref": "#/definitions/singleCondition"
|
|
2836
3926
|
},
|
|
2837
3927
|
{
|
|
2838
|
-
"$ref": "#/definitions/
|
|
3928
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2839
3929
|
}
|
|
2840
3930
|
]
|
|
2841
3931
|
},
|
|
@@ -2954,10 +4044,10 @@
|
|
|
2954
4044
|
"type": "object",
|
|
2955
4045
|
"anyOf": [
|
|
2956
4046
|
{
|
|
2957
|
-
"$ref": "#/definitions/
|
|
4047
|
+
"$ref": "#/definitions/singleCondition"
|
|
2958
4048
|
},
|
|
2959
4049
|
{
|
|
2960
|
-
"$ref": "#/definitions/
|
|
4050
|
+
"$ref": "#/definitions/compositeCondition"
|
|
2961
4051
|
}
|
|
2962
4052
|
]
|
|
2963
4053
|
},
|
|
@@ -3085,51 +4175,6 @@
|
|
|
3085
4175
|
"type": "object",
|
|
3086
4176
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
3087
4177
|
"anyOf": [
|
|
3088
|
-
{
|
|
3089
|
-
"properties": {
|
|
3090
|
-
"size": {
|
|
3091
|
-
"enum": [
|
|
3092
|
-
"small",
|
|
3093
|
-
"SMALL",
|
|
3094
|
-
"medium",
|
|
3095
|
-
"MEDIUM",
|
|
3096
|
-
"large",
|
|
3097
|
-
"LARGE",
|
|
3098
|
-
"x-large",
|
|
3099
|
-
"X-LARGE",
|
|
3100
|
-
"fullscreen",
|
|
3101
|
-
"FULLSCREEN",
|
|
3102
|
-
"maximum",
|
|
3103
|
-
"MAXIMUM"
|
|
3104
|
-
],
|
|
3105
|
-
"type": "string",
|
|
3106
|
-
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
3107
|
-
},
|
|
3108
|
-
"chrome": {
|
|
3109
|
-
"type": "boolean",
|
|
3110
|
-
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
3111
|
-
"defaultValue": "true"
|
|
3112
|
-
},
|
|
3113
|
-
"width": {
|
|
3114
|
-
"maxLength": 10,
|
|
3115
|
-
"type": "string",
|
|
3116
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
3117
|
-
},
|
|
3118
|
-
"header": {
|
|
3119
|
-
"$ref": "#/definitions/i18nProperty",
|
|
3120
|
-
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
3121
|
-
},
|
|
3122
|
-
"height": {
|
|
3123
|
-
"maxLength": 10,
|
|
3124
|
-
"type": "string",
|
|
3125
|
-
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
3126
|
-
}
|
|
3127
|
-
},
|
|
3128
|
-
"shortClassName": "dialogOptions",
|
|
3129
|
-
"type": "object",
|
|
3130
|
-
"title": "Dialog Options",
|
|
3131
|
-
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
3132
|
-
},
|
|
3133
4178
|
{
|
|
3134
4179
|
"properties": {
|
|
3135
4180
|
"offsetX": {
|
|
@@ -3177,6 +4222,51 @@
|
|
|
3177
4222
|
"title": "Inline Dialog Options",
|
|
3178
4223
|
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
3179
4224
|
},
|
|
4225
|
+
{
|
|
4226
|
+
"properties": {
|
|
4227
|
+
"size": {
|
|
4228
|
+
"enum": [
|
|
4229
|
+
"small",
|
|
4230
|
+
"SMALL",
|
|
4231
|
+
"medium",
|
|
4232
|
+
"MEDIUM",
|
|
4233
|
+
"large",
|
|
4234
|
+
"LARGE",
|
|
4235
|
+
"x-large",
|
|
4236
|
+
"X-LARGE",
|
|
4237
|
+
"fullscreen",
|
|
4238
|
+
"FULLSCREEN",
|
|
4239
|
+
"maximum",
|
|
4240
|
+
"MAXIMUM"
|
|
4241
|
+
],
|
|
4242
|
+
"type": "string",
|
|
4243
|
+
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
4244
|
+
},
|
|
4245
|
+
"chrome": {
|
|
4246
|
+
"type": "boolean",
|
|
4247
|
+
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
4248
|
+
"defaultValue": "true"
|
|
4249
|
+
},
|
|
4250
|
+
"width": {
|
|
4251
|
+
"maxLength": 10,
|
|
4252
|
+
"type": "string",
|
|
4253
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
4254
|
+
},
|
|
4255
|
+
"header": {
|
|
4256
|
+
"$ref": "#/definitions/i18nProperty",
|
|
4257
|
+
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
4258
|
+
},
|
|
4259
|
+
"height": {
|
|
4260
|
+
"maxLength": 10,
|
|
4261
|
+
"type": "string",
|
|
4262
|
+
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
4263
|
+
}
|
|
4264
|
+
},
|
|
4265
|
+
"shortClassName": "dialogOptions",
|
|
4266
|
+
"type": "object",
|
|
4267
|
+
"title": "Dialog Options",
|
|
4268
|
+
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
4269
|
+
},
|
|
3180
4270
|
{
|
|
3181
4271
|
"properties": {
|
|
3182
4272
|
"key": {
|
|
@@ -3360,10 +4450,10 @@
|
|
|
3360
4450
|
"type": "object",
|
|
3361
4451
|
"anyOf": [
|
|
3362
4452
|
{
|
|
3363
|
-
"$ref": "#/definitions/
|
|
4453
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3364
4454
|
},
|
|
3365
4455
|
{
|
|
3366
|
-
"$ref": "#/definitions/
|
|
4456
|
+
"$ref": "#/definitions/singleCondition"
|
|
3367
4457
|
}
|
|
3368
4458
|
]
|
|
3369
4459
|
},
|
|
@@ -3581,10 +4671,10 @@
|
|
|
3581
4671
|
"type": "object",
|
|
3582
4672
|
"anyOf": [
|
|
3583
4673
|
{
|
|
3584
|
-
"$ref": "#/definitions/
|
|
4674
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3585
4675
|
},
|
|
3586
4676
|
{
|
|
3587
|
-
"$ref": "#/definitions/
|
|
4677
|
+
"$ref": "#/definitions/singleCondition"
|
|
3588
4678
|
}
|
|
3589
4679
|
]
|
|
3590
4680
|
},
|
|
@@ -3724,10 +4814,10 @@
|
|
|
3724
4814
|
"type": "object",
|
|
3725
4815
|
"anyOf": [
|
|
3726
4816
|
{
|
|
3727
|
-
"$ref": "#/definitions/
|
|
4817
|
+
"$ref": "#/definitions/singleCondition"
|
|
3728
4818
|
},
|
|
3729
4819
|
{
|
|
3730
|
-
"$ref": "#/definitions/
|
|
4820
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3731
4821
|
}
|
|
3732
4822
|
]
|
|
3733
4823
|
},
|
|
@@ -3817,10 +4907,10 @@
|
|
|
3817
4907
|
"type": "object",
|
|
3818
4908
|
"anyOf": [
|
|
3819
4909
|
{
|
|
3820
|
-
"$ref": "#/definitions/
|
|
4910
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3821
4911
|
},
|
|
3822
4912
|
{
|
|
3823
|
-
"$ref": "#/definitions/
|
|
4913
|
+
"$ref": "#/definitions/singleCondition"
|
|
3824
4914
|
}
|
|
3825
4915
|
]
|
|
3826
4916
|
},
|
|
@@ -4140,33 +5230,6 @@
|
|
|
4140
5230
|
"items": {
|
|
4141
5231
|
"type": "object",
|
|
4142
5232
|
"anyOf": [
|
|
4143
|
-
{
|
|
4144
|
-
"properties": {
|
|
4145
|
-
"condition": {
|
|
4146
|
-
"maxLength": 100,
|
|
4147
|
-
"type": "string",
|
|
4148
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4149
|
-
},
|
|
4150
|
-
"invert": {
|
|
4151
|
-
"type": "boolean",
|
|
4152
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4153
|
-
"defaultValue": "false"
|
|
4154
|
-
},
|
|
4155
|
-
"params": {
|
|
4156
|
-
"additionalProperties": true,
|
|
4157
|
-
"type": "object",
|
|
4158
|
-
"fieldTitle": "Object",
|
|
4159
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
4160
|
-
}
|
|
4161
|
-
},
|
|
4162
|
-
"required": [
|
|
4163
|
-
"condition"
|
|
4164
|
-
],
|
|
4165
|
-
"shortClassName": "singleConditionBean",
|
|
4166
|
-
"type": "object",
|
|
4167
|
-
"title": "Single Condition",
|
|
4168
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
4169
|
-
},
|
|
4170
5233
|
{
|
|
4171
5234
|
"properties": {
|
|
4172
5235
|
"conditions": {
|
|
@@ -4229,6 +5292,33 @@
|
|
|
4229
5292
|
"type": "object",
|
|
4230
5293
|
"title": "Composite Condition",
|
|
4231
5294
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
5295
|
+
},
|
|
5296
|
+
{
|
|
5297
|
+
"properties": {
|
|
5298
|
+
"condition": {
|
|
5299
|
+
"maxLength": 100,
|
|
5300
|
+
"type": "string",
|
|
5301
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5302
|
+
},
|
|
5303
|
+
"invert": {
|
|
5304
|
+
"type": "boolean",
|
|
5305
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5306
|
+
"defaultValue": "false"
|
|
5307
|
+
},
|
|
5308
|
+
"params": {
|
|
5309
|
+
"additionalProperties": true,
|
|
5310
|
+
"type": "object",
|
|
5311
|
+
"fieldTitle": "Object",
|
|
5312
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5313
|
+
}
|
|
5314
|
+
},
|
|
5315
|
+
"required": [
|
|
5316
|
+
"condition"
|
|
5317
|
+
],
|
|
5318
|
+
"shortClassName": "singleConditionBean",
|
|
5319
|
+
"type": "object",
|
|
5320
|
+
"title": "Single Condition",
|
|
5321
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
4232
5322
|
}
|
|
4233
5323
|
]
|
|
4234
5324
|
},
|
|
@@ -4429,59 +5519,32 @@
|
|
|
4429
5519
|
"type": "array",
|
|
4430
5520
|
"fieldDescription": "\n\nExtractions used for JQL search. This is valid only when the `type` is `single_select` or `multi_select`.\n\n"
|
|
4431
5521
|
},
|
|
4432
|
-
"key": {
|
|
4433
|
-
"$ref": "#/definitions/ModuleKeySchema"
|
|
4434
|
-
}
|
|
4435
|
-
},
|
|
4436
|
-
"required": [
|
|
4437
|
-
"key"
|
|
4438
|
-
]
|
|
4439
|
-
},
|
|
4440
|
-
"minItems": 1
|
|
4441
|
-
},
|
|
4442
|
-
"connect-jira:jiraIssueTabPanels": {
|
|
4443
|
-
"type": "array",
|
|
4444
|
-
"items": {
|
|
4445
|
-
"properties": {
|
|
4446
|
-
"name": {
|
|
4447
|
-
"$ref": "#/definitions/i18nProperty",
|
|
4448
|
-
"fieldDescription": "\n\nA human readable name.\n\n"
|
|
4449
|
-
},
|
|
4450
|
-
"weight": {
|
|
4451
|
-
"type": "integer",
|
|
4452
|
-
"fieldDescription": "\n\n<p>Determines the order in which the tab panel's link appears in the menu or list.</p>\n\n <p>The \"lightest\" weight (i.e., lowest number) appears first, rising relative to other items,\n while the \"heaviest\" weights sink to the bottom of the menu or list.</p>\n\n <p>Built-in web items have weights that are incremented by numbers that leave room for additional\n items, such as by 10 or 100. Be mindful of the weight you choose for your item, so that it appears\n in a sensible order given existing items.</p>\n\n"
|
|
4453
|
-
},
|
|
4454
|
-
"conditions": {
|
|
4455
|
-
"items": {
|
|
4456
|
-
"type": "object",
|
|
4457
|
-
"anyOf": [
|
|
4458
|
-
{
|
|
4459
|
-
"properties": {
|
|
4460
|
-
"condition": {
|
|
4461
|
-
"maxLength": 100,
|
|
4462
|
-
"type": "string",
|
|
4463
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4464
|
-
},
|
|
4465
|
-
"invert": {
|
|
4466
|
-
"type": "boolean",
|
|
4467
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4468
|
-
"defaultValue": "false"
|
|
4469
|
-
},
|
|
4470
|
-
"params": {
|
|
4471
|
-
"additionalProperties": true,
|
|
4472
|
-
"type": "object",
|
|
4473
|
-
"fieldTitle": "Object",
|
|
4474
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
4475
|
-
}
|
|
4476
|
-
},
|
|
4477
|
-
"required": [
|
|
4478
|
-
"condition"
|
|
4479
|
-
],
|
|
4480
|
-
"shortClassName": "singleConditionBean",
|
|
4481
|
-
"type": "object",
|
|
4482
|
-
"title": "Single Condition",
|
|
4483
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
4484
|
-
},
|
|
5522
|
+
"key": {
|
|
5523
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
5524
|
+
}
|
|
5525
|
+
},
|
|
5526
|
+
"required": [
|
|
5527
|
+
"key"
|
|
5528
|
+
]
|
|
5529
|
+
},
|
|
5530
|
+
"minItems": 1
|
|
5531
|
+
},
|
|
5532
|
+
"connect-jira:jiraIssueTabPanels": {
|
|
5533
|
+
"type": "array",
|
|
5534
|
+
"items": {
|
|
5535
|
+
"properties": {
|
|
5536
|
+
"name": {
|
|
5537
|
+
"$ref": "#/definitions/i18nProperty",
|
|
5538
|
+
"fieldDescription": "\n\nA human readable name.\n\n"
|
|
5539
|
+
},
|
|
5540
|
+
"weight": {
|
|
5541
|
+
"type": "integer",
|
|
5542
|
+
"fieldDescription": "\n\n<p>Determines the order in which the tab panel's link appears in the menu or list.</p>\n\n <p>The \"lightest\" weight (i.e., lowest number) appears first, rising relative to other items,\n while the \"heaviest\" weights sink to the bottom of the menu or list.</p>\n\n <p>Built-in web items have weights that are incremented by numbers that leave room for additional\n items, such as by 10 or 100. Be mindful of the weight you choose for your item, so that it appears\n in a sensible order given existing items.</p>\n\n"
|
|
5543
|
+
},
|
|
5544
|
+
"conditions": {
|
|
5545
|
+
"items": {
|
|
5546
|
+
"type": "object",
|
|
5547
|
+
"anyOf": [
|
|
4485
5548
|
{
|
|
4486
5549
|
"properties": {
|
|
4487
5550
|
"conditions": {
|
|
@@ -4544,6 +5607,33 @@
|
|
|
4544
5607
|
"type": "object",
|
|
4545
5608
|
"title": "Composite Condition",
|
|
4546
5609
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
5610
|
+
},
|
|
5611
|
+
{
|
|
5612
|
+
"properties": {
|
|
5613
|
+
"condition": {
|
|
5614
|
+
"maxLength": 100,
|
|
5615
|
+
"type": "string",
|
|
5616
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5617
|
+
},
|
|
5618
|
+
"invert": {
|
|
5619
|
+
"type": "boolean",
|
|
5620
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5621
|
+
"defaultValue": "false"
|
|
5622
|
+
},
|
|
5623
|
+
"params": {
|
|
5624
|
+
"additionalProperties": true,
|
|
5625
|
+
"type": "object",
|
|
5626
|
+
"fieldTitle": "Object",
|
|
5627
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5628
|
+
}
|
|
5629
|
+
},
|
|
5630
|
+
"required": [
|
|
5631
|
+
"condition"
|
|
5632
|
+
],
|
|
5633
|
+
"shortClassName": "singleConditionBean",
|
|
5634
|
+
"type": "object",
|
|
5635
|
+
"title": "Single Condition",
|
|
5636
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
4547
5637
|
}
|
|
4548
5638
|
]
|
|
4549
5639
|
},
|
|
@@ -4709,10 +5799,10 @@
|
|
|
4709
5799
|
"type": "object",
|
|
4710
5800
|
"anyOf": [
|
|
4711
5801
|
{
|
|
4712
|
-
"$ref": "#/definitions/
|
|
5802
|
+
"$ref": "#/definitions/compositeCondition"
|
|
4713
5803
|
},
|
|
4714
5804
|
{
|
|
4715
|
-
"$ref": "#/definitions/
|
|
5805
|
+
"$ref": "#/definitions/singleCondition"
|
|
4716
5806
|
}
|
|
4717
5807
|
]
|
|
4718
5808
|
},
|
|
@@ -4750,7 +5840,7 @@
|
|
|
4750
5840
|
},
|
|
4751
5841
|
"expression": {
|
|
4752
5842
|
"type": "string",
|
|
4753
|
-
"fieldDescription": "\n\nThe [Jira expression](https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-api-3-expression-eval-post)\n used to evaluate the validator. Must return a boolean value.\n <p>\n This expression can be overridden using the configuration page.\n If you return configuration with property \"expression\", then that expression will be used\n to evaluate the validator instead of the expression defined here. For example:\n\n <pre><code>AP.require([\"jira\"], function(jira) {\n jira.WorkflowConfiguration.onSave(function() {\n var config = {\n \"expression\": \"dynamically built expression\"\n };\n return JSON.stringify(config);\n });\n});</code></pre>\n\n"
|
|
5843
|
+
"fieldDescription": "\n\nThe [Jira expression](https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-api-3-expression-eval-post)\n used to evaluate the validator. Must return a boolean or string value.\n <p>\n This expression can be overridden using the configuration page.\n If you return configuration with property \"expression\", then that expression will be used\n to evaluate the validator instead of the expression defined here. For example:\n\n <pre><code>AP.require([\"jira\"], function(jira) {\n jira.WorkflowConfiguration.onSave(function() {\n var config = {\n \"expression\": \"dynamically built expression\"\n };\n return JSON.stringify(config);\n });\n});</code></pre>\n\n"
|
|
4754
5844
|
},
|
|
4755
5845
|
"edit": {
|
|
4756
5846
|
"$ref": "#/definitions/url",
|
|
@@ -4768,14 +5858,29 @@
|
|
|
4768
5858
|
},
|
|
4769
5859
|
"errorMessage": {
|
|
4770
5860
|
"type": "object",
|
|
4771
|
-
"fieldDescription": "\n\nThe error message that will be shown if the validator rejects the transition
|
|
5861
|
+
"fieldDescription": "\n\nThe error message that will be shown if the validator rejects the transition by returning <code>false</code>.\n <p>\n This can be either a static [i18n property](../i18n-property/), or an object containing the \"expression\" property,\n with a Jira expression that returns the error message dynamically, based on the current transition or configuration.\n\n",
|
|
4772
5862
|
"anyOf": [
|
|
5863
|
+
{
|
|
5864
|
+
"properties": {
|
|
5865
|
+
"expression": {
|
|
5866
|
+
"type": "string",
|
|
5867
|
+
"fieldDescription": "\n\nThe Jira expression that will return an error message if the validator rejects a transition.\n\n"
|
|
5868
|
+
}
|
|
5869
|
+
},
|
|
5870
|
+
"required": [
|
|
5871
|
+
"expression"
|
|
5872
|
+
],
|
|
5873
|
+
"shortClassName": "validatorJiraExpressionErrorMessage",
|
|
5874
|
+
"type": "object",
|
|
5875
|
+
"title": "Jira Expression Error Message",
|
|
5876
|
+
"description": "\n\nA Jira expression that will be evaluated if the workflow validator fails.\n The string returned by the Jira expression will be displayed as the error message for the failed transition.\n\n"
|
|
5877
|
+
},
|
|
4773
5878
|
{
|
|
4774
5879
|
"properties": {
|
|
4775
5880
|
"value": {
|
|
4776
5881
|
"maxLength": 1500,
|
|
4777
5882
|
"type": "string",
|
|
4778
|
-
"fieldDescription": "\n\nThe human-readable default value. This will be used if no translation exists.\n\n"
|
|
5883
|
+
"fieldDescription": "\n\nThe human-readable default value. This will be used if no translation exists.\n Only the following HTML tags are supported: `b`, `i`, `strong`, `em`, and `code`.\n\n"
|
|
4779
5884
|
},
|
|
4780
5885
|
"i18n": {
|
|
4781
5886
|
"maxLength": 300,
|
|
@@ -4790,21 +5895,6 @@
|
|
|
4790
5895
|
"type": "object",
|
|
4791
5896
|
"title": "i18n Property",
|
|
4792
5897
|
"description": "\n\nRepresents a string that can be resolved via a localization properties file. You can use the same `i18n Property` key\n and value in multiple places if you like, but identical keys must have identical values.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"value\": \"My text\"\n }\n\n\n"
|
|
4793
|
-
},
|
|
4794
|
-
{
|
|
4795
|
-
"properties": {
|
|
4796
|
-
"expression": {
|
|
4797
|
-
"type": "string",
|
|
4798
|
-
"fieldDescription": "\n\nThe Jira expression that will return an error message if the validator rejects a transition.\n\n"
|
|
4799
|
-
}
|
|
4800
|
-
},
|
|
4801
|
-
"required": [
|
|
4802
|
-
"expression"
|
|
4803
|
-
],
|
|
4804
|
-
"shortClassName": "validatorJiraExpressionErrorMessage",
|
|
4805
|
-
"type": "object",
|
|
4806
|
-
"title": "Jira Expression Error Message",
|
|
4807
|
-
"description": "\n\nA Jira expression that will be evaluated if the workflow validator fails.\n The string returned by the Jira expression will be displayed as the error message for the failed transition.\n\n"
|
|
4808
5898
|
}
|
|
4809
5899
|
]
|
|
4810
5900
|
},
|
|
@@ -4914,6 +6004,10 @@
|
|
|
4914
6004
|
"type": "string",
|
|
4915
6005
|
"fieldDescription": "\n\nFires when an add on has been successfully disabled. This is an asynchronous notification event.\n\n"
|
|
4916
6006
|
},
|
|
6007
|
+
"dare-migration": {
|
|
6008
|
+
"type": "string",
|
|
6009
|
+
"fieldDescription": "\n\nUsed DaRe app migration service to trigger migrations events\n\n"
|
|
6010
|
+
},
|
|
4917
6011
|
"uninstalled": {
|
|
4918
6012
|
"format": "uri",
|
|
4919
6013
|
"type": "string",
|
|
@@ -5027,10 +6121,10 @@
|
|
|
5027
6121
|
"type": "object",
|
|
5028
6122
|
"anyOf": [
|
|
5029
6123
|
{
|
|
5030
|
-
"$ref": "#/definitions/
|
|
6124
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5031
6125
|
},
|
|
5032
6126
|
{
|
|
5033
|
-
"$ref": "#/definitions/
|
|
6127
|
+
"$ref": "#/definitions/singleCondition"
|
|
5034
6128
|
}
|
|
5035
6129
|
]
|
|
5036
6130
|
},
|
|
@@ -5098,10 +6192,10 @@
|
|
|
5098
6192
|
"type": "object",
|
|
5099
6193
|
"anyOf": [
|
|
5100
6194
|
{
|
|
5101
|
-
"$ref": "#/definitions/
|
|
6195
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5102
6196
|
},
|
|
5103
6197
|
{
|
|
5104
|
-
"$ref": "#/definitions/
|
|
6198
|
+
"$ref": "#/definitions/singleCondition"
|
|
5105
6199
|
}
|
|
5106
6200
|
]
|
|
5107
6201
|
},
|
|
@@ -5153,10 +6247,10 @@
|
|
|
5153
6247
|
"type": "object",
|
|
5154
6248
|
"anyOf": [
|
|
5155
6249
|
{
|
|
5156
|
-
"$ref": "#/definitions/
|
|
6250
|
+
"$ref": "#/definitions/singleCondition"
|
|
5157
6251
|
},
|
|
5158
6252
|
{
|
|
5159
|
-
"$ref": "#/definitions/
|
|
6253
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5160
6254
|
}
|
|
5161
6255
|
]
|
|
5162
6256
|
},
|
|
@@ -5406,6 +6500,51 @@
|
|
|
5406
6500
|
"type": "object",
|
|
5407
6501
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
5408
6502
|
"anyOf": [
|
|
6503
|
+
{
|
|
6504
|
+
"properties": {
|
|
6505
|
+
"size": {
|
|
6506
|
+
"enum": [
|
|
6507
|
+
"small",
|
|
6508
|
+
"SMALL",
|
|
6509
|
+
"medium",
|
|
6510
|
+
"MEDIUM",
|
|
6511
|
+
"large",
|
|
6512
|
+
"LARGE",
|
|
6513
|
+
"x-large",
|
|
6514
|
+
"X-LARGE",
|
|
6515
|
+
"fullscreen",
|
|
6516
|
+
"FULLSCREEN",
|
|
6517
|
+
"maximum",
|
|
6518
|
+
"MAXIMUM"
|
|
6519
|
+
],
|
|
6520
|
+
"type": "string",
|
|
6521
|
+
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
6522
|
+
},
|
|
6523
|
+
"chrome": {
|
|
6524
|
+
"type": "boolean",
|
|
6525
|
+
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
6526
|
+
"defaultValue": "true"
|
|
6527
|
+
},
|
|
6528
|
+
"width": {
|
|
6529
|
+
"maxLength": 10,
|
|
6530
|
+
"type": "string",
|
|
6531
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
6532
|
+
},
|
|
6533
|
+
"header": {
|
|
6534
|
+
"$ref": "#/definitions/i18nProperty",
|
|
6535
|
+
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
6536
|
+
},
|
|
6537
|
+
"height": {
|
|
6538
|
+
"maxLength": 10,
|
|
6539
|
+
"type": "string",
|
|
6540
|
+
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
6541
|
+
}
|
|
6542
|
+
},
|
|
6543
|
+
"shortClassName": "dialogOptions",
|
|
6544
|
+
"type": "object",
|
|
6545
|
+
"title": "Dialog Options",
|
|
6546
|
+
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
6547
|
+
},
|
|
5409
6548
|
{
|
|
5410
6549
|
"properties": {
|
|
5411
6550
|
"offsetX": {
|
|
@@ -5468,51 +6607,6 @@
|
|
|
5468
6607
|
"type": "object",
|
|
5469
6608
|
"title": "Dialog Module Options",
|
|
5470
6609
|
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
5471
|
-
},
|
|
5472
|
-
{
|
|
5473
|
-
"properties": {
|
|
5474
|
-
"size": {
|
|
5475
|
-
"enum": [
|
|
5476
|
-
"small",
|
|
5477
|
-
"SMALL",
|
|
5478
|
-
"medium",
|
|
5479
|
-
"MEDIUM",
|
|
5480
|
-
"large",
|
|
5481
|
-
"LARGE",
|
|
5482
|
-
"x-large",
|
|
5483
|
-
"X-LARGE",
|
|
5484
|
-
"fullscreen",
|
|
5485
|
-
"FULLSCREEN",
|
|
5486
|
-
"maximum",
|
|
5487
|
-
"MAXIMUM"
|
|
5488
|
-
],
|
|
5489
|
-
"type": "string",
|
|
5490
|
-
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
5491
|
-
},
|
|
5492
|
-
"chrome": {
|
|
5493
|
-
"type": "boolean",
|
|
5494
|
-
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
5495
|
-
"defaultValue": "true"
|
|
5496
|
-
},
|
|
5497
|
-
"width": {
|
|
5498
|
-
"maxLength": 10,
|
|
5499
|
-
"type": "string",
|
|
5500
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
5501
|
-
},
|
|
5502
|
-
"header": {
|
|
5503
|
-
"$ref": "#/definitions/i18nProperty",
|
|
5504
|
-
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
5505
|
-
},
|
|
5506
|
-
"height": {
|
|
5507
|
-
"maxLength": 10,
|
|
5508
|
-
"type": "string",
|
|
5509
|
-
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
5510
|
-
}
|
|
5511
|
-
},
|
|
5512
|
-
"shortClassName": "dialogOptions",
|
|
5513
|
-
"type": "object",
|
|
5514
|
-
"title": "Dialog Options",
|
|
5515
|
-
"description": "\n\nOptions for a modal dialog <a href=\"../web-item-target/\">web item target</a> or <a href=\"../dialog/\">common module</a>.\n\n <p>\n These options are a subset of those available via the <a href=\"../../jsapi/dialog/\">JavaScript API</a>.\n </p>\n\n <h2>Web Item Example</h2>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialog\",\n \"options\": {\n \"height\": \"100px\",\n \"width\": \"200px\"\n }\n }\n }\n\n\n\n\n <h2>Dialog Example</h2>\n\n\n\n\n\n {\n \"modules\": {\n \"dialogs\": [\n {\n \"url\": \"/my-dialog-content\",\n \"options\": {\n \"size\": \"fullscreen\",\n \"header\": {\n \"value\": \"Example Dialog\"\n }\n },\n \"key\": \"dialog-module-key\"\n }\n ]\n }\n }\n\n\n"
|
|
5516
6610
|
}
|
|
5517
6611
|
]
|
|
5518
6612
|
},
|
|
@@ -5569,33 +6663,6 @@
|
|
|
5569
6663
|
"items": {
|
|
5570
6664
|
"type": "object",
|
|
5571
6665
|
"anyOf": [
|
|
5572
|
-
{
|
|
5573
|
-
"properties": {
|
|
5574
|
-
"condition": {
|
|
5575
|
-
"maxLength": 100,
|
|
5576
|
-
"type": "string",
|
|
5577
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5578
|
-
},
|
|
5579
|
-
"invert": {
|
|
5580
|
-
"type": "boolean",
|
|
5581
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5582
|
-
"defaultValue": "false"
|
|
5583
|
-
},
|
|
5584
|
-
"params": {
|
|
5585
|
-
"additionalProperties": true,
|
|
5586
|
-
"type": "object",
|
|
5587
|
-
"fieldTitle": "Object",
|
|
5588
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
5589
|
-
}
|
|
5590
|
-
},
|
|
5591
|
-
"required": [
|
|
5592
|
-
"condition"
|
|
5593
|
-
],
|
|
5594
|
-
"shortClassName": "singleConditionBean",
|
|
5595
|
-
"type": "object",
|
|
5596
|
-
"title": "Single Condition",
|
|
5597
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
5598
|
-
},
|
|
5599
6666
|
{
|
|
5600
6667
|
"properties": {
|
|
5601
6668
|
"conditions": {
|
|
@@ -5628,6 +6695,33 @@
|
|
|
5628
6695
|
"type": "object",
|
|
5629
6696
|
"title": "Composite Condition",
|
|
5630
6697
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
6698
|
+
},
|
|
6699
|
+
{
|
|
6700
|
+
"properties": {
|
|
6701
|
+
"condition": {
|
|
6702
|
+
"maxLength": 100,
|
|
6703
|
+
"type": "string",
|
|
6704
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6705
|
+
},
|
|
6706
|
+
"invert": {
|
|
6707
|
+
"type": "boolean",
|
|
6708
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6709
|
+
"defaultValue": "false"
|
|
6710
|
+
},
|
|
6711
|
+
"params": {
|
|
6712
|
+
"additionalProperties": true,
|
|
6713
|
+
"type": "object",
|
|
6714
|
+
"fieldTitle": "Object",
|
|
6715
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
6716
|
+
}
|
|
6717
|
+
},
|
|
6718
|
+
"required": [
|
|
6719
|
+
"condition"
|
|
6720
|
+
],
|
|
6721
|
+
"shortClassName": "singleConditionBean",
|
|
6722
|
+
"type": "object",
|
|
6723
|
+
"title": "Single Condition",
|
|
6724
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
5631
6725
|
}
|
|
5632
6726
|
]
|
|
5633
6727
|
},
|
|
@@ -5681,10 +6775,10 @@
|
|
|
5681
6775
|
"type": "object",
|
|
5682
6776
|
"anyOf": [
|
|
5683
6777
|
{
|
|
5684
|
-
"$ref": "#/definitions/
|
|
6778
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5685
6779
|
},
|
|
5686
6780
|
{
|
|
5687
|
-
"$ref": "#/definitions/
|
|
6781
|
+
"$ref": "#/definitions/singleCondition"
|
|
5688
6782
|
}
|
|
5689
6783
|
]
|
|
5690
6784
|
},
|
|
@@ -6166,52 +7260,57 @@
|
|
|
6166
7260
|
"anyOf": [
|
|
6167
7261
|
{
|
|
6168
7262
|
"properties": {
|
|
6169
|
-
"
|
|
6170
|
-
"
|
|
6171
|
-
"
|
|
6172
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7263
|
+
"label": {
|
|
7264
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7265
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6173
7266
|
},
|
|
6174
7267
|
"type": {
|
|
6175
7268
|
"enum": [
|
|
6176
|
-
"
|
|
6177
|
-
"
|
|
7269
|
+
"button",
|
|
7270
|
+
"BUTTON"
|
|
6178
7271
|
],
|
|
6179
7272
|
"type": "string",
|
|
6180
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7273
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6181
7274
|
},
|
|
6182
7275
|
"key": {
|
|
6183
7276
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6184
7277
|
"maxLength": 100,
|
|
6185
7278
|
"type": "string",
|
|
6186
|
-
"fieldDescription": "\n\nA key to identify
|
|
7279
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6187
7280
|
}
|
|
6188
7281
|
},
|
|
6189
7282
|
"required": [
|
|
6190
|
-
"
|
|
7283
|
+
"label",
|
|
6191
7284
|
"type",
|
|
6192
7285
|
"key"
|
|
6193
7286
|
],
|
|
6194
|
-
"
|
|
7287
|
+
"additionalProperties": true,
|
|
7288
|
+
"shortClassName": "buttonControlBean",
|
|
6195
7289
|
"type": "object",
|
|
6196
|
-
"title": "
|
|
6197
|
-
"description": "\n\nDefines a
|
|
7290
|
+
"title": "ButtonControl",
|
|
7291
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6198
7292
|
},
|
|
6199
7293
|
{
|
|
6200
7294
|
"properties": {
|
|
6201
7295
|
"controls": {
|
|
6202
7296
|
"items": {
|
|
6203
7297
|
"properties": {
|
|
7298
|
+
"macroParameterValue": {
|
|
7299
|
+
"maxLength": 10000,
|
|
7300
|
+
"type": "string",
|
|
7301
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7302
|
+
},
|
|
6204
7303
|
"label": {
|
|
6205
7304
|
"$ref": "#/definitions/i18nProperty",
|
|
6206
7305
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6207
7306
|
},
|
|
6208
7307
|
"type": {
|
|
6209
7308
|
"enum": [
|
|
6210
|
-
"
|
|
6211
|
-
"
|
|
7309
|
+
"togglebutton",
|
|
7310
|
+
"TOGGLEBUTTON"
|
|
6212
7311
|
],
|
|
6213
7312
|
"type": "string",
|
|
6214
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7313
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
6215
7314
|
},
|
|
6216
7315
|
"key": {
|
|
6217
7316
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -6221,90 +7320,61 @@
|
|
|
6221
7320
|
}
|
|
6222
7321
|
},
|
|
6223
7322
|
"required": [
|
|
7323
|
+
"macroParameterValue",
|
|
6224
7324
|
"label",
|
|
6225
7325
|
"type",
|
|
6226
7326
|
"key"
|
|
6227
7327
|
],
|
|
6228
7328
|
"additionalProperties": true,
|
|
6229
|
-
"shortClassName": "
|
|
7329
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
6230
7330
|
"type": "object",
|
|
6231
|
-
"title": "
|
|
6232
|
-
"description": "\n\nDefines a button which
|
|
7331
|
+
"title": "ToggleButtonControl",
|
|
7332
|
+
"description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
|
|
6233
7333
|
},
|
|
6234
7334
|
"type": "array",
|
|
6235
|
-
"fieldDescription": "\n\
|
|
7335
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
6236
7336
|
},
|
|
6237
|
-
"
|
|
6238
|
-
"
|
|
6239
|
-
|
|
6240
|
-
"GROUP"
|
|
6241
|
-
],
|
|
7337
|
+
"macroParameter": {
|
|
7338
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7339
|
+
"maxLength": 100,
|
|
6242
7340
|
"type": "string",
|
|
6243
|
-
"fieldDescription": "\n\nThe
|
|
6244
|
-
}
|
|
6245
|
-
},
|
|
6246
|
-
"required": [
|
|
6247
|
-
"controls",
|
|
6248
|
-
"type"
|
|
6249
|
-
],
|
|
6250
|
-
"shortClassName": "controlGroupBean",
|
|
6251
|
-
"type": "object",
|
|
6252
|
-
"title": "ControlGroup",
|
|
6253
|
-
"description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6254
|
-
},
|
|
6255
|
-
{
|
|
6256
|
-
"properties": {
|
|
6257
|
-
"label": {
|
|
6258
|
-
"$ref": "#/definitions/i18nProperty",
|
|
6259
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7341
|
+
"fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
|
|
6260
7342
|
},
|
|
6261
7343
|
"type": {
|
|
6262
7344
|
"enum": [
|
|
6263
|
-
"
|
|
6264
|
-
"
|
|
7345
|
+
"togglegroup",
|
|
7346
|
+
"TOGGLEGROUP"
|
|
6265
7347
|
],
|
|
6266
7348
|
"type": "string",
|
|
6267
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6268
|
-
},
|
|
6269
|
-
"key": {
|
|
6270
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6271
|
-
"maxLength": 100,
|
|
6272
|
-
"type": "string",
|
|
6273
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7349
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
6274
7350
|
}
|
|
6275
7351
|
},
|
|
6276
7352
|
"required": [
|
|
6277
|
-
"
|
|
6278
|
-
"
|
|
6279
|
-
"
|
|
7353
|
+
"controls",
|
|
7354
|
+
"macroParameter",
|
|
7355
|
+
"type"
|
|
6280
7356
|
],
|
|
6281
|
-
"
|
|
6282
|
-
"shortClassName": "buttonControlBean",
|
|
7357
|
+
"shortClassName": "macroToggleGroupBean",
|
|
6283
7358
|
"type": "object",
|
|
6284
|
-
"title": "
|
|
6285
|
-
"description": "\n\nDefines a
|
|
7359
|
+
"title": "ToggleGroup",
|
|
7360
|
+
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6286
7361
|
},
|
|
6287
7362
|
{
|
|
6288
7363
|
"properties": {
|
|
6289
7364
|
"controls": {
|
|
6290
7365
|
"items": {
|
|
6291
7366
|
"properties": {
|
|
6292
|
-
"macroParameterValue": {
|
|
6293
|
-
"maxLength": 10000,
|
|
6294
|
-
"type": "string",
|
|
6295
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6296
|
-
},
|
|
6297
7367
|
"label": {
|
|
6298
7368
|
"$ref": "#/definitions/i18nProperty",
|
|
6299
7369
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6300
7370
|
},
|
|
6301
7371
|
"type": {
|
|
6302
7372
|
"enum": [
|
|
6303
|
-
"
|
|
6304
|
-
"
|
|
7373
|
+
"button",
|
|
7374
|
+
"BUTTON"
|
|
6305
7375
|
],
|
|
6306
7376
|
"type": "string",
|
|
6307
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7377
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6308
7378
|
},
|
|
6309
7379
|
"key": {
|
|
6310
7380
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -6314,44 +7384,68 @@
|
|
|
6314
7384
|
}
|
|
6315
7385
|
},
|
|
6316
7386
|
"required": [
|
|
6317
|
-
"macroParameterValue",
|
|
6318
7387
|
"label",
|
|
6319
7388
|
"type",
|
|
6320
7389
|
"key"
|
|
6321
7390
|
],
|
|
6322
7391
|
"additionalProperties": true,
|
|
6323
|
-
"shortClassName": "
|
|
7392
|
+
"shortClassName": "buttonControlBean",
|
|
6324
7393
|
"type": "object",
|
|
6325
|
-
"title": "
|
|
6326
|
-
"description": "\n\nDefines a
|
|
7394
|
+
"title": "ButtonControl",
|
|
7395
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6327
7396
|
},
|
|
6328
7397
|
"type": "array",
|
|
6329
|
-
"fieldDescription": "\n\
|
|
7398
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
6330
7399
|
},
|
|
7400
|
+
"type": {
|
|
7401
|
+
"enum": [
|
|
7402
|
+
"group",
|
|
7403
|
+
"GROUP"
|
|
7404
|
+
],
|
|
7405
|
+
"type": "string",
|
|
7406
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7407
|
+
}
|
|
7408
|
+
},
|
|
7409
|
+
"required": [
|
|
7410
|
+
"controls",
|
|
7411
|
+
"type"
|
|
7412
|
+
],
|
|
7413
|
+
"shortClassName": "controlGroupBean",
|
|
7414
|
+
"type": "object",
|
|
7415
|
+
"title": "ControlGroup",
|
|
7416
|
+
"description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
7417
|
+
},
|
|
7418
|
+
{
|
|
7419
|
+
"properties": {
|
|
6331
7420
|
"macroParameter": {
|
|
6332
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
6333
7421
|
"maxLength": 100,
|
|
6334
7422
|
"type": "string",
|
|
6335
|
-
"fieldDescription": "\n\nThe
|
|
7423
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6336
7424
|
},
|
|
6337
7425
|
"type": {
|
|
6338
7426
|
"enum": [
|
|
6339
|
-
"
|
|
6340
|
-
"
|
|
7427
|
+
"text",
|
|
7428
|
+
"TEXT"
|
|
6341
7429
|
],
|
|
6342
7430
|
"type": "string",
|
|
6343
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7431
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7432
|
+
},
|
|
7433
|
+
"key": {
|
|
7434
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7435
|
+
"maxLength": 100,
|
|
7436
|
+
"type": "string",
|
|
7437
|
+
"fieldDescription": "\n\nA key to identify this module.\n\n This key must be unique relative to the add on, with the exception of Confluence macros: Their keys need to be\n globally unique.\n\n Keys must only contain alphanumeric characters and dashes.\n\n The key is used to generate the url to your add-on's module. The url is generated as a combination of your add-on\n key and module key. For example, an add-on which looks like:\n\n {\n \"key\": \"my-addon\",\n \"modules\": {\n \"configurePage\": {\n \"key\": \"configure-me\",\n }\n }\n }\n\n Will have a configuration page module with a URL of `/plugins/servlet/ac/my-addon/configure-me`.\n\n"
|
|
6344
7438
|
}
|
|
6345
7439
|
},
|
|
6346
7440
|
"required": [
|
|
6347
|
-
"controls",
|
|
6348
7441
|
"macroParameter",
|
|
6349
|
-
"type"
|
|
7442
|
+
"type",
|
|
7443
|
+
"key"
|
|
6350
7444
|
],
|
|
6351
|
-
"shortClassName": "
|
|
7445
|
+
"shortClassName": "textControlBean",
|
|
6352
7446
|
"type": "object",
|
|
6353
|
-
"title": "
|
|
6354
|
-
"description": "\n\nDefines a
|
|
7447
|
+
"title": "TextControl",
|
|
7448
|
+
"description": "\n\nDefines a text field which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6355
7449
|
}
|
|
6356
7450
|
]
|
|
6357
7451
|
},
|
|
@@ -6651,17 +7745,22 @@
|
|
|
6651
7745
|
"controls": {
|
|
6652
7746
|
"items": {
|
|
6653
7747
|
"properties": {
|
|
7748
|
+
"macroParameterValue": {
|
|
7749
|
+
"maxLength": 10000,
|
|
7750
|
+
"type": "string",
|
|
7751
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
7752
|
+
},
|
|
6654
7753
|
"label": {
|
|
6655
7754
|
"$ref": "#/definitions/i18nProperty",
|
|
6656
7755
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6657
7756
|
},
|
|
6658
7757
|
"type": {
|
|
6659
7758
|
"enum": [
|
|
6660
|
-
"
|
|
6661
|
-
"
|
|
7759
|
+
"togglebutton",
|
|
7760
|
+
"TOGGLEBUTTON"
|
|
6662
7761
|
],
|
|
6663
7762
|
"type": "string",
|
|
6664
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7763
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
6665
7764
|
},
|
|
6666
7765
|
"key": {
|
|
6667
7766
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -6671,68 +7770,44 @@
|
|
|
6671
7770
|
}
|
|
6672
7771
|
},
|
|
6673
7772
|
"required": [
|
|
7773
|
+
"macroParameterValue",
|
|
6674
7774
|
"label",
|
|
6675
7775
|
"type",
|
|
6676
7776
|
"key"
|
|
6677
7777
|
],
|
|
6678
7778
|
"additionalProperties": true,
|
|
6679
|
-
"shortClassName": "
|
|
7779
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
6680
7780
|
"type": "object",
|
|
6681
|
-
"title": "
|
|
6682
|
-
"description": "\n\nDefines a button which
|
|
7781
|
+
"title": "ToggleButtonControl",
|
|
7782
|
+
"description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
|
|
6683
7783
|
},
|
|
6684
7784
|
"type": "array",
|
|
6685
|
-
"fieldDescription": "\n\
|
|
7785
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
6686
7786
|
},
|
|
6687
|
-
"
|
|
6688
|
-
"
|
|
6689
|
-
|
|
6690
|
-
"GROUP"
|
|
6691
|
-
],
|
|
7787
|
+
"macroParameter": {
|
|
7788
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
7789
|
+
"maxLength": 100,
|
|
6692
7790
|
"type": "string",
|
|
6693
|
-
"fieldDescription": "\n\nThe
|
|
6694
|
-
}
|
|
6695
|
-
},
|
|
6696
|
-
"required": [
|
|
6697
|
-
"controls",
|
|
6698
|
-
"type"
|
|
6699
|
-
],
|
|
6700
|
-
"shortClassName": "controlGroupBean",
|
|
6701
|
-
"type": "object",
|
|
6702
|
-
"title": "ControlGroup",
|
|
6703
|
-
"description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6704
|
-
},
|
|
6705
|
-
{
|
|
6706
|
-
"properties": {
|
|
6707
|
-
"label": {
|
|
6708
|
-
"$ref": "#/definitions/i18nProperty",
|
|
6709
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7791
|
+
"fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
|
|
6710
7792
|
},
|
|
6711
7793
|
"type": {
|
|
6712
7794
|
"enum": [
|
|
6713
|
-
"
|
|
6714
|
-
"
|
|
7795
|
+
"togglegroup",
|
|
7796
|
+
"TOGGLEGROUP"
|
|
6715
7797
|
],
|
|
6716
7798
|
"type": "string",
|
|
6717
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6718
|
-
},
|
|
6719
|
-
"key": {
|
|
6720
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6721
|
-
"maxLength": 100,
|
|
6722
|
-
"type": "string",
|
|
6723
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7799
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
6724
7800
|
}
|
|
6725
7801
|
},
|
|
6726
7802
|
"required": [
|
|
6727
|
-
"
|
|
6728
|
-
"
|
|
6729
|
-
"
|
|
7803
|
+
"controls",
|
|
7804
|
+
"macroParameter",
|
|
7805
|
+
"type"
|
|
6730
7806
|
],
|
|
6731
|
-
"
|
|
6732
|
-
"shortClassName": "buttonControlBean",
|
|
7807
|
+
"shortClassName": "macroToggleGroupBean",
|
|
6733
7808
|
"type": "object",
|
|
6734
|
-
"title": "
|
|
6735
|
-
"description": "\n\nDefines a
|
|
7809
|
+
"title": "ToggleGroup",
|
|
7810
|
+
"description": "\n\nDefines a ToggleGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"togglegroup\",\n \"macroParameter\": \"toggleGroupMacroParameter\",\n \"controls\": [\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n },\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 1\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-toggle-button-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
6736
7811
|
},
|
|
6737
7812
|
{
|
|
6738
7813
|
"properties": {
|
|
@@ -6771,22 +7846,17 @@
|
|
|
6771
7846
|
"controls": {
|
|
6772
7847
|
"items": {
|
|
6773
7848
|
"properties": {
|
|
6774
|
-
"macroParameterValue": {
|
|
6775
|
-
"maxLength": 10000,
|
|
6776
|
-
"type": "string",
|
|
6777
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6778
|
-
},
|
|
6779
7849
|
"label": {
|
|
6780
7850
|
"$ref": "#/definitions/i18nProperty",
|
|
6781
7851
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6782
7852
|
},
|
|
6783
7853
|
"type": {
|
|
6784
7854
|
"enum": [
|
|
6785
|
-
"
|
|
6786
|
-
"
|
|
7855
|
+
"button",
|
|
7856
|
+
"BUTTON"
|
|
6787
7857
|
],
|
|
6788
7858
|
"type": "string",
|
|
6789
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7859
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6790
7860
|
},
|
|
6791
7861
|
"key": {
|
|
6792
7862
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -6796,44 +7866,68 @@
|
|
|
6796
7866
|
}
|
|
6797
7867
|
},
|
|
6798
7868
|
"required": [
|
|
6799
|
-
"macroParameterValue",
|
|
6800
7869
|
"label",
|
|
6801
7870
|
"type",
|
|
6802
7871
|
"key"
|
|
6803
7872
|
],
|
|
6804
7873
|
"additionalProperties": true,
|
|
6805
|
-
"shortClassName": "
|
|
7874
|
+
"shortClassName": "buttonControlBean",
|
|
6806
7875
|
"type": "object",
|
|
6807
|
-
"title": "
|
|
6808
|
-
"description": "\n\nDefines a
|
|
7876
|
+
"title": "ButtonControl",
|
|
7877
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6809
7878
|
},
|
|
6810
7879
|
"type": "array",
|
|
6811
|
-
"fieldDescription": "\n\
|
|
7880
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
6812
7881
|
},
|
|
6813
|
-
"
|
|
6814
|
-
"
|
|
6815
|
-
|
|
7882
|
+
"type": {
|
|
7883
|
+
"enum": [
|
|
7884
|
+
"group",
|
|
7885
|
+
"GROUP"
|
|
7886
|
+
],
|
|
6816
7887
|
"type": "string",
|
|
6817
|
-
"fieldDescription": "\n\nThe
|
|
7888
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7889
|
+
}
|
|
7890
|
+
},
|
|
7891
|
+
"required": [
|
|
7892
|
+
"controls",
|
|
7893
|
+
"type"
|
|
7894
|
+
],
|
|
7895
|
+
"shortClassName": "controlGroupBean",
|
|
7896
|
+
"type": "object",
|
|
7897
|
+
"title": "ControlGroup",
|
|
7898
|
+
"description": "\n\nDefines a ControlGroup which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n [\n {\n \"type\": \"group\",\n \"controls\": [\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n },\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 1\"\n },\n \"key\": \"my-custom-control-1\"\n }\n ]\n }\n ]\n\n\n"
|
|
7899
|
+
},
|
|
7900
|
+
{
|
|
7901
|
+
"properties": {
|
|
7902
|
+
"label": {
|
|
7903
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7904
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6818
7905
|
},
|
|
6819
7906
|
"type": {
|
|
6820
7907
|
"enum": [
|
|
6821
|
-
"
|
|
6822
|
-
"
|
|
7908
|
+
"button",
|
|
7909
|
+
"BUTTON"
|
|
6823
7910
|
],
|
|
6824
7911
|
"type": "string",
|
|
6825
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7912
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7913
|
+
},
|
|
7914
|
+
"key": {
|
|
7915
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7916
|
+
"maxLength": 100,
|
|
7917
|
+
"type": "string",
|
|
7918
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6826
7919
|
}
|
|
6827
7920
|
},
|
|
6828
7921
|
"required": [
|
|
6829
|
-
"
|
|
6830
|
-
"
|
|
6831
|
-
"
|
|
7922
|
+
"label",
|
|
7923
|
+
"type",
|
|
7924
|
+
"key"
|
|
6832
7925
|
],
|
|
6833
|
-
"
|
|
7926
|
+
"additionalProperties": true,
|
|
7927
|
+
"shortClassName": "buttonControlBean",
|
|
6834
7928
|
"type": "object",
|
|
6835
|
-
"title": "
|
|
6836
|
-
"description": "\n\nDefines a
|
|
7929
|
+
"title": "ButtonControl",
|
|
7930
|
+
"description": "\n\nDefines a button which may appear in control extension points such as the property panel\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"button\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-control-0\"\n }\n\n\n"
|
|
6837
7931
|
}
|
|
6838
7932
|
]
|
|
6839
7933
|
},
|
|
@@ -7069,6 +8163,22 @@
|
|
|
7069
8163
|
"type": "object",
|
|
7070
8164
|
"fieldDescription": "\n\n<p>An object containing options which vary based on the type of web item target you are implementing.</p>\n\n <p>Currently-allowed options are:</p>\n <ul>\n <li><a href=\"../inline-dialog-options/\">Inline Dialog Options</a> when type is \"inlinedialog\", and</li>\n <li><a href=\"../dialog-options/\">Dialog Options</a> when type is \"dialog\"</li>\n <li><a href=\"../dialog-module-options/\">Dialog Module Options</a> when type is \"dialogmodule\"</li>\n </ul>\n\n",
|
|
7071
8165
|
"anyOf": [
|
|
8166
|
+
{
|
|
8167
|
+
"properties": {
|
|
8168
|
+
"key": {
|
|
8169
|
+
"maxLength": 100,
|
|
8170
|
+
"type": "string",
|
|
8171
|
+
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
8172
|
+
}
|
|
8173
|
+
},
|
|
8174
|
+
"required": [
|
|
8175
|
+
"key"
|
|
8176
|
+
],
|
|
8177
|
+
"shortClassName": "dialogModuleOptions",
|
|
8178
|
+
"type": "object",
|
|
8179
|
+
"title": "Dialog Module Options",
|
|
8180
|
+
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
8181
|
+
},
|
|
7072
8182
|
{
|
|
7073
8183
|
"properties": {
|
|
7074
8184
|
"size": {
|
|
@@ -7160,22 +8270,6 @@
|
|
|
7160
8270
|
"type": "object",
|
|
7161
8271
|
"title": "Inline Dialog Options",
|
|
7162
8272
|
"description": "\n\nOptions for an inline dialog target\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"inlinedialog\",\n \"options\": {\n \"onHover\": true,\n \"offsetX\": \"30px\",\n \"offsetY\": \"20px\"\n }\n }\n }\n\n\n"
|
|
7163
|
-
},
|
|
7164
|
-
{
|
|
7165
|
-
"properties": {
|
|
7166
|
-
"key": {
|
|
7167
|
-
"maxLength": 100,
|
|
7168
|
-
"type": "string",
|
|
7169
|
-
"fieldDescription": "\n\n<p>The key of a <a href=\"../dialog/\">Dialog</a> module declared in this Connect add-on.</p>\n\n <p>\n The dialog module will include the <a href=\"../dialog-options/\">Dialog Options</a>\n that would otherwise need to be specified directly in this options object.\n </p>\n\n"
|
|
7170
|
-
}
|
|
7171
|
-
},
|
|
7172
|
-
"required": [
|
|
7173
|
-
"key"
|
|
7174
|
-
],
|
|
7175
|
-
"shortClassName": "dialogModuleOptions",
|
|
7176
|
-
"type": "object",
|
|
7177
|
-
"title": "Dialog Module Options",
|
|
7178
|
-
"description": "\n\nOptions for a web-item targeting a common <a href=\"../dialog/\">dialog module</a>.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"target\": {\n \"type\": \"dialogmodule\",\n \"options\": {\n \"key\": \"dialog-module-key\"\n }\n }\n }\n\n\n"
|
|
7179
8273
|
}
|
|
7180
8274
|
]
|
|
7181
8275
|
},
|
|
@@ -7289,6 +8383,10 @@
|
|
|
7289
8383
|
"type": "string",
|
|
7290
8384
|
"fieldDescription": "\n\nFires when an add on has been successfully disabled. This is an asynchronous notification event.\n\n"
|
|
7291
8385
|
},
|
|
8386
|
+
"dare-migration": {
|
|
8387
|
+
"type": "string",
|
|
8388
|
+
"fieldDescription": "\n\nUsed DaRe app migration service to trigger migrations events\n\n"
|
|
8389
|
+
},
|
|
7292
8390
|
"uninstalled": {
|
|
7293
8391
|
"format": "uri",
|
|
7294
8392
|
"type": "string",
|
|
@@ -7313,6 +8411,45 @@
|
|
|
7313
8411
|
"title": "ModuleSchema",
|
|
7314
8412
|
"type": "object"
|
|
7315
8413
|
},
|
|
8414
|
+
"BearerMethodSchema": {
|
|
8415
|
+
"oneOf": [
|
|
8416
|
+
{
|
|
8417
|
+
"type": "string",
|
|
8418
|
+
"enum": [
|
|
8419
|
+
"authorization-header",
|
|
8420
|
+
"form-encoded",
|
|
8421
|
+
"uri-query"
|
|
8422
|
+
]
|
|
8423
|
+
},
|
|
8424
|
+
{
|
|
8425
|
+
"type": "object",
|
|
8426
|
+
"additionalProperties": false,
|
|
8427
|
+
"required": [
|
|
8428
|
+
"type"
|
|
8429
|
+
],
|
|
8430
|
+
"properties": {
|
|
8431
|
+
"type": {
|
|
8432
|
+
"type": "string",
|
|
8433
|
+
"enum": [
|
|
8434
|
+
"authorization-header",
|
|
8435
|
+
"form-encoded",
|
|
8436
|
+
"uri-query"
|
|
8437
|
+
]
|
|
8438
|
+
},
|
|
8439
|
+
"prefix": {
|
|
8440
|
+
"type": "string",
|
|
8441
|
+
"description": "Custom authorization header prefix",
|
|
8442
|
+
"maxLength": 1000
|
|
8443
|
+
},
|
|
8444
|
+
"parameter": {
|
|
8445
|
+
"type": "string",
|
|
8446
|
+
"description": "Custom Header name or Parameter name (depending on type)",
|
|
8447
|
+
"maxlength": 1000
|
|
8448
|
+
}
|
|
8449
|
+
}
|
|
8450
|
+
}
|
|
8451
|
+
]
|
|
8452
|
+
},
|
|
7316
8453
|
"ModuleKeySchema": {
|
|
7317
8454
|
"type": "string",
|
|
7318
8455
|
"title": "ModuleKeySchema",
|
|
@@ -7398,8 +8535,27 @@
|
|
|
7398
8535
|
},
|
|
7399
8536
|
"client": {
|
|
7400
8537
|
"items": {
|
|
7401
|
-
"
|
|
7402
|
-
|
|
8538
|
+
"oneOf": [
|
|
8539
|
+
{
|
|
8540
|
+
"type": "string",
|
|
8541
|
+
"maxLength": 1000
|
|
8542
|
+
},
|
|
8543
|
+
{
|
|
8544
|
+
"type": "object",
|
|
8545
|
+
"description": "References a Remote",
|
|
8546
|
+
"title": "remote",
|
|
8547
|
+
"properties": {
|
|
8548
|
+
"remote": {
|
|
8549
|
+
"type": "string",
|
|
8550
|
+
"maxLength": 1000
|
|
8551
|
+
}
|
|
8552
|
+
},
|
|
8553
|
+
"required": [
|
|
8554
|
+
"remote"
|
|
8555
|
+
],
|
|
8556
|
+
"additionalProperties": false
|
|
8557
|
+
}
|
|
8558
|
+
]
|
|
7403
8559
|
},
|
|
7404
8560
|
"title": "client",
|
|
7405
8561
|
"type": "array",
|
|
@@ -7545,13 +8701,13 @@
|
|
|
7545
8701
|
"description": "External authentication providers",
|
|
7546
8702
|
"items": {
|
|
7547
8703
|
"oneOf": [
|
|
7548
|
-
{
|
|
7549
|
-
"$ref": "#/definitions/AuthProviderPredefined",
|
|
7550
|
-
"title": "AuthProviderPredefined"
|
|
7551
|
-
},
|
|
7552
8704
|
{
|
|
7553
8705
|
"$ref": "#/definitions/AuthProviderCustom",
|
|
7554
8706
|
"title": "AuthProviderCustom"
|
|
8707
|
+
},
|
|
8708
|
+
{
|
|
8709
|
+
"$ref": "#/definitions/AuthProviderPredefined",
|
|
8710
|
+
"title": "AuthProviderPredefined"
|
|
7555
8711
|
}
|
|
7556
8712
|
]
|
|
7557
8713
|
}
|
|
@@ -7565,7 +8721,9 @@
|
|
|
7565
8721
|
"key",
|
|
7566
8722
|
"name",
|
|
7567
8723
|
"integration",
|
|
7568
|
-
"
|
|
8724
|
+
"bearerMethod",
|
|
8725
|
+
"clientId",
|
|
8726
|
+
"remotes"
|
|
7569
8727
|
],
|
|
7570
8728
|
"properties": {
|
|
7571
8729
|
"key": {
|
|
@@ -7584,7 +8742,11 @@
|
|
|
7584
8742
|
"dropbox",
|
|
7585
8743
|
"google",
|
|
7586
8744
|
"miro"
|
|
7587
|
-
]
|
|
8745
|
+
],
|
|
8746
|
+
"description": "Pre-defined integration name"
|
|
8747
|
+
},
|
|
8748
|
+
"bearerMethod": {
|
|
8749
|
+
"$ref": "#/definitions/BearerMethodSchema"
|
|
7588
8750
|
},
|
|
7589
8751
|
"clientId": {
|
|
7590
8752
|
"type": "string",
|
|
@@ -7596,6 +8758,12 @@
|
|
|
7596
8758
|
"items": {
|
|
7597
8759
|
"type": "string"
|
|
7598
8760
|
}
|
|
8761
|
+
},
|
|
8762
|
+
"remotes": {
|
|
8763
|
+
"type": "array",
|
|
8764
|
+
"items": {
|
|
8765
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
8766
|
+
}
|
|
7599
8767
|
}
|
|
7600
8768
|
}
|
|
7601
8769
|
},
|
|
@@ -7606,6 +8774,7 @@
|
|
|
7606
8774
|
"key",
|
|
7607
8775
|
"type",
|
|
7608
8776
|
"name",
|
|
8777
|
+
"bearerMethod",
|
|
7609
8778
|
"clientId",
|
|
7610
8779
|
"actions"
|
|
7611
8780
|
],
|
|
@@ -7625,12 +8794,7 @@
|
|
|
7625
8794
|
]
|
|
7626
8795
|
},
|
|
7627
8796
|
"bearerMethod": {
|
|
7628
|
-
"
|
|
7629
|
-
"enum": [
|
|
7630
|
-
"authorization-header",
|
|
7631
|
-
"form-encoded",
|
|
7632
|
-
"uri-query"
|
|
7633
|
-
]
|
|
8797
|
+
"$ref": "#/definitions/BearerMethodSchema"
|
|
7634
8798
|
},
|
|
7635
8799
|
"clientId": {
|
|
7636
8800
|
"type": "string",
|
|
@@ -7660,10 +8824,10 @@
|
|
|
7660
8824
|
"additionalProperties": false,
|
|
7661
8825
|
"properties": {
|
|
7662
8826
|
"authorization": {
|
|
7663
|
-
"$ref": "#/definitions/
|
|
8827
|
+
"$ref": "#/definitions/AuthorizeActionDefinition"
|
|
7664
8828
|
},
|
|
7665
8829
|
"exchange": {
|
|
7666
|
-
"$ref": "#/definitions/
|
|
8830
|
+
"$ref": "#/definitions/ExchangeActionDefinition"
|
|
7667
8831
|
},
|
|
7668
8832
|
"revokeToken": {
|
|
7669
8833
|
"$ref": "#/definitions/ActionDefinition"
|
|
@@ -7738,6 +8902,74 @@
|
|
|
7738
8902
|
}
|
|
7739
8903
|
}
|
|
7740
8904
|
},
|
|
8905
|
+
"AuthorizeActionDefinition": {
|
|
8906
|
+
"type": "object",
|
|
8907
|
+
"required": [
|
|
8908
|
+
"remote",
|
|
8909
|
+
"path"
|
|
8910
|
+
],
|
|
8911
|
+
"additionalProperties": false,
|
|
8912
|
+
"properties": {
|
|
8913
|
+
"remote": {
|
|
8914
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
8915
|
+
},
|
|
8916
|
+
"path": {
|
|
8917
|
+
"type": "string",
|
|
8918
|
+
"maxLength": 1000
|
|
8919
|
+
},
|
|
8920
|
+
"queryParameters": {
|
|
8921
|
+
"type": "object",
|
|
8922
|
+
"description": "Additional GET parameters sent to the API",
|
|
8923
|
+
"additionalProperties": false,
|
|
8924
|
+
"patternProperties": {
|
|
8925
|
+
"^[a-zA-Z0-9_-]+$": {
|
|
8926
|
+
"type": "string"
|
|
8927
|
+
}
|
|
8928
|
+
}
|
|
8929
|
+
}
|
|
8930
|
+
}
|
|
8931
|
+
},
|
|
8932
|
+
"ExchangeActionDefinition": {
|
|
8933
|
+
"type": "object",
|
|
8934
|
+
"required": [
|
|
8935
|
+
"remote",
|
|
8936
|
+
"path"
|
|
8937
|
+
],
|
|
8938
|
+
"additionalProperties": false,
|
|
8939
|
+
"properties": {
|
|
8940
|
+
"remote": {
|
|
8941
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
8942
|
+
},
|
|
8943
|
+
"path": {
|
|
8944
|
+
"type": "string",
|
|
8945
|
+
"maxLength": 1000
|
|
8946
|
+
},
|
|
8947
|
+
"resolvers": {
|
|
8948
|
+
"type": "object",
|
|
8949
|
+
"additionalProperties": false,
|
|
8950
|
+
"properties": {
|
|
8951
|
+
"accessToken": {
|
|
8952
|
+
"type": "string",
|
|
8953
|
+
"description": "Path to the 'access token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)",
|
|
8954
|
+
"default": "access_token",
|
|
8955
|
+
"maxLength": 1000
|
|
8956
|
+
},
|
|
8957
|
+
"accessTokenExpires": {
|
|
8958
|
+
"type": "string",
|
|
8959
|
+
"description": "Path to the 'access token expires' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)",
|
|
8960
|
+
"default": "expires_in",
|
|
8961
|
+
"maxLength": 1000
|
|
8962
|
+
},
|
|
8963
|
+
"refreshToken": {
|
|
8964
|
+
"type": "string",
|
|
8965
|
+
"description": "Path to the 'refresh token' parameter within the JSON response from the auhuorization API (full stop separated for nested parameters)",
|
|
8966
|
+
"default": "refresh_token",
|
|
8967
|
+
"maxlength": 1000
|
|
8968
|
+
}
|
|
8969
|
+
}
|
|
8970
|
+
}
|
|
8971
|
+
}
|
|
8972
|
+
},
|
|
7741
8973
|
"ActionDefinition": {
|
|
7742
8974
|
"type": "object",
|
|
7743
8975
|
"required": [
|
|
@@ -8288,7 +9520,7 @@
|
|
|
8288
9520
|
"value": {
|
|
8289
9521
|
"maxLength": 1500,
|
|
8290
9522
|
"type": "string",
|
|
8291
|
-
"fieldDescription": "\n\nThe human-readable default value. This will be used if no translation exists.\n\n"
|
|
9523
|
+
"fieldDescription": "\n\nThe human-readable default value. This will be used if no translation exists.\n Only the following HTML tags are supported: `b`, `i`, `strong`, `em`, and `code`.\n\n"
|
|
8292
9524
|
},
|
|
8293
9525
|
"i18n": {
|
|
8294
9526
|
"maxLength": 300,
|
|
@@ -8328,33 +9560,6 @@
|
|
|
8328
9560
|
"title": "Icon",
|
|
8329
9561
|
"description": "\n\nDefines an icon to display.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"icon\": {\n \"width\": 16,\n \"height\": 16,\n \"url\": \"/my-icon.png\"\n }\n }\n\n\n"
|
|
8330
9562
|
},
|
|
8331
|
-
"singleCondition": {
|
|
8332
|
-
"properties": {
|
|
8333
|
-
"condition": {
|
|
8334
|
-
"maxLength": 100,
|
|
8335
|
-
"type": "string",
|
|
8336
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
8337
|
-
},
|
|
8338
|
-
"invert": {
|
|
8339
|
-
"type": "boolean",
|
|
8340
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
8341
|
-
"defaultValue": "false"
|
|
8342
|
-
},
|
|
8343
|
-
"params": {
|
|
8344
|
-
"additionalProperties": true,
|
|
8345
|
-
"type": "object",
|
|
8346
|
-
"fieldTitle": "Object",
|
|
8347
|
-
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
8348
|
-
}
|
|
8349
|
-
},
|
|
8350
|
-
"required": [
|
|
8351
|
-
"condition"
|
|
8352
|
-
],
|
|
8353
|
-
"shortClassName": "singleConditionBean",
|
|
8354
|
-
"type": "object",
|
|
8355
|
-
"title": "Single Condition",
|
|
8356
|
-
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
8357
|
-
},
|
|
8358
9563
|
"compositeCondition": {
|
|
8359
9564
|
"properties": {
|
|
8360
9565
|
"conditions": {
|
|
@@ -8388,6 +9593,33 @@
|
|
|
8388
9593
|
"title": "Composite Condition",
|
|
8389
9594
|
"description": "\n\nComposite Conditions are composed of a collection of [Single Condition](../single-condition/) / Composite Conditions\n and a type attribute.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"conditions\": [\n {\n \"or\": [\n {\n \"condition\": \"can_attach_file_to_issue\",\n \"invert\": false\n },\n {\n \"condition\": \"is_issue_assigned_to_current_user\",\n \"invert\": false\n }\n ]\n },\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n ]\n }\n\n\n"
|
|
8390
9595
|
},
|
|
9596
|
+
"singleCondition": {
|
|
9597
|
+
"properties": {
|
|
9598
|
+
"condition": {
|
|
9599
|
+
"maxLength": 100,
|
|
9600
|
+
"type": "string",
|
|
9601
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
9602
|
+
},
|
|
9603
|
+
"invert": {
|
|
9604
|
+
"type": "boolean",
|
|
9605
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
9606
|
+
"defaultValue": "false"
|
|
9607
|
+
},
|
|
9608
|
+
"params": {
|
|
9609
|
+
"additionalProperties": true,
|
|
9610
|
+
"type": "object",
|
|
9611
|
+
"fieldTitle": "Object",
|
|
9612
|
+
"fieldDescription": "\n\nThis object represents a map of key/value pairs, where each property name and value corresponds to the parameter name and value respectively.\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"params\": {\n \"someOtherProperty\": \"someValue\",\n \"myCustomProperty\": \"myValue\"\n }\n }\n\n\n"
|
|
9613
|
+
}
|
|
9614
|
+
},
|
|
9615
|
+
"required": [
|
|
9616
|
+
"condition"
|
|
9617
|
+
],
|
|
9618
|
+
"shortClassName": "singleConditionBean",
|
|
9619
|
+
"type": "object",
|
|
9620
|
+
"title": "Single Condition",
|
|
9621
|
+
"description": "\n\nSingle Conditions are either provided by the host application. See the complete documentation of\n [Conditions](../../conditions/) for more information.\n\n To invert a condition, add the attribute ``invert=\"true\"`` to the condition element.\n This is useful where you want to show the section if a certain condition is not satisfied.\n\n <h3>Example</h3>\n\n\n\n\n\n {\n \"condition\": \"user_is_logged_in\",\n \"invert\": false\n }\n\n\n"
|
|
9622
|
+
},
|
|
8391
9623
|
"webPanelLayout": {
|
|
8392
9624
|
"properties": {
|
|
8393
9625
|
"width": {
|