generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
123 lines (121 loc) · 2.75 KB
/
constants.ts
File metadata and controls
123 lines (121 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
import { Match } from './types';
export const MOCK_MATCHES: Match[] = [
{
id: 'm1',
sport: 'soccer',
league: 'Premier League',
homeTeam: 'Arsenal',
awayTeam: 'Liverpool',
score: { home: 1, away: 1 },
time: "Live 64'",
isLive: true,
stats: {
possession: [54, 46],
shotsOnTarget: [5, 4],
corners: [6, 3],
yellowCards: [1, 2]
},
h2h: [
{ date: '2023-12-23', score: { home: 1, away: 1 } },
{ date: '2023-04-09', score: { home: 2, away: 2 } },
{ date: '2022-10-09', score: { home: 3, away: 2 } }
],
markets: [
{
id: 'mk1',
name: 'Match Winner',
selections: [
{ id: 'm1_1', label: '1', value: 2.45 },
{ id: 'm1_x', label: 'X', value: 3.10 },
{ id: 'm1_2', label: '2', value: 2.85 },
]
},
{
id: 'mk1_goals',
name: 'Over/Under 2.5',
selections: [
{ id: 'm1_o25', label: 'Over', value: 1.85 },
{ id: 'm1_u25', label: 'Under', value: 1.95 },
]
}
]
},
{
id: 'm2',
sport: 'soccer',
league: 'La Liga',
homeTeam: 'Real Madrid',
awayTeam: 'Barcelona',
score: { home: 0, away: 2 },
time: "Live 81'",
isLive: true,
stats: {
possession: [42, 58],
shotsOnTarget: [2, 7],
corners: [4, 5],
yellowCards: [3, 1]
},
h2h: [
{ date: '2024-01-14', score: { home: 4, away: 1 } },
{ date: '2023-10-28', score: { home: 1, away: 2 } }
],
markets: [
{
id: 'mk2',
name: 'Match Winner',
selections: [
{ id: 'm2_1', label: '1', value: 12.50 },
{ id: 'm2_x', label: 'X', value: 6.00 },
{ id: 'm2_2', label: '2', value: 1.15 },
]
}
]
},
{
id: 'm3',
sport: 'basketball',
league: 'NBA',
homeTeam: 'Lakers',
awayTeam: 'Warriors',
score: { home: 102, away: 98 },
time: "Q4 4:20",
isLive: true,
stats: {
possession: [50, 50],
shotsOnTarget: [42, 38],
corners: [0, 0],
yellowCards: [0, 0]
},
markets: [
{
id: 'mk3',
name: 'Moneyline',
selections: [
{ id: 'm3_1', label: 'LAL', value: 1.45 },
{ id: 'm3_2', label: 'GSW', value: 2.75 },
]
}
]
},
{
id: 'm5',
sport: 'soccer',
league: 'Serie A',
homeTeam: 'Juventus',
awayTeam: 'AC Milan',
score: { home: 0, away: 0 },
time: "20:45",
isLive: false,
markets: [
{
id: 'mk5',
name: 'Match Winner',
selections: [
{ id: 'm5_1', label: '1', value: 2.10 },
{ id: 'm5_x', label: 'X', value: 3.25 },
{ id: 'm5_2', label: '2', value: 3.60 },
]
}
]
}
];