summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/ipc-schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared/ipc-schema.ts')
-rw-r--r--gui/src/shared/ipc-schema.ts7
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>(),