feat: 新增Native插件管理

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-12-07 11:12:49 +08:00
parent 1a5175f466
commit 831f6d0916
18 changed files with 139 additions and 40 deletions

View File

@@ -18,9 +18,15 @@ export namespace server {
export const ServerInstance = Symbol("ServerInstance")
@injectable()
export abstract class NativePluginManager {
list(): any[] {
throw new Error("Method not implemented.")
}
has(name: string): boolean {
return true
}
get(name: string): any {
throw new Error("Method not implemented.")
}
load(name: string): boolean {
throw new Error("Method not implemented.")
}