@firestone-hs/reference-data 1.0.31 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,6 +48,7 @@ export declare enum BoosterType {
48
48
  GOLDEN_STANDARD_BUNDLE = 716,
49
49
  REVENDRETH = 729,
50
50
  GOLDEN_STORMWIND = 737,
51
+ RETURN_OF_THE_LICH_KING = 821,
51
52
  GOLDEN_ALTERAC_VALLEY = 841,
52
53
  GOLDEN_THE_SUNKEN_CITY = 850,
53
54
  GOLDEN_REVENDRETH = 874
@@ -52,6 +52,7 @@ var BoosterType;
52
52
  BoosterType[BoosterType["GOLDEN_STANDARD_BUNDLE"] = 716] = "GOLDEN_STANDARD_BUNDLE";
53
53
  BoosterType[BoosterType["REVENDRETH"] = 729] = "REVENDRETH";
54
54
  BoosterType[BoosterType["GOLDEN_STORMWIND"] = 737] = "GOLDEN_STORMWIND";
55
+ BoosterType[BoosterType["RETURN_OF_THE_LICH_KING"] = 821] = "RETURN_OF_THE_LICH_KING";
55
56
  BoosterType[BoosterType["GOLDEN_ALTERAC_VALLEY"] = 841] = "GOLDEN_ALTERAC_VALLEY";
56
57
  BoosterType[BoosterType["GOLDEN_THE_SUNKEN_CITY"] = 850] = "GOLDEN_THE_SUNKEN_CITY";
57
58
  BoosterType[BoosterType["GOLDEN_REVENDRETH"] = 874] = "GOLDEN_REVENDRETH";
@@ -1 +1 @@
1
- {"version":3,"file":"booster-type.js","sourceRoot":"","sources":["../../src/enums/booster-type.ts"],"names":[],"mappings":";;;AACA,IAAY,WAqDX;AArDD,WAAY,WAAW;IACtB,mDAAW,CAAA;IACX,mDAAW,CAAA;IACX,uEAAqB,CAAA;IACrB,8EAAyB,CAAA;IACzB,sDAAa,CAAA;IACb,0EAAuB,CAAA;IACvB,sEAAqB,CAAA;IACrB,8DAAiB,CAAA;IACjB,kDAAW,CAAA;IACX,gEAAkB,CAAA;IAClB,4EAAwB,CAAA;IACxB,gFAA0B,CAAA;IAC1B,wDAAc,CAAA;IACd,8EAAyB,CAAA;IACzB,wEAAsB,CAAA;IACtB,kEAAmB,CAAA;IACnB,oDAAY,CAAA;IACZ,iDAAW,CAAA;IACX,mEAAoB,CAAA;IACpB,qDAAa,CAAA;IACb,+DAAkB,CAAA;IAClB,6DAAiB,CAAA;IACjB,qEAAqB,CAAA;IACrB,mEAAoB,CAAA;IACpB,iEAAmB,CAAA;IACnB,6DAAiB,CAAA;IACjB,qEAAqB,CAAA;IACrB,yDAAe,CAAA;IACf,2EAAwB,CAAA;IACxB,mEAAoB,CAAA;IACpB,qDAAa,CAAA;IACb,mEAAoB,CAAA;IACpB,uEAAsB,CAAA;IACtB,uEAAsB,CAAA;IACtB,qEAAqB,CAAA;IACrB,mEAAoB,CAAA;IACpB,qEAAqB,CAAA;IACrB,uEAAsB,CAAA;IACtB,+EAA0B,CAAA;IAC1B,iFAA2B,CAAA;IAC3B,mEAAoB,CAAA;IACpB,2EAAwB,CAAA;IACxB,qEAAqB,CAAA;IACrB,qEAAqB,CAAA;IACrB,qEAAqB,CAAA;IACrB,yDAAe,CAAA;IACf,mFAA4B,CAAA;IAC5B,2DAAgB,CAAA;IAChB,uEAAsB,CAAA;IACtB,iFAA2B,CAAA;IAC3B,mFAA4B,CAAA;IAC5B,yEAAuB,CAAA;AACxB,CAAC,EArDW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAqDtB","sourcesContent":["// BoosterDbId.cs, not always up-to-date\r\nexport enum BoosterType {\r\n\tINVALID = 0,\r\n\tCLASSIC = 1,\r\n\tGOBLINS_VS_GNOMES = 9,\r\n\tTHE_GRAND_TOURNAMENT = 10,\r\n\tOLD_GODS = 11,\r\n\tFIRST_PURCHASE_OLD = 17,\r\n\tSIGNUP_INCENTIVE = 18,\r\n\tMEAN_STREETS = 19,\r\n\tUNGORO = 20,\r\n\tFROZEN_THRONE = 21,\r\n\tGOLDEN_CLASSIC_PACK = 23,\r\n\tKOBOLDS_AND_CATACOMBS = 30,\r\n\tWITCHWOOD = 31,\r\n\tTHE_BOOMSDAY_PROJECT = 38,\r\n\tRASTAKHANS_RUMBLE = 40,\r\n\tMAMMOTH_BUNDLE = 41,\r\n\tDALARAN = 49,\r\n\tULDUM = 128,\r\n\tFIRST_PURCHASE = 181,\r\n\tDRAGONS = 347,\r\n\tBLACK_TEMPLE = 423,\r\n\tSCHOLOMANCE = 468,\r\n\tSTANDARD_HUNTER = 470,\r\n\tYEAR_OF_DRAGON = 498,\r\n\tSTANDARD_MAGE = 545,\r\n\tTHE_BARRENS = 553,\r\n\tWAILING_CAVERNS = 583,\r\n\tSTORMWIND = 602,\r\n\tGOLDEN_SCHOLOMANCE = 603,\r\n\tDARKMOON_FAIRE = 616,\r\n\tLETTUCE = 629,\r\n\tSTANDARD_DRUID = 631,\r\n\tSTANDARD_PALADIN = 632,\r\n\tSTANDARD_WARRIOR = 633,\r\n\tSTANDARD_PRIEST = 634,\r\n\tSTANDARD_ROGUE = 635,\r\n\tSTANDARD_SHAMAN = 636,\r\n\tSTANDARD_WARLOCK = 637,\r\n\tSTANDARD_DEMONHUNTER = 638,\r\n\tGOLDEN_DARKMOON_FAIRE = 643,\r\n\tALTERAC_VALLEY = 665,\r\n\tGOLDEN_THE_BARRENS = 686,\r\n\tYEAR_OF_PHOENIX = 688,\r\n\tTHE_SUNKEN_CITY = 694,\r\n\tSTANDARD_BUNDLE = 713,\r\n\tWILD_PACK = 714,\r\n\tGOLDEN_STANDARD_BUNDLE = 716,\r\n\tREVENDRETH = 729,\r\n\tGOLDEN_STORMWIND = 737,\r\n\tGOLDEN_ALTERAC_VALLEY = 841,\r\n\tGOLDEN_THE_SUNKEN_CITY = 850,\r\n\tGOLDEN_REVENDRETH = 874,\r\n}\r\n"]}
1
+ {"version":3,"file":"booster-type.js","sourceRoot":"","sources":["../../src/enums/booster-type.ts"],"names":[],"mappings":";;;AACA,IAAY,WAsDX;AAtDD,WAAY,WAAW;IACtB,mDAAW,CAAA;IACX,mDAAW,CAAA;IACX,uEAAqB,CAAA;IACrB,8EAAyB,CAAA;IACzB,sDAAa,CAAA;IACb,0EAAuB,CAAA;IACvB,sEAAqB,CAAA;IACrB,8DAAiB,CAAA;IACjB,kDAAW,CAAA;IACX,gEAAkB,CAAA;IAClB,4EAAwB,CAAA;IACxB,gFAA0B,CAAA;IAC1B,wDAAc,CAAA;IACd,8EAAyB,CAAA;IACzB,wEAAsB,CAAA;IACtB,kEAAmB,CAAA;IACnB,oDAAY,CAAA;IACZ,iDAAW,CAAA;IACX,mEAAoB,CAAA;IACpB,qDAAa,CAAA;IACb,+DAAkB,CAAA;IAClB,6DAAiB,CAAA;IACjB,qEAAqB,CAAA;IACrB,mEAAoB,CAAA;IACpB,iEAAmB,CAAA;IACnB,6DAAiB,CAAA;IACjB,qEAAqB,CAAA;IACrB,yDAAe,CAAA;IACf,2EAAwB,CAAA;IACxB,mEAAoB,CAAA;IACpB,qDAAa,CAAA;IACb,mEAAoB,CAAA;IACpB,uEAAsB,CAAA;IACtB,uEAAsB,CAAA;IACtB,qEAAqB,CAAA;IACrB,mEAAoB,CAAA;IACpB,qEAAqB,CAAA;IACrB,uEAAsB,CAAA;IACtB,+EAA0B,CAAA;IAC1B,iFAA2B,CAAA;IAC3B,mEAAoB,CAAA;IACpB,2EAAwB,CAAA;IACxB,qEAAqB,CAAA;IACrB,qEAAqB,CAAA;IACrB,qEAAqB,CAAA;IACrB,yDAAe,CAAA;IACf,mFAA4B,CAAA;IAC5B,2DAAgB,CAAA;IAChB,uEAAsB,CAAA;IACtB,qFAA6B,CAAA;IAC7B,iFAA2B,CAAA;IAC3B,mFAA4B,CAAA;IAC5B,yEAAuB,CAAA;AACxB,CAAC,EAtDW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAsDtB","sourcesContent":["// BoosterDbId.cs, not always up-to-date\r\nexport enum BoosterType {\r\n\tINVALID = 0,\r\n\tCLASSIC = 1,\r\n\tGOBLINS_VS_GNOMES = 9,\r\n\tTHE_GRAND_TOURNAMENT = 10,\r\n\tOLD_GODS = 11,\r\n\tFIRST_PURCHASE_OLD = 17,\r\n\tSIGNUP_INCENTIVE = 18,\r\n\tMEAN_STREETS = 19,\r\n\tUNGORO = 20,\r\n\tFROZEN_THRONE = 21,\r\n\tGOLDEN_CLASSIC_PACK = 23,\r\n\tKOBOLDS_AND_CATACOMBS = 30,\r\n\tWITCHWOOD = 31,\r\n\tTHE_BOOMSDAY_PROJECT = 38,\r\n\tRASTAKHANS_RUMBLE = 40,\r\n\tMAMMOTH_BUNDLE = 41,\r\n\tDALARAN = 49,\r\n\tULDUM = 128,\r\n\tFIRST_PURCHASE = 181,\r\n\tDRAGONS = 347,\r\n\tBLACK_TEMPLE = 423,\r\n\tSCHOLOMANCE = 468,\r\n\tSTANDARD_HUNTER = 470,\r\n\tYEAR_OF_DRAGON = 498,\r\n\tSTANDARD_MAGE = 545,\r\n\tTHE_BARRENS = 553,\r\n\tWAILING_CAVERNS = 583,\r\n\tSTORMWIND = 602,\r\n\tGOLDEN_SCHOLOMANCE = 603,\r\n\tDARKMOON_FAIRE = 616,\r\n\tLETTUCE = 629,\r\n\tSTANDARD_DRUID = 631,\r\n\tSTANDARD_PALADIN = 632,\r\n\tSTANDARD_WARRIOR = 633,\r\n\tSTANDARD_PRIEST = 634,\r\n\tSTANDARD_ROGUE = 635,\r\n\tSTANDARD_SHAMAN = 636,\r\n\tSTANDARD_WARLOCK = 637,\r\n\tSTANDARD_DEMONHUNTER = 638,\r\n\tGOLDEN_DARKMOON_FAIRE = 643,\r\n\tALTERAC_VALLEY = 665,\r\n\tGOLDEN_THE_BARRENS = 686,\r\n\tYEAR_OF_PHOENIX = 688,\r\n\tTHE_SUNKEN_CITY = 694,\r\n\tSTANDARD_BUNDLE = 713,\r\n\tWILD_PACK = 714,\r\n\tGOLDEN_STANDARD_BUNDLE = 716,\r\n\tREVENDRETH = 729,\r\n\tGOLDEN_STORMWIND = 737,\r\n\tRETURN_OF_THE_LICH_KING = 821,\r\n\tGOLDEN_ALTERAC_VALLEY = 841,\r\n\tGOLDEN_THE_SUNKEN_CITY = 850,\r\n\tGOLDEN_REVENDRETH = 874,\r\n}\r\n"]}
@@ -21,6 +21,7 @@ export interface ReferenceCard {
21
21
  readonly type: string;
22
22
  readonly mechanics: string[];
23
23
  readonly referencedTags?: string[];
24
+ readonly tags?: string[];
24
25
  readonly rarity?: RarityTYpe;
25
26
  readonly collectible?: boolean;
26
27
  readonly race?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"reference-card.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-card.ts"],"names":[],"mappings":"","sourcesContent":["import { RarityTYpe } from './rarity.type';\r\nimport { ReferencePlayerClass } from './reference-player-class';\r\n\r\nexport interface ReferenceCard {\r\n\treadonly id: string;\r\n\treadonly dbfId: number;\r\n\treadonly name: string;\r\n\treadonly set: string;\r\n\treadonly playerClass: ReferencePlayerClass;\r\n\treadonly classes?: readonly string[];\r\n\treadonly cardClass: string;\r\n\treadonly cost?: number;\r\n\treadonly attack?: number;\r\n\treadonly health?: number;\r\n\treadonly audio?: {\r\n\t\t[audioKey: string]: readonly string[];\r\n\t};\r\n\treadonly audio2?: ReferenceCardAudio;\r\n\treadonly text: string;\r\n\treadonly collectionText: string;\r\n\treadonly flavor: string;\r\n\treadonly type: string;\r\n\treadonly mechanics: string[];\r\n\treadonly referencedTags?: string[];\r\n\treadonly rarity?: RarityTYpe;\r\n\treadonly collectible?: boolean;\r\n\treadonly race?: string;\r\n\treadonly techLevel?: number;\r\n\treadonly durability?: number;\r\n\treadonly armor?: number;\r\n\treadonly battlegroundsHero?: boolean;\r\n\treadonly battlegroundsHeroSkin?: boolean;\r\n\treadonly battlegroundsHeroParentDbfId?: number;\r\n\treadonly battlegroundsPremiumDbfId?: number;\r\n\treadonly battlegroundsNormalDbfId?: number;\r\n\t// TODO: change this to use the enum later?\r\n\treadonly spellSchool?: string;\r\n\treadonly artist?: string;\r\n\treadonly questRewardDbfId?: number;\r\n\treadonly deckDuplicateDbfId?: number;\r\n\treadonly relatedCardDbfIds?: readonly number[];\r\n\r\n\treadonly mercenary: boolean;\r\n\treadonly mercenaryRole: string;\r\n\treadonly mercenaryAbility: boolean;\r\n\treadonly mercenaryPassiveAbility: boolean;\r\n\treadonly mercenaryEquipment: boolean;\r\n\treadonly mercenaryTreasure: boolean;\r\n\treadonly mercenaryAbilityCooldown: number;\r\n\r\n\treadonly locales?: readonly CardLocale[];\r\n}\r\n\r\nexport interface CardLocale {\r\n\treadonly locale: string;\r\n\treadonly name: string;\r\n}\r\n\r\nexport interface ReferenceCardAudio {\r\n\t// The main sounds, like Play, Death, etc.\r\n\t[audioKey: string]: {\r\n\t\t// Each sound can be a juxtaposition of several effects\r\n\t\t[effectKey: string]: {\r\n\t\t\t// These sounds are always played\r\n\t\t\treadonly mainSounds: readonly string[];\r\n\t\t\t// One of each of these is played, with a probability depending on its weight\r\n\t\t\treadonly randomSounds: readonly {\r\n\t\t\t\treadonly weight: number;\r\n\t\t\t\treadonly sound: string;\r\n\t\t\t}[];\r\n\t\t};\r\n\t};\r\n}\r\n"]}
1
+ {"version":3,"file":"reference-card.js","sourceRoot":"","sources":["../../../src/models/reference-cards/reference-card.ts"],"names":[],"mappings":"","sourcesContent":["import { RarityTYpe } from './rarity.type';\r\nimport { ReferencePlayerClass } from './reference-player-class';\r\n\r\nexport interface ReferenceCard {\r\n\treadonly id: string;\r\n\treadonly dbfId: number;\r\n\treadonly name: string;\r\n\treadonly set: string;\r\n\treadonly playerClass: ReferencePlayerClass;\r\n\treadonly classes?: readonly string[];\r\n\treadonly cardClass: string;\r\n\treadonly cost?: number;\r\n\treadonly attack?: number;\r\n\treadonly health?: number;\r\n\treadonly audio?: {\r\n\t\t[audioKey: string]: readonly string[];\r\n\t};\r\n\treadonly audio2?: ReferenceCardAudio;\r\n\treadonly text: string;\r\n\treadonly collectionText: string;\r\n\treadonly flavor: string;\r\n\treadonly type: string;\r\n\treadonly mechanics: string[];\r\n\treadonly referencedTags?: string[];\r\n\treadonly tags?: string[];\r\n\treadonly rarity?: RarityTYpe;\r\n\treadonly collectible?: boolean;\r\n\treadonly race?: string;\r\n\treadonly techLevel?: number;\r\n\treadonly durability?: number;\r\n\treadonly armor?: number;\r\n\treadonly battlegroundsHero?: boolean;\r\n\treadonly battlegroundsHeroSkin?: boolean;\r\n\treadonly battlegroundsHeroParentDbfId?: number;\r\n\treadonly battlegroundsPremiumDbfId?: number;\r\n\treadonly battlegroundsNormalDbfId?: number;\r\n\t// TODO: change this to use the enum later?\r\n\treadonly spellSchool?: string;\r\n\treadonly artist?: string;\r\n\treadonly questRewardDbfId?: number;\r\n\treadonly deckDuplicateDbfId?: number;\r\n\treadonly relatedCardDbfIds?: readonly number[];\r\n\r\n\treadonly mercenary: boolean;\r\n\treadonly mercenaryRole: string;\r\n\treadonly mercenaryAbility: boolean;\r\n\treadonly mercenaryPassiveAbility: boolean;\r\n\treadonly mercenaryEquipment: boolean;\r\n\treadonly mercenaryTreasure: boolean;\r\n\treadonly mercenaryAbilityCooldown: number;\r\n\r\n\treadonly locales?: readonly CardLocale[];\r\n}\r\n\r\nexport interface CardLocale {\r\n\treadonly locale: string;\r\n\treadonly name: string;\r\n}\r\n\r\nexport interface ReferenceCardAudio {\r\n\t// The main sounds, like Play, Death, etc.\r\n\t[audioKey: string]: {\r\n\t\t// Each sound can be a juxtaposition of several effects\r\n\t\t[effectKey: string]: {\r\n\t\t\t// These sounds are always played\r\n\t\t\treadonly mainSounds: readonly string[];\r\n\t\t\t// One of each of these is played, with a probability depending on its weight\r\n\t\t\treadonly randomSounds: readonly {\r\n\t\t\t\treadonly weight: number;\r\n\t\t\t\treadonly sound: string;\r\n\t\t\t}[];\r\n\t\t};\r\n\t};\r\n}\r\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestone-hs/reference-data",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "lint": "eslint --color --fix --ext .ts .",