UNPKG

@blizzard-api/wow

Version:

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

58 lines (57 loc) 2.02 kB
import { wowBasePath } from "@blizzard-api/core"; //#region src/modified-crafting/index.ts /** * Get a modified crafting category by ID. * @param modifiedCraftingCategoryId The modified crafting category ID. * @returns The modified crafting category. See {@link ModifiedCraftingCategoryResponse}. */ function modifiedCraftingCategory(modifiedCraftingCategoryId) { return { namespace: "static", path: `${wowBasePath}/modified-crafting/category/${modifiedCraftingCategoryId}` }; } /** * Get a modified crafting category index. * @returns The modified crafting category index. See {@link ModifiedCraftingCategoryIndexResponse}. */ function modifiedCraftingCategoryIndex() { return { namespace: "static", path: `${wowBasePath}/modified-crafting/category/index` }; } /** * Get a modified crafting index. * @returns The modified crafting index. See {@link ModifiedCraftingIndexResponse}. */ function modifiedCraftingIndex() { return { namespace: "static", path: `${wowBasePath}/modified-crafting/index` }; } /** * Get a modified crafting reagent slot type by ID. * @param modifiedCraftingReagentSlotTypeId The modified crafting reagent slot type ID. * @returns The modified crafting reagent slot type. See {@link ModifiedCraftingReagentSlotTypeResponse}. */ function modifiedCraftingReagentSlotType(modifiedCraftingReagentSlotTypeId) { return { namespace: "static", path: `${wowBasePath}/modified-crafting/reagent-slot-type/${modifiedCraftingReagentSlotTypeId}` }; } /** * Get a modified crafting reagent slot type index. * @returns The modified crafting reagent slot type index. See {@link ModifiedCraftingReagentSlotTypeIndexResponse}. */ function modifiedCraftingReagentSlotTypeIndex() { return { namespace: "static", path: `${wowBasePath}/modified-crafting/reagent-slot-type/index` }; } //#endregion export { modifiedCraftingCategory, modifiedCraftingCategoryIndex, modifiedCraftingIndex, modifiedCraftingReagentSlotType, modifiedCraftingReagentSlotTypeIndex }; //# sourceMappingURL=index.js.map