From ef7a378216dd4ac2075b35c9be18fe8c04a3d458 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sat, 6 Nov 2021 10:23:40 +0000 Subject: [PATCH] refactor: extract ipc commands --- shared/ipc-commands.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shared/ipc-commands.ts b/shared/ipc-commands.ts index 66c01a56b..2567ae0e0 100644 --- a/shared/ipc-commands.ts +++ b/shared/ipc-commands.ts @@ -19,3 +19,7 @@ export const ERROR = 'error'; // Channels export const CHANNEL_SET_USER_AGENT = 'CHANNEL:SET_USER_AGENT'; + +// Views +export const VIEW_SETTINGS = 'settings-view'; +export const VIEW_ADD_PLAYLIST = 'add-playlist-view';