@forge/manifest 8.7.0-next.3 → 8.7.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 +13 -0
- package/out/schema/basic-manifest-schema.json +9 -0
- package/out/schema/basic-manifest.d.ts +5 -0
- package/out/schema/manifest-schema.json +9 -0
- package/out/schema/manifest.d.ts +5 -0
- package/out/scopes/shipyard-scopes.json +3 -0
- package/out/validators/schema-validator.d.ts.map +1 -1
- package/out/validators/schema-validator.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 8.7.0-next.5
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- dec434a: Don't produce extra error messages from conditional json schema snippets
|
|
8
|
+
|
|
9
|
+
## 8.7.0-next.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ba58c3a: allow app developer to configure lambda architecture
|
|
14
|
+
- 55df193: Update manifest definitions
|
|
15
|
+
|
|
3
16
|
## 8.7.0-next.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -36,6 +36,15 @@
|
|
|
36
36
|
"nodejs20.x",
|
|
37
37
|
"nodejs22.x"
|
|
38
38
|
]
|
|
39
|
+
},
|
|
40
|
+
"architecture": {
|
|
41
|
+
"description": "Lambda architecture, its value can be either 'x86_64' or 'arm64'. Default value is 'x86_64'.",
|
|
42
|
+
"title": "architecture",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": [
|
|
45
|
+
"x86_64",
|
|
46
|
+
"arm64"
|
|
47
|
+
]
|
|
39
48
|
}
|
|
40
49
|
},
|
|
41
50
|
"title": "runtime",
|
|
@@ -21,6 +21,10 @@ export type Snapshots = boolean;
|
|
|
21
21
|
* Name of the runtime to use for app execution.
|
|
22
22
|
*/
|
|
23
23
|
export type Name = 'sandbox' | 'nodejs18.x' | 'nodejs20.x' | 'nodejs22.x';
|
|
24
|
+
/**
|
|
25
|
+
* Lambda architecture, its value can be either 'x86_64' or 'arm64'. Default value is 'x86_64'.
|
|
26
|
+
*/
|
|
27
|
+
export type Architecture = 'x86_64' | 'arm64';
|
|
24
28
|
/**
|
|
25
29
|
* The required product for cross-product functionality. If not set, app is not a cross-product app.
|
|
26
30
|
*/
|
|
@@ -168,6 +172,7 @@ export interface App {
|
|
|
168
172
|
export interface Runtime {
|
|
169
173
|
snapshots?: Snapshots;
|
|
170
174
|
name: Name;
|
|
175
|
+
architecture?: Architecture;
|
|
171
176
|
}
|
|
172
177
|
/**
|
|
173
178
|
* Options related to paid app licensing
|
|
@@ -36,6 +36,15 @@
|
|
|
36
36
|
"nodejs20.x",
|
|
37
37
|
"nodejs22.x"
|
|
38
38
|
]
|
|
39
|
+
},
|
|
40
|
+
"architecture": {
|
|
41
|
+
"description": "Lambda architecture, its value can be either 'x86_64' or 'arm64'. Default value is 'x86_64'.",
|
|
42
|
+
"title": "architecture",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"enum": [
|
|
45
|
+
"x86_64",
|
|
46
|
+
"arm64"
|
|
47
|
+
]
|
|
39
48
|
}
|
|
40
49
|
},
|
|
41
50
|
"title": "runtime",
|
package/out/schema/manifest.d.ts
CHANGED
|
@@ -21,6 +21,10 @@ export type Snapshots = boolean;
|
|
|
21
21
|
* Name of the runtime to use for app execution.
|
|
22
22
|
*/
|
|
23
23
|
export type Name = 'sandbox' | 'nodejs18.x' | 'nodejs20.x' | 'nodejs22.x';
|
|
24
|
+
/**
|
|
25
|
+
* Lambda architecture, its value can be either 'x86_64' or 'arm64'. Default value is 'x86_64'.
|
|
26
|
+
*/
|
|
27
|
+
export type Architecture = 'x86_64' | 'arm64';
|
|
24
28
|
/**
|
|
25
29
|
* The required product for cross-product functionality. If not set, app is not a cross-product app.
|
|
26
30
|
*/
|
|
@@ -818,6 +822,7 @@ export interface App {
|
|
|
818
822
|
export interface Runtime {
|
|
819
823
|
snapshots?: Snapshots;
|
|
820
824
|
name: Name;
|
|
825
|
+
architecture?: Architecture;
|
|
821
826
|
}
|
|
822
827
|
/**
|
|
823
828
|
* Options related to paid app licensing
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"delete:content:confluence",
|
|
31
31
|
"delete:conversation-info:jira",
|
|
32
32
|
"delete:custom-content:confluence",
|
|
33
|
+
"delete:customer-org-info:jira",
|
|
33
34
|
"delete:customer.detail-field:jira-service-management",
|
|
34
35
|
"delete:dashboard:jira",
|
|
35
36
|
"delete:dashboard.property:jira",
|
|
@@ -171,6 +172,7 @@
|
|
|
171
172
|
"read:conversation-info:jira",
|
|
172
173
|
"read:custom-content:confluence",
|
|
173
174
|
"read:custom-field-contextual-configuration:jira",
|
|
175
|
+
"read:customer-org:jira",
|
|
174
176
|
"read:customer:entitlement:jira-service-management",
|
|
175
177
|
"read:customer:jira-service-management",
|
|
176
178
|
"read:customer.detail-field:jira-service-management",
|
|
@@ -392,6 +394,7 @@
|
|
|
392
394
|
"write:conversation-info:jira",
|
|
393
395
|
"write:custom-content:confluence",
|
|
394
396
|
"write:custom-field-contextual-configuration:jira",
|
|
397
|
+
"write:customer-org-info:jira",
|
|
395
398
|
"write:customer:entitlement:jira-service-management",
|
|
396
399
|
"write:customer:jira-service-management",
|
|
397
400
|
"write:customer.detail-field:jira-service-management",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-validator.d.ts","sourceRoot":"","sources":["../../src/validators/schema-validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAA0C,MAAM,UAAU,CAAC;AAG5G,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,qBAAa,eAAe,CAAC,CAAC,CAAE,YAAW,kBAAkB,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,CAAC,CAAC;IAGjF,OAAO,CAAC,QAAQ,CAAC,MAAM;IAFnC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAmB;gBAErB,MAAM,EAAE,MAAM;IAS3C,OAAO,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"schema-validator.d.ts","sourceRoot":"","sources":["../../src/validators/schema-validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAA0C,MAAM,UAAU,CAAC;AAG5G,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,qBAAa,eAAe,CAAC,CAAC,CAAE,YAAW,kBAAkB,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,CAAC,CAAC;IAGjF,OAAO,CAAC,QAAQ,CAAC,MAAM;IAFnC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAmB;gBAErB,MAAM,EAAE,MAAM;IAS3C,OAAO,CAAC,mBAAmB,CAoCzB;IAEF,OAAO,CAAC,iBAAiB,CAyBvB;IAEF,OAAO,CAAC,kBAAkB,CAyBxB;IAEF,OAAO,CAAC,iBAAiB,CAKvB;IAEF,OAAO,CAAC,kBAAkB;IAW1B,OAAO,CAAC,qBAAqB,CAa3B;IAEF,OAAO,CAAC,WAAW,CAejB;IAEI,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;CAkD9F"}
|
|
@@ -17,6 +17,9 @@ class SchemaValidator {
|
|
|
17
17
|
this.validateSchema = ajv.compile(this.schema);
|
|
18
18
|
}
|
|
19
19
|
processErrorMessage = (error) => {
|
|
20
|
+
if (error.keyword === 'if' && ['then', 'else'].some((keyword) => keyword === error.params.failingKeyword)) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
20
23
|
if (error.keyword === 'required' && error.schemaPath.includes('oneOf')) {
|
|
21
24
|
return undefined;
|
|
22
25
|
}
|