@forge/bridge
7.2.2-next.0-experimental-1e956967.3.0-next.4
out/fetch/fetch.d.ts~
out/fetch/fetch.d.tsModified+4−4
Index: package/out/fetch/fetch.d.ts
===================================================================
--- package/out/fetch/fetch.d.ts
+++ package/out/fetch/fetch.d.ts
@@ -1,13 +1,13 @@
import { getCallBridge } from '../bridge';
-import { ForgeRequestInit } from '../types';
+import { ForgeRequestInit, RequestTarget } from '../types';
export declare const remoteFetchApi: (callBridge: ReturnType<typeof getCallBridge>) => {
requestRemote: (remoteKey: string, fetchOptions?: ForgeRequestInit & {
path?: string;
}) => Promise<Response>;
};
export declare const productFetchApi: (callBridge: ReturnType<typeof getCallBridge>) => {
- requestConfluence: (restPath: string, fetchOptions?: ForgeRequestInit) => Promise<Response>;
- requestJira: (restPath: string, fetchOptions?: ForgeRequestInit) => Promise<Response>;
- requestBitbucket: (restPath: string, fetchOptions?: ForgeRequestInit) => Promise<Response>;
+ requestConfluence: (target: RequestTarget, fetchOptions?: ForgeRequestInit) => Promise<Response>;
+ requestJira: (target: RequestTarget, fetchOptions?: ForgeRequestInit) => Promise<Response>;
+ requestBitbucket: (target: RequestTarget, fetchOptions?: ForgeRequestInit) => Promise<Response>;
};
//# sourceMappingURL=fetch.d.ts.map
\ No newline at end of file