@vixoniccom/footbal-score 1.4.6-dev.0 → 1.4.6-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/build/main.js +1 -1
- package/build/main.js.LICENSE.txt +0 -7
- package/build/test/parameters.json +2 -2
- package/build/test/services.json +109 -0
- package/build.zip +0 -0
- package/configuration/dataGroup/dataInputs.ts +5 -44
- package/configuration.json +4 -282
- package/package.json +2 -2
- package/src/App.tsx +62 -160
- package/src/components/Table/components/Results.tsx +2 -2
- package/src/components/Table/components/Row.tsx +2 -1
- package/src/components/Table/components/Time.tsx +4 -3
- package/src/components/Table/index.tsx +7 -1
- package/src/football-loader.ts +27 -0
- package/src/globals.d.ts +28 -0
- package/src/helpers/getFixture.ts +1 -44
- package/src/main.ts +39 -10
- package/src/parameters.d.ts +1 -1
- package/src/test/parameters.json +2 -2
- package/src/test/services.json +109 -0
- package/src/helpers/mockFixtures.ts +0 -74
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export const mockFixtures = [
|
|
2
|
-
{
|
|
3
|
-
fixture: { id: 979139, timestamp: 1671375600, status: { short: 'PEN' } },
|
|
4
|
-
teams: {
|
|
5
|
-
home: { name: 'Argentina', logo: 'https://media.api-sports.io/football/teams/26.png' },
|
|
6
|
-
away: { name: 'France', logo: 'https://media.api-sports.io/football/teams/2.png' },
|
|
7
|
-
},
|
|
8
|
-
goals: { home: 3, away: 3 },
|
|
9
|
-
score: { penalty: { home: 4, away: 2 } },
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
fixture: { id: 855737, timestamp: 1669111200, status: { short: 'FT' } },
|
|
13
|
-
teams: {
|
|
14
|
-
home: { name: 'Argentina', logo: 'https://media.api-sports.io/football/teams/26.png' },
|
|
15
|
-
away: { name: 'Saudi Arabia', logo: 'https://media.api-sports.io/football/teams/23.png' },
|
|
16
|
-
},
|
|
17
|
-
goals: { home: 1, away: 2 },
|
|
18
|
-
score: { penalty: { home: null, away: null } },
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
fixture: { id: 871850, timestamp: 1669143600, status: { short: 'FT' } },
|
|
22
|
-
teams: {
|
|
23
|
-
home: { name: 'France', logo: 'https://media.api-sports.io/football/teams/2.png' },
|
|
24
|
-
away: { name: 'Australia', logo: 'https://media.api-sports.io/football/teams/20.png' },
|
|
25
|
-
},
|
|
26
|
-
goals: { home: 4, away: 1 },
|
|
27
|
-
score: { penalty: { home: null, away: null } },
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
fixture: { id: 855741, timestamp: 1669208400, status: { short: 'FT' } },
|
|
31
|
-
teams: {
|
|
32
|
-
home: { name: 'Germany', logo: 'https://media.api-sports.io/football/teams/25.png' },
|
|
33
|
-
away: { name: 'Japan', logo: 'https://media.api-sports.io/football/teams/12.png' },
|
|
34
|
-
},
|
|
35
|
-
goals: { home: 1, away: 2 },
|
|
36
|
-
score: { penalty: { home: null, away: null } },
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
fixture: { id: 871851, timestamp: 1669219200, status: { short: 'FT' } },
|
|
40
|
-
teams: {
|
|
41
|
-
home: { name: 'Spain', logo: 'https://media.api-sports.io/football/teams/9.png' },
|
|
42
|
-
away: { name: 'Costa Rica', logo: 'https://media.api-sports.io/football/teams/29.png' },
|
|
43
|
-
},
|
|
44
|
-
goals: { home: 7, away: 0 },
|
|
45
|
-
score: { penalty: { home: null, away: null } },
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
fixture: { id: 855746, timestamp: 1669316400, status: { short: 'FT' } },
|
|
49
|
-
teams: {
|
|
50
|
-
home: { name: 'Brazil', logo: 'https://media.api-sports.io/football/teams/6.png' },
|
|
51
|
-
away: { name: 'Serbia', logo: 'https://media.api-sports.io/football/teams/14.png' },
|
|
52
|
-
},
|
|
53
|
-
goals: { home: 2, away: 0 },
|
|
54
|
-
score: { penalty: { home: null, away: null } },
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
fixture: { id: 855735, timestamp: 1669035600, status: { short: 'FT' } },
|
|
58
|
-
teams: {
|
|
59
|
-
home: { name: 'England', logo: 'https://media.api-sports.io/football/teams/10.png' },
|
|
60
|
-
away: { name: 'Iran', logo: 'https://media.api-sports.io/football/teams/22.png' },
|
|
61
|
-
},
|
|
62
|
-
goals: { home: 6, away: 2 },
|
|
63
|
-
score: { penalty: { home: null, away: null } },
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
fixture: { id: 855745, timestamp: 1669305600, status: { short: 'FT' } },
|
|
67
|
-
teams: {
|
|
68
|
-
home: { name: 'Portugal', logo: 'https://media.api-sports.io/football/teams/27.png' },
|
|
69
|
-
away: { name: 'Ghana', logo: 'https://media.api-sports.io/football/teams/1504.png' },
|
|
70
|
-
},
|
|
71
|
-
goals: { home: 3, away: 2 },
|
|
72
|
-
score: { penalty: { home: null, away: null } },
|
|
73
|
-
},
|
|
74
|
-
]
|