Skip to content

Commit

Permalink
Fix CardSet
Browse files Browse the repository at this point in the history
  • Loading branch information
zernie committed Jan 13, 2020
1 parent 92f553e commit 531ea0e
Showing 1 changed file with 44 additions and 29 deletions.
73 changes: 44 additions & 29 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,48 @@ declare module "hearthstonejson-client" {
}

export enum CardSet {
// ### STANDARD ###
Basic = "CORE",
Classic = "EXPERT1",

TheWitchwood = "GILNEAS",
TheBoomsdayProject = "BOOMSDAY",
RastakhansRumble = "TROLL",
RiseOfShadows = "DALARAN",
SaviorsOfUldum = "ULDUM",
DescentOfDragons = "DRAGONS",

// ### WILD ###
HallOfFame = "HOF",

CurseOfNaxxramas = "NAXX",
GoblinsVSGnomes = "GVG",
BlackrockMountain = "BRM",
TheGrandTournament = "TGT",
TheLeagueOfExplorers = "LOE",
WhispersOfTheOldGods = "OG",
OneNightInKarazhan = "KARA",
MeanStreetsofGadgetzan = "GANGS",
JourneyToUnGoro = "UNGORO",
KnightsOfTheFrozenThrone = "ICECROWN",
KoboldsAndCatacombs = "LOOTAPALOOZA",

// ### OTHER ###
/** https://hearthstone.gamepedia.com/Tavern_Brawl */
TavernBrawl = "TB",
/** https://hearthstone.gamepedia.com/Mission */
Missions = "MISSIONS",
/** https://hearthstone.gamepedia.com/Battlegrounds */
Battlegrounds = "BATTLEGROUNDS",
/** https://hearthstone.gamepedia.com/Credits_card */
Credits = "CREDITS",
/** https://hearthstone.gamepedia.com/Alternate_hero */
HeroSkins = "HERO_SKINS",
/** https://hearthstone.gamepedia.com/Wild_Event */
WildEvent = "WILD_EVENT",
/** https://hearthstone.gamepedia.com/The_Taverns_of_Time*/
TavernsOfTime = "TAVERNS_OF_TIME"

// INVALID = 0,
// TEST_TEMPORARY = 1,
// DEBUG_SP = "DEBUG_SP",
Expand All @@ -56,33 +98,6 @@ declare module "hearthstonejson-client" {
// OG_RESERVE = "OG_RESERVE",
// KARA_RESERVE = "KARA_RESERVE",
// GANGS_RESERVE = "GANGS_RESERVE",
// TAVERNS_OF_TIME = "TAVERNS_OF_TIME",
Core = "CORE",
Expert1 = "EXPERT1",
HOF = "HOF",
MISSIONS = "MISSIONS",
NAXX = "NAXX",
GVG = "GVG",
BRM = "BRM",
TGT = "TGT",
CREDITS = "CREDITS",
HERO_SKINS = "HERO_SKINS",
TB = "TB",
LOE = "LOE",
OG = "OG",
KARA = "KARA",
GANGS = "GANGS",
UNGORO = "UNGORO",
ICECROWN = "ICECROWN",
LOOTAPALOOZA = "LOOTAPALOOZA",
GILNEAS = "GILNEAS",
BOOMSDAY = "BOOMSDAY",
TROLL = "TROLL",
DALARAN = "DALARAN",
ULDUM = "ULDUM",
DRAGONS = "DRAGONS",
WILD_EVENT = "WILD_EVENT",
BATTLEGROUNDS = "BATTLEGROUNDS"
}

export enum CardType {
Expand All @@ -97,7 +112,7 @@ declare module "hearthstonejson-client" {

export enum Faction {
Horde = "HORDE",
Alliance = "ALLIANCE",
Alliance = "ALLIANCE"
}

export enum MultiClassGroup {
Expand Down Expand Up @@ -165,7 +180,7 @@ declare module "hearthstonejson-client" {
Free = "FREE",
Rare = "RARE",
Epic = "EPIC",
Legendary = "LEGENDARY",
Legendary = "LEGENDARY"
}

export interface CardData {
Expand Down

0 comments on commit 531ea0e

Please sign in to comment.