@forge/manifest 4.5.0-next.2 → 4.5.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 +18 -0
- package/out/schema/manifest-schema.json +197 -0
- package/out/schema/manifest.d.ts +98 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- be216ec: Added new jira:issueContext module
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 34d81d4: Update manifest definitions
|
|
12
|
+
- 72f098e: Update manifest definitions
|
|
13
|
+
- 8e2a5a6: Update node-fetch version
|
|
14
|
+
|
|
15
|
+
## 4.5.0-next.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 72f098e: Update manifest definitions
|
|
20
|
+
|
|
3
21
|
## 4.5.0-next.2
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -5238,6 +5238,203 @@
|
|
|
5238
5238
|
},
|
|
5239
5239
|
"minItems": 1
|
|
5240
5240
|
},
|
|
5241
|
+
"jira:issueContext": {
|
|
5242
|
+
"type": "array",
|
|
5243
|
+
"items": {
|
|
5244
|
+
"oneOf": [
|
|
5245
|
+
{
|
|
5246
|
+
"type": "object",
|
|
5247
|
+
"properties": {
|
|
5248
|
+
"function": {
|
|
5249
|
+
"type": "string",
|
|
5250
|
+
"minLength": 1,
|
|
5251
|
+
"maxLength": 255,
|
|
5252
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
5253
|
+
},
|
|
5254
|
+
"title": {
|
|
5255
|
+
"minLength": 1,
|
|
5256
|
+
"maxLength": 255,
|
|
5257
|
+
"type": "string"
|
|
5258
|
+
},
|
|
5259
|
+
"label": {
|
|
5260
|
+
"minLength": 1,
|
|
5261
|
+
"maxLength": 255,
|
|
5262
|
+
"type": "string"
|
|
5263
|
+
},
|
|
5264
|
+
"status": {
|
|
5265
|
+
"type": "object",
|
|
5266
|
+
"properties": {
|
|
5267
|
+
"type": {
|
|
5268
|
+
"enum": [
|
|
5269
|
+
"badge",
|
|
5270
|
+
"icon",
|
|
5271
|
+
"lozenge"
|
|
5272
|
+
],
|
|
5273
|
+
"type": "string"
|
|
5274
|
+
},
|
|
5275
|
+
"value": {
|
|
5276
|
+
"type": "object",
|
|
5277
|
+
"properties": {
|
|
5278
|
+
"label": {
|
|
5279
|
+
"minLength": 1,
|
|
5280
|
+
"maxLength": 255,
|
|
5281
|
+
"type": "string"
|
|
5282
|
+
},
|
|
5283
|
+
"url": {
|
|
5284
|
+
"type": "string"
|
|
5285
|
+
},
|
|
5286
|
+
"type": {
|
|
5287
|
+
"enum": [
|
|
5288
|
+
"default",
|
|
5289
|
+
"inprogress",
|
|
5290
|
+
"moved",
|
|
5291
|
+
"new",
|
|
5292
|
+
"removed",
|
|
5293
|
+
"success"
|
|
5294
|
+
],
|
|
5295
|
+
"type": "string"
|
|
5296
|
+
}
|
|
5297
|
+
},
|
|
5298
|
+
"required": [
|
|
5299
|
+
"label"
|
|
5300
|
+
]
|
|
5301
|
+
}
|
|
5302
|
+
},
|
|
5303
|
+
"required": [
|
|
5304
|
+
"type",
|
|
5305
|
+
"value"
|
|
5306
|
+
]
|
|
5307
|
+
},
|
|
5308
|
+
"icon": {
|
|
5309
|
+
"type": "string",
|
|
5310
|
+
"minLength": 1,
|
|
5311
|
+
"maxLength": 255
|
|
5312
|
+
},
|
|
5313
|
+
"displayConditions": {
|
|
5314
|
+
"type": "object",
|
|
5315
|
+
"properties": {}
|
|
5316
|
+
},
|
|
5317
|
+
"key": {
|
|
5318
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
5319
|
+
}
|
|
5320
|
+
},
|
|
5321
|
+
"required": [
|
|
5322
|
+
"function",
|
|
5323
|
+
"label",
|
|
5324
|
+
"title",
|
|
5325
|
+
"key"
|
|
5326
|
+
]
|
|
5327
|
+
},
|
|
5328
|
+
{
|
|
5329
|
+
"type": "object",
|
|
5330
|
+
"properties": {
|
|
5331
|
+
"resource": {
|
|
5332
|
+
"type": "string",
|
|
5333
|
+
"minLength": 1,
|
|
5334
|
+
"maxLength": 23,
|
|
5335
|
+
"pattern": "^[a-zA-Z0-9_\\-]+$"
|
|
5336
|
+
},
|
|
5337
|
+
"resolver": {
|
|
5338
|
+
"additionalProperties": false,
|
|
5339
|
+
"type": "object",
|
|
5340
|
+
"properties": {
|
|
5341
|
+
"function": {
|
|
5342
|
+
"type": "string",
|
|
5343
|
+
"minLength": 1,
|
|
5344
|
+
"maxLength": 255,
|
|
5345
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
5346
|
+
}
|
|
5347
|
+
},
|
|
5348
|
+
"required": [
|
|
5349
|
+
"function"
|
|
5350
|
+
]
|
|
5351
|
+
},
|
|
5352
|
+
"render": {
|
|
5353
|
+
"default": "default",
|
|
5354
|
+
"enum": [
|
|
5355
|
+
"default",
|
|
5356
|
+
"native"
|
|
5357
|
+
],
|
|
5358
|
+
"type": "string"
|
|
5359
|
+
},
|
|
5360
|
+
"title": {
|
|
5361
|
+
"minLength": 1,
|
|
5362
|
+
"maxLength": 255,
|
|
5363
|
+
"type": "string"
|
|
5364
|
+
},
|
|
5365
|
+
"label": {
|
|
5366
|
+
"minLength": 1,
|
|
5367
|
+
"maxLength": 255,
|
|
5368
|
+
"type": "string"
|
|
5369
|
+
},
|
|
5370
|
+
"status": {
|
|
5371
|
+
"type": "object",
|
|
5372
|
+
"properties": {
|
|
5373
|
+
"type": {
|
|
5374
|
+
"enum": [
|
|
5375
|
+
"badge",
|
|
5376
|
+
"icon",
|
|
5377
|
+
"lozenge"
|
|
5378
|
+
],
|
|
5379
|
+
"type": "string"
|
|
5380
|
+
},
|
|
5381
|
+
"value": {
|
|
5382
|
+
"type": "object",
|
|
5383
|
+
"properties": {
|
|
5384
|
+
"label": {
|
|
5385
|
+
"minLength": 1,
|
|
5386
|
+
"maxLength": 255,
|
|
5387
|
+
"type": "string"
|
|
5388
|
+
},
|
|
5389
|
+
"url": {
|
|
5390
|
+
"type": "string"
|
|
5391
|
+
},
|
|
5392
|
+
"type": {
|
|
5393
|
+
"enum": [
|
|
5394
|
+
"default",
|
|
5395
|
+
"inprogress",
|
|
5396
|
+
"moved",
|
|
5397
|
+
"new",
|
|
5398
|
+
"removed",
|
|
5399
|
+
"success"
|
|
5400
|
+
],
|
|
5401
|
+
"type": "string"
|
|
5402
|
+
}
|
|
5403
|
+
},
|
|
5404
|
+
"required": [
|
|
5405
|
+
"label"
|
|
5406
|
+
]
|
|
5407
|
+
}
|
|
5408
|
+
},
|
|
5409
|
+
"required": [
|
|
5410
|
+
"type",
|
|
5411
|
+
"value"
|
|
5412
|
+
]
|
|
5413
|
+
},
|
|
5414
|
+
"icon": {
|
|
5415
|
+
"type": "string",
|
|
5416
|
+
"minLength": 1,
|
|
5417
|
+
"maxLength": 255
|
|
5418
|
+
},
|
|
5419
|
+
"displayConditions": {
|
|
5420
|
+
"type": "object",
|
|
5421
|
+
"properties": {}
|
|
5422
|
+
},
|
|
5423
|
+
"key": {
|
|
5424
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
5425
|
+
}
|
|
5426
|
+
},
|
|
5427
|
+
"required": [
|
|
5428
|
+
"label",
|
|
5429
|
+
"resource",
|
|
5430
|
+
"title",
|
|
5431
|
+
"key"
|
|
5432
|
+
]
|
|
5433
|
+
}
|
|
5434
|
+
]
|
|
5435
|
+
},
|
|
5436
|
+
"minItems": 1
|
|
5437
|
+
},
|
|
5241
5438
|
"jira:issueViewBackgroundScript": {
|
|
5242
5439
|
"type": "array",
|
|
5243
5440
|
"items": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -2854,6 +2854,104 @@ export interface Modules {
|
|
|
2854
2854
|
[k: string]: unknown;
|
|
2855
2855
|
}[]
|
|
2856
2856
|
];
|
|
2857
|
+
'jira:issueContext'?: [
|
|
2858
|
+
(
|
|
2859
|
+
| {
|
|
2860
|
+
function: string;
|
|
2861
|
+
title: string;
|
|
2862
|
+
label: string;
|
|
2863
|
+
status?: {
|
|
2864
|
+
type: 'badge' | 'icon' | 'lozenge';
|
|
2865
|
+
value: {
|
|
2866
|
+
label: string;
|
|
2867
|
+
url?: string;
|
|
2868
|
+
type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
2869
|
+
[k: string]: unknown;
|
|
2870
|
+
};
|
|
2871
|
+
[k: string]: unknown;
|
|
2872
|
+
};
|
|
2873
|
+
icon?: string;
|
|
2874
|
+
displayConditions?: {
|
|
2875
|
+
[k: string]: unknown;
|
|
2876
|
+
};
|
|
2877
|
+
key: ModuleKeySchema;
|
|
2878
|
+
[k: string]: unknown;
|
|
2879
|
+
}
|
|
2880
|
+
| {
|
|
2881
|
+
resource: string;
|
|
2882
|
+
resolver?: {
|
|
2883
|
+
function: string;
|
|
2884
|
+
};
|
|
2885
|
+
render?: 'default' | 'native';
|
|
2886
|
+
title: string;
|
|
2887
|
+
label: string;
|
|
2888
|
+
status?: {
|
|
2889
|
+
type: 'badge' | 'icon' | 'lozenge';
|
|
2890
|
+
value: {
|
|
2891
|
+
label: string;
|
|
2892
|
+
url?: string;
|
|
2893
|
+
type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
2894
|
+
[k: string]: unknown;
|
|
2895
|
+
};
|
|
2896
|
+
[k: string]: unknown;
|
|
2897
|
+
};
|
|
2898
|
+
icon?: string;
|
|
2899
|
+
displayConditions?: {
|
|
2900
|
+
[k: string]: unknown;
|
|
2901
|
+
};
|
|
2902
|
+
key: ModuleKeySchema;
|
|
2903
|
+
[k: string]: unknown;
|
|
2904
|
+
}
|
|
2905
|
+
),
|
|
2906
|
+
...(
|
|
2907
|
+
| {
|
|
2908
|
+
function: string;
|
|
2909
|
+
title: string;
|
|
2910
|
+
label: string;
|
|
2911
|
+
status?: {
|
|
2912
|
+
type: 'badge' | 'icon' | 'lozenge';
|
|
2913
|
+
value: {
|
|
2914
|
+
label: string;
|
|
2915
|
+
url?: string;
|
|
2916
|
+
type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
2917
|
+
[k: string]: unknown;
|
|
2918
|
+
};
|
|
2919
|
+
[k: string]: unknown;
|
|
2920
|
+
};
|
|
2921
|
+
icon?: string;
|
|
2922
|
+
displayConditions?: {
|
|
2923
|
+
[k: string]: unknown;
|
|
2924
|
+
};
|
|
2925
|
+
key: ModuleKeySchema;
|
|
2926
|
+
[k: string]: unknown;
|
|
2927
|
+
}
|
|
2928
|
+
| {
|
|
2929
|
+
resource: string;
|
|
2930
|
+
resolver?: {
|
|
2931
|
+
function: string;
|
|
2932
|
+
};
|
|
2933
|
+
render?: 'default' | 'native';
|
|
2934
|
+
title: string;
|
|
2935
|
+
label: string;
|
|
2936
|
+
status?: {
|
|
2937
|
+
type: 'badge' | 'icon' | 'lozenge';
|
|
2938
|
+
value: {
|
|
2939
|
+
label: string;
|
|
2940
|
+
url?: string;
|
|
2941
|
+
type?: 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
2942
|
+
[k: string]: unknown;
|
|
2943
|
+
};
|
|
2944
|
+
[k: string]: unknown;
|
|
2945
|
+
};
|
|
2946
|
+
icon?: string;
|
|
2947
|
+
displayConditions?: {
|
|
2948
|
+
[k: string]: unknown;
|
|
2949
|
+
};
|
|
2950
|
+
key: ModuleKeySchema;
|
|
2951
|
+
[k: string]: unknown;
|
|
2952
|
+
}
|
|
2953
|
+
)[]
|
|
2954
|
+
];
|
|
2857
2955
|
'jira:issueViewBackgroundScript'?: [
|
|
2858
2956
|
{
|
|
2859
2957
|
shouldReloadOnRefresh?: boolean;
|