@forge/manifest 9.5.0-next.2 → 9.5.0-next.3

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,5 +1,15 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 9.5.0-next.3
4
+
5
+ ### Minor Changes
6
+
7
+ - 0c92352: Added graph:smartLink module
8
+
9
+ ### Patch Changes
10
+
11
+ - 18eab48: Update manifest definitions
12
+
3
13
  ## 9.5.0-next.2
4
14
 
5
15
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,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;AAIvD,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAAC;IACjH,OAAO,CAAC,MAAM,CAAC,KAAK,CAA6F;IAEjH,OAAO,CAAC,cAAc,CAAkB;IAExC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,OAAO,CAAC,aAAa;IAiBrB,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAUlE"}
1
+ {"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,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,CAA6F;IAEjH,OAAO,CAAC,cAAc,CAAkB;IAExC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,OAAO,CAAC,aAAa;IAmBrB,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAUlE"}
@@ -5,6 +5,7 @@ const types_1 = require("../types");
5
5
  const processor_1 = require("../processor");
6
6
  const deprecated_csp_method_validation_processor_1 = require("../processor/deprecated-csp-method-validation-processor");
7
7
  const remote_compute_validation_processor_1 = require("../processor/remote-compute-validation-processor");
8
+ const deprecated_egress_permissions_validation_processor_1 = require("../processor/deprecated-egress-permissions-validation-processor");
8
9
  class ProcessorBuilder {
9
10
  static cache = new Map();
10
11
  validationType;
@@ -30,6 +31,8 @@ class ProcessorBuilder {
30
31
  return new processor_1.ProductTriggerValidationProcessor();
31
32
  case types_1.ValidationTypes.DEPRECATED_CSP_METHOD:
32
33
  return new deprecated_csp_method_validation_processor_1.DeprecatedCspMethodValidationProcessor();
34
+ case types_1.ValidationTypes.DEPRECATED_EGRESS_PERMISSIONS:
35
+ return new deprecated_egress_permissions_validation_processor_1.DeprecatedEgressPermissionsValidationProcessor();
33
36
  default:
34
37
  throw new Error('Unsupported validation type');
35
38
  }
@@ -0,0 +1,6 @@
1
+ import { AbstractValidationProcessor } from './abstract-validation-processor';
2
+ import { ManifestSchema } from '../schema/manifest';
3
+ export declare class DeprecatedEgressPermissionsValidationProcessor extends AbstractValidationProcessor<ManifestSchema> {
4
+ constructor();
5
+ }
6
+ //# sourceMappingURL=deprecated-egress-permissions-validation-processor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deprecated-egress-permissions-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/deprecated-egress-permissions-validation-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,8CAA+C,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAS9G"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeprecatedEgressPermissionsValidationProcessor = 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 DeprecatedEgressPermissionsValidationProcessor 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.PermissionsValidator()
15
+ ]);
16
+ }
17
+ }
18
+ exports.DeprecatedEgressPermissionsValidationProcessor = DeprecatedEgressPermissionsValidationProcessor;
@@ -5050,6 +5050,66 @@
5050
5050
  },
5051
5051
  "minItems": 1
5052
5052
  },
5053
+ "confluence:contentProperty": {
5054
+ "type": "array",
5055
+ "items": {
5056
+ "type": "object",
5057
+ "properties": {
5058
+ "propertyKey": {
5059
+ "minLength": 1,
5060
+ "maxLength": 255,
5061
+ "type": "string"
5062
+ },
5063
+ "values": {
5064
+ "type": "array",
5065
+ "items": {
5066
+ "type": "object",
5067
+ "properties": {
5068
+ "path": {
5069
+ "minLength": 1,
5070
+ "maxLength": 255,
5071
+ "type": "string"
5072
+ },
5073
+ "type": {
5074
+ "type": "string",
5075
+ "enum": [
5076
+ "number",
5077
+ "string",
5078
+ "text",
5079
+ "user",
5080
+ "date"
5081
+ ]
5082
+ },
5083
+ "searchAlias": {
5084
+ "minLength": 1,
5085
+ "maxLength": 255,
5086
+ "pattern": "^[a-zA-Z0-9-_]+$",
5087
+ "type": "string"
5088
+ }
5089
+ },
5090
+ "required": [
5091
+ "path",
5092
+ "type"
5093
+ ]
5094
+ }
5095
+ },
5096
+ "key": {
5097
+ "$ref": "#/definitions/ModuleKeySchema"
5098
+ }
5099
+ },
5100
+ "required": [
5101
+ "propertyKey",
5102
+ "values",
5103
+ "key"
5104
+ ],
5105
+ "not": {
5106
+ "required": [
5107
+ "unlicensedAccess"
5108
+ ]
5109
+ }
5110
+ },
5111
+ "minItems": 1
5112
+ },
5053
5113
  "confluence:pageBanner": {
5054
5114
  "type": "array",
5055
5115
  "items": {
@@ -26595,6 +26655,72 @@
26595
26655
  },
26596
26656
  "minItems": 1
26597
26657
  },
26658
+ "graph:smartLink": {
26659
+ "type": "array",
26660
+ "items": {
26661
+ "type": "object",
26662
+ "properties": {
26663
+ "name": {
26664
+ "type": "string",
26665
+ "description": "The name to display as App in Smart Link."
26666
+ },
26667
+ "icon": {
26668
+ "type": "string",
26669
+ "description": "icon to use for Smart Links"
26670
+ },
26671
+ "function": {
26672
+ "type": "string",
26673
+ "minLength": 1,
26674
+ "maxLength": 255,
26675
+ "description": "The key of the function that should be invoked for resolving URL to Smart Link.",
26676
+ "pattern": "^[a-zA-Z0-9-._]+$"
26677
+ },
26678
+ "domains": {
26679
+ "type": "array",
26680
+ "items": {
26681
+ "type": "string"
26682
+ },
26683
+ "minItems": 1,
26684
+ "maxItems": 10,
26685
+ "description": "The domains that this object provider should match.",
26686
+ "title": "domains"
26687
+ },
26688
+ "subdomains": {
26689
+ "type": "boolean",
26690
+ "title": "subdomain",
26691
+ "description": "Should sub-domains be allowed."
26692
+ },
26693
+ "patterns": {
26694
+ "type": "array",
26695
+ "items": {
26696
+ "type": "string"
26697
+ },
26698
+ "minItems": 1,
26699
+ "maxItems": 20,
26700
+ "description": "Patterns used for matching URLs that are resolvable to entities.",
26701
+ "title": "patterns"
26702
+ },
26703
+ "key": {
26704
+ "$ref": "#/definitions/ModuleKeySchema"
26705
+ }
26706
+ },
26707
+ "required": [
26708
+ "name",
26709
+ "icon",
26710
+ "function",
26711
+ "domains",
26712
+ "patterns",
26713
+ "key"
26714
+ ],
26715
+ "additionalProperties": false,
26716
+ "not": {
26717
+ "required": [
26718
+ "unlicensedAccess"
26719
+ ]
26720
+ }
26721
+ },
26722
+ "minItems": 1
26723
+ },
26598
26724
  "graph:connector": {
26599
26725
  "type": "array",
26600
26726
  "items": {
@@ -523,6 +523,159 @@ export type ActionExtensionKey = string;
523
523
  * The key for an action extension in your descriptor / manifest.
524
524
  */
525
525
  export type ActionExtensionKey1 = string;
526
+ /**
527
+ * The domains that this object provider should match.
528
+ */
529
+ export type Domains =
530
+ | [string]
531
+ | [string, string]
532
+ | [string, string, string]
533
+ | [string, string, string, string]
534
+ | [string, string, string, string, string]
535
+ | [string, string, string, string, string, string]
536
+ | [string, string, string, string, string, string, string]
537
+ | [string, string, string, string, string, string, string, string]
538
+ | [string, string, string, string, string, string, string, string, string]
539
+ | [string, string, string, string, string, string, string, string, string, string];
540
+ /**
541
+ * Should sub-domains be allowed.
542
+ */
543
+ export type Subdomain = boolean;
544
+ /**
545
+ * Patterns used for matching URLs that are resolvable to entities.
546
+ */
547
+ export type Patterns =
548
+ | [string]
549
+ | [string, string]
550
+ | [string, string, string]
551
+ | [string, string, string, string]
552
+ | [string, string, string, string, string]
553
+ | [string, string, string, string, string, string]
554
+ | [string, string, string, string, string, string, string]
555
+ | [string, string, string, string, string, string, string, string]
556
+ | [string, string, string, string, string, string, string, string, string]
557
+ | [string, string, string, string, string, string, string, string, string, string]
558
+ | [string, string, string, string, string, string, string, string, string, string, string]
559
+ | [string, string, string, string, string, string, string, string, string, string, string, string]
560
+ | [string, string, string, string, string, string, string, string, string, string, string, string, string]
561
+ | [string, string, string, string, string, string, string, string, string, string, string, string, string, string]
562
+ | [
563
+ string,
564
+ string,
565
+ string,
566
+ string,
567
+ string,
568
+ string,
569
+ string,
570
+ string,
571
+ string,
572
+ string,
573
+ string,
574
+ string,
575
+ string,
576
+ string,
577
+ string
578
+ ]
579
+ | [
580
+ string,
581
+ string,
582
+ string,
583
+ string,
584
+ string,
585
+ string,
586
+ string,
587
+ string,
588
+ string,
589
+ string,
590
+ string,
591
+ string,
592
+ string,
593
+ string,
594
+ string,
595
+ string
596
+ ]
597
+ | [
598
+ string,
599
+ string,
600
+ string,
601
+ string,
602
+ string,
603
+ string,
604
+ string,
605
+ string,
606
+ string,
607
+ string,
608
+ string,
609
+ string,
610
+ string,
611
+ string,
612
+ string,
613
+ string,
614
+ string
615
+ ]
616
+ | [
617
+ string,
618
+ string,
619
+ string,
620
+ string,
621
+ string,
622
+ string,
623
+ string,
624
+ string,
625
+ string,
626
+ string,
627
+ string,
628
+ string,
629
+ string,
630
+ string,
631
+ string,
632
+ string,
633
+ string,
634
+ string
635
+ ]
636
+ | [
637
+ string,
638
+ string,
639
+ string,
640
+ string,
641
+ string,
642
+ string,
643
+ string,
644
+ string,
645
+ string,
646
+ string,
647
+ string,
648
+ string,
649
+ string,
650
+ string,
651
+ string,
652
+ string,
653
+ string,
654
+ string,
655
+ string
656
+ ]
657
+ | [
658
+ string,
659
+ string,
660
+ string,
661
+ string,
662
+ string,
663
+ string,
664
+ string,
665
+ string,
666
+ string,
667
+ string,
668
+ string,
669
+ string,
670
+ string,
671
+ string,
672
+ string,
673
+ string,
674
+ string,
675
+ string,
676
+ string,
677
+ string
678
+ ];
526
679
  /**
527
680
  * The key for an extension in CaaS. That means that this is a reference to another extension in your descriptor / manifest.
528
681
  */
@@ -13401,6 +13554,30 @@ export interface Modules {
13401
13554
  }
13402
13555
  )[]
13403
13556
  ];
13557
+ 'confluence:contentProperty'?: [
13558
+ {
13559
+ propertyKey: string;
13560
+ values: {
13561
+ path: string;
13562
+ type: 'number' | 'string' | 'text' | 'user' | 'date';
13563
+ searchAlias?: string;
13564
+ [k: string]: unknown;
13565
+ }[];
13566
+ key: ModuleKeySchema;
13567
+ [k: string]: unknown;
13568
+ },
13569
+ ...{
13570
+ propertyKey: string;
13571
+ values: {
13572
+ path: string;
13573
+ type: 'number' | 'string' | 'text' | 'user' | 'date';
13574
+ searchAlias?: string;
13575
+ [k: string]: unknown;
13576
+ }[];
13577
+ key: ModuleKeySchema;
13578
+ [k: string]: unknown;
13579
+ }[]
13580
+ ];
13404
13581
  'confluence:pageBanner'?: [
13405
13582
  (
13406
13583
  | {
@@ -22417,6 +22594,44 @@ export interface Modules {
22417
22594
  key: ModuleKeySchema;
22418
22595
  }[]
22419
22596
  ];
22597
+ 'graph:smartLink'?: [
22598
+ {
22599
+ /**
22600
+ * The name to display as App in Smart Link.
22601
+ */
22602
+ name: string;
22603
+ /**
22604
+ * icon to use for Smart Links
22605
+ */
22606
+ icon: string;
22607
+ /**
22608
+ * The key of the function that should be invoked for resolving URL to Smart Link.
22609
+ */
22610
+ function: string;
22611
+ domains: Domains;
22612
+ subdomains?: Subdomain;
22613
+ patterns: Patterns;
22614
+ key: ModuleKeySchema;
22615
+ },
22616
+ ...{
22617
+ /**
22618
+ * The name to display as App in Smart Link.
22619
+ */
22620
+ name: string;
22621
+ /**
22622
+ * icon to use for Smart Links
22623
+ */
22624
+ icon: string;
22625
+ /**
22626
+ * The key of the function that should be invoked for resolving URL to Smart Link.
22627
+ */
22628
+ function: string;
22629
+ domains: Domains;
22630
+ subdomains?: Subdomain;
22631
+ patterns: Patterns;
22632
+ key: ModuleKeySchema;
22633
+ }[]
22634
+ ];
22420
22635
  'graph:connector'?: [
22421
22636
  {
22422
22637
  /**
@@ -40,6 +40,7 @@
40
40
  "delete:deployment-info:jira",
41
41
  "delete:design:jira",
42
42
  "delete:dev-info:jira",
43
+ "delete:devops-component-info:jira",
43
44
  "delete:document-info:jira",
44
45
  "delete:embed:confluence",
45
46
  "delete:entitlement:jira-service-management",
@@ -188,6 +189,7 @@
188
189
  "read:deployment:jira-software",
189
190
  "read:design:jira",
190
191
  "read:dev-info:jira",
192
+ "read:devops-component-info:jira",
191
193
  "read:document-info:jira",
192
194
  "read:email-address:confluence",
193
195
  "read:email-address:jira",
@@ -412,6 +414,7 @@
412
414
  "write:deployment:jira-software",
413
415
  "write:design:jira",
414
416
  "write:dev-info:jira",
417
+ "write:devops-component-info:jira",
415
418
  "write:document-info:jira",
416
419
  "write:embed:confluence",
417
420
  "write:entitlement:jira-service-management",
@@ -22,6 +22,7 @@ export declare const errors: {
22
22
  missingEndpointPermissionFromScope: (scope: string, key: string) => string;
23
23
  missingRemotePermissionFromScope: (scope: string, key: string) => string;
24
24
  deprecatedPermission: (element: string, value: string[]) => string;
25
+ deprecatedEgressPermission: (key: string) => string;
25
26
  globalUrlNotRecommended: (element: string) => string;
26
27
  imageUrlNotRecommended: (element: string, value: string) => string;
27
28
  fontAndStylesNotRecommended: (element: 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;2BACpB,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,M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;;2CAI7B,MAAM;;;gCAInB,MAAM;;;;;0DAKwB,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;;CAG7G,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;IACjC,eAAe,0BAA0B;CAC1C"}
@@ -34,6 +34,7 @@ exports.errors = {
34
34
  missingEndpointPermissionFromScope: (scope, key) => `Endpoint module: '${key}' requires '${scope}' scope.`,
35
35
  missingRemotePermissionFromScope: (scope, key) => `Remote: '${key}' requires '${scope}' scope.`,
36
36
  deprecatedPermission: (element, value) => `There are deprecated scopes '${element}' in the manifest.yml file: '${value.join(', ')}'. You need to update this app to use new scopes and remove the deprecated scopes. Learn more at: https://go.atlassian.com/forge-permissions.`,
37
+ deprecatedEgressPermission: (key) => `There are deprecated egress permission entries for '${key}' in the manifest.yml file`,
37
38
  globalUrlNotRecommended: (element) => `Global URL usage detected for '${element}' permission in the manifest.yml file. We recommend using a more specific URL.`,
38
39
  imageUrlNotRecommended: (element, value) => `Unnecessary URL detected for '${element}' permission in the manifest.yml file. Your app should not need the URL '${value}' to work properly.`,
39
40
  fontAndStylesNotRecommended: (element) => `Unnecessary usage of '${element}' permission in the manifest.yml file. You can avoid using this permission by packaging the fonts and styles with your app code.`,
@@ -175,7 +175,8 @@ export declare enum AllModuleTypes {
175
175
  RovoAgent = "rovo:agent",
176
176
  CoreAction = "core:action",
177
177
  GraphEntityProvider = "graph:entityProvider",
178
- GraphConnector = "graph:connector"
178
+ GraphConnector = "graph:connector",
179
+ SmartLinks = "graph:smartLink"
179
180
  }
180
181
  export declare const SUPPORTED_MODULES: AllModuleTypes[];
181
182
  export declare const SUPPORTED_PRODUCTS_ONLY: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"module-types.d.ts","sourceRoot":"","sources":["../../src/types/module-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,YAAY,kBAAkB;IAC9B,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,SAAS,eAAe;IACxB,YAAY,kBAAkB;IAC9B,oBAAoB,0BAA0B;IAC9C,YAAY,kBAAkB;IAC9B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,OAAO,aAAa;IACpB,QAAQ,cAAc;IACtB,sBAAsB,4BAA4B;IAElD,uBAAuB,6BAA6B;IACpD,2BAA2B,iCAAiC;IAC5D,qBAAqB,2BAA2B;IAChD,uBAAuB,6BAA6B;IACpD,wBAAwB,8BAA8B;IACtD,oBAAoB,0BAA0B;IAC9C,sBAAsB,4BAA4B;IAClD,mBAAmB,yBAAyB;IAC5C,uBAAuB,6BAA6B;IACpD,0BAA0B,gCAAgC;IAC1D,oBAAoB,0BAA0B;IAC9C,yBAAyB,+BAA+B;IAExD,kBAAkB,wBAAwB;IAC1C,qBAAqB,2BAA2B;IAChD,qBAAqB,2BAA2B;IAChD,wBAAwB,8BAA8B;IACtD,eAAe,qBAAqB;IACpC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;IACxC,mBAAmB,yBAAyB;IAC5C,eAAe,qBAAqB;IACpC,gBAAgB,sBAAsB;IACtC,cAAc,oBAAoB;IAClC,wBAAwB,8BAA8B;IACtD,aAAa,mBAAmB;IAChC,eAAe,qBAAqB;IACpC,uBAAuB,6BAA6B;IACpD,cAAc,oBAAoB;IAClC,mBA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AU,oBAAoB;CAC/B;AAED,eAAO,MAAM,iBAAiB,kBAAgC,CAAC;AAE/D,eAAO,MAAM,uBAAuB,UAAwE,CAAC"}
@@ -180,6 +180,7 @@ var AllModuleTypes;
180
180
  AllModuleTypes["CoreAction"] = "core:action";
181
181
  AllModuleTypes["GraphEntityProvider"] = "graph:entityProvider";
182
182
  AllModuleTypes["GraphConnector"] = "graph:connector";
183
+ AllModuleTypes["SmartLinks"] = "graph:smartLink";
183
184
  })(AllModuleTypes = exports.AllModuleTypes || (exports.AllModuleTypes = {}));
184
185
  exports.SUPPORTED_MODULES = Object.values(AllModuleTypes);
185
186
  exports.SUPPORTED_PRODUCTS_ONLY = [...new Set(exports.SUPPORTED_MODULES.map((module) => module.split(':')[0]))];
@@ -3,6 +3,7 @@ export declare enum ValidationTypes {
3
3
  FULL = "full",
4
4
  PRODUCT_TRIGGER = "product-trigger",
5
5
  DEPRECATED_CSP_METHOD = "deprecated-csp-method",
6
- FORGE_REMOTE_COMPUTE = "forge-remote-compute"
6
+ FORGE_REMOTE_COMPUTE = "forge-remote-compute",
7
+ DEPRECATED_EGRESS_PERMISSIONS = "deprecated-egress-permissions"
7
8
  }
8
9
  //# sourceMappingURL=validation-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation-types.d.ts","sourceRoot":"","sources":["../../src/types/validation-types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,qBAAqB,0BAA0B;IAC/C,oBAAoB,yBAAyB;CAC9C"}
1
+ {"version":3,"file":"validation-types.d.ts","sourceRoot":"","sources":["../../src/types/validation-types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,qBAAqB,0BAA0B;IAC/C,oBAAoB,yBAAyB;IAC7C,6BAA6B,kCAAkC;CAChE"}
@@ -8,4 +8,5 @@ var ValidationTypes;
8
8
  ValidationTypes["PRODUCT_TRIGGER"] = "product-trigger";
9
9
  ValidationTypes["DEPRECATED_CSP_METHOD"] = "deprecated-csp-method";
10
10
  ValidationTypes["FORGE_REMOTE_COMPUTE"] = "forge-remote-compute";
11
+ ValidationTypes["DEPRECATED_EGRESS_PERMISSIONS"] = "deprecated-egress-permissions";
11
12
  })(ValidationTypes = exports.ValidationTypes || (exports.ValidationTypes = {}));
@@ -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;AAO3D,qBAAa,oBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,UAAU;IA+BlB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;IA6ChC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CAiIrD"}
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;AAO3D,qBAAa,oBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,UAAU;IA+BlB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;IA6ChC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CA+JrD"}
@@ -160,6 +160,33 @@ class PermissionsValidator {
160
160
  }
161
161
  ];
162
162
  mapping.forEach((item) => this.validateExternalPermissionURLs(errors, item.element, item.perms, manifest));
163
+ const { fetch: originalFetch, ...restOfExternalPermissions } = manifest.typedContent.permissions.external || {};
164
+ Object.entries(originalFetch || {}).forEach(([key, values]) => {
165
+ if (values.some((value) => typeof value === 'string')) {
166
+ errors.push({
167
+ message: text_1.errors.permissions.deprecatedEgressPermission(`fetch.${key}`),
168
+ reference: text_1.References.Permissions,
169
+ level: 'warning',
170
+ metadata: {
171
+ hasDeprecatedEgressPermissions: true
172
+ },
173
+ ...(0, utils_1.findPosition)(key, manifest.yamlContentByLine)
174
+ });
175
+ }
176
+ });
177
+ Object.entries(restOfExternalPermissions || {}).forEach(([key, values]) => {
178
+ if (values.some((value) => typeof value === 'string')) {
179
+ errors.push({
180
+ message: text_1.errors.permissions.deprecatedEgressPermission(key),
181
+ reference: text_1.References.Permissions,
182
+ level: 'warning',
183
+ metadata: {
184
+ hasDeprecatedEgressPermissions: true
185
+ },
186
+ ...(0, utils_1.findPosition)(key, manifest.yamlContentByLine)
187
+ });
188
+ }
189
+ });
163
190
  const remoteMap = manifest.typedContent.remotes?.reduce((prev, item) => {
164
191
  const baseUrl = typeof item.baseUrl === 'string' ? item.baseUrl : item.baseUrl.default;
165
192
  return prev.set(item.key, baseUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/manifest",
3
- "version": "9.5.0-next.2",
3
+ "version": "9.5.0-next.3",
4
4
  "description": "Definitions and validations of the Forge manifest",
5
5
  "main": "out/index.js",
6
6
  "scripts": {