UNPKG

@blizzard-api/wow

Version:

A series of helpers to interact with the World of Warcraft Blizzard API

27 lines (26 loc) 612 B
import { wowBasePath } from "@blizzard-api/core"; //#region src/heirloom/index.ts /** * Get a heirloom by ID. * @param heirloomId The heirloom ID. * @returns The heirloom. See {@link HeirloomResponse}. */ function heirloom(heirloomId) { return { namespace: "static", path: `${wowBasePath}/heirloom/${heirloomId}` }; } /** * Get the heirloom index. * @returns The heirloom index. See {@link HeirloomIndexResponse}. */ function heirloomIndex() { return { namespace: "static", path: `${wowBasePath}/heirloom/index` }; } //#endregion export { heirloom, heirloomIndex }; //# sourceMappingURL=index.js.map