FlipperServer new plugin marketplace methods
Summary: Expose two new methods as to be able to: - List plugins from marketplace - Install a plugin from marketplace Reviewed By: passy Differential Revision: D37749817 fbshipit-source-id: 82b78f7906c5664d5747289fa4f8eadebcde1d73
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1778ce4f46
commit
c91c766b12
@@ -426,6 +426,8 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
'keychain-unset': (service) => this.keytarManager.unsetKeychain(service),
|
||||
'plugins-load-dynamic-plugins': () =>
|
||||
this.pluginManager.loadDynamicPlugins(),
|
||||
'plugins-load-marketplace-plugins': () =>
|
||||
this.pluginManager.loadMarketplacePlugins(),
|
||||
'plugins-get-bundled-plugins': () => this.pluginManager.getBundledPlugins(),
|
||||
'plugins-get-installed-plugins': () =>
|
||||
this.pluginManager.getInstalledPlugins(),
|
||||
@@ -437,6 +439,8 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
this.pluginManager.getUpdatablePlugins(query),
|
||||
'plugins-install-from-file': (path) =>
|
||||
this.pluginManager.installPluginFromFile(path),
|
||||
'plugins-install-from-marketplace': (name: string) =>
|
||||
this.pluginManager.installPluginForMarketplace(name),
|
||||
'plugins-install-from-npm': (name) =>
|
||||
this.pluginManager.installPluginFromNpm(name),
|
||||
'plugin-source': (path) => this.pluginManager.loadSource(path),
|
||||
|
||||
Reference in New Issue
Block a user