mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-08 02:52:07 +08:00
feat: compatible with proxy providers health check
This commit is contained in:
Vendored
+9
@@ -31,12 +31,21 @@ declare namespace ApiType {
|
||||
}[];
|
||||
all?: string[];
|
||||
now?: string;
|
||||
provider?: string; // 记录是否来自provider
|
||||
}
|
||||
|
||||
type ProxyGroupItem = Omit<ProxyItem, "all"> & {
|
||||
all: ProxyItem[];
|
||||
};
|
||||
|
||||
interface ProviderItem {
|
||||
name: string;
|
||||
type: string;
|
||||
proxies: ProxyItem[];
|
||||
updatedAt: string;
|
||||
vehicleType: string;
|
||||
}
|
||||
|
||||
interface TrafficItem {
|
||||
up: number;
|
||||
down: number;
|
||||
|
||||
Reference in New Issue
Block a user