@forge/manifest 2.6.0-next.12 → 2.6.0-next.16
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 +27 -0
- package/out/mapping/product-event-to-scope-mapping.json +8 -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 +1182 -435
- package/out/schema/manifest.d.ts +582 -254
- 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/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/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 2.6.0-next.16
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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".
|
|
8
|
+
|
|
9
|
+
## 2.6.0-next.15
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- e4a14c7: Update manifest definitions
|
|
14
|
+
|
|
15
|
+
## 2.6.0-next.14
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 2b7c32b: Update manifest definitions
|
|
20
|
+
|
|
21
|
+
## 2.6.0-next.13
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- a0a2c5b: Reverting new granular scopes for custom field related product events as the release date of granular scope is delayed by 2 weeks
|
|
26
|
+
- 689c09b: Update manifest definitions
|
|
27
|
+
- 92d081d: Update manifest definitions
|
|
28
|
+
- 36c7c8f: Update manifest definitions
|
|
29
|
+
|
|
3
30
|
## 2.6.0-next.12
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -45,49 +45,49 @@
|
|
|
45
45
|
{
|
|
46
46
|
"productEvent": "avi:jira:created:field",
|
|
47
47
|
"oAuthScopes": [
|
|
48
|
-
"
|
|
48
|
+
"manage:jira-configuration"
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"productEvent": "avi:jira:updated:field",
|
|
53
53
|
"oAuthScopes": [
|
|
54
|
-
"
|
|
54
|
+
"manage:jira-configuration"
|
|
55
55
|
]
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"productEvent": "avi:jira:trashed:field",
|
|
59
59
|
"oAuthScopes": [
|
|
60
|
-
"
|
|
60
|
+
"manage:jira-configuration"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"productEvent": "avi:jira:deleted:field",
|
|
65
65
|
"oAuthScopes": [
|
|
66
|
-
"
|
|
66
|
+
"manage:jira-configuration"
|
|
67
67
|
]
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"productEvent": "avi:jira:restored:field",
|
|
71
71
|
"oAuthScopes": [
|
|
72
|
-
"
|
|
72
|
+
"manage:jira-configuration"
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"productEvent": "avi:jira:created:field:context",
|
|
77
77
|
"oAuthScopes": [
|
|
78
|
-
"
|
|
78
|
+
"manage:jira-configuration"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"productEvent": "avi:jira:updated:field:context",
|
|
83
83
|
"oAuthScopes": [
|
|
84
|
-
"
|
|
84
|
+
"manage:jira-configuration"
|
|
85
85
|
]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"productEvent": "avi:jira:deleted:field:context",
|
|
89
89
|
"oAuthScopes": [
|
|
90
|
-
"
|
|
90
|
+
"manage:jira-configuration"
|
|
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":"
|
|
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"}
|
|
@@ -16,6 +16,7 @@ class FullValidationProcessor extends abstract_validation_processor_1.AbstractVa
|
|
|
16
16
|
new validators_1.ConnectModulesValidator(),
|
|
17
17
|
new validators_1.ResourcesValidator(),
|
|
18
18
|
new validators_1.ConnectRemoteValidator(),
|
|
19
|
+
new validators_1.ConnectAuthenticationValidator(),
|
|
19
20
|
new validators_1.PermissionsValidator(),
|
|
20
21
|
new validators_1.DisplayConditionsValidator(DISPLAY_CONDITIONS_SCHEMA),
|
|
21
22
|
new validators_1.ProvidersValidator()
|
|
@@ -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
|
}
|