@forge/manifest 12.1.0-next.5-experimental-3fd1b86 → 12.1.0-next.7

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 CHANGED
@@ -1,18 +1,17 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 12.1.0-next.5-experimental-3fd1b86
3
+ ## 12.1.0-next.7
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - e4c143c: Do not allow wildcard remote endpoints
8
- - 42e069d: Add lint warning for backend fetch egress with path
9
- - 19807bf: Changed schema for container resources
7
+ - 5de91aa: Added validation for displayConditions for jiraServiceManagement module types
8
+
9
+ ## 12.1.0-next.6
10
10
 
11
11
  ### Patch Changes
12
12
 
13
- - 6247657: Add TWG preview scopes validator that warns when manifest contains Teamwork Graph scopes (read:graph:jira, read:graph:confluence)
14
- - 8246b16: Update manifest definitions
15
- - fa9b5aa: Update manifest definitions
13
+ - 434fb15: Update manifest definitions
14
+ - 63d29ca: Update dynamic egress and remote manifest in preparation for Preview
16
15
 
17
16
  ## 12.1.0-next.5
18
17
 
@@ -29375,20 +29375,6 @@
29375
29375
  "app-managed"
29376
29376
  ]
29377
29377
  },
29378
- "configurable": {
29379
- "type": "object",
29380
- "additionalProperties": true,
29381
- "description": "This property is not yet supported",
29382
- "required": [
29383
- "enabled"
29384
- ],
29385
- "properties": {
29386
- "enabled": {
29387
- "type": "boolean",
29388
- "description": "This property is not yet supported"
29389
- }
29390
- }
29391
- },
29392
29378
  "scopes": {
29393
29379
  "title": "scopes",
29394
29380
  "oneOf": [
@@ -29625,6 +29611,18 @@
29625
29611
  "title": "styles",
29626
29612
  "type": "array",
29627
29613
  "minItems": 0
29614
+ },
29615
+ "configurable": {
29616
+ "type": "object",
29617
+ "additionalProperties": false,
29618
+ "required": [
29619
+ "enabled"
29620
+ ],
29621
+ "properties": {
29622
+ "enabled": {
29623
+ "type": "boolean"
29624
+ }
29625
+ }
29628
29626
  }
29629
29627
  }
29630
29628
  }
@@ -29778,6 +29776,11 @@
29778
29776
  "configurable": {
29779
29777
  "description": "A remote that an admin can configure",
29780
29778
  "type": "object",
29779
+ "required": [
29780
+ "name",
29781
+ "description"
29782
+ ],
29783
+ "additionalProperties": false,
29781
29784
  "properties": {
29782
29785
  "name": {
29783
29786
  "description": "The name that an admin will see when they're configuring the remote",
@@ -29787,10 +29790,6 @@
29787
29790
  "description": "The description that an admin will see when they're configuring the remote",
29788
29791
  "type": "string"
29789
29792
  },
29790
- "default": {
29791
- "description": "The default value that will be used if the admin does not set a custom domain for this remote",
29792
- "type": "string"
29793
- },
29794
29793
  "supportedPatterns": {
29795
29794
  "description": "The domains that are supported for this remote, prefixed with a * wildcard. For example, `*.atlassian.net` would allow this remote to communicate with domains that matched this.",
29796
29795
  "type": "array",
@@ -73732,16 +73732,6 @@ export interface FormProperty {
73732
73732
  }
73733
73733
  export interface Permissions {
73734
73734
  enforcement?: Enforcement;
73735
- /**
73736
- * This property is not yet supported
73737
- */
73738
- configurable?: {
73739
- /**
73740
- * This property is not yet supported
73741
- */
73742
- enabled: boolean;
73743
- [k: string]: unknown;
73744
- };
73745
73735
  scopes?: Scopes;
73746
73736
  content?: Content1;
73747
73737
  external?: External;
@@ -73759,6 +73749,9 @@ export interface External {
73759
73749
  media?: Media;
73760
73750
  scripts?: Scripts1;
73761
73751
  styles?: Styles1;
73752
+ configurable?: {
73753
+ enabled: boolean;
73754
+ };
73762
73755
  }
73763
73756
  export interface Fetch {
73764
73757
  backend?: Backend;
@@ -73845,20 +73838,15 @@ export interface RemotesSchema {
73845
73838
  /**
73846
73839
  * The name that an admin will see when they're configuring the remote
73847
73840
  */
73848
- name?: string;
73841
+ name: string;
73849
73842
  /**
73850
73843
  * The description that an admin will see when they're configuring the remote
73851
73844
  */
73852
- description?: string;
73853
- /**
73854
- * The default value that will be used if the admin does not set a custom domain for this remote
73855
- */
73856
- default?: string;
73845
+ description: string;
73857
73846
  /**
73858
73847
  * The domains that are supported for this remote, prefixed with a * wildcard. For example, `*.atlassian.net` would allow this remote to communicate with domains that matched this.
73859
73848
  */
73860
73849
  supportedPatterns?: [string, ...string[]];
73861
- [k: string]: unknown;
73862
73850
  };
73863
73851
  }
73864
73852
  export interface Providers {
@@ -139,9 +139,7 @@ export declare const errors: {
139
139
  missingModuleRemoteStorageInScopeEUD: (key: string) => string;
140
140
  allRegionsNotDeclared: (key: string) => string;
141
141
  baseUrlNotPresent: (key: string) => string;
142
- userConfigurationPermissionsMismatch: (key: string) => string;
143
142
  neitherBaseUrlNorUserConfigurationPresent: (key: string) => string;
144
- bothBaseUrlAndUserConfigurationPresent: (key: string) => string;
145
143
  };
146
144
  rovo: {
147
145
  incorrectAgentActionReference: (module: string, moduleKey: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/text/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,eAAO,MAAM,MAAM;8BACS,MAAM,KAAG,MAAM;+BACd,MAAM,EAAE,KAAG,MAAM;2BAIvB,MAAM;yBAEN,MAAM,GAAG,SAAS,QAAQ,MAAM,EAAE,UAAU,MAAM,GAAG,SAAS,KAAG,MAAM;;uBAO3E,MAAM,EAAE,EAAE,GAAG,SAAS,KAAG,MAAM;4BAI1B,MAAM,EAAE,KAAG,MAAM;mCACV,MAAM,SAAS,MAAM,mBAAmB,MAAM,KAAG,MAAM;mDAIvC,MAAM,KAAG,MAAM;4BAEtC,MAAM,EAAE,GAAG,SAAS,KAAG,MAAM;+CAIV,MAAM;6CACR,MAAM,gBAAgB,MAAM;qCAEpC,MAAM;2CACA,MAAM;6CACJ,MAAM;;;qCAGd,MAAM,SAAS,MAAM,KAAG,MAAM;4CAEvB,MAAM,SAAS,MAAM,KAAG,MAAM;oDAEtB,MAAM,OAAO,MAAM,KAAG,MAA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E1B,MAAM,aAAa,MAAM,KAAG,MAAM;4CAEtC,MAAM,SAAS,MAAM,KAAG,MAAM;;;;;gCAM1C,MAAM;;;;;;;;;0DAWwB,wBAAwB,KAAG,MAAM;sDAErC,wBAAwB,KAAG,MAAM;kDAErC,wBAAwB,QAAQ,MAAM,KAAG,MAAM;mDAE9C,wBAAwB,KAAG,MAAM;mCAEjD,MAAM,KAAG,MAAM;;oDAEE,MAAM,aAAa,MAAM,KAAG,MAAM;4CAE1C,MAAM,sBAAsB,wBAAwB,YAAY,MAAM;;;;mCAKjF,MAAM;;;CAQlC,CAAC;AAEF,oBAAY,UAAU;IACpB,eAAe,2BAA2B;IAC1C,eAAe,wBAAwB;IACvC,WAAW,4BAA4B;IACvC,WAAW,+BAA+B;IAC1C,aAAa,8BAA8B;IAC3C,OAAO,0BAA0B;IACjC,cAAc,kCAAkC;IAChD,SAAS,4BAA4B;IACrC,SAAS,4BAA4B;IACrC,UAAU,wBAAwB;IAClC,GAAG,8BAA8B;CAClC"}
@@ -153,9 +153,7 @@ exports.errors = {
153
153
  missingModuleRemoteStorageInScopeEUD: (key) => `missing storage.inScopeEUD in ${key} module. storage.inScopeEUD is required if storage is present in operations.`,
154
154
  allRegionsNotDeclared: (key) => `All region specific URLs are not declared for ${key}`,
155
155
  baseUrlNotPresent: (key) => `A remote must declare baseUrl for ${key}`,
156
- userConfigurationPermissionsMismatch: (key) => `The remote ${key} is configurable, but permissions.configurable.enabled is not true`,
157
- neitherBaseUrlNorUserConfigurationPresent: (key) => `A remote must declare either baseUrl or configurable for ${key}`,
158
- bothBaseUrlAndUserConfigurationPresent: (key) => `A remote must not declare both baseUrl and configurable for ${key}`
156
+ neitherBaseUrlNorUserConfigurationPresent: (key) => `A remote must declare either baseUrl or configurable for ${key}`
159
157
  },
160
158
  rovo: {
161
159
  incorrectAgentActionReference: (module, moduleKey) => `${module} references undefined action module with key '${moduleKey}'.`,
@@ -1 +1 @@
1
- {"version":3,"file":"permissions-validator.d.ts","sourceRoot":"","sources":["../../src/validators/permissions-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAQ3D,eAAO,MAAM,kBAAkB,UAa9B,CAAC;AAEF,qBAAa,oBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,UAAU;IAwClB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;IA2DhC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAkNrD"}
1
+ {"version":3,"file":"permissions-validator.d.ts","sourceRoot":"","sources":["../../src/validators/permissions-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAQ3D,eAAO,MAAM,kBAAkB,UAa9B,CAAC;AAEF,qBAAa,oBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,UAAU;IAwClB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;IA2DhC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CA8MrD"}
@@ -211,7 +211,7 @@ class PermissionsValidator {
211
211
  }
212
212
  ];
213
213
  mapping.forEach((item) => this.validateExternalPermissionURLs(errors, item.element, item.perms, manifest));
214
- const { fetch: originalFetch, ...restOfExternalPermissions } = manifest.typedContent.permissions.external || {};
214
+ const { fetch: originalFetch, configurable: _configurable, ...restOfExternalPermissions } = manifest.typedContent.permissions.external || {};
215
215
  Object.entries(originalFetch || {}).forEach(([key, values]) => {
216
216
  if (values.some((value) => typeof value === 'string')) {
217
217
  errors.push({
@@ -240,24 +240,14 @@ class PermissionsValidator {
240
240
  });
241
241
  const remoteMap = manifest.typedContent.remotes?.reduce((prev, item) => {
242
242
  if ((0, features_1.configurableRemotesEnabled)()) {
243
- if (typeof item.configurable !== 'undefined') {
244
- if (typeof item.configurable.default !== 'undefined') {
245
- const baseUrl = item.configurable.default;
246
- return prev.set(item.key, baseUrl);
247
- }
248
- else {
249
- return prev.set(item.key, null);
250
- }
243
+ if (item.baseUrl) {
244
+ const baseUrl = typeof item.baseUrl === 'string' ? item.baseUrl : item.baseUrl.default;
245
+ return prev.set(item.key, baseUrl);
251
246
  }
252
- else {
253
- if (typeof item.baseUrl !== 'undefined') {
254
- const baseUrl = typeof item.baseUrl === 'string' ? item.baseUrl : item.baseUrl.default;
255
- return prev.set(item.key, baseUrl);
256
- }
257
- else {
258
- return prev;
259
- }
247
+ if (!item.baseUrl && item.configurable) {
248
+ return prev.set(item.key, null);
260
249
  }
250
+ return prev;
261
251
  }
262
252
  else {
263
253
  if (item.baseUrl !== undefined) {
@@ -1 +1 @@
1
- {"version":3,"file":"remotes-is-configurable-validator.d.ts","sourceRoot":"","sources":["../../src/validators/remotes-is-configurable-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAKrF,qBAAa,kCACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;YAI3E,WAAW;IAiCnB,WAAW,CACf,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;IAgE9C,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAOrD"}
1
+ {"version":3,"file":"remotes-is-configurable-validator.d.ts","sourceRoot":"","sources":["../../src/validators/remotes-is-configurable-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAKrF,qBAAa,kCACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;YAI3E,WAAW;IAiCnB,WAAW,CACf,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;IA+B9C,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAOrD"}
@@ -38,43 +38,14 @@ class RemotesIsUserConfigurableValidator {
38
38
  }
39
39
  const remotes = manifest.typedContent.remotes;
40
40
  const validationErrors = [];
41
- const configurableRemotesAllowed = manifest.typedContent.permissions?.configurable?.enabled ?? false;
42
41
  remotes?.forEach((remote) => {
43
- if (!configurableRemotesAllowed) {
44
- if (remote.configurable !== undefined) {
45
- validationErrors.push({
46
- message: text_1.errors.modules.remote.userConfigurationPermissionsMismatch(remote.key),
47
- reference: text_1.References.App,
48
- level: 'error',
49
- ...(0, utils_1.findPosition)(remote.key, manifest.yamlContentByLine)
50
- });
51
- }
52
- if (remote.configurable === undefined && remote.baseUrl === undefined) {
53
- validationErrors.push({
54
- message: text_1.errors.modules.remote.baseUrlNotPresent(remote.key),
55
- reference: text_1.References.App,
56
- level: 'error',
57
- ...(0, utils_1.findPosition)(remote.key, manifest.yamlContentByLine)
58
- });
59
- }
60
- }
61
- else {
62
- if (remote.configurable === undefined && remote.baseUrl === undefined) {
63
- validationErrors.push({
64
- message: text_1.errors.modules.remote.neitherBaseUrlNorUserConfigurationPresent(remote.key),
65
- reference: text_1.References.App,
66
- level: 'error',
67
- ...(0, utils_1.findPosition)(remote.key, manifest.yamlContentByLine)
68
- });
69
- }
70
- else if (remote.configurable !== undefined && remote.baseUrl !== undefined) {
71
- validationErrors.push({
72
- message: text_1.errors.modules.remote.bothBaseUrlAndUserConfigurationPresent(remote.key),
73
- reference: text_1.References.App,
74
- level: 'error',
75
- ...(0, utils_1.findPosition)(remote.key, manifest.yamlContentByLine)
76
- });
77
- }
42
+ if (remote.configurable === undefined && remote.baseUrl === undefined) {
43
+ validationErrors.push({
44
+ message: text_1.errors.modules.remote.neitherBaseUrlNorUserConfigurationPresent(remote.key),
45
+ reference: text_1.References.App,
46
+ level: 'error',
47
+ ...(0, utils_1.findPosition)(remote.key, manifest.yamlContentByLine)
48
+ });
78
49
  }
79
50
  });
80
51
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "12.1.0-next.5-experimental-3fd1b86",
3
+ "version": "12.1.0-next.7",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {