Expose internGraphAPIRequest

Summary: Needed to access the task attachment interngraph endpoint added in D17146262.

Reviewed By: danielbuechele

Differential Revision: D17146272

fbshipit-source-id: 6375a953d4b5389e05accb77f0242388c3e0254c
This commit is contained in:
Zoltán Gilián
2019-09-02 09:25:52 -07:00
committed by Facebook Github Bot
parent f6dd4c227f
commit 9a9eda3da5
2 changed files with 10 additions and 1 deletions

View File

@@ -9,6 +9,15 @@ export function getUser() {
return Promise.reject();
}
export async function internGraphAPIRequest(
endpoint: string,
formFields: {
[key: string]: any;
} = {},
): Promise<any> {
return Promise.reject();
}
export async function graphQLQuery(query: string) {
return Promise.reject();
}

View File

@@ -10,7 +10,7 @@ export * from './ui/index';
export {getStringFromErrorLike, textContent} from './utils/index';
export {default as GK} from './fb-stubs/GK';
export {default as createPaste} from './fb-stubs/createPaste';
export {graphQLQuery} from './fb-stubs/user';
export {internGraphAPIRequest, graphQLQuery} from './fb-stubs/user';
export {
FlipperBasePlugin,
FlipperPlugin,