refactor: AdapterConfig
This commit is contained in:
1 parent
b92ce1f6b5
commit
8223c98bf1
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