refactor: AdapterConfig
This commit is contained in:
1 parent
93ce8bfb85
commit
6dc4f38581
7 files changed
+20
-12
No files matched your search
@@ -25,10 +25,13 @@ interface v1Config {
|
||||
reportSelfMessage: boolean;
|
||||
token: string;
|
||||
}
|
||||
|
||||
export interface AdapterConfig {
|
||||
export interface AdapterConfigInner {
|
||||
name: string;
|
||||
enable: boolean;
|
||||
}
|
||||
export type AdapterConfigWrap = AdapterConfigInner & Partial<NetworkConfigAdapter>;
|
||||
|
||||
export interface AdapterConfig extends AdapterConfigInner {
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user