@forge/manifest 3.3.0-next.0 → 3.3.0-next.3

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 CHANGED
@@ -1,5 +1,38 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.3.0-next.3
4
+
5
+ ### Minor Changes
6
+
7
+ - 6c44d2b: Add following Jira Service Management modules:
8
+ - jiraServiceManagement:organizationPanel module
9
+ - jiraServiceManagement:portalHeader module
10
+ - jiraServiceManagement:portalSubheader module
11
+ - jiraServiceManagement:portalFooter module
12
+ - jiraServiceManagement:portalRequestDetail module
13
+ - jiraServiceManagement:portalRequestDetailPanel module
14
+ - jiraServiceManagement:queuePage module
15
+ - jiraServiceManagement:portalProfilePanel module
16
+
17
+ ### Patch Changes
18
+
19
+ - 051ed1f: Update manifest definitions
20
+
21
+ ## 3.3.0-next.2
22
+
23
+ ### Patch Changes
24
+
25
+ - e822a8a: Update manifest definitions
26
+ - c255b24: Update manifest definitions
27
+ - Updated dependencies [88e57a1]
28
+ - @forge/util@1.2.0-next.0
29
+
30
+ ## 3.3.0-next.1
31
+
32
+ ### Patch Changes
33
+
34
+ - 24203783: Update manifest definitions
35
+
3
36
  ## 3.3.0-next.0
4
37
 
5
38
  ### Minor Changes
@@ -6228,10 +6228,10 @@
6228
6228
  "type": "object",
6229
6229
  "anyOf": [
6230
6230
  {
6231
- "$ref": "#/definitions/compositeCondition"
6231
+ "$ref": "#/definitions/singleCondition"
6232
6232
  },
6233
6233
  {
6234
- "$ref": "#/definitions/singleCondition"
6234
+ "$ref": "#/definitions/compositeCondition"
6235
6235
  }
6236
6236
  ]
6237
6237
  },
@@ -6299,10 +6299,10 @@
6299
6299
  "type": "object",
6300
6300
  "anyOf": [
6301
6301
  {
6302
- "$ref": "#/definitions/singleCondition"
6302
+ "$ref": "#/definitions/compositeCondition"
6303
6303
  },
6304
6304
  {
6305
- "$ref": "#/definitions/compositeCondition"
6305
+ "$ref": "#/definitions/singleCondition"
6306
6306
  }
6307
6307
  ]
6308
6308
  },
@@ -6418,10 +6418,10 @@
6418
6418
  "type": "object",
6419
6419
  "anyOf": [
6420
6420
  {
6421
- "$ref": "#/definitions/compositeCondition"
6421
+ "$ref": "#/definitions/singleCondition"
6422
6422
  },
6423
6423
  {
6424
- "$ref": "#/definitions/singleCondition"
6424
+ "$ref": "#/definitions/compositeCondition"
6425
6425
  }
6426
6426
  ]
6427
6427
  },
@@ -6534,10 +6534,10 @@
6534
6534
  "type": "object",
6535
6535
  "anyOf": [
6536
6536
  {
6537
- "$ref": "#/definitions/compositeCondition"
6537
+ "$ref": "#/definitions/singleCondition"
6538
6538
  },
6539
6539
  {
6540
- "$ref": "#/definitions/singleCondition"
6540
+ "$ref": "#/definitions/compositeCondition"
6541
6541
  }
6542
6542
  ]
6543
6543
  },
@@ -6607,6 +6607,67 @@
6607
6607
  "type": "object",
6608
6608
  "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",
6609
6609
  "anyOf": [
6610
+ {
6611
+ "properties": {
6612
+ "size": {
6613
+ "enum": [
6614
+ "small",
6615
+ "SMALL",
6616
+ "medium",
6617
+ "MEDIUM",
6618
+ "large",
6619
+ "LARGE",
6620
+ "x-large",
6621
+ "X-LARGE",
6622
+ "fullscreen",
6623
+ "FULLSCREEN",
6624
+ "maximum",
6625
+ "MAXIMUM"
6626
+ ],
6627
+ "type": "string",
6628
+ "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"
6629
+ },
6630
+ "chrome": {
6631
+ "type": "boolean",
6632
+ "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
6633
+ "defaultValue": "true"
6634
+ },
6635
+ "width": {
6636
+ "maxLength": 10,
6637
+ "type": "string",
6638
+ "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
6639
+ },
6640
+ "header": {
6641
+ "$ref": "#/definitions/i18nProperty",
6642
+ "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
6643
+ },
6644
+ "height": {
6645
+ "maxLength": 10,
6646
+ "type": "string",
6647
+ "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
6648
+ }
6649
+ },
6650
+ "shortClassName": "dialogOptions",
6651
+ "type": "object",
6652
+ "title": "Dialog Options",
6653
+ "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"
6654
+ },
6655
+ {
6656
+ "properties": {
6657
+ "key": {
6658
+ "maxLength": 100,
6659
+ "type": "string",
6660
+ "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"
6661
+ }
6662
+ },
6663
+ "required": [
6664
+ "key"
6665
+ ],
6666
+ "shortClassName": "dialogModuleOptions",
6667
+ "type": "object",
6668
+ "title": "Dialog Module Options",
6669
+ "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"
6670
+ },
6610
6671
  {
6611
6672
  "properties": {
6612
6673
  "offsetX": {
@@ -6653,67 +6714,6 @@
6653
6714
  "type": "object",
6654
6715
  "title": "Inline Dialog Options",
6655
6716
  "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"
6656
- },
6657
- {
6658
- "properties": {
6659
- "key": {
6660
- "maxLength": 100,
6661
- "type": "string",
6662
- "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"
6663
- }
6664
- },
6665
- "required": [
6666
- "key"
6667
- ],
6668
- "shortClassName": "dialogModuleOptions",
6669
- "type": "object",
6670
- "title": "Dialog Module Options",
6671
- "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"
6672
- },
6673
- {
6674
- "properties": {
6675
- "size": {
6676
- "enum": [
6677
- "small",
6678
- "SMALL",
6679
- "medium",
6680
- "MEDIUM",
6681
- "large",
6682
- "LARGE",
6683
- "x-large",
6684
- "X-LARGE",
6685
- "fullscreen",
6686
- "FULLSCREEN",
6687
- "maximum",
6688
- "MAXIMUM"
6689
- ],
6690
- "type": "string",
6691
- "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"
6692
- },
6693
- "chrome": {
6694
- "type": "boolean",
6695
- "fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
6696
- "defaultValue": "true"
6697
- },
6698
- "width": {
6699
- "maxLength": 10,
6700
- "type": "string",
6701
- "fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
6702
- },
6703
- "header": {
6704
- "$ref": "#/definitions/i18nProperty",
6705
- "fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
6706
- },
6707
- "height": {
6708
- "maxLength": 10,
6709
- "type": "string",
6710
- "fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
6711
- }
6712
- },
6713
- "shortClassName": "dialogOptions",
6714
- "type": "object",
6715
- "title": "Dialog Options",
6716
- "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"
6717
6717
  }
6718
6718
  ]
6719
6719
  },
@@ -6882,10 +6882,10 @@
6882
6882
  "type": "object",
6883
6883
  "anyOf": [
6884
6884
  {
6885
- "$ref": "#/definitions/compositeCondition"
6885
+ "$ref": "#/definitions/singleCondition"
6886
6886
  },
6887
6887
  {
6888
- "$ref": "#/definitions/singleCondition"
6888
+ "$ref": "#/definitions/compositeCondition"
6889
6889
  }
6890
6890
  ]
6891
6891
  },
@@ -7033,6 +7033,33 @@
7033
7033
  "items": {
7034
7034
  "type": "object",
7035
7035
  "anyOf": [
7036
+ {
7037
+ "properties": {
7038
+ "condition": {
7039
+ "maxLength": 100,
7040
+ "type": "string",
7041
+ "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
7042
+ },
7043
+ "invert": {
7044
+ "type": "boolean",
7045
+ "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
7046
+ "defaultValue": "false"
7047
+ },
7048
+ "params": {
7049
+ "additionalProperties": true,
7050
+ "type": "object",
7051
+ "fieldTitle": "Object",
7052
+ "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"
7053
+ }
7054
+ },
7055
+ "required": [
7056
+ "condition"
7057
+ ],
7058
+ "shortClassName": "singleConditionBean",
7059
+ "type": "object",
7060
+ "title": "Single Condition",
7061
+ "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"
7062
+ },
7036
7063
  {
7037
7064
  "properties": {
7038
7065
  "conditions": {
@@ -7065,33 +7092,6 @@
7065
7092
  "type": "object",
7066
7093
  "title": "Composite Condition",
7067
7094
  "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"
7068
- },
7069
- {
7070
- "properties": {
7071
- "condition": {
7072
- "maxLength": 100,
7073
- "type": "string",
7074
- "fieldDescription": "\n\nA string indicating the name of the condition\n\n"
7075
- },
7076
- "invert": {
7077
- "type": "boolean",
7078
- "fieldDescription": "\n\nA flag indicating whether to invert the boolean result of the condition.\n\n",
7079
- "defaultValue": "false"
7080
- },
7081
- "params": {
7082
- "additionalProperties": true,
7083
- "type": "object",
7084
- "fieldTitle": "Object",
7085
- "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"
7086
- }
7087
- },
7088
- "required": [
7089
- "condition"
7090
- ],
7091
- "shortClassName": "singleConditionBean",
7092
- "type": "object",
7093
- "title": "Single Condition",
7094
- "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"
7095
7095
  }
7096
7096
  ]
7097
7097
  },
@@ -7397,6 +7397,38 @@
7397
7397
  "title": "TextControl",
7398
7398
  "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"
7399
7399
  },
7400
+ {
7401
+ "properties": {
7402
+ "label": {
7403
+ "$ref": "#/definitions/i18nProperty",
7404
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7405
+ },
7406
+ "type": {
7407
+ "enum": [
7408
+ "button",
7409
+ "BUTTON"
7410
+ ],
7411
+ "type": "string",
7412
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7413
+ },
7414
+ "key": {
7415
+ "pattern": "^[a-zA-Z0-9-]+$",
7416
+ "maxLength": 100,
7417
+ "type": "string",
7418
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7419
+ }
7420
+ },
7421
+ "required": [
7422
+ "label",
7423
+ "type",
7424
+ "key"
7425
+ ],
7426
+ "additionalProperties": true,
7427
+ "shortClassName": "buttonControlBean",
7428
+ "type": "object",
7429
+ "title": "ButtonControl",
7430
+ "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"
7431
+ },
7400
7432
  {
7401
7433
  "properties": {
7402
7434
  "controls": {
@@ -7466,38 +7498,6 @@
7466
7498
  "title": "ToggleGroup",
7467
7499
  "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"
7468
7500
  },
7469
- {
7470
- "properties": {
7471
- "label": {
7472
- "$ref": "#/definitions/i18nProperty",
7473
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7474
- },
7475
- "type": {
7476
- "enum": [
7477
- "button",
7478
- "BUTTON"
7479
- ],
7480
- "type": "string",
7481
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7482
- },
7483
- "key": {
7484
- "pattern": "^[a-zA-Z0-9-]+$",
7485
- "maxLength": 100,
7486
- "type": "string",
7487
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7488
- }
7489
- },
7490
- "required": [
7491
- "label",
7492
- "type",
7493
- "key"
7494
- ],
7495
- "additionalProperties": true,
7496
- "shortClassName": "buttonControlBean",
7497
- "type": "object",
7498
- "title": "ButtonControl",
7499
- "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"
7500
- },
7501
7501
  {
7502
7502
  "properties": {
7503
7503
  "controls": {
@@ -7847,6 +7847,62 @@
7847
7847
  "items": {
7848
7848
  "type": "object",
7849
7849
  "anyOf": [
7850
+ {
7851
+ "properties": {
7852
+ "controls": {
7853
+ "items": {
7854
+ "properties": {
7855
+ "label": {
7856
+ "$ref": "#/definitions/i18nProperty",
7857
+ "fieldDescription": "\n\nText which will appear inside the button\n\n"
7858
+ },
7859
+ "type": {
7860
+ "enum": [
7861
+ "button",
7862
+ "BUTTON"
7863
+ ],
7864
+ "type": "string",
7865
+ "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7866
+ },
7867
+ "key": {
7868
+ "pattern": "^[a-zA-Z0-9-]+$",
7869
+ "maxLength": 100,
7870
+ "type": "string",
7871
+ "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
7872
+ }
7873
+ },
7874
+ "required": [
7875
+ "label",
7876
+ "type",
7877
+ "key"
7878
+ ],
7879
+ "additionalProperties": true,
7880
+ "shortClassName": "buttonControlBean",
7881
+ "type": "object",
7882
+ "title": "ButtonControl",
7883
+ "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"
7884
+ },
7885
+ "type": "array",
7886
+ "fieldDescription": "\n\nControls which will appear in the control group\n\n"
7887
+ },
7888
+ "type": {
7889
+ "enum": [
7890
+ "group",
7891
+ "GROUP"
7892
+ ],
7893
+ "type": "string",
7894
+ "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
7895
+ }
7896
+ },
7897
+ "required": [
7898
+ "controls",
7899
+ "type"
7900
+ ],
7901
+ "shortClassName": "controlGroupBean",
7902
+ "type": "object",
7903
+ "title": "ControlGroup",
7904
+ "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"
7905
+ },
7850
7906
  {
7851
7907
  "properties": {
7852
7908
  "controls": {
@@ -7916,38 +7972,6 @@
7916
7972
  "title": "ToggleGroup",
7917
7973
  "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"
7918
7974
  },
7919
- {
7920
- "properties": {
7921
- "macroParameter": {
7922
- "maxLength": 100,
7923
- "type": "string",
7924
- "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
7925
- },
7926
- "type": {
7927
- "enum": [
7928
- "text",
7929
- "TEXT"
7930
- ],
7931
- "type": "string",
7932
- "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
7933
- },
7934
- "key": {
7935
- "pattern": "^[a-zA-Z0-9-]+$",
7936
- "maxLength": 100,
7937
- "type": "string",
7938
- "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"
7939
- }
7940
- },
7941
- "required": [
7942
- "macroParameter",
7943
- "type",
7944
- "key"
7945
- ],
7946
- "shortClassName": "textControlBean",
7947
- "type": "object",
7948
- "title": "TextControl",
7949
- "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"
7950
- },
7951
7975
  {
7952
7976
  "properties": {
7953
7977
  "label": {
@@ -7982,59 +8006,35 @@
7982
8006
  },
7983
8007
  {
7984
8008
  "properties": {
7985
- "controls": {
7986
- "items": {
7987
- "properties": {
7988
- "label": {
7989
- "$ref": "#/definitions/i18nProperty",
7990
- "fieldDescription": "\n\nText which will appear inside the button\n\n"
7991
- },
7992
- "type": {
7993
- "enum": [
7994
- "button",
7995
- "BUTTON"
7996
- ],
7997
- "type": "string",
7998
- "fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
7999
- },
8000
- "key": {
8001
- "pattern": "^[a-zA-Z0-9-]+$",
8002
- "maxLength": 100,
8003
- "type": "string",
8004
- "fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
8005
- }
8006
- },
8007
- "required": [
8008
- "label",
8009
- "type",
8010
- "key"
8011
- ],
8012
- "additionalProperties": true,
8013
- "shortClassName": "buttonControlBean",
8014
- "type": "object",
8015
- "title": "ButtonControl",
8016
- "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"
8017
- },
8018
- "type": "array",
8019
- "fieldDescription": "\n\nControls which will appear in the control group\n\n"
8009
+ "macroParameter": {
8010
+ "maxLength": 100,
8011
+ "type": "string",
8012
+ "fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
8020
8013
  },
8021
8014
  "type": {
8022
8015
  "enum": [
8023
- "group",
8024
- "GROUP"
8016
+ "text",
8017
+ "TEXT"
8025
8018
  ],
8026
8019
  "type": "string",
8027
- "fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
8020
+ "fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
8021
+ },
8022
+ "key": {
8023
+ "pattern": "^[a-zA-Z0-9-]+$",
8024
+ "maxLength": 100,
8025
+ "type": "string",
8026
+ "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"
8028
8027
  }
8029
8028
  },
8030
8029
  "required": [
8031
- "controls",
8032
- "type"
8030
+ "macroParameter",
8031
+ "type",
8032
+ "key"
8033
8033
  ],
8034
- "shortClassName": "controlGroupBean",
8034
+ "shortClassName": "textControlBean",
8035
8035
  "type": "object",
8036
- "title": "ControlGroup",
8037
- "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"
8036
+ "title": "TextControl",
8037
+ "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"
8038
8038
  }
8039
8039
  ]
8040
8040
  },
@@ -8237,10 +8237,10 @@
8237
8237
  "type": "object",
8238
8238
  "anyOf": [
8239
8239
  {
8240
- "$ref": "#/definitions/compositeCondition"
8240
+ "$ref": "#/definitions/singleCondition"
8241
8241
  },
8242
8242
  {
8243
- "$ref": "#/definitions/singleCondition"
8243
+ "$ref": "#/definitions/compositeCondition"
8244
8244
  }
8245
8245
  ]
8246
8246
  },