| 1 | import type { ProxyType, VisitorType } from './constants' |
| 2 | |
| 3 | export interface ProxyDefinition { |
| 4 | name: string |
| 5 | type: ProxyType |
| 6 | tcp?: Record<string, any> |
| 7 | udp?: Record<string, any> |
| 8 | http?: Record<string, any> |
| 9 | https?: Record<string, any> |
| 10 | tcpmux?: Record<string, any> |
| 11 | stcp?: Record<string, any> |
| 12 | sudp?: Record<string, any> |
| 13 | xtcp?: Record<string, any> |
| 14 | } |
| 15 | |
| 16 | export interface VisitorDefinition { |
| 17 | name: string |
| 18 | type: VisitorType |
| 19 | stcp?: Record<string, any> |
| 20 | sudp?: Record<string, any> |
| 21 | xtcp?: Record<string, any> |
| 22 | } |
| 23 | |
| 24 | export interface ProxyListResp { |
| 25 | proxies: ProxyDefinition[] |
| 26 | } |
| 27 | |
| 28 | export interface VisitorListResp { |
| 29 | visitors: VisitorDefinition[] |
| 30 | } |