mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
Remove Modes in favor of Gamemodes
This commit is contained in:
@@ -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;
|
||||
|
@@ -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'];
|
||||
|
Reference in New Issue
Block a user