@forge/bridge
6.3.16.4.0-next.0
~
Modified (5 files)
Index: package/out/fetch/index.js
===================================================================
--- package/out/fetch/index.js
+++ package/out/fetch/index.js
@@ -1,8 +1,13 @@
"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
-exports.requestRemote = exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
+exports.fetchUserRecommendations = exports.requestRemote = exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
const bridge_1 = require("../bridge");
const fetch_1 = require("./fetch");
_a = (0, fetch_1.productFetchApi)((0, bridge_1.getCallBridge)()), exports.requestConfluence = _a.requestConfluence, exports.requestJira = _a.requestJira, exports.requestBitbucket = _a.requestBitbucket;
exports.requestRemote = (0, fetch_1.remoteFetchApi)((0, bridge_1.getCallBridge)()).requestRemote;
+const fetchUserRecommendations = async (input) => {
+ const callBridge = (0, bridge_1.getCallBridge)();
+ return await callBridge('fetchUserRecommendations', input);
+};
+exports.fetchUserRecommendations = fetchUserRecommendations; Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/bridge",
- "version": "6.3.1",
+ "version": "6.4.0-next.0",
"description": "Forge bridge API for custom UI apps",
"author": "Atlassian",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "out/index.js", Index: package/out/fetch/index.d.ts.map
===================================================================
--- package/out/fetch/index.d.ts.map
+++ package/out/fetch/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fetch/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,eAAO,MAAQ,iBAAiB,aATA,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAS3D,WAAW,aARnB,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAQxC,gBAAgB,aAPhC,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAO4B,CAAC;AACxH,eAAO,MAAQ,aAAa,cAJC,MAAM,iBAAiB,gBAAgB,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,QAAQ,CAI3B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fetch/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,eAAO,MAAQ,iBAAiB,aATA,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAS3D,WAAW,aARnB,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAQxC,gBAAgB,aAPhC,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAO4B,CAAC;AACxH,eAAO,MAAQ,aAAa,cAJC,MAAM,iBAAiB,gBAAgB,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,QAAQ,CAI3B,CAAC;AAEnF,eAAO,MAAM,wBAAwB,GAAU,OAAO;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,iBAIvE,CAAC"}
\ No newline at end of file Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,6 +1,12 @@
# @forge/bridge
+## 6.4.0-next.0
+
+### Minor Changes
+
+- f1d1bd8: Add fetchUserRecommendations method
+
## 6.3.1
### Patch Changes Index: package/out/fetch/index.d.ts
===================================================================
--- package/out/fetch/index.d.ts
+++ package/out/fetch/index.d.ts
@@ -2,5 +2,8 @@
export declare const requestConfluence: (restPath: string, fetchOptions?: ForgeRequestInit) => Promise<Response>, requestJira: (restPath: string, fetchOptions?: ForgeRequestInit) => Promise<Response>, requestBitbucket: (restPath: string, fetchOptions?: ForgeRequestInit) => Promise<Response>;
export declare const requestRemote: (remoteKey: string, fetchOptions?: ForgeRequestInit & {
path?: string;
}) => Promise<Response>;
+export declare const fetchUserRecommendations: (input: {
+ query?: string;
+}) => Promise<any>;
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file