refactor: rewrite and expand mock data into modular files
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
import type { Favorite } from "../types"
|
||||
|
||||
export const mockFavorites: Favorite[] = [
|
||||
{
|
||||
id: "fav1",
|
||||
userId: "u1",
|
||||
targetType: "player",
|
||||
targetId: "u5",
|
||||
createdAt: "2025-01-06T10:30:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav2",
|
||||
userId: "u1",
|
||||
targetType: "shop",
|
||||
targetId: "shop1",
|
||||
createdAt: "2025-01-10T14:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav3",
|
||||
userId: "u1",
|
||||
targetType: "player",
|
||||
targetId: "u7",
|
||||
createdAt: "2025-01-16T20:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav4",
|
||||
userId: "u2",
|
||||
targetType: "player",
|
||||
targetId: "u6",
|
||||
createdAt: "2025-01-09T18:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav5",
|
||||
userId: "u2",
|
||||
targetType: "shop",
|
||||
targetId: "shop2",
|
||||
createdAt: "2025-01-12T09:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav6",
|
||||
userId: "u3",
|
||||
targetType: "player",
|
||||
targetId: "u8",
|
||||
createdAt: "2025-01-12T01:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav7",
|
||||
userId: "u4",
|
||||
targetType: "player",
|
||||
targetId: "u7",
|
||||
createdAt: "2025-01-15T22:30:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav8",
|
||||
userId: "u4",
|
||||
targetType: "shop",
|
||||
targetId: "shop1",
|
||||
createdAt: "2025-01-20T11:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav9",
|
||||
userId: "u1",
|
||||
targetType: "player",
|
||||
targetId: "u9",
|
||||
createdAt: "2025-01-18T23:30:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav10",
|
||||
userId: "u3",
|
||||
targetType: "shop",
|
||||
targetId: "shop3",
|
||||
createdAt: "2025-02-09T15:00:00Z",
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user