feat: add getUserFriends event

This commit is contained in:
Zamitto 2024-07-23 18:37:19 -03:00
parent 380143c780
commit 010f07373d
4 changed files with 15 additions and 9 deletions

View file

@ -145,6 +145,7 @@ contextBridge.exposeInMainWorld("electron", {
/* User */
getUser: (userId: string) => ipcRenderer.invoke("getUser", userId),
getUserFriends: (userId: string) => ipcRenderer.invoke("getUserFriends", userId),
/* Auth */
signOut: () => ipcRenderer.invoke("signOut"),