lol-constants 2.6.2 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. package/assets/constants/BootsItemNames.d.ts +0 -5
  2. package/assets/constants/BootsItemNames.js +1 -8
  3. package/assets/constants/Champion.d.ts +345 -298
  4. package/assets/constants/Champion.js +1 -1
  5. package/assets/constants/Item.d.ts +6491 -994
  6. package/assets/constants/Item.js +1 -1
  7. package/assets/constants/LegendaryItemNames.d.ts +0 -5
  8. package/assets/constants/LegendaryItemNames.js +1 -8
  9. package/assets/constants/MythicItemNames.d.ts +0 -5
  10. package/assets/constants/MythicItemNames.js +3 -37
  11. package/assets/constants/OrnnItemNames.d.ts +1 -0
  12. package/assets/constants/OrnnItemNames.js +33 -0
  13. package/assets/constants/RunesReforged.d.ts +2 -2
  14. package/assets/constants/RunesReforged.js +1 -1
  15. package/assets/constants/StatRunes.d.ts +0 -4
  16. package/assets/constants/StatRunes.js +0 -3
  17. package/assets/constants/StatRunesByRow.d.ts +0 -3
  18. package/assets/constants/StatRunesByRow.js +0 -3
  19. package/assets/constants/Summoner.d.ts +96 -32
  20. package/assets/constants/Summoner.js +1 -1
  21. package/assets/index.d.ts +0 -5
  22. package/assets/index.js +6 -5
  23. package/core/constants/Champions/ChampionIds.d.ts +1 -0
  24. package/core/constants/Champions/ChampionIds.js +1 -1
  25. package/core/constants/Champions/ChampionIdsByName.d.ts +1 -0
  26. package/core/constants/Champions/ChampionIdsByName.js +1 -1
  27. package/core/constants/Champions/ChampionKeys.d.ts +1 -0
  28. package/core/constants/Champions/ChampionKeys.js +1 -1
  29. package/core/constants/Champions/ChampionKeysNum.d.ts +1 -0
  30. package/core/constants/Champions/ChampionKeysNum.js +1 -1
  31. package/core/constants/Champions/ChampionNames.d.ts +1 -0
  32. package/core/constants/Champions/ChampionNames.js +1 -1
  33. package/core/constants/DataDragonUrls.js +2 -2
  34. package/core/constants/Items/BootsItemKeys.d.ts +6 -6
  35. package/core/constants/Items/BootsItemKeys.js +1 -1
  36. package/core/constants/Items/BootsItemKeysNum.d.ts +6 -6
  37. package/core/constants/Items/BootsItemKeysNum.js +1 -1
  38. package/core/constants/Items/BootsItemNames.d.ts +6 -0
  39. package/core/constants/Items/BootsItemNames.js +1 -1
  40. package/core/constants/Items/ItemKeys.d.ts +151 -137
  41. package/core/constants/Items/ItemKeys.js +1 -1
  42. package/core/constants/Items/ItemKeysNum.d.ts +151 -137
  43. package/core/constants/Items/ItemKeysNum.js +1 -1
  44. package/core/constants/Items/ItemNames.d.ts +151 -3
  45. package/core/constants/Items/ItemNames.js +1 -1
  46. package/core/constants/Items/LegendaryItemKeys.d.ts +66 -66
  47. package/core/constants/Items/LegendaryItemKeys.js +1 -1
  48. package/core/constants/Items/LegendaryItemKeysNum.d.ts +66 -66
  49. package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
  50. package/core/constants/Items/LegendaryItemNames.d.ts +66 -0
  51. package/core/constants/Items/LegendaryItemNames.js +1 -1
  52. package/core/constants/Items/MythicItemKeys.d.ts +58 -58
  53. package/core/constants/Items/MythicItemKeys.js +1 -1
  54. package/core/constants/Items/MythicItemKeysNum.d.ts +58 -58
  55. package/core/constants/Items/MythicItemKeysNum.js +1 -1
  56. package/core/constants/Items/MythicItemNames.d.ts +58 -0
  57. package/core/constants/Items/MythicItemNames.js +1 -1
  58. package/core/constants/QueueDescriptions.d.ts +2 -19
  59. package/core/constants/QueueDescriptions.js +10 -5
  60. package/core/constants/QueueIds.d.ts +27 -0
  61. package/core/constants/QueueIds.js +27 -0
  62. package/core/constants/Spells/SpellIds.d.ts +2 -0
  63. package/core/constants/Spells/SpellIds.js +1 -1
  64. package/core/constants/Spells/SpellIdsByName.d.ts +2 -1
  65. package/core/constants/Spells/SpellIdsByName.js +1 -1
  66. package/core/constants/Spells/SpellKeys.d.ts +2 -0
  67. package/core/constants/Spells/SpellKeys.js +1 -1
  68. package/core/constants/Spells/SpellKeysNum.d.ts +2 -0
  69. package/core/constants/Spells/SpellKeysNum.js +1 -1
  70. package/core/constants/Spells/SpellNames.d.ts +2 -0
  71. package/core/constants/Spells/SpellNames.js +1 -1
  72. package/core/helpers/Champions/getChampionIdByKey.d.ts +2 -1
  73. package/core/helpers/Champions/getChampionNameByKey.d.ts +2 -1
  74. package/core/helpers/Items/getItemNameByKey.d.ts +2 -1
  75. package/core/helpers/Items/isBootsItemKeyNum.d.ts +2 -0
  76. package/core/helpers/Items/isBootsItemKeyNum.js +8 -0
  77. package/core/helpers/Items/isBootsItemName.d.ts +1 -1
  78. package/core/helpers/Items/isLegendaryItemKeyNum.d.ts +2 -0
  79. package/core/helpers/Items/isLegendaryItemKeyNum.js +8 -0
  80. package/core/helpers/Items/isLegendaryItemName.d.ts +1 -1
  81. package/core/helpers/Items/isMythicItemKeyNum.d.ts +2 -0
  82. package/core/helpers/Items/isMythicItemKeyNum.js +8 -0
  83. package/core/helpers/Items/isMythicItemName.d.ts +1 -1
  84. package/core/helpers/Runes/getStatRuneIdByName.d.ts +1 -1
  85. package/core/helpers/Runes/getStatRuneNameById.d.ts +1 -1
  86. package/core/helpers/Runes/isStatRuneName.d.ts +1 -1
  87. package/core/helpers/Spells/getSpellIdByKey.d.ts +2 -1
  88. package/core/helpers/Spells/getSpellNameByKey.d.ts +2 -1
  89. package/package.json +2 -2
@@ -1,6 +1 @@
1
- /**
2
- * Last updated on patch: `13.10`
3
- */
4
1
  export declare const BootsItemNames: readonly ["Boots", "Berserker's Greaves", "Boots of Swiftness", "Ionian Boots of Lucidity", "Mercury's Treads", "Mobility Boots", "Plated Steelcaps", "Sorcerer's Shoes", "Slightly Magical Footwear"];
5
- export type BootsItemName = typeof BootsItemNames[number];
6
- export declare function isBootsItemName(value: any): value is BootsItemName;
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isBootsItemName = exports.BootsItemNames = void 0;
4
- /**
5
- * Last updated on patch: `13.10`
6
- */
3
+ exports.BootsItemNames = void 0;
7
4
  exports.BootsItemNames = [
8
5
  'Boots',
9
6
  'Berserker\'s Greaves',
@@ -15,7 +12,3 @@ exports.BootsItemNames = [
15
12
  'Sorcerer\'s Shoes',
16
13
  'Slightly Magical Footwear',
17
14
  ];
18
- function isBootsItemName(value) {
19
- return typeof value == 'string' && value in exports.BootsItemNames;
20
- }
21
- exports.isBootsItemName = isBootsItemName;