From 93d6961a4c9a29cc013fc5d6b51875d97e625541 Mon Sep 17 00:00:00 2001 From: maxswa Date: Mon, 17 Jun 2019 16:30:44 -0400 Subject: [PATCH] Remove Modes in favor of Gamemodes --- src/types.ts | 2 -- src/utils/constants.ts | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/types.ts b/src/types.ts index f55676d..519ded2 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,7 +1,5 @@ export type Gamemode = 'main' | 'iron' | 'hc' | 'ult' | 'dmm' | 'sdmm' | 'dmmt'; -export type Mode = Gamemode | 'full'; - export interface Skill { rank: number; level: number; diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 7ca1761..63cfe52 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -1,4 +1,4 @@ -import { SkillName, ClueType, BHType, Gamemode, Mode } from '../types'; +import { SkillName, ClueType, BHType, Gamemode } from '../types'; export const BASE_URL = 'http://services.runescape.com/m=hiscore_oldschool'; export const STATS_URL = 'index_lite.ws?player='; @@ -69,4 +69,3 @@ export const GAMEMODES: Gamemode[] = [ 'sdmm', 'dmmt', ]; -export const MODES: Mode[] = [...GAMEMODES, 'full'];