mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 18:18:32 +08:00
feat: compatible with proxy providers health check
This commit is contained in:
1 parent
5bf26619ee
commit
59c856fc0e
5 files changed
+135
-54
No files matched your search
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