mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-21 01:53:57 +00:00
feat: adding user report
This commit is contained in:
7
src/renderer/src/declaration.d.ts
vendored
7
src/renderer/src/declaration.d.ts
vendored
@@ -22,6 +22,7 @@ import type {
|
||||
UpdateProfileRequest,
|
||||
GameStats,
|
||||
TrendingGame,
|
||||
UserStats,
|
||||
} from "@types";
|
||||
import type { DiskSpace } from "check-disk-space";
|
||||
|
||||
@@ -143,6 +144,12 @@ declare global {
|
||||
skip: number
|
||||
) => Promise<UserFriends>;
|
||||
getBlockedUsers: (take: number, skip: number) => Promise<UserBlocks>;
|
||||
getUserStats: (userId: string) => Promise<UserStats>;
|
||||
reportUser: (
|
||||
userId: string,
|
||||
reason: string,
|
||||
description: string
|
||||
) => Promise<void>;
|
||||
|
||||
/* Profile */
|
||||
getMe: () => Promise<UserProfile | null>;
|
||||
|
||||
Reference in New Issue
Block a user