mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-16 11:42:21 +08:00
fix: change fields
This commit is contained in:
parent
5aa7d5ffe9
commit
c02990ef98
|
@ -4,9 +4,6 @@ import ignoreCase from "@/utils/ignore-case";
|
|||
|
||||
export const HANDLE_FIELDS = [
|
||||
"port",
|
||||
"socks-port",
|
||||
"redir-port",
|
||||
"tproxy-port",
|
||||
"mixed-port",
|
||||
"allow-lan",
|
||||
"mode",
|
||||
|
@ -36,6 +33,8 @@ export const USE_FLAG_FIELDS = [
|
|||
"experimental",
|
||||
"interface-name",
|
||||
"routing-mark",
|
||||
"socks-port",
|
||||
"redir-port",
|
||||
"tproxy-port",
|
||||
"iptables",
|
||||
"external-ui",
|
||||
|
|
6
src/services/types.d.ts
vendored
6
src/services/types.d.ts
vendored
|
@ -1,8 +1,7 @@
|
|||
// declare global {
|
||||
/**
|
||||
* Some interface for clash api
|
||||
*/
|
||||
declare namespace ApiType {
|
||||
declare namespace ApiType {
|
||||
interface ConfigData {
|
||||
port: number;
|
||||
mode: string;
|
||||
|
@ -187,6 +186,8 @@ declare namespace CmdType {
|
|||
"bind-address"?: any;
|
||||
"external-ui"?: any;
|
||||
"auto-redir"?: any;
|
||||
"socks-port"?: any;
|
||||
"redir-port"?: any;
|
||||
"tproxy-port"?: any;
|
||||
"geodata-mode"?: any;
|
||||
"tcp-concurrent"?: any;
|
||||
|
@ -222,4 +223,3 @@ declare namespace CmdType {
|
|||
error?: string;
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue
Block a user