mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-04 14:22:11 +08:00
refactor(types): remove dead provider view types superseded by bindings
Drop the handwritten IProxyProviderItem and IRuleProviderItem interfaces: IProxyProviderItem is a stale duplicate of the generated ProxyProviderView contract, and neither has any references left in the tree. Keep IProxyItem and IProxyGroupItem: IConfigData still declares 'proxy-groups'?: IProxyGroupItem[], which builds on IProxyItem.
This commit is contained in:
Vendored
-24
@@ -105,30 +105,6 @@ type IProxyGroupItem = Omit<IProxyItem, 'all'> & {
|
||||
all: IProxyItem[]
|
||||
}
|
||||
|
||||
interface IProxyProviderItem {
|
||||
name: string
|
||||
type: string
|
||||
proxies: IProxyItem[]
|
||||
updatedAt: string
|
||||
vehicleType: string
|
||||
subscriptionInfo?: {
|
||||
Upload: number
|
||||
Download: number
|
||||
Total: number
|
||||
Expire: number
|
||||
}
|
||||
}
|
||||
|
||||
interface IRuleProviderItem {
|
||||
name: string
|
||||
behavior: string
|
||||
format: string
|
||||
ruleCount: number
|
||||
type: string
|
||||
updatedAt: string
|
||||
vehicleType: string
|
||||
}
|
||||
|
||||
interface ITrafficItem {
|
||||
up: number
|
||||
down: number
|
||||
|
||||
Reference in New Issue
Block a user