@forge/manifest 13.8.0-next.4 → 13.8.0-next.5
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 +6 -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 +146 -0
- package/out/schema/manifest.d.ts +70 -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 +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
|
]);
|
|
@@ -24532,6 +24532,152 @@
|
|
|
24532
24532
|
},
|
|
24533
24533
|
"minItems": 1
|
|
24534
24534
|
},
|
|
24535
|
+
"bitbucket:deploymentCheck": {
|
|
24536
|
+
"type": "array",
|
|
24537
|
+
"items": {
|
|
24538
|
+
"oneOf": [
|
|
24539
|
+
{
|
|
24540
|
+
"type": "object",
|
|
24541
|
+
"properties": {
|
|
24542
|
+
"key": {
|
|
24543
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
24544
|
+
},
|
|
24545
|
+
"name": {
|
|
24546
|
+
"oneOf": [
|
|
24547
|
+
{
|
|
24548
|
+
"type": "object",
|
|
24549
|
+
"additionalProperties": false,
|
|
24550
|
+
"properties": {
|
|
24551
|
+
"i18n": {
|
|
24552
|
+
"type": "string",
|
|
24553
|
+
"minLength": 1,
|
|
24554
|
+
"maxLength": 300,
|
|
24555
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24556
|
+
}
|
|
24557
|
+
},
|
|
24558
|
+
"required": [
|
|
24559
|
+
"i18n"
|
|
24560
|
+
]
|
|
24561
|
+
},
|
|
24562
|
+
{
|
|
24563
|
+
"type": "string",
|
|
24564
|
+
"minLength": 1,
|
|
24565
|
+
"maxLength": 255
|
|
24566
|
+
}
|
|
24567
|
+
]
|
|
24568
|
+
},
|
|
24569
|
+
"name__i18n": {
|
|
24570
|
+
"type": "string",
|
|
24571
|
+
"minLength": 1,
|
|
24572
|
+
"maxLength": 300,
|
|
24573
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24574
|
+
},
|
|
24575
|
+
"description": {
|
|
24576
|
+
"oneOf": [
|
|
24577
|
+
{
|
|
24578
|
+
"type": "object",
|
|
24579
|
+
"additionalProperties": false,
|
|
24580
|
+
"properties": {
|
|
24581
|
+
"i18n": {
|
|
24582
|
+
"type": "string",
|
|
24583
|
+
"minLength": 1,
|
|
24584
|
+
"maxLength": 300,
|
|
24585
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24586
|
+
}
|
|
24587
|
+
},
|
|
24588
|
+
"required": [
|
|
24589
|
+
"i18n"
|
|
24590
|
+
]
|
|
24591
|
+
},
|
|
24592
|
+
{
|
|
24593
|
+
"type": "string",
|
|
24594
|
+
"minLength": 1,
|
|
24595
|
+
"maxLength": 255
|
|
24596
|
+
}
|
|
24597
|
+
]
|
|
24598
|
+
},
|
|
24599
|
+
"description__i18n": {
|
|
24600
|
+
"type": "string",
|
|
24601
|
+
"minLength": 1,
|
|
24602
|
+
"maxLength": 300,
|
|
24603
|
+
"pattern": "^[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$"
|
|
24604
|
+
},
|
|
24605
|
+
"triggers": {
|
|
24606
|
+
"type": "array",
|
|
24607
|
+
"minItems": 1,
|
|
24608
|
+
"items": {
|
|
24609
|
+
"type": "string",
|
|
24610
|
+
"enum": [
|
|
24611
|
+
"on-deployment-pending",
|
|
24612
|
+
"on-deployment-triggered"
|
|
24613
|
+
]
|
|
24614
|
+
}
|
|
24615
|
+
},
|
|
24616
|
+
"function": {
|
|
24617
|
+
"type": "string",
|
|
24618
|
+
"minLength": 1,
|
|
24619
|
+
"maxLength": 255,
|
|
24620
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
24621
|
+
}
|
|
24622
|
+
},
|
|
24623
|
+
"required": [
|
|
24624
|
+
"name",
|
|
24625
|
+
"triggers",
|
|
24626
|
+
"function",
|
|
24627
|
+
"key"
|
|
24628
|
+
],
|
|
24629
|
+
"not": {
|
|
24630
|
+
"required": [
|
|
24631
|
+
"unlicensedAccess"
|
|
24632
|
+
]
|
|
24633
|
+
}
|
|
24634
|
+
},
|
|
24635
|
+
{
|
|
24636
|
+
"type": "object",
|
|
24637
|
+
"properties": {
|
|
24638
|
+
"key": {
|
|
24639
|
+
"$ref": "#/definitions/ModuleKeySchema"
|
|
24640
|
+
},
|
|
24641
|
+
"name": {
|
|
24642
|
+
"type": "string"
|
|
24643
|
+
},
|
|
24644
|
+
"description": {
|
|
24645
|
+
"type": "string"
|
|
24646
|
+
},
|
|
24647
|
+
"triggers": {
|
|
24648
|
+
"type": "array",
|
|
24649
|
+
"minItems": 1,
|
|
24650
|
+
"items": {
|
|
24651
|
+
"type": "string",
|
|
24652
|
+
"enum": [
|
|
24653
|
+
"on-deployment-pending",
|
|
24654
|
+
"on-deployment-triggered"
|
|
24655
|
+
]
|
|
24656
|
+
}
|
|
24657
|
+
},
|
|
24658
|
+
"endpoint": {
|
|
24659
|
+
"type": "string",
|
|
24660
|
+
"minLength": 1,
|
|
24661
|
+
"maxLength": 255,
|
|
24662
|
+
"pattern": "^[a-zA-Z0-9-_]+$"
|
|
24663
|
+
}
|
|
24664
|
+
},
|
|
24665
|
+
"required": [
|
|
24666
|
+
"name",
|
|
24667
|
+
"triggers",
|
|
24668
|
+
"endpoint",
|
|
24669
|
+
"key"
|
|
24670
|
+
],
|
|
24671
|
+
"not": {
|
|
24672
|
+
"required": [
|
|
24673
|
+
"unlicensedAccess"
|
|
24674
|
+
]
|
|
24675
|
+
}
|
|
24676
|
+
}
|
|
24677
|
+
]
|
|
24678
|
+
},
|
|
24679
|
+
"minItems": 1
|
|
24680
|
+
},
|
|
24535
24681
|
"bitbucket:dynamicPipelinesProvider": {
|
|
24536
24682
|
"type": "array",
|
|
24537
24683
|
"items": {
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -23385,6 +23385,76 @@ export interface Modules {
|
|
|
23385
23385
|
}
|
|
23386
23386
|
)[]
|
|
23387
23387
|
];
|
|
23388
|
+
'bitbucket:deploymentCheck'?: [
|
|
23389
|
+
(
|
|
23390
|
+
| {
|
|
23391
|
+
key: ModuleKeySchema;
|
|
23392
|
+
name:
|
|
23393
|
+
| {
|
|
23394
|
+
i18n: string;
|
|
23395
|
+
}
|
|
23396
|
+
| string;
|
|
23397
|
+
name__i18n?: string;
|
|
23398
|
+
description?:
|
|
23399
|
+
| {
|
|
23400
|
+
i18n: string;
|
|
23401
|
+
}
|
|
23402
|
+
| string;
|
|
23403
|
+
description__i18n?: string;
|
|
23404
|
+
triggers: [
|
|
23405
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23406
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23407
|
+
];
|
|
23408
|
+
function: string;
|
|
23409
|
+
[k: string]: unknown;
|
|
23410
|
+
}
|
|
23411
|
+
| {
|
|
23412
|
+
key: ModuleKeySchema;
|
|
23413
|
+
name: string;
|
|
23414
|
+
description?: string;
|
|
23415
|
+
triggers: [
|
|
23416
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23417
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23418
|
+
];
|
|
23419
|
+
endpoint: string;
|
|
23420
|
+
[k: string]: unknown;
|
|
23421
|
+
}
|
|
23422
|
+
),
|
|
23423
|
+
...(
|
|
23424
|
+
| {
|
|
23425
|
+
key: ModuleKeySchema;
|
|
23426
|
+
name:
|
|
23427
|
+
| {
|
|
23428
|
+
i18n: string;
|
|
23429
|
+
}
|
|
23430
|
+
| string;
|
|
23431
|
+
name__i18n?: string;
|
|
23432
|
+
description?:
|
|
23433
|
+
| {
|
|
23434
|
+
i18n: string;
|
|
23435
|
+
}
|
|
23436
|
+
| string;
|
|
23437
|
+
description__i18n?: string;
|
|
23438
|
+
triggers: [
|
|
23439
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23440
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23441
|
+
];
|
|
23442
|
+
function: string;
|
|
23443
|
+
[k: string]: unknown;
|
|
23444
|
+
}
|
|
23445
|
+
| {
|
|
23446
|
+
key: ModuleKeySchema;
|
|
23447
|
+
name: string;
|
|
23448
|
+
description?: string;
|
|
23449
|
+
triggers: [
|
|
23450
|
+
'on-deployment-pending' | 'on-deployment-triggered',
|
|
23451
|
+
...('on-deployment-pending' | 'on-deployment-triggered')[]
|
|
23452
|
+
];
|
|
23453
|
+
endpoint: string;
|
|
23454
|
+
[k: string]: unknown;
|
|
23455
|
+
}
|
|
23456
|
+
)[]
|
|
23457
|
+
];
|
|
23388
23458
|
'bitbucket:dynamicPipelinesProvider'?: [
|
|
23389
23459
|
(
|
|
23390
23460
|
| {
|
|
@@ -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;IACt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+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) {
|