diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2019-06-05 13:29:16 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2019-06-05 13:29:16 +0100 |
| commit | e320c6657d13a84f381dec91840a62d31c47611d (patch) | |
| tree | 2886e2a08afa81488a4b31cbfd69362b91f915a0 /gui/src/shared | |
| parent | 7618e831837bbed460b41282f70de45164b1946b (diff) | |
| parent | 441c98e3e72bf43020397cd009cfab0754dc4810 (diff) | |
| download | mullvadvpn-e320c6657d13a84f381dec91840a62d31c47611d.tar.xz mullvadvpn-e320c6657d13a84f381dec91840a62d31c47611d.zip | |
Merge branch 'add-bridge-to-tunnel-endpoint'
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 9 |
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 = |
