@forge/manifest 2.6.0-next.14 → 2.6.0-next.18

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,33 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 2.6.0-next.18
4
+
5
+ ### Minor Changes
6
+
7
+ - 1c196ff: Add support for external fetch client to reference remote
8
+
9
+ ### Patch Changes
10
+
11
+ - e7ee3a7: Update manifest definitions
12
+
13
+ ## 2.6.0-next.17
14
+
15
+ ### Patch Changes
16
+
17
+ - fa963b1: Update manifest definitions
18
+
19
+ ## 2.6.0-next.16
20
+
21
+ ### Minor Changes
22
+
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
+
25
+ ## 2.6.0-next.15
26
+
27
+ ### Patch Changes
28
+
29
+ - e4a14c7: Update manifest definitions
30
+
3
31
  ## 2.6.0-next.14
4
32
 
5
33
  ### 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"}
@@ -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;AAEpD,qBAAa,uBAAwB,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAevF"}
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
  }