@forge/api
8.0.0-next.28.0.0
out/api/fetch.d.ts~
out/api/fetch.d.tsModified+6−6
Index: package/out/api/fetch.d.ts
===================================================================
--- package/out/api/fetch.d.ts
+++ package/out/api/fetch.d.ts
@@ -1,16 +1,16 @@
import { FetchAPI, FetchMethod, RequestProductMethod, Response } from '..';
-export declare type AuthProvider = 'app' | 'user' | 'none';
-declare type RemoteAPI = 'jira' | 'confluence' | 'stargate' | 'bitbucket' | 'sql' | 'os' | 'feature-flags';
-declare type ExternalAuthProvider = string;
-declare type ExternalAuthRemote = string;
-declare type FetchArgs = {
+export type AuthProvider = 'app' | 'user' | 'none';
+type RemoteAPI = 'jira' | 'confluence' | 'stargate' | 'bitbucket' | 'sql' | 'os' | 'feature-flags';
+type ExternalAuthProvider = string;
+type ExternalAuthRemote = string;
+type FetchArgs = {
provider: AuthProvider;
remote: RemoteAPI;
type: 'fpp' | 'sql' | 'os' | 'feature-flags';
accountId?: string;
};
-declare type ExternalAuthFetchArgs = {
+type ExternalAuthFetchArgs = {
provider: ExternalAuthProvider;
remote: ExternalAuthRemote;
account: string;
};