diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-01-07 16:18:41 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-01-26 09:06:54 +0100 |
| commit | 420147939bcda37c7f1b0efa673326c59b96147b (patch) | |
| tree | 218b23b88ca1692dc90dcf17293cecb14809a9be /gui/src/shared | |
| parent | 841a4ba05c3fc2f2c46dd420b9c9868862290003 (diff) | |
| download | mullvadvpn-420147939bcda37c7f1b0efa673326c59b96147b.tar.xz mullvadvpn-420147939bcda37c7f1b0efa673326c59b96147b.zip | |
Move types used in ipc to ipc-types.ts
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/ipc-schema.ts | 5 | ||||
| -rw-r--r-- | gui/src/shared/ipc-types.ts | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts index 046f938835..deead2557a 100644 --- a/gui/src/shared/ipc-schema.ts +++ b/gui/src/shared/ipc-schema.ts @@ -1,7 +1,5 @@ import { GetTextTranslations } from 'gettext-parser'; -import { ICurrentAppVersionInfo } from '../main/index'; -import { IWindowShapeParameters } from '../main/window-controller'; -import { ILinuxSplitTunnelingApplication } from '../shared/application-types'; +import { ILinuxSplitTunnelingApplication } from './application-types'; import { AccountToken, BridgeSettings, @@ -26,6 +24,7 @@ interface ILogEntry { message: string; } import { invoke, invokeSync, notifyRenderer, send } from './ipc-helpers'; +import { ICurrentAppVersionInfo, IWindowShapeParameters } from './ipc-types'; export interface ITranslations { locale: string; diff --git a/gui/src/shared/ipc-types.ts b/gui/src/shared/ipc-types.ts new file mode 100644 index 0000000000..7781551ed5 --- /dev/null +++ b/gui/src/shared/ipc-types.ts @@ -0,0 +1,10 @@ +export interface ICurrentAppVersionInfo { + gui: string; + daemon: string; + isConsistent: boolean; + isBeta: boolean; +} + +export interface IWindowShapeParameters { + arrowPosition?: number; +} |
