@smartico/public-api 0.0.154 → 0.0.155
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/.prettierrc +12 -0
- package/dist/Base/ProtocolRequest.d.ts +1 -1
- package/dist/Base/ProtocolResponse.d.ts +1 -1
- package/dist/Core/CheckSegmentMatchRequest.d.ts +1 -1
- package/dist/Core/CheckSegmentMatchResponse.d.ts +1 -1
- package/dist/Core/GetAchievementsUserInfoRequest.d.ts +1 -1
- package/dist/Core/GetAchievementsUserInfoResponse.d.ts +1 -1
- package/dist/Core/GetLabelInfoRequest.d.ts +1 -1
- package/dist/Core/GetLabelInfoResponse.d.ts +1 -1
- package/dist/Core/GetTranslationsRequest.d.ts +2 -2
- package/dist/Core/GetTranslationsResponse.d.ts +1 -1
- package/dist/Core/ResponseIdentify.d.ts +2 -2
- package/dist/CustomSections/GetCustomSectionsRequest.d.ts +1 -1
- package/dist/CustomSections/GetCustomSectionsResponse.d.ts +2 -2
- package/dist/CustomSections/UICustomSection.d.ts +2 -2
- package/dist/GResponse.d.ts +1 -1
- package/dist/Inbox/GetInboxMessagesRequest.d.ts +1 -1
- package/dist/Inbox/GetInboxMessagesResponse.d.ts +3 -3
- package/dist/Inbox/InboxMessage.d.ts +2 -2
- package/dist/Inbox/MarkInboxMessageDeletedRequest.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageDeletedResponse.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageReadRequest.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageReadResponse.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageStarredRequest.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageStarredResponse.d.ts +1 -1
- package/dist/Inbox/index.d.ts +8 -8
- package/dist/Jackpots/GetJackpotsPotsRequest.d.ts +1 -1
- package/dist/Jackpots/GetJackpotsPotsResponse.d.ts +2 -2
- package/dist/Jackpots/GetJackpotsRequest.d.ts +1 -1
- package/dist/Jackpots/GetJackpotsResponse.d.ts +2 -2
- package/dist/Jackpots/JackpotDetails.d.ts +6 -6
- package/dist/Jackpots/JackpotWinPush.d.ts +3 -3
- package/dist/Jackpots/JackpotsOptinRequest.d.ts +1 -1
- package/dist/Jackpots/JackpotsOptinResponse.d.ts +1 -1
- package/dist/Jackpots/JackpotsOptoutRequest.d.ts +1 -1
- package/dist/Jackpots/JackpotsOptoutResponse.d.ts +1 -1
- package/dist/Leaderboard/GetLeaderBoardsRequest.d.ts +2 -2
- package/dist/Leaderboard/GetLeaderBoardsResponse.d.ts +2 -2
- package/dist/Leaderboard/LeaderBoardDetails.d.ts +3 -3
- package/dist/Leaderboard/LeaderBoards.d.ts +2 -2
- package/dist/Leaderboard/index.d.ts +6 -6
- package/dist/Level/GetLevelMapResponse.d.ts +3 -3
- package/dist/Level/Level.d.ts +1 -1
- package/dist/MiniGames/SAWAcknowledgeSpinPushRequest.d.ts +1 -1
- package/dist/MiniGames/SAWDoAknowledgeRequest.d.ts +1 -1
- package/dist/MiniGames/SAWDoAknowledgeResponse.d.ts +1 -1
- package/dist/MiniGames/SAWDoSpinRequest.d.ts +1 -1
- package/dist/MiniGames/SAWDoSpinResponse.d.ts +2 -2
- package/dist/MiniGames/SAWEventSawPush.d.ts +1 -1
- package/dist/MiniGames/SAWGetTemplatesRequest.d.ts +1 -1
- package/dist/MiniGames/SAWGetTemplatesResponse.d.ts +3 -3
- package/dist/MiniGames/SAWPrize.d.ts +2 -2
- package/dist/MiniGames/SAWPrizeDropAknowledgeRequest.d.ts +3 -1
- package/dist/MiniGames/SAWPrizeDropAknowledgeResponse.d.ts +1 -1
- package/dist/MiniGames/SAWPrizeDropWinPush.d.ts +4 -3
- package/dist/MiniGames/SAWPrizeUI.d.ts +2 -2
- package/dist/MiniGames/SAWSpinsCountPush.d.ts +1 -1
- package/dist/MiniGames/SAWTemplate.d.ts +4 -4
- package/dist/MiniGames/SAWTemplateUI.d.ts +1 -1
- package/dist/MiniGames/SAWUtils.d.ts +1 -1
- package/dist/MiniGames/index.d.ts +24 -22
- package/dist/Missions/AchClaimPrizeRequest.d.ts +1 -1
- package/dist/Missions/AchClaimPrizeResponse.d.ts +1 -1
- package/dist/Missions/AchievementCategory.d.ts +2 -2
- package/dist/Missions/AchievementOptinRequest.d.ts +1 -1
- package/dist/Missions/AchievementOptinResponse.d.ts +1 -1
- package/dist/Missions/GetAchCategoriesRequest.d.ts +1 -1
- package/dist/Missions/GetAchCategoriesResponse.d.ts +2 -2
- package/dist/Missions/GetAchievementMapRequest.d.ts +1 -1
- package/dist/Missions/GetAchievementMapResponse.d.ts +2 -2
- package/dist/Missions/GetRelatedAchTourRequest.d.ts +1 -1
- package/dist/Missions/GetRelatedAchTourResponse.d.ts +3 -3
- package/dist/Missions/ReloadAchievementsEvent.d.ts +2 -2
- package/dist/Missions/UserAchievement.d.ts +7 -7
- package/dist/Missions/UserAchievementTask.d.ts +2 -2
- package/dist/Missions/index.d.ts +13 -13
- package/dist/Quiz/MarketsInfo.d.ts +2 -2
- package/dist/Quiz/MarketsPerSport.d.ts +1 -1
- package/dist/SmarticoAPI.d.ts +8 -8
- package/dist/SmarticoLib/index.d.ts +39 -39
- package/dist/Store/BuyStoreItemRequest.d.ts +1 -1
- package/dist/Store/BuyStoreItemResponse.d.ts +1 -1
- package/dist/Store/GetCategoriesStoreResponse.d.ts +2 -2
- package/dist/Store/GetStoreHistoryRequest.d.ts +1 -1
- package/dist/Store/GetStoreHistoryResponse.d.ts +2 -2
- package/dist/Store/GetStoreItemsResponse.d.ts +2 -2
- package/dist/Store/StoreCategory.d.ts +2 -2
- package/dist/Store/StoreItem.d.ts +3 -3
- package/dist/Store/StoreItemPurchased.d.ts +2 -2
- package/dist/Store/index.d.ts +10 -10
- package/dist/Tournaments/GetTournamentInfoRequest.d.ts +1 -1
- package/dist/Tournaments/GetTournamentInfoResponse.d.ts +5 -5
- package/dist/Tournaments/GetTournamentsRequest.d.ts +1 -1
- package/dist/Tournaments/GetTournamentsResponse.d.ts +2 -2
- package/dist/Tournaments/Tournament.d.ts +8 -8
- package/dist/Tournaments/TournamentPrize.d.ts +1 -1
- package/dist/Tournaments/TournamentRegisterRequest.d.ts +1 -1
- package/dist/Tournaments/TournamentRegisterResponse.d.ts +2 -2
- package/dist/Tournaments/TournamentUtils.d.ts +3 -3
- package/dist/Tournaments/index.d.ts +16 -16
- package/dist/WSAPI/WSAPI.d.ts +65 -65
- package/dist/WSAPI/WSAPITypes.d.ts +18 -18
- package/dist/index.js +76 -78
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +103 -103
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Base/AchRelatedGame.ts +13 -13
- package/src/Base/ClassId.ts +118 -121
- package/src/Base/ProtocolMessage.ts +6 -7
- package/src/Base/ProtocolRequest.ts +4 -5
- package/src/Base/ProtocolResponse.ts +3 -5
- package/src/CookieStore.ts +10 -11
- package/src/Core/ActivityTypeLimited.ts +17 -18
- package/src/Core/CheckSegmentMatchRequest.ts +2 -3
- package/src/Core/CheckSegmentMatchResponse.ts +6 -6
- package/src/Core/CoreUtils.ts +37 -39
- package/src/Core/GetAchievementsUserInfoRequest.ts +2 -4
- package/src/Core/GetAchievementsUserInfoResponse.ts +4 -4
- package/src/Core/GetLabelInfoRequest.ts +2 -4
- package/src/Core/GetLabelInfoResponse.ts +4 -4
- package/src/Core/GetTranslationsRequest.ts +5 -7
- package/src/Core/GetTranslationsResponse.ts +3 -5
- package/src/Core/PublicLabelSettings.ts +29 -30
- package/src/Core/PublicProperties.ts +7 -7
- package/src/Core/ResponseIdentify.ts +12 -12
- package/src/Core/TranslationArea.ts +8 -9
- package/src/Core/index.ts +1 -1
- package/src/CustomSections/AchCustomSection.ts +20 -20
- package/src/CustomSections/GetCustomSectionsRequest.ts +2 -4
- package/src/CustomSections/GetCustomSectionsResponse.ts +4 -5
- package/src/CustomSections/UICustomSection.ts +30 -29
- package/src/CustomSections/index.ts +4 -4
- package/src/ErrorCodes.ts +11 -12
- package/src/GResponse.ts +5 -5
- package/src/ILogger.ts +6 -10
- package/src/Inbox/GetInboxMessagesRequest.ts +4 -5
- package/src/Inbox/GetInboxMessagesResponse.ts +15 -17
- package/src/Inbox/InboxMessage.ts +31 -33
- package/src/Inbox/InboxMessageType.ts +9 -9
- package/src/Inbox/MarkInboxMessageDeletedRequest.ts +3 -3
- package/src/Inbox/MarkInboxMessageDeletedResponse.ts +3 -3
- package/src/Inbox/MarkInboxMessageReadRequest.ts +4 -5
- package/src/Inbox/MarkInboxMessageReadResponse.ts +4 -5
- package/src/Inbox/MarkInboxMessageStarredRequest.ts +4 -5
- package/src/Inbox/MarkInboxMessageStarredResponse.ts +4 -5
- package/src/Inbox/index.ts +10 -10
- package/src/IntUtils.ts +72 -85
- package/src/Jackpots/GetJackpotsPotsRequest.ts +3 -3
- package/src/Jackpots/GetJackpotsPotsResponse.ts +3 -5
- package/src/Jackpots/GetJackpotsRequest.ts +4 -6
- package/src/Jackpots/GetJackpotsResponse.ts +5 -7
- package/src/Jackpots/JackPotWinner.ts +11 -12
- package/src/Jackpots/JackpotContributionType.ts +3 -4
- package/src/Jackpots/JackpotDetails.ts +31 -31
- package/src/Jackpots/JackpotHtmlTemplate.ts +3 -3
- package/src/Jackpots/JackpotPot.ts +11 -12
- package/src/Jackpots/JackpotPublicMeta.ts +16 -16
- package/src/Jackpots/JackpotType.ts +2 -5
- package/src/Jackpots/JackpotWinPush.ts +6 -6
- package/src/Jackpots/JackpotsOptinRequest.ts +3 -5
- package/src/Jackpots/JackpotsOptinResponse.ts +2 -4
- package/src/Jackpots/JackpotsOptoutRequest.ts +3 -5
- package/src/Jackpots/JackpotsOptoutResponse.ts +2 -4
- package/src/Jackpots/index.ts +16 -16
- package/src/Leaderboard/GetLeaderBoardsRequest.ts +8 -9
- package/src/Leaderboard/GetLeaderBoardsResponse.ts +4 -6
- package/src/Leaderboard/LeaderBoardDetails.ts +11 -12
- package/src/Leaderboard/LeaderBoardPeriodType.ts +3 -3
- package/src/Leaderboard/LeaderBoardPosition.ts +9 -10
- package/src/Leaderboard/LeaderBoardPublicMeta.ts +3 -4
- package/src/Leaderboard/LeaderBoards.ts +42 -42
- package/src/Leaderboard/index.ts +6 -6
- package/src/Level/GetLevelMapResponse.ts +18 -21
- package/src/Level/Level.ts +10 -11
- package/src/Level/LevelPublicMeta.ts +17 -17
- package/src/Level/index.ts +3 -3
- package/src/MiniGames/SAWAcknowledgeSpinPushRequest.ts +3 -4
- package/src/MiniGames/SAWAcknowledgeType.ts +3 -4
- package/src/MiniGames/SAWAskForUsername.ts +3 -4
- package/src/MiniGames/SAWBuyInType.ts +15 -13
- package/src/MiniGames/SAWDoAknowledgeRequest.ts +3 -3
- package/src/MiniGames/SAWDoAknowledgeResponse.ts +3 -3
- package/src/MiniGames/SAWDoSpinRequest.ts +3 -5
- package/src/MiniGames/SAWDoSpinResponse.ts +10 -11
- package/src/MiniGames/SAWEventSawPush.ts +3 -4
- package/src/MiniGames/SAWGameType.ts +23 -21
- package/src/MiniGames/SAWGetTemplatesRequest.ts +3 -3
- package/src/MiniGames/SAWGetTemplatesResponse.ts +53 -65
- package/src/MiniGames/SAWPrize.ts +11 -12
- package/src/MiniGames/SAWPrizeDropAknowledgeRequest.ts +5 -3
- package/src/MiniGames/SAWPrizeDropAknowledgeResponse.ts +3 -3
- package/src/MiniGames/SAWPrizeDropWinPush.ts +9 -8
- package/src/MiniGames/SAWPrizeType.ts +23 -22
- package/src/MiniGames/SAWPrizeUI.ts +17 -17
- package/src/MiniGames/SAWSpinErrorCode.ts +15 -16
- package/src/MiniGames/SAWSpinsCountPush.ts +4 -4
- package/src/MiniGames/SAWTemplate.ts +29 -29
- package/src/MiniGames/SAWTemplateUI.ts +45 -47
- package/src/MiniGames/SAWUtils.ts +23 -26
- package/src/MiniGames/SAWWinSoundType.ts +10 -11
- package/src/MiniGames/index.ts +24 -22
- package/src/Missions/AchCategoryPublicMeta.ts +2 -3
- package/src/Missions/AchClaimPrizeRequest.ts +4 -5
- package/src/Missions/AchClaimPrizeResponse.ts +3 -4
- package/src/Missions/AchievementCategory.ts +14 -15
- package/src/Missions/AchievementOptinRequest.ts +3 -5
- package/src/Missions/AchievementOptinResponse.ts +2 -4
- package/src/Missions/AchievementPublicMeta.ts +19 -20
- package/src/Missions/AchievementStatus.ts +7 -8
- package/src/Missions/AchievementTaskPublicMeta.ts +2 -3
- package/src/Missions/AchievementTaskType.ts +2 -2
- package/src/Missions/AchievementType.ts +2 -3
- package/src/Missions/GetAchCategoriesRequest.ts +2 -4
- package/src/Missions/GetAchCategoriesResponse.ts +4 -5
- package/src/Missions/GetAchievementMapRequest.ts +2 -4
- package/src/Missions/GetAchievementMapResponse.ts +3 -5
- package/src/Missions/GetRelatedAchTourRequest.ts +3 -4
- package/src/Missions/GetRelatedAchTourResponse.ts +5 -7
- package/src/Missions/ReloadAchievementsEvent.ts +5 -5
- package/src/Missions/ScheduledMissionType.ts +4 -5
- package/src/Missions/UserAchievement.ts +104 -108
- package/src/Missions/UserAchievementTask.ts +13 -15
- package/src/Missions/index.ts +19 -19
- package/src/NodeCache.ts +44 -49
- package/src/OCache.ts +51 -57
- package/src/Quiz/MarketsAnswers.ts +34 -34
- package/src/Quiz/MarketsInfo.ts +184 -177
- package/src/Quiz/MarketsPerSport.ts +30 -37
- package/src/Quiz/MarketsType.ts +28 -28
- package/src/Quiz/ScoreResultTypes.ts +18 -18
- package/src/Quiz/SportTypes.ts +4 -4
- package/src/Quiz/index.ts +6 -6
- package/src/SmarticoAPI.ts +769 -730
- package/src/SmarticoLib/index.ts +1053 -1069
- package/src/Store/BuyStoreItemErrorCode.ts +10 -10
- package/src/Store/BuyStoreItemRequest.ts +2 -2
- package/src/Store/BuyStoreItemResponse.ts +2 -3
- package/src/Store/GetCategoriesStoreResponse.ts +3 -8
- package/src/Store/GetStoreHistoryRequest.ts +3 -3
- package/src/Store/GetStoreHistoryResponse.ts +4 -4
- package/src/Store/GetStoreItemsResponse.ts +3 -4
- package/src/Store/StoreCategory.ts +14 -15
- package/src/Store/StoreCategoryPublicMeta.ts +2 -3
- package/src/Store/StoreItem.ts +32 -33
- package/src/Store/StoreItemPublicMeta.ts +10 -10
- package/src/Store/StoreItemPurchased.ts +40 -40
- package/src/Store/StoreItemType.ts +20 -19
- package/src/Store/index.ts +13 -13
- package/src/Tournaments/GetTournamentInfoRequest.ts +2 -3
- package/src/Tournaments/GetTournamentInfoResponse.ts +45 -48
- package/src/Tournaments/GetTournamentsRequest.ts +2 -4
- package/src/Tournaments/GetTournamentsResponse.ts +7 -14
- package/src/Tournaments/Tournament.ts +109 -115
- package/src/Tournaments/TournamentInstanceStatus.ts +17 -18
- package/src/Tournaments/TournamentPlayer.ts +7 -8
- package/src/Tournaments/TournamentPrize.ts +9 -10
- package/src/Tournaments/TournamentPublicMeta.ts +26 -26
- package/src/Tournaments/TournamentRegisterRequest.ts +2 -3
- package/src/Tournaments/TournamentRegisterResponse.ts +3 -7
- package/src/Tournaments/TournamentRegistrationError.ts +9 -9
- package/src/Tournaments/TournamentRegistrationStatus.ts +25 -27
- package/src/Tournaments/TournamentRegistrationType.ts +15 -16
- package/src/Tournaments/TournamentType.ts +3 -4
- package/src/Tournaments/TournamentUtils.ts +90 -89
- package/src/Tournaments/index.ts +16 -16
- package/src/WSAPI/WSAPI.ts +781 -763
- package/src/WSAPI/WSAPITypes.ts +574 -586
- package/src/index.ts +15 -15
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export enum QuizAnswersValueType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
2
|
+
HomeTeam = '1',
|
|
3
|
+
AwayTeam = '2',
|
|
4
|
+
Draw = 'x',
|
|
5
|
+
HomeTeamHomeTeam = '1/1',
|
|
6
|
+
HomeTeamDraw = '1/x',
|
|
7
|
+
HomeTeamAwayTeam = '1/2',
|
|
8
|
+
DrawHomeTeam = 'x/1',
|
|
9
|
+
DrawDraw = 'x/x',
|
|
10
|
+
DrawAwayTeam = 'x/2',
|
|
11
|
+
AwayTeamHomeTeam = '2/1',
|
|
12
|
+
AwayTeamDraw = '2/x',
|
|
13
|
+
AwayTeamAwayTeam = '2/2',
|
|
14
|
+
Yes = 'yes',
|
|
15
|
+
No = 'no',
|
|
16
|
+
Odd = 'odd',
|
|
17
|
+
Even = 'even',
|
|
18
|
+
HomeOdd = '1/odd',
|
|
19
|
+
HomeEven = '1/even',
|
|
20
|
+
AwayOdd = '2/odd',
|
|
21
|
+
AwayEven = '2/even',
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export const quizAnswerHomeTeamReplacementText = '{quiz_home_team}'
|
|
25
|
-
export const quizAnswerAwayTeamReplacementText = '{quiz_away_team}'
|
|
26
|
-
export const quizDrawReplacementText = '{quiz_draw}'
|
|
27
|
-
export const quizYesReplacementText = '{yes}'
|
|
28
|
-
export const quizNoReplacementText = '{no}'
|
|
29
|
-
export const quizOddReplacementText = '{odd}'
|
|
30
|
-
export const quizEvenReplacementText = '{even}'
|
|
31
|
-
export const quizOrReplacementText = '{or}'
|
|
24
|
+
export const quizAnswerHomeTeamReplacementText = '{quiz_home_team}'
|
|
25
|
+
export const quizAnswerAwayTeamReplacementText = '{quiz_away_team}'
|
|
26
|
+
export const quizDrawReplacementText = '{quiz_draw}'
|
|
27
|
+
export const quizYesReplacementText = '{yes}'
|
|
28
|
+
export const quizNoReplacementText = '{no}'
|
|
29
|
+
export const quizOddReplacementText = '{odd}'
|
|
30
|
+
export const quizEvenReplacementText = '{even}'
|
|
31
|
+
export const quizOrReplacementText = '{or}'
|
|
32
32
|
|
|
33
33
|
export const quizAnswersTrKeys = {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
[quizDrawReplacementText]: 'quizAnswer_draw',
|
|
35
|
+
[quizYesReplacementText]: 'quizAnswer_yes',
|
|
36
|
+
[quizNoReplacementText]: 'quizAnswer_no',
|
|
37
|
+
[quizOddReplacementText]: 'quizAnswer_odd',
|
|
38
|
+
[quizEvenReplacementText]: 'quizAnswer_even',
|
|
39
|
+
[quizOrReplacementText]: 'quizAnswer_or',
|
|
40
40
|
}
|
package/src/Quiz/MarketsInfo.ts
CHANGED
|
@@ -1,186 +1,193 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
QuizAnswersValueType,
|
|
3
|
+
quizAnswerAwayTeamReplacementText,
|
|
4
|
+
quizAnswerHomeTeamReplacementText,
|
|
5
|
+
quizDrawReplacementText,
|
|
6
|
+
quizEvenReplacementText,
|
|
7
|
+
quizNoReplacementText,
|
|
8
|
+
quizOddReplacementText,
|
|
9
|
+
quizOrReplacementText,
|
|
10
|
+
quizYesReplacementText,
|
|
11
|
+
} from './MarketsAnswers'
|
|
12
|
+
import { SAWGPMarketType } from './MarketsType'
|
|
3
13
|
|
|
4
14
|
const yesNoAnswers = [
|
|
5
|
-
|
|
6
|
-
|
|
15
|
+
{ text: quizYesReplacementText, value: QuizAnswersValueType.Yes },
|
|
16
|
+
{ text: quizNoReplacementText, value: QuizAnswersValueType.No },
|
|
7
17
|
]
|
|
8
18
|
|
|
9
19
|
const homeAwayAnswers = [
|
|
10
|
-
|
|
11
|
-
|
|
20
|
+
{ text: quizAnswerHomeTeamReplacementText, value: QuizAnswersValueType.HomeTeam },
|
|
21
|
+
{ text: quizAnswerAwayTeamReplacementText, value: QuizAnswersValueType.AwayTeam },
|
|
12
22
|
]
|
|
13
23
|
|
|
14
|
-
const homeAwayDrawAnswers = [
|
|
15
|
-
...homeAwayAnswers,
|
|
16
|
-
{ text: quizDrawReplacementText, value: QuizAnswersValueType.Draw },
|
|
17
|
-
]
|
|
24
|
+
const homeAwayDrawAnswers = [...homeAwayAnswers, { text: quizDrawReplacementText, value: QuizAnswersValueType.Draw }]
|
|
18
25
|
|
|
19
26
|
export const marketsInfo = [
|
|
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
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
]
|
|
27
|
+
{
|
|
28
|
+
type: SAWGPMarketType.OneXTwo,
|
|
29
|
+
name: '1x2',
|
|
30
|
+
question: { text: 'Who will win the match ?', trKey: 'quizQuestion_1x2' },
|
|
31
|
+
answers: homeAwayDrawAnswers,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: SAWGPMarketType.OneXTwoHalftime,
|
|
35
|
+
name: '1x2 Halftime',
|
|
36
|
+
question: { text: 'Who will lead the first half of the match ?', trKey: 'quizQuestion_x2half' },
|
|
37
|
+
answers: homeAwayDrawAnswers,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
type: SAWGPMarketType.HalftimeFulltime,
|
|
41
|
+
name: 'Halftime / Fulltime',
|
|
42
|
+
question: { text: 'Who will lead the first half and who will win the match ?', trKey: 'quizQuestion__HalftimeFulltime' },
|
|
43
|
+
answers: [
|
|
44
|
+
{ text: `${quizAnswerHomeTeamReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamHomeTeam },
|
|
45
|
+
{ text: `${quizAnswerHomeTeamReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.HomeTeamDraw },
|
|
46
|
+
{ text: `${quizAnswerHomeTeamReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamAwayTeam },
|
|
47
|
+
{ text: `${quizDrawReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.DrawHomeTeam },
|
|
48
|
+
{ text: `${quizDrawReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.DrawDraw },
|
|
49
|
+
{ text: `${quizDrawReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.DrawAwayTeam },
|
|
50
|
+
{ text: `${quizAnswerAwayTeamReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamHomeTeam },
|
|
51
|
+
{ text: `${quizAnswerAwayTeamReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.AwayTeamDraw },
|
|
52
|
+
{ text: `${quizAnswerAwayTeamReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamAwayTeam },
|
|
53
|
+
],
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
type: SAWGPMarketType.FirstGoal,
|
|
57
|
+
name: 'First Goal',
|
|
58
|
+
question: { text: 'Who will score the first goal ?', trKey: 'quizQuestion_firstGoal' },
|
|
59
|
+
answers: homeAwayDrawAnswers,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
type: SAWGPMarketType.LastGoal,
|
|
63
|
+
name: 'Last Goal',
|
|
64
|
+
question: { text: 'Who will score the last goal ?', trKey: 'quizQuestion_lastGoal' },
|
|
65
|
+
answers: homeAwayAnswers,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: SAWGPMarketType.DoubleChance,
|
|
69
|
+
name: 'Double Chance',
|
|
70
|
+
question: { text: 'Who will win the match? Choose a combination:', trKey: 'quizQuestion_doubleChance' },
|
|
71
|
+
answers: [
|
|
72
|
+
{ text: `${quizDrawReplacementText} ${quizOrReplacementText} ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamDraw },
|
|
73
|
+
{ text: `${quizAnswerHomeTeamReplacementText} ${quizOrReplacementText} ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamAwayTeam },
|
|
74
|
+
{ text: `${quizDrawReplacementText} ${quizOrReplacementText} ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamDraw },
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
type: SAWGPMarketType.OverUnder2_5,
|
|
79
|
+
name: 'Over/Under 2.5',
|
|
80
|
+
question: { text: 'Will there be 3 or more goals in the match?', trKey: 'quizQuestion_overUnder2_5' },
|
|
81
|
+
answers: yesNoAnswers,
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: SAWGPMarketType.OverUnder1_5Halftime,
|
|
85
|
+
name: 'Over/Under 1.5 Halftime',
|
|
86
|
+
question: { text: 'Will there be 2 or more goals in the first half?', trKey: 'quizQuestion_overUnder1_5Halftime' },
|
|
87
|
+
answers: yesNoAnswers,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: SAWGPMarketType.OverUnder1_5__2ndHalf,
|
|
91
|
+
name: 'Over/Under 1.5 2nd Half',
|
|
92
|
+
question: { text: 'Will there be 2 or more goals in the second half?', trKey: 'quizQuestion_overUnder1_5__2ndHalf' },
|
|
93
|
+
answers: yesNoAnswers,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: SAWGPMarketType.RedCard,
|
|
97
|
+
name: 'Red Card',
|
|
98
|
+
question: { text: 'Will there be a red card in the match?', trKey: 'quizQuestion_redCard' },
|
|
99
|
+
answers: yesNoAnswers,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: SAWGPMarketType.TotalCorners8_5,
|
|
103
|
+
name: 'Total Corners 8.5',
|
|
104
|
+
question: { text: 'Will there be 9 or more corners in the match?', trKey: 'quizQuestion_totalCorners8_5' },
|
|
105
|
+
answers: yesNoAnswers,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
type: SAWGPMarketType.TotalCorners9_5,
|
|
109
|
+
name: 'Total Corners 9.5',
|
|
110
|
+
question: { text: 'Will there be 10 or more corners in the match?', trKey: 'quizQuestion_totalCorners9_5' },
|
|
111
|
+
answers: yesNoAnswers,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
type: SAWGPMarketType.Corners1x2,
|
|
115
|
+
name: 'Corners 1x2',
|
|
116
|
+
question: { text: 'Which team will have more corners in the match?', trKey: 'quizQuestion_corners1x2' },
|
|
117
|
+
answers: homeAwayAnswers,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
type: SAWGPMarketType.One_Two,
|
|
121
|
+
name: '1-2',
|
|
122
|
+
question: { text: 'Who will win the match ?', trKey: 'quizQuestion_1-2' },
|
|
123
|
+
answers: homeAwayAnswers,
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: SAWGPMarketType.Overtime,
|
|
127
|
+
name: 'Overtime',
|
|
128
|
+
question: { text: 'Will there be overtime in the match?', trKey: 'quizQuestion_overtime' },
|
|
129
|
+
answers: yesNoAnswers,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
type: SAWGPMarketType.OddEven,
|
|
133
|
+
name: 'Odd/Even',
|
|
134
|
+
question: { text: 'Is the sum of all points scored in the game going to be an odd number or even?', trKey: 'quizQuestion_oddEven' },
|
|
135
|
+
answers: [
|
|
136
|
+
{ text: quizOddReplacementText, value: QuizAnswersValueType.Odd },
|
|
137
|
+
{ text: quizEvenReplacementText, value: QuizAnswersValueType.Even },
|
|
138
|
+
],
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
type: SAWGPMarketType.OddEvenHomeAway,
|
|
142
|
+
name: 'Odd/Even Home/Away',
|
|
143
|
+
question: { text: 'Which team will win and what will be the sum of the points (Odd or Even)?', trKey: 'quizQuestion_oddEvenHomeAway' },
|
|
144
|
+
answers: [
|
|
145
|
+
{ text: `${quizAnswerHomeTeamReplacementText} - ${quizOddReplacementText}`, value: QuizAnswersValueType.HomeOdd },
|
|
146
|
+
{ text: `${quizAnswerHomeTeamReplacementText} - ${quizEvenReplacementText}`, value: QuizAnswersValueType.HomeEven },
|
|
147
|
+
{ text: `${quizAnswerAwayTeamReplacementText} - ${quizOddReplacementText}`, value: QuizAnswersValueType.AwayOdd },
|
|
148
|
+
{ text: `${quizAnswerAwayTeamReplacementText} - ${quizEvenReplacementText}`, value: QuizAnswersValueType.AwayEven },
|
|
149
|
+
],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: SAWGPMarketType.FirstSet,
|
|
153
|
+
name: 'First Set',
|
|
154
|
+
question: { text: 'Who will win the first set ?', trKey: 'quizQuestion_firstSet' },
|
|
155
|
+
answers: homeAwayAnswers,
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
type: SAWGPMarketType.SecondSet,
|
|
159
|
+
name: 'Second Set',
|
|
160
|
+
question: { text: 'Who will win the second set ?', trKey: 'quizQuestion_secondSet' },
|
|
161
|
+
answers: homeAwayAnswers,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
type: SAWGPMarketType.ThirdSet,
|
|
165
|
+
name: 'Third Set',
|
|
166
|
+
question: { text: 'Who will win the third set ?', trKey: 'quizQuestion_thirdSet' },
|
|
167
|
+
answers: homeAwayAnswers,
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
type: SAWGPMarketType.FourthSet,
|
|
171
|
+
name: 'Fourth Set',
|
|
172
|
+
question: { text: 'Who will win the fourth set ?', trKey: 'quizQuestion_fourthSet' },
|
|
173
|
+
answers: homeAwayAnswers,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
type: SAWGPMarketType.FifthSet,
|
|
177
|
+
name: 'Fifth Set',
|
|
178
|
+
question: { text: 'Who will win the fifth set ?', trKey: 'quizQuestion_fifthSet' },
|
|
179
|
+
answers: homeAwayAnswers,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
type: SAWGPMarketType.PlayerOneWinsOneSet,
|
|
183
|
+
name: 'Player One Wins One Set',
|
|
184
|
+
question: { text: 'Will Player One win at least one set?', trKey: 'quizQuestion_playerOneWinsOneSet' },
|
|
185
|
+
answers: yesNoAnswers,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
type: SAWGPMarketType.PlayerTwoWinsOneSet,
|
|
189
|
+
name: 'Player Two Wins One Set',
|
|
190
|
+
question: { text: 'Will Player Two win at least one set?', trKey: 'quizQuestion_playerTwoWinsOneSet' },
|
|
191
|
+
answers: yesNoAnswers,
|
|
192
|
+
},
|
|
193
|
+
]
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { SAWGPMarketType } from
|
|
2
|
-
import { QuizSportType } from
|
|
1
|
+
import { SAWGPMarketType } from './MarketsType'
|
|
2
|
+
import { QuizSportType } from './SportTypes'
|
|
3
3
|
|
|
4
4
|
export const QuizMarketPerSport = {
|
|
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
|
-
SAWGPMarketType.FourthSet,
|
|
34
|
-
SAWGPMarketType.FifthSet,
|
|
35
|
-
SAWGPMarketType.PlayerOneWinsOneSet,
|
|
36
|
-
SAWGPMarketType.PlayerTwoWinsOneSet,
|
|
37
|
-
SAWGPMarketType.OddEven
|
|
38
|
-
]
|
|
39
|
-
}
|
|
5
|
+
[QuizSportType.Basketball]: [SAWGPMarketType.One_Two, SAWGPMarketType.Overtime, SAWGPMarketType.OneXTwo, SAWGPMarketType.OddEven, SAWGPMarketType.OddEvenHomeAway, SAWGPMarketType.DoubleChance],
|
|
6
|
+
[QuizSportType.Soccer]: [
|
|
7
|
+
SAWGPMarketType.OneXTwo,
|
|
8
|
+
SAWGPMarketType.OneXTwoHalftime,
|
|
9
|
+
SAWGPMarketType.HalftimeFulltime,
|
|
10
|
+
SAWGPMarketType.FirstGoal,
|
|
11
|
+
SAWGPMarketType.LastGoal,
|
|
12
|
+
SAWGPMarketType.DoubleChance,
|
|
13
|
+
SAWGPMarketType.OverUnder2_5,
|
|
14
|
+
SAWGPMarketType.OverUnder1_5Halftime,
|
|
15
|
+
SAWGPMarketType.OverUnder1_5__2ndHalf,
|
|
16
|
+
SAWGPMarketType.RedCard,
|
|
17
|
+
SAWGPMarketType.TotalCorners8_5,
|
|
18
|
+
SAWGPMarketType.TotalCorners9_5,
|
|
19
|
+
SAWGPMarketType.Corners1x2,
|
|
20
|
+
],
|
|
21
|
+
[QuizSportType.Tennis]: [
|
|
22
|
+
SAWGPMarketType.One_Two,
|
|
23
|
+
SAWGPMarketType.FirstSet,
|
|
24
|
+
SAWGPMarketType.SecondSet,
|
|
25
|
+
SAWGPMarketType.ThirdSet,
|
|
26
|
+
SAWGPMarketType.FourthSet,
|
|
27
|
+
SAWGPMarketType.FifthSet,
|
|
28
|
+
SAWGPMarketType.PlayerOneWinsOneSet,
|
|
29
|
+
SAWGPMarketType.PlayerTwoWinsOneSet,
|
|
30
|
+
SAWGPMarketType.OddEven,
|
|
31
|
+
],
|
|
32
|
+
}
|
package/src/Quiz/MarketsType.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
export enum SAWGPMarketType {
|
|
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
|
-
|
|
2
|
+
TwoTeamsWithScore = 1,
|
|
3
|
+
RedCard = 2,
|
|
4
|
+
OneXTwo = 3,
|
|
5
|
+
OneXTwoHalftime = 4,
|
|
6
|
+
HalftimeFulltime = 5,
|
|
7
|
+
FirstGoal = 6,
|
|
8
|
+
DoubleChance = 7,
|
|
9
|
+
OverUnder2_5 = 8,
|
|
10
|
+
OverUnder1_5Halftime = 9,
|
|
11
|
+
OverUnder1_5__2ndHalf = 10,
|
|
12
|
+
TotalCorners8_5 = 11,
|
|
13
|
+
TotalCorners9_5 = 12,
|
|
14
|
+
Corners1x2 = 13,
|
|
15
|
+
One_Two = 14,
|
|
16
|
+
Overtime = 15,
|
|
17
|
+
OddEven = 16,
|
|
18
|
+
OddEvenHomeAway = 17,
|
|
19
|
+
FirstSet = 18,
|
|
20
|
+
SecondSet = 19,
|
|
21
|
+
ThirdSet = 20,
|
|
22
|
+
FourthSet = 21,
|
|
23
|
+
FifthSet = 22,
|
|
24
|
+
PlayerOneWinsOneSet = 23,
|
|
25
|
+
PlayerTwoWinsOneSet = 24,
|
|
26
|
+
LastGoal = 25,
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
28
|
+
CustomSport = 26,
|
|
29
|
+
CustomNonSport = 27,
|
|
30
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
type TeamType = 'Home' | 'Away'
|
|
2
|
-
type CardType = 'Yellow' | 'Red'
|
|
3
|
-
type TimeType = 'FT' | '1st Half' | '2nd Half'
|
|
1
|
+
type TeamType = 'Home' | 'Away'
|
|
2
|
+
type CardType = 'Yellow' | 'Red'
|
|
3
|
+
type TimeType = 'FT' | '1st Half' | '2nd Half'
|
|
4
4
|
|
|
5
5
|
export type OverHalfFullTimeScoreType = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
home: number
|
|
7
|
+
away: number
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export type CardScoreType = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
time: 'string'
|
|
12
|
+
type: CardType
|
|
13
|
+
player: string
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export type CornerScoreType = {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
team: TeamType
|
|
18
|
+
timeType: TimeType
|
|
19
|
+
totalCount: number
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export type GoalScoreType = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
team: TeamType
|
|
24
|
+
time: string
|
|
25
|
+
player: string
|
|
26
|
+
matchScore: OverHalfFullTimeScoreType
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export type SetsScoreType = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
30
|
+
set: number
|
|
31
|
+
setScore: OverHalfFullTimeScoreType
|
|
32
|
+
}
|
package/src/Quiz/SportTypes.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export enum QuizSportType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Soccer = 1,
|
|
3
|
+
Tennis = 5,
|
|
4
|
+
Basketball = 6,
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
export const quizSupportedSports = [QuizSportType.Basketball, QuizSportType.Soccer, QuizSportType.Tennis]
|
|
7
|
+
export const quizSupportedSports = [QuizSportType.Basketball, QuizSportType.Soccer, QuizSportType.Tennis]
|