battlenet-api-types
Version:
Typescript interfaces for Blizzard's Battle.net API
59 lines (55 loc) • 1.36 kB
text/typescript
/**
* @categoryDescription Playable Specialization API
* Playable Specialization API Return Types
*/
import { linksStruct, refStruct, idkeyStruct, APIMediaStruct, spellTooltip } from "../shared";
/**
* Playable Specializations Index
*
* /data/wow/playable-specialization/index
* @category Playable Specialization API
*/
export interface APIPlayableSpecializationsIndex {
_links: linksStruct;
character_specializations: refStruct[];
}
/**
* Playable Specialization
*
* /data/wow/playable-specialization/{{specId}}
* @category Playable Specialization API
*/
export interface APIPlayableSpecialization {
_links: linksStruct;
id: number;
name: string;
playable_class: refStruct;
gender_description: {
male: string;
female: string;
}
media?: idkeyStruct;
role: {
name: string;
type: string;
}
pvp_talents: {
talent: refStruct;
spell_tooltip: spellTooltip;
}[]
spec_talent_tree: refStruct;
power_type: refStruct;
primary_stat_type: {
type: string;
name: string;
}
hero_talent_trees: refStruct[];
}
/**
* Playable Specialization Media
*
* /data/wow/media/playable-specialization/{{specId}}
* @category Playable Specialization API
*/
export interface APIPlayableSpecializationMedia extends APIMediaStruct {
}