@forge/manifest 12.6.0-next.0-experimental-5b726e6 → 12.6.0-next.2

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +12 -4
  2. package/out/builder/processor-builder.d.ts.map +1 -1
  3. package/out/builder/processor-builder.js +2 -0
  4. package/out/mapping/agent-product-context-to-scope-mapping.json +14 -0
  5. package/out/processor/agent-product-context-validation-processor.d.ts +6 -0
  6. package/out/processor/agent-product-context-validation-processor.d.ts.map +1 -0
  7. package/out/processor/agent-product-context-validation-processor.js +19 -0
  8. package/out/processor/index.d.ts +1 -0
  9. package/out/processor/index.d.ts.map +1 -1
  10. package/out/processor/index.js +1 -0
  11. package/out/schema/basic-manifest-schema.json +1 -2
  12. package/out/schema/basic-manifest.d.ts +1 -1
  13. package/out/schema/manifest-schema.json +940 -201
  14. package/out/schema/manifest.d.ts +302 -93
  15. package/out/scopes/shipyard-scopes.json +0 -1
  16. package/out/text/errors.d.ts +2 -2
  17. package/out/text/errors.d.ts.map +1 -1
  18. package/out/text/errors.js +4 -4
  19. package/out/types/validation-types.d.ts +1 -0
  20. package/out/types/validation-types.d.ts.map +1 -1
  21. package/out/types/validation-types.js +1 -0
  22. package/out/validators/agent-product-context-scopes-validator.d.ts +21 -0
  23. package/out/validators/agent-product-context-scopes-validator.d.ts.map +1 -0
  24. package/out/validators/agent-product-context-scopes-validator.js +62 -0
  25. package/out/validators/index.d.ts +1 -0
  26. package/out/validators/index.d.ts.map +1 -1
  27. package/out/validators/index.js +1 -0
  28. package/out/validators/modules-validator.js +1 -1
  29. package/out/validators/modules-validators/global/validate-global-ui.d.ts +2 -2
  30. package/out/validators/modules-validators/global/validate-global-ui.d.ts.map +1 -1
  31. package/out/validators/modules-validators/global/validate-global-ui.js +12 -1
  32. package/out/validators/modules-validators/jira/validate-action-validator.d.ts.map +1 -1
  33. package/out/validators/modules-validators/jira/validate-action-validator.js +1 -43
  34. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,15 +1,23 @@
1
1
  # @forge/manifest
2
2
 
3
- ## 12.6.0-next.0-experimental-5b726e6
3
+ ## 12.6.0-next.2
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 399ae7d: Enforce render:native for global:ui
8
- Remove routePrefix from global:ui
7
+ - 955c1ab: Add agent product context scope validation for rovo:agentConnector modules
8
+
9
+ ### Patch Changes
10
+
11
+ - 8b7704f: Added validation that apps using the global:ui module must set app.installationTarget to 'unit'
12
+ - 4964a50: Fetch Agent Product Context to Required Scope Mapping file from Shipyard in daily job
13
+ - 911bef1: Remove compatible modules and module count limitations for jira:actionValidator
14
+ - 53b24df: Update manifest definitions
15
+
16
+ ## 12.6.0-next.1
9
17
 
10
18
  ### Patch Changes
11
19
 
12
- - 5b726e6: add `user` installation target
20
+ - 36fbb18: Update manifest definitions
13
21
 
14
22
  ## 12.6.0-next.0
15
23
 
@@ -1 +1 @@
1
- {"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAGL,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAAC;IACjH,OAAO,CAAC,MAAM,CAAC,KAAK,CAAoF;IAExG,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,WAAW,CAAmB;IAEtC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB;IAKnD,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,cAAc;IAItB,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAWlE"}
1
+ {"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAIL,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAAC;IACjH,OAAO,CAAC,MAAM,CAAC,KAAK,CAAoF;IAExG,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,WAAW,CAAmB;IAEtC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB;IAKnD,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,cAAc;IAItB,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAWlE"}
@@ -34,6 +34,8 @@ class ProcessorBuilder {
34
34
  return new remote_compute_validation_processor_1.RemoteComputeValidationProcessor();
35
35
  case types_1.ValidationTypes.PRODUCT_TRIGGER:
36
36
  return new processor_1.ProductTriggerValidationProcessor();
37
+ case types_1.ValidationTypes.AGENT_PRODUCT_CONTEXT:
38
+ return new processor_1.AgentProductContextValidationProcessor();
37
39
  case types_1.ValidationTypes.DEPRECATED_CSP_METHOD:
38
40
  return new deprecated_csp_method_validation_processor_1.DeprecatedCspMethodValidationProcessor();
39
41
  case types_1.ValidationTypes.DEPRECATED_EGRESS_PERMISSIONS:
@@ -0,0 +1,14 @@
1
+ {
2
+ "_warning": "DO NOT EDIT: This file is auto-generated from Shipyard. See src/mapping/README.md",
3
+ "_source": "ari:cloud:platform-services::agent-product-context-to-scope-mapping/v1/prod",
4
+ "mapping": [
5
+ {
6
+ "productContext": "jira",
7
+ "oAuthScopes": {
8
+ "current": [
9
+ "read:jira-work"
10
+ ]
11
+ }
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,6 @@
1
+ import { AbstractValidationProcessor } from './abstract-validation-processor';
2
+ import { ManifestSchema } from '../schema/manifest';
3
+ export declare class AgentProductContextValidationProcessor extends AbstractValidationProcessor<ManifestSchema> {
4
+ constructor();
5
+ }
6
+ //# sourceMappingURL=agent-product-context-validation-processor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-product-context-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/agent-product-context-validation-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOpD,qBAAa,sCAAuC,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAStG"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentProductContextValidationProcessor = 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 AGENT_CONTEXT_SCOPE_MAPPING = tslib_1.__importStar(require("../mapping/agent-product-context-to-scope-mapping.json"));
8
+ const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
9
+ class AgentProductContextValidationProcessor extends abstract_validation_processor_1.AbstractValidationProcessor {
10
+ constructor() {
11
+ super([
12
+ new validators_1.FileValidator(),
13
+ new validators_1.YamlValidator(),
14
+ new validators_1.SchemaValidator(FULL_SCHEMA),
15
+ new validators_1.AgentProductContextScopesValidator(AGENT_CONTEXT_SCOPE_MAPPING)
16
+ ]);
17
+ }
18
+ }
19
+ exports.AgentProductContextValidationProcessor = AgentProductContextValidationProcessor;
@@ -1,4 +1,5 @@
1
1
  export * from './abstract-validation-processor';
2
+ export * from './agent-product-context-validation-processor';
2
3
  export * from './basic-validation-processor';
3
4
  export * from './full-validation-processor';
4
5
  export * from './processor-interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/processor/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/processor/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./abstract-validation-processor"), exports);
5
+ tslib_1.__exportStar(require("./agent-product-context-validation-processor"), exports);
5
6
  tslib_1.__exportStar(require("./basic-validation-processor"), exports);
6
7
  tslib_1.__exportStar(require("./full-validation-processor"), exports);
7
8
  tslib_1.__exportStar(require("./processor-interface"), exports);
@@ -55,8 +55,7 @@
55
55
  "type": "string",
56
56
  "enum": [
57
57
  "site",
58
- "unit",
59
- "user"
58
+ "unit"
60
59
  ],
61
60
  "description": "The target of the app installation."
62
61
  },
@@ -61,7 +61,7 @@ export interface App {
61
61
  /**
62
62
  * The target of the app installation.
63
63
  */
64
- installationTarget?: 'site' | 'unit' | 'user';
64
+ installationTarget?: 'site' | 'unit';
65
65
  compatibility?: Compatibility;
66
66
  access?: Access;
67
67
  licensing?: Licensing;