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 = [
|
export const HANDLE_FIELDS = [
|
||||||
"port",
|
"port",
|
||||||
"socks-port",
|
|
||||||
"redir-port",
|
|
||||||
"tproxy-port",
|
|
||||||
"mixed-port",
|
"mixed-port",
|
||||||
"allow-lan",
|
"allow-lan",
|
||||||
"mode",
|
"mode",
|
||||||
@ -36,6 +33,8 @@ export const USE_FLAG_FIELDS = [
|
|||||||
"experimental",
|
"experimental",
|
||||||
"interface-name",
|
"interface-name",
|
||||||
"routing-mark",
|
"routing-mark",
|
||||||
|
"socks-port",
|
||||||
|
"redir-port",
|
||||||
"tproxy-port",
|
"tproxy-port",
|
||||||
"iptables",
|
"iptables",
|
||||||
"external-ui",
|
"external-ui",
|
||||||
|
4
src/services/types.d.ts
vendored
4
src/services/types.d.ts
vendored
@ -1,4 +1,3 @@
|
|||||||
// declare global {
|
|
||||||
/**
|
/**
|
||||||
* Some interface for clash api
|
* Some interface for clash api
|
||||||
*/
|
*/
|
||||||
@ -187,6 +186,8 @@ declare namespace CmdType {
|
|||||||
"bind-address"?: any;
|
"bind-address"?: any;
|
||||||
"external-ui"?: any;
|
"external-ui"?: any;
|
||||||
"auto-redir"?: any;
|
"auto-redir"?: any;
|
||||||
|
"socks-port"?: any;
|
||||||
|
"redir-port"?: any;
|
||||||
"tproxy-port"?: any;
|
"tproxy-port"?: any;
|
||||||
"geodata-mode"?: any;
|
"geodata-mode"?: any;
|
||||||
"tcp-concurrent"?: any;
|
"tcp-concurrent"?: any;
|
||||||
@ -222,4 +223,3 @@ declare namespace CmdType {
|
|||||||
error?: string;
|
error?: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user