@forge/bridge 6.3.1 → 6.4.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 +6 -0
- package/out/fetch/index.d.ts +3 -0
- package/out/fetch/index.d.ts.map +1 -1
- package/out/fetch/index.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/out/fetch/index.d.ts
CHANGED
|
@@ -3,4 +3,7 @@ export declare const requestConfluence: (restPath: string, fetchOptions?: ForgeR
|
|
|
3
3
|
export declare const requestRemote: (remoteKey: string, fetchOptions?: ForgeRequestInit & {
|
|
4
4
|
path?: string;
|
|
5
5
|
}) => Promise<Response>;
|
|
6
|
+
export declare const fetchUserRecommendations: (input: {
|
|
7
|
+
query?: string;
|
|
8
|
+
}) => Promise<any>;
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/out/fetch/index.d.ts.map
CHANGED
|
@@ -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"}
|
|
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;AAEnF,eAAO,MAAM,wBAAwB,GAAU,OAAO;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,iBAIvE,CAAC"}
|
package/out/fetch/index.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.requestRemote = exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
|
|
4
|
+
exports.fetchUserRecommendations = exports.requestRemote = exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
|
|
5
5
|
const bridge_1 = require("../bridge");
|
|
6
6
|
const fetch_1 = require("./fetch");
|
|
7
7
|
_a = (0, fetch_1.productFetchApi)((0, bridge_1.getCallBridge)()), exports.requestConfluence = _a.requestConfluence, exports.requestJira = _a.requestJira, exports.requestBitbucket = _a.requestBitbucket;
|
|
8
8
|
exports.requestRemote = (0, fetch_1.remoteFetchApi)((0, bridge_1.getCallBridge)()).requestRemote;
|
|
9
|
+
const fetchUserRecommendations = async (input) => {
|
|
10
|
+
const callBridge = (0, bridge_1.getCallBridge)();
|
|
11
|
+
return await callBridge('fetchUserRecommendations', input);
|
|
12
|
+
};
|
|
13
|
+
exports.fetchUserRecommendations = fetchUserRecommendations;
|