overtime-utils 0.2.0 → 0.2.2
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/main.js +1 -1
- package/package.json +1 -1
- package/src/constants/leagues/soccer.ts +21 -0
- package/src/enums/sports.ts +6 -4
package/package.json
CHANGED
|
@@ -1206,6 +1206,27 @@ export const SOCCER_LEAGUES: Partial<Record<League, LeagueInfo>> = {
|
|
|
1206
1206
|
opticOddsName: 'England - League 2',
|
|
1207
1207
|
priority: 150,
|
|
1208
1208
|
},
|
|
1209
|
+
[League.ENGLAND_NATIONAL_LEAGUE]: {
|
|
1210
|
+
...SOCCER_DEFAULTS,
|
|
1211
|
+
id: League.ENGLAND_NATIONAL_LEAGUE,
|
|
1212
|
+
label: 'England National League',
|
|
1213
|
+
opticOddsName: 'England - National League',
|
|
1214
|
+
priority: 150,
|
|
1215
|
+
},
|
|
1216
|
+
[League.ENGLAND_NATIONAL_LEAGUE_NORTH]: {
|
|
1217
|
+
...SOCCER_DEFAULTS,
|
|
1218
|
+
id: League.ENGLAND_NATIONAL_LEAGUE_NORTH,
|
|
1219
|
+
label: 'England National League North',
|
|
1220
|
+
opticOddsName: 'England - National League North',
|
|
1221
|
+
priority: 150,
|
|
1222
|
+
},
|
|
1223
|
+
[League.ENGLAND_NATIONAL_LEAGUE_SOUTH]: {
|
|
1224
|
+
...SOCCER_DEFAULTS,
|
|
1225
|
+
id: League.ENGLAND_NATIONAL_LEAGUE_SOUTH,
|
|
1226
|
+
label: 'England National League South',
|
|
1227
|
+
opticOddsName: 'England - National League South',
|
|
1228
|
+
priority: 150,
|
|
1229
|
+
},
|
|
1209
1230
|
[League.GERMANY_BUNDESLIGA_3]: {
|
|
1210
1231
|
...SOCCER_DEFAULTS,
|
|
1211
1232
|
id: League.GERMANY_BUNDESLIGA_3,
|
package/src/enums/sports.ts
CHANGED
|
@@ -31,8 +31,11 @@ export enum OpticOddsSport {
|
|
|
31
31
|
BASKETBALL = 'Basketball',
|
|
32
32
|
BOXING = 'Boxing',
|
|
33
33
|
CRICKET = 'Cricket',
|
|
34
|
+
CURLING = 'Curling',
|
|
34
35
|
CYCLING = 'Cycling',
|
|
35
36
|
DARTS = 'Darts',
|
|
37
|
+
EBASKETALL = `eBasketball`,
|
|
38
|
+
EFOOTBALL = `eFootball`,
|
|
36
39
|
ESPORTS = 'eSports',
|
|
37
40
|
FOOTBALL = 'Football',
|
|
38
41
|
GOLF = 'Golf',
|
|
@@ -54,10 +57,6 @@ export enum OpticOddsSport {
|
|
|
54
57
|
VOLLEYBALL = 'Volleyball',
|
|
55
58
|
WATER_POLO = 'Water Polo',
|
|
56
59
|
WRESTLING = 'Wrestling',
|
|
57
|
-
CURLING = 'Curling',
|
|
58
|
-
EFOOTBALL = `eFootball`,
|
|
59
|
-
EBASKETALL = `eBasket`,
|
|
60
|
-
ESOCCER = `eSoccer`,
|
|
61
60
|
}
|
|
62
61
|
|
|
63
62
|
export enum League {
|
|
@@ -459,6 +458,9 @@ export enum League {
|
|
|
459
458
|
SCOTLAND_CHAMPIONSHIP = 20669,
|
|
460
459
|
TURKEY_1_LIG = 20692,
|
|
461
460
|
ENGLAND_LEAGUE_2 = 20543,
|
|
461
|
+
ENGLAND_NATIONAL_LEAGUE = 20544,
|
|
462
|
+
ENGLAND_NATIONAL_LEAGUE_NORTH = 20748,
|
|
463
|
+
ENGLAND_NATIONAL_LEAGUE_SOUTH = 20749,
|
|
462
464
|
GERMANY_BUNDESLIGA_3 = 20563,
|
|
463
465
|
GREECE_CUP = 20566,
|
|
464
466
|
PORTUGAL_LIGA_3 = 20656,
|