@forge/manifest 2.5.1-next.0 → 2.5.1-next.4

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.
@@ -1246,6 +1246,20 @@
1246
1246
  }
1247
1247
  ]
1248
1248
  },
1249
+ "value": {
1250
+ "type": "object",
1251
+ "properties": {
1252
+ "function": {
1253
+ "type": "string",
1254
+ "minLength": 1,
1255
+ "maxLength": 255,
1256
+ "pattern": "^[a-zA-Z0-9-_]+$"
1257
+ }
1258
+ },
1259
+ "required": [
1260
+ "function"
1261
+ ]
1262
+ },
1249
1263
  "key": {
1250
1264
  "$ref": "#/definitions/ModuleKeySchema"
1251
1265
  }
@@ -1362,6 +1376,20 @@
1362
1376
  }
1363
1377
  ]
1364
1378
  },
1379
+ "value": {
1380
+ "type": "object",
1381
+ "properties": {
1382
+ "function": {
1383
+ "type": "string",
1384
+ "minLength": 1,
1385
+ "maxLength": 255,
1386
+ "pattern": "^[a-zA-Z0-9-_]+$"
1387
+ }
1388
+ },
1389
+ "required": [
1390
+ "function"
1391
+ ]
1392
+ },
1365
1393
  "key": {
1366
1394
  "$ref": "#/definitions/ModuleKeySchema"
1367
1395
  }
@@ -1472,6 +1500,20 @@
1472
1500
  }
1473
1501
  ]
1474
1502
  },
1503
+ "value": {
1504
+ "type": "object",
1505
+ "properties": {
1506
+ "function": {
1507
+ "type": "string",
1508
+ "minLength": 1,
1509
+ "maxLength": 255,
1510
+ "pattern": "^[a-zA-Z0-9-_]+$"
1511
+ }
1512
+ },
1513
+ "required": [
1514
+ "function"
1515
+ ]
1516
+ },
1475
1517
  "icon": {
1476
1518
  "type": "string",
1477
1519
  "minLength": 1,
@@ -1639,6 +1681,20 @@
1639
1681
  }
1640
1682
  ]
1641
1683
  },
1684
+ "value": {
1685
+ "type": "object",
1686
+ "properties": {
1687
+ "function": {
1688
+ "type": "string",
1689
+ "minLength": 1,
1690
+ "maxLength": 255,
1691
+ "pattern": "^[a-zA-Z0-9-_]+$"
1692
+ }
1693
+ },
1694
+ "required": [
1695
+ "function"
1696
+ ]
1697
+ },
1642
1698
  "icon": {
1643
1699
  "type": "string",
1644
1700
  "minLength": 1,
@@ -1815,31 +1871,45 @@
1815
1871
  {
1816
1872
  "type": "object",
1817
1873
  "properties": {
1818
- "title": {
1874
+ "function": {
1819
1875
  "type": "string",
1820
1876
  "minLength": 1,
1821
- "maxLength": 255
1877
+ "maxLength": 255,
1878
+ "pattern": "^[a-zA-Z0-9-_]+$"
1879
+ },
1880
+ "title": {
1881
+ "minLength": 1,
1882
+ "maxLength": 255,
1883
+ "type": "string"
1822
1884
  },
1823
1885
  "label": {
1824
- "type": "string",
1825
1886
  "minLength": 1,
1826
- "maxLength": 255
1887
+ "maxLength": 255,
1888
+ "type": "string"
1827
1889
  },
1828
1890
  "status": {
1829
1891
  "type": "object",
1830
1892
  "properties": {
1893
+ "type": {
1894
+ "enum": [
1895
+ "badge",
1896
+ "icon",
1897
+ "lozenge"
1898
+ ],
1899
+ "type": "string"
1900
+ },
1831
1901
  "value": {
1832
1902
  "type": "object",
1833
1903
  "properties": {
1834
1904
  "label": {
1835
- "type": "string",
1836
1905
  "minLength": 1,
1837
- "maxLength": 255
1906
+ "maxLength": 255,
1907
+ "type": "string"
1908
+ },
1909
+ "url": {
1910
+ "type": "string"
1838
1911
  },
1839
1912
  "type": {
1840
- "type": "string",
1841
- "minLength": 1,
1842
- "maxLength": 255,
1843
1913
  "enum": [
1844
1914
  "default",
1845
1915
  "inprogress",
@@ -1847,73 +1917,93 @@
1847
1917
  "new",
1848
1918
  "removed",
1849
1919
  "success"
1850
- ]
1920
+ ],
1921
+ "type": "string"
1851
1922
  }
1852
1923
  },
1853
1924
  "required": [
1854
1925
  "label"
1855
1926
  ]
1856
- },
1857
- "type": {
1858
- "type": "string",
1859
- "minLength": 1,
1860
- "maxLength": 255,
1861
- "enum": [
1862
- "badge",
1863
- "lozenge"
1864
- ]
1865
1927
  }
1866
1928
  },
1867
1929
  "required": [
1868
- "value",
1869
- "type"
1930
+ "type",
1931
+ "value"
1870
1932
  ]
1871
1933
  },
1872
- "function": {
1934
+ "icon": {
1873
1935
  "type": "string",
1874
1936
  "minLength": 1,
1875
- "maxLength": 255,
1876
- "pattern": "^[a-zA-Z0-9-_]+$"
1937
+ "maxLength": 255
1877
1938
  },
1878
1939
  "key": {
1879
1940
  "$ref": "#/definitions/ModuleKeySchema"
1880
1941
  }
1881
1942
  },
1882
1943
  "required": [
1883
- "title",
1884
- "label",
1885
1944
  "function",
1945
+ "label",
1946
+ "title",
1886
1947
  "key"
1887
1948
  ]
1888
1949
  },
1889
1950
  {
1890
1951
  "type": "object",
1891
1952
  "properties": {
1892
- "title": {
1953
+ "resource": {
1893
1954
  "type": "string",
1894
1955
  "minLength": 1,
1895
- "maxLength": 255
1956
+ "maxLength": 23,
1957
+ "pattern": "^[a-zA-Z0-9_\\-]+$"
1958
+ },
1959
+ "resolver": {
1960
+ "additionalProperties": false,
1961
+ "type": "object",
1962
+ "properties": {
1963
+ "function": {
1964
+ "type": "string",
1965
+ "minLength": 1,
1966
+ "maxLength": 255,
1967
+ "pattern": "^[a-zA-Z0-9-_]+$"
1968
+ }
1969
+ },
1970
+ "required": [
1971
+ "function"
1972
+ ]
1973
+ },
1974
+ "title": {
1975
+ "minLength": 1,
1976
+ "maxLength": 255,
1977
+ "type": "string"
1896
1978
  },
1897
1979
  "label": {
1898
- "type": "string",
1899
1980
  "minLength": 1,
1900
- "maxLength": 255
1981
+ "maxLength": 255,
1982
+ "type": "string"
1901
1983
  },
1902
1984
  "status": {
1903
1985
  "type": "object",
1904
1986
  "properties": {
1987
+ "type": {
1988
+ "enum": [
1989
+ "badge",
1990
+ "icon",
1991
+ "lozenge"
1992
+ ],
1993
+ "type": "string"
1994
+ },
1905
1995
  "value": {
1906
1996
  "type": "object",
1907
1997
  "properties": {
1908
1998
  "label": {
1909
- "type": "string",
1910
1999
  "minLength": 1,
1911
- "maxLength": 255
2000
+ "maxLength": 255,
2001
+ "type": "string"
2002
+ },
2003
+ "url": {
2004
+ "type": "string"
1912
2005
  },
1913
2006
  "type": {
1914
- "type": "string",
1915
- "minLength": 1,
1916
- "maxLength": 255,
1917
2007
  "enum": [
1918
2008
  "default",
1919
2009
  "inprogress",
@@ -1921,50 +2011,21 @@
1921
2011
  "new",
1922
2012
  "removed",
1923
2013
  "success"
1924
- ]
2014
+ ],
2015
+ "type": "string"
1925
2016
  }
1926
2017
  },
1927
2018
  "required": [
1928
2019
  "label"
1929
2020
  ]
1930
- },
1931
- "type": {
1932
- "type": "string",
1933
- "minLength": 1,
1934
- "maxLength": 255,
1935
- "enum": [
1936
- "badge",
1937
- "lozenge"
1938
- ]
1939
2021
  }
1940
2022
  },
1941
2023
  "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
- }
1956
- },
1957
- "required": [
1958
- "function"
2024
+ "type",
2025
+ "value"
1959
2026
  ]
1960
2027
  },
1961
- "resource": {
1962
- "type": "string",
1963
- "minLength": 1,
1964
- "maxLength": 23,
1965
- "pattern": "^[a-zA-Z0-9_\\-]+$"
1966
- },
1967
- "resourceUploadId": {
2028
+ "icon": {
1968
2029
  "type": "string",
1969
2030
  "minLength": 1,
1970
2031
  "maxLength": 255
@@ -1974,9 +2035,9 @@
1974
2035
  }
1975
2036
  },
1976
2037
  "required": [
1977
- "title",
1978
2038
  "label",
1979
2039
  "resource",
2040
+ "title",
1980
2041
  "key"
1981
2042
  ]
1982
2043
  }
@@ -5427,10 +5488,10 @@
5427
5488
  "type": "object",
5428
5489
  "anyOf": [
5429
5490
  {
5430
- "$ref": "#/definitions/compositeCondition"
5491
+ "$ref": "#/definitions/singleCondition"
5431
5492
  },
5432
5493
  {
5433
- "$ref": "#/definitions/singleCondition"
5494
+ "$ref": "#/definitions/compositeCondition"
5434
5495
  }
5435
5496
  ]
5436
5497
  },
@@ -5482,10 +5543,10 @@
5482
5543
  "type": "object",
5483
5544
  "anyOf": [
5484
5545
  {
5485
- "$ref": "#/definitions/compositeCondition"
5546
+ "$ref": "#/definitions/singleCondition"
5486
5547
  },
5487
5548
  {
5488
- "$ref": "#/definitions/singleCondition"
5549
+ "$ref": "#/definitions/compositeCondition"
5489
5550
  }
5490
5551
  ]
5491
5552
  },
@@ -5604,10 +5665,10 @@
5604
5665
  "type": "object",
5605
5666
  "anyOf": [
5606
5667
  {
5607
- "$ref": "#/definitions/singleCondition"
5668
+ "$ref": "#/definitions/compositeCondition"
5608
5669
  },
5609
5670
  {
5610
- "$ref": "#/definitions/compositeCondition"
5671
+ "$ref": "#/definitions/singleCondition"
5611
5672
  }
5612
5673
  ]
5613
5674
  },
@@ -5735,6 +5796,22 @@
5735
5796
  "type": "object",
5736
5797
  "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",
5737
5798
  "anyOf": [
5799
+ {
5800
+ "properties": {
5801
+ "key": {
5802
+ "maxLength": 100,
5803
+ "type": "string",
5804
+ "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"
5805
+ }
5806
+ },
5807
+ "required": [
5808
+ "key"
5809
+ ],
5810
+ "shortClassName": "dialogModuleOptions",
5811
+ "type": "object",
5812
+ "title": "Dialog Module Options",
5813
+ "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"
5814
+ },
5738
5815
  {
5739
5816
  "properties": {
5740
5817
  "size": {
@@ -5780,22 +5857,6 @@
5780
5857
  "title": "Dialog Options",
5781
5858
  "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"
5782
5859
  },
5783
- {
5784
- "properties": {
5785
- "key": {
5786
- "maxLength": 100,
5787
- "type": "string",
5788
- "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"
5789
- }
5790
- },
5791
- "required": [
5792
- "key"
5793
- ],
5794
- "shortClassName": "dialogModuleOptions",
5795
- "type": "object",
5796
- "title": "Dialog Module Options",
5797
- "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"
5798
- },
5799
5860
  {
5800
5861
  "properties": {
5801
5862
  "offsetX": {
@@ -6195,10 +6256,10 @@
6195
6256
  "type": "object",
6196
6257
  "anyOf": [
6197
6258
  {
6198
- "$ref": "#"
6259
+ "$ref": "#/definitions/singleCondition"
6199
6260
  },
6200
6261
  {
6201
- "$ref": "#/definitions/singleCondition"
6262
+ "$ref": "#"
6202
6263
  }
6203
6264
  ]
6204
6265
  },
@@ -6493,38 +6554,6 @@
6493
6554
  "items": {
6494
6555
  "type": "object",
6495
6556
  "anyOf": [
6496
- {
6497
- "properties": {
6498
- "macroParameter": {
6499
- "maxLength": 100,
6500
- "type": "string",
6501
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
6502
- },
6503
- "type": {
6504
- "enum": [
6505
- "text",
6506
- "TEXT"
6507
- ],
6508
- "type": "string",
6509
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
6510
- },
6511
- "key": {
6512
- "pattern": "^[a-zA-Z0-9-]+$",
6513
- "maxLength": 100,
6514
- "type": "string",
6515
- "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"
6516
- }
6517
- },
6518
- "required": [
6519
- "macroParameter",
6520
- "type",
6521
- "key"
6522
- ],
6523
- "shortClassName": "textControlBean",
6524
- "type": "object",
6525
- "title": "TextControl",
6526
- "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"
6527
- },
6528
6557
  {
6529
6558
  "properties": {
6530
6559
  "controls": {
@@ -6581,38 +6610,6 @@
6581
6610
  "title": "ControlGroup",
6582
6611
  "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
6612
  },
6584
- {
6585
- "properties": {
6586
- "label": {
6587
- "$ref": "#/definitions/i18nProperty",
6588
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
6589
- },
6590
- "type": {
6591
- "enum": [
6592
- "button",
6593
- "BUTTON"
6594
- ],
6595
- "type": "string",
6596
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
6597
- },
6598
- "key": {
6599
- "pattern": "^[a-zA-Z0-9-]+$",
6600
- "maxLength": 100,
6601
- "type": "string",
6602
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
6603
- }
6604
- },
6605
- "required": [
6606
- "label",
6607
- "type",
6608
- "key"
6609
- ],
6610
- "additionalProperties": true,
6611
- "shortClassName": "buttonControlBean",
6612
- "type": "object",
6613
- "title": "ButtonControl",
6614
- "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"
6615
- },
6616
6613
  {
6617
6614
  "properties": {
6618
6615
  "controls": {
@@ -6681,6 +6678,70 @@
6681
6678
  "type": "object",
6682
6679
  "title": "ToggleGroup",
6683
6680
  "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"
6681
+ },
6682
+ {
6683
+ "properties": {
6684
+ "macroParameter": {
6685
+ "maxLength": 100,
6686
+ "type": "string",
6687
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
6688
+ },
6689
+ "type": {
6690
+ "enum": [
6691
+ "text",
6692
+ "TEXT"
6693
+ ],
6694
+ "type": "string",
6695
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
6696
+ },
6697
+ "key": {
6698
+ "pattern": "^[a-zA-Z0-9-]+$",
6699
+ "maxLength": 100,
6700
+ "type": "string",
6701
+ "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"
6702
+ }
6703
+ },
6704
+ "required": [
6705
+ "macroParameter",
6706
+ "type",
6707
+ "key"
6708
+ ],
6709
+ "shortClassName": "textControlBean",
6710
+ "type": "object",
6711
+ "title": "TextControl",
6712
+ "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"
6713
+ },
6714
+ {
6715
+ "properties": {
6716
+ "label": {
6717
+ "$ref": "#/definitions/i18nProperty",
6718
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
6719
+ },
6720
+ "type": {
6721
+ "enum": [
6722
+ "button",
6723
+ "BUTTON"
6724
+ ],
6725
+ "type": "string",
6726
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
6727
+ },
6728
+ "key": {
6729
+ "pattern": "^[a-zA-Z0-9-]+$",
6730
+ "maxLength": 100,
6731
+ "type": "string",
6732
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
6733
+ }
6734
+ },
6735
+ "required": [
6736
+ "label",
6737
+ "type",
6738
+ "key"
6739
+ ],
6740
+ "additionalProperties": true,
6741
+ "shortClassName": "buttonControlBean",
6742
+ "type": "object",
6743
+ "title": "ButtonControl",
6744
+ "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"
6684
6745
  }
6685
6746
  ]
6686
6747
  },
@@ -6975,6 +7036,62 @@
6975
7036
  "items": {
6976
7037
  "type": "object",
6977
7038
  "anyOf": [
7039
+ {
7040
+ "properties": {
7041
+ "controls": {
7042
+ "items": {
7043
+ "properties": {
7044
+ "label": {
7045
+ "$ref": "#/definitions/i18nProperty",
7046
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7047
+ },
7048
+ "type": {
7049
+ "enum": [
7050
+ "button",
7051
+ "BUTTON"
7052
+ ],
7053
+ "type": "string",
7054
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7055
+ },
7056
+ "key": {
7057
+ "pattern": "^[a-zA-Z0-9-]+$",
7058
+ "maxLength": 100,
7059
+ "type": "string",
7060
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7061
+ }
7062
+ },
7063
+ "required": [
7064
+ "label",
7065
+ "type",
7066
+ "key"
7067
+ ],
7068
+ "additionalProperties": true,
7069
+ "shortClassName": "buttonControlBean",
7070
+ "type": "object",
7071
+ "title": "ButtonControl",
7072
+ "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"
7073
+ },
7074
+ "type": "array",
7075
+ "fieldDescription": "\n\nControls which will appear in the control group\n\n"
7076
+ },
7077
+ "type": {
7078
+ "enum": [
7079
+ "group",
7080
+ "GROUP"
7081
+ ],
7082
+ "type": "string",
7083
+ "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
7084
+ }
7085
+ },
7086
+ "required": [
7087
+ "controls",
7088
+ "type"
7089
+ ],
7090
+ "shortClassName": "controlGroupBean",
7091
+ "type": "object",
7092
+ "title": "ControlGroup",
7093
+ "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"
7094
+ },
6978
7095
  {
6979
7096
  "properties": {
6980
7097
  "label": {
@@ -7039,62 +7156,6 @@
7039
7156
  "title": "TextControl",
7040
7157
  "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"
7041
7158
  },
7042
- {
7043
- "properties": {
7044
- "controls": {
7045
- "items": {
7046
- "properties": {
7047
- "label": {
7048
- "$ref": "#/definitions/i18nProperty",
7049
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7050
- },
7051
- "type": {
7052
- "enum": [
7053
- "button",
7054
- "BUTTON"
7055
- ],
7056
- "type": "string",
7057
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7058
- },
7059
- "key": {
7060
- "pattern": "^[a-zA-Z0-9-]+$",
7061
- "maxLength": 100,
7062
- "type": "string",
7063
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7064
- }
7065
- },
7066
- "required": [
7067
- "label",
7068
- "type",
7069
- "key"
7070
- ],
7071
- "additionalProperties": true,
7072
- "shortClassName": "buttonControlBean",
7073
- "type": "object",
7074
- "title": "ButtonControl",
7075
- "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"
7076
- },
7077
- "type": "array",
7078
- "fieldDescription": "\n\nControls which will appear in the control group\n\n"
7079
- },
7080
- "type": {
7081
- "enum": [
7082
- "group",
7083
- "GROUP"
7084
- ],
7085
- "type": "string",
7086
- "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
7087
- }
7088
- },
7089
- "required": [
7090
- "controls",
7091
- "type"
7092
- ],
7093
- "shortClassName": "controlGroupBean",
7094
- "type": "object",
7095
- "title": "ControlGroup",
7096
- "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"
7097
- },
7098
7159
  {
7099
7160
  "properties": {
7100
7161
  "controls": {
@@ -7365,10 +7426,10 @@
7365
7426
  "type": "object",
7366
7427
  "anyOf": [
7367
7428
  {
7368
- "$ref": "#/definitions/compositeCondition"
7429
+ "$ref": "#/definitions/singleCondition"
7369
7430
  },
7370
7431
  {
7371
- "$ref": "#/definitions/singleCondition"
7432
+ "$ref": "#/definitions/compositeCondition"
7372
7433
  }
7373
7434
  ]
7374
7435
  },
@@ -7398,6 +7459,53 @@
7398
7459
  "type": "object",
7399
7460
  "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",
7400
7461
  "anyOf": [
7462
+ {
7463
+ "properties": {
7464
+ "offsetX": {
7465
+ "maxLength": 10,
7466
+ "type": "string",
7467
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
7468
+ },
7469
+ "offsetY": {
7470
+ "maxLength": 10,
7471
+ "type": "string",
7472
+ "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
7473
+ },
7474
+ "width": {
7475
+ "maxLength": 10,
7476
+ "type": "string",
7477
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
7478
+ },
7479
+ "onTop": {
7480
+ "type": "boolean",
7481
+ "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"
7482
+ },
7483
+ "showDelay": {
7484
+ "type": "integer",
7485
+ "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"
7486
+ },
7487
+ "closeOthers": {
7488
+ "type": "boolean",
7489
+ "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
7490
+ },
7491
+ "persistent": {
7492
+ "type": "boolean",
7493
+ "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
7494
+ },
7495
+ "onHover": {
7496
+ "type": "boolean",
7497
+ "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
7498
+ },
7499
+ "isRelativeToMouse": {
7500
+ "type": "boolean",
7501
+ "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"
7502
+ }
7503
+ },
7504
+ "shortClassName": "inlineDialogOptions",
7505
+ "type": "object",
7506
+ "title": "Inline Dialog Options",
7507
+ "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"
7508
+ },
7401
7509
  {
7402
7510
  "properties": {
7403
7511
  "size": {
@@ -7458,53 +7566,6 @@
7458
7566
  "type": "object",
7459
7567
  "title": "Dialog Module Options",
7460
7568
  "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"
7461
- },
7462
- {
7463
- "properties": {
7464
- "offsetX": {
7465
- "maxLength": 10,
7466
- "type": "string",
7467
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
7468
- },
7469
- "offsetY": {
7470
- "maxLength": 10,
7471
- "type": "string",
7472
- "fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
7473
- },
7474
- "width": {
7475
- "maxLength": 10,
7476
- "type": "string",
7477
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
7478
- },
7479
- "onTop": {
7480
- "type": "boolean",
7481
- "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"
7482
- },
7483
- "showDelay": {
7484
- "type": "integer",
7485
- "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"
7486
- },
7487
- "closeOthers": {
7488
- "type": "boolean",
7489
- "fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
7490
- },
7491
- "persistent": {
7492
- "type": "boolean",
7493
- "fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
7494
- },
7495
- "onHover": {
7496
- "type": "boolean",
7497
- "fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
7498
- },
7499
- "isRelativeToMouse": {
7500
- "type": "boolean",
7501
- "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"
7502
- }
7503
- },
7504
- "shortClassName": "inlineDialogOptions",
7505
- "type": "object",
7506
- "title": "Inline Dialog Options",
7507
- "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"
7508
7569
  }
7509
7570
  ]
7510
7571
  },
@@ -7618,6 +7679,10 @@
7618
7679
  "type": "string",
7619
7680
  "fieldDescription": "\n\nFires when an add on has been successfully disabled. This is an asynchronous notification event.\n\n"
7620
7681
  },
7682
+ "dare-migration": {
7683
+ "type": "string",
7684
+ "fieldDescription": "\n\nUsed DaRe app migration service to trigger migrations events\n\n"
7685
+ },
7621
7686
  "uninstalled": {
7622
7687
  "format": "uri",
7623
7688
  "type": "string",
@@ -8790,10 +8855,10 @@
8790
8855
  "type": "object",
8791
8856
  "anyOf": [
8792
8857
  {
8793
- "$ref": "#"
8858
+ "$ref": "#/definitions/singleCondition"
8794
8859
  },
8795
8860
  {
8796
- "$ref": "#/definitions/singleCondition"
8861
+ "$ref": "#"
8797
8862
  }
8798
8863
  ]
8799
8864
  },