@forge/manifest 2.6.0-next.8 → 3.1.0-next.0

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,158 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 3.1.0-next.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 813f8f3: Add remotes to external auth config
8
+
9
+ ### Patch Changes
10
+
11
+ - 5152239: Update manifest definitions
12
+
13
+ ## 3.0.0
14
+
15
+ ### Major Changes
16
+
17
+ - 4cfa56d: make bearerMethod mandatory in external auth config
18
+
19
+ ### Minor Changes
20
+
21
+ - bd6e025: Add confluence:globalPage module
22
+ - 1c196ff: Add support for external fetch client to reference remote
23
+ - 218fe20: Added an optional connect.authentication property to indicate how the harmonized forge app will be authenticating with tenant API's - using "jwt" or "oauth2". If not specified it defaults to "jwt".
24
+ - 2bca1c0: Show a warning message during forge lint if manifest has deprecated permission scope
25
+ - 0a39c43: Updating forge-manifest to include new Compass Metric scopes
26
+
27
+ ### Patch Changes
28
+
29
+ - 271b98a: add new, granular scopes for custom field related product events
30
+ - 22a488e: Add avi:jira:updated:field:context:configuration product event for scope mapping
31
+ - 689c09b: Update manifest definitions
32
+ - b97660c: Update manifest definitions
33
+ - 7c0d2ee: Update manifest definitions
34
+ - 1dba082: Update manifest definitions
35
+ - d3afe01: Update manifest definitions
36
+ - dfe9dd8: Update manifest definitions
37
+ - 91ea057: Update manifest definitions
38
+ - 3010f0e: Update manifest definitions
39
+ - 2b7c32b: Update manifest definitions
40
+ - e7ee3a7: Update manifest definitions
41
+ - 92d081d: Update manifest definitions
42
+ - d3c8c8d: Update manifest definitions
43
+ - fca240d: Update manifest definitions
44
+ - 36c7c8f: Update manifest definitions
45
+ - d2f6992: Update manifest definitions
46
+ - d18c9f1: Update manifest definitions
47
+ - 1dba082: Update manifest definitions
48
+ - fa963b1: Update manifest definitions
49
+ - 0a7725f: Update manifest definitions
50
+ - 1dba082: Update manifest definitions
51
+ - e4a14c7: Update manifest definitions
52
+ - 2bb89c5: Update manifest definitions
53
+ - 5875eb3: Update manifest definitions
54
+
55
+ ## 3.0.0-next.21
56
+
57
+ ### Major Changes
58
+
59
+ - 4cfa56d: make bearerMethod mandatory in external auth config
60
+
61
+ ### Patch Changes
62
+
63
+ - fca240d: Update manifest definitions
64
+
65
+ ## 2.6.0-next.20
66
+
67
+ ### Minor Changes
68
+
69
+ - 2bca1c0: Show a warning message during forge lint if manifest has deprecated permission scope
70
+
71
+ ### Patch Changes
72
+
73
+ - 271b98a: add new, granular scopes for custom field related product events
74
+
75
+ ## 2.6.0-next.19
76
+
77
+ ### Patch Changes
78
+
79
+ - d18c9f1: Update manifest definitions
80
+ - 5875eb3: Update manifest definitions
81
+
82
+ ## 2.6.0-next.18
83
+
84
+ ### Minor Changes
85
+
86
+ - 1c196ff: Add support for external fetch client to reference remote
87
+
88
+ ### Patch Changes
89
+
90
+ - e7ee3a7: Update manifest definitions
91
+
92
+ ## 2.6.0-next.17
93
+
94
+ ### Patch Changes
95
+
96
+ - fa963b1: Update manifest definitions
97
+
98
+ ## 2.6.0-next.16
99
+
100
+ ### Minor Changes
101
+
102
+ - 218fe20: Added an optional connect.authentication property to indicate how the harmonized forge app will be authenticating with tenant API's - using "jwt" or "oauth2". If not specified it defaults to "jwt".
103
+
104
+ ## 2.6.0-next.15
105
+
106
+ ### Patch Changes
107
+
108
+ - e4a14c7: Update manifest definitions
109
+
110
+ ## 2.6.0-next.14
111
+
112
+ ### Patch Changes
113
+
114
+ - 2b7c32b: Update manifest definitions
115
+
116
+ ## 2.6.0-next.13
117
+
118
+ ### Patch Changes
119
+
120
+ - a0a2c5b: Reverting new granular scopes for custom field related product events as the release date of granular scope is delayed by 2 weeks
121
+ - 689c09b: Update manifest definitions
122
+ - 92d081d: Update manifest definitions
123
+ - 36c7c8f: Update manifest definitions
124
+
125
+ ## 2.6.0-next.12
126
+
127
+ ### Patch Changes
128
+
129
+ - 62089be: Reverting warning message for deprecated non granular scopes as the release date of granular scope is delayed by 2 weeks
130
+
131
+ ## 2.6.0-next.11
132
+
133
+ ### Patch Changes
134
+
135
+ - dfe9dd8: Update manifest definitions
136
+ - d3c8c8d: Update manifest definitions
137
+ - 0a7725f: Update manifest definitions
138
+ - 2bb89c5: Update manifest definitions
139
+
140
+ ## 2.6.0-next.10
141
+
142
+ ### Minor Changes
143
+
144
+ - bd6e025: Add confluence:globalPage module
145
+
146
+ ### Patch Changes
147
+
148
+ - d2f6992: Update manifest definitions
149
+
150
+ ## 2.6.0-next.9
151
+
152
+ ### Patch Changes
153
+
154
+ - 22a488ec: Add avi:jira:updated:field:context:configuration product event for scope mapping
155
+
3
156
  ## 2.6.0-next.8
4
157
 
5
158
  ### Patch 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"}
@@ -90,6 +90,12 @@
90
90
  "read:field:jira"
91
91
  ]
92
92
  },
93
+ {
94
+ "productEvent": "avi:jira:updated:field:context:configuration",
95
+ "oAuthScopes": [
96
+ "read:custom-field-contextual-configuration:jira"
97
+ ]
98
+ },
93
99
  {
94
100
  "productEvent": "avi:confluence:updated:blogpost",
95
101
  "oAuthScopes": [
@@ -1 +1 @@
1
- {"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,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"}
@@ -17,6 +17,7 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
17
17
  new validators_1.ConnectModulesValidator(),
18
18
  new validators_1.ResourcesValidator(),
19
19
  new validators_1.ConnectRemoteValidator(),
20
+ new validators_1.ConnectAuthenticationValidator(),
20
21
  new validators_1.PermissionsValidator(),
21
22
  new deprecated_permissions_validator_1.DeprecatedPermissionsValidator(),
22
23
  new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
@@ -69,6 +69,15 @@
69
69
  "description": "A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.",
70
70
  "pattern": "^[a-zA-Z0-9_-]+$",
71
71
  "maxLength": 23
72
+ },
73
+ "authentication": {
74
+ "description": "The type of authentication used to communicate with tenant APIs",
75
+ "type": "string",
76
+ "default": "jwt",
77
+ "enum": [
78
+ "jwt",
79
+ "oauth2"
80
+ ]
72
81
  }
73
82
  }
74
83
  }
@@ -58,4 +58,8 @@ export interface Connect {
58
58
  * A key for the remote, which other modules can refer to. Must be unique within the manifest and have a maximum of 23 characters.
59
59
  */
60
60
  remote?: string;
61
+ /**
62
+ * The type of authentication used to communicate with tenant APIs
63
+ */
64
+ authentication?: 'jwt' | 'oauth2';
61
65
  }