feat: complate event and command module
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import { injectable, postConstruct } from "inversify";
|
||||
import { getPluginMetadata } from './utils'
|
||||
|
||||
export namespace interfaces {
|
||||
@injectable()
|
||||
@ -15,6 +14,22 @@ export namespace interfaces {
|
||||
name: string;
|
||||
version: string;
|
||||
author: string | string[];
|
||||
source: string;
|
||||
target?: any;
|
||||
}
|
||||
export interface CommandMetadata {
|
||||
name?: string;
|
||||
executor?: string;
|
||||
paramtypes?: string[];
|
||||
}
|
||||
export interface TabCompleterMetadata {
|
||||
name?: string;
|
||||
executor?: string;
|
||||
paramtypes?: string[];
|
||||
}
|
||||
export interface ListenerMetadata {
|
||||
name?: string;
|
||||
executor?: string;
|
||||
}
|
||||
export type PluginLike = Plugin | string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user