mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
Improve: modify type defined
This commit is contained in:
parent
b47b6e0e5b
commit
f75eacff86
@ -76,7 +76,7 @@ export interface SelectProxyGroup {
|
|||||||
|
|
||||||
type?: 'select'
|
type?: 'select'
|
||||||
|
|
||||||
proxies?: Proxy[]
|
proxies?: string[] // proxy names
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ export interface UrlTestProxyGroup {
|
|||||||
|
|
||||||
type?: 'url-test'
|
type?: 'url-test'
|
||||||
|
|
||||||
proxies?: Proxy[]
|
proxies?: string[] // proxy names
|
||||||
|
|
||||||
url?: string
|
url?: string
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
import { Proxy } from './Proxy'
|
|
||||||
|
|
||||||
export interface Rule {
|
export interface Rule {
|
||||||
|
|
||||||
type?: 'DOMAIN' | 'DOMAIN-SUFFIX' | 'DOMAIN-KEYWORD' | 'DOMAIN-SUFFIX' | 'GEOIP' | 'FINAL'
|
type?: 'DOMAIN' | 'DOMAIN-SUFFIX' | 'DOMAIN-KEYWORD' | 'DOMAIN-SUFFIX' | 'GEOIP' | 'FINAL'
|
||||||
|
|
||||||
value?: string
|
value?: string
|
||||||
|
|
||||||
use?: Proxy
|
use?: string // proxy or proxy group name
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user