@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
27 lines (26 loc) • 635 B
JavaScript
import { wowBasePath } from "@blizzard-api/core";
//#region src/power-type/index.ts
/**
* Get a power type by ID.
* @param powerTypeId The power type ID.
* @returns The power type. See {@link PowerTypeResponse}.
*/
function powerType(powerTypeId) {
return {
namespace: "static",
path: `${wowBasePath}/power-type/${powerTypeId}`
};
}
/**
* Get a power type index.
* @returns The power type index. See {@link PowerTypeIndexResponse}.
*/
function powerTypeIndex() {
return {
namespace: "static",
path: `${wowBasePath}/power-type/index`
};
}
//#endregion
export { powerType, powerTypeIndex };
//# sourceMappingURL=index.js.map