@forge/manifest 5.2.0-next.3 → 5.2.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 +19 -0
- package/out/validators/index.d.ts +1 -1
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -1
- package/out/validators/{snapshot-vaidator.d.ts → snapshot-validator.d.ts} +1 -1
- package/out/validators/snapshot-validator.d.ts.map +1 -0
- package/out/validators/{snapshot-vaidator.js → snapshot-validator.js} +2 -2
- package/package.json +1 -1
- package/out/validators/snapshot-vaidator.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 5.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6b5fc4ac: Add route property missing validation for endpoint module referenced by trigger extension point
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- a0da1771: Updated condition for snapshot warning
|
|
12
|
+
- 9ebe94bd: Added modules jira:jiraIssueContexts and jira:jiraRemoteLinkInfoProvider to connect module validation
|
|
13
|
+
- 3efdf355: Update manifest definitions
|
|
14
|
+
- 863f0f21: Update manifest definitions
|
|
15
|
+
|
|
16
|
+
## 5.2.0-next.4
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- a0da1771: Updated condition for snapshot warning
|
|
21
|
+
|
|
3
22
|
## 5.2.0-next.3
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -12,6 +12,6 @@ export * from './permissions-validator';
|
|
|
12
12
|
export * from './connect-remote-validator';
|
|
13
13
|
export * from './connect-authentication-validator';
|
|
14
14
|
export * from './entity-property-validator';
|
|
15
|
-
export * from './snapshot-
|
|
15
|
+
export * from './snapshot-validator';
|
|
16
16
|
export * from './package-validator';
|
|
17
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validators/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC"}
|
package/out/validators/index.js
CHANGED
|
@@ -15,5 +15,5 @@ tslib_1.__exportStar(require("./permissions-validator"), exports);
|
|
|
15
15
|
tslib_1.__exportStar(require("./connect-remote-validator"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./connect-authentication-validator"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./entity-property-validator"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./snapshot-
|
|
18
|
+
tslib_1.__exportStar(require("./snapshot-validator"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./package-validator"), exports);
|
|
@@ -4,4 +4,4 @@ import { ManifestSchema } from '../schema/manifest';
|
|
|
4
4
|
export declare class SnapshotValidator implements ValidatorInterface<ManifestObject<ManifestSchema> | undefined, ManifestSchema> {
|
|
5
5
|
validate(manifest: ManifestObject<ManifestSchema> | undefined): Promise<ManifestValidationResult<ManifestSchema>>;
|
|
6
6
|
}
|
|
7
|
-
//# sourceMappingURL=snapshot-
|
|
7
|
+
//# sourceMappingURL=snapshot-validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-validator.d.ts","sourceRoot":"","sources":["../../src/validators/snapshot-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUpD,qBAAa,iBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEnF,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAyBrD"}
|
|
@@ -11,7 +11,7 @@ const handleRedundantSnapshot = () => {
|
|
|
11
11
|
};
|
|
12
12
|
class SnapshotValidator {
|
|
13
13
|
async validate(manifest) {
|
|
14
|
-
var _a, _b;
|
|
14
|
+
var _a, _b, _c;
|
|
15
15
|
if (!(manifest === null || manifest === void 0 ? void 0 : manifest.typedContent)) {
|
|
16
16
|
return {
|
|
17
17
|
success: false,
|
|
@@ -20,7 +20,7 @@ class SnapshotValidator {
|
|
|
20
20
|
}
|
|
21
21
|
const validationErrors = [];
|
|
22
22
|
if (((_a = manifest.typedContent.app.runtime) === null || _a === void 0 ? void 0 : _a.snapshots) === true &&
|
|
23
|
-
((_b = manifest.typedContent.app.runtime) === null || _b === void 0 ? void 0 : _b.name) !== 'sandbox') {
|
|
23
|
+
((_c = (_b = manifest.typedContent.app.runtime) === null || _b === void 0 ? void 0 : _b.name) !== null && _c !== void 0 ? _c : 'sandbox') !== 'sandbox') {
|
|
24
24
|
validationErrors.push(handleRedundantSnapshot());
|
|
25
25
|
}
|
|
26
26
|
const warningLevel = validationErrors.filter((e) => e.level === 'warning');
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot-vaidator.d.ts","sourceRoot":"","sources":["../../src/validators/snapshot-vaidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAUpD,qBAAa,iBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEnF,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAyBrD"}
|