Skip to content

Commit

Permalink
Add vertigo to map pool
Browse files Browse the repository at this point in the history
  • Loading branch information
gigobyte committed Apr 8, 2019
1 parent 95c549b commit f48cfee
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/enums/Map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export const enum Map {
Train = 'de_train',
Cobblestone = 'de_cobblestone',
Overpass = 'de_overpass',
Tuscan = 'de_tuscan'
Tuscan = 'de_tuscan',
Vertigo = 'de_vertigo'
}
1 change: 1 addition & 0 deletions src/enums/MapSlug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export enum MapSlug {
Dust2 = 'd2',
Nuke = 'nuke',
Tuscan = 'tcn',
Vertigo = 'vertigo',
Season = '-',
Default = '-'
}
18 changes: 17 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ import { getPlayer } from './endpoints/getPlayer'
import { getEvent } from './endpoints/getEvent'
import { getPlayerStats } from './endpoints/getPlayerStats'
import { getPlayerRanking } from './endpoints/getPlayerRanking'
import { MapSlug } from './enums/MapSlug'
import { Map } from './enums/Map'
import { MatchType } from './enums/MatchType'
import { RankingFilter } from './enums/RankingFilter'
import { StreamCategory } from './enums/StreamCategory'
import { ThreadCategory } from './enums/ThreadCategory'
import { WinType } from './enums/WinType'

export class HLTVFactory {
constructor(private readonly config: HLTVConfig) {}
Expand Down Expand Up @@ -44,4 +51,13 @@ export class HLTVFactory {
const hltvInstance = new HLTVFactory(defaultConfig)

export default hltvInstance
export { hltvInstance as HLTV }
export {
hltvInstance as HLTV,
MapSlug,
Map,
MatchType,
RankingFilter,
StreamCategory,
ThreadCategory,
WinType
}

0 comments on commit f48cfee

Please sign in to comment.