@forge/manifest 5.1.0 → 5.1.1-next.1
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 +12 -0
- package/out/schema/manifest-schema.json +306 -44
- package/out/schema/manifest.d.ts +494 -246
- package/out/types/module-types.d.ts +2 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 5.1.1-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 863f0f21: Update manifest definitions
|
|
8
|
+
|
|
9
|
+
## 5.1.1-next.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 9ebe94bd: Added modules jira:jiraIssueContexts and jira:jiraRemoteLinkInfoProvider to connect module validation
|
|
14
|
+
|
|
3
15
|
## 5.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -6920,18 +6920,37 @@
|
|
|
6920
6920
|
"maxLength": 255
|
|
6921
6921
|
},
|
|
6922
6922
|
"resolver": {
|
|
6923
|
-
"
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
"
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6923
|
+
"anyOf": [
|
|
6924
|
+
{
|
|
6925
|
+
"additionalProperties": false,
|
|
6926
|
+
"type": "object",
|
|
6927
|
+
"properties": {
|
|
6928
|
+
"function": {
|
|
6929
|
+
"type": "string",
|
|
6930
|
+
"minLength": 1,
|
|
6931
|
+
"maxLength": 255,
|
|
6932
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
6933
|
+
}
|
|
6934
|
+
},
|
|
6935
|
+
"required": [
|
|
6936
|
+
"function"
|
|
6937
|
+
]
|
|
6938
|
+
},
|
|
6939
|
+
{
|
|
6940
|
+
"additionalProperties": false,
|
|
6941
|
+
"type": "object",
|
|
6942
|
+
"properties": {
|
|
6943
|
+
"endpoint": {
|
|
6944
|
+
"type": "string",
|
|
6945
|
+
"minLength": 1,
|
|
6946
|
+
"maxLength": 255,
|
|
6947
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
6948
|
+
}
|
|
6949
|
+
},
|
|
6950
|
+
"required": [
|
|
6951
|
+
"endpoint"
|
|
6952
|
+
]
|
|
6931
6953
|
}
|
|
6932
|
-
},
|
|
6933
|
-
"required": [
|
|
6934
|
-
"function"
|
|
6935
6954
|
]
|
|
6936
6955
|
},
|
|
6937
6956
|
"resource": {
|
|
@@ -7014,18 +7033,37 @@
|
|
|
7014
7033
|
"maxLength": 255
|
|
7015
7034
|
},
|
|
7016
7035
|
"resolver": {
|
|
7017
|
-
"
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
"
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7036
|
+
"anyOf": [
|
|
7037
|
+
{
|
|
7038
|
+
"additionalProperties": false,
|
|
7039
|
+
"type": "object",
|
|
7040
|
+
"properties": {
|
|
7041
|
+
"function": {
|
|
7042
|
+
"type": "string",
|
|
7043
|
+
"minLength": 1,
|
|
7044
|
+
"maxLength": 255,
|
|
7045
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
7046
|
+
}
|
|
7047
|
+
},
|
|
7048
|
+
"required": [
|
|
7049
|
+
"function"
|
|
7050
|
+
]
|
|
7051
|
+
},
|
|
7052
|
+
{
|
|
7053
|
+
"additionalProperties": false,
|
|
7054
|
+
"type": "object",
|
|
7055
|
+
"properties": {
|
|
7056
|
+
"endpoint": {
|
|
7057
|
+
"type": "string",
|
|
7058
|
+
"minLength": 1,
|
|
7059
|
+
"maxLength": 255,
|
|
7060
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
7061
|
+
}
|
|
7062
|
+
},
|
|
7063
|
+
"required": [
|
|
7064
|
+
"endpoint"
|
|
7065
|
+
]
|
|
7025
7066
|
}
|
|
7026
|
-
},
|
|
7027
|
-
"required": [
|
|
7028
|
-
"function"
|
|
7029
7067
|
]
|
|
7030
7068
|
},
|
|
7031
7069
|
"displayConditions": {
|
|
@@ -7108,18 +7146,37 @@
|
|
|
7108
7146
|
"maxLength": 255
|
|
7109
7147
|
},
|
|
7110
7148
|
"resolver": {
|
|
7111
|
-
"
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
"
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7149
|
+
"anyOf": [
|
|
7150
|
+
{
|
|
7151
|
+
"additionalProperties": false,
|
|
7152
|
+
"type": "object",
|
|
7153
|
+
"properties": {
|
|
7154
|
+
"function": {
|
|
7155
|
+
"type": "string",
|
|
7156
|
+
"minLength": 1,
|
|
7157
|
+
"maxLength": 255,
|
|
7158
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
7159
|
+
}
|
|
7160
|
+
},
|
|
7161
|
+
"required": [
|
|
7162
|
+
"function"
|
|
7163
|
+
]
|
|
7164
|
+
},
|
|
7165
|
+
{
|
|
7166
|
+
"additionalProperties": false,
|
|
7167
|
+
"type": "object",
|
|
7168
|
+
"properties": {
|
|
7169
|
+
"endpoint": {
|
|
7170
|
+
"type": "string",
|
|
7171
|
+
"minLength": 1,
|
|
7172
|
+
"maxLength": 255,
|
|
7173
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
7174
|
+
}
|
|
7175
|
+
},
|
|
7176
|
+
"required": [
|
|
7177
|
+
"endpoint"
|
|
7178
|
+
]
|
|
7119
7179
|
}
|
|
7120
|
-
},
|
|
7121
|
-
"required": [
|
|
7122
|
-
"function"
|
|
7123
7180
|
]
|
|
7124
7181
|
},
|
|
7125
7182
|
"resource": {
|
|
@@ -7199,18 +7256,37 @@
|
|
|
7199
7256
|
"maxLength": 255
|
|
7200
7257
|
},
|
|
7201
7258
|
"resolver": {
|
|
7202
|
-
"
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
"
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7259
|
+
"anyOf": [
|
|
7260
|
+
{
|
|
7261
|
+
"additionalProperties": false,
|
|
7262
|
+
"type": "object",
|
|
7263
|
+
"properties": {
|
|
7264
|
+
"function": {
|
|
7265
|
+
"type": "string",
|
|
7266
|
+
"minLength": 1,
|
|
7267
|
+
"maxLength": 255,
|
|
7268
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
7269
|
+
}
|
|
7270
|
+
},
|
|
7271
|
+
"required": [
|
|
7272
|
+
"function"
|
|
7273
|
+
]
|
|
7274
|
+
},
|
|
7275
|
+
{
|
|
7276
|
+
"additionalProperties": false,
|
|
7277
|
+
"type": "object",
|
|
7278
|
+
"properties": {
|
|
7279
|
+
"endpoint": {
|
|
7280
|
+
"type": "string",
|
|
7281
|
+
"minLength": 1,
|
|
7282
|
+
"maxLength": 255,
|
|
7283
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
7284
|
+
}
|
|
7285
|
+
},
|
|
7286
|
+
"required": [
|
|
7287
|
+
"endpoint"
|
|
7288
|
+
]
|
|
7210
7289
|
}
|
|
7211
|
-
},
|
|
7212
|
-
"required": [
|
|
7213
|
-
"function"
|
|
7214
7290
|
]
|
|
7215
7291
|
},
|
|
7216
7292
|
"resource": {
|
|
@@ -11222,6 +11298,84 @@
|
|
|
11222
11298
|
},
|
|
11223
11299
|
"minItems": 1
|
|
11224
11300
|
},
|
|
11301
|
+
"connect-jira:jiraRemoteLinkInfoProvider": {
|
|
11302
|
+
"type": "array",
|
|
11303
|
+
"items": {
|
|
11304
|
+
"properties": {
|
|
11305
|
+
"homeUrl": {
|
|
11306
|
+
"format": "uri",
|
|
11307
|
+
"type": "string",
|
|
11308
|
+
"fieldDescription": "\n\nURL to the provider's homepage\n\n"
|
|
11309
|
+
},
|
|
11310
|
+
"documentationUrl": {
|
|
11311
|
+
"format": "uri",
|
|
11312
|
+
"type": "string",
|
|
11313
|
+
"fieldDescription": "\n\nOptional URL to documentation about the provider's Jira integration\n\n"
|
|
11314
|
+
},
|
|
11315
|
+
"name": {
|
|
11316
|
+
"$ref": "#/definitions/i18nProperty",
|
|
11317
|
+
"fieldDescription": "\n\nA human readable name.\n\n"
|
|
11318
|
+
},
|
|
11319
|
+
"actions": {
|
|
11320
|
+
"items": {
|
|
11321
|
+
"properties": {
|
|
11322
|
+
"actionId": {
|
|
11323
|
+
"type": "string",
|
|
11324
|
+
"fieldDescription": "\n\n<p>A key to identify a specific action. Used for associating a specific Remote link to an action of this ID. The actionId of an action must be unique across all actions.</p>\n\n"
|
|
11325
|
+
},
|
|
11326
|
+
"actionLabel": {
|
|
11327
|
+
"properties": {
|
|
11328
|
+
"value": {
|
|
11329
|
+
"$ref": "#/definitions/i18nProperty",
|
|
11330
|
+
"fieldDescription": "\n\n"
|
|
11331
|
+
}
|
|
11332
|
+
},
|
|
11333
|
+
"required": [
|
|
11334
|
+
"value"
|
|
11335
|
+
],
|
|
11336
|
+
"shortClassName": "remoteLinkProviderActionLabelBean",
|
|
11337
|
+
"type": "object",
|
|
11338
|
+
"description": "\n\n",
|
|
11339
|
+
"fieldDescription": "\n\n<p>The actionLabel of an Action is shown visibly to the User alongside the Remote Link.</p>\n\n"
|
|
11340
|
+
},
|
|
11341
|
+
"templateUrl": {
|
|
11342
|
+
"format": "uri",
|
|
11343
|
+
"type": "string",
|
|
11344
|
+
"fieldDescription": "\n\n<p>The templateUrl of an Action is a template where strings can be substituted into the URL for a specific Remote Link. Strings used in the templateUrl must be passed in via an attribute map when associating an action with a remote link.</p>\n\n"
|
|
11345
|
+
}
|
|
11346
|
+
},
|
|
11347
|
+
"required": [
|
|
11348
|
+
"actionId",
|
|
11349
|
+
"actionLabel",
|
|
11350
|
+
"templateUrl"
|
|
11351
|
+
],
|
|
11352
|
+
"shortClassName": "remoteLinkProviderActionBean",
|
|
11353
|
+
"type": "object",
|
|
11354
|
+
"description": "\n\n<p>Defines the Remote Link action that can be invoked.</p>\n\n"
|
|
11355
|
+
},
|
|
11356
|
+
"type": "array",
|
|
11357
|
+
"fieldDescription": "\n\nOptional actions that can be performed by Jira users on the remote link\n\n"
|
|
11358
|
+
},
|
|
11359
|
+
"logoUrl": {
|
|
11360
|
+
"format": "uri",
|
|
11361
|
+
"type": "string",
|
|
11362
|
+
"fieldDescription": "\n\nOptional URL to the provider's logo, which will be displayed in the UI\n\n"
|
|
11363
|
+
},
|
|
11364
|
+
"key": {
|
|
11365
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
11366
|
+
}
|
|
11367
|
+
},
|
|
11368
|
+
"required": [
|
|
11369
|
+
"key"
|
|
11370
|
+
],
|
|
11371
|
+
"not": {
|
|
11372
|
+
"required": [
|
|
11373
|
+
"unlicensedAccess"
|
|
11374
|
+
]
|
|
11375
|
+
}
|
|
11376
|
+
},
|
|
11377
|
+
"minItems": 1
|
|
11378
|
+
},
|
|
11225
11379
|
"connect-jira:jiraBackgroundScripts": {
|
|
11226
11380
|
"type": "array",
|
|
11227
11381
|
"items": {
|
|
@@ -11408,6 +11562,114 @@
|
|
|
11408
11562
|
},
|
|
11409
11563
|
"minItems": 1
|
|
11410
11564
|
},
|
|
11565
|
+
"connect-jira:jiraIssueContexts": {
|
|
11566
|
+
"type": "array",
|
|
11567
|
+
"items": {
|
|
11568
|
+
"properties": {
|
|
11569
|
+
"icon": {
|
|
11570
|
+
"$ref": "#/definitions/icon",
|
|
11571
|
+
"fieldDescription": "\n\nSpecifies an icon to display at the left of the context view control.\n The icon resource provided in this field should be 24x24 pixels or larger, preferably in SVG format.\n\n"
|
|
11572
|
+
},
|
|
11573
|
+
"name": {
|
|
11574
|
+
"$ref": "#/definitions/i18nProperty",
|
|
11575
|
+
"fieldDescription": "\n\nA human readable name.\n\n"
|
|
11576
|
+
},
|
|
11577
|
+
"conditions": {
|
|
11578
|
+
"items": {
|
|
11579
|
+
"type": "object",
|
|
11580
|
+
"anyOf": [
|
|
11581
|
+
{
|
|
11582
|
+
"$ref": "#/definitions/singleCondition"
|
|
11583
|
+
},
|
|
11584
|
+
{
|
|
11585
|
+
"$ref": "#/definitions/compositeCondition"
|
|
11586
|
+
}
|
|
11587
|
+
]
|
|
11588
|
+
},
|
|
11589
|
+
"type": "array",
|
|
11590
|
+
"fieldDescription": "\n\n<a href=\"../../conditions/\">Conditions</a> can be added to display only when all the given conditions are true.\n\n"
|
|
11591
|
+
},
|
|
11592
|
+
"content": {
|
|
11593
|
+
"type": "object",
|
|
11594
|
+
"fieldDescription": "\n\nThis content becomes the label next to the icon. It's handy for communicating a small amount of information.\n\n Read about [Issue Context Content Label](/cloud/jira/platform/modules/issue-glance-content-label/). // TODO BENTO-11598: change this path when doc is updated\n\n",
|
|
11595
|
+
"anyOf": [
|
|
11596
|
+
{
|
|
11597
|
+
"properties": {
|
|
11598
|
+
"label": {
|
|
11599
|
+
"$ref": "#/definitions/i18nProperty",
|
|
11600
|
+
"fieldDescription": "\n\n"
|
|
11601
|
+
},
|
|
11602
|
+
"type": {
|
|
11603
|
+
"enum": [
|
|
11604
|
+
"label",
|
|
11605
|
+
"LABEL"
|
|
11606
|
+
],
|
|
11607
|
+
"type": "string",
|
|
11608
|
+
"fieldDescription": "\n\nThe type field must be set to 'label' since we currently only support 'label' for context panel content\n\n"
|
|
11609
|
+
}
|
|
11610
|
+
},
|
|
11611
|
+
"required": [
|
|
11612
|
+
"label",
|
|
11613
|
+
"type"
|
|
11614
|
+
],
|
|
11615
|
+
"shortClassName": "issueContextContentLabelBean",
|
|
11616
|
+
"type": "object",
|
|
11617
|
+
"title": "Issue Context Content Label",
|
|
11618
|
+
"description": "\n\nDescribes the content for the issue context module. It specifies static text to show inside the context panel, which is left-aligned next to the icon.\n\n"
|
|
11619
|
+
}
|
|
11620
|
+
]
|
|
11621
|
+
},
|
|
11622
|
+
"target": {
|
|
11623
|
+
"type": "object",
|
|
11624
|
+
"fieldDescription": "\n\nSpecifies the target action when clicking on the context.\n\n Read about [Issue Context Target Web Panel](/cloud/jira/platform/modules/issue-glance-target-web-panel/). // TODO BENTO-11598: change this path when doc is updated\n\n",
|
|
11625
|
+
"anyOf": [
|
|
11626
|
+
{
|
|
11627
|
+
"properties": {
|
|
11628
|
+
"type": {
|
|
11629
|
+
"enum": [
|
|
11630
|
+
"web_panel",
|
|
11631
|
+
"WEB_PANEL"
|
|
11632
|
+
],
|
|
11633
|
+
"type": "string",
|
|
11634
|
+
"fieldDescription": "\n\nThe type field must be set to 'web_panel'\n\n"
|
|
11635
|
+
},
|
|
11636
|
+
"url": {
|
|
11637
|
+
"format": "uri",
|
|
11638
|
+
"type": "string",
|
|
11639
|
+
"fieldDescription": "\n\nThe URL of the app resource that provides the web panel content. This URL must be relative to the app's baseUrl.\n\n"
|
|
11640
|
+
}
|
|
11641
|
+
},
|
|
11642
|
+
"required": [
|
|
11643
|
+
"type",
|
|
11644
|
+
"url"
|
|
11645
|
+
],
|
|
11646
|
+
"shortClassName": "issueContextTargetWebPanelBean",
|
|
11647
|
+
"type": "object",
|
|
11648
|
+
"title": "Issue Context Target Web Panel",
|
|
11649
|
+
"description": "\n\nDescribes the target of the issue context module. This supports displaying a web panel in the context area of the issue.\n\n"
|
|
11650
|
+
}
|
|
11651
|
+
]
|
|
11652
|
+
},
|
|
11653
|
+
"jiraNativeAppsEnabled": {
|
|
11654
|
+
"type": "boolean",
|
|
11655
|
+
"fieldDescription": "\n\nSpecifies whether the issue context will be shown in the Jira mobile and desktop clients.\n\n The issue context will be shown in Jira for iOS/Mac version 109 or later and Jira for Android version 55 or later.\n\n Read about [enabling your addon for the Jira mobile and desktop clients](/cloud/jira/platform/developing-apps-for-jira-cloud-mobile/).\n\n",
|
|
11656
|
+
"defaultValue": "false"
|
|
11657
|
+
},
|
|
11658
|
+
"key": {
|
|
11659
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
11660
|
+
}
|
|
11661
|
+
},
|
|
11662
|
+
"required": [
|
|
11663
|
+
"key"
|
|
11664
|
+
],
|
|
11665
|
+
"not": {
|
|
11666
|
+
"required": [
|
|
11667
|
+
"unlicensedAccess"
|
|
11668
|
+
]
|
|
11669
|
+
}
|
|
11670
|
+
},
|
|
11671
|
+
"minItems": 1
|
|
11672
|
+
},
|
|
11411
11673
|
"connect-jira:jiraDashboardItems": {
|
|
11412
11674
|
"type": "array",
|
|
11413
11675
|
"items": {
|