sidebar entry rework
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user