mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding user report
This commit is contained in:
parent
fcc24d6b94
commit
8799378bf2
20 changed files with 463 additions and 228 deletions
|
@ -161,6 +161,9 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.invoke("getUserFriends", userId, take, skip),
|
||||
getBlockedUsers: (take: number, skip: number) =>
|
||||
ipcRenderer.invoke("getBlockedUsers", take, skip),
|
||||
getUserStats: (userId: string) => ipcRenderer.invoke("getUserStats", userId),
|
||||
reportUser: (userId: string, reason: string, description: string) =>
|
||||
ipcRenderer.invoke("reportUser", userId, reason, description),
|
||||
|
||||
/* Auth */
|
||||
signOut: () => ipcRenderer.invoke("signOut"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue