fix: groups config type error

feat(unfinished): add proxy editor
This commit is contained in:
MystiPanda
2024-07-05 00:38:11 +08:00
parent c9f784e4fa
commit 149d482c7d
6 changed files with 698 additions and 14 deletions

View File

@@ -228,6 +228,35 @@ interface IProxyGroupConfig {
icon?: string;
}
interface IProxyConfig {
name: string;
type:
| "ss"
| "ssr"
| "direct"
| "dns"
| "snell"
| "http"
| "trojan"
| "hysteria"
| "hysteria2"
| "tuic"
| "wireguard"
| "ssh"
| "socks5"
| "vmess"
| "vless";
server: string;
port: number;
"ip-version"?: string;
udp?: boolean;
"interface-name"?: string;
"routing-mark"?: number;
tfo?: boolean;
mptcp?: boolean;
"dialer-proxy"?: string;
}
interface IVergeConfig {
app_log_level?: "trace" | "debug" | "info" | "warn" | "error" | string;
language?: string;