refactor(mock): convert mock ids to numeric strings
This commit is contained in:
+30
-30
@@ -2,73 +2,73 @@ import type { Favorite } from "../types"
|
||||
|
||||
export const mockFavorites: Favorite[] = [
|
||||
{
|
||||
id: "fav1",
|
||||
userId: "u1",
|
||||
id: "9201",
|
||||
userId: "1001",
|
||||
targetType: "player",
|
||||
targetId: "u5",
|
||||
targetId: "1005",
|
||||
createdAt: "2025-01-06T10:30:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav2",
|
||||
userId: "u1",
|
||||
id: "9202",
|
||||
userId: "1001",
|
||||
targetType: "shop",
|
||||
targetId: "shop1",
|
||||
targetId: "3001",
|
||||
createdAt: "2025-01-10T14:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav3",
|
||||
userId: "u1",
|
||||
id: "9203",
|
||||
userId: "1001",
|
||||
targetType: "player",
|
||||
targetId: "u7",
|
||||
targetId: "1007",
|
||||
createdAt: "2025-01-16T20:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav4",
|
||||
userId: "u2",
|
||||
id: "9204",
|
||||
userId: "1002",
|
||||
targetType: "player",
|
||||
targetId: "u6",
|
||||
targetId: "1006",
|
||||
createdAt: "2025-01-09T18:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav5",
|
||||
userId: "u2",
|
||||
id: "9205",
|
||||
userId: "1002",
|
||||
targetType: "shop",
|
||||
targetId: "shop2",
|
||||
targetId: "3002",
|
||||
createdAt: "2025-01-12T09:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav6",
|
||||
userId: "u3",
|
||||
id: "9206",
|
||||
userId: "1003",
|
||||
targetType: "player",
|
||||
targetId: "u8",
|
||||
targetId: "1008",
|
||||
createdAt: "2025-01-12T01:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav7",
|
||||
userId: "u4",
|
||||
id: "9207",
|
||||
userId: "1004",
|
||||
targetType: "player",
|
||||
targetId: "u7",
|
||||
targetId: "1007",
|
||||
createdAt: "2025-01-15T22:30:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav8",
|
||||
userId: "u4",
|
||||
id: "9208",
|
||||
userId: "1004",
|
||||
targetType: "shop",
|
||||
targetId: "shop1",
|
||||
targetId: "3001",
|
||||
createdAt: "2025-01-20T11:00:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav9",
|
||||
userId: "u1",
|
||||
id: "9209",
|
||||
userId: "1001",
|
||||
targetType: "player",
|
||||
targetId: "u9",
|
||||
targetId: "1009",
|
||||
createdAt: "2025-01-18T23:30:00Z",
|
||||
},
|
||||
{
|
||||
id: "fav10",
|
||||
userId: "u3",
|
||||
id: "9210",
|
||||
userId: "1003",
|
||||
targetType: "shop",
|
||||
targetId: "shop3",
|
||||
targetId: "3003",
|
||||
createdAt: "2025-02-09T15:00:00Z",
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user