@forge/manifest 2.5.1-next.4 → 2.6.0-next.10
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 +45 -0
- package/out/mapping/product-event-to-scope-mapping.json +14 -8
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +2 -0
- package/out/schema/manifest-schema.json +234 -234
- package/out/schema/manifest.d.ts +217 -217
- package/out/scopes/deprecated-shipyard-scopes.json +24 -0
- package/out/scopes/shipyard-scopes.json +47 -69
- package/out/text/errors.d.ts +1 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +2 -1
- 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/out/validators/deprecated-permissions-validator.d.ts +7 -0
- package/out/validators/deprecated-permissions-validator.d.ts.map +1 -0
- package/out/validators/deprecated-permissions-validator.js +31 -0
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +3 -1
- package/package.json +1 -1
|
@@ -5543,10 +5543,10 @@
|
|
|
5543
5543
|
"type": "object",
|
|
5544
5544
|
"anyOf": [
|
|
5545
5545
|
{
|
|
5546
|
-
"$ref": "#/definitions/
|
|
5546
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5547
5547
|
},
|
|
5548
5548
|
{
|
|
5549
|
-
"$ref": "#/definitions/
|
|
5549
|
+
"$ref": "#/definitions/singleCondition"
|
|
5550
5550
|
}
|
|
5551
5551
|
]
|
|
5552
5552
|
},
|
|
@@ -5607,10 +5607,10 @@
|
|
|
5607
5607
|
"type": "object",
|
|
5608
5608
|
"anyOf": [
|
|
5609
5609
|
{
|
|
5610
|
-
"$ref": "#/definitions/
|
|
5610
|
+
"$ref": "#/definitions/singleCondition"
|
|
5611
5611
|
},
|
|
5612
5612
|
{
|
|
5613
|
-
"$ref": "#/definitions/
|
|
5613
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5614
5614
|
}
|
|
5615
5615
|
]
|
|
5616
5616
|
},
|
|
@@ -5665,10 +5665,10 @@
|
|
|
5665
5665
|
"type": "object",
|
|
5666
5666
|
"anyOf": [
|
|
5667
5667
|
{
|
|
5668
|
-
"$ref": "#/definitions/
|
|
5668
|
+
"$ref": "#/definitions/singleCondition"
|
|
5669
5669
|
},
|
|
5670
5670
|
{
|
|
5671
|
-
"$ref": "#/definitions/
|
|
5671
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5672
5672
|
}
|
|
5673
5673
|
]
|
|
5674
5674
|
},
|
|
@@ -5723,10 +5723,10 @@
|
|
|
5723
5723
|
"type": "object",
|
|
5724
5724
|
"anyOf": [
|
|
5725
5725
|
{
|
|
5726
|
-
"$ref": "#/definitions/
|
|
5726
|
+
"$ref": "#/definitions/singleCondition"
|
|
5727
5727
|
},
|
|
5728
5728
|
{
|
|
5729
|
-
"$ref": "#/definitions/
|
|
5729
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5730
5730
|
}
|
|
5731
5731
|
]
|
|
5732
5732
|
},
|
|
@@ -5796,22 +5796,6 @@
|
|
|
5796
5796
|
"type": "object",
|
|
5797
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",
|
|
5798
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
|
-
},
|
|
5815
5799
|
{
|
|
5816
5800
|
"properties": {
|
|
5817
5801
|
"size": {
|
|
@@ -5857,6 +5841,22 @@
|
|
|
5857
5841
|
"title": "Dialog Options",
|
|
5858
5842
|
"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"
|
|
5859
5843
|
},
|
|
5844
|
+
{
|
|
5845
|
+
"properties": {
|
|
5846
|
+
"key": {
|
|
5847
|
+
"maxLength": 100,
|
|
5848
|
+
"type": "string",
|
|
5849
|
+
"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"
|
|
5850
|
+
}
|
|
5851
|
+
},
|
|
5852
|
+
"required": [
|
|
5853
|
+
"key"
|
|
5854
|
+
],
|
|
5855
|
+
"shortClassName": "dialogModuleOptions",
|
|
5856
|
+
"type": "object",
|
|
5857
|
+
"title": "Dialog Module Options",
|
|
5858
|
+
"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"
|
|
5859
|
+
},
|
|
5860
5860
|
{
|
|
5861
5861
|
"properties": {
|
|
5862
5862
|
"offsetX": {
|
|
@@ -5993,10 +5993,10 @@
|
|
|
5993
5993
|
"type": "object",
|
|
5994
5994
|
"anyOf": [
|
|
5995
5995
|
{
|
|
5996
|
-
"$ref": "
|
|
5996
|
+
"$ref": "#"
|
|
5997
5997
|
},
|
|
5998
5998
|
{
|
|
5999
|
-
"$ref": "
|
|
5999
|
+
"$ref": "#/definitions/singleCondition"
|
|
6000
6000
|
}
|
|
6001
6001
|
]
|
|
6002
6002
|
},
|
|
@@ -6222,33 +6222,6 @@
|
|
|
6222
6222
|
"items": {
|
|
6223
6223
|
"type": "object",
|
|
6224
6224
|
"anyOf": [
|
|
6225
|
-
{
|
|
6226
|
-
"properties": {
|
|
6227
|
-
"condition": {
|
|
6228
|
-
"maxLength": 100,
|
|
6229
|
-
"type": "string",
|
|
6230
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6231
|
-
},
|
|
6232
|
-
"invert": {
|
|
6233
|
-
"type": "boolean",
|
|
6234
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6235
|
-
"defaultValue": "false"
|
|
6236
|
-
},
|
|
6237
|
-
"params": {
|
|
6238
|
-
"additionalProperties": true,
|
|
6239
|
-
"type": "object",
|
|
6240
|
-
"fieldTitle": "Object",
|
|
6241
|
-
"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"
|
|
6242
|
-
}
|
|
6243
|
-
},
|
|
6244
|
-
"required": [
|
|
6245
|
-
"condition"
|
|
6246
|
-
],
|
|
6247
|
-
"shortClassName": "singleConditionBean",
|
|
6248
|
-
"type": "object",
|
|
6249
|
-
"title": "Single Condition",
|
|
6250
|
-
"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"
|
|
6251
|
-
},
|
|
6252
6225
|
{
|
|
6253
6226
|
"properties": {
|
|
6254
6227
|
"conditions": {
|
|
@@ -6256,10 +6229,10 @@
|
|
|
6256
6229
|
"type": "object",
|
|
6257
6230
|
"anyOf": [
|
|
6258
6231
|
{
|
|
6259
|
-
"$ref": "
|
|
6232
|
+
"$ref": "#"
|
|
6260
6233
|
},
|
|
6261
6234
|
{
|
|
6262
|
-
"$ref": "
|
|
6235
|
+
"$ref": "#/definitions/singleCondition"
|
|
6263
6236
|
}
|
|
6264
6237
|
]
|
|
6265
6238
|
},
|
|
@@ -6281,6 +6254,33 @@
|
|
|
6281
6254
|
"type": "object",
|
|
6282
6255
|
"title": "Composite Condition",
|
|
6283
6256
|
"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"
|
|
6257
|
+
},
|
|
6258
|
+
{
|
|
6259
|
+
"properties": {
|
|
6260
|
+
"condition": {
|
|
6261
|
+
"maxLength": 100,
|
|
6262
|
+
"type": "string",
|
|
6263
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6264
|
+
},
|
|
6265
|
+
"invert": {
|
|
6266
|
+
"type": "boolean",
|
|
6267
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6268
|
+
"defaultValue": "false"
|
|
6269
|
+
},
|
|
6270
|
+
"params": {
|
|
6271
|
+
"additionalProperties": true,
|
|
6272
|
+
"type": "object",
|
|
6273
|
+
"fieldTitle": "Object",
|
|
6274
|
+
"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"
|
|
6275
|
+
}
|
|
6276
|
+
},
|
|
6277
|
+
"required": [
|
|
6278
|
+
"condition"
|
|
6279
|
+
],
|
|
6280
|
+
"shortClassName": "singleConditionBean",
|
|
6281
|
+
"type": "object",
|
|
6282
|
+
"title": "Single Condition",
|
|
6283
|
+
"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"
|
|
6284
6284
|
}
|
|
6285
6285
|
]
|
|
6286
6286
|
},
|
|
@@ -6610,6 +6610,70 @@
|
|
|
6610
6610
|
"title": "ControlGroup",
|
|
6611
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"
|
|
6612
6612
|
},
|
|
6613
|
+
{
|
|
6614
|
+
"properties": {
|
|
6615
|
+
"macroParameter": {
|
|
6616
|
+
"maxLength": 100,
|
|
6617
|
+
"type": "string",
|
|
6618
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
6619
|
+
},
|
|
6620
|
+
"type": {
|
|
6621
|
+
"enum": [
|
|
6622
|
+
"text",
|
|
6623
|
+
"TEXT"
|
|
6624
|
+
],
|
|
6625
|
+
"type": "string",
|
|
6626
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
6627
|
+
},
|
|
6628
|
+
"key": {
|
|
6629
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6630
|
+
"maxLength": 100,
|
|
6631
|
+
"type": "string",
|
|
6632
|
+
"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"
|
|
6633
|
+
}
|
|
6634
|
+
},
|
|
6635
|
+
"required": [
|
|
6636
|
+
"macroParameter",
|
|
6637
|
+
"type",
|
|
6638
|
+
"key"
|
|
6639
|
+
],
|
|
6640
|
+
"shortClassName": "textControlBean",
|
|
6641
|
+
"type": "object",
|
|
6642
|
+
"title": "TextControl",
|
|
6643
|
+
"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"
|
|
6644
|
+
},
|
|
6645
|
+
{
|
|
6646
|
+
"properties": {
|
|
6647
|
+
"label": {
|
|
6648
|
+
"$ref": "#/definitions/i18nProperty",
|
|
6649
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6650
|
+
},
|
|
6651
|
+
"type": {
|
|
6652
|
+
"enum": [
|
|
6653
|
+
"button",
|
|
6654
|
+
"BUTTON"
|
|
6655
|
+
],
|
|
6656
|
+
"type": "string",
|
|
6657
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6658
|
+
},
|
|
6659
|
+
"key": {
|
|
6660
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6661
|
+
"maxLength": 100,
|
|
6662
|
+
"type": "string",
|
|
6663
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6664
|
+
}
|
|
6665
|
+
},
|
|
6666
|
+
"required": [
|
|
6667
|
+
"label",
|
|
6668
|
+
"type",
|
|
6669
|
+
"key"
|
|
6670
|
+
],
|
|
6671
|
+
"additionalProperties": true,
|
|
6672
|
+
"shortClassName": "buttonControlBean",
|
|
6673
|
+
"type": "object",
|
|
6674
|
+
"title": "ButtonControl",
|
|
6675
|
+
"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"
|
|
6676
|
+
},
|
|
6613
6677
|
{
|
|
6614
6678
|
"properties": {
|
|
6615
6679
|
"controls": {
|
|
@@ -6678,70 +6742,6 @@
|
|
|
6678
6742
|
"type": "object",
|
|
6679
6743
|
"title": "ToggleGroup",
|
|
6680
6744
|
"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"
|
|
6745
6745
|
}
|
|
6746
6746
|
]
|
|
6747
6747
|
},
|
|
@@ -7092,70 +7092,6 @@
|
|
|
7092
7092
|
"title": "ControlGroup",
|
|
7093
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
7094
|
},
|
|
7095
|
-
{
|
|
7096
|
-
"properties": {
|
|
7097
|
-
"label": {
|
|
7098
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7099
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7100
|
-
},
|
|
7101
|
-
"type": {
|
|
7102
|
-
"enum": [
|
|
7103
|
-
"button",
|
|
7104
|
-
"BUTTON"
|
|
7105
|
-
],
|
|
7106
|
-
"type": "string",
|
|
7107
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7108
|
-
},
|
|
7109
|
-
"key": {
|
|
7110
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7111
|
-
"maxLength": 100,
|
|
7112
|
-
"type": "string",
|
|
7113
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7114
|
-
}
|
|
7115
|
-
},
|
|
7116
|
-
"required": [
|
|
7117
|
-
"label",
|
|
7118
|
-
"type",
|
|
7119
|
-
"key"
|
|
7120
|
-
],
|
|
7121
|
-
"additionalProperties": true,
|
|
7122
|
-
"shortClassName": "buttonControlBean",
|
|
7123
|
-
"type": "object",
|
|
7124
|
-
"title": "ButtonControl",
|
|
7125
|
-
"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"
|
|
7126
|
-
},
|
|
7127
|
-
{
|
|
7128
|
-
"properties": {
|
|
7129
|
-
"macroParameter": {
|
|
7130
|
-
"maxLength": 100,
|
|
7131
|
-
"type": "string",
|
|
7132
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7133
|
-
},
|
|
7134
|
-
"type": {
|
|
7135
|
-
"enum": [
|
|
7136
|
-
"text",
|
|
7137
|
-
"TEXT"
|
|
7138
|
-
],
|
|
7139
|
-
"type": "string",
|
|
7140
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7141
|
-
},
|
|
7142
|
-
"key": {
|
|
7143
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7144
|
-
"maxLength": 100,
|
|
7145
|
-
"type": "string",
|
|
7146
|
-
"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"
|
|
7147
|
-
}
|
|
7148
|
-
},
|
|
7149
|
-
"required": [
|
|
7150
|
-
"macroParameter",
|
|
7151
|
-
"type",
|
|
7152
|
-
"key"
|
|
7153
|
-
],
|
|
7154
|
-
"shortClassName": "textControlBean",
|
|
7155
|
-
"type": "object",
|
|
7156
|
-
"title": "TextControl",
|
|
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"
|
|
7158
|
-
},
|
|
7159
7095
|
{
|
|
7160
7096
|
"properties": {
|
|
7161
7097
|
"controls": {
|
|
@@ -7224,6 +7160,70 @@
|
|
|
7224
7160
|
"type": "object",
|
|
7225
7161
|
"title": "ToggleGroup",
|
|
7226
7162
|
"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"
|
|
7163
|
+
},
|
|
7164
|
+
{
|
|
7165
|
+
"properties": {
|
|
7166
|
+
"label": {
|
|
7167
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7168
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7169
|
+
},
|
|
7170
|
+
"type": {
|
|
7171
|
+
"enum": [
|
|
7172
|
+
"button",
|
|
7173
|
+
"BUTTON"
|
|
7174
|
+
],
|
|
7175
|
+
"type": "string",
|
|
7176
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7177
|
+
},
|
|
7178
|
+
"key": {
|
|
7179
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7180
|
+
"maxLength": 100,
|
|
7181
|
+
"type": "string",
|
|
7182
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7183
|
+
}
|
|
7184
|
+
},
|
|
7185
|
+
"required": [
|
|
7186
|
+
"label",
|
|
7187
|
+
"type",
|
|
7188
|
+
"key"
|
|
7189
|
+
],
|
|
7190
|
+
"additionalProperties": true,
|
|
7191
|
+
"shortClassName": "buttonControlBean",
|
|
7192
|
+
"type": "object",
|
|
7193
|
+
"title": "ButtonControl",
|
|
7194
|
+
"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"
|
|
7195
|
+
},
|
|
7196
|
+
{
|
|
7197
|
+
"properties": {
|
|
7198
|
+
"macroParameter": {
|
|
7199
|
+
"maxLength": 100,
|
|
7200
|
+
"type": "string",
|
|
7201
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7202
|
+
},
|
|
7203
|
+
"type": {
|
|
7204
|
+
"enum": [
|
|
7205
|
+
"text",
|
|
7206
|
+
"TEXT"
|
|
7207
|
+
],
|
|
7208
|
+
"type": "string",
|
|
7209
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7210
|
+
},
|
|
7211
|
+
"key": {
|
|
7212
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7213
|
+
"maxLength": 100,
|
|
7214
|
+
"type": "string",
|
|
7215
|
+
"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"
|
|
7216
|
+
}
|
|
7217
|
+
},
|
|
7218
|
+
"required": [
|
|
7219
|
+
"macroParameter",
|
|
7220
|
+
"type",
|
|
7221
|
+
"key"
|
|
7222
|
+
],
|
|
7223
|
+
"shortClassName": "textControlBean",
|
|
7224
|
+
"type": "object",
|
|
7225
|
+
"title": "TextControl",
|
|
7226
|
+
"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"
|
|
7227
7227
|
}
|
|
7228
7228
|
]
|
|
7229
7229
|
},
|
|
@@ -7461,50 +7461,19 @@
|
|
|
7461
7461
|
"anyOf": [
|
|
7462
7462
|
{
|
|
7463
7463
|
"properties": {
|
|
7464
|
-
"
|
|
7465
|
-
"maxLength":
|
|
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,
|
|
7464
|
+
"key": {
|
|
7465
|
+
"maxLength": 100,
|
|
7476
7466
|
"type": "string",
|
|
7477
|
-
"fieldDescription": "\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"
|
|
7467
|
+
"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"
|
|
7502
7468
|
}
|
|
7503
7469
|
},
|
|
7504
|
-
"
|
|
7470
|
+
"required": [
|
|
7471
|
+
"key"
|
|
7472
|
+
],
|
|
7473
|
+
"shortClassName": "dialogModuleOptions",
|
|
7505
7474
|
"type": "object",
|
|
7506
|
-
"title": "
|
|
7507
|
-
"description": "\n\nOptions for
|
|
7475
|
+
"title": "Dialog Module Options",
|
|
7476
|
+
"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"
|
|
7508
7477
|
},
|
|
7509
7478
|
{
|
|
7510
7479
|
"properties": {
|
|
@@ -7553,19 +7522,50 @@
|
|
|
7553
7522
|
},
|
|
7554
7523
|
{
|
|
7555
7524
|
"properties": {
|
|
7556
|
-
"
|
|
7557
|
-
"maxLength":
|
|
7525
|
+
"offsetX": {
|
|
7526
|
+
"maxLength": 10,
|
|
7558
7527
|
"type": "string",
|
|
7559
|
-
"fieldDescription": "\n\
|
|
7528
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the x-axis in pixels\n\n"
|
|
7529
|
+
},
|
|
7530
|
+
"offsetY": {
|
|
7531
|
+
"maxLength": 10,
|
|
7532
|
+
"type": "string",
|
|
7533
|
+
"fieldDescription": "\n\nSets an offset distance of the inline-dialog from the trigger element along the y-axis in pixels\n\n"
|
|
7534
|
+
},
|
|
7535
|
+
"width": {
|
|
7536
|
+
"maxLength": 10,
|
|
7537
|
+
"type": "string",
|
|
7538
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
7539
|
+
},
|
|
7540
|
+
"onTop": {
|
|
7541
|
+
"type": "boolean",
|
|
7542
|
+
"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"
|
|
7543
|
+
},
|
|
7544
|
+
"showDelay": {
|
|
7545
|
+
"type": "integer",
|
|
7546
|
+
"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"
|
|
7547
|
+
},
|
|
7548
|
+
"closeOthers": {
|
|
7549
|
+
"type": "boolean",
|
|
7550
|
+
"fieldDescription": "\n\nDetermines if all other dialogs on the screen are closed when this one is opened\n\n"
|
|
7551
|
+
},
|
|
7552
|
+
"persistent": {
|
|
7553
|
+
"type": "boolean",
|
|
7554
|
+
"fieldDescription": "\n\nThis option, ignores the 'closeOthers' option\n\n"
|
|
7555
|
+
},
|
|
7556
|
+
"onHover": {
|
|
7557
|
+
"type": "boolean",
|
|
7558
|
+
"fieldDescription": "\n\nDetermines whether the inline-Dialog will show on a mouseOver or mouseClick of the trigger\n\n"
|
|
7559
|
+
},
|
|
7560
|
+
"isRelativeToMouse": {
|
|
7561
|
+
"type": "boolean",
|
|
7562
|
+
"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"
|
|
7560
7563
|
}
|
|
7561
7564
|
},
|
|
7562
|
-
"
|
|
7563
|
-
"key"
|
|
7564
|
-
],
|
|
7565
|
-
"shortClassName": "dialogModuleOptions",
|
|
7565
|
+
"shortClassName": "inlineDialogOptions",
|
|
7566
7566
|
"type": "object",
|
|
7567
|
-
"title": "Dialog
|
|
7568
|
-
"description": "\n\nOptions for
|
|
7567
|
+
"title": "Inline Dialog Options",
|
|
7568
|
+
"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"
|
|
7569
7569
|
}
|
|
7570
7570
|
]
|
|
7571
7571
|
},
|
|
@@ -8855,10 +8855,10 @@
|
|
|
8855
8855
|
"type": "object",
|
|
8856
8856
|
"anyOf": [
|
|
8857
8857
|
{
|
|
8858
|
-
"$ref": "
|
|
8858
|
+
"$ref": "#"
|
|
8859
8859
|
},
|
|
8860
8860
|
{
|
|
8861
|
-
"$ref": "
|
|
8861
|
+
"$ref": "#/definitions/singleCondition"
|
|
8862
8862
|
}
|
|
8863
8863
|
]
|
|
8864
8864
|
},
|