summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/daemon-rpc-types.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts
index ff1720be06..3225995e75 100644
--- a/gui/src/shared/daemon-rpc-types.ts
+++ b/gui/src/shared/daemon-rpc-types.ts
@@ -35,10 +35,19 @@ export type TunnelType = 'wireguard' | 'openvpn';
export type RelayProtocol = 'tcp' | 'udp';
+export type ProxyType = 'shadowsocks' | 'custom';
+
export interface ITunnelEndpoint {
address: string;
protocol: RelayProtocol;
tunnel: TunnelType;
+ proxy?: IProxyEndpoint;
+}
+
+export interface IProxyEndpoint {
+ address: string;
+ protocol: RelayProtocol;
+ proxy_type: ProxyType;
}
export type DaemonEvent =