diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2023-10-04 11:35:59 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2023-10-09 10:16:53 +0200 |
| commit | 469c501f736e98ea6a20f1e76b40550d6ad995cd (patch) | |
| tree | 88c0fbab003216eff6bcaf2fb87c02d634025558 /gui/src/shared/ipc-schema.ts | |
| parent | 4e26e4c36345afbca25a1a1e760927cd74d2c1a5 (diff) | |
| download | mullvadvpn-469c501f736e98ea6a20f1e76b40550d6ad995cd.tar.xz mullvadvpn-469c501f736e98ea6a20f1e76b40550d6ad995cd.zip | |
Add custom lists to settings, ipc and rpc calls
Diffstat (limited to 'gui/src/shared/ipc-schema.ts')
| -rw-r--r-- | gui/src/shared/ipc-schema.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts index 265d546b5d..946b4fa99a 100644 --- a/gui/src/shared/ipc-schema.ts +++ b/gui/src/shared/ipc-schema.ts @@ -6,10 +6,12 @@ import { AccountToken, BridgeSettings, BridgeState, + CustomListError, DeviceEvent, DeviceState, IAccountData, IAppVersionInfo, + ICustomList, IDevice, IDeviceRemoval, IDnsOptions, @@ -133,6 +135,11 @@ export const ipcSchema = { relays: { '': notifyRenderer<IRelayListWithEndpointData>(), }, + customLists: { + createCustomList: invoke<string, void | CustomListError>(), + deleteCustomList: invoke<string, void>(), + updateCustomList: invoke<ICustomList, void | CustomListError>(), + }, currentVersion: { '': notifyRenderer<ICurrentAppVersionInfo>(), displayedChangelog: send<void>(), |
