overtime-utils 0.1.96 → 0.1.98
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/marketTypes.ts +52 -0
- package/src/enums/marketTypes.ts +6 -0
package/package.json
CHANGED
|
@@ -890,6 +890,41 @@ export const MarketTypeMap: Record<MarketType, MarketTypeInfo> = {
|
|
|
890
890
|
description: 'Will there be overtime in the game',
|
|
891
891
|
resultType: ResultType.EXACT_POSITION,
|
|
892
892
|
},
|
|
893
|
+
[MarketType.FIRST_PERIOD_WILL_THERE_BE_OVERTIME]: {
|
|
894
|
+
id: MarketType.FIRST_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
895
|
+
key: 'firstPeriodWillThereBeOvertime',
|
|
896
|
+
name: 'Overtime 1st',
|
|
897
|
+
description: 'Will there be overtime in the 1st',
|
|
898
|
+
resultType: ResultType.EXACT_POSITION,
|
|
899
|
+
},
|
|
900
|
+
[MarketType.SECOND_PERIOD_WILL_THERE_BE_OVERTIME]: {
|
|
901
|
+
id: MarketType.SECOND_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
902
|
+
key: 'secondPeriodWillThereBeOvertime',
|
|
903
|
+
name: 'Overtime 2nd',
|
|
904
|
+
description: 'Will there be overtime in the 2nd',
|
|
905
|
+
resultType: ResultType.EXACT_POSITION,
|
|
906
|
+
},
|
|
907
|
+
[MarketType.THIRD_PERIOD_WILL_THERE_BE_OVERTIME]: {
|
|
908
|
+
id: MarketType.THIRD_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
909
|
+
key: 'thirdPeriodWillThereBeOvertime',
|
|
910
|
+
name: 'Overtime 3rd',
|
|
911
|
+
description: 'Will there be overtime in the 3rd',
|
|
912
|
+
resultType: ResultType.EXACT_POSITION,
|
|
913
|
+
},
|
|
914
|
+
[MarketType.FOURTH_PERIOD_WILL_THERE_BE_OVERTIME]: {
|
|
915
|
+
id: MarketType.FOURTH_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
916
|
+
key: 'fourthPeriodWillThereBeOvertime',
|
|
917
|
+
name: 'Overtime 4th',
|
|
918
|
+
description: 'Will there be overtime in the 4th',
|
|
919
|
+
resultType: ResultType.EXACT_POSITION,
|
|
920
|
+
},
|
|
921
|
+
[MarketType.FIFTH_PERIOD_WILL_THERE_BE_OVERTIME]: {
|
|
922
|
+
id: MarketType.FIFTH_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
923
|
+
key: 'fifthPeriodWillThereBeOvertime',
|
|
924
|
+
name: 'Overtime 5th',
|
|
925
|
+
description: 'Will there be overtime in the 5th',
|
|
926
|
+
resultType: ResultType.EXACT_POSITION,
|
|
927
|
+
},
|
|
893
928
|
// No runs in the first inning
|
|
894
929
|
[MarketType.FIRST_INNING_NO_RUNS]: {
|
|
895
930
|
id: MarketType.FIRST_INNING_NO_RUNS,
|
|
@@ -2566,6 +2601,12 @@ export const MarketTypeMap: Record<MarketType, MarketTypeInfo> = {
|
|
|
2566
2601
|
name: 'To Score Or Give Assist',
|
|
2567
2602
|
resultType: ResultType.EXACT_POSITION,
|
|
2568
2603
|
},
|
|
2604
|
+
[MarketType.PLAYER_PROPS_FACEOFFS_WON]: {
|
|
2605
|
+
id: MarketType.PLAYER_PROPS_FACEOFFS_WON,
|
|
2606
|
+
key: 'faceoffsWon',
|
|
2607
|
+
name: 'Player Faceoffs Won',
|
|
2608
|
+
resultType: ResultType.OVER_UNDER,
|
|
2609
|
+
},
|
|
2569
2610
|
[MarketType.FIRST_PERIOD_WINNER2_3WAY]: {
|
|
2570
2611
|
id: MarketType.FIRST_PERIOD_WINNER2_3WAY,
|
|
2571
2612
|
key: 'firstPeriod3wayWinner2',
|
|
@@ -4514,6 +4555,7 @@ export const PLAYER_PROPS_MARKET_TYPES = [
|
|
|
4514
4555
|
MarketType.PLAYER_PROPS_SAVES,
|
|
4515
4556
|
MarketType.PLAYER_PROPS_TO_SCORE_AND_ASSIST,
|
|
4516
4557
|
MarketType.PLAYER_PROPS_TO_SCORE_OR_ASSIST,
|
|
4558
|
+
MarketType.PLAYER_PROPS_FACEOFFS_WON,
|
|
4517
4559
|
];
|
|
4518
4560
|
|
|
4519
4561
|
export const FUTURES_MARKET_TYPES = [
|
|
@@ -4576,6 +4618,11 @@ export const OTHER_YES_NO_MARKET_TYPES = [
|
|
|
4576
4618
|
MarketType.CLEAN_SHEET_HOME_TEAM,
|
|
4577
4619
|
MarketType.CLEAN_SHEET_AWAY_TEAM,
|
|
4578
4620
|
MarketType.WILL_THERE_BE_OVERTIME,
|
|
4621
|
+
MarketType.FIRST_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4622
|
+
MarketType.SECOND_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4623
|
+
MarketType.THIRD_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4624
|
+
MarketType.FOURTH_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4625
|
+
MarketType.FIFTH_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4579
4626
|
MarketType.FIRST_INNING_NO_RUNS,
|
|
4580
4627
|
MarketType.GO_THE_DISTANCE,
|
|
4581
4628
|
MarketType.WILL_FIGHT_END_IN_FIRST_MINUTE,
|
|
@@ -4725,6 +4772,7 @@ export const FIRST_PERIOD_MARKET_TYPES = [
|
|
|
4725
4772
|
MarketType.FIRST_MAP_CORRECT_PISTOL_ROUND_SCORE,
|
|
4726
4773
|
MarketType.FIRST_MAP_PISTOL_ROUND_1_ML,
|
|
4727
4774
|
MarketType.FIRST_MAP_PISTOL_ROUND_2_ML,
|
|
4775
|
+
MarketType.FIRST_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4728
4776
|
];
|
|
4729
4777
|
|
|
4730
4778
|
export const SECOND_PERIOD_MARKET_TYPES = [
|
|
@@ -4787,6 +4835,7 @@ export const SECOND_PERIOD_MARKET_TYPES = [
|
|
|
4787
4835
|
MarketType.SECOND_MAP_CORRECT_PISTOL_ROUND_SCORE,
|
|
4788
4836
|
MarketType.SECOND_MAP_PISTOL_ROUND_1_ML,
|
|
4789
4837
|
MarketType.SECOND_MAP_PISTOL_ROUND_2_ML,
|
|
4838
|
+
MarketType.SECOND_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4790
4839
|
];
|
|
4791
4840
|
|
|
4792
4841
|
export const THIRD_PERIOD_MARKET_TYPES = [
|
|
@@ -4841,6 +4890,7 @@ export const THIRD_PERIOD_MARKET_TYPES = [
|
|
|
4841
4890
|
MarketType.THIRD_MAP_CORRECT_PISTOL_ROUND_SCORE,
|
|
4842
4891
|
MarketType.THIRD_MAP_PISTOL_ROUND_1_ML,
|
|
4843
4892
|
MarketType.THIRD_MAP_PISTOL_ROUND_2_ML,
|
|
4893
|
+
MarketType.THIRD_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4844
4894
|
];
|
|
4845
4895
|
|
|
4846
4896
|
export const FOURTH_PERIOD_MARKET_TYPES = [
|
|
@@ -4894,6 +4944,7 @@ export const FOURTH_PERIOD_MARKET_TYPES = [
|
|
|
4894
4944
|
MarketType.FOURTH_MAP_CORRECT_PISTOL_ROUND_SCORE,
|
|
4895
4945
|
MarketType.FOURTH_MAP_PISTOL_ROUND_1_ML,
|
|
4896
4946
|
MarketType.FOURTH_MAP_PISTOL_ROUND_2_ML,
|
|
4947
|
+
MarketType.FOURTH_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4897
4948
|
];
|
|
4898
4949
|
|
|
4899
4950
|
export const FIFTH_PERIOD_MARKET_TYPES = [
|
|
@@ -4941,6 +4992,7 @@ export const FIFTH_PERIOD_MARKET_TYPES = [
|
|
|
4941
4992
|
MarketType.FIFTH_MAP_CORRECT_PISTOL_ROUND_SCORE,
|
|
4942
4993
|
MarketType.FIFTH_MAP_PISTOL_ROUND_1_ML,
|
|
4943
4994
|
MarketType.FIFTH_MAP_PISTOL_ROUND_2_ML,
|
|
4995
|
+
MarketType.FIFTH_PERIOD_WILL_THERE_BE_OVERTIME,
|
|
4944
4996
|
];
|
|
4945
4997
|
|
|
4946
4998
|
export const SIXTH_PERIOD_MARKET_TYPES = [
|
package/src/enums/marketTypes.ts
CHANGED
|
@@ -189,6 +189,11 @@ export enum MarketType {
|
|
|
189
189
|
WHO_WILL_QUALIFY = 10130,
|
|
190
190
|
// Will there be overtime in the game
|
|
191
191
|
WILL_THERE_BE_OVERTIME = 10131,
|
|
192
|
+
FIRST_PERIOD_WILL_THERE_BE_OVERTIME = 10385,
|
|
193
|
+
SECOND_PERIOD_WILL_THERE_BE_OVERTIME = 10386,
|
|
194
|
+
THIRD_PERIOD_WILL_THERE_BE_OVERTIME = 10387,
|
|
195
|
+
FOURTH_PERIOD_WILL_THERE_BE_OVERTIME = 10388,
|
|
196
|
+
FIFTH_PERIOD_WILL_THERE_BE_OVERTIME = 10389,
|
|
192
197
|
// No runs in the first inning
|
|
193
198
|
FIRST_INNING_NO_RUNS = 10132,
|
|
194
199
|
// Will there be a safety
|
|
@@ -240,6 +245,7 @@ export enum MarketType {
|
|
|
240
245
|
PLAYER_PROPS_SAVES = 11301,
|
|
241
246
|
PLAYER_PROPS_TO_SCORE_AND_ASSIST = 11302,
|
|
242
247
|
PLAYER_PROPS_TO_SCORE_OR_ASSIST = 11303,
|
|
248
|
+
PLAYER_PROPS_FACEOFFS_WON = 11308,
|
|
243
249
|
|
|
244
250
|
PLAYER_PROPS_OUTS = 11213,
|
|
245
251
|
PLAYER_PROPS_RBIS = 11214,
|