sidebar entry rework

This commit is contained in:
peter
2019-08-11 19:46:34 +02:00
parent 51399c6968
commit b30a1eb696
23 changed files with 245 additions and 47 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { default as PluginManager } from "./PluginManager";
import { Plugin } from "frontblock-generic/Plugin";
import { Plugin, socketioRPC } from "frontblock-generic/Plugin";
import * as Logger from 'log4js';
Logger.configure({
@@ -24,7 +24,7 @@ export default class PluginManagerPlugin extends PluginManager implements Plugin
this.loadedPlugins[this.name] = {backend: this, frontend: this.loadFrontend(this.name)}
}
exportRPCs(): import("frontblock-generic/Plugin").socketioRPC[] {
exportRPCs(): socketioRPC[] {
return [
{
name: "getAvailablePluginNames",