overtime-utils 0.2.34 → 0.2.35
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/basketball.ts +49 -0
- package/src/constants/leagues/soccer.ts +112 -0
- package/src/enums/sports.ts +25 -0
package/package.json
CHANGED
|
@@ -419,4 +419,53 @@ export const BASKETBALL_LEAGUES: Partial<Record<League, LeagueInfo>> = {
|
|
|
419
419
|
opticOddsName: 'Austria - BSL',
|
|
420
420
|
priority: 338,
|
|
421
421
|
},
|
|
422
|
+
[League.JAPAN_B1_LEAGUE]: {
|
|
423
|
+
...BASKETBALL_DEFAULTS,
|
|
424
|
+
id: League.JAPAN_B1_LEAGUE,
|
|
425
|
+
label: 'Japan B1 League',
|
|
426
|
+
opticOddsName: 'Japan - B1 League',
|
|
427
|
+
priority: 318,
|
|
428
|
+
},
|
|
429
|
+
[League.MEXICO_LNBP]: {
|
|
430
|
+
...BASKETBALL_DEFAULTS,
|
|
431
|
+
id: League.MEXICO_LNBP,
|
|
432
|
+
label: 'Mexico LNBP',
|
|
433
|
+
opticOddsName: 'Mexico - LNBP',
|
|
434
|
+
priority: 325,
|
|
435
|
+
},
|
|
436
|
+
[League.PHILIPPINES_GOVERNORS_CUP]: {
|
|
437
|
+
...BASKETBALL_DEFAULTS,
|
|
438
|
+
id: League.PHILIPPINES_GOVERNORS_CUP,
|
|
439
|
+
label: 'Philippines Governors Cup',
|
|
440
|
+
opticOddsName: 'Philippines - Governors Cup',
|
|
441
|
+
priority: 326,
|
|
442
|
+
},
|
|
443
|
+
[League.CZECH_REPUBLIC_NBL]: {
|
|
444
|
+
...BASKETBALL_DEFAULTS,
|
|
445
|
+
id: League.CZECH_REPUBLIC_NBL,
|
|
446
|
+
label: 'Czech Republic NBL',
|
|
447
|
+
opticOddsName: 'Czech Republic - NBL',
|
|
448
|
+
priority: 328,
|
|
449
|
+
},
|
|
450
|
+
[League.INTERNATIONAL_BNXT_LEAGUE]: {
|
|
451
|
+
...BASKETBALL_DEFAULTS,
|
|
452
|
+
id: League.INTERNATIONAL_BNXT_LEAGUE,
|
|
453
|
+
label: 'International BNXT League',
|
|
454
|
+
opticOddsName: 'International - BNXT League',
|
|
455
|
+
priority: 322,
|
|
456
|
+
},
|
|
457
|
+
[League.GERMANY_PRO_A]: {
|
|
458
|
+
...BASKETBALL_DEFAULTS,
|
|
459
|
+
id: League.GERMANY_PRO_A,
|
|
460
|
+
label: 'Germany Pro A',
|
|
461
|
+
opticOddsName: 'Germany - Pro A',
|
|
462
|
+
priority: 330,
|
|
463
|
+
},
|
|
464
|
+
[League.AUSTRALIA_WNBL]: {
|
|
465
|
+
...BASKETBALL_DEFAULTS,
|
|
466
|
+
id: League.AUSTRALIA_WNBL,
|
|
467
|
+
label: 'Australia WNBL',
|
|
468
|
+
opticOddsName: 'Australia - WNBL',
|
|
469
|
+
priority: 335,
|
|
470
|
+
},
|
|
422
471
|
};
|
|
@@ -2292,4 +2292,116 @@ export const SOCCER_LEAGUES: Partial<Record<League, LeagueInfo>> = {
|
|
|
2292
2292
|
opticOddsName: 'Germany - Regionalliga',
|
|
2293
2293
|
priority: 196,
|
|
2294
2294
|
},
|
|
2295
|
+
[League.GERMANY_BUNDESLIGA_U19]: {
|
|
2296
|
+
...SOCCER_DEFAULTS,
|
|
2297
|
+
id: League.GERMANY_BUNDESLIGA_U19,
|
|
2298
|
+
label: 'Germany Bundesliga U19',
|
|
2299
|
+
opticOddsName: 'Germany - Bundesliga U19',
|
|
2300
|
+
priority: 197,
|
|
2301
|
+
},
|
|
2302
|
+
[League.BRAZIL_BRASILEIRO_WOMEN]: {
|
|
2303
|
+
...SOCCER_DEFAULTS,
|
|
2304
|
+
id: League.BRAZIL_BRASILEIRO_WOMEN,
|
|
2305
|
+
label: 'Brazil Brasileiro Women',
|
|
2306
|
+
opticOddsName: 'Brazil - Brasileiro Women',
|
|
2307
|
+
priority: 197,
|
|
2308
|
+
},
|
|
2309
|
+
[League.SWEDEN_ELITETTAN_WOMEN]: {
|
|
2310
|
+
...SOCCER_DEFAULTS,
|
|
2311
|
+
id: League.SWEDEN_ELITETTAN_WOMEN,
|
|
2312
|
+
label: 'Sweden Elitettan Women',
|
|
2313
|
+
opticOddsName: 'Sweden - Elitettan Women',
|
|
2314
|
+
priority: 197,
|
|
2315
|
+
},
|
|
2316
|
+
[League.ARGENTINA_LIGA_PRO_RESERVES]: {
|
|
2317
|
+
...SOCCER_DEFAULTS,
|
|
2318
|
+
id: League.ARGENTINA_LIGA_PRO_RESERVES,
|
|
2319
|
+
label: 'Argentina Liga Pro Reserves',
|
|
2320
|
+
opticOddsName: 'Argentina - Liga Pro Reserves',
|
|
2321
|
+
priority: 198,
|
|
2322
|
+
},
|
|
2323
|
+
[League.JAPAN_J2_LEAGUE]: {
|
|
2324
|
+
...SOCCER_DEFAULTS,
|
|
2325
|
+
id: League.JAPAN_J2_LEAGUE,
|
|
2326
|
+
label: 'Japan J2 League',
|
|
2327
|
+
opticOddsName: 'Japan - J2 League',
|
|
2328
|
+
priority: 184,
|
|
2329
|
+
},
|
|
2330
|
+
[League.JAPAN_J3_LEAGUE]: {
|
|
2331
|
+
...SOCCER_DEFAULTS,
|
|
2332
|
+
id: League.JAPAN_J3_LEAGUE,
|
|
2333
|
+
label: 'Japan J3 League',
|
|
2334
|
+
opticOddsName: 'Japan - J3 League',
|
|
2335
|
+
priority: 192,
|
|
2336
|
+
},
|
|
2337
|
+
[League.FRANCE_NATIONAL_1]: {
|
|
2338
|
+
...SOCCER_DEFAULTS,
|
|
2339
|
+
id: League.FRANCE_NATIONAL_1,
|
|
2340
|
+
label: 'France National 1',
|
|
2341
|
+
opticOddsName: 'France - National 1',
|
|
2342
|
+
priority: 192,
|
|
2343
|
+
},
|
|
2344
|
+
[League.BRAZIL_SERIE_C]: {
|
|
2345
|
+
...SOCCER_DEFAULTS,
|
|
2346
|
+
id: League.BRAZIL_SERIE_C,
|
|
2347
|
+
label: 'Brazil Serie C',
|
|
2348
|
+
opticOddsName: 'Brazil - Serie C',
|
|
2349
|
+
priority: 190,
|
|
2350
|
+
},
|
|
2351
|
+
[League.SERBIA_PRVA_LIGA]: {
|
|
2352
|
+
...SOCCER_DEFAULTS,
|
|
2353
|
+
id: League.SERBIA_PRVA_LIGA,
|
|
2354
|
+
label: 'Serbia Prva Liga',
|
|
2355
|
+
opticOddsName: 'Serbia - Prva Liga',
|
|
2356
|
+
priority: 190,
|
|
2357
|
+
},
|
|
2358
|
+
[League.UKRAINE_PERSHA_LIHA]: {
|
|
2359
|
+
...SOCCER_DEFAULTS,
|
|
2360
|
+
id: League.UKRAINE_PERSHA_LIHA,
|
|
2361
|
+
label: 'Ukraine Persha Liha',
|
|
2362
|
+
opticOddsName: 'Ukraine - Persha Liha',
|
|
2363
|
+
priority: 190,
|
|
2364
|
+
},
|
|
2365
|
+
[League.HUNGARY_NB_II]: {
|
|
2366
|
+
...SOCCER_DEFAULTS,
|
|
2367
|
+
id: League.HUNGARY_NB_II,
|
|
2368
|
+
label: 'Hungary NB II',
|
|
2369
|
+
opticOddsName: 'Hungary - NB II',
|
|
2370
|
+
priority: 192,
|
|
2371
|
+
},
|
|
2372
|
+
[League.ISRAEL_NATIONAL_LEAGUE]: {
|
|
2373
|
+
...SOCCER_DEFAULTS,
|
|
2374
|
+
id: League.ISRAEL_NATIONAL_LEAGUE,
|
|
2375
|
+
label: 'Israel National League',
|
|
2376
|
+
opticOddsName: 'Israel - National League',
|
|
2377
|
+
priority: 192,
|
|
2378
|
+
},
|
|
2379
|
+
[League.SAUDI_ARABIA_DIVISION_1]: {
|
|
2380
|
+
...SOCCER_DEFAULTS,
|
|
2381
|
+
id: League.SAUDI_ARABIA_DIVISION_1,
|
|
2382
|
+
label: 'Saudi Arabia Division 1',
|
|
2383
|
+
opticOddsName: 'Saudi Arabia - Division 1',
|
|
2384
|
+
priority: 188,
|
|
2385
|
+
},
|
|
2386
|
+
[League.SCOTLAND_LEAGUE_ONE]: {
|
|
2387
|
+
...SOCCER_DEFAULTS,
|
|
2388
|
+
id: League.SCOTLAND_LEAGUE_ONE,
|
|
2389
|
+
label: 'Scotland League One',
|
|
2390
|
+
opticOddsName: 'Scotland - League One',
|
|
2391
|
+
priority: 190,
|
|
2392
|
+
},
|
|
2393
|
+
[League.SCOTLAND_LEAGUE_TWO]: {
|
|
2394
|
+
...SOCCER_DEFAULTS,
|
|
2395
|
+
id: League.SCOTLAND_LEAGUE_TWO,
|
|
2396
|
+
label: 'Scotland League Two',
|
|
2397
|
+
opticOddsName: 'Scotland - League Two',
|
|
2398
|
+
priority: 194,
|
|
2399
|
+
},
|
|
2400
|
+
[League.USA_USL_LEAGUE_ONE]: {
|
|
2401
|
+
...SOCCER_DEFAULTS,
|
|
2402
|
+
id: League.USA_USL_LEAGUE_ONE,
|
|
2403
|
+
label: 'USA USL League One',
|
|
2404
|
+
opticOddsName: 'USA - USL League One',
|
|
2405
|
+
priority: 192,
|
|
2406
|
+
},
|
|
2295
2407
|
};
|
package/src/enums/sports.ts
CHANGED
|
@@ -647,6 +647,31 @@ export enum League {
|
|
|
647
647
|
USA_MLS_NEXT_PRO = 20699,
|
|
648
648
|
NORWAY_2_DIVISION = 20643,
|
|
649
649
|
GERMANY_REGIONALLIGA = 21515,
|
|
650
|
+
// Women/youth/reserve leagues crossing $300
|
|
651
|
+
GERMANY_BUNDESLIGA_U19 = 21439,
|
|
652
|
+
BRAZIL_BRASILEIRO_WOMEN = 21208,
|
|
653
|
+
SWEDEN_ELITETTAN_WOMEN = 21269,
|
|
654
|
+
ARGENTINA_LIGA_PRO_RESERVES = 21516,
|
|
655
|
+
// 6-month quality adds (soccer 2nd/3rd tiers + basketball leagues coming into season)
|
|
656
|
+
JAPAN_J2_LEAGUE = 20595,
|
|
657
|
+
JAPAN_J3_LEAGUE = 20596,
|
|
658
|
+
FRANCE_NATIONAL_1 = 20559,
|
|
659
|
+
BRAZIL_SERIE_C = 20504,
|
|
660
|
+
SERBIA_PRVA_LIGA = 20674,
|
|
661
|
+
UKRAINE_PERSHA_LIHA = 20697,
|
|
662
|
+
HUNGARY_NB_II = 20573,
|
|
663
|
+
ISRAEL_NATIONAL_LEAGUE = 20592,
|
|
664
|
+
SAUDI_ARABIA_DIVISION_1 = 20668,
|
|
665
|
+
SCOTLAND_LEAGUE_ONE = 20670,
|
|
666
|
+
SCOTLAND_LEAGUE_TWO = 20671,
|
|
667
|
+
USA_USL_LEAGUE_ONE = 20703,
|
|
668
|
+
JAPAN_B1_LEAGUE = 20207,
|
|
669
|
+
MEXICO_LNBP = 21355,
|
|
670
|
+
PHILIPPINES_GOVERNORS_CUP = 21411,
|
|
671
|
+
CZECH_REPUBLIC_NBL = 21333,
|
|
672
|
+
INTERNATIONAL_BNXT_LEAGUE = 21307,
|
|
673
|
+
GERMANY_PRO_A = 21401,
|
|
674
|
+
AUSTRALIA_WNBL = 21471,
|
|
650
675
|
}
|
|
651
676
|
|
|
652
677
|
export enum ScoringType {
|