@forge/manifest 2.6.0-next.7 → 3.0.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 +150 -0
- package/out/index.d.ts +1 -1
- package/out/index.d.ts.map +1 -1
- package/out/mapping/product-event-to-scope-mapping.json +14 -8
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +1 -0
- package/out/schema/basic-manifest-schema.json +9 -0
- package/out/schema/basic-manifest.d.ts +4 -0
- package/out/schema/manifest-schema.json +1291 -536
- package/out/schema/manifest.d.ts +868 -464
- package/out/text/errors.d.ts +1 -0
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +2 -1
- package/out/types/module-types.d.ts +1 -0
- package/out/types/module-types.d.ts.map +1 -1
- package/out/types/module-types.js +1 -0
- package/out/validators/connect-authentication-validator.d.ts +7 -0
- package/out/validators/connect-authentication-validator.d.ts.map +1 -0
- package/out/validators/connect-authentication-validator.js +27 -0
- package/out/validators/index.d.ts +1 -0
- package/out/validators/index.d.ts.map +1 -1
- package/out/validators/index.js +1 -0
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +11 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,155 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 4cfa56d: make bearerMethod mandatory in external auth config
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- bd6e025: Add confluence:globalPage module
|
|
12
|
+
- 1c196ff: Add support for external fetch client to reference remote
|
|
13
|
+
- 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".
|
|
14
|
+
- 2bca1c0: Show a warning message during forge lint if manifest has deprecated permission scope
|
|
15
|
+
- 0a39c43: Updating forge-manifest to include new Compass Metric scopes
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 271b98a: add new, granular scopes for custom field related product events
|
|
20
|
+
- 22a488e: Add avi:jira:updated:field:context:configuration product event for scope mapping
|
|
21
|
+
- 689c09b: Update manifest definitions
|
|
22
|
+
- b97660c: Update manifest definitions
|
|
23
|
+
- 7c0d2ee: Update manifest definitions
|
|
24
|
+
- 1dba082: Update manifest definitions
|
|
25
|
+
- d3afe01: Update manifest definitions
|
|
26
|
+
- dfe9dd8: Update manifest definitions
|
|
27
|
+
- 91ea057: Update manifest definitions
|
|
28
|
+
- 3010f0e: Update manifest definitions
|
|
29
|
+
- 2b7c32b: Update manifest definitions
|
|
30
|
+
- e7ee3a7: Update manifest definitions
|
|
31
|
+
- 92d081d: Update manifest definitions
|
|
32
|
+
- d3c8c8d: Update manifest definitions
|
|
33
|
+
- fca240d: Update manifest definitions
|
|
34
|
+
- 36c7c8f: Update manifest definitions
|
|
35
|
+
- d2f6992: Update manifest definitions
|
|
36
|
+
- d18c9f1: Update manifest definitions
|
|
37
|
+
- 1dba082: Update manifest definitions
|
|
38
|
+
- fa963b1: Update manifest definitions
|
|
39
|
+
- 0a7725f: Update manifest definitions
|
|
40
|
+
- 1dba082: Update manifest definitions
|
|
41
|
+
- e4a14c7: Update manifest definitions
|
|
42
|
+
- 2bb89c5: Update manifest definitions
|
|
43
|
+
- 5875eb3: Update manifest definitions
|
|
44
|
+
|
|
45
|
+
## 3.0.0-next.21
|
|
46
|
+
|
|
47
|
+
### Major Changes
|
|
48
|
+
|
|
49
|
+
- 4cfa56d: make bearerMethod mandatory in external auth config
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- fca240d: Update manifest definitions
|
|
54
|
+
|
|
55
|
+
## 2.6.0-next.20
|
|
56
|
+
|
|
57
|
+
### Minor Changes
|
|
58
|
+
|
|
59
|
+
- 2bca1c0: Show a warning message during forge lint if manifest has deprecated permission scope
|
|
60
|
+
|
|
61
|
+
### Patch Changes
|
|
62
|
+
|
|
63
|
+
- 271b98a: add new, granular scopes for custom field related product events
|
|
64
|
+
|
|
65
|
+
## 2.6.0-next.19
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- d18c9f1: Update manifest definitions
|
|
70
|
+
- 5875eb3: Update manifest definitions
|
|
71
|
+
|
|
72
|
+
## 2.6.0-next.18
|
|
73
|
+
|
|
74
|
+
### Minor Changes
|
|
75
|
+
|
|
76
|
+
- 1c196ff: Add support for external fetch client to reference remote
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- e7ee3a7: Update manifest definitions
|
|
81
|
+
|
|
82
|
+
## 2.6.0-next.17
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- fa963b1: Update manifest definitions
|
|
87
|
+
|
|
88
|
+
## 2.6.0-next.16
|
|
89
|
+
|
|
90
|
+
### Minor Changes
|
|
91
|
+
|
|
92
|
+
- 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".
|
|
93
|
+
|
|
94
|
+
## 2.6.0-next.15
|
|
95
|
+
|
|
96
|
+
### Patch Changes
|
|
97
|
+
|
|
98
|
+
- e4a14c7: Update manifest definitions
|
|
99
|
+
|
|
100
|
+
## 2.6.0-next.14
|
|
101
|
+
|
|
102
|
+
### Patch Changes
|
|
103
|
+
|
|
104
|
+
- 2b7c32b: Update manifest definitions
|
|
105
|
+
|
|
106
|
+
## 2.6.0-next.13
|
|
107
|
+
|
|
108
|
+
### Patch Changes
|
|
109
|
+
|
|
110
|
+
- a0a2c5b: Reverting new granular scopes for custom field related product events as the release date of granular scope is delayed by 2 weeks
|
|
111
|
+
- 689c09b: Update manifest definitions
|
|
112
|
+
- 92d081d: Update manifest definitions
|
|
113
|
+
- 36c7c8f: Update manifest definitions
|
|
114
|
+
|
|
115
|
+
## 2.6.0-next.12
|
|
116
|
+
|
|
117
|
+
### Patch Changes
|
|
118
|
+
|
|
119
|
+
- 62089be: Reverting warning message for deprecated non granular scopes as the release date of granular scope is delayed by 2 weeks
|
|
120
|
+
|
|
121
|
+
## 2.6.0-next.11
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- dfe9dd8: Update manifest definitions
|
|
126
|
+
- d3c8c8d: Update manifest definitions
|
|
127
|
+
- 0a7725f: Update manifest definitions
|
|
128
|
+
- 2bb89c5: Update manifest definitions
|
|
129
|
+
|
|
130
|
+
## 2.6.0-next.10
|
|
131
|
+
|
|
132
|
+
### Minor Changes
|
|
133
|
+
|
|
134
|
+
- bd6e025: Add confluence:globalPage module
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- d2f6992: Update manifest definitions
|
|
139
|
+
|
|
140
|
+
## 2.6.0-next.9
|
|
141
|
+
|
|
142
|
+
### Patch Changes
|
|
143
|
+
|
|
144
|
+
- 22a488ec: Add avi:jira:updated:field:context:configuration product event for scope mapping
|
|
145
|
+
|
|
146
|
+
## 2.6.0-next.8
|
|
147
|
+
|
|
148
|
+
### Patch Changes
|
|
149
|
+
|
|
150
|
+
- c0e5696: add new, granular scopes for custom field related product events
|
|
151
|
+
- 7c0d2ee: Update manifest definitions
|
|
152
|
+
|
|
3
153
|
## 2.6.0-next.7
|
|
4
154
|
|
|
5
155
|
### 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
|
package/out/index.d.ts.map
CHANGED
|
@@ -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;
|
|
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,55 @@
|
|
|
45
45
|
{
|
|
46
46
|
"productEvent": "avi:jira:created:field",
|
|
47
47
|
"oAuthScopes": [
|
|
48
|
-
"
|
|
48
|
+
"read:field:jira"
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"productEvent": "avi:jira:updated:field",
|
|
53
53
|
"oAuthScopes": [
|
|
54
|
-
"
|
|
54
|
+
"read:field:jira"
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"productEvent": "avi:jira:trashed:field",
|
|
59
59
|
"oAuthScopes": [
|
|
60
|
-
"
|
|
60
|
+
"read:field:jira"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"productEvent": "avi:jira:deleted:field",
|
|
65
65
|
"oAuthScopes": [
|
|
66
|
-
"
|
|
66
|
+
"read:field:jira"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"productEvent": "avi:jira:restored:field",
|
|
71
71
|
"oAuthScopes": [
|
|
72
|
-
"
|
|
72
|
+
"read:field:jira"
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"productEvent": "avi:jira:created:field:context",
|
|
77
77
|
"oAuthScopes": [
|
|
78
|
-
"
|
|
78
|
+
"read:field:jira"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"productEvent": "avi:jira:updated:field:context",
|
|
83
83
|
"oAuthScopes": [
|
|
84
|
-
"
|
|
84
|
+
"read:field:jira"
|
|
85
85
|
]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"productEvent": "avi:jira:deleted:field:context",
|
|
89
89
|
"oAuthScopes": [
|
|
90
|
-
"
|
|
90
|
+
"read:field:jira"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"productEvent": "avi:jira:updated:field:context:configuration",
|
|
95
|
+
"oAuthScopes": [
|
|
96
|
+
"read:custom-field-contextual-configuration:jira"
|
|
91
97
|
]
|
|
92
98
|
},
|
|
93
99
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/full-validation-processor.ts"],"names":[],"mappings":"
|
|
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
|
}
|