@forge/manifest 13.8.0-next.4 → 13.8.0-next.6
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/mapping/module-to-scope-mapping.d.ts.map +1 -1
- package/out/mapping/module-to-scope-mapping.js +2 -1
- package/out/schema/manifest-schema.json +252 -0
- package/out/schema/manifest.d.ts +114 -0
- 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/out/validators/modules-validators/bitbucket/validateBackendModuleEndpoints.d.ts.map +1 -1
- package/out/validators/modules-validators/bitbucket/validateBackendModuleEndpoints.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 13.8.0-next.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1d3c386: Update manifest definitions
|
|
8
|
+
|
|
9
|
+
## 13.8.0-next.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ec732cf: Add bitbucket:deploymentCheck module type to AllModuleTypes enum and manifest schema
|
|
14
|
+
|
|
3
15
|
## 13.8.0-next.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-to-scope-mapping.d.ts","sourceRoot":"","sources":["../../src/mapping/module-to-scope-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAK1C,eAAO,MAAM,wBAAwB,EAAE,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"module-to-scope-mapping.d.ts","sourceRoot":"","sources":["../../src/mapping/module-to-scope-mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAK1C,eAAO,MAAM,wBAAwB,EAAE,GAAG,CAAC,cAAc,EAAE,MAAM,EAAE,CAGjE,CAAC"}
|
|
@@ -3,5 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MODULE_TO_SCOPES_MAPPING = void 0;
|
|
4
4
|
const types_1 = require("../types");
|
|
5
5
|
exports.MODULE_TO_SCOPES_MAPPING = new Map([
|
|
6
|
-
[types_1.AllModuleTypes.BitbucketMergeCheck, ['read:pullrequest:bitbucket']]
|
|
6
|
+
[types_1.AllModuleTypes.BitbucketMergeCheck, ['read:pullrequest:bitbucket']],
|
|
7
|
+
[types_1.AllModuleTypes.BitbucketDeploymentCheck, ['read:pipeline:bitbucket']]
|
|
7
8
|
]);
|
|
@@ -2980,6 +2980,59 @@
|
|
|
2980
2980
|
"minLength": 1,
|
|
2981
2981
|
"maxLength": 255
|
|
2982
2982
|
},
|
|
2983
|
+
"migration": {
|
|
2984
|
+
"type": "object",
|
|
2985
|
+
"properties": {
|
|
2986
|
+
"from": {
|
|
2987
|
+
"type": "array",
|
|
2988
|
+
"minItems": 1,
|
|
2989
|
+
"items": {
|
|
2990
|
+
"type": "string",
|
|
2991
|
+
"minLength": 1,
|
|
2992
|
+
"maxLength": 255,
|
|
2993
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
2994
|
+
}
|
|
2995
|
+
},
|
|
2996
|
+
"migrate": {
|
|
2997
|
+
"anyOf": [
|
|
2998
|
+
{
|
|
2999
|
+
"additionalProperties": false,
|
|
3000
|
+
"type": "object",
|
|
3001
|
+
"properties": {
|
|
3002
|
+
"function": {
|
|
3003
|
+
"type": "string",
|
|
3004
|
+
"minLength": 1,
|
|
3005
|
+
"maxLength": 255,
|
|
3006
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
"required": [
|
|
3010
|
+
"function"
|
|
3011
|
+
]
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"additionalProperties": false,
|
|
3015
|
+
"type": "object",
|
|
3016
|
+
"properties": {
|
|
3017
|
+
"endpoint": {
|
|
3018
|
+
"type": "string",
|
|
3019
|
+
"minLength": 1,
|
|
3020
|
+
"maxLength": 255,
|
|
3021
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
"required": [
|
|
3025
|
+
"endpoint"
|
|
3026
|
+
]
|
|
3027
|
+
}
|
|
3028
|
+
]
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
"required": [
|
|
3032
|
+
"from",
|
|
3033
|
+
"migrate"
|
|
3034
|
+
]
|
|
3035
|
+
},
|
|
2983
3036
|
"key": {
|
|
2984
3037
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
2985
3038
|
}
|
|
@@ -3188,6 +3241,59 @@
|
|
|
3188
3241
|
],
|
|
3189
3242
|
"type": "string"
|
|
3190
3243
|
},
|
|
3244
|
+
"migration": {
|
|
3245
|
+
"type": "object",
|
|
3246
|
+
"properties": {
|
|
3247
|
+
"from": {
|
|
3248
|
+
"type": "array",
|
|
3249
|
+
"minItems": 1,
|
|
3250
|
+
"items": {
|
|
3251
|
+
"type": "string",
|
|
3252
|
+
"minLength": 1,
|
|
3253
|
+
"maxLength": 255,
|
|
3254
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3255
|
+
}
|
|
3256
|
+
},
|
|
3257
|
+
"migrate": {
|
|
3258
|
+
"anyOf": [
|
|
3259
|
+
{
|
|
3260
|
+
"additionalProperties": false,
|
|
3261
|
+
"type": "object",
|
|
3262
|
+
"properties": {
|
|
3263
|
+
"function": {
|
|
3264
|
+
"type": "string",
|
|
3265
|
+
"minLength": 1,
|
|
3266
|
+
"maxLength": 255,
|
|
3267
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3268
|
+
}
|
|
3269
|
+
},
|
|
3270
|
+
"required": [
|
|
3271
|
+
"function"
|
|
3272
|
+
]
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"additionalProperties": false,
|
|
3276
|
+
"type": "object",
|
|
3277
|
+
"properties": {
|
|
3278
|
+
"endpoint": {
|
|
3279
|
+
"type": "string",
|
|
3280
|
+
"minLength": 1,
|
|
3281
|
+
"maxLength": 255,
|
|
3282
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
3283
|
+
}
|
|
3284
|
+
},
|
|
3285
|
+
"required": [
|
|
3286
|
+
"endpoint"
|
|
3287
|
+
]
|
|
3288
|
+
}
|
|
3289
|
+
]
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
"required": [
|
|
3293
|
+
"from",
|
|
3294
|
+
"migrate"
|
|
3295
|
+
]
|
|
3296
|
+
},
|
|
3191
3297
|
"key": {
|
|
3192
3298
|
"$ref": "#/definitions/ModuleKeySchema"
|
|
3193
3299
|
}
|
|
@@ -24532,6 +24638,152 @@
|
|
|
24532
24638
|
},
|
|
24533
24639
|
"minItems": 1
|
|
24534
24640
|
},
|
|
24641
|
+
"bitbucket:deploymentCheck": {
|
|
24642
|
+
"type": "array",
|
|
24643
|
+
"items": {
|
|
24644
|
+
"oneOf": [
|
|
24645
|
+
{
|
|
24646
|
+
"type": "object",
|
|
24647
|
+
"properties": {
|
|
24648
|
+
"key": {
|
|
24649
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
24650
|
+
},
|
|
24651
|
+
"name": {
|
|
24652
|
+
"oneOf": [
|
|
24653
|
+
{
|
|
24654
|
+
"type": "object",
|
|
24655
|
+
"additionalProperties": false,
|
|
24656
|
+
"properties": {
|
|
24657
|
+
"i18n": {
|
|
24658
|
+
"type": "string",
|
|
24659
|
+
"minLength": 1,
|
|
24660
|
+
"maxLength": 300,
|
|
24661
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24662
|
+
}
|
|
24663
|
+
},
|
|
24664
|
+
"required": [
|
|
24665
|
+
"i18n"
|
|
24666
|
+
]
|
|
24667
|
+
},
|
|
24668
|
+
{
|
|
24669
|
+
"type": "string",
|
|
24670
|
+
"minLength": 1,
|
|
24671
|
+
"maxLength": 255
|
|
24672
|
+
}
|
|
24673
|
+
]
|
|
24674
|
+
},
|
|
24675
|
+
"name__i18n": {
|
|
24676
|
+
"type": "string",
|
|
24677
|
+
"minLength": 1,
|
|
24678
|
+
"maxLength": 300,
|
|
24679
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24680
|
+
},
|
|
24681
|
+
"description": {
|
|
24682
|
+
"oneOf": [
|
|
24683
|
+
{
|
|
24684
|
+
"type": "object",
|
|
24685
|
+
"additionalProperties": false,
|
|
24686
|
+
"properties": {
|
|
24687
|
+
"i18n": {
|
|
24688
|
+
"type": "string",
|
|
24689
|
+
"minLength": 1,
|
|
24690
|
+
"maxLength": 300,
|
|
24691
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24692
|
+
}
|
|
24693
|
+
},
|
|
24694
|
+
"required": [
|
|
24695
|
+
"i18n"
|
|
24696
|
+
]
|
|
24697
|
+
},
|
|
24698
|
+
{
|
|
24699
|
+
"type": "string",
|
|
24700
|
+
"minLength": 1,
|
|
24701
|
+
"maxLength": 255
|
|
24702
|
+
}
|
|
24703
|
+
]
|
|
24704
|
+
},
|
|
24705
|
+
"description__i18n": {
|
|
24706
|
+
"type": "string",
|
|
24707
|
+
"minLength": 1,
|
|
24708
|
+
"maxLength": 300,
|
|
24709
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24710
|
+
},
|
|
24711
|
+
"triggers": {
|
|
24712
|
+
"type": "array",
|
|
24713
|
+
"minItems": 1,
|
|
24714
|
+
"items": {
|
|
24715
|
+
"type": "string",
|
|
24716
|
+
"enum": [
|
|
24717
|
+
"on-deployment-pending",
|
|
24718
|
+
"on-deployment-triggered"
|
|
24719
|
+
]
|
|
24720
|
+
}
|
|
24721
|
+
},
|
|
24722
|
+
"function": {
|
|
24723
|
+
"type": "string",
|
|
24724
|
+
"minLength": 1,
|
|
24725
|
+
"maxLength": 255,
|
|
24726
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
24727
|
+
}
|
|
24728
|
+
},
|
|
24729
|
+
"required": [
|
|
24730
|
+
"name",
|
|
24731
|
+
"triggers",
|
|
24732
|
+
"function",
|
|
24733
|
+
"key"
|
|
24734
|
+
],
|
|
24735
|
+
"not": {
|
|
24736
|
+
"required": [
|
|
24737
|
+
"unlicensedAccess"
|
|
24738
|
+
]
|
|
24739
|
+
}
|
|
24740
|
+
},
|
|
24741
|
+
{
|
|
24742
|
+
"type": "object",
|
|
24743
|
+
"properties": {
|
|
24744
|
+
"key": {
|
|
24745
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
24746
|
+
},
|
|
24747
|
+
"name": {
|
|
24748
|
+
"type": "string"
|
|
24749
|
+
},
|
|
24750
|
+
"description": {
|
|
24751
|
+
"type": "string"
|
|
24752
|
+
},
|
|
24753
|
+
"triggers": {
|
|
24754
|
+
"type": "array",
|
|
24755
|
+
"minItems": 1,
|
|
24756
|
+
"items": {
|
|
24757
|
+
"type": "string",
|
|
24758
|
+
"enum": [
|
|
24759
|
+
"on-deployment-pending",
|
|
24760
|
+
"on-deployment-triggered"
|
|
24761
|
+
]
|
|
24762
|
+
}
|
|
24763
|
+
},
|
|
24764
|
+
"endpoint": {
|
|
24765
|
+
"type": "string",
|
|
24766
|
+
"minLength": 1,
|
|
24767
|
+
"maxLength": 255,
|
|
24768
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
24769
|
+
}
|
|
24770
|
+
},
|
|
24771
|
+
"required": [
|
|
24772
|
+
"name",
|
|
24773
|
+
"triggers",
|
|
24774
|
+
"endpoint",
|
|
24775
|
+
"key"
|
|
24776
|
+
],
|
|
24777
|
+
"not": {
|
|
24778
|
+
"required": [
|
|
24779
|
+
"unlicensedAccess"
|
|
24780
|
+
]
|
|
24781
|
+
}
|
|
24782
|
+
}
|
|
24783
|
+
]
|
|
24784
|
+
},
|
|
24785
|
+
"minItems": 1
|
|
24786
|
+
},
|
|
24535
24787
|
"bitbucket:dynamicPipelinesProvider": {
|
|
24536
24788
|
"type": "array",
|
|
24537
24789
|
"items": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -13274,6 +13274,17 @@ export interface Modules {
|
|
|
13274
13274
|
endpoint: string;
|
|
13275
13275
|
};
|
|
13276
13276
|
thumbnail: string;
|
|
13277
|
+
migration?: {
|
|
13278
|
+
from: [string, ...string[]];
|
|
13279
|
+
migrate:
|
|
13280
|
+
| {
|
|
13281
|
+
function: string;
|
|
13282
|
+
}
|
|
13283
|
+
| {
|
|
13284
|
+
endpoint: string;
|
|
13285
|
+
};
|
|
13286
|
+
[k: string]: unknown;
|
|
13287
|
+
};
|
|
13277
13288
|
key: ModuleKeySchema;
|
|
13278
13289
|
[k: string]: unknown;
|
|
13279
13290
|
},
|
|
@@ -13305,6 +13316,17 @@ export interface Modules {
|
|
|
13305
13316
|
endpoint: string;
|
|
13306
13317
|
};
|
|
13307
13318
|
thumbnail: string;
|
|
13319
|
+
migration?: {
|
|
13320
|
+
from: [string, ...string[]];
|
|
13321
|
+
migrate:
|
|
13322
|
+
| {
|
|
13323
|
+
function: string;
|
|
13324
|
+
}
|
|
13325
|
+
| {
|
|
13326
|
+
endpoint: string;
|
|
13327
|
+
};
|
|
13328
|
+
[k: string]: unknown;
|
|
13329
|
+
};
|
|
13308
13330
|
key: ModuleKeySchema;
|
|
13309
13331
|
[k: string]: unknown;
|
|
13310
13332
|
}[]
|
|
@@ -13346,6 +13368,17 @@ export interface Modules {
|
|
|
13346
13368
|
endpoint: string;
|
|
13347
13369
|
};
|
|
13348
13370
|
render?: 'default' | 'native';
|
|
13371
|
+
migration?: {
|
|
13372
|
+
from: [string, ...string[]];
|
|
13373
|
+
migrate:
|
|
13374
|
+
| {
|
|
13375
|
+
function: string;
|
|
13376
|
+
}
|
|
13377
|
+
| {
|
|
13378
|
+
endpoint: string;
|
|
13379
|
+
};
|
|
13380
|
+
[k: string]: unknown;
|
|
13381
|
+
};
|
|
13349
13382
|
key: ModuleKeySchema;
|
|
13350
13383
|
[k: string]: unknown;
|
|
13351
13384
|
},
|
|
@@ -13359,6 +13392,17 @@ export interface Modules {
|
|
|
13359
13392
|
endpoint: string;
|
|
13360
13393
|
};
|
|
13361
13394
|
render?: 'default' | 'native';
|
|
13395
|
+
migration?: {
|
|
13396
|
+
from: [string, ...string[]];
|
|
13397
|
+
migrate:
|
|
13398
|
+
| {
|
|
13399
|
+
function: string;
|
|
13400
|
+
}
|
|
13401
|
+
| {
|
|
13402
|
+
endpoint: string;
|
|
13403
|
+
};
|
|
13404
|
+
[k: string]: unknown;
|
|
13405
|
+
};
|
|
13362
13406
|
key: ModuleKeySchema;
|
|
13363
13407
|
[k: string]: unknown;
|
|
13364
13408
|
}[]
|
|
@@ -23385,6 +23429,76 @@ export interface Modules {
|
|
|
23385
23429
|
}
|
|
23386
23430
|
)[]
|
|
23387
23431
|
];
|
|
23432
|
+
'bitbucket:deploymentCheck'?: [
|
|
23433
|
+
(
|
|
23434
|
+
| {
|
|
23435
|
+
key: ModuleKeySchema;
|
|
23436
|
+
name:
|
|
23437
|
+
| {
|
|
23438
|
+
i18n: string;
|
|
23439
|
+
}
|
|
23440
|
+
| string;
|
|
23441
|
+
name__i18n?: string;
|
|
23442
|
+
description?:
|
|
23443
|
+
| {
|
|
23444
|
+
i18n: string;
|
|
23445
|
+
}
|
|
23446
|
+
| string;
|
|
23447
|
+
description__i18n?: string;
|
|
23448
|
+
triggers: [
|
|
23449
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23450
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23451
|
+
];
|
|
23452
|
+
function: string;
|
|
23453
|
+
[k: string]: unknown;
|
|
23454
|
+
}
|
|
23455
|
+
| {
|
|
23456
|
+
key: ModuleKeySchema;
|
|
23457
|
+
name: string;
|
|
23458
|
+
description?: string;
|
|
23459
|
+
triggers: [
|
|
23460
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23461
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23462
|
+
];
|
|
23463
|
+
endpoint: string;
|
|
23464
|
+
[k: string]: unknown;
|
|
23465
|
+
}
|
|
23466
|
+
),
|
|
23467
|
+
...(
|
|
23468
|
+
| {
|
|
23469
|
+
key: ModuleKeySchema;
|
|
23470
|
+
name:
|
|
23471
|
+
| {
|
|
23472
|
+
i18n: string;
|
|
23473
|
+
}
|
|
23474
|
+
| string;
|
|
23475
|
+
name__i18n?: string;
|
|
23476
|
+
description?:
|
|
23477
|
+
| {
|
|
23478
|
+
i18n: string;
|
|
23479
|
+
}
|
|
23480
|
+
| string;
|
|
23481
|
+
description__i18n?: string;
|
|
23482
|
+
triggers: [
|
|
23483
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23484
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23485
|
+
];
|
|
23486
|
+
function: string;
|
|
23487
|
+
[k: string]: unknown;
|
|
23488
|
+
}
|
|
23489
|
+
| {
|
|
23490
|
+
key: ModuleKeySchema;
|
|
23491
|
+
name: string;
|
|
23492
|
+
description?: string;
|
|
23493
|
+
triggers: [
|
|
23494
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23495
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23496
|
+
];
|
|
23497
|
+
endpoint: string;
|
|
23498
|
+
[k: string]: unknown;
|
|
23499
|
+
}
|
|
23500
|
+
)[]
|
|
23501
|
+
];
|
|
23388
23502
|
'bitbucket:dynamicPipelinesProvider'?: [
|
|
23389
23503
|
(
|
|
23390
23504
|
| {
|
|
@@ -104,6 +104,7 @@ export declare enum AllModuleTypes {
|
|
|
104
104
|
BitbucketWorkspacePersonalSettingsPage = "bitbucket:workspacePersonalSettingsPage",
|
|
105
105
|
BitbucketWorkspaceSettingsMenuPage = "bitbucket:workspaceSettingsMenuPage",
|
|
106
106
|
BitbucketMergeCheck = "bitbucket:mergeCheck",
|
|
107
|
+
BitbucketDeploymentCheck = "bitbucket:deploymentCheck",
|
|
107
108
|
BitbucketDynamicPipelinesProvider = "bitbucket:dynamicPipelinesProvider",
|
|
108
109
|
ConnectJiraAdminPages = "connect-jira:adminPages",
|
|
109
110
|
ConnectJiraJiraBackgroundScripts = "connect-jira:jiraBackgroundScripts",
|
|
@@ -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,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,YAAY,kBAAkB;IAC9B,SAAS,eAAe;IACxB,YAAY,kBAAkB;IAC9B,gBAAgB,sBAAsB;IACtC,oBAAoB,0BAA0B;IAC9C,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,OAAO,aAAa;IACpB,MAAM,qBAAqB;IAC3B,OAAO,aAAa;IACpB,gBAAgB,sBAAsB;IACtC,2BAA2B,iCAAiC;IAC5D,QAAQ,cAAc;IACtB,sBAAsB,4BAA4B;IAClD,gBAAgB,sBAAsB;IACtC,gBAAgB,sBAAsB;IACtC,0BAA0B,gCAAgC;IAE1D,0BAA0B,gCAAgC;IAC1D,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,0B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;IACzF,4BAA4B,mCAAmC;IAC/D,+BAA+B,sCAAsC;IACrE,sBAAsB,6BAA6B;IACnD,2BAA2B,kCAAkC;IAC7D,qCAAqC,4CAA4C;IACjF,sCAAsC,6CAA6C;IAEnF,8BAA8B,uBAAuB;IACrD,6BAA6B,sBAAsB;IACnD,6BAA6B,sBAAsB;IACnD,gCAAgC,yBAAyB;IACzD,wCAAwC,iCAAiC;IACzE,+BAA+B,wBAAwB;IACvD,2BAA2B,oBAAoB;IAC/C,wBAAwB,8BAA8B;IAEtD,SAAS,eAAe;IACxB,kBAAkB,wBAAwB;IAC1C,UAAU,gBAAgB;IAC1B,mBAAmB,yBAAyB;IAC5C,cAAc,oBAAoB;IAClC,UAAU,oBAAoB;IAC9B,SAAS,eAAe;IACxB,OAAO,aAAa;IAEpB,6BAA6B,mCAAmC;IAChE,6BAA6B,mCAAmC;IAChE,4BAA4B,kCAAkC;IAC9D,uBAAuB,6BAA6B;IACpD,4BAA4B,kCAAkC;IAC9D,wBAAwB,8BAA8B;IACtD,0BAA0B,gCAAgC;IAE1D,QAAQ,cAAc;IACtB,cAAc,oBAAoB;IAElC,sBAAsB,4BAA4B;IAElD,uBAAuB,6BAA6B;CACrD;AAGD,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAE7C,CAAC;AAEF,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
|
|
@@ -108,6 +108,7 @@ var AllModuleTypes;
|
|
|
108
108
|
AllModuleTypes["BitbucketWorkspacePersonalSettingsPage"] = "bitbucket:workspacePersonalSettingsPage";
|
|
109
109
|
AllModuleTypes["BitbucketWorkspaceSettingsMenuPage"] = "bitbucket:workspaceSettingsMenuPage";
|
|
110
110
|
AllModuleTypes["BitbucketMergeCheck"] = "bitbucket:mergeCheck";
|
|
111
|
+
AllModuleTypes["BitbucketDeploymentCheck"] = "bitbucket:deploymentCheck";
|
|
111
112
|
AllModuleTypes["BitbucketDynamicPipelinesProvider"] = "bitbucket:dynamicPipelinesProvider";
|
|
112
113
|
AllModuleTypes["ConnectJiraAdminPages"] = "connect-jira:adminPages";
|
|
113
114
|
AllModuleTypes["ConnectJiraJiraBackgroundScripts"] = "connect-jira:jiraBackgroundScripts";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateBackendModuleEndpoints.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/bitbucket/validateBackendModuleEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjE,eAAO,MAAM,8BAA8B,GAAI,SAAS,OAAO,EAAE,oBAAoB,MAAM,EAAE,KAAG,eAAe,
|
|
1
|
+
{"version":3,"file":"validateBackendModuleEndpoints.d.ts","sourceRoot":"","sources":["../../../../src/validators/modules-validators/bitbucket/validateBackendModuleEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAkB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGjE,eAAO,MAAM,8BAA8B,GAAI,SAAS,OAAO,EAAE,oBAAoB,MAAM,EAAE,KAAG,eAAe,EA+B9G,CAAC"}
|
|
@@ -7,7 +7,10 @@ const utils_1 = require("../../../utils");
|
|
|
7
7
|
const validateBackendModuleEndpoints = (modules, yamlContentByLine) => {
|
|
8
8
|
const endpoints = modules.endpoint ?? [];
|
|
9
9
|
const validationErrors = [];
|
|
10
|
-
const backendModulesWithEndpoint =
|
|
10
|
+
const backendModulesWithEndpoint = [
|
|
11
|
+
...(modules[types_1.AllModuleTypes.BitbucketMergeCheck]?.filter((module) => module.endpoint != null) || []),
|
|
12
|
+
...(modules[types_1.AllModuleTypes.BitbucketDeploymentCheck]?.filter((module) => module.endpoint != null) || [])
|
|
13
|
+
];
|
|
11
14
|
backendModulesWithEndpoint.forEach((module) => {
|
|
12
15
|
const endpointModule = endpoints?.find((remoteEndpoint) => remoteEndpoint.key === module.endpoint);
|
|
13
16
|
if (endpointModule) {
|