@forge/manifest 2.5.1-next.3 → 2.6.0-next.12
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 +66 -0
- package/out/mapping/product-event-to-scope-mapping.json +14 -8
- package/out/schema/manifest-schema.json +565 -398
- package/out/schema/manifest.d.ts +437 -355
- package/out/scopes/shipyard-scopes.json +2 -0
- package/out/types/module-types.d.ts +1 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +1 -0
- package/package.json +1 -1
|
@@ -1104,6 +1104,108 @@
|
|
|
1104
1104
|
},
|
|
1105
1105
|
"minItems": 1
|
|
1106
1106
|
},
|
|
1107
|
+
"confluence:globalPage": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"oneOf": [
|
|
1111
|
+
{
|
|
1112
|
+
"type": "object",
|
|
1113
|
+
"additionalProperties": false,
|
|
1114
|
+
"properties": {
|
|
1115
|
+
"title": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"minLength": 1,
|
|
1118
|
+
"maxLength": 255
|
|
1119
|
+
},
|
|
1120
|
+
"icon": {
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"minLength": 1,
|
|
1123
|
+
"maxLength": 255
|
|
1124
|
+
},
|
|
1125
|
+
"route": {
|
|
1126
|
+
"type": "string",
|
|
1127
|
+
"minLength": 1,
|
|
1128
|
+
"maxLength": 255,
|
|
1129
|
+
"pattern": "^[a-z0-9\\-]+$"
|
|
1130
|
+
},
|
|
1131
|
+
"function": {
|
|
1132
|
+
"type": "string",
|
|
1133
|
+
"minLength": 1,
|
|
1134
|
+
"maxLength": 255,
|
|
1135
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1136
|
+
},
|
|
1137
|
+
"key": {
|
|
1138
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"required": [
|
|
1142
|
+
"title",
|
|
1143
|
+
"route",
|
|
1144
|
+
"function",
|
|
1145
|
+
"key"
|
|
1146
|
+
]
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"type": "object",
|
|
1150
|
+
"additionalProperties": false,
|
|
1151
|
+
"properties": {
|
|
1152
|
+
"title": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"minLength": 1,
|
|
1155
|
+
"maxLength": 255
|
|
1156
|
+
},
|
|
1157
|
+
"icon": {
|
|
1158
|
+
"type": "string",
|
|
1159
|
+
"minLength": 1,
|
|
1160
|
+
"maxLength": 255
|
|
1161
|
+
},
|
|
1162
|
+
"route": {
|
|
1163
|
+
"type": "string",
|
|
1164
|
+
"minLength": 1,
|
|
1165
|
+
"maxLength": 255,
|
|
1166
|
+
"pattern": "^[a-z0-9\\-]+$"
|
|
1167
|
+
},
|
|
1168
|
+
"resolver": {
|
|
1169
|
+
"additionalProperties": false,
|
|
1170
|
+
"type": "object",
|
|
1171
|
+
"properties": {
|
|
1172
|
+
"function": {
|
|
1173
|
+
"type": "string",
|
|
1174
|
+
"minLength": 1,
|
|
1175
|
+
"maxLength": 255,
|
|
1176
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"required": [
|
|
1180
|
+
"function"
|
|
1181
|
+
]
|
|
1182
|
+
},
|
|
1183
|
+
"resource": {
|
|
1184
|
+
"type": "string",
|
|
1185
|
+
"minLength": 1,
|
|
1186
|
+
"maxLength": 23,
|
|
1187
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1188
|
+
},
|
|
1189
|
+
"resourceUploadId": {
|
|
1190
|
+
"type": "string",
|
|
1191
|
+
"minLength": 1,
|
|
1192
|
+
"maxLength": 255
|
|
1193
|
+
},
|
|
1194
|
+
"key": {
|
|
1195
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"required": [
|
|
1199
|
+
"title",
|
|
1200
|
+
"route",
|
|
1201
|
+
"resource",
|
|
1202
|
+
"key"
|
|
1203
|
+
]
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
"minItems": 1
|
|
1208
|
+
},
|
|
1107
1209
|
"jira:workflowValidator": {
|
|
1108
1210
|
"type": "array",
|
|
1109
1211
|
"items": {
|
|
@@ -1246,6 +1348,20 @@
|
|
|
1246
1348
|
}
|
|
1247
1349
|
]
|
|
1248
1350
|
},
|
|
1351
|
+
"value": {
|
|
1352
|
+
"type": "object",
|
|
1353
|
+
"properties": {
|
|
1354
|
+
"function": {
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"minLength": 1,
|
|
1357
|
+
"maxLength": 255,
|
|
1358
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
"required": [
|
|
1362
|
+
"function"
|
|
1363
|
+
]
|
|
1364
|
+
},
|
|
1249
1365
|
"key": {
|
|
1250
1366
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1251
1367
|
}
|
|
@@ -1362,6 +1478,20 @@
|
|
|
1362
1478
|
}
|
|
1363
1479
|
]
|
|
1364
1480
|
},
|
|
1481
|
+
"value": {
|
|
1482
|
+
"type": "object",
|
|
1483
|
+
"properties": {
|
|
1484
|
+
"function": {
|
|
1485
|
+
"type": "string",
|
|
1486
|
+
"minLength": 1,
|
|
1487
|
+
"maxLength": 255,
|
|
1488
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1491
|
+
"required": [
|
|
1492
|
+
"function"
|
|
1493
|
+
]
|
|
1494
|
+
},
|
|
1365
1495
|
"key": {
|
|
1366
1496
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1367
1497
|
}
|
|
@@ -1472,6 +1602,20 @@
|
|
|
1472
1602
|
}
|
|
1473
1603
|
]
|
|
1474
1604
|
},
|
|
1605
|
+
"value": {
|
|
1606
|
+
"type": "object",
|
|
1607
|
+
"properties": {
|
|
1608
|
+
"function": {
|
|
1609
|
+
"type": "string",
|
|
1610
|
+
"minLength": 1,
|
|
1611
|
+
"maxLength": 255,
|
|
1612
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
"required": [
|
|
1616
|
+
"function"
|
|
1617
|
+
]
|
|
1618
|
+
},
|
|
1475
1619
|
"icon": {
|
|
1476
1620
|
"type": "string",
|
|
1477
1621
|
"minLength": 1,
|
|
@@ -1639,6 +1783,20 @@
|
|
|
1639
1783
|
}
|
|
1640
1784
|
]
|
|
1641
1785
|
},
|
|
1786
|
+
"value": {
|
|
1787
|
+
"type": "object",
|
|
1788
|
+
"properties": {
|
|
1789
|
+
"function": {
|
|
1790
|
+
"type": "string",
|
|
1791
|
+
"minLength": 1,
|
|
1792
|
+
"maxLength": 255,
|
|
1793
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1794
|
+
}
|
|
1795
|
+
},
|
|
1796
|
+
"required": [
|
|
1797
|
+
"function"
|
|
1798
|
+
]
|
|
1799
|
+
},
|
|
1642
1800
|
"icon": {
|
|
1643
1801
|
"type": "string",
|
|
1644
1802
|
"minLength": 1,
|
|
@@ -1815,31 +1973,45 @@
|
|
|
1815
1973
|
{
|
|
1816
1974
|
"type": "object",
|
|
1817
1975
|
"properties": {
|
|
1818
|
-
"
|
|
1976
|
+
"function": {
|
|
1819
1977
|
"type": "string",
|
|
1820
1978
|
"minLength": 1,
|
|
1821
|
-
"maxLength": 255
|
|
1979
|
+
"maxLength": 255,
|
|
1980
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
1981
|
+
},
|
|
1982
|
+
"title": {
|
|
1983
|
+
"minLength": 1,
|
|
1984
|
+
"maxLength": 255,
|
|
1985
|
+
"type": "string"
|
|
1822
1986
|
},
|
|
1823
1987
|
"label": {
|
|
1824
|
-
"type": "string",
|
|
1825
1988
|
"minLength": 1,
|
|
1826
|
-
"maxLength": 255
|
|
1989
|
+
"maxLength": 255,
|
|
1990
|
+
"type": "string"
|
|
1827
1991
|
},
|
|
1828
1992
|
"status": {
|
|
1829
1993
|
"type": "object",
|
|
1830
1994
|
"properties": {
|
|
1995
|
+
"type": {
|
|
1996
|
+
"enum": [
|
|
1997
|
+
"badge",
|
|
1998
|
+
"icon",
|
|
1999
|
+
"lozenge"
|
|
2000
|
+
],
|
|
2001
|
+
"type": "string"
|
|
2002
|
+
},
|
|
1831
2003
|
"value": {
|
|
1832
2004
|
"type": "object",
|
|
1833
2005
|
"properties": {
|
|
1834
2006
|
"label": {
|
|
1835
|
-
"type": "string",
|
|
1836
2007
|
"minLength": 1,
|
|
1837
|
-
"maxLength": 255
|
|
2008
|
+
"maxLength": 255,
|
|
2009
|
+
"type": "string"
|
|
2010
|
+
},
|
|
2011
|
+
"url": {
|
|
2012
|
+
"type": "string"
|
|
1838
2013
|
},
|
|
1839
2014
|
"type": {
|
|
1840
|
-
"type": "string",
|
|
1841
|
-
"minLength": 1,
|
|
1842
|
-
"maxLength": 255,
|
|
1843
2015
|
"enum": [
|
|
1844
2016
|
"default",
|
|
1845
2017
|
"inprogress",
|
|
@@ -1847,73 +2019,93 @@
|
|
|
1847
2019
|
"new",
|
|
1848
2020
|
"removed",
|
|
1849
2021
|
"success"
|
|
1850
|
-
]
|
|
2022
|
+
],
|
|
2023
|
+
"type": "string"
|
|
1851
2024
|
}
|
|
1852
2025
|
},
|
|
1853
2026
|
"required": [
|
|
1854
2027
|
"label"
|
|
1855
2028
|
]
|
|
1856
|
-
},
|
|
1857
|
-
"type": {
|
|
1858
|
-
"type": "string",
|
|
1859
|
-
"minLength": 1,
|
|
1860
|
-
"maxLength": 255,
|
|
1861
|
-
"enum": [
|
|
1862
|
-
"badge",
|
|
1863
|
-
"lozenge"
|
|
1864
|
-
]
|
|
1865
2029
|
}
|
|
1866
2030
|
},
|
|
1867
2031
|
"required": [
|
|
1868
|
-
"
|
|
1869
|
-
"
|
|
2032
|
+
"type",
|
|
2033
|
+
"value"
|
|
1870
2034
|
]
|
|
1871
2035
|
},
|
|
1872
|
-
"
|
|
2036
|
+
"icon": {
|
|
1873
2037
|
"type": "string",
|
|
1874
2038
|
"minLength": 1,
|
|
1875
|
-
"maxLength": 255
|
|
1876
|
-
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2039
|
+
"maxLength": 255
|
|
1877
2040
|
},
|
|
1878
2041
|
"key": {
|
|
1879
2042
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
1880
2043
|
}
|
|
1881
2044
|
},
|
|
1882
2045
|
"required": [
|
|
1883
|
-
"title",
|
|
1884
|
-
"label",
|
|
1885
2046
|
"function",
|
|
2047
|
+
"label",
|
|
2048
|
+
"title",
|
|
1886
2049
|
"key"
|
|
1887
2050
|
]
|
|
1888
2051
|
},
|
|
1889
2052
|
{
|
|
1890
2053
|
"type": "object",
|
|
1891
2054
|
"properties": {
|
|
1892
|
-
"
|
|
2055
|
+
"resource": {
|
|
1893
2056
|
"type": "string",
|
|
1894
2057
|
"minLength": 1,
|
|
1895
|
-
"maxLength":
|
|
2058
|
+
"maxLength": 23,
|
|
2059
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
2060
|
+
},
|
|
2061
|
+
"resolver": {
|
|
2062
|
+
"additionalProperties": false,
|
|
2063
|
+
"type": "object",
|
|
2064
|
+
"properties": {
|
|
2065
|
+
"function": {
|
|
2066
|
+
"type": "string",
|
|
2067
|
+
"minLength": 1,
|
|
2068
|
+
"maxLength": 255,
|
|
2069
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2070
|
+
}
|
|
2071
|
+
},
|
|
2072
|
+
"required": [
|
|
2073
|
+
"function"
|
|
2074
|
+
]
|
|
2075
|
+
},
|
|
2076
|
+
"title": {
|
|
2077
|
+
"minLength": 1,
|
|
2078
|
+
"maxLength": 255,
|
|
2079
|
+
"type": "string"
|
|
1896
2080
|
},
|
|
1897
2081
|
"label": {
|
|
1898
|
-
"type": "string",
|
|
1899
2082
|
"minLength": 1,
|
|
1900
|
-
"maxLength": 255
|
|
2083
|
+
"maxLength": 255,
|
|
2084
|
+
"type": "string"
|
|
1901
2085
|
},
|
|
1902
2086
|
"status": {
|
|
1903
2087
|
"type": "object",
|
|
1904
2088
|
"properties": {
|
|
2089
|
+
"type": {
|
|
2090
|
+
"enum": [
|
|
2091
|
+
"badge",
|
|
2092
|
+
"icon",
|
|
2093
|
+
"lozenge"
|
|
2094
|
+
],
|
|
2095
|
+
"type": "string"
|
|
2096
|
+
},
|
|
1905
2097
|
"value": {
|
|
1906
2098
|
"type": "object",
|
|
1907
2099
|
"properties": {
|
|
1908
2100
|
"label": {
|
|
1909
|
-
"type": "string",
|
|
1910
2101
|
"minLength": 1,
|
|
1911
|
-
"maxLength": 255
|
|
2102
|
+
"maxLength": 255,
|
|
2103
|
+
"type": "string"
|
|
2104
|
+
},
|
|
2105
|
+
"url": {
|
|
2106
|
+
"type": "string"
|
|
1912
2107
|
},
|
|
1913
2108
|
"type": {
|
|
1914
|
-
"type": "string",
|
|
1915
|
-
"minLength": 1,
|
|
1916
|
-
"maxLength": 255,
|
|
1917
2109
|
"enum": [
|
|
1918
2110
|
"default",
|
|
1919
2111
|
"inprogress",
|
|
@@ -1921,50 +2113,21 @@
|
|
|
1921
2113
|
"new",
|
|
1922
2114
|
"removed",
|
|
1923
2115
|
"success"
|
|
1924
|
-
]
|
|
2116
|
+
],
|
|
2117
|
+
"type": "string"
|
|
1925
2118
|
}
|
|
1926
2119
|
},
|
|
1927
2120
|
"required": [
|
|
1928
2121
|
"label"
|
|
1929
2122
|
]
|
|
1930
|
-
},
|
|
1931
|
-
"type": {
|
|
1932
|
-
"type": "string",
|
|
1933
|
-
"minLength": 1,
|
|
1934
|
-
"maxLength": 255,
|
|
1935
|
-
"enum": [
|
|
1936
|
-
"badge",
|
|
1937
|
-
"lozenge"
|
|
1938
|
-
]
|
|
1939
2123
|
}
|
|
1940
2124
|
},
|
|
1941
2125
|
"required": [
|
|
1942
|
-
"
|
|
1943
|
-
"
|
|
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
|
-
}
|
|
1956
|
-
},
|
|
1957
|
-
"required": [
|
|
1958
|
-
"function"
|
|
2126
|
+
"type",
|
|
2127
|
+
"value"
|
|
1959
2128
|
]
|
|
1960
2129
|
},
|
|
1961
|
-
"
|
|
1962
|
-
"type": "string",
|
|
1963
|
-
"minLength": 1,
|
|
1964
|
-
"maxLength": 23,
|
|
1965
|
-
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
1966
|
-
},
|
|
1967
|
-
"resourceUploadId": {
|
|
2130
|
+
"icon": {
|
|
1968
2131
|
"type": "string",
|
|
1969
2132
|
"minLength": 1,
|
|
1970
2133
|
"maxLength": 255
|
|
@@ -1974,9 +2137,9 @@
|
|
|
1974
2137
|
}
|
|
1975
2138
|
},
|
|
1976
2139
|
"required": [
|
|
1977
|
-
"title",
|
|
1978
2140
|
"label",
|
|
1979
2141
|
"resource",
|
|
2142
|
+
"title",
|
|
1980
2143
|
"key"
|
|
1981
2144
|
]
|
|
1982
2145
|
}
|
|
@@ -3035,10 +3198,10 @@
|
|
|
3035
3198
|
"type": "object",
|
|
3036
3199
|
"anyOf": [
|
|
3037
3200
|
{
|
|
3038
|
-
"$ref": "#/definitions/
|
|
3201
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3039
3202
|
},
|
|
3040
3203
|
{
|
|
3041
|
-
"$ref": "#/definitions/
|
|
3204
|
+
"$ref": "#/definitions/singleCondition"
|
|
3042
3205
|
}
|
|
3043
3206
|
]
|
|
3044
3207
|
},
|
|
@@ -3106,10 +3269,10 @@
|
|
|
3106
3269
|
"type": "object",
|
|
3107
3270
|
"anyOf": [
|
|
3108
3271
|
{
|
|
3109
|
-
"$ref": "#/definitions/
|
|
3272
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3110
3273
|
},
|
|
3111
3274
|
{
|
|
3112
|
-
"$ref": "#/definitions/
|
|
3275
|
+
"$ref": "#/definitions/singleCondition"
|
|
3113
3276
|
}
|
|
3114
3277
|
]
|
|
3115
3278
|
},
|
|
@@ -3161,10 +3324,10 @@
|
|
|
3161
3324
|
"type": "object",
|
|
3162
3325
|
"anyOf": [
|
|
3163
3326
|
{
|
|
3164
|
-
"$ref": "#/definitions/
|
|
3327
|
+
"$ref": "#/definitions/singleCondition"
|
|
3165
3328
|
},
|
|
3166
3329
|
{
|
|
3167
|
-
"$ref": "#/definitions/
|
|
3330
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3168
3331
|
}
|
|
3169
3332
|
]
|
|
3170
3333
|
},
|
|
@@ -3225,10 +3388,10 @@
|
|
|
3225
3388
|
"type": "object",
|
|
3226
3389
|
"anyOf": [
|
|
3227
3390
|
{
|
|
3228
|
-
"$ref": "#/definitions/
|
|
3391
|
+
"$ref": "#/definitions/singleCondition"
|
|
3229
3392
|
},
|
|
3230
3393
|
{
|
|
3231
|
-
"$ref": "#/definitions/
|
|
3394
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3232
3395
|
}
|
|
3233
3396
|
]
|
|
3234
3397
|
},
|
|
@@ -3341,10 +3504,10 @@
|
|
|
3341
3504
|
"type": "object",
|
|
3342
3505
|
"anyOf": [
|
|
3343
3506
|
{
|
|
3344
|
-
"$ref": "#/definitions/
|
|
3507
|
+
"$ref": "#/definitions/singleCondition"
|
|
3345
3508
|
},
|
|
3346
3509
|
{
|
|
3347
|
-
"$ref": "#/definitions/
|
|
3510
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3348
3511
|
}
|
|
3349
3512
|
]
|
|
3350
3513
|
},
|
|
@@ -3459,6 +3622,22 @@
|
|
|
3459
3622
|
"title": "Dialog Options",
|
|
3460
3623
|
"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"
|
|
3461
3624
|
},
|
|
3625
|
+
{
|
|
3626
|
+
"properties": {
|
|
3627
|
+
"key": {
|
|
3628
|
+
"maxLength": 100,
|
|
3629
|
+
"type": "string",
|
|
3630
|
+
"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"
|
|
3631
|
+
}
|
|
3632
|
+
},
|
|
3633
|
+
"required": [
|
|
3634
|
+
"key"
|
|
3635
|
+
],
|
|
3636
|
+
"shortClassName": "dialogModuleOptions",
|
|
3637
|
+
"type": "object",
|
|
3638
|
+
"title": "Dialog Module Options",
|
|
3639
|
+
"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"
|
|
3640
|
+
},
|
|
3462
3641
|
{
|
|
3463
3642
|
"properties": {
|
|
3464
3643
|
"offsetX": {
|
|
@@ -3505,22 +3684,6 @@
|
|
|
3505
3684
|
"type": "object",
|
|
3506
3685
|
"title": "Inline Dialog Options",
|
|
3507
3686
|
"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"
|
|
3508
|
-
},
|
|
3509
|
-
{
|
|
3510
|
-
"properties": {
|
|
3511
|
-
"key": {
|
|
3512
|
-
"maxLength": 100,
|
|
3513
|
-
"type": "string",
|
|
3514
|
-
"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"
|
|
3515
|
-
}
|
|
3516
|
-
},
|
|
3517
|
-
"required": [
|
|
3518
|
-
"key"
|
|
3519
|
-
],
|
|
3520
|
-
"shortClassName": "dialogModuleOptions",
|
|
3521
|
-
"type": "object",
|
|
3522
|
-
"title": "Dialog Module Options",
|
|
3523
|
-
"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"
|
|
3524
3687
|
}
|
|
3525
3688
|
]
|
|
3526
3689
|
},
|
|
@@ -3577,6 +3740,33 @@
|
|
|
3577
3740
|
"items": {
|
|
3578
3741
|
"type": "object",
|
|
3579
3742
|
"anyOf": [
|
|
3743
|
+
{
|
|
3744
|
+
"properties": {
|
|
3745
|
+
"condition": {
|
|
3746
|
+
"maxLength": 100,
|
|
3747
|
+
"type": "string",
|
|
3748
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
3749
|
+
},
|
|
3750
|
+
"invert": {
|
|
3751
|
+
"type": "boolean",
|
|
3752
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
3753
|
+
"defaultValue": "false"
|
|
3754
|
+
},
|
|
3755
|
+
"params": {
|
|
3756
|
+
"additionalProperties": true,
|
|
3757
|
+
"type": "object",
|
|
3758
|
+
"fieldTitle": "Object",
|
|
3759
|
+
"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"
|
|
3760
|
+
}
|
|
3761
|
+
},
|
|
3762
|
+
"required": [
|
|
3763
|
+
"condition"
|
|
3764
|
+
],
|
|
3765
|
+
"shortClassName": "singleConditionBean",
|
|
3766
|
+
"type": "object",
|
|
3767
|
+
"title": "Single Condition",
|
|
3768
|
+
"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"
|
|
3769
|
+
},
|
|
3580
3770
|
{
|
|
3581
3771
|
"properties": {
|
|
3582
3772
|
"conditions": {
|
|
@@ -3609,33 +3799,6 @@
|
|
|
3609
3799
|
"type": "object",
|
|
3610
3800
|
"title": "Composite Condition",
|
|
3611
3801
|
"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"
|
|
3612
|
-
},
|
|
3613
|
-
{
|
|
3614
|
-
"properties": {
|
|
3615
|
-
"condition": {
|
|
3616
|
-
"maxLength": 100,
|
|
3617
|
-
"type": "string",
|
|
3618
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
3619
|
-
},
|
|
3620
|
-
"invert": {
|
|
3621
|
-
"type": "boolean",
|
|
3622
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
3623
|
-
"defaultValue": "false"
|
|
3624
|
-
},
|
|
3625
|
-
"params": {
|
|
3626
|
-
"additionalProperties": true,
|
|
3627
|
-
"type": "object",
|
|
3628
|
-
"fieldTitle": "Object",
|
|
3629
|
-
"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"
|
|
3630
|
-
}
|
|
3631
|
-
},
|
|
3632
|
-
"required": [
|
|
3633
|
-
"condition"
|
|
3634
|
-
],
|
|
3635
|
-
"shortClassName": "singleConditionBean",
|
|
3636
|
-
"type": "object",
|
|
3637
|
-
"title": "Single Condition",
|
|
3638
|
-
"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"
|
|
3639
3802
|
}
|
|
3640
3803
|
]
|
|
3641
3804
|
},
|
|
@@ -3689,10 +3852,10 @@
|
|
|
3689
3852
|
"type": "object",
|
|
3690
3853
|
"anyOf": [
|
|
3691
3854
|
{
|
|
3692
|
-
"$ref": "#/definitions/
|
|
3855
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3693
3856
|
},
|
|
3694
3857
|
{
|
|
3695
|
-
"$ref": "#/definitions/
|
|
3858
|
+
"$ref": "#/definitions/singleCondition"
|
|
3696
3859
|
}
|
|
3697
3860
|
]
|
|
3698
3861
|
},
|
|
@@ -3910,10 +4073,10 @@
|
|
|
3910
4073
|
"type": "object",
|
|
3911
4074
|
"anyOf": [
|
|
3912
4075
|
{
|
|
3913
|
-
"$ref": "#/definitions/
|
|
4076
|
+
"$ref": "#/definitions/singleCondition"
|
|
3914
4077
|
},
|
|
3915
4078
|
{
|
|
3916
|
-
"$ref": "#/definitions/
|
|
4079
|
+
"$ref": "#/definitions/compositeCondition"
|
|
3917
4080
|
}
|
|
3918
4081
|
]
|
|
3919
4082
|
},
|
|
@@ -4236,10 +4399,10 @@
|
|
|
4236
4399
|
"type": "object",
|
|
4237
4400
|
"anyOf": [
|
|
4238
4401
|
{
|
|
4239
|
-
"$ref": "#/definitions/
|
|
4402
|
+
"$ref": "#/definitions/singleCondition"
|
|
4240
4403
|
},
|
|
4241
4404
|
{
|
|
4242
|
-
"$ref": "#/definitions/
|
|
4405
|
+
"$ref": "#/definitions/compositeCondition"
|
|
4243
4406
|
}
|
|
4244
4407
|
]
|
|
4245
4408
|
},
|
|
@@ -4379,10 +4542,10 @@
|
|
|
4379
4542
|
"type": "object",
|
|
4380
4543
|
"anyOf": [
|
|
4381
4544
|
{
|
|
4382
|
-
"$ref": "#/definitions/
|
|
4545
|
+
"$ref": "#/definitions/compositeCondition"
|
|
4383
4546
|
},
|
|
4384
4547
|
{
|
|
4385
|
-
"$ref": "#/definitions/
|
|
4548
|
+
"$ref": "#/definitions/singleCondition"
|
|
4386
4549
|
}
|
|
4387
4550
|
]
|
|
4388
4551
|
},
|
|
@@ -4469,15 +4632,39 @@
|
|
|
4469
4632
|
"items": {
|
|
4470
4633
|
"type": "object",
|
|
4471
4634
|
"anyOf": [
|
|
4635
|
+
{
|
|
4636
|
+
"properties": {
|
|
4637
|
+
"condition": {
|
|
4638
|
+
"maxLength": 100,
|
|
4639
|
+
"type": "string",
|
|
4640
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4641
|
+
},
|
|
4642
|
+
"invert": {
|
|
4643
|
+
"type": "boolean",
|
|
4644
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4645
|
+
"defaultValue": "false"
|
|
4646
|
+
},
|
|
4647
|
+
"params": {
|
|
4648
|
+
"additionalProperties": true,
|
|
4649
|
+
"type": "object",
|
|
4650
|
+
"fieldTitle": "Object",
|
|
4651
|
+
"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"
|
|
4652
|
+
}
|
|
4653
|
+
},
|
|
4654
|
+
"required": [
|
|
4655
|
+
"condition"
|
|
4656
|
+
],
|
|
4657
|
+
"shortClassName": "singleConditionBean",
|
|
4658
|
+
"type": "object",
|
|
4659
|
+
"title": "Single Condition",
|
|
4660
|
+
"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"
|
|
4661
|
+
},
|
|
4472
4662
|
{
|
|
4473
4663
|
"properties": {
|
|
4474
4664
|
"conditions": {
|
|
4475
4665
|
"items": {
|
|
4476
4666
|
"type": "object",
|
|
4477
4667
|
"anyOf": [
|
|
4478
|
-
{
|
|
4479
|
-
"$ref": "#/definitions/singleCondition"
|
|
4480
|
-
},
|
|
4481
4668
|
{
|
|
4482
4669
|
"properties": {
|
|
4483
4670
|
"conditions": {
|
|
@@ -4510,6 +4697,9 @@
|
|
|
4510
4697
|
"type": "object",
|
|
4511
4698
|
"title": "Composite Condition",
|
|
4512
4699
|
"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"
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
"$ref": "#/definitions/singleCondition"
|
|
4513
4703
|
}
|
|
4514
4704
|
]
|
|
4515
4705
|
},
|
|
@@ -4531,33 +4721,6 @@
|
|
|
4531
4721
|
"type": "object",
|
|
4532
4722
|
"title": "Composite Condition",
|
|
4533
4723
|
"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"
|
|
4534
|
-
},
|
|
4535
|
-
{
|
|
4536
|
-
"properties": {
|
|
4537
|
-
"condition": {
|
|
4538
|
-
"maxLength": 100,
|
|
4539
|
-
"type": "string",
|
|
4540
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4541
|
-
},
|
|
4542
|
-
"invert": {
|
|
4543
|
-
"type": "boolean",
|
|
4544
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4545
|
-
"defaultValue": "false"
|
|
4546
|
-
},
|
|
4547
|
-
"params": {
|
|
4548
|
-
"additionalProperties": true,
|
|
4549
|
-
"type": "object",
|
|
4550
|
-
"fieldTitle": "Object",
|
|
4551
|
-
"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"
|
|
4552
|
-
}
|
|
4553
|
-
},
|
|
4554
|
-
"required": [
|
|
4555
|
-
"condition"
|
|
4556
|
-
],
|
|
4557
|
-
"shortClassName": "singleConditionBean",
|
|
4558
|
-
"type": "object",
|
|
4559
|
-
"title": "Single Condition",
|
|
4560
|
-
"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"
|
|
4561
4724
|
}
|
|
4562
4725
|
]
|
|
4563
4726
|
},
|
|
@@ -4784,15 +4947,39 @@
|
|
|
4784
4947
|
"items": {
|
|
4785
4948
|
"type": "object",
|
|
4786
4949
|
"anyOf": [
|
|
4950
|
+
{
|
|
4951
|
+
"properties": {
|
|
4952
|
+
"condition": {
|
|
4953
|
+
"maxLength": 100,
|
|
4954
|
+
"type": "string",
|
|
4955
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4956
|
+
},
|
|
4957
|
+
"invert": {
|
|
4958
|
+
"type": "boolean",
|
|
4959
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4960
|
+
"defaultValue": "false"
|
|
4961
|
+
},
|
|
4962
|
+
"params": {
|
|
4963
|
+
"additionalProperties": true,
|
|
4964
|
+
"type": "object",
|
|
4965
|
+
"fieldTitle": "Object",
|
|
4966
|
+
"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"
|
|
4967
|
+
}
|
|
4968
|
+
},
|
|
4969
|
+
"required": [
|
|
4970
|
+
"condition"
|
|
4971
|
+
],
|
|
4972
|
+
"shortClassName": "singleConditionBean",
|
|
4973
|
+
"type": "object",
|
|
4974
|
+
"title": "Single Condition",
|
|
4975
|
+
"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"
|
|
4976
|
+
},
|
|
4787
4977
|
{
|
|
4788
4978
|
"properties": {
|
|
4789
4979
|
"conditions": {
|
|
4790
4980
|
"items": {
|
|
4791
4981
|
"type": "object",
|
|
4792
4982
|
"anyOf": [
|
|
4793
|
-
{
|
|
4794
|
-
"$ref": "#/definitions/singleCondition"
|
|
4795
|
-
},
|
|
4796
4983
|
{
|
|
4797
4984
|
"properties": {
|
|
4798
4985
|
"conditions": {
|
|
@@ -4825,6 +5012,9 @@
|
|
|
4825
5012
|
"type": "object",
|
|
4826
5013
|
"title": "Composite Condition",
|
|
4827
5014
|
"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"
|
|
5015
|
+
},
|
|
5016
|
+
{
|
|
5017
|
+
"$ref": "#/definitions/singleCondition"
|
|
4828
5018
|
}
|
|
4829
5019
|
]
|
|
4830
5020
|
},
|
|
@@ -4846,33 +5036,6 @@
|
|
|
4846
5036
|
"type": "object",
|
|
4847
5037
|
"title": "Composite Condition",
|
|
4848
5038
|
"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"
|
|
4849
|
-
},
|
|
4850
|
-
{
|
|
4851
|
-
"properties": {
|
|
4852
|
-
"condition": {
|
|
4853
|
-
"maxLength": 100,
|
|
4854
|
-
"type": "string",
|
|
4855
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
4856
|
-
},
|
|
4857
|
-
"invert": {
|
|
4858
|
-
"type": "boolean",
|
|
4859
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
4860
|
-
"defaultValue": "false"
|
|
4861
|
-
},
|
|
4862
|
-
"params": {
|
|
4863
|
-
"additionalProperties": true,
|
|
4864
|
-
"type": "object",
|
|
4865
|
-
"fieldTitle": "Object",
|
|
4866
|
-
"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"
|
|
4867
|
-
}
|
|
4868
|
-
},
|
|
4869
|
-
"required": [
|
|
4870
|
-
"condition"
|
|
4871
|
-
],
|
|
4872
|
-
"shortClassName": "singleConditionBean",
|
|
4873
|
-
"type": "object",
|
|
4874
|
-
"title": "Single Condition",
|
|
4875
|
-
"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"
|
|
4876
5039
|
}
|
|
4877
5040
|
]
|
|
4878
5041
|
},
|
|
@@ -5243,6 +5406,10 @@
|
|
|
5243
5406
|
"type": "string",
|
|
5244
5407
|
"fieldDescription": "\n\nFires when an add on has been successfully disabled. This is an asynchronous notification event.\n\n"
|
|
5245
5408
|
},
|
|
5409
|
+
"dare-migration": {
|
|
5410
|
+
"type": "string",
|
|
5411
|
+
"fieldDescription": "\n\nUsed DaRe app migration service to trigger migrations events\n\n"
|
|
5412
|
+
},
|
|
5246
5413
|
"uninstalled": {
|
|
5247
5414
|
"format": "uri",
|
|
5248
5415
|
"type": "string",
|
|
@@ -5356,10 +5523,10 @@
|
|
|
5356
5523
|
"type": "object",
|
|
5357
5524
|
"anyOf": [
|
|
5358
5525
|
{
|
|
5359
|
-
"$ref": "#/definitions/
|
|
5526
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5360
5527
|
},
|
|
5361
5528
|
{
|
|
5362
|
-
"$ref": "#/definitions/
|
|
5529
|
+
"$ref": "#/definitions/singleCondition"
|
|
5363
5530
|
}
|
|
5364
5531
|
]
|
|
5365
5532
|
},
|
|
@@ -5737,50 +5904,19 @@
|
|
|
5737
5904
|
"anyOf": [
|
|
5738
5905
|
{
|
|
5739
5906
|
"properties": {
|
|
5740
|
-
"
|
|
5741
|
-
"maxLength":
|
|
5742
|
-
"type": "string",
|
|
5743
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
5744
|
-
},
|
|
5745
|
-
"offsetY": {
|
|
5746
|
-
"maxLength": 10,
|
|
5747
|
-
"type": "string",
|
|
5748
|
-
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
5749
|
-
},
|
|
5750
|
-
"width": {
|
|
5751
|
-
"maxLength": 10,
|
|
5907
|
+
"key": {
|
|
5908
|
+
"maxLength": 100,
|
|
5752
5909
|
"type": "string",
|
|
5753
|
-
"fieldDescription": "\n\
|
|
5754
|
-
},
|
|
5755
|
-
"onTop": {
|
|
5756
|
-
"type": "boolean",
|
|
5757
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
5758
|
-
},
|
|
5759
|
-
"showDelay": {
|
|
5760
|
-
"type": "integer",
|
|
5761
|
-
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
5762
|
-
},
|
|
5763
|
-
"closeOthers": {
|
|
5764
|
-
"type": "boolean",
|
|
5765
|
-
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
5766
|
-
},
|
|
5767
|
-
"persistent": {
|
|
5768
|
-
"type": "boolean",
|
|
5769
|
-
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
5770
|
-
},
|
|
5771
|
-
"onHover": {
|
|
5772
|
-
"type": "boolean",
|
|
5773
|
-
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
5774
|
-
},
|
|
5775
|
-
"isRelativeToMouse": {
|
|
5776
|
-
"type": "boolean",
|
|
5777
|
-
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
5910
|
+
"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"
|
|
5778
5911
|
}
|
|
5779
5912
|
},
|
|
5780
|
-
"
|
|
5913
|
+
"required": [
|
|
5914
|
+
"key"
|
|
5915
|
+
],
|
|
5916
|
+
"shortClassName": "dialogModuleOptions",
|
|
5781
5917
|
"type": "object",
|
|
5782
|
-
"title": "
|
|
5783
|
-
"description": "\n\nOptions for
|
|
5918
|
+
"title": "Dialog Module Options",
|
|
5919
|
+
"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"
|
|
5784
5920
|
},
|
|
5785
5921
|
{
|
|
5786
5922
|
"properties": {
|
|
@@ -5829,19 +5965,50 @@
|
|
|
5829
5965
|
},
|
|
5830
5966
|
{
|
|
5831
5967
|
"properties": {
|
|
5832
|
-
"
|
|
5833
|
-
"maxLength":
|
|
5968
|
+
"offsetX": {
|
|
5969
|
+
"maxLength": 10,
|
|
5834
5970
|
"type": "string",
|
|
5835
|
-
"fieldDescription": "\n\
|
|
5971
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
5972
|
+
},
|
|
5973
|
+
"offsetY": {
|
|
5974
|
+
"maxLength": 10,
|
|
5975
|
+
"type": "string",
|
|
5976
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
5977
|
+
},
|
|
5978
|
+
"width": {
|
|
5979
|
+
"maxLength": 10,
|
|
5980
|
+
"type": "string",
|
|
5981
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
5982
|
+
},
|
|
5983
|
+
"onTop": {
|
|
5984
|
+
"type": "boolean",
|
|
5985
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown above the trigger or not. If this option is true but there is insufficient room above the trigger the inline-dialog will be flipped to display below it\n\n"
|
|
5986
|
+
},
|
|
5987
|
+
"showDelay": {
|
|
5988
|
+
"type": "integer",
|
|
5989
|
+
"fieldDescription": "\n\nDetermines how long in milliseconds after a show trigger is fired (such as a trigger click) until the dialog is shown\n\n"
|
|
5990
|
+
},
|
|
5991
|
+
"closeOthers": {
|
|
5992
|
+
"type": "boolean",
|
|
5993
|
+
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
5994
|
+
},
|
|
5995
|
+
"persistent": {
|
|
5996
|
+
"type": "boolean",
|
|
5997
|
+
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
5998
|
+
},
|
|
5999
|
+
"onHover": {
|
|
6000
|
+
"type": "boolean",
|
|
6001
|
+
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
6002
|
+
},
|
|
6003
|
+
"isRelativeToMouse": {
|
|
6004
|
+
"type": "boolean",
|
|
6005
|
+
"fieldDescription": "\n\nDetermines if the dialog should be shown relative to where the mouse is at the time of the event trigger (normally a click) if set to false the dialog will show aligned to the left of the trigger with the arrow showing at the center\n\n"
|
|
5836
6006
|
}
|
|
5837
6007
|
},
|
|
5838
|
-
"
|
|
5839
|
-
"key"
|
|
5840
|
-
],
|
|
5841
|
-
"shortClassName": "dialogModuleOptions",
|
|
6008
|
+
"shortClassName": "inlineDialogOptions",
|
|
5842
6009
|
"type": "object",
|
|
5843
|
-
"title": "Dialog
|
|
5844
|
-
"description": "\n\nOptions for
|
|
6010
|
+
"title": "Inline Dialog Options",
|
|
6011
|
+
"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"
|
|
5845
6012
|
}
|
|
5846
6013
|
]
|
|
5847
6014
|
},
|
|
@@ -5898,33 +6065,6 @@
|
|
|
5898
6065
|
"items": {
|
|
5899
6066
|
"type": "object",
|
|
5900
6067
|
"anyOf": [
|
|
5901
|
-
{
|
|
5902
|
-
"properties": {
|
|
5903
|
-
"condition": {
|
|
5904
|
-
"maxLength": 100,
|
|
5905
|
-
"type": "string",
|
|
5906
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5907
|
-
},
|
|
5908
|
-
"invert": {
|
|
5909
|
-
"type": "boolean",
|
|
5910
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5911
|
-
"defaultValue": "false"
|
|
5912
|
-
},
|
|
5913
|
-
"params": {
|
|
5914
|
-
"additionalProperties": true,
|
|
5915
|
-
"type": "object",
|
|
5916
|
-
"fieldTitle": "Object",
|
|
5917
|
-
"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"
|
|
5918
|
-
}
|
|
5919
|
-
},
|
|
5920
|
-
"required": [
|
|
5921
|
-
"condition"
|
|
5922
|
-
],
|
|
5923
|
-
"shortClassName": "singleConditionBean",
|
|
5924
|
-
"type": "object",
|
|
5925
|
-
"title": "Single Condition",
|
|
5926
|
-
"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"
|
|
5927
|
-
},
|
|
5928
6068
|
{
|
|
5929
6069
|
"properties": {
|
|
5930
6070
|
"conditions": {
|
|
@@ -5957,6 +6097,33 @@
|
|
|
5957
6097
|
"type": "object",
|
|
5958
6098
|
"title": "Composite Condition",
|
|
5959
6099
|
"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"
|
|
6100
|
+
},
|
|
6101
|
+
{
|
|
6102
|
+
"properties": {
|
|
6103
|
+
"condition": {
|
|
6104
|
+
"maxLength": 100,
|
|
6105
|
+
"type": "string",
|
|
6106
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6107
|
+
},
|
|
6108
|
+
"invert": {
|
|
6109
|
+
"type": "boolean",
|
|
6110
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6111
|
+
"defaultValue": "false"
|
|
6112
|
+
},
|
|
6113
|
+
"params": {
|
|
6114
|
+
"additionalProperties": true,
|
|
6115
|
+
"type": "object",
|
|
6116
|
+
"fieldTitle": "Object",
|
|
6117
|
+
"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"
|
|
6118
|
+
}
|
|
6119
|
+
},
|
|
6120
|
+
"required": [
|
|
6121
|
+
"condition"
|
|
6122
|
+
],
|
|
6123
|
+
"shortClassName": "singleConditionBean",
|
|
6124
|
+
"type": "object",
|
|
6125
|
+
"title": "Single Condition",
|
|
6126
|
+
"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"
|
|
5960
6127
|
}
|
|
5961
6128
|
]
|
|
5962
6129
|
},
|
|
@@ -6010,10 +6177,10 @@
|
|
|
6010
6177
|
"type": "object",
|
|
6011
6178
|
"anyOf": [
|
|
6012
6179
|
{
|
|
6013
|
-
"$ref": "#/definitions/
|
|
6180
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6014
6181
|
},
|
|
6015
6182
|
{
|
|
6016
|
-
"$ref": "#/definitions/
|
|
6183
|
+
"$ref": "#/definitions/singleCondition"
|
|
6017
6184
|
}
|
|
6018
6185
|
]
|
|
6019
6186
|
},
|
|
@@ -6195,10 +6362,10 @@
|
|
|
6195
6362
|
"type": "object",
|
|
6196
6363
|
"anyOf": [
|
|
6197
6364
|
{
|
|
6198
|
-
"$ref": "
|
|
6365
|
+
"$ref": "#"
|
|
6199
6366
|
},
|
|
6200
6367
|
{
|
|
6201
|
-
"$ref": "
|
|
6368
|
+
"$ref": "#/definitions/singleCondition"
|
|
6202
6369
|
}
|
|
6203
6370
|
]
|
|
6204
6371
|
},
|
|
@@ -6581,6 +6748,38 @@
|
|
|
6581
6748
|
"title": "ControlGroup",
|
|
6582
6749
|
"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"
|
|
6583
6750
|
},
|
|
6751
|
+
{
|
|
6752
|
+
"properties": {
|
|
6753
|
+
"macroParameter": {
|
|
6754
|
+
"maxLength": 100,
|
|
6755
|
+
"type": "string",
|
|
6756
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6757
|
+
},
|
|
6758
|
+
"type": {
|
|
6759
|
+
"enum": [
|
|
6760
|
+
"text",
|
|
6761
|
+
"TEXT"
|
|
6762
|
+
],
|
|
6763
|
+
"type": "string",
|
|
6764
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6765
|
+
},
|
|
6766
|
+
"key": {
|
|
6767
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6768
|
+
"maxLength": 100,
|
|
6769
|
+
"type": "string",
|
|
6770
|
+
"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"
|
|
6771
|
+
}
|
|
6772
|
+
},
|
|
6773
|
+
"required": [
|
|
6774
|
+
"macroParameter",
|
|
6775
|
+
"type",
|
|
6776
|
+
"key"
|
|
6777
|
+
],
|
|
6778
|
+
"shortClassName": "textControlBean",
|
|
6779
|
+
"type": "object",
|
|
6780
|
+
"title": "TextControl",
|
|
6781
|
+
"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"
|
|
6782
|
+
},
|
|
6584
6783
|
{
|
|
6585
6784
|
"properties": {
|
|
6586
6785
|
"controls": {
|
|
@@ -6649,38 +6848,6 @@
|
|
|
6649
6848
|
"type": "object",
|
|
6650
6849
|
"title": "ToggleGroup",
|
|
6651
6850
|
"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"
|
|
6652
|
-
},
|
|
6653
|
-
{
|
|
6654
|
-
"properties": {
|
|
6655
|
-
"macroParameter": {
|
|
6656
|
-
"maxLength": 100,
|
|
6657
|
-
"type": "string",
|
|
6658
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6659
|
-
},
|
|
6660
|
-
"type": {
|
|
6661
|
-
"enum": [
|
|
6662
|
-
"text",
|
|
6663
|
-
"TEXT"
|
|
6664
|
-
],
|
|
6665
|
-
"type": "string",
|
|
6666
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6667
|
-
},
|
|
6668
|
-
"key": {
|
|
6669
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6670
|
-
"maxLength": 100,
|
|
6671
|
-
"type": "string",
|
|
6672
|
-
"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"
|
|
6673
|
-
}
|
|
6674
|
-
},
|
|
6675
|
-
"required": [
|
|
6676
|
-
"macroParameter",
|
|
6677
|
-
"type",
|
|
6678
|
-
"key"
|
|
6679
|
-
],
|
|
6680
|
-
"shortClassName": "textControlBean",
|
|
6681
|
-
"type": "object",
|
|
6682
|
-
"title": "TextControl",
|
|
6683
|
-
"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"
|
|
6684
6851
|
}
|
|
6685
6852
|
]
|
|
6686
6853
|
},
|
|
@@ -6975,6 +7142,70 @@
|
|
|
6975
7142
|
"items": {
|
|
6976
7143
|
"type": "object",
|
|
6977
7144
|
"anyOf": [
|
|
7145
|
+
{
|
|
7146
|
+
"properties": {
|
|
7147
|
+
"macroParameter": {
|
|
7148
|
+
"maxLength": 100,
|
|
7149
|
+
"type": "string",
|
|
7150
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7151
|
+
},
|
|
7152
|
+
"type": {
|
|
7153
|
+
"enum": [
|
|
7154
|
+
"text",
|
|
7155
|
+
"TEXT"
|
|
7156
|
+
],
|
|
7157
|
+
"type": "string",
|
|
7158
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7159
|
+
},
|
|
7160
|
+
"key": {
|
|
7161
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7162
|
+
"maxLength": 100,
|
|
7163
|
+
"type": "string",
|
|
7164
|
+
"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"
|
|
7165
|
+
}
|
|
7166
|
+
},
|
|
7167
|
+
"required": [
|
|
7168
|
+
"macroParameter",
|
|
7169
|
+
"type",
|
|
7170
|
+
"key"
|
|
7171
|
+
],
|
|
7172
|
+
"shortClassName": "textControlBean",
|
|
7173
|
+
"type": "object",
|
|
7174
|
+
"title": "TextControl",
|
|
7175
|
+
"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"
|
|
7176
|
+
},
|
|
7177
|
+
{
|
|
7178
|
+
"properties": {
|
|
7179
|
+
"label": {
|
|
7180
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7181
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7182
|
+
},
|
|
7183
|
+
"type": {
|
|
7184
|
+
"enum": [
|
|
7185
|
+
"button",
|
|
7186
|
+
"BUTTON"
|
|
7187
|
+
],
|
|
7188
|
+
"type": "string",
|
|
7189
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7190
|
+
},
|
|
7191
|
+
"key": {
|
|
7192
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7193
|
+
"maxLength": 100,
|
|
7194
|
+
"type": "string",
|
|
7195
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7196
|
+
}
|
|
7197
|
+
},
|
|
7198
|
+
"required": [
|
|
7199
|
+
"label",
|
|
7200
|
+
"type",
|
|
7201
|
+
"key"
|
|
7202
|
+
],
|
|
7203
|
+
"additionalProperties": true,
|
|
7204
|
+
"shortClassName": "buttonControlBean",
|
|
7205
|
+
"type": "object",
|
|
7206
|
+
"title": "ButtonControl",
|
|
7207
|
+
"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"
|
|
7208
|
+
},
|
|
6978
7209
|
{
|
|
6979
7210
|
"properties": {
|
|
6980
7211
|
"controls": {
|
|
@@ -7031,38 +7262,6 @@
|
|
|
7031
7262
|
"title": "ControlGroup",
|
|
7032
7263
|
"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"
|
|
7033
7264
|
},
|
|
7034
|
-
{
|
|
7035
|
-
"properties": {
|
|
7036
|
-
"macroParameter": {
|
|
7037
|
-
"maxLength": 100,
|
|
7038
|
-
"type": "string",
|
|
7039
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7040
|
-
},
|
|
7041
|
-
"type": {
|
|
7042
|
-
"enum": [
|
|
7043
|
-
"text",
|
|
7044
|
-
"TEXT"
|
|
7045
|
-
],
|
|
7046
|
-
"type": "string",
|
|
7047
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7048
|
-
},
|
|
7049
|
-
"key": {
|
|
7050
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7051
|
-
"maxLength": 100,
|
|
7052
|
-
"type": "string",
|
|
7053
|
-
"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"
|
|
7054
|
-
}
|
|
7055
|
-
},
|
|
7056
|
-
"required": [
|
|
7057
|
-
"macroParameter",
|
|
7058
|
-
"type",
|
|
7059
|
-
"key"
|
|
7060
|
-
],
|
|
7061
|
-
"shortClassName": "textControlBean",
|
|
7062
|
-
"type": "object",
|
|
7063
|
-
"title": "TextControl",
|
|
7064
|
-
"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"
|
|
7065
|
-
},
|
|
7066
7265
|
{
|
|
7067
7266
|
"properties": {
|
|
7068
7267
|
"controls": {
|
|
@@ -7131,38 +7330,6 @@
|
|
|
7131
7330
|
"type": "object",
|
|
7132
7331
|
"title": "ToggleGroup",
|
|
7133
7332
|
"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"
|
|
7134
|
-
},
|
|
7135
|
-
{
|
|
7136
|
-
"properties": {
|
|
7137
|
-
"label": {
|
|
7138
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7139
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7140
|
-
},
|
|
7141
|
-
"type": {
|
|
7142
|
-
"enum": [
|
|
7143
|
-
"button",
|
|
7144
|
-
"BUTTON"
|
|
7145
|
-
],
|
|
7146
|
-
"type": "string",
|
|
7147
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7148
|
-
},
|
|
7149
|
-
"key": {
|
|
7150
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7151
|
-
"maxLength": 100,
|
|
7152
|
-
"type": "string",
|
|
7153
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7154
|
-
}
|
|
7155
|
-
},
|
|
7156
|
-
"required": [
|
|
7157
|
-
"label",
|
|
7158
|
-
"type",
|
|
7159
|
-
"key"
|
|
7160
|
-
],
|
|
7161
|
-
"additionalProperties": true,
|
|
7162
|
-
"shortClassName": "buttonControlBean",
|
|
7163
|
-
"type": "object",
|
|
7164
|
-
"title": "ButtonControl",
|
|
7165
|
-
"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"
|
|
7166
7333
|
}
|
|
7167
7334
|
]
|
|
7168
7335
|
},
|
|
@@ -8760,33 +8927,6 @@
|
|
|
8760
8927
|
"title": "Icon",
|
|
8761
8928
|
"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"
|
|
8762
8929
|
},
|
|
8763
|
-
"singleCondition": {
|
|
8764
|
-
"properties": {
|
|
8765
|
-
"condition": {
|
|
8766
|
-
"maxLength": 100,
|
|
8767
|
-
"type": "string",
|
|
8768
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
8769
|
-
},
|
|
8770
|
-
"invert": {
|
|
8771
|
-
"type": "boolean",
|
|
8772
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
8773
|
-
"defaultValue": "false"
|
|
8774
|
-
},
|
|
8775
|
-
"params": {
|
|
8776
|
-
"additionalProperties": true,
|
|
8777
|
-
"type": "object",
|
|
8778
|
-
"fieldTitle": "Object",
|
|
8779
|
-
"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"
|
|
8780
|
-
}
|
|
8781
|
-
},
|
|
8782
|
-
"required": [
|
|
8783
|
-
"condition"
|
|
8784
|
-
],
|
|
8785
|
-
"shortClassName": "singleConditionBean",
|
|
8786
|
-
"type": "object",
|
|
8787
|
-
"title": "Single Condition",
|
|
8788
|
-
"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"
|
|
8789
|
-
},
|
|
8790
8930
|
"compositeCondition": {
|
|
8791
8931
|
"properties": {
|
|
8792
8932
|
"conditions": {
|
|
@@ -8794,10 +8934,10 @@
|
|
|
8794
8934
|
"type": "object",
|
|
8795
8935
|
"anyOf": [
|
|
8796
8936
|
{
|
|
8797
|
-
"$ref": "
|
|
8937
|
+
"$ref": "#"
|
|
8798
8938
|
},
|
|
8799
8939
|
{
|
|
8800
|
-
"$ref": "
|
|
8940
|
+
"$ref": "#/definitions/singleCondition"
|
|
8801
8941
|
}
|
|
8802
8942
|
]
|
|
8803
8943
|
},
|
|
@@ -8820,6 +8960,33 @@
|
|
|
8820
8960
|
"title": "Composite Condition",
|
|
8821
8961
|
"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"
|
|
8822
8962
|
},
|
|
8963
|
+
"singleCondition": {
|
|
8964
|
+
"properties": {
|
|
8965
|
+
"condition": {
|
|
8966
|
+
"maxLength": 100,
|
|
8967
|
+
"type": "string",
|
|
8968
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
8969
|
+
},
|
|
8970
|
+
"invert": {
|
|
8971
|
+
"type": "boolean",
|
|
8972
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
8973
|
+
"defaultValue": "false"
|
|
8974
|
+
},
|
|
8975
|
+
"params": {
|
|
8976
|
+
"additionalProperties": true,
|
|
8977
|
+
"type": "object",
|
|
8978
|
+
"fieldTitle": "Object",
|
|
8979
|
+
"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"
|
|
8980
|
+
}
|
|
8981
|
+
},
|
|
8982
|
+
"required": [
|
|
8983
|
+
"condition"
|
|
8984
|
+
],
|
|
8985
|
+
"shortClassName": "singleConditionBean",
|
|
8986
|
+
"type": "object",
|
|
8987
|
+
"title": "Single Condition",
|
|
8988
|
+
"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"
|
|
8989
|
+
},
|
|
8823
8990
|
"webPanelLayout": {
|
|
8824
8991
|
"properties": {
|
|
8825
8992
|
"width": {
|