@forge/manifest 3.3.0-next.7 → 3.3.0
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 +47 -0
- package/out/schema/manifest-schema.json +258 -177
- package/out/schema/manifest.d.ts +223 -183
- package/out/types/module-types.d.ts +1 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fcd9580: Add support for compass:teamPage extensions
|
|
8
|
+
- 6c44d2b: Add following Jira Service Management modules:
|
|
9
|
+
- jiraServiceManagement:organizationPanel module
|
|
10
|
+
- jiraServiceManagement:portalHeader module
|
|
11
|
+
- jiraServiceManagement:portalSubheader module
|
|
12
|
+
- jiraServiceManagement:portalFooter module
|
|
13
|
+
- jiraServiceManagement:portalRequestDetail module
|
|
14
|
+
- jiraServiceManagement:portalRequestDetailPanel module
|
|
15
|
+
- jiraServiceManagement:queuePage module
|
|
16
|
+
- jiraServiceManagement:portalProfilePanel module
|
|
17
|
+
- e95919f: Added blob csp support for script content permissions with manifest validation
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- e822a8a: Update manifest definitions
|
|
22
|
+
- 720953f: Update manifest definitions
|
|
23
|
+
- 2420378: Update manifest definitions
|
|
24
|
+
- 051ed1f: Update manifest definitions
|
|
25
|
+
- ad94136: Update manifest definitions
|
|
26
|
+
- e65d33e: Update manifest definitions
|
|
27
|
+
- ae111cd: Update manifest definitions
|
|
28
|
+
- 8e35955: Update manifest definitions
|
|
29
|
+
- c255b24: Update manifest definitions
|
|
30
|
+
- f894871: Update manifest definitions
|
|
31
|
+
- Updated dependencies [88e57a12]
|
|
32
|
+
- @forge/util@1.2.0
|
|
33
|
+
|
|
34
|
+
## 3.3.0-next.9
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- 720953f: Update manifest definitions
|
|
39
|
+
|
|
40
|
+
## 3.3.0-next.8
|
|
41
|
+
|
|
42
|
+
### Minor Changes
|
|
43
|
+
|
|
44
|
+
- fcd95803: Add support for compass:teamPage extensions
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- e65d33e6: Update manifest definitions
|
|
49
|
+
|
|
3
50
|
## 3.3.0-next.7
|
|
4
51
|
|
|
5
52
|
### Patch Changes
|
|
@@ -3974,6 +3974,87 @@
|
|
|
3974
3974
|
},
|
|
3975
3975
|
"minItems": 1
|
|
3976
3976
|
},
|
|
3977
|
+
"compass:teamPage": {
|
|
3978
|
+
"type": "array",
|
|
3979
|
+
"items": {
|
|
3980
|
+
"oneOf": [
|
|
3981
|
+
{
|
|
3982
|
+
"type": "object",
|
|
3983
|
+
"required": [
|
|
3984
|
+
"title",
|
|
3985
|
+
"function",
|
|
3986
|
+
"key"
|
|
3987
|
+
],
|
|
3988
|
+
"properties": {
|
|
3989
|
+
"title": {
|
|
3990
|
+
"type": "string",
|
|
3991
|
+
"minLength": 1,
|
|
3992
|
+
"maxLength": 255
|
|
3993
|
+
},
|
|
3994
|
+
"icon": {
|
|
3995
|
+
"type": "string",
|
|
3996
|
+
"minLength": 1,
|
|
3997
|
+
"maxLength": 255
|
|
3998
|
+
},
|
|
3999
|
+
"function": {
|
|
4000
|
+
"type": "string",
|
|
4001
|
+
"minLength": 1,
|
|
4002
|
+
"maxLength": 255,
|
|
4003
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
4004
|
+
},
|
|
4005
|
+
"key": {
|
|
4006
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
4007
|
+
}
|
|
4008
|
+
}
|
|
4009
|
+
},
|
|
4010
|
+
{
|
|
4011
|
+
"type": "object",
|
|
4012
|
+
"required": [
|
|
4013
|
+
"title",
|
|
4014
|
+
"resource",
|
|
4015
|
+
"key"
|
|
4016
|
+
],
|
|
4017
|
+
"properties": {
|
|
4018
|
+
"title": {
|
|
4019
|
+
"type": "string",
|
|
4020
|
+
"minLength": 1,
|
|
4021
|
+
"maxLength": 255
|
|
4022
|
+
},
|
|
4023
|
+
"icon": {
|
|
4024
|
+
"type": "string",
|
|
4025
|
+
"minLength": 1,
|
|
4026
|
+
"maxLength": 255
|
|
4027
|
+
},
|
|
4028
|
+
"resolver": {
|
|
4029
|
+
"additionalProperties": false,
|
|
4030
|
+
"type": "object",
|
|
4031
|
+
"properties": {
|
|
4032
|
+
"function": {
|
|
4033
|
+
"type": "string",
|
|
4034
|
+
"minLength": 1,
|
|
4035
|
+
"maxLength": 255,
|
|
4036
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
4037
|
+
}
|
|
4038
|
+
},
|
|
4039
|
+
"required": [
|
|
4040
|
+
"function"
|
|
4041
|
+
]
|
|
4042
|
+
},
|
|
4043
|
+
"resource": {
|
|
4044
|
+
"type": "string",
|
|
4045
|
+
"minLength": 1,
|
|
4046
|
+
"maxLength": 23,
|
|
4047
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
4048
|
+
},
|
|
4049
|
+
"key": {
|
|
4050
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
4051
|
+
}
|
|
4052
|
+
}
|
|
4053
|
+
}
|
|
4054
|
+
]
|
|
4055
|
+
},
|
|
4056
|
+
"minItems": 1
|
|
4057
|
+
},
|
|
3977
4058
|
"jiraServiceManagement:queuePage": {
|
|
3978
4059
|
"type": "array",
|
|
3979
4060
|
"items": {
|
|
@@ -7390,10 +7471,10 @@
|
|
|
7390
7471
|
"type": "object",
|
|
7391
7472
|
"anyOf": [
|
|
7392
7473
|
{
|
|
7393
|
-
"$ref": "#/definitions/
|
|
7474
|
+
"$ref": "#/definitions/singleCondition"
|
|
7394
7475
|
},
|
|
7395
7476
|
{
|
|
7396
|
-
"$ref": "#/definitions/
|
|
7477
|
+
"$ref": "#/definitions/compositeCondition"
|
|
7397
7478
|
}
|
|
7398
7479
|
]
|
|
7399
7480
|
},
|
|
@@ -7445,10 +7526,10 @@
|
|
|
7445
7526
|
"type": "object",
|
|
7446
7527
|
"anyOf": [
|
|
7447
7528
|
{
|
|
7448
|
-
"$ref": "#/definitions/
|
|
7529
|
+
"$ref": "#/definitions/singleCondition"
|
|
7449
7530
|
},
|
|
7450
7531
|
{
|
|
7451
|
-
"$ref": "#/definitions/
|
|
7532
|
+
"$ref": "#/definitions/compositeCondition"
|
|
7452
7533
|
}
|
|
7453
7534
|
]
|
|
7454
7535
|
},
|
|
@@ -7567,10 +7648,10 @@
|
|
|
7567
7648
|
"type": "object",
|
|
7568
7649
|
"anyOf": [
|
|
7569
7650
|
{
|
|
7570
|
-
"$ref": "#/definitions/
|
|
7651
|
+
"$ref": "#/definitions/compositeCondition"
|
|
7571
7652
|
},
|
|
7572
7653
|
{
|
|
7573
|
-
"$ref": "#/definitions/
|
|
7654
|
+
"$ref": "#/definitions/singleCondition"
|
|
7574
7655
|
}
|
|
7575
7656
|
]
|
|
7576
7657
|
},
|
|
@@ -7698,51 +7779,6 @@
|
|
|
7698
7779
|
"type": "object",
|
|
7699
7780
|
"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",
|
|
7700
7781
|
"anyOf": [
|
|
7701
|
-
{
|
|
7702
|
-
"properties": {
|
|
7703
|
-
"size": {
|
|
7704
|
-
"enum": [
|
|
7705
|
-
"small",
|
|
7706
|
-
"SMALL",
|
|
7707
|
-
"medium",
|
|
7708
|
-
"MEDIUM",
|
|
7709
|
-
"large",
|
|
7710
|
-
"LARGE",
|
|
7711
|
-
"x-large",
|
|
7712
|
-
"X-LARGE",
|
|
7713
|
-
"fullscreen",
|
|
7714
|
-
"FULLSCREEN",
|
|
7715
|
-
"maximum",
|
|
7716
|
-
"MAXIMUM"
|
|
7717
|
-
],
|
|
7718
|
-
"type": "string",
|
|
7719
|
-
"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"
|
|
7720
|
-
},
|
|
7721
|
-
"chrome": {
|
|
7722
|
-
"type": "boolean",
|
|
7723
|
-
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
7724
|
-
"defaultValue": "true"
|
|
7725
|
-
},
|
|
7726
|
-
"width": {
|
|
7727
|
-
"maxLength": 10,
|
|
7728
|
-
"type": "string",
|
|
7729
|
-
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
7730
|
-
},
|
|
7731
|
-
"header": {
|
|
7732
|
-
"$ref": "#/definitions/i18nProperty",
|
|
7733
|
-
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
7734
|
-
},
|
|
7735
|
-
"height": {
|
|
7736
|
-
"maxLength": 10,
|
|
7737
|
-
"type": "string",
|
|
7738
|
-
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
7739
|
-
}
|
|
7740
|
-
},
|
|
7741
|
-
"shortClassName": "dialogOptions",
|
|
7742
|
-
"type": "object",
|
|
7743
|
-
"title": "Dialog Options",
|
|
7744
|
-
"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"
|
|
7745
|
-
},
|
|
7746
7782
|
{
|
|
7747
7783
|
"properties": {
|
|
7748
7784
|
"key": {
|
|
@@ -7805,6 +7841,51 @@
|
|
|
7805
7841
|
"type": "object",
|
|
7806
7842
|
"title": "Inline Dialog Options",
|
|
7807
7843
|
"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"
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
"properties": {
|
|
7847
|
+
"size": {
|
|
7848
|
+
"enum": [
|
|
7849
|
+
"small",
|
|
7850
|
+
"SMALL",
|
|
7851
|
+
"medium",
|
|
7852
|
+
"MEDIUM",
|
|
7853
|
+
"large",
|
|
7854
|
+
"LARGE",
|
|
7855
|
+
"x-large",
|
|
7856
|
+
"X-LARGE",
|
|
7857
|
+
"fullscreen",
|
|
7858
|
+
"FULLSCREEN",
|
|
7859
|
+
"maximum",
|
|
7860
|
+
"MAXIMUM"
|
|
7861
|
+
],
|
|
7862
|
+
"type": "string",
|
|
7863
|
+
"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"
|
|
7864
|
+
},
|
|
7865
|
+
"chrome": {
|
|
7866
|
+
"type": "boolean",
|
|
7867
|
+
"fieldDescription": "\n\nWhether the dialog should contain the AUI header and buttons.\n\n",
|
|
7868
|
+
"defaultValue": "true"
|
|
7869
|
+
},
|
|
7870
|
+
"width": {
|
|
7871
|
+
"maxLength": 10,
|
|
7872
|
+
"type": "string",
|
|
7873
|
+
"fieldDescription": "\n\nSets how wide the dialog is in pixels.\n\n"
|
|
7874
|
+
},
|
|
7875
|
+
"header": {
|
|
7876
|
+
"$ref": "#/definitions/i18nProperty",
|
|
7877
|
+
"fieldDescription": "\n\nThe header text for the dialog, if chrome is enabled.\n\n"
|
|
7878
|
+
},
|
|
7879
|
+
"height": {
|
|
7880
|
+
"maxLength": 10,
|
|
7881
|
+
"type": "string",
|
|
7882
|
+
"fieldDescription": "\n\nSets how high the dialog is in pixels\n\n"
|
|
7883
|
+
}
|
|
7884
|
+
},
|
|
7885
|
+
"shortClassName": "dialogOptions",
|
|
7886
|
+
"type": "object",
|
|
7887
|
+
"title": "Dialog Options",
|
|
7888
|
+
"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"
|
|
7808
7889
|
}
|
|
7809
7890
|
]
|
|
7810
7891
|
},
|
|
@@ -7895,10 +7976,10 @@
|
|
|
7895
7976
|
"type": "object",
|
|
7896
7977
|
"anyOf": [
|
|
7897
7978
|
{
|
|
7898
|
-
"$ref": "
|
|
7979
|
+
"$ref": "#/definitions/singleCondition"
|
|
7899
7980
|
},
|
|
7900
7981
|
{
|
|
7901
|
-
"$ref": "
|
|
7982
|
+
"$ref": "#"
|
|
7902
7983
|
}
|
|
7903
7984
|
]
|
|
7904
7985
|
},
|
|
@@ -8158,10 +8239,10 @@
|
|
|
8158
8239
|
"type": "object",
|
|
8159
8240
|
"anyOf": [
|
|
8160
8241
|
{
|
|
8161
|
-
"$ref": "
|
|
8242
|
+
"$ref": "#/definitions/singleCondition"
|
|
8162
8243
|
},
|
|
8163
8244
|
{
|
|
8164
|
-
"$ref": "
|
|
8245
|
+
"$ref": "#"
|
|
8165
8246
|
}
|
|
8166
8247
|
]
|
|
8167
8248
|
},
|
|
@@ -8456,6 +8537,38 @@
|
|
|
8456
8537
|
"items": {
|
|
8457
8538
|
"type": "object",
|
|
8458
8539
|
"anyOf": [
|
|
8540
|
+
{
|
|
8541
|
+
"properties": {
|
|
8542
|
+
"macroParameter": {
|
|
8543
|
+
"maxLength": 100,
|
|
8544
|
+
"type": "string",
|
|
8545
|
+
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
8546
|
+
},
|
|
8547
|
+
"type": {
|
|
8548
|
+
"enum": [
|
|
8549
|
+
"text",
|
|
8550
|
+
"TEXT"
|
|
8551
|
+
],
|
|
8552
|
+
"type": "string",
|
|
8553
|
+
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
8554
|
+
},
|
|
8555
|
+
"key": {
|
|
8556
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8557
|
+
"maxLength": 100,
|
|
8558
|
+
"type": "string",
|
|
8559
|
+
"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"
|
|
8560
|
+
}
|
|
8561
|
+
},
|
|
8562
|
+
"required": [
|
|
8563
|
+
"macroParameter",
|
|
8564
|
+
"type",
|
|
8565
|
+
"key"
|
|
8566
|
+
],
|
|
8567
|
+
"shortClassName": "textControlBean",
|
|
8568
|
+
"type": "object",
|
|
8569
|
+
"title": "TextControl",
|
|
8570
|
+
"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"
|
|
8571
|
+
},
|
|
8459
8572
|
{
|
|
8460
8573
|
"properties": {
|
|
8461
8574
|
"controls": {
|
|
@@ -8581,38 +8694,6 @@
|
|
|
8581
8694
|
"title": "ControlGroup",
|
|
8582
8695
|
"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"
|
|
8583
8696
|
},
|
|
8584
|
-
{
|
|
8585
|
-
"properties": {
|
|
8586
|
-
"macroParameter": {
|
|
8587
|
-
"maxLength": 100,
|
|
8588
|
-
"type": "string",
|
|
8589
|
-
"fieldDescription": "\n\nThe Macro Parameter identifier used to store the text\n\n"
|
|
8590
|
-
},
|
|
8591
|
-
"type": {
|
|
8592
|
-
"enum": [
|
|
8593
|
-
"text",
|
|
8594
|
-
"TEXT"
|
|
8595
|
-
],
|
|
8596
|
-
"type": "string",
|
|
8597
|
-
"fieldDescription": "\n\nThe type field must be set to 'text'\n\n"
|
|
8598
|
-
},
|
|
8599
|
-
"key": {
|
|
8600
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8601
|
-
"maxLength": 100,
|
|
8602
|
-
"type": "string",
|
|
8603
|
-
"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"
|
|
8604
|
-
}
|
|
8605
|
-
},
|
|
8606
|
-
"required": [
|
|
8607
|
-
"macroParameter",
|
|
8608
|
-
"type",
|
|
8609
|
-
"key"
|
|
8610
|
-
],
|
|
8611
|
-
"shortClassName": "textControlBean",
|
|
8612
|
-
"type": "object",
|
|
8613
|
-
"title": "TextControl",
|
|
8614
|
-
"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"
|
|
8615
|
-
},
|
|
8616
8697
|
{
|
|
8617
8698
|
"properties": {
|
|
8618
8699
|
"label": {
|
|
@@ -8938,94 +9019,6 @@
|
|
|
8938
9019
|
"items": {
|
|
8939
9020
|
"type": "object",
|
|
8940
9021
|
"anyOf": [
|
|
8941
|
-
{
|
|
8942
|
-
"properties": {
|
|
8943
|
-
"label": {
|
|
8944
|
-
"$ref": "#/definitions/i18nProperty",
|
|
8945
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8946
|
-
},
|
|
8947
|
-
"type": {
|
|
8948
|
-
"enum": [
|
|
8949
|
-
"button",
|
|
8950
|
-
"BUTTON"
|
|
8951
|
-
],
|
|
8952
|
-
"type": "string",
|
|
8953
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8954
|
-
},
|
|
8955
|
-
"key": {
|
|
8956
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8957
|
-
"maxLength": 100,
|
|
8958
|
-
"type": "string",
|
|
8959
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8960
|
-
}
|
|
8961
|
-
},
|
|
8962
|
-
"required": [
|
|
8963
|
-
"label",
|
|
8964
|
-
"type",
|
|
8965
|
-
"key"
|
|
8966
|
-
],
|
|
8967
|
-
"additionalProperties": true,
|
|
8968
|
-
"shortClassName": "buttonControlBean",
|
|
8969
|
-
"type": "object",
|
|
8970
|
-
"title": "ButtonControl",
|
|
8971
|
-
"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"
|
|
8972
|
-
},
|
|
8973
|
-
{
|
|
8974
|
-
"properties": {
|
|
8975
|
-
"controls": {
|
|
8976
|
-
"items": {
|
|
8977
|
-
"properties": {
|
|
8978
|
-
"label": {
|
|
8979
|
-
"$ref": "#/definitions/i18nProperty",
|
|
8980
|
-
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
8981
|
-
},
|
|
8982
|
-
"type": {
|
|
8983
|
-
"enum": [
|
|
8984
|
-
"button",
|
|
8985
|
-
"BUTTON"
|
|
8986
|
-
],
|
|
8987
|
-
"type": "string",
|
|
8988
|
-
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
8989
|
-
},
|
|
8990
|
-
"key": {
|
|
8991
|
-
"pattern": "^[a-zA-Z0-9-]+$",
|
|
8992
|
-
"maxLength": 100,
|
|
8993
|
-
"type": "string",
|
|
8994
|
-
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
8995
|
-
}
|
|
8996
|
-
},
|
|
8997
|
-
"required": [
|
|
8998
|
-
"label",
|
|
8999
|
-
"type",
|
|
9000
|
-
"key"
|
|
9001
|
-
],
|
|
9002
|
-
"additionalProperties": true,
|
|
9003
|
-
"shortClassName": "buttonControlBean",
|
|
9004
|
-
"type": "object",
|
|
9005
|
-
"title": "ButtonControl",
|
|
9006
|
-
"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"
|
|
9007
|
-
},
|
|
9008
|
-
"type": "array",
|
|
9009
|
-
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
9010
|
-
},
|
|
9011
|
-
"type": {
|
|
9012
|
-
"enum": [
|
|
9013
|
-
"group",
|
|
9014
|
-
"GROUP"
|
|
9015
|
-
],
|
|
9016
|
-
"type": "string",
|
|
9017
|
-
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
9018
|
-
}
|
|
9019
|
-
},
|
|
9020
|
-
"required": [
|
|
9021
|
-
"controls",
|
|
9022
|
-
"type"
|
|
9023
|
-
],
|
|
9024
|
-
"shortClassName": "controlGroupBean",
|
|
9025
|
-
"type": "object",
|
|
9026
|
-
"title": "ControlGroup",
|
|
9027
|
-
"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"
|
|
9028
|
-
},
|
|
9029
9022
|
{
|
|
9030
9023
|
"properties": {
|
|
9031
9024
|
"controls": {
|
|
@@ -9126,6 +9119,94 @@
|
|
|
9126
9119
|
"type": "object",
|
|
9127
9120
|
"title": "TextControl",
|
|
9128
9121
|
"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"
|
|
9122
|
+
},
|
|
9123
|
+
{
|
|
9124
|
+
"properties": {
|
|
9125
|
+
"label": {
|
|
9126
|
+
"$ref": "#/definitions/i18nProperty",
|
|
9127
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
9128
|
+
},
|
|
9129
|
+
"type": {
|
|
9130
|
+
"enum": [
|
|
9131
|
+
"button",
|
|
9132
|
+
"BUTTON"
|
|
9133
|
+
],
|
|
9134
|
+
"type": "string",
|
|
9135
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
9136
|
+
},
|
|
9137
|
+
"key": {
|
|
9138
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
9139
|
+
"maxLength": 100,
|
|
9140
|
+
"type": "string",
|
|
9141
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
9142
|
+
}
|
|
9143
|
+
},
|
|
9144
|
+
"required": [
|
|
9145
|
+
"label",
|
|
9146
|
+
"type",
|
|
9147
|
+
"key"
|
|
9148
|
+
],
|
|
9149
|
+
"additionalProperties": true,
|
|
9150
|
+
"shortClassName": "buttonControlBean",
|
|
9151
|
+
"type": "object",
|
|
9152
|
+
"title": "ButtonControl",
|
|
9153
|
+
"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"
|
|
9154
|
+
},
|
|
9155
|
+
{
|
|
9156
|
+
"properties": {
|
|
9157
|
+
"controls": {
|
|
9158
|
+
"items": {
|
|
9159
|
+
"properties": {
|
|
9160
|
+
"label": {
|
|
9161
|
+
"$ref": "#/definitions/i18nProperty",
|
|
9162
|
+
"fieldDescription": "\n\nText which will appear inside the button\n\n"
|
|
9163
|
+
},
|
|
9164
|
+
"type": {
|
|
9165
|
+
"enum": [
|
|
9166
|
+
"button",
|
|
9167
|
+
"BUTTON"
|
|
9168
|
+
],
|
|
9169
|
+
"type": "string",
|
|
9170
|
+
"fieldDescription": "\n\nThe type field must be set to 'button'\n\n"
|
|
9171
|
+
},
|
|
9172
|
+
"key": {
|
|
9173
|
+
"pattern": "^[a-zA-Z0-9-]+$",
|
|
9174
|
+
"maxLength": 100,
|
|
9175
|
+
"type": "string",
|
|
9176
|
+
"fieldDescription": "\n\nA key to identify the control. Keys must only contain alphanumeric characters and dashes, and must be unique\n\n"
|
|
9177
|
+
}
|
|
9178
|
+
},
|
|
9179
|
+
"required": [
|
|
9180
|
+
"label",
|
|
9181
|
+
"type",
|
|
9182
|
+
"key"
|
|
9183
|
+
],
|
|
9184
|
+
"additionalProperties": true,
|
|
9185
|
+
"shortClassName": "buttonControlBean",
|
|
9186
|
+
"type": "object",
|
|
9187
|
+
"title": "ButtonControl",
|
|
9188
|
+
"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"
|
|
9189
|
+
},
|
|
9190
|
+
"type": "array",
|
|
9191
|
+
"fieldDescription": "\n\nControls which will appear in the control group\n\n"
|
|
9192
|
+
},
|
|
9193
|
+
"type": {
|
|
9194
|
+
"enum": [
|
|
9195
|
+
"group",
|
|
9196
|
+
"GROUP"
|
|
9197
|
+
],
|
|
9198
|
+
"type": "string",
|
|
9199
|
+
"fieldDescription": "\n\nThe type field must be set to 'group'\n\n"
|
|
9200
|
+
}
|
|
9201
|
+
},
|
|
9202
|
+
"required": [
|
|
9203
|
+
"controls",
|
|
9204
|
+
"type"
|
|
9205
|
+
],
|
|
9206
|
+
"shortClassName": "controlGroupBean",
|
|
9207
|
+
"type": "object",
|
|
9208
|
+
"title": "ControlGroup",
|
|
9209
|
+
"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"
|
|
9129
9210
|
}
|
|
9130
9211
|
]
|
|
9131
9212
|
},
|
|
@@ -10800,10 +10881,10 @@
|
|
|
10800
10881
|
"type": "object",
|
|
10801
10882
|
"anyOf": [
|
|
10802
10883
|
{
|
|
10803
|
-
"$ref": "
|
|
10884
|
+
"$ref": "#/definitions/singleCondition"
|
|
10804
10885
|
},
|
|
10805
10886
|
{
|
|
10806
|
-
"$ref": "
|
|
10887
|
+
"$ref": "#"
|
|
10807
10888
|
}
|
|
10808
10889
|
]
|
|
10809
10890
|
},
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -2175,6 +2175,46 @@ export interface Modules {
|
|
|
2175
2175
|
}
|
|
2176
2176
|
)[]
|
|
2177
2177
|
];
|
|
2178
|
+
'compass:teamPage'?: [
|
|
2179
|
+
(
|
|
2180
|
+
| {
|
|
2181
|
+
title: string;
|
|
2182
|
+
icon?: string;
|
|
2183
|
+
function: string;
|
|
2184
|
+
key: ModuleKeySchema;
|
|
2185
|
+
[k: string]: unknown;
|
|
2186
|
+
}
|
|
2187
|
+
| {
|
|
2188
|
+
title: string;
|
|
2189
|
+
icon?: string;
|
|
2190
|
+
resolver?: {
|
|
2191
|
+
function: string;
|
|
2192
|
+
};
|
|
2193
|
+
resource: string;
|
|
2194
|
+
key: ModuleKeySchema;
|
|
2195
|
+
[k: string]: unknown;
|
|
2196
|
+
}
|
|
2197
|
+
),
|
|
2198
|
+
...(
|
|
2199
|
+
| {
|
|
2200
|
+
title: string;
|
|
2201
|
+
icon?: string;
|
|
2202
|
+
function: string;
|
|
2203
|
+
key: ModuleKeySchema;
|
|
2204
|
+
[k: string]: unknown;
|
|
2205
|
+
}
|
|
2206
|
+
| {
|
|
2207
|
+
title: string;
|
|
2208
|
+
icon?: string;
|
|
2209
|
+
resolver?: {
|
|
2210
|
+
function: string;
|
|
2211
|
+
};
|
|
2212
|
+
resource: string;
|
|
2213
|
+
key: ModuleKeySchema;
|
|
2214
|
+
[k: string]: unknown;
|
|
2215
|
+
}
|
|
2216
|
+
)[]
|
|
2217
|
+
];
|
|
2178
2218
|
'jiraServiceManagement:queuePage'?: [
|
|
2179
2219
|
(
|
|
2180
2220
|
| {
|
|
@@ -3640,7 +3680,7 @@ export interface Modules {
|
|
|
3640
3680
|
location?: string;
|
|
3641
3681
|
cacheable?: boolean;
|
|
3642
3682
|
supportsNative?: boolean;
|
|
3643
|
-
conditions?: (
|
|
3683
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3644
3684
|
params?: {
|
|
3645
3685
|
[k: string]: unknown;
|
|
3646
3686
|
};
|
|
@@ -3656,7 +3696,7 @@ export interface Modules {
|
|
|
3656
3696
|
location?: string;
|
|
3657
3697
|
cacheable?: boolean;
|
|
3658
3698
|
supportsNative?: boolean;
|
|
3659
|
-
conditions?: (
|
|
3699
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3660
3700
|
params?: {
|
|
3661
3701
|
[k: string]: unknown;
|
|
3662
3702
|
};
|
|
@@ -3670,7 +3710,7 @@ export interface Modules {
|
|
|
3670
3710
|
filter?: string;
|
|
3671
3711
|
excludeBody?: boolean;
|
|
3672
3712
|
event?: string;
|
|
3673
|
-
conditions?: (
|
|
3713
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3674
3714
|
propertyKeys?: string[];
|
|
3675
3715
|
url?: string;
|
|
3676
3716
|
key: ModuleKeySchema;
|
|
@@ -3680,7 +3720,7 @@ export interface Modules {
|
|
|
3680
3720
|
filter?: string;
|
|
3681
3721
|
excludeBody?: boolean;
|
|
3682
3722
|
event?: string;
|
|
3683
|
-
conditions?: (
|
|
3723
|
+
conditions?: (SingleCondition | CompositeCondition)[];
|
|
3684
3724
|
propertyKeys?: string[];
|
|
3685
3725
|
url?: string;
|
|
3686
3726
|
key: ModuleKeySchema;
|
|
@@ -3723,7 +3763,7 @@ export interface Modules {
|
|
|
3723
3763
|
name?: I18NProperty55;
|
|
3724
3764
|
weight?: number;
|
|
3725
3765
|
location?: string;
|
|
3726
|
-
conditions?: (
|
|
3766
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3727
3767
|
params?: {
|
|
3728
3768
|
[k: string]: unknown;
|
|
3729
3769
|
};
|
|
@@ -3735,7 +3775,7 @@ export interface Modules {
|
|
|
3735
3775
|
name?: I18NProperty55;
|
|
3736
3776
|
weight?: number;
|
|
3737
3777
|
location?: string;
|
|
3738
|
-
conditions?: (
|
|
3778
|
+
conditions?: (CompositeCondition | SingleCondition)[];
|
|
3739
3779
|
params?: {
|
|
3740
3780
|
[k: string]: unknown;
|
|
3741
3781
|
};
|
|
@@ -4327,7 +4367,7 @@ export interface I18NProperty1 {
|
|
|
4327
4367
|
*
|
|
4328
4368
|
*/
|
|
4329
4369
|
export interface CompositeCondition {
|
|
4330
|
-
conditions?: (
|
|
4370
|
+
conditions?: (SingleCondition | ManifestSchema)[];
|
|
4331
4371
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
4332
4372
|
[k: string]: unknown;
|
|
4333
4373
|
}
|
|
@@ -7035,10 +7075,74 @@ export interface Icon10 {
|
|
|
7035
7075
|
*
|
|
7036
7076
|
*/
|
|
7037
7077
|
export interface WebItemTarget1 {
|
|
7038
|
-
options?:
|
|
7078
|
+
options?: DialogModuleOptions1 | InlineDialogOptions1 | DialogOptions2;
|
|
7039
7079
|
type?: 'page' | 'PAGE' | 'dialog' | 'DIALOG' | 'inlinedialog' | 'INLINEDIALOG' | 'dialogmodule' | 'DIALOGMODULE';
|
|
7040
7080
|
[k: string]: unknown;
|
|
7041
7081
|
}
|
|
7082
|
+
/**
|
|
7083
|
+
*
|
|
7084
|
+
*
|
|
7085
|
+
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
7086
|
+
*
|
|
7087
|
+
* <h3>Example</h3>
|
|
7088
|
+
*
|
|
7089
|
+
*
|
|
7090
|
+
*
|
|
7091
|
+
*
|
|
7092
|
+
*
|
|
7093
|
+
* {
|
|
7094
|
+
* "target": {
|
|
7095
|
+
* "type": "dialogmodule",
|
|
7096
|
+
* "options": {
|
|
7097
|
+
* "key": "dialog-module-key"
|
|
7098
|
+
* }
|
|
7099
|
+
* }
|
|
7100
|
+
* }
|
|
7101
|
+
*
|
|
7102
|
+
*
|
|
7103
|
+
*
|
|
7104
|
+
*/
|
|
7105
|
+
export interface DialogModuleOptions1 {
|
|
7106
|
+
key: string;
|
|
7107
|
+
[k: string]: unknown;
|
|
7108
|
+
}
|
|
7109
|
+
/**
|
|
7110
|
+
*
|
|
7111
|
+
*
|
|
7112
|
+
* Options for an inline dialog target
|
|
7113
|
+
*
|
|
7114
|
+
* <h3>Example</h3>
|
|
7115
|
+
*
|
|
7116
|
+
*
|
|
7117
|
+
*
|
|
7118
|
+
*
|
|
7119
|
+
*
|
|
7120
|
+
* {
|
|
7121
|
+
* "target": {
|
|
7122
|
+
* "type": "inlinedialog",
|
|
7123
|
+
* "options": {
|
|
7124
|
+
* "onHover": true,
|
|
7125
|
+
* "offsetX": "30px",
|
|
7126
|
+
* "offsetY": "20px"
|
|
7127
|
+
* }
|
|
7128
|
+
* }
|
|
7129
|
+
* }
|
|
7130
|
+
*
|
|
7131
|
+
*
|
|
7132
|
+
*
|
|
7133
|
+
*/
|
|
7134
|
+
export interface InlineDialogOptions1 {
|
|
7135
|
+
offsetX?: string;
|
|
7136
|
+
offsetY?: string;
|
|
7137
|
+
width?: string;
|
|
7138
|
+
onTop?: boolean;
|
|
7139
|
+
showDelay?: number;
|
|
7140
|
+
closeOthers?: boolean;
|
|
7141
|
+
persistent?: boolean;
|
|
7142
|
+
onHover?: boolean;
|
|
7143
|
+
isRelativeToMouse?: boolean;
|
|
7144
|
+
[k: string]: unknown;
|
|
7145
|
+
}
|
|
7042
7146
|
/**
|
|
7043
7147
|
*
|
|
7044
7148
|
*
|
|
@@ -7137,70 +7241,6 @@ export interface I18NProperty58 {
|
|
|
7137
7241
|
i18n?: string;
|
|
7138
7242
|
[k: string]: unknown;
|
|
7139
7243
|
}
|
|
7140
|
-
/**
|
|
7141
|
-
*
|
|
7142
|
-
*
|
|
7143
|
-
* Options for a web-item targeting a common <a href="../dialog/">dialog module</a>.
|
|
7144
|
-
*
|
|
7145
|
-
* <h3>Example</h3>
|
|
7146
|
-
*
|
|
7147
|
-
*
|
|
7148
|
-
*
|
|
7149
|
-
*
|
|
7150
|
-
*
|
|
7151
|
-
* {
|
|
7152
|
-
* "target": {
|
|
7153
|
-
* "type": "dialogmodule",
|
|
7154
|
-
* "options": {
|
|
7155
|
-
* "key": "dialog-module-key"
|
|
7156
|
-
* }
|
|
7157
|
-
* }
|
|
7158
|
-
* }
|
|
7159
|
-
*
|
|
7160
|
-
*
|
|
7161
|
-
*
|
|
7162
|
-
*/
|
|
7163
|
-
export interface DialogModuleOptions1 {
|
|
7164
|
-
key: string;
|
|
7165
|
-
[k: string]: unknown;
|
|
7166
|
-
}
|
|
7167
|
-
/**
|
|
7168
|
-
*
|
|
7169
|
-
*
|
|
7170
|
-
* Options for an inline dialog target
|
|
7171
|
-
*
|
|
7172
|
-
* <h3>Example</h3>
|
|
7173
|
-
*
|
|
7174
|
-
*
|
|
7175
|
-
*
|
|
7176
|
-
*
|
|
7177
|
-
*
|
|
7178
|
-
* {
|
|
7179
|
-
* "target": {
|
|
7180
|
-
* "type": "inlinedialog",
|
|
7181
|
-
* "options": {
|
|
7182
|
-
* "onHover": true,
|
|
7183
|
-
* "offsetX": "30px",
|
|
7184
|
-
* "offsetY": "20px"
|
|
7185
|
-
* }
|
|
7186
|
-
* }
|
|
7187
|
-
* }
|
|
7188
|
-
*
|
|
7189
|
-
*
|
|
7190
|
-
*
|
|
7191
|
-
*/
|
|
7192
|
-
export interface InlineDialogOptions1 {
|
|
7193
|
-
offsetX?: string;
|
|
7194
|
-
offsetY?: string;
|
|
7195
|
-
width?: string;
|
|
7196
|
-
onTop?: boolean;
|
|
7197
|
-
showDelay?: number;
|
|
7198
|
-
closeOthers?: boolean;
|
|
7199
|
-
persistent?: boolean;
|
|
7200
|
-
onHover?: boolean;
|
|
7201
|
-
isRelativeToMouse?: boolean;
|
|
7202
|
-
[k: string]: unknown;
|
|
7203
|
-
}
|
|
7204
7244
|
/**
|
|
7205
7245
|
*
|
|
7206
7246
|
*
|
|
@@ -7293,7 +7333,7 @@ export interface SingleCondition4 {
|
|
|
7293
7333
|
*
|
|
7294
7334
|
*/
|
|
7295
7335
|
export interface CompositeCondition6 {
|
|
7296
|
-
conditions?: (
|
|
7336
|
+
conditions?: (SingleCondition | ManifestSchema)[];
|
|
7297
7337
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7298
7338
|
[k: string]: unknown;
|
|
7299
7339
|
}
|
|
@@ -7719,7 +7759,7 @@ export interface SingleCondition5 {
|
|
|
7719
7759
|
*
|
|
7720
7760
|
*/
|
|
7721
7761
|
export interface CompositeCondition7 {
|
|
7722
|
-
conditions?: (
|
|
7762
|
+
conditions?: (SingleCondition | ManifestSchema)[];
|
|
7723
7763
|
type?: 'and' | 'AND' | 'or' | 'OR';
|
|
7724
7764
|
[k: string]: unknown;
|
|
7725
7765
|
}
|
|
@@ -9142,11 +9182,39 @@ export interface I18NProperty74 {
|
|
|
9142
9182
|
*
|
|
9143
9183
|
*/
|
|
9144
9184
|
export interface MacroPropertyPanel {
|
|
9145
|
-
controls?: (
|
|
9185
|
+
controls?: (TextControl | ToggleGroup | ControlGroup | ButtonControl1)[];
|
|
9146
9186
|
cacheable?: boolean;
|
|
9147
9187
|
url: string;
|
|
9148
9188
|
[k: string]: unknown;
|
|
9149
9189
|
}
|
|
9190
|
+
/**
|
|
9191
|
+
*
|
|
9192
|
+
*
|
|
9193
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
9194
|
+
*
|
|
9195
|
+
* <p><b>Example</b></p>
|
|
9196
|
+
*
|
|
9197
|
+
*
|
|
9198
|
+
*
|
|
9199
|
+
*
|
|
9200
|
+
*
|
|
9201
|
+
* {
|
|
9202
|
+
* "type": "button",
|
|
9203
|
+
* "label": {
|
|
9204
|
+
* "value": "My Custom Control 0"
|
|
9205
|
+
* },
|
|
9206
|
+
* "key": "my-custom-control-0"
|
|
9207
|
+
* }
|
|
9208
|
+
*
|
|
9209
|
+
*
|
|
9210
|
+
*
|
|
9211
|
+
*/
|
|
9212
|
+
export interface TextControl {
|
|
9213
|
+
macroParameter: string;
|
|
9214
|
+
type: 'text' | 'TEXT';
|
|
9215
|
+
key: string;
|
|
9216
|
+
[k: string]: unknown;
|
|
9217
|
+
}
|
|
9150
9218
|
/**
|
|
9151
9219
|
*
|
|
9152
9220
|
*
|
|
@@ -9339,34 +9407,6 @@ export interface I18NProperty76 {
|
|
|
9339
9407
|
i18n?: string;
|
|
9340
9408
|
[k: string]: unknown;
|
|
9341
9409
|
}
|
|
9342
|
-
/**
|
|
9343
|
-
*
|
|
9344
|
-
*
|
|
9345
|
-
* Defines a text field which may appear in control extension points such as the property panel
|
|
9346
|
-
*
|
|
9347
|
-
* <p><b>Example</b></p>
|
|
9348
|
-
*
|
|
9349
|
-
*
|
|
9350
|
-
*
|
|
9351
|
-
*
|
|
9352
|
-
*
|
|
9353
|
-
* {
|
|
9354
|
-
* "type": "button",
|
|
9355
|
-
* "label": {
|
|
9356
|
-
* "value": "My Custom Control 0"
|
|
9357
|
-
* },
|
|
9358
|
-
* "key": "my-custom-control-0"
|
|
9359
|
-
* }
|
|
9360
|
-
*
|
|
9361
|
-
*
|
|
9362
|
-
*
|
|
9363
|
-
*/
|
|
9364
|
-
export interface TextControl {
|
|
9365
|
-
macroParameter: string;
|
|
9366
|
-
type: 'text' | 'TEXT';
|
|
9367
|
-
key: string;
|
|
9368
|
-
[k: string]: unknown;
|
|
9369
|
-
}
|
|
9370
9410
|
/**
|
|
9371
9411
|
*
|
|
9372
9412
|
*
|
|
@@ -30387,7 +30427,7 @@ export interface I18NProperty83 {
|
|
|
30387
30427
|
*
|
|
30388
30428
|
*/
|
|
30389
30429
|
export interface MacroPropertyPanel1 {
|
|
30390
|
-
controls?: (
|
|
30430
|
+
controls?: (ToggleGroup1 | TextControl1 | ButtonControl2 | ControlGroup1)[];
|
|
30391
30431
|
cacheable?: boolean;
|
|
30392
30432
|
url: string;
|
|
30393
30433
|
[k: string]: unknown;
|
|
@@ -30395,7 +30435,52 @@ export interface MacroPropertyPanel1 {
|
|
|
30395
30435
|
/**
|
|
30396
30436
|
*
|
|
30397
30437
|
*
|
|
30398
|
-
* Defines a
|
|
30438
|
+
* Defines a ToggleGroup which may appear in control extension points such as the property panel
|
|
30439
|
+
*
|
|
30440
|
+
* <p><b>Example</b></p>
|
|
30441
|
+
*
|
|
30442
|
+
*
|
|
30443
|
+
*
|
|
30444
|
+
*
|
|
30445
|
+
*
|
|
30446
|
+
* [
|
|
30447
|
+
* {
|
|
30448
|
+
* "type": "togglegroup",
|
|
30449
|
+
* "macroParameter": "toggleGroupMacroParameter",
|
|
30450
|
+
* "controls": [
|
|
30451
|
+
* {
|
|
30452
|
+
* "type": "togglebutton",
|
|
30453
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
30454
|
+
* "label": {
|
|
30455
|
+
* "value": "My Custom Control 0"
|
|
30456
|
+
* },
|
|
30457
|
+
* "key": "my-custom-toggle-button-0"
|
|
30458
|
+
* },
|
|
30459
|
+
* {
|
|
30460
|
+
* "type": "togglebutton",
|
|
30461
|
+
* "macroParameterValue": "macroParameterValue 1",
|
|
30462
|
+
* "label": {
|
|
30463
|
+
* "value": "My Custom Control 1"
|
|
30464
|
+
* },
|
|
30465
|
+
* "key": "my-custom-toggle-button-1"
|
|
30466
|
+
* }
|
|
30467
|
+
* ]
|
|
30468
|
+
* }
|
|
30469
|
+
* ]
|
|
30470
|
+
*
|
|
30471
|
+
*
|
|
30472
|
+
*
|
|
30473
|
+
*/
|
|
30474
|
+
export interface ToggleGroup1 {
|
|
30475
|
+
controls: ToggleButtonControl1[];
|
|
30476
|
+
macroParameter: string;
|
|
30477
|
+
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
30478
|
+
[k: string]: unknown;
|
|
30479
|
+
}
|
|
30480
|
+
/**
|
|
30481
|
+
*
|
|
30482
|
+
*
|
|
30483
|
+
* Defines a toggle button which appears inside a ToggleGroup
|
|
30399
30484
|
*
|
|
30400
30485
|
* <p><b>Example</b></p>
|
|
30401
30486
|
*
|
|
@@ -30404,19 +30489,21 @@ export interface MacroPropertyPanel1 {
|
|
|
30404
30489
|
*
|
|
30405
30490
|
*
|
|
30406
30491
|
* {
|
|
30407
|
-
* "type": "
|
|
30492
|
+
* "type": "togglebutton",
|
|
30493
|
+
* "macroParameterValue": "macroParameterValue 0",
|
|
30408
30494
|
* "label": {
|
|
30409
30495
|
* "value": "My Custom Control 0"
|
|
30410
30496
|
* },
|
|
30411
|
-
* "key": "my-custom-
|
|
30497
|
+
* "key": "my-custom-toggle-button-0"
|
|
30412
30498
|
* }
|
|
30413
30499
|
*
|
|
30414
30500
|
*
|
|
30415
30501
|
*
|
|
30416
30502
|
*/
|
|
30417
|
-
export interface
|
|
30503
|
+
export interface ToggleButtonControl1 {
|
|
30504
|
+
macroParameterValue: string;
|
|
30418
30505
|
label: I18NProperty84;
|
|
30419
|
-
type: '
|
|
30506
|
+
type: 'togglebutton' | 'TOGGLEBUTTON';
|
|
30420
30507
|
key: string;
|
|
30421
30508
|
[k: string]: unknown;
|
|
30422
30509
|
}
|
|
@@ -30447,7 +30534,7 @@ export interface I18NProperty84 {
|
|
|
30447
30534
|
/**
|
|
30448
30535
|
*
|
|
30449
30536
|
*
|
|
30450
|
-
* Defines a
|
|
30537
|
+
* Defines a text field which may appear in control extension points such as the property panel
|
|
30451
30538
|
*
|
|
30452
30539
|
* <p><b>Example</b></p>
|
|
30453
30540
|
*
|
|
@@ -30455,34 +30542,21 @@ export interface I18NProperty84 {
|
|
|
30455
30542
|
*
|
|
30456
30543
|
*
|
|
30457
30544
|
*
|
|
30458
|
-
*
|
|
30459
|
-
*
|
|
30460
|
-
*
|
|
30461
|
-
* "
|
|
30462
|
-
*
|
|
30463
|
-
*
|
|
30464
|
-
*
|
|
30465
|
-
* "value": "My Custom Control 0"
|
|
30466
|
-
* },
|
|
30467
|
-
* "key": "my-custom-control-0"
|
|
30468
|
-
* },
|
|
30469
|
-
* {
|
|
30470
|
-
* "type": "button",
|
|
30471
|
-
* "label": {
|
|
30472
|
-
* "value": "My Custom Control 1"
|
|
30473
|
-
* },
|
|
30474
|
-
* "key": "my-custom-control-1"
|
|
30475
|
-
* }
|
|
30476
|
-
* ]
|
|
30477
|
-
* }
|
|
30478
|
-
* ]
|
|
30545
|
+
* {
|
|
30546
|
+
* "type": "button",
|
|
30547
|
+
* "label": {
|
|
30548
|
+
* "value": "My Custom Control 0"
|
|
30549
|
+
* },
|
|
30550
|
+
* "key": "my-custom-control-0"
|
|
30551
|
+
* }
|
|
30479
30552
|
*
|
|
30480
30553
|
*
|
|
30481
30554
|
*
|
|
30482
30555
|
*/
|
|
30483
|
-
export interface
|
|
30484
|
-
|
|
30485
|
-
type: '
|
|
30556
|
+
export interface TextControl1 {
|
|
30557
|
+
macroParameter: string;
|
|
30558
|
+
type: 'text' | 'TEXT';
|
|
30559
|
+
key: string;
|
|
30486
30560
|
[k: string]: unknown;
|
|
30487
30561
|
}
|
|
30488
30562
|
/**
|
|
@@ -30507,7 +30581,7 @@ export interface ControlGroup1 {
|
|
|
30507
30581
|
*
|
|
30508
30582
|
*
|
|
30509
30583
|
*/
|
|
30510
|
-
export interface
|
|
30584
|
+
export interface ButtonControl2 {
|
|
30511
30585
|
label: I18NProperty85;
|
|
30512
30586
|
type: 'button' | 'BUTTON';
|
|
30513
30587
|
key: string;
|
|
@@ -30540,7 +30614,7 @@ export interface I18NProperty85 {
|
|
|
30540
30614
|
/**
|
|
30541
30615
|
*
|
|
30542
30616
|
*
|
|
30543
|
-
* Defines a
|
|
30617
|
+
* Defines a ControlGroup which may appear in control extension points such as the property panel
|
|
30544
30618
|
*
|
|
30545
30619
|
* <p><b>Example</b></p>
|
|
30546
30620
|
*
|
|
@@ -30550,24 +30624,21 @@ export interface I18NProperty85 {
|
|
|
30550
30624
|
*
|
|
30551
30625
|
* [
|
|
30552
30626
|
* {
|
|
30553
|
-
* "type": "
|
|
30554
|
-
* "macroParameter": "toggleGroupMacroParameter",
|
|
30627
|
+
* "type": "group",
|
|
30555
30628
|
* "controls": [
|
|
30556
30629
|
* {
|
|
30557
|
-
* "type": "
|
|
30558
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
30630
|
+
* "type": "button",
|
|
30559
30631
|
* "label": {
|
|
30560
30632
|
* "value": "My Custom Control 0"
|
|
30561
30633
|
* },
|
|
30562
|
-
* "key": "my-custom-
|
|
30634
|
+
* "key": "my-custom-control-0"
|
|
30563
30635
|
* },
|
|
30564
30636
|
* {
|
|
30565
|
-
* "type": "
|
|
30566
|
-
* "macroParameterValue": "macroParameterValue 1",
|
|
30637
|
+
* "type": "button",
|
|
30567
30638
|
* "label": {
|
|
30568
30639
|
* "value": "My Custom Control 1"
|
|
30569
30640
|
* },
|
|
30570
|
-
* "key": "my-custom-
|
|
30641
|
+
* "key": "my-custom-control-1"
|
|
30571
30642
|
* }
|
|
30572
30643
|
* ]
|
|
30573
30644
|
* }
|
|
@@ -30576,16 +30647,15 @@ export interface I18NProperty85 {
|
|
|
30576
30647
|
*
|
|
30577
30648
|
*
|
|
30578
30649
|
*/
|
|
30579
|
-
export interface
|
|
30580
|
-
controls:
|
|
30581
|
-
|
|
30582
|
-
type: 'togglegroup' | 'TOGGLEGROUP';
|
|
30650
|
+
export interface ControlGroup1 {
|
|
30651
|
+
controls: ButtonControl3[];
|
|
30652
|
+
type: 'group' | 'GROUP';
|
|
30583
30653
|
[k: string]: unknown;
|
|
30584
30654
|
}
|
|
30585
30655
|
/**
|
|
30586
30656
|
*
|
|
30587
30657
|
*
|
|
30588
|
-
* Defines a
|
|
30658
|
+
* Defines a button which may appear in control extension points such as the property panel
|
|
30589
30659
|
*
|
|
30590
30660
|
* <p><b>Example</b></p>
|
|
30591
30661
|
*
|
|
@@ -30594,21 +30664,19 @@ export interface ToggleGroup1 {
|
|
|
30594
30664
|
*
|
|
30595
30665
|
*
|
|
30596
30666
|
* {
|
|
30597
|
-
* "type": "
|
|
30598
|
-
* "macroParameterValue": "macroParameterValue 0",
|
|
30667
|
+
* "type": "button",
|
|
30599
30668
|
* "label": {
|
|
30600
30669
|
* "value": "My Custom Control 0"
|
|
30601
30670
|
* },
|
|
30602
|
-
* "key": "my-custom-
|
|
30671
|
+
* "key": "my-custom-control-0"
|
|
30603
30672
|
* }
|
|
30604
30673
|
*
|
|
30605
30674
|
*
|
|
30606
30675
|
*
|
|
30607
30676
|
*/
|
|
30608
|
-
export interface
|
|
30609
|
-
macroParameterValue: string;
|
|
30677
|
+
export interface ButtonControl3 {
|
|
30610
30678
|
label: I18NProperty86;
|
|
30611
|
-
type: '
|
|
30679
|
+
type: 'button' | 'BUTTON';
|
|
30612
30680
|
key: string;
|
|
30613
30681
|
[k: string]: unknown;
|
|
30614
30682
|
}
|
|
@@ -30636,34 +30704,6 @@ export interface I18NProperty86 {
|
|
|
30636
30704
|
i18n?: string;
|
|
30637
30705
|
[k: string]: unknown;
|
|
30638
30706
|
}
|
|
30639
|
-
/**
|
|
30640
|
-
*
|
|
30641
|
-
*
|
|
30642
|
-
* Defines a text field which may appear in control extension points such as the property panel
|
|
30643
|
-
*
|
|
30644
|
-
* <p><b>Example</b></p>
|
|
30645
|
-
*
|
|
30646
|
-
*
|
|
30647
|
-
*
|
|
30648
|
-
*
|
|
30649
|
-
*
|
|
30650
|
-
* {
|
|
30651
|
-
* "type": "button",
|
|
30652
|
-
* "label": {
|
|
30653
|
-
* "value": "My Custom Control 0"
|
|
30654
|
-
* },
|
|
30655
|
-
* "key": "my-custom-control-0"
|
|
30656
|
-
* }
|
|
30657
|
-
*
|
|
30658
|
-
*
|
|
30659
|
-
*
|
|
30660
|
-
*/
|
|
30661
|
-
export interface TextControl1 {
|
|
30662
|
-
macroParameter: string;
|
|
30663
|
-
type: 'text' | 'TEXT';
|
|
30664
|
-
key: string;
|
|
30665
|
-
[k: string]: unknown;
|
|
30666
|
-
}
|
|
30667
30707
|
/**
|
|
30668
30708
|
*
|
|
30669
30709
|
*
|
|
@@ -28,6 +28,7 @@ export declare enum AllModuleTypes {
|
|
|
28
28
|
CompassAdminPage = "compass:adminPage",
|
|
29
29
|
CompassComponentPage = "compass:componentPage",
|
|
30
30
|
CompassGlobalPage = "compass:globalPage",
|
|
31
|
+
CompassTeamPage = "compass:teamPage",
|
|
31
32
|
JiraServiceManagementQueuePage = "jiraServiceManagement:queuePage",
|
|
32
33
|
JiraServiceManagementPortalRequestDetail = "jiraServiceManagement:portalRequestDetail",
|
|
33
34
|
JiraServiceManagementPortalRequestDetailPanel = "jiraServiceManagement:portalRequestDetailPanel",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,qBAAqB,2BAA2B;IAChD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,iBAAiB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,QAAQ,cAAc;IACtB,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,qBAAqB,2BAA2B;IAChD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;IACpC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,iBAAiB,uBAAuB;IACxC,eAAe,qBAAqB;IAEpC,8BAA8B,oCAAoC;IAClE,wCAAwC,8CAA8C;IACtF,6CAA6C,mDAAmD;IAChG,sCAAsC,4CAA4C;IAClF,iCAAiC,uCAAuC;IACxE,oCAAoC,0CAA0C;IAC9E,iCAAiC,uCAAuC;IACxE,uCAAuC,6CAA6C;IAEpF,qBAAqB,4BAA4B;IACjD,gCAAgC,uCAAuC;IACvE,uBAAuB,8BAA8B;IACrD,6BAA6B,oCAAoC;IACjE,gCAAgC,uCAAuC;IACvE,0BAA0B,iCAAiC;IAC3D,2BAA2B,kCAAkC;IAC7D,oCAAoC,2CAA2C;IAC/E,+BAA+B,sCAAsC;IACrE,iCAAiC,wCAAwC;IACzE,oCAAoC,2CAA2C;IAC/E,4BAA4B,mCAAmC;IAC/D,mBAAmB,0BAA0B;IAC7C,oBAAoB,2BAA2B;IAC/C,2BAA2B,kCAAkC;IAC7D,2BAA2B,kCAAkC;IAC7D,8BAA8B,qCAAqC;IACnE,4CAA4C,mDAAmD;IAC/F,iCAAiC,wCAAwC;IACzE,mCAAmC,0CAA0C;IAC7E,8BAA8B,qCAAqC;IACnE,wBAAwB,+BAA+B;IACvD,qCAAqC,4CAA4C;IACjF,6BAA6B,oCAAoC;IACjE,kCAAkC,yCAAyC;IAC3E,gCAAgC,uCAAuC;IACvE,+BAA+B,sCAAsC;IACrE,oCAAoC,2CAA2C;IAC/E,yBAAyB,gCAAgC;IACzD,0BAA0B,iCAAiC;IAC3D,4BAA4B,mCAAmC;IAC/D,yBAAyB,gCAAgC;IACzD,wBAAwB,+BAA+B;IACvD,kBAAkB,yBAAyB;IAC3C,gCAAgC,uCAAuC;IACvE,qCAAqC,4CAA4C;IACjF,8BAA8B,qCAAqC;IACnE,+BAA+B,sCAAsC;IACrE,sCAAsC,6CAA6C;IACnF,4BAA4B,mCAAmC;IAC/D,6BAA6B,oCAAoC;IACjE,yBAAyB,gCAAgC;IACzD,2BAA2B,kCAAkC;IAC7D,iCAAiC,wCAAwC;IACzE,sBAAsB,6BAA6B;IACnD,iCAAiC,wCAAwC;IACzE,oCAAoC,2CAA2C;IAC/E,iCAAiC,wCAAwC;IACzE,0BAA0B,iCAAiC;IAC3D,oBAAoB,2BAA2B;IAC/C,sBAAsB,6BAA6B;IACnD,mBAAmB,0BAA0B;IAC7C,0BAA0B,iCAAiC;CAC5D;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
|
|
@@ -32,6 +32,7 @@ var AllModuleTypes;
|
|
|
32
32
|
AllModuleTypes["CompassAdminPage"] = "compass:adminPage";
|
|
33
33
|
AllModuleTypes["CompassComponentPage"] = "compass:componentPage";
|
|
34
34
|
AllModuleTypes["CompassGlobalPage"] = "compass:globalPage";
|
|
35
|
+
AllModuleTypes["CompassTeamPage"] = "compass:teamPage";
|
|
35
36
|
AllModuleTypes["JiraServiceManagementQueuePage"] = "jiraServiceManagement:queuePage";
|
|
36
37
|
AllModuleTypes["JiraServiceManagementPortalRequestDetail"] = "jiraServiceManagement:portalRequestDetail";
|
|
37
38
|
AllModuleTypes["JiraServiceManagementPortalRequestDetailPanel"] = "jiraServiceManagement:portalRequestDetailPanel";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/manifest",
|
|
3
|
-
"version": "3.3.0
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Definitions and validations of the Forge manifest",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Atlassian",
|
|
24
24
|
"license": "UNLICENSED",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@forge/util": "1.2.0
|
|
26
|
+
"@forge/util": "1.2.0",
|
|
27
27
|
"ajv": "^6.12.5",
|
|
28
28
|
"cheerio": "^0.22.0",
|
|
29
29
|
"js-yaml": "^3.13.1",
|