@blizzard-api/classic-wow 4.1.1 → 4.1.3
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.
- package/dist/character-hunter-pets/index.d.ts +1 -1
- package/dist/character-specializations/index.d.ts +1 -1
- package/dist/connected-realm/index.d.ts +1 -1
- package/dist/creature/index.d.ts +1 -1
- package/dist/{index-C3DdXCOU.d.ts → index-BRNFC-Aq.d.ts} +3 -3
- package/dist/{index-BlQvrHvE.d.ts → index-CWcrm3hr.d.ts} +6 -6
- package/dist/{index-DCIoQ85A.d.ts → index-CzEa7VGs.d.ts} +4 -4
- package/dist/{index-CDBSDqLP.d.ts → index-DXDg6Aem.d.ts} +3 -3
- package/dist/{index-DX3qGBKu.d.ts → index-DZVCvkEt.d.ts} +6 -6
- package/dist/{index-N_48k0Vf.d.ts → index-Dd0y1_mP.d.ts} +3 -3
- package/dist/{index-D0O_RzQb.d.ts → index-Didf1LeM.d.ts} +4 -4
- package/dist/{index-CN-9LndK.d.ts → index-piwJjUoy.d.ts} +3 -3
- package/dist/index.d.ts +10 -10
- package/dist/index.js.map +1 -1
- package/dist/item/index.d.ts +1 -1
- package/dist/playable-class/index.d.ts +1 -1
- package/dist/playable-race/index.d.ts +1 -1
- package/dist/power-type/index.d.ts +1 -1
- package/dist/realm/index.d.ts +4 -5
- package/dist/{types-5Mwrkm82.d.ts → types-Bq1HfqJ9.d.ts} +3 -8
- package/package.json +23 -23
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterHunterPetsSummary } from "../index-
|
|
1
|
+
import { t as characterHunterPetsSummary } from "../index-BRNFC-Aq.js";
|
|
2
2
|
export { characterHunterPetsSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as characterSpecializationsSummary } from "../index-
|
|
1
|
+
import { t as characterSpecializationsSummary } from "../index-CzEa7VGs.js";
|
|
2
2
|
export { characterSpecializationsSummary };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as connectedRealmIndex, r as connectedRealmSearch, t as connectedRealm } from "../index-
|
|
1
|
+
import { n as connectedRealmIndex, r as connectedRealmSearch, t as connectedRealm } from "../index-DXDg6Aem.js";
|
|
2
2
|
export { connectedRealm, connectedRealmIndex, connectedRealmSearch };
|
package/dist/creature/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as creatureFamilyMedia, c as creatureTypeIndex, i as creatureFamilyIndex, n as creatureDisplayMedia, o as creatureSearch, r as creatureFamily, s as creatureType, t as creature } from "../index-
|
|
1
|
+
import { a as creatureFamilyMedia, c as creatureTypeIndex, i as creatureFamilyIndex, n as creatureDisplayMedia, o as creatureSearch, r as creatureFamily, s as creatureType, t as creature } from "../index-piwJjUoy.js";
|
|
2
2
|
export { creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BlizzardNamespaces, Character, KeyBase,
|
|
1
|
+
import { BlizzardNamespaces, Character, KeyBase, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
//#region src/character-hunter-pets/types.d.ts
|
|
3
3
|
interface CharacterHunterPetsSummaryResponse extends ResponseBase {
|
|
4
4
|
character: Character;
|
|
5
5
|
hunter_pets: Array<HunterPet>;
|
|
6
6
|
}
|
|
7
7
|
interface HunterPet {
|
|
8
|
-
creature:
|
|
8
|
+
creature: NullishNameIdKey;
|
|
9
9
|
creature_display: KeyBase & {
|
|
10
10
|
id: number;
|
|
11
11
|
};
|
|
@@ -27,4 +27,4 @@ interface HunterPet {
|
|
|
27
27
|
declare function characterHunterPetsSummary(namespace: Extract<BlizzardNamespaces, 'profile-classic1x' | 'profile-classic'>, realmSlug: string, characterName: string): Resource<CharacterHunterPetsSummaryResponse>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { CharacterHunterPetsSummaryResponse as n, characterHunterPetsSummary as t };
|
|
30
|
-
//# sourceMappingURL=index-
|
|
30
|
+
//# sourceMappingURL=index-BRNFC-Aq.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BlizzardNamespaces, GenderName, Href, KeyBase, MediaAsset,
|
|
1
|
+
import { BlizzardNamespaces, GenderName, Href, KeyBase, MediaAsset, NameIdKey, NullishNameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
//#region src/playable-class/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The response for a playable class index.
|
|
5
5
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
6
|
*/
|
|
7
7
|
interface PlayableClassIndexResponse extends ResponseBase {
|
|
8
|
-
classes: Array<
|
|
8
|
+
classes: Array<NullishNameIdKey>;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* The response for playable class media.
|
|
@@ -19,11 +19,11 @@ interface PlayableClassMediaResponse extends ResponseBase {
|
|
|
19
19
|
* The response for a playable class.
|
|
20
20
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft-classic/game-data-apis}
|
|
21
21
|
*/
|
|
22
|
-
interface PlayableClassResponse extends
|
|
23
|
-
additional_power_types?: Array<
|
|
22
|
+
interface PlayableClassResponse extends NullishNameId, ResponseBase {
|
|
23
|
+
additional_power_types?: Array<NullishNameIdKey>;
|
|
24
24
|
gender_name: GenderName;
|
|
25
25
|
media: Media;
|
|
26
|
-
playable_races: Array<
|
|
26
|
+
playable_races: Array<NullishNameIdKey>;
|
|
27
27
|
power_type: NameIdKey;
|
|
28
28
|
pvp_talent_slots: Href;
|
|
29
29
|
specializations?: Array<NameIdKey>;
|
|
@@ -55,4 +55,4 @@ declare function playableClassIndex(namespace: Extract<BlizzardNamespaces, 'stat
|
|
|
55
55
|
declare function playableClassMedia(namespace: Extract<BlizzardNamespaces, 'static-classic1x' | 'static-classic'>, playableClassId: number): Resource<PlayableClassMediaResponse>;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { PlayableClassMediaResponse as a, PlayableClassIndexResponse as i, playableClassIndex as n, PlayableClassResponse as o, playableClassMedia as r, playableClass as t };
|
|
58
|
-
//# sourceMappingURL=index-
|
|
58
|
+
//# sourceMappingURL=index-CWcrm3hr.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlizzardNamespaces, Character, NameId, NameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
1
|
+
import { BlizzardNamespaces, Character, NameId, NameIdKey, NullishNameId, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
//#region src/character-specializations/types.d.ts
|
|
3
3
|
interface CharacterSpecializationsSummaryResponse extends ResponseBase {
|
|
4
4
|
active_specialization?: NameIdKey;
|
|
@@ -24,10 +24,10 @@ interface SpecializationGroupItem {
|
|
|
24
24
|
interface SpellTooltip {
|
|
25
25
|
cast_time: string;
|
|
26
26
|
cooldown?: string;
|
|
27
|
-
description: string;
|
|
27
|
+
description: null | string;
|
|
28
28
|
power_cost?: null | string;
|
|
29
29
|
range?: string;
|
|
30
|
-
spell:
|
|
30
|
+
spell: NullishNameId;
|
|
31
31
|
}
|
|
32
32
|
interface TalentElement {
|
|
33
33
|
spell_tooltip: SpellTooltip;
|
|
@@ -47,4 +47,4 @@ interface TalentElement {
|
|
|
47
47
|
declare function characterSpecializationsSummary(namespace: Extract<BlizzardNamespaces, 'profile-classic1x' | 'profile-classic'>, realmSlug: string, characterName: string): Resource<CharacterSpecializationsSummaryResponse>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { CharacterSpecializationsSummaryResponse as n, characterSpecializationsSummary as t };
|
|
50
|
-
//# sourceMappingURL=index-
|
|
50
|
+
//# sourceMappingURL=index-CzEa7VGs.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as RealmLocales, o as RealmTimezone, s as RealmTypeCapitalized } from "./types-Bq1HfqJ9.js";
|
|
2
2
|
import { BaseSearchParameters, BlizzardNamespaces, Href, KeyBase, Locales, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
3
3
|
//#region src/connected-realm/types.d.ts
|
|
4
4
|
/**
|
|
@@ -55,7 +55,7 @@ interface ConnectedRealmSearchResponseItem extends KeyBase {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
interface Realm$1 {
|
|
58
|
-
category:
|
|
58
|
+
category: string;
|
|
59
59
|
connected_realm: Href;
|
|
60
60
|
id: number;
|
|
61
61
|
is_tournament: boolean;
|
|
@@ -124,4 +124,4 @@ declare function connectedRealmIndex(namespace: Extract<BlizzardNamespaces, 'dyn
|
|
|
124
124
|
declare function connectedRealmSearch(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>, options: ConnectedRealmSearchParameters): Resource<ConnectedRealmSearchResponse, ConnectedRealmSearchParameters>;
|
|
125
125
|
//#endregion
|
|
126
126
|
export { ConnectedRealmResponse as a, ConnectedRealmIndexResponse as i, connectedRealmIndex as n, ConnectedRealmSearchParameters as o, connectedRealmSearch as r, ConnectedRealmSearchResponse as s, connectedRealm as t };
|
|
127
|
-
//# sourceMappingURL=index-
|
|
127
|
+
//# sourceMappingURL=index-DXDg6Aem.d.ts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BlizzardNamespaces, Faction, GenderName,
|
|
1
|
+
import { BlizzardNamespaces, Faction, GenderName, NullishNameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
//#region src/playable-race/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The playable race index response.
|
|
5
5
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
6
|
*/
|
|
7
7
|
interface PlayableRaceIndexResponse extends ResponseBase {
|
|
8
|
-
races: Array<
|
|
8
|
+
races: Array<NullishNameIdKey>;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* The playable race response.
|
|
12
12
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
13
13
|
*/
|
|
14
|
-
interface PlayableRaceResponse extends
|
|
14
|
+
interface PlayableRaceResponse extends NullishNameId, ResponseBase {
|
|
15
15
|
faction: Faction;
|
|
16
16
|
gender_name: GenderName;
|
|
17
17
|
is_allied_race: boolean;
|
|
18
18
|
is_selectable: boolean;
|
|
19
|
-
playable_classes: Array<
|
|
20
|
-
racial_spells: Array<
|
|
19
|
+
playable_classes: Array<NullishNameIdKey>;
|
|
20
|
+
racial_spells: Array<NullishNameIdKey>;
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/playable-race/index.d.ts
|
|
@@ -36,4 +36,4 @@ declare function playableRace(namespace: Extract<BlizzardNamespaces, 'static-cla
|
|
|
36
36
|
declare function playableRaceIndex(namespace: Extract<BlizzardNamespaces, 'static-classic1x' | 'static-classic'>): Resource<PlayableRaceIndexResponse>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { PlayableRaceResponse as i, playableRaceIndex as n, PlayableRaceIndexResponse as r, playableRace as t };
|
|
39
|
-
//# sourceMappingURL=index-
|
|
39
|
+
//# sourceMappingURL=index-DZVCvkEt.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BlizzardNamespaces, NameId,
|
|
1
|
+
import { BlizzardNamespaces, NameId, NullishNameIdKey, Resource, ResponseBase } from "@blizzard-api/core";
|
|
2
2
|
//#region src/power-type/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The response for a power type index.
|
|
5
5
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
6
|
*/
|
|
7
7
|
interface PowerTypeIndexResponse extends ResponseBase {
|
|
8
|
-
power_types: Array<
|
|
8
|
+
power_types: Array<NullishNameIdKey>;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* The response for a power type.
|
|
@@ -29,4 +29,4 @@ declare function powerType(namespace: Extract<BlizzardNamespaces, 'static-classi
|
|
|
29
29
|
declare function powerTypeIndex(namespace: Extract<BlizzardNamespaces, 'static-classic1x' | 'static-classic'>): Resource<PowerTypeIndexResponse>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { PowerTypeResponse as i, powerTypeIndex as n, PowerTypeIndexResponse as r, powerType as t };
|
|
32
|
-
//# sourceMappingURL=index-
|
|
32
|
+
//# sourceMappingURL=index-Dd0y1_mP.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BaseSearchParameters, BlizzardNamespaces, Color, KeyBase, Locales, MediaAsset, NameId, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, BlizzardNamespaces, Color, KeyBase, Locales, MediaAsset, NameId, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
//#region src/item/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The response for an item class index.
|
|
5
5
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
6
|
*/
|
|
7
7
|
interface ItemClassIndexResponse extends ResponseBase {
|
|
8
|
-
item_classes: Array<
|
|
8
|
+
item_classes: Array<NullishNameIdKey>;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* The response for an item class.
|
|
@@ -178,7 +178,7 @@ interface PreviewItem {
|
|
|
178
178
|
shield_block?: Armor;
|
|
179
179
|
spells?: Array<Spell>;
|
|
180
180
|
stats?: Array<Stat>;
|
|
181
|
-
unique_equipped?: 'Unique';
|
|
181
|
+
unique_equipped?: 'Unique' | (string & {});
|
|
182
182
|
weapon?: Weapon;
|
|
183
183
|
}
|
|
184
184
|
interface Recipe {
|
|
@@ -286,4 +286,4 @@ declare function itemSearch(namespace: Extract<BlizzardNamespaces, 'static-class
|
|
|
286
286
|
declare function itemSubclass(namespace: Extract<BlizzardNamespaces, 'static-classic1x' | 'static-classic'>, itemClassId: number, itemSubclassId: number): Resource<ItemSubclassResponse>;
|
|
287
287
|
//#endregion
|
|
288
288
|
export { itemSearch as a, ItemClassResponse as c, ItemSearchParameters as d, ItemSearchResponse as f, itemMedia as i, ItemMediaResponse as l, itemClass as n, itemSubclass as o, ItemSubclassResponse as p, itemClassIndex as r, ItemClassIndexResponse as s, item as t, ItemResponse as u };
|
|
289
|
-
//# sourceMappingURL=index-
|
|
289
|
+
//# sourceMappingURL=index-Didf1LeM.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseSearchParameters, BlizzardNamespaces, KeyBase, Locales, MediaAsset, NameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
1
|
+
import { BaseSearchParameters, BlizzardNamespaces, KeyBase, Locales, MediaAsset, NameIdKey, NullishNameIdKey, Resource, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
//#region src/creature/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* The response for creature display media.
|
|
@@ -13,7 +13,7 @@ interface CreatureDisplayMediaResponse extends ResponseBase {
|
|
|
13
13
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
14
14
|
*/
|
|
15
15
|
interface CreatureFamilyIndexResponse extends ResponseBase {
|
|
16
|
-
creature_families: Array<
|
|
16
|
+
creature_families: Array<NullishNameIdKey>;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* The response for creature family media.
|
|
@@ -163,4 +163,4 @@ declare function creatureType(namespace: Extract<BlizzardNamespaces, 'static-cla
|
|
|
163
163
|
declare function creatureTypeIndex(namespace: Extract<BlizzardNamespaces, 'static-classic1x' | 'static-classic'>): Resource<CreatureTypeIndexResponse>;
|
|
164
164
|
//#endregion
|
|
165
165
|
export { CreatureTypeResponse as _, creatureFamilyMedia as a, creatureTypeIndex as c, CreatureFamilyMediaResponse as d, CreatureFamilyResponse as f, CreatureTypeIndexResponse as g, CreatureSearchResponse as h, creatureFamilyIndex as i, CreatureDisplayMediaResponse as l, CreatureSearchParameters as m, creatureDisplayMedia as n, creatureSearch as o, CreatureResponse as p, creatureFamily as r, creatureType as s, creature as t, CreatureFamilyIndexResponse as u };
|
|
166
|
-
//# sourceMappingURL=index-
|
|
166
|
+
//# sourceMappingURL=index-piwJjUoy.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { i as AuctionsResponse, n as auctions, r as AuctionHouseIndexResponse, t as auctionHouseIndex } from "./index-BFpmtbZU.js";
|
|
2
2
|
import { a as Criteria, i as CharacterAchievementsSummaryResponse, n as characterAchievementsSummary, r as CharacterAchievementStatisticsResponse, t as characterAchievementStatistics } from "./index-CBflGiiF.js";
|
|
3
3
|
import { n as CharacterEquipmentSummaryResponse, t as characterEquipmentSummary } from "./index-BO-EockW.js";
|
|
4
|
-
import { n as CharacterHunterPetsSummaryResponse, t as characterHunterPetsSummary } from "./index-
|
|
4
|
+
import { n as CharacterHunterPetsSummaryResponse, t as characterHunterPetsSummary } from "./index-BRNFC-Aq.js";
|
|
5
5
|
import { n as CharacterMediaSummaryResponse, t as characterMediaSummary } from "./index-Caav35xE.js";
|
|
6
6
|
import { i as CharacterProfileStatusResponse, n as characterProfileSummary, r as CharacterProfileSummaryResponse, t as characterProfileStatus } from "./index-DQHRdkfv.js";
|
|
7
|
-
import { n as CharacterSpecializationsSummaryResponse, t as characterSpecializationsSummary } from "./index-
|
|
7
|
+
import { n as CharacterSpecializationsSummaryResponse, t as characterSpecializationsSummary } from "./index-CzEa7VGs.js";
|
|
8
8
|
import { n as CharacterStatisticsSummaryResponse, t as characterStatisticsSummary } from "./index-C6_j4Esk.js";
|
|
9
|
-
import { a as
|
|
10
|
-
import { a as ConnectedRealmResponse, i as ConnectedRealmIndexResponse, n as connectedRealmIndex, o as ConnectedRealmSearchParameters, r as connectedRealmSearch, s as ConnectedRealmSearchResponse, t as connectedRealm } from "./index-
|
|
11
|
-
import { _ as CreatureTypeResponse, a as creatureFamilyMedia, c as creatureTypeIndex, d as CreatureFamilyMediaResponse, f as CreatureFamilyResponse, g as CreatureTypeIndexResponse, h as CreatureSearchResponse, i as creatureFamilyIndex, l as CreatureDisplayMediaResponse, m as CreatureSearchParameters, n as creatureDisplayMedia, o as creatureSearch, p as CreatureResponse, r as creatureFamily, s as creatureType, t as creature, u as CreatureFamilyIndexResponse } from "./index-
|
|
9
|
+
import { a as RealmSearchResponse, i as RealmSearchParameters, n as RealmLocales, o as RealmTimezone, r as RealmResponse, s as RealmTypeCapitalized, t as RealmIndexResponse } from "./types-Bq1HfqJ9.js";
|
|
10
|
+
import { a as ConnectedRealmResponse, i as ConnectedRealmIndexResponse, n as connectedRealmIndex, o as ConnectedRealmSearchParameters, r as connectedRealmSearch, s as ConnectedRealmSearchResponse, t as connectedRealm } from "./index-DXDg6Aem.js";
|
|
11
|
+
import { _ as CreatureTypeResponse, a as creatureFamilyMedia, c as creatureTypeIndex, d as CreatureFamilyMediaResponse, f as CreatureFamilyResponse, g as CreatureTypeIndexResponse, h as CreatureSearchResponse, i as creatureFamilyIndex, l as CreatureDisplayMediaResponse, m as CreatureSearchParameters, n as creatureDisplayMedia, o as creatureSearch, p as CreatureResponse, r as creatureFamily, s as creatureType, t as creature, u as CreatureFamilyIndexResponse } from "./index-piwJjUoy.js";
|
|
12
12
|
import { a as GuildCrestComponentsIndexResponse, i as GuildCrestBorderEmblemResponse, n as guildCrestComponentsIndex, r as guildCrestEmblem, t as guildCrestBorder } from "./index-BssCYm0w.js";
|
|
13
13
|
import { a as GuildAchievementsClassicEraResponse, c as GuildResponse, i as guildRoster, l as GuildRosterResponse, n as guildAchievements, o as GuildAchievementsResponse, r as guildActivity, s as GuildActivityResponse, t as guild } from "./index-Vjr16k7v.js";
|
|
14
|
-
import { a as itemSearch, c as ItemClassResponse, d as ItemSearchParameters, f as ItemSearchResponse, i as itemMedia, l as ItemMediaResponse, n as itemClass, o as itemSubclass, p as ItemSubclassResponse, r as itemClassIndex, s as ItemClassIndexResponse, t as item, u as ItemResponse } from "./index-
|
|
14
|
+
import { a as itemSearch, c as ItemClassResponse, d as ItemSearchParameters, f as ItemSearchResponse, i as itemMedia, l as ItemMediaResponse, n as itemClass, o as itemSubclass, p as ItemSubclassResponse, r as itemClassIndex, s as ItemClassIndexResponse, t as item, u as ItemResponse } from "./index-Didf1LeM.js";
|
|
15
15
|
import { n as MediaSearchParameters, r as MediaSearchResponse, t as mediaSearch } from "./index-RXB4hyX6.js";
|
|
16
|
-
import { a as PlayableClassMediaResponse, i as PlayableClassIndexResponse, n as playableClassIndex, o as PlayableClassResponse, r as playableClassMedia, t as playableClass } from "./index-
|
|
17
|
-
import { i as PlayableRaceResponse, n as playableRaceIndex, r as PlayableRaceIndexResponse, t as playableRace } from "./index-
|
|
18
|
-
import { i as PowerTypeResponse, n as powerTypeIndex, r as PowerTypeIndexResponse, t as powerType } from "./index-
|
|
16
|
+
import { a as PlayableClassMediaResponse, i as PlayableClassIndexResponse, n as playableClassIndex, o as PlayableClassResponse, r as playableClassMedia, t as playableClass } from "./index-CWcrm3hr.js";
|
|
17
|
+
import { i as PlayableRaceResponse, n as playableRaceIndex, r as PlayableRaceIndexResponse, t as playableRace } from "./index-DZVCvkEt.js";
|
|
18
|
+
import { i as PowerTypeResponse, n as powerTypeIndex, r as PowerTypeIndexResponse, t as powerType } from "./index-Dd0y1_mP.js";
|
|
19
19
|
import { a as pvpRegionalSeasonIndex, c as pvpSeasonIndex, i as pvpRegionalSeason, l as PvpSeasonIndexResponse, n as pvpLeaderboardIndex, o as pvpRewardsIndex, r as pvpRegionIndex, s as pvpSeason, t as pvpLeaderboard, u as PvpSeasonResponse } from "./index-CfxU97nS.js";
|
|
20
20
|
import { realm, realmIndex, realmSearch } from "./realm/index.js";
|
|
21
21
|
import { i as RegionResponse, n as regionIndex, r as RegionIndexResponse, t as region } from "./index-hrWZ9nmx.js";
|
|
@@ -79,5 +79,5 @@ declare const classicWow: {
|
|
|
79
79
|
regionIndex: typeof regionIndex;
|
|
80
80
|
};
|
|
81
81
|
//#endregion
|
|
82
|
-
export { type AuctionHouseIndexResponse, type AuctionsResponse, type CharacterAchievementStatisticsResponse, type CharacterAchievementsSummaryResponse, type CharacterEquipmentSummaryResponse, type CharacterHunterPetsSummaryResponse, type CharacterMediaSummaryResponse, type CharacterProfileStatusResponse, type CharacterProfileSummaryResponse, type CharacterSpecializationsSummaryResponse, type CharacterStatisticsSummaryResponse, type ConnectedRealmIndexResponse, type ConnectedRealmResponse, type ConnectedRealmSearchParameters, type ConnectedRealmSearchResponse, type CreatureDisplayMediaResponse, type CreatureFamilyIndexResponse, type CreatureFamilyMediaResponse, type CreatureFamilyResponse, type CreatureResponse, type CreatureSearchParameters, type CreatureSearchResponse, type CreatureTypeIndexResponse, type CreatureTypeResponse, type Criteria, type GuildAchievementsClassicEraResponse, type GuildAchievementsResponse, type GuildActivityResponse, type GuildCrestBorderEmblemResponse, type GuildCrestComponentsIndexResponse, type GuildResponse, type GuildRosterResponse, type ItemClassIndexResponse, type ItemClassResponse, type ItemMediaResponse, type ItemResponse, type ItemSearchParameters, type ItemSearchResponse, type ItemSubclassResponse, type MediaSearchParameters, type MediaSearchResponse, type PlayableClassIndexResponse, type PlayableClassMediaResponse, type PlayableClassResponse, type PlayableRaceIndexResponse, type PlayableRaceResponse, type PowerTypeIndexResponse, type PowerTypeResponse, type PvpSeasonIndexResponse, type PvpSeasonResponse, type
|
|
82
|
+
export { type AuctionHouseIndexResponse, type AuctionsResponse, type CharacterAchievementStatisticsResponse, type CharacterAchievementsSummaryResponse, type CharacterEquipmentSummaryResponse, type CharacterHunterPetsSummaryResponse, type CharacterMediaSummaryResponse, type CharacterProfileStatusResponse, type CharacterProfileSummaryResponse, type CharacterSpecializationsSummaryResponse, type CharacterStatisticsSummaryResponse, type ConnectedRealmIndexResponse, type ConnectedRealmResponse, type ConnectedRealmSearchParameters, type ConnectedRealmSearchResponse, type CreatureDisplayMediaResponse, type CreatureFamilyIndexResponse, type CreatureFamilyMediaResponse, type CreatureFamilyResponse, type CreatureResponse, type CreatureSearchParameters, type CreatureSearchResponse, type CreatureTypeIndexResponse, type CreatureTypeResponse, type Criteria, type GuildAchievementsClassicEraResponse, type GuildAchievementsResponse, type GuildActivityResponse, type GuildCrestBorderEmblemResponse, type GuildCrestComponentsIndexResponse, type GuildResponse, type GuildRosterResponse, type ItemClassIndexResponse, type ItemClassResponse, type ItemMediaResponse, type ItemResponse, type ItemSearchParameters, type ItemSearchResponse, type ItemSubclassResponse, type MediaSearchParameters, type MediaSearchResponse, type PlayableClassIndexResponse, type PlayableClassMediaResponse, type PlayableClassResponse, type PlayableRaceIndexResponse, type PlayableRaceResponse, type PowerTypeIndexResponse, type PowerTypeResponse, type PvpSeasonIndexResponse, type PvpSeasonResponse, type RealmIndexResponse, type RealmLocales, type RealmResponse, type RealmSearchParameters, type RealmSearchResponse, type RealmTimezone, type RealmTypeCapitalized, type RegionIndexResponse, type RegionResponse, auctionHouseIndex, auctions, characterAchievementStatistics, characterAchievementsSummary, characterEquipmentSummary, characterHunterPetsSummary, characterMediaSummary, characterProfileStatus, characterProfileSummary, characterSpecializationsSummary, characterStatisticsSummary, classicWow, classicWow as default, connectedRealm, connectedRealmIndex, connectedRealmSearch, creature, creatureDisplayMedia, creatureFamily, creatureFamilyIndex, creatureFamilyMedia, creatureSearch, creatureType, creatureTypeIndex, guild, guildAchievements, guildActivity, guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem, guildRoster, item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubclass, mediaSearch, playableClass, playableClassIndex, playableClassMedia, playableRace, playableRaceIndex, powerType, powerTypeIndex, pvpLeaderboard, pvpLeaderboardIndex, pvpRegionIndex, pvpRegionalSeason, pvpRegionalSeasonIndex, pvpRewardsIndex, pvpSeason, pvpSeasonIndex, realm, realmIndex, realmSearch, region, regionIndex };
|
|
83
83
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { auctionHouseIndex, auctions } from './auction-house/index';\
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { auctionHouseIndex, auctions } from './auction-house/index';\nimport { characterAchievementsSummary, characterAchievementStatistics } from './character-achievements/index';\nimport { characterEquipmentSummary } from './character-equipment/index';\nimport { characterHunterPetsSummary } from './character-hunter-pets/index';\nimport { characterMediaSummary } from './character-media/index';\nimport { characterProfileStatus, characterProfileSummary } from './character-profile/index';\nimport { characterSpecializationsSummary } from './character-specializations/index';\nimport { characterStatisticsSummary } from './character-statistics/index';\nimport { connectedRealm, connectedRealmIndex, connectedRealmSearch } from './connected-realm/index';\nimport {\n creature,\n creatureDisplayMedia,\n creatureFamily,\n creatureFamilyIndex,\n creatureFamilyMedia,\n creatureSearch,\n creatureType,\n creatureTypeIndex,\n} from './creature/index';\nimport { guildCrestBorder, guildCrestComponentsIndex, guildCrestEmblem } from './guild-crest/index';\nimport { guild, guildAchievements, guildActivity, guildRoster } from './guild/index';\nimport { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubclass } from './item/index';\nimport { mediaSearch } from './media-search/index';\nimport { playableClass, playableClassIndex, playableClassMedia } from './playable-class/index';\nimport { playableRace, playableRaceIndex } from './playable-race/index';\nimport { powerType, powerTypeIndex } from './power-type/index';\nimport {\n pvpLeaderboard,\n pvpLeaderboardIndex,\n pvpRegionalSeason,\n pvpRegionalSeasonIndex,\n pvpRegionIndex,\n pvpRewardsIndex,\n pvpSeason,\n pvpSeasonIndex,\n} from './pvp-season/index';\nimport { realm, realmIndex, realmSearch } from './realm/index';\nimport { region, regionIndex } from './region/index';\n\nconst classicWow = {\n //Auction House\n auctionHouseIndex,\n auctions,\n //Character Achievements\n characterAchievementsSummary,\n characterAchievementStatistics,\n //Character Equipment\n characterEquipmentSummary,\n //Character Hunter Pets\n characterHunterPetsSummary,\n //Character Media\n characterMediaSummary,\n //Character Profile\n characterProfileStatus,\n characterProfileSummary,\n //Character Specialization\n characterSpecializationsSummary,\n //Character Statistics\n characterStatisticsSummary,\n //Connected Realm\n connectedRealm,\n connectedRealmIndex,\n connectedRealmSearch,\n //Creature\n creature,\n creatureDisplayMedia,\n creatureFamily,\n creatureFamilyIndex,\n creatureFamilyMedia,\n creatureSearch,\n creatureType,\n creatureTypeIndex,\n //Guild\n guild,\n guildAchievements,\n guildActivity,\n guildRoster,\n //Guild Crest\n guildCrestBorder,\n guildCrestComponentsIndex,\n guildCrestEmblem,\n //Item\n item,\n itemClass,\n itemClassIndex,\n itemMedia,\n itemSearch,\n itemSubclass,\n //Media Search\n mediaSearch,\n //Playable Class\n playableClass,\n playableClassIndex,\n playableClassMedia,\n //Playable Race\n playableRace,\n playableRaceIndex,\n //Power Type\n powerType,\n powerTypeIndex,\n //Pvp Season\n pvpLeaderboard,\n pvpLeaderboardIndex,\n pvpRegionalSeason,\n pvpRegionalSeasonIndex,\n pvpRegionIndex,\n pvpRewardsIndex,\n pvpSeason,\n pvpSeasonIndex,\n //Realm\n realm,\n realmIndex,\n realmSearch,\n //Region\n region,\n regionIndex,\n};\nexport default classicWow;\nexport { classicWow };\n\n//Auction House\nexport * from './auction-house/index';\nexport type * from './auction-house/types';\n//Character Achievements\nexport * from './character-achievements/index';\nexport type * from './character-achievements/types';\n//Character Equipment\nexport * from './character-equipment/index';\nexport type * from './character-equipment/types';\n//Character Hunter Pets\nexport * from './character-hunter-pets/index';\nexport type * from './character-hunter-pets/types';\n//Character Media\nexport * from './character-media/index';\nexport type * from './character-media/types';\n//Character Profile\nexport * from './character-profile/index';\nexport type * from './character-profile/types';\n//Character Specialization\nexport * from './character-specializations/index';\nexport type * from './character-specializations/types';\n//Character Statistics\nexport * from './character-statistics/index';\nexport type * from './character-statistics/types';\n//Connected Realm\nexport * from './connected-realm/index';\nexport type * from './connected-realm/types';\n//Creature\nexport * from './creature/index';\nexport type * from './creature/types';\n//Guild\nexport * from './guild/index';\nexport type * from './guild/types';\n//Guild Crest\nexport * from './guild-crest/index';\nexport type * from './guild-crest/types';\n//Item\nexport * from './item/index';\nexport type * from './item/types';\n//Media Search\nexport * from './media-search/index';\nexport type * from './media-search/types';\n//Playable Class\nexport * from './playable-class/index';\nexport type * from './playable-class/types';\n//Playable Race\nexport * from './playable-race/index';\nexport type * from './playable-race/types';\n//Power Type\nexport * from './power-type/index';\nexport type * from './power-type/types';\n//Pvp Season\nexport * from './pvp-season/index';\nexport type * from './pvp-season/types';\n//Realm\nexport * from './realm/index';\nexport type * from './realm/types';\n//Region\nexport * from './region/index';\nexport type * from './region/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuCA,MAAM,aAAa;CAEjB;CACA;CAEA;CACA;CAEA;CAEA;CAEA;CAEA;CACA;CAEA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CAEA;CAEA;CACA;CACA;CAEA;CACA;CAEA;CACA;CAEA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CAEA;CACA;CACA;CAEA;CACA;AACF"}
|
package/dist/item/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as itemSearch, i as itemMedia, n as itemClass, o as itemSubclass, r as itemClassIndex, t as item } from "../index-
|
|
1
|
+
import { a as itemSearch, i as itemMedia, n as itemClass, o as itemSubclass, r as itemClassIndex, t as item } from "../index-Didf1LeM.js";
|
|
2
2
|
export { item, itemClass, itemClassIndex, itemMedia, itemSearch, itemSubclass };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as playableClassIndex, r as playableClassMedia, t as playableClass } from "../index-
|
|
1
|
+
import { n as playableClassIndex, r as playableClassMedia, t as playableClass } from "../index-CWcrm3hr.js";
|
|
2
2
|
export { playableClass, playableClassIndex, playableClassMedia };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as playableRaceIndex, t as playableRace } from "../index-
|
|
1
|
+
import { n as playableRaceIndex, t as playableRace } from "../index-DZVCvkEt.js";
|
|
2
2
|
export { playableRace, playableRaceIndex };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as powerTypeIndex, t as powerType } from "../index-
|
|
1
|
+
import { n as powerTypeIndex, t as powerType } from "../index-Dd0y1_mP.js";
|
|
2
2
|
export { powerType, powerTypeIndex };
|
package/dist/realm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as RealmSearchResponse, i as RealmSearchParameters, r as RealmResponse, t as RealmIndexResponse } from "../types-Bq1HfqJ9.js";
|
|
2
2
|
import { BlizzardNamespaces, Resource } from "@blizzard-api/core";
|
|
3
3
|
//#region src/realm/index.d.ts
|
|
4
4
|
/**
|
|
@@ -7,20 +7,19 @@ import { BlizzardNamespaces, Resource } from "@blizzard-api/core";
|
|
|
7
7
|
* @param realmSlug The realm slug.
|
|
8
8
|
* @returns The realm. See {@link RealmResponse}.
|
|
9
9
|
*/
|
|
10
|
-
declare function realm(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>, realmSlug: string): Resource<RealmResponse>;
|
|
10
|
+
export declare function realm(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>, realmSlug: string): Resource<RealmResponse>;
|
|
11
11
|
/**
|
|
12
12
|
* Get a realm index.
|
|
13
13
|
* @param namespace The namespace to use. See {@link BlizzardNamespaces}.
|
|
14
14
|
* @returns The realm index. See {@link RealmIndexResponse}.
|
|
15
15
|
*/
|
|
16
|
-
declare function realmIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>): Resource<RealmIndexResponse>;
|
|
16
|
+
export declare function realmIndex(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>): Resource<RealmIndexResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Search for realms.
|
|
19
19
|
* @param namespace The namespace to use. See {@link BlizzardNamespaces}.
|
|
20
20
|
* @param options The search parameters. See {@link RealmSearchParameters}.
|
|
21
21
|
* @returns The search results. See {@link RealmSearchResponse}.
|
|
22
22
|
*/
|
|
23
|
-
declare function realmSearch(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>, options: RealmSearchParameters): Resource<RealmSearchResponse, RealmSearchParameters>;
|
|
23
|
+
export declare function realmSearch(namespace: Extract<BlizzardNamespaces, 'dynamic-classic1x' | 'dynamic-classic'>, options: RealmSearchParameters): Resource<RealmSearchResponse, RealmSearchParameters>;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { realm, realmIndex, realmSearch };
|
|
26
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { BaseSearchParameters, Href, KeyBase, Locales, NameId, NameIdKey, Realm, ResponseBase, SearchResponseWithoutResults } from "@blizzard-api/core";
|
|
2
2
|
//#region src/realm/types.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* The category of a realm.
|
|
5
|
-
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
6
|
-
*/
|
|
7
|
-
type RealmCategory = 'Brazil' | 'English' | 'French' | 'German' | 'Italian' | 'Latin America' | 'Oceanic' | 'PS' | 'Russian' | 'Spanish' | 'United States' | '한국';
|
|
8
3
|
/**
|
|
9
4
|
* The response for a realm index.
|
|
10
5
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
@@ -18,7 +13,7 @@ type RealmLocales = 'deDE' | 'enGB' | 'enUS' | 'esES' | 'esMX' | 'frFR' | 'itIT'
|
|
|
18
13
|
* @see {@link https://develop.battle.net/documentation/world-of-warcraft/game-data-apis}
|
|
19
14
|
*/
|
|
20
15
|
interface RealmResponse extends NameId, ResponseBase {
|
|
21
|
-
category:
|
|
16
|
+
category: string;
|
|
22
17
|
connected_realm: Href;
|
|
23
18
|
is_tournament: boolean;
|
|
24
19
|
locale: RealmLocales;
|
|
@@ -74,5 +69,5 @@ interface RealmSearchResponseItem extends KeyBase {
|
|
|
74
69
|
};
|
|
75
70
|
}
|
|
76
71
|
//#endregion
|
|
77
|
-
export {
|
|
78
|
-
//# sourceMappingURL=types-
|
|
72
|
+
export { RealmSearchResponse as a, RealmSearchParameters as i, RealmLocales as n, RealmTimezone as o, RealmResponse as r, RealmTypeCapitalized as s, RealmIndexResponse as t };
|
|
73
|
+
//# sourceMappingURL=types-Bq1HfqJ9.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blizzard-api/classic-wow",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
|
+
"description": "A series of helpers to interact with the World of Warcraft Classic Blizzard API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"api",
|
|
7
|
+
"battle.net",
|
|
8
|
+
"battlenet",
|
|
9
|
+
"blizzard",
|
|
10
|
+
"bnet",
|
|
11
|
+
"classic",
|
|
12
|
+
"warcraft",
|
|
13
|
+
"world of warcraft",
|
|
14
|
+
"wow"
|
|
15
|
+
],
|
|
4
16
|
"license": "MIT",
|
|
5
17
|
"author": "Putro",
|
|
6
|
-
"description": "A series of helpers to interact with the World of Warcraft Classic Blizzard API",
|
|
7
18
|
"repository": {
|
|
8
19
|
"type": "git",
|
|
9
20
|
"url": "git+https://github.com/Pewtro/blizzard-api.git",
|
|
10
21
|
"directory": "packages/classic-wow"
|
|
11
22
|
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
12
26
|
"type": "module",
|
|
13
|
-
"
|
|
14
|
-
"node": "^22.13.0 || ^24 || ^26"
|
|
15
|
-
},
|
|
27
|
+
"sideEffects": false,
|
|
16
28
|
"module": "./dist/index.js",
|
|
17
29
|
"types": "./dist/index.d.ts",
|
|
18
30
|
"exports": {
|
|
@@ -27,27 +39,15 @@
|
|
|
27
39
|
"default": "./dist/*/index.js"
|
|
28
40
|
}
|
|
29
41
|
},
|
|
30
|
-
"files": [
|
|
31
|
-
"dist"
|
|
32
|
-
],
|
|
33
|
-
"sideEffects": false,
|
|
34
|
-
"keywords": [
|
|
35
|
-
"blizzard",
|
|
36
|
-
"battlenet",
|
|
37
|
-
"battle.net",
|
|
38
|
-
"bnet",
|
|
39
|
-
"api",
|
|
40
|
-
"world of warcraft",
|
|
41
|
-
"warcraft",
|
|
42
|
-
"wow",
|
|
43
|
-
"classic"
|
|
44
|
-
],
|
|
45
42
|
"dependencies": {},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@blizzard-api/core": "4.1.3"
|
|
45
|
+
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@blizzard-api/core": "4.1.
|
|
47
|
+
"@blizzard-api/core": "4.1.3"
|
|
48
48
|
},
|
|
49
|
-
"
|
|
50
|
-
"
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": "^22.13.0 || ^24 || ^26"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "tsdown",
|