mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 08:43:57 +00:00
feat: added review functionality
This commit is contained in:
@@ -234,6 +234,25 @@ export interface GameStats {
|
||||
downloadCount: number;
|
||||
playerCount: number;
|
||||
assets: ShopAssets | null;
|
||||
averageScore: number | null;
|
||||
}
|
||||
|
||||
export interface GameReview {
|
||||
id: string;
|
||||
reviewHtml: string;
|
||||
score: number;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
upvotes: number;
|
||||
downvotes: number;
|
||||
isBlocked: boolean;
|
||||
hasUpvoted: boolean;
|
||||
hasDownvoted: boolean;
|
||||
user: {
|
||||
id: string;
|
||||
displayName: string;
|
||||
profileImageUrl: string | null;
|
||||
} | null;
|
||||
}
|
||||
|
||||
export interface TrendingGame extends ShopAssets {
|
||||
|
||||
Reference in New Issue
Block a user