@forge/manifest 0.0.0-experimental-9fff5da → 0.0.0-experimental-7c72fec
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 +535 -1
- package/out/builder/processor-builder.d.ts.map +1 -1
- package/out/builder/processor-builder.js +3 -0
- package/out/index.d.ts +1 -1
- package/out/index.d.ts.map +1 -1
- package/out/mapping/product-event-to-scope-mapping.json +90 -0
- package/out/processor/deprecated-csp-method-validation-processor.d.ts +6 -0
- package/out/processor/deprecated-csp-method-validation-processor.d.ts.map +1 -0
- package/out/processor/deprecated-csp-method-validation-processor.js +18 -0
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +3 -0
- package/out/schema/basic-manifest-schema.json +9 -0
- package/out/schema/basic-manifest.d.ts +4 -0
- package/out/schema/display-conditions-schema.json +42 -0
- package/out/schema/manifest-schema.json +1876 -644
- package/out/schema/manifest.d.ts +1510 -872
- package/out/scopes/deprecated-shipyard-scopes.json +24 -0
- package/out/scopes/shipyard-scopes.json +314 -170
- package/out/text/errors.d.ts +3 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +7 -4
- package/out/types/display-condition-types.d.ts +8 -0
- package/out/types/display-condition-types.d.ts.map +1 -1
- package/out/types/module-types.d.ts +12 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +12 -0
- package/out/types/validation-types.d.ts +2 -1
- package/out/types/validation-types.d.ts.map +1 -1
- package/out/types/validation-types.js +1 -0
- package/out/validators/connect-authentication-validator.d.ts +7 -0
- package/out/validators/connect-authentication-validator.d.ts.map +1 -0
- package/out/validators/connect-authentication-validator.js +27 -0
- package/out/validators/deprecated-permissions-validator.d.ts +7 -0
- package/out/validators/deprecated-permissions-validator.d.ts.map +1 -0
- package/out/validators/deprecated-permissions-validator.js +31 -0
- package/out/validators/index.d.ts +1 -0
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -0
- package/out/validators/modules-validator.d.ts.map +1 -1
- package/out/validators/modules-validator.js +7 -2
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +14 -8
- package/out/validators/resources-validator.d.ts.map +1 -1
- package/out/validators/resources-validator.js +26 -2
- package/package.json +3 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeprecatedCspMethodValidationProcessor = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const validators_1 = require("../validators");
|
|
6
|
+
const abstract_validation_processor_1 = require("./abstract-validation-processor");
|
|
7
|
+
const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
|
|
8
|
+
class DeprecatedCspMethodValidationProcessor extends abstract_validation_processor_1.AbstractValidationProcessor {
|
|
9
|
+
constructor() {
|
|
10
|
+
super([
|
|
11
|
+
new validators_1.FileValidator(),
|
|
12
|
+
new validators_1.YamlValidator(),
|
|
13
|
+
new validators_1.SchemaValidator(FULL_SCHEMA),
|
|
14
|
+
new validators_1.ResourcesValidator()
|
|
15
|
+
]);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.DeprecatedCspMethodValidationProcessor = DeprecatedCspMethodValidationProcessor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAiBvF"}
|
|
@@ -6,6 +6,7 @@ const validators_1 = require("../validators");
|
|
|
6
6
|
const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
|
|
7
7
|
const DISPLAY_CONDITIONS_SCHEMA = tslib_1.__importStar(require("../schema/display-conditions-schema.json"));
|
|
8
8
|
const abstract_validation_processor_1 = require("./abstract-validation-processor");
|
|
9
|
+
const deprecated_permissions_validator_1 = require("../validators/deprecated-permissions-validator");
|
|
9
10
|
class FullValidationProcessor extends abstract_validation_processor_1.AbstractValidationProcessor {
|
|
10
11
|
constructor() {
|
|
11
12
|
super([
|
|
@@ -16,7 +17,9 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
|
|
|
16
17
|
new validators_1.ConnectModulesValidator(),
|
|
17
18
|
new validators_1.ResourcesValidator(),
|
|
18
19
|
new validators_1.ConnectRemoteValidator(),
|
|
20
|
+
new validators_1.ConnectAuthenticationValidator(),
|
|
19
21
|
new validators_1.PermissionsValidator(),
|
|
22
|
+
new deprecated_permissions_validator_1.DeprecatedPermissionsValidator(),
|
|
20
23
|
new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
|
|
21
24
|
new validators_1.ProvidersValidator()
|
|
22
25
|
]);
|
|
@@ -69,6 +69,15 @@
|
|
|
69
69
|
"description": "A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.",
|
|
70
70
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
71
71
|
"maxLength": 23
|
|
72
|
+
},
|
|
73
|
+
"authentication": {
|
|
74
|
+
"description": "The type of authentication used to communicate with tenant APIs",
|
|
75
|
+
"type": "string",
|
|
76
|
+
"default": "jwt",
|
|
77
|
+
"enum": [
|
|
78
|
+
"jwt",
|
|
79
|
+
"oauth2"
|
|
80
|
+
]
|
|
72
81
|
}
|
|
73
82
|
}
|
|
74
83
|
}
|
|
@@ -58,4 +58,8 @@ export interface Connect {
|
|
|
58
58
|
* A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
|
|
59
59
|
*/
|
|
60
60
|
remote?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The type of authentication used to communicate with tenant APIs
|
|
63
|
+
*/
|
|
64
|
+
authentication?: 'jwt' | 'oauth2';
|
|
61
65
|
}
|
|
@@ -468,6 +468,42 @@
|
|
|
468
468
|
},
|
|
469
469
|
"type": "object"
|
|
470
470
|
},
|
|
471
|
+
"ProjectSettingsPage": {
|
|
472
|
+
"additionalProperties": false,
|
|
473
|
+
"properties": {
|
|
474
|
+
"hasCoreAccess": {
|
|
475
|
+
"type": "boolean"
|
|
476
|
+
},
|
|
477
|
+
"hasServiceDeskAccess": {
|
|
478
|
+
"type": "boolean"
|
|
479
|
+
},
|
|
480
|
+
"hasSoftwareAccess": {
|
|
481
|
+
"type": "boolean"
|
|
482
|
+
},
|
|
483
|
+
"isAdmin": {
|
|
484
|
+
"type": "boolean"
|
|
485
|
+
},
|
|
486
|
+
"isLoggedIn": {
|
|
487
|
+
"type": "boolean"
|
|
488
|
+
},
|
|
489
|
+
"isSiteAdmin": {
|
|
490
|
+
"type": "boolean"
|
|
491
|
+
},
|
|
492
|
+
"projectId": {
|
|
493
|
+
"$ref": "#/definitions/StringOrListOfStrings"
|
|
494
|
+
},
|
|
495
|
+
"projectKey": {
|
|
496
|
+
"$ref": "#/definitions/StringOrListOfStrings"
|
|
497
|
+
},
|
|
498
|
+
"projectName": {
|
|
499
|
+
"$ref": "#/definitions/StringOrListOfStrings"
|
|
500
|
+
},
|
|
501
|
+
"projectType": {
|
|
502
|
+
"$ref": "#/definitions/StringOrListOfStrings"
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
"type": "object"
|
|
506
|
+
},
|
|
471
507
|
"StringOrListOfStrings": {
|
|
472
508
|
"anyOf": [
|
|
473
509
|
{
|
|
@@ -508,6 +544,9 @@
|
|
|
508
544
|
"jira:customField": {
|
|
509
545
|
"$ref": "#/definitions/IssueView"
|
|
510
546
|
},
|
|
547
|
+
"jira:globalPage": {
|
|
548
|
+
"$ref": "#/definitions/Jira"
|
|
549
|
+
},
|
|
511
550
|
"jira:issueAction": {
|
|
512
551
|
"$ref": "#/definitions/IssueView"
|
|
513
552
|
},
|
|
@@ -522,6 +561,9 @@
|
|
|
522
561
|
},
|
|
523
562
|
"jira:projectPage": {
|
|
524
563
|
"$ref": "#/definitions/ProjectPage"
|
|
564
|
+
},
|
|
565
|
+
"jira:projectSettingsPage": {
|
|
566
|
+
"$ref": "#/definitions/ProjectSettingsPage"
|
|
525
567
|
}
|
|
526
568
|
},
|
|
527
569
|
"type": "object"
|