feat: favorites — type, mock data, and buttons on player/shop detail pages
This commit is contained in:
@@ -3,6 +3,7 @@ import type {
|
||||
ChatSession,
|
||||
Comment,
|
||||
Dispute,
|
||||
Favorite,
|
||||
Game,
|
||||
Notification,
|
||||
Order,
|
||||
@@ -567,3 +568,20 @@ export const mockTransactions: WalletTransaction[] = [
|
||||
|
||||
export const currentUser = mockUsers[0]
|
||||
export const walletBalance = 430
|
||||
|
||||
export const mockFavorites: Favorite[] = [
|
||||
{
|
||||
id: "fav1",
|
||||
userId: "u1",
|
||||
targetType: "player",
|
||||
targetId: "u2",
|
||||
createdAt: "2025-02-16T10:00:00",
|
||||
},
|
||||
{
|
||||
id: "fav2",
|
||||
userId: "u1",
|
||||
targetType: "shop",
|
||||
targetId: "shop1",
|
||||
createdAt: "2025-02-17T14:00:00",
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user