summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/src/shared/daemon-rpc-types.ts4
-rw-r--r--gui/test/components/NotificationArea.spec.tsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts
index a3f81e29be..108f6dc98f 100644
--- a/gui/src/shared/daemon-rpc-types.ts
+++ b/gui/src/shared/daemon-rpc-types.ts
@@ -41,14 +41,14 @@ export type ProxyType = 'shadowsocks' | 'custom';
export interface ITunnelEndpoint {
address: string;
protocol: RelayProtocol;
- tunnel: TunnelType;
+ tunnelType: TunnelType;
proxy?: IProxyEndpoint;
}
export interface IProxyEndpoint {
address: string;
protocol: RelayProtocol;
- proxy_type: ProxyType;
+ proxyType: ProxyType;
}
export type DaemonEvent =
diff --git a/gui/test/components/NotificationArea.spec.tsx b/gui/test/components/NotificationArea.spec.tsx
index c117db914e..7b1a69bd8a 100644
--- a/gui/test/components/NotificationArea.spec.tsx
+++ b/gui/test/components/NotificationArea.spec.tsx
@@ -65,7 +65,7 @@ describe('components/NotificationArea', () => {
details: {
address: '1.2.3.4',
protocol: 'tcp',
- tunnel: 'openvpn',
+ tunnelType: 'openvpn',
},
}}
version={defaultVersion}