@forge/manifest 2.6.0-next.7 → 2.6.0-next.8
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 +7 -0
- package/out/mapping/product-event-to-scope-mapping.json +8 -8
- package/out/schema/manifest-schema.json +287 -287
- package/out/schema/manifest.d.ts +277 -277
- package/package.json +1 -1
|
@@ -5417,10 +5417,10 @@
|
|
|
5417
5417
|
"type": "object",
|
|
5418
5418
|
"anyOf": [
|
|
5419
5419
|
{
|
|
5420
|
-
"$ref": "#/definitions/
|
|
5420
|
+
"$ref": "#/definitions/singleCondition"
|
|
5421
5421
|
},
|
|
5422
5422
|
{
|
|
5423
|
-
"$ref": "#/definitions/
|
|
5423
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5424
5424
|
}
|
|
5425
5425
|
]
|
|
5426
5426
|
},
|
|
@@ -5488,10 +5488,10 @@
|
|
|
5488
5488
|
"type": "object",
|
|
5489
5489
|
"anyOf": [
|
|
5490
5490
|
{
|
|
5491
|
-
"$ref": "#/definitions/
|
|
5491
|
+
"$ref": "#/definitions/singleCondition"
|
|
5492
5492
|
},
|
|
5493
5493
|
{
|
|
5494
|
-
"$ref": "#/definitions/
|
|
5494
|
+
"$ref": "#/definitions/compositeCondition"
|
|
5495
5495
|
}
|
|
5496
5496
|
]
|
|
5497
5497
|
},
|
|
@@ -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/compositeCondition"
|
|
5669
5669
|
},
|
|
5670
5670
|
{
|
|
5671
|
-
"$ref": "#/definitions/
|
|
5671
|
+
"$ref": "#/definitions/singleCondition"
|
|
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,67 +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
|
-
"size": {
|
|
5802
|
-
"enum": [
|
|
5803
|
-
"small",
|
|
5804
|
-
"SMALL",
|
|
5805
|
-
"medium",
|
|
5806
|
-
"MEDIUM",
|
|
5807
|
-
"large",
|
|
5808
|
-
"LARGE",
|
|
5809
|
-
"x-large",
|
|
5810
|
-
"X-LARGE",
|
|
5811
|
-
"fullscreen",
|
|
5812
|
-
"FULLSCREEN",
|
|
5813
|
-
"maximum",
|
|
5814
|
-
"MAXIMUM"
|
|
5815
|
-
],
|
|
5816
|
-
"type": "string",
|
|
5817
|
-
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
5818
|
-
},
|
|
5819
|
-
"chrome": {
|
|
5820
|
-
"type": "boolean",
|
|
5821
|
-
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
5822
|
-
"defaultValue": "true"
|
|
5823
|
-
},
|
|
5824
|
-
"width": {
|
|
5825
|
-
"maxLength": 10,
|
|
5826
|
-
"type": "string",
|
|
5827
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
5828
|
-
},
|
|
5829
|
-
"header": {
|
|
5830
|
-
"$ref": "#/definitions/i18nProperty",
|
|
5831
|
-
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
5832
|
-
},
|
|
5833
|
-
"height": {
|
|
5834
|
-
"maxLength": 10,
|
|
5835
|
-
"type": "string",
|
|
5836
|
-
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
5837
|
-
}
|
|
5838
|
-
},
|
|
5839
|
-
"shortClassName": "dialogOptions",
|
|
5840
|
-
"type": "object",
|
|
5841
|
-
"title": "Dialog Options",
|
|
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"
|
|
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
5799
|
{
|
|
5861
5800
|
"properties": {
|
|
5862
5801
|
"offsetX": {
|
|
@@ -5903,6 +5842,67 @@
|
|
|
5903
5842
|
"type": "object",
|
|
5904
5843
|
"title": "Inline Dialog Options",
|
|
5905
5844
|
"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
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"properties": {
|
|
5848
|
+
"key": {
|
|
5849
|
+
"maxLength": 100,
|
|
5850
|
+
"type": "string",
|
|
5851
|
+
"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"
|
|
5852
|
+
}
|
|
5853
|
+
},
|
|
5854
|
+
"required": [
|
|
5855
|
+
"key"
|
|
5856
|
+
],
|
|
5857
|
+
"shortClassName": "dialogModuleOptions",
|
|
5858
|
+
"type": "object",
|
|
5859
|
+
"title": "Dialog Module Options",
|
|
5860
|
+
"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"
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
"properties": {
|
|
5864
|
+
"size": {
|
|
5865
|
+
"enum": [
|
|
5866
|
+
"small",
|
|
5867
|
+
"SMALL",
|
|
5868
|
+
"medium",
|
|
5869
|
+
"MEDIUM",
|
|
5870
|
+
"large",
|
|
5871
|
+
"LARGE",
|
|
5872
|
+
"x-large",
|
|
5873
|
+
"X-LARGE",
|
|
5874
|
+
"fullscreen",
|
|
5875
|
+
"FULLSCREEN",
|
|
5876
|
+
"maximum",
|
|
5877
|
+
"MAXIMUM"
|
|
5878
|
+
],
|
|
5879
|
+
"type": "string",
|
|
5880
|
+
"fieldDescription": "\n\nSets the size of the dialog.\n\n <p>\n This option is used instead of the 'height' and 'width' options.\n </p>\n\n"
|
|
5881
|
+
},
|
|
5882
|
+
"chrome": {
|
|
5883
|
+
"type": "boolean",
|
|
5884
|
+
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
5885
|
+
"defaultValue": "true"
|
|
5886
|
+
},
|
|
5887
|
+
"width": {
|
|
5888
|
+
"maxLength": 10,
|
|
5889
|
+
"type": "string",
|
|
5890
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
5891
|
+
},
|
|
5892
|
+
"header": {
|
|
5893
|
+
"$ref": "#/definitions/i18nProperty",
|
|
5894
|
+
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
5895
|
+
},
|
|
5896
|
+
"height": {
|
|
5897
|
+
"maxLength": 10,
|
|
5898
|
+
"type": "string",
|
|
5899
|
+
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
5900
|
+
}
|
|
5901
|
+
},
|
|
5902
|
+
"shortClassName": "dialogOptions",
|
|
5903
|
+
"type": "object",
|
|
5904
|
+
"title": "Dialog Options",
|
|
5905
|
+
"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"
|
|
5906
5906
|
}
|
|
5907
5907
|
]
|
|
5908
5908
|
},
|
|
@@ -5959,6 +5959,33 @@
|
|
|
5959
5959
|
"items": {
|
|
5960
5960
|
"type": "object",
|
|
5961
5961
|
"anyOf": [
|
|
5962
|
+
{
|
|
5963
|
+
"properties": {
|
|
5964
|
+
"condition": {
|
|
5965
|
+
"maxLength": 100,
|
|
5966
|
+
"type": "string",
|
|
5967
|
+
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
5968
|
+
},
|
|
5969
|
+
"invert": {
|
|
5970
|
+
"type": "boolean",
|
|
5971
|
+
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
5972
|
+
"defaultValue": "false"
|
|
5973
|
+
},
|
|
5974
|
+
"params": {
|
|
5975
|
+
"additionalProperties": true,
|
|
5976
|
+
"type": "object",
|
|
5977
|
+
"fieldTitle": "Object",
|
|
5978
|
+
"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"
|
|
5979
|
+
}
|
|
5980
|
+
},
|
|
5981
|
+
"required": [
|
|
5982
|
+
"condition"
|
|
5983
|
+
],
|
|
5984
|
+
"shortClassName": "singleConditionBean",
|
|
5985
|
+
"type": "object",
|
|
5986
|
+
"title": "Single Condition",
|
|
5987
|
+
"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"
|
|
5988
|
+
},
|
|
5962
5989
|
{
|
|
5963
5990
|
"properties": {
|
|
5964
5991
|
"conditions": {
|
|
@@ -5991,33 +6018,6 @@
|
|
|
5991
6018
|
"type": "object",
|
|
5992
6019
|
"title": "Composite Condition",
|
|
5993
6020
|
"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"
|
|
5994
|
-
},
|
|
5995
|
-
{
|
|
5996
|
-
"properties": {
|
|
5997
|
-
"condition": {
|
|
5998
|
-
"maxLength": 100,
|
|
5999
|
-
"type": "string",
|
|
6000
|
-
"fieldDescription": "\n\nA string indicating the name of the condition\n\n"
|
|
6001
|
-
},
|
|
6002
|
-
"invert": {
|
|
6003
|
-
"type": "boolean",
|
|
6004
|
-
"fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
|
|
6005
|
-
"defaultValue": "false"
|
|
6006
|
-
},
|
|
6007
|
-
"params": {
|
|
6008
|
-
"additionalProperties": true,
|
|
6009
|
-
"type": "object",
|
|
6010
|
-
"fieldTitle": "Object",
|
|
6011
|
-
"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"
|
|
6012
|
-
}
|
|
6013
|
-
},
|
|
6014
|
-
"required": [
|
|
6015
|
-
"condition"
|
|
6016
|
-
],
|
|
6017
|
-
"shortClassName": "singleConditionBean",
|
|
6018
|
-
"type": "object",
|
|
6019
|
-
"title": "Single Condition",
|
|
6020
|
-
"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"
|
|
6021
6021
|
}
|
|
6022
6022
|
]
|
|
6023
6023
|
},
|
|
@@ -6071,10 +6071,10 @@
|
|
|
6071
6071
|
"type": "object",
|
|
6072
6072
|
"anyOf": [
|
|
6073
6073
|
{
|
|
6074
|
-
"$ref": "#/definitions/
|
|
6074
|
+
"$ref": "#/definitions/singleCondition"
|
|
6075
6075
|
},
|
|
6076
6076
|
{
|
|
6077
|
-
"$ref": "#/definitions/
|
|
6077
|
+
"$ref": "#/definitions/compositeCondition"
|
|
6078
6078
|
}
|
|
6079
6079
|
]
|
|
6080
6080
|
},
|
|
@@ -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": {
|
|
@@ -6281,31 +6254,58 @@
|
|
|
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"
|
|
6284
|
-
}
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
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
|
+
}
|
|
6285
|
+
]
|
|
6286
|
+
},
|
|
6287
|
+
"type": "array",
|
|
6288
|
+
"fieldDescription": "\n\n<a href=\"../../conditions/\">Conditions</a> can be added to display only when all the given conditions are true.\n\n"
|
|
6289
|
+
},
|
|
6290
|
+
"params": {
|
|
6291
|
+
"additionalProperties": true,
|
|
6292
|
+
"type": "object",
|
|
6293
|
+
"fieldTitle": "Object",
|
|
6294
|
+
"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"
|
|
6295
|
+
},
|
|
6296
|
+
"url": {
|
|
6297
|
+
"format": "uri",
|
|
6298
|
+
"type": "string",
|
|
6299
|
+
"fieldDescription": "\n\nThe url to retrieve the content from.\n This can be absolute or relative to the add-on's baseUrl\n\n"
|
|
6300
|
+
},
|
|
6301
|
+
"key": {
|
|
6302
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
6303
|
+
}
|
|
6304
|
+
},
|
|
6305
|
+
"required": [
|
|
6306
|
+
"key"
|
|
6307
|
+
]
|
|
6308
|
+
},
|
|
6309
6309
|
"minItems": 1
|
|
6310
6310
|
},
|
|
6311
6311
|
"connect-confluence:confluenceContentProperties": {
|
|
@@ -6559,17 +6559,22 @@
|
|
|
6559
6559
|
"controls": {
|
|
6560
6560
|
"items": {
|
|
6561
6561
|
"properties": {
|
|
6562
|
+
"macroParameterValue": {
|
|
6563
|
+
"maxLength": 10000,
|
|
6564
|
+
"type": "string",
|
|
6565
|
+
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6566
|
+
},
|
|
6562
6567
|
"label": {
|
|
6563
6568
|
"$ref": "#/definitions/i18nProperty",
|
|
6564
6569
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6565
6570
|
},
|
|
6566
6571
|
"type": {
|
|
6567
6572
|
"enum": [
|
|
6568
|
-
"
|
|
6569
|
-
"
|
|
6573
|
+
"togglebutton",
|
|
6574
|
+
"TOGGLEBUTTON"
|
|
6570
6575
|
],
|
|
6571
6576
|
"type": "string",
|
|
6572
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6577
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglebutton'\n\n"
|
|
6573
6578
|
},
|
|
6574
6579
|
"key": {
|
|
6575
6580
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -6579,36 +6584,44 @@
|
|
|
6579
6584
|
}
|
|
6580
6585
|
},
|
|
6581
6586
|
"required": [
|
|
6587
|
+
"macroParameterValue",
|
|
6582
6588
|
"label",
|
|
6583
6589
|
"type",
|
|
6584
6590
|
"key"
|
|
6585
6591
|
],
|
|
6586
6592
|
"additionalProperties": true,
|
|
6587
|
-
"shortClassName": "
|
|
6593
|
+
"shortClassName": "macroToggleButtonControlBean",
|
|
6588
6594
|
"type": "object",
|
|
6589
|
-
"title": "
|
|
6590
|
-
"description": "\n\nDefines a button which
|
|
6595
|
+
"title": "ToggleButtonControl",
|
|
6596
|
+
"description": "\n\nDefines a toggle button which appears inside a ToggleGroup\n\n <p><b>Example</b></p>\n\n\n\n\n\n {\n \"type\": \"togglebutton\",\n \"macroParameterValue\": \"macroParameterValue 0\",\n \"label\": {\n \"value\": \"My Custom Control 0\"\n },\n \"key\": \"my-custom-toggle-button-0\"\n }\n\n\n"
|
|
6591
6597
|
},
|
|
6592
6598
|
"type": "array",
|
|
6593
|
-
"fieldDescription": "\n\
|
|
6599
|
+
"fieldDescription": "\n\nToggle buttons which will appear in the toggle group\n\n"
|
|
6600
|
+
},
|
|
6601
|
+
"macroParameter": {
|
|
6602
|
+
"pattern": "[-_a-z0-9\\.]+",
|
|
6603
|
+
"maxLength": 100,
|
|
6604
|
+
"type": "string",
|
|
6605
|
+
"fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
|
|
6594
6606
|
},
|
|
6595
6607
|
"type": {
|
|
6596
6608
|
"enum": [
|
|
6597
|
-
"
|
|
6598
|
-
"
|
|
6609
|
+
"togglegroup",
|
|
6610
|
+
"TOGGLEGROUP"
|
|
6599
6611
|
],
|
|
6600
6612
|
"type": "string",
|
|
6601
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6613
|
+
"fieldDescription": "\n\nThe type field must be set to 'togglegroup'\n\n"
|
|
6602
6614
|
}
|
|
6603
6615
|
},
|
|
6604
6616
|
"required": [
|
|
6605
6617
|
"controls",
|
|
6618
|
+
"macroParameter",
|
|
6606
6619
|
"type"
|
|
6607
6620
|
],
|
|
6608
|
-
"shortClassName": "
|
|
6621
|
+
"shortClassName": "macroToggleGroupBean",
|
|
6609
6622
|
"type": "object",
|
|
6610
|
-
"title": "
|
|
6611
|
-
"description": "\n\nDefines a
|
|
6623
|
+
"title": "ToggleGroup",
|
|
6624
|
+
"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"
|
|
6612
6625
|
},
|
|
6613
6626
|
{
|
|
6614
6627
|
"properties": {
|
|
@@ -6642,27 +6655,54 @@
|
|
|
6642
6655
|
"title": "TextControl",
|
|
6643
6656
|
"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
6657
|
},
|
|
6658
|
+
{
|
|
6659
|
+
"properties": {
|
|
6660
|
+
"label": {
|
|
6661
|
+
"$ref": "#/definitions/i18nProperty",
|
|
6662
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6663
|
+
},
|
|
6664
|
+
"type": {
|
|
6665
|
+
"enum": [
|
|
6666
|
+
"button",
|
|
6667
|
+
"BUTTON"
|
|
6668
|
+
],
|
|
6669
|
+
"type": "string",
|
|
6670
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6671
|
+
},
|
|
6672
|
+
"key": {
|
|
6673
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
6674
|
+
"maxLength": 100,
|
|
6675
|
+
"type": "string",
|
|
6676
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
6677
|
+
}
|
|
6678
|
+
},
|
|
6679
|
+
"required": [
|
|
6680
|
+
"label",
|
|
6681
|
+
"type",
|
|
6682
|
+
"key"
|
|
6683
|
+
],
|
|
6684
|
+
"additionalProperties": true,
|
|
6685
|
+
"shortClassName": "buttonControlBean",
|
|
6686
|
+
"type": "object",
|
|
6687
|
+
"title": "ButtonControl",
|
|
6688
|
+
"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"
|
|
6689
|
+
},
|
|
6645
6690
|
{
|
|
6646
6691
|
"properties": {
|
|
6647
6692
|
"controls": {
|
|
6648
6693
|
"items": {
|
|
6649
6694
|
"properties": {
|
|
6650
|
-
"macroParameterValue": {
|
|
6651
|
-
"maxLength": 10000,
|
|
6652
|
-
"type": "string",
|
|
6653
|
-
"fieldDescription": "\n\nThe value that will be assigned to a macro parameter when this toggle is clicked\n\n"
|
|
6654
|
-
},
|
|
6655
6695
|
"label": {
|
|
6656
6696
|
"$ref": "#/definitions/i18nProperty",
|
|
6657
6697
|
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
6658
6698
|
},
|
|
6659
6699
|
"type": {
|
|
6660
6700
|
"enum": [
|
|
6661
|
-
"
|
|
6662
|
-
"
|
|
6701
|
+
"button",
|
|
6702
|
+
"BUTTON"
|
|
6663
6703
|
],
|
|
6664
6704
|
"type": "string",
|
|
6665
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6705
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
6666
6706
|
},
|
|
6667
6707
|
"key": {
|
|
6668
6708
|
"pattern": "^[a-zA-Z0-9-]+$",
|
|
@@ -6672,76 +6712,36 @@
|
|
|
6672
6712
|
}
|
|
6673
6713
|
},
|
|
6674
6714
|
"required": [
|
|
6675
|
-
"macroParameterValue",
|
|
6676
6715
|
"label",
|
|
6677
6716
|
"type",
|
|
6678
6717
|
"key"
|
|
6679
6718
|
],
|
|
6680
6719
|
"additionalProperties": true,
|
|
6681
|
-
"shortClassName": "
|
|
6720
|
+
"shortClassName": "buttonControlBean",
|
|
6682
6721
|
"type": "object",
|
|
6683
|
-
"title": "
|
|
6684
|
-
"description": "\n\nDefines a
|
|
6722
|
+
"title": "ButtonControl",
|
|
6723
|
+
"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"
|
|
6685
6724
|
},
|
|
6686
6725
|
"type": "array",
|
|
6687
|
-
"fieldDescription": "\n\
|
|
6688
|
-
},
|
|
6689
|
-
"macroParameter": {
|
|
6690
|
-
"pattern": "[-_a-z0-9\\.]+",
|
|
6691
|
-
"maxLength": 100,
|
|
6692
|
-
"type": "string",
|
|
6693
|
-
"fieldDescription": "\n\nThe macro parameter identifier used to store the toggle state.\n It must only contain lowercase alphanumeric characters, dashes, underscores, dots and must not contain any spaces.\n\n"
|
|
6726
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
6694
6727
|
},
|
|
6695
6728
|
"type": {
|
|
6696
6729
|
"enum": [
|
|
6697
|
-
"
|
|
6698
|
-
"
|
|
6730
|
+
"group",
|
|
6731
|
+
"GROUP"
|
|
6699
6732
|
],
|
|
6700
6733
|
"type": "string",
|
|
6701
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
6734
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
6702
6735
|
}
|
|
6703
6736
|
},
|
|
6704
6737
|
"required": [
|
|
6705
6738
|
"controls",
|
|
6706
|
-
"macroParameter",
|
|
6707
6739
|
"type"
|
|
6708
6740
|
],
|
|
6709
|
-
"shortClassName": "
|
|
6710
|
-
"type": "object",
|
|
6711
|
-
"title": "ToggleGroup",
|
|
6712
|
-
"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"
|
|
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",
|
|
6741
|
+
"shortClassName": "controlGroupBean",
|
|
6742
6742
|
"type": "object",
|
|
6743
|
-
"title": "
|
|
6744
|
-
"description": "\n\nDefines a
|
|
6743
|
+
"title": "ControlGroup",
|
|
6744
|
+
"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"
|
|
6745
6745
|
}
|
|
6746
6746
|
]
|
|
6747
6747
|
},
|
|
@@ -7038,59 +7038,35 @@
|
|
|
7038
7038
|
"anyOf": [
|
|
7039
7039
|
{
|
|
7040
7040
|
"properties": {
|
|
7041
|
-
"
|
|
7042
|
-
"
|
|
7043
|
-
|
|
7044
|
-
|
|
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"
|
|
7041
|
+
"macroParameter": {
|
|
7042
|
+
"maxLength": 100,
|
|
7043
|
+
"type": "string",
|
|
7044
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
7076
7045
|
},
|
|
7077
7046
|
"type": {
|
|
7078
7047
|
"enum": [
|
|
7079
|
-
"
|
|
7080
|
-
"
|
|
7048
|
+
"text",
|
|
7049
|
+
"TEXT"
|
|
7081
7050
|
],
|
|
7082
7051
|
"type": "string",
|
|
7083
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
7052
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
7053
|
+
},
|
|
7054
|
+
"key": {
|
|
7055
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7056
|
+
"maxLength": 100,
|
|
7057
|
+
"type": "string",
|
|
7058
|
+
"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"
|
|
7084
7059
|
}
|
|
7085
7060
|
},
|
|
7086
7061
|
"required": [
|
|
7087
|
-
"
|
|
7088
|
-
"type"
|
|
7062
|
+
"macroParameter",
|
|
7063
|
+
"type",
|
|
7064
|
+
"key"
|
|
7089
7065
|
],
|
|
7090
|
-
"shortClassName": "
|
|
7066
|
+
"shortClassName": "textControlBean",
|
|
7091
7067
|
"type": "object",
|
|
7092
|
-
"title": "
|
|
7093
|
-
"description": "\n\nDefines a
|
|
7068
|
+
"title": "TextControl",
|
|
7069
|
+
"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"
|
|
7094
7070
|
},
|
|
7095
7071
|
{
|
|
7096
7072
|
"properties": {
|
|
@@ -7195,35 +7171,59 @@
|
|
|
7195
7171
|
},
|
|
7196
7172
|
{
|
|
7197
7173
|
"properties": {
|
|
7198
|
-
"
|
|
7199
|
-
"
|
|
7200
|
-
|
|
7201
|
-
|
|
7174
|
+
"controls": {
|
|
7175
|
+
"items": {
|
|
7176
|
+
"properties": {
|
|
7177
|
+
"label": {
|
|
7178
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7179
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
7180
|
+
},
|
|
7181
|
+
"type": {
|
|
7182
|
+
"enum": [
|
|
7183
|
+
"button",
|
|
7184
|
+
"BUTTON"
|
|
7185
|
+
],
|
|
7186
|
+
"type": "string",
|
|
7187
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
7188
|
+
},
|
|
7189
|
+
"key": {
|
|
7190
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
7191
|
+
"maxLength": 100,
|
|
7192
|
+
"type": "string",
|
|
7193
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
7194
|
+
}
|
|
7195
|
+
},
|
|
7196
|
+
"required": [
|
|
7197
|
+
"label",
|
|
7198
|
+
"type",
|
|
7199
|
+
"key"
|
|
7200
|
+
],
|
|
7201
|
+
"additionalProperties": true,
|
|
7202
|
+
"shortClassName": "buttonControlBean",
|
|
7203
|
+
"type": "object",
|
|
7204
|
+
"title": "ButtonControl",
|
|
7205
|
+
"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"
|
|
7206
|
+
},
|
|
7207
|
+
"type": "array",
|
|
7208
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
7202
7209
|
},
|
|
7203
7210
|
"type": {
|
|
7204
7211
|
"enum": [
|
|
7205
|
-
"
|
|
7206
|
-
"
|
|
7212
|
+
"group",
|
|
7213
|
+
"GROUP"
|
|
7207
7214
|
],
|
|
7208
7215
|
"type": "string",
|
|
7209
|
-
"fieldDescription": "\n\nThe type field must be set to '
|
|
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
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
7216
7217
|
}
|
|
7217
7218
|
},
|
|
7218
7219
|
"required": [
|
|
7219
|
-
"
|
|
7220
|
-
"type"
|
|
7221
|
-
"key"
|
|
7220
|
+
"controls",
|
|
7221
|
+
"type"
|
|
7222
7222
|
],
|
|
7223
|
-
"shortClassName": "
|
|
7223
|
+
"shortClassName": "controlGroupBean",
|
|
7224
7224
|
"type": "object",
|
|
7225
|
-
"title": "
|
|
7226
|
-
"description": "\n\nDefines a
|
|
7225
|
+
"title": "ControlGroup",
|
|
7226
|
+
"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"
|
|
7227
7227
|
}
|
|
7228
7228
|
]
|
|
7229
7229
|
},
|