feat: added review functionality

This commit is contained in:
Moyasee
2025-10-02 00:43:49 +03:00
parent 79498abdb5
commit f08ad361ed
21 changed files with 2003 additions and 6 deletions

View File

@@ -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 {