@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
38 lines (37 loc) • 1.28 kB
JavaScript
import { wowBasePath, wowMediaBasePath } from "@blizzard-api/core";
//#region src/mythic-keystone-affix/index.ts
/**
* Get a list of all Mythic Keystone affixes.
* @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
* @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
*/
function mythicKeystoneAffix(mythicKeystoneAffixId) {
return {
namespace: "static",
path: `${wowBasePath}/keystone-affix/${mythicKeystoneAffixId}`
};
}
/**
* Get a list of all Mythic Keystone affixes.
* @returns A list of all Mythic Keystone affixes. See {@link MythicKeystoneAffixIndexResponse}
*/
function mythicKeystoneAffixIndex() {
return {
namespace: "static",
path: `${wowBasePath}/keystone-affix/index`
};
}
/**
* Get a list of all Mythic Keystone affix media.
* @param mythicKeystoneAffixId The ID of the Mythic Keystone affix.
* @returns A list of all Mythic Keystone affix media. See {@link MythicKeystoneAffixMediaResponse}
*/
function mythicKeystoneAffixMedia(mythicKeystoneAffixId) {
return {
namespace: "static",
path: `${wowMediaBasePath}/keystone-affix/${mythicKeystoneAffixId}`
};
}
//#endregion
export { mythicKeystoneAffix, mythicKeystoneAffixIndex, mythicKeystoneAffixMedia };
//# sourceMappingURL=index.js.map