From b2bdd3d2ced237d9c9be4bcbc3aecf8745c8b100 Mon Sep 17 00:00:00 2001 From: maxswa Date: Sun, 19 Feb 2023 18:27:56 -0500 Subject: [PATCH] Add new `Gamemode`s --- src/types.ts | 5 ++++- src/utils/constants.ts | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 037ef4c..be007ec 100644 --- a/src/types.ts +++ b/src/types.ts @@ -5,7 +5,10 @@ export type Gamemode = | 'hardcore' | 'deadman' | 'seasonal' - | 'tournament'; + | 'tournament' + | 'skiller' + | 'oneDefence' + | 'freshStart'; export interface Skill { rank: number; diff --git a/src/utils/constants.ts b/src/utils/constants.ts index a9afca2..eb078aa 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -22,7 +22,10 @@ export const GAMEMODE_URL: GamemodeUrl = { ultimate: `${BASE_URL}_ultimate/`, deadman: `${BASE_URL}_deadman/`, seasonal: `${BASE_URL}_seasonal/`, - tournament: `${BASE_URL}_tournament/` + tournament: `${BASE_URL}_tournament/`, + skiller: `${BASE_URL}_skiller/`, + oneDefence: `${BASE_URL}_skiller_defence/`, + freshStart: `${BASE_URL}_fresh_start/` }; export const SKILLS: SkillName[] = [ 'overall',