Expose isLoggedIn to plugin creators
Summary: Re-expose one of the legacy exports we had before. Requested by MSYS Reviewed By: passy Differential Revision: D40979328 fbshipit-source-id: 7e8f089a182a62f392f3a720bee9b81698930f9d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2736cfeeb6
commit
82e5cfd368
@@ -207,6 +207,7 @@ export interface FlipperLib {
|
||||
interface InternAPI {
|
||||
graphGet: FlipperServerCommands['intern-graph-get'];
|
||||
graphPost: FlipperServerCommands['intern-graph-post'];
|
||||
isLoggedIn: FlipperServerCommands['is-logged-in'];
|
||||
}
|
||||
|
||||
export let flipperLibInstance: FlipperLib | undefined;
|
||||
|
||||
@@ -78,6 +78,7 @@ export function createMockFlipperLib(options?: StartPluginOptions): FlipperLib {
|
||||
intern: {
|
||||
graphGet: createStubFunction(),
|
||||
graphPost: createStubFunction(),
|
||||
isLoggedIn: createStubFunction(),
|
||||
},
|
||||
remoteServerContext: {
|
||||
childProcess: {
|
||||
|
||||
Reference in New Issue
Block a user