@forge/manifest 2.6.0-next.16 → 2.6.0-next.20

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,38 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 2.6.0-next.20
4
+
5
+ ### Minor Changes
6
+
7
+ - 2bca1c0: Show a warning message during forge lint if manifest has deprecated permission scope
8
+
9
+ ### Patch Changes
10
+
11
+ - 271b98a: add new, granular scopes for custom field related product events
12
+
13
+ ## 2.6.0-next.19
14
+
15
+ ### Patch Changes
16
+
17
+ - d18c9f1: Update manifest definitions
18
+ - 5875eb3: Update manifest definitions
19
+
20
+ ## 2.6.0-next.18
21
+
22
+ ### Minor Changes
23
+
24
+ - 1c196ff: Add support for external fetch client to reference remote
25
+
26
+ ### Patch Changes
27
+
28
+ - e7ee3a7: Update manifest definitions
29
+
30
+ ## 2.6.0-next.17
31
+
32
+ ### Patch Changes
33
+
34
+ - fa963b1: Update manifest definitions
35
+
3
36
  ## 2.6.0-next.16
4
37
 
5
38
  ### Minor Changes
package/out/index.d.ts CHANGED
@@ -7,6 +7,6 @@ export * from './text';
7
7
  export * from './types';
8
8
  export * from './utils';
9
9
  export * from './validators';
10
- export { Modules, ManifestSchema, App, Resources, Permissions, Remotes } from './schema/manifest';
10
+ export { Modules, ManifestSchema, App, Resources, Permissions, Remotes, Fetch } from './schema/manifest';
11
11
  export declare const validate: (basic?: boolean, manifest?: string | undefined) => ManifestValidationResult<ManifestSchema | BasicManifestSchema>;
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAmB,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAElG,eAAO,MAAM,QAAQ,+BAET,MAAM,GAAG,SAAS,KAC3B,wBAAwB,CAAC,cAAc,GAAG,mBAAmB,CAK/D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAmB,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAEzG,eAAO,MAAM,QAAQ,+BAET,MAAM,GAAG,SAAS,KAC3B,wBAAwB,CAAC,cAAc,GAAG,mBAAmB,CAK/D,CAAC"}
@@ -45,49 +45,49 @@
45
45
  {
46
46
  "productEvent": "avi:jira:created:field",
47
47
  "oAuthScopes": [
48
- "manage:jira-configuration"
48
+ "read:field:jira"
49
49
  ]
50
50
  },
51
51
  {
52
52
  "productEvent": "avi:jira:updated:field",
53
53
  "oAuthScopes": [
54
- "manage:jira-configuration"
54
+ "read:field:jira"
55
55
  ]
56
56
  },
57
57
  {
58
58
  "productEvent": "avi:jira:trashed:field",
59
59
  "oAuthScopes": [
60
- "manage:jira-configuration"
60
+ "read:field:jira"
61
61
  ]
62
62
  },
63
63
  {
64
64
  "productEvent": "avi:jira:deleted:field",
65
65
  "oAuthScopes": [
66
- "manage:jira-configuration"
66
+ "read:field:jira"
67
67
  ]
68
68
  },
69
69
  {
70
70
  "productEvent": "avi:jira:restored:field",
71
71
  "oAuthScopes": [
72
- "manage:jira-configuration"
72
+ "read:field:jira"
73
73
  ]
74
74
  },
75
75
  {
76
76
  "productEvent": "avi:jira:created:field:context",
77
77
  "oAuthScopes": [
78
- "manage:jira-configuration"
78
+ "read:field:jira"
79
79
  ]
80
80
  },
81
81
  {
82
82
  "productEvent": "avi:jira:updated:field:context",
83
83
  "oAuthScopes": [
84
- "manage:jira-configuration"
84
+ "read:field:jira"
85
85
  ]
86
86
  },
87
87
  {
88
88
  "productEvent": "avi:jira:deleted:field:context",
89
89
  "oAuthScopes": [
90
- "manage:jira-configuration"
90
+ "read:field:jira"
91
91
  ]
92
92
  },
93
93
  {
@@ -1 +1 @@
1
- {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAgBvF"}
1
+ {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAiBvF"}
@@ -6,6 +6,7 @@ const validators_1 = require("../validators");
6
6
  const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
7
7
  const DISPLAY_CONDITIONS_SCHEMA = tslib_1.__importStar(require("../schema/display-conditions-schema.json"));
8
8
  const abstract_validation_processor_1 = require("./abstract-validation-processor");
9
+ const deprecated_permissions_validator_1 = require("../validators/deprecated-permissions-validator");
9
10
  class FullValidationProcessor extends abstract_validation_processor_1.AbstractValidationProcessor {
10
11
  constructor() {
11
12
  super([
@@ -18,6 +19,7 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
18
19
  new validators_1.ConnectRemoteValidator(),
19
20
  new validators_1.ConnectAuthenticationValidator(),
20
21
  new validators_1.PermissionsValidator(),
22
+ new deprecated_permissions_validator_1.DeprecatedPermissionsValidator(),
21
23
  new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
22
24
  new validators_1.ProvidersValidator()
23
25
  ]);