lol-constants 2.23.0 → 2.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. package/assets/constants/BootsItemNames.js +1 -4
  2. package/assets/constants/Champion.js +1 -4
  3. package/assets/constants/Item.js +1 -4
  4. package/assets/constants/LegendaryItemNames.d.ts +1 -1
  5. package/assets/constants/LegendaryItemNames.js +4 -5
  6. package/assets/constants/RunesReforged.js +1 -4
  7. package/assets/constants/StatRunes.js +1 -4
  8. package/assets/constants/StatRunesByRow.js +1 -4
  9. package/assets/constants/Summoner.js +1 -4
  10. package/assets/index.js +4 -20
  11. package/assets/scripts/asset-scripts/champion.js +5 -7
  12. package/assets/scripts/asset-scripts/generate-all.js +4 -6
  13. package/assets/scripts/asset-scripts/item.js +5 -7
  14. package/assets/scripts/asset-scripts/runes-reforged.js +5 -7
  15. package/assets/scripts/asset-scripts/summoner.js +5 -7
  16. package/assets/scripts/constants/RuneIdComment.js +1 -4
  17. package/assets/scripts/generate-categorized-item-keys-num.js +15 -17
  18. package/assets/scripts/generate-categorized-item-keys.js +12 -14
  19. package/assets/scripts/generate-categorized-item-names.js +12 -14
  20. package/assets/scripts/generate-champion-ids-by-name.js +5 -7
  21. package/assets/scripts/generate-champion-ids.js +5 -7
  22. package/assets/scripts/generate-champion-keys-num.js +7 -9
  23. package/assets/scripts/generate-champion-keys.js +5 -7
  24. package/assets/scripts/generate-champion-names.js +5 -7
  25. package/assets/scripts/generate-item-keys-num.js +7 -9
  26. package/assets/scripts/generate-item-keys.js +5 -7
  27. package/assets/scripts/generate-item-names.js +5 -7
  28. package/assets/scripts/generate-non-stat-rune-ids-num.js +4 -6
  29. package/assets/scripts/generate-non-stat-rune-ids.js +6 -8
  30. package/assets/scripts/generate-non-stat-rune-names.js +4 -6
  31. package/assets/scripts/generate-rune-ids.js +8 -10
  32. package/assets/scripts/generate-rune-names.js +6 -8
  33. package/assets/scripts/generate-rune-picking-relationships.js +4 -6
  34. package/assets/scripts/generate-rune-sets-by-rune-names-num.js +12 -14
  35. package/assets/scripts/generate-rune-sets-by-rune-names.js +10 -12
  36. package/assets/scripts/generate-rune-sets.js +7 -9
  37. package/assets/scripts/generate-spell-ids-by-name.js +5 -7
  38. package/assets/scripts/generate-spell-ids.js +5 -7
  39. package/assets/scripts/generate-spell-keys-num.js +7 -9
  40. package/assets/scripts/generate-spell-keys.js +5 -7
  41. package/assets/scripts/generate-spell-names.js +5 -7
  42. package/assets/scripts/generate-stat-rune-ids.js +6 -8
  43. package/assets/scripts/generate-stat-rune-names.js +4 -6
  44. package/assets/scripts/helpers/enableEscapedValues.js +1 -5
  45. package/assets/scripts/helpers/generateIndexFile.js +1 -5
  46. package/assets/scripts/helpers/getExportStatement.js +6 -10
  47. package/assets/scripts/helpers/getFmtdComment.js +1 -5
  48. package/assets/scripts/helpers/validateNumber.js +1 -5
  49. package/assets/scripts/helpers/writeToTmpFile.js +5 -9
  50. package/assets/scripts/print-file-names.js +5 -7
  51. package/core/constants/Abilities.js +6 -11
  52. package/core/constants/BuildingTypes.js +3 -7
  53. package/core/constants/Champions/ChampionClasses.d.ts +17 -0
  54. package/core/constants/Champions/ChampionClasses.js +25 -0
  55. package/core/constants/Champions/ChampionIds.js +1 -4
  56. package/core/constants/Champions/ChampionIdsByName.js +1 -4
  57. package/core/constants/Champions/ChampionKeys.js +1 -4
  58. package/core/constants/Champions/ChampionKeysNum.js +1 -4
  59. package/core/constants/Champions/ChampionNames.js +1 -4
  60. package/core/constants/Continents.js +3 -7
  61. package/core/constants/DataDragonUrls.d.ts +16 -16
  62. package/core/constants/DataDragonUrls.js +3 -6
  63. package/core/constants/DragonTypes.js +3 -7
  64. package/core/constants/GameModes.js +3 -7
  65. package/core/constants/GameTypes.js +3 -7
  66. package/core/constants/Items/BootsItemKeys.js +1 -4
  67. package/core/constants/Items/BootsItemKeysNum.js +1 -4
  68. package/core/constants/Items/BootsItemNames.js +1 -4
  69. package/core/constants/Items/ItemKeys.js +1 -4
  70. package/core/constants/Items/ItemKeysNum.js +1 -4
  71. package/core/constants/Items/ItemNames.js +1 -4
  72. package/core/constants/Items/ItemTypes.js +3 -7
  73. package/core/constants/Items/LegendaryItemKeys.js +1 -4
  74. package/core/constants/Items/LegendaryItemKeysNum.js +1 -4
  75. package/core/constants/Items/LegendaryItemNames.js +1 -4
  76. package/core/constants/KillTypes.js +3 -7
  77. package/core/constants/LaneTypes.js +3 -7
  78. package/core/constants/Lanes.js +3 -7
  79. package/core/constants/LeagueTexts.js +3 -7
  80. package/core/constants/Levels.js +3 -7
  81. package/core/constants/Locales.js +3 -7
  82. package/core/constants/MapIds.js +3 -7
  83. package/core/constants/MonsterTypes.d.ts +2 -1
  84. package/core/constants/MonsterTypes.js +5 -8
  85. package/core/constants/ParticipantIds.js +3 -7
  86. package/core/constants/PlatformApiUris.js +3 -7
  87. package/core/constants/PlatformIds.js +6 -11
  88. package/core/constants/Positions.js +3 -7
  89. package/core/constants/QueueIds.js +5 -9
  90. package/core/constants/QueueTypes.js +3 -7
  91. package/core/constants/RankedRanks.js +3 -7
  92. package/core/constants/RankedTiers.js +3 -7
  93. package/core/constants/RegionalApiUris.js +3 -7
  94. package/core/constants/Regions.js +6 -11
  95. package/core/constants/RelativeTeams.js +3 -7
  96. package/core/constants/Roles.js +3 -7
  97. package/core/constants/Runes/NonStatRuneIds.js +1 -4
  98. package/core/constants/Runes/NonStatRuneIdsNum.js +1 -4
  99. package/core/constants/Runes/NonStatRuneNames.js +1 -4
  100. package/core/constants/Runes/RuneIconFileNames.js +1 -4
  101. package/core/constants/Runes/RunePickingRelationships.js +1 -4
  102. package/core/constants/Runes/RuneSets.js +8 -11
  103. package/core/constants/Runes/RuneSetsByRuneNames.js +8 -11
  104. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +8 -11
  105. package/core/constants/Runes/RuneTreeIds.js +6 -11
  106. package/core/constants/Runes/RuneTreeIdsNum.js +6 -11
  107. package/core/constants/Runes/RuneTreeNames.js +6 -11
  108. package/core/constants/Runes/RuneTreeTypes.js +3 -7
  109. package/core/constants/SkillSlots.js +3 -7
  110. package/core/constants/Skills.js +3 -7
  111. package/core/constants/Spells/SpellIds.js +1 -4
  112. package/core/constants/Spells/SpellIdsByName.js +1 -4
  113. package/core/constants/Spells/SpellKeys.js +1 -4
  114. package/core/constants/Spells/SpellKeysNum.js +1 -4
  115. package/core/constants/Spells/SpellNames.js +1 -4
  116. package/core/constants/TeamIds.js +3 -7
  117. package/core/constants/TowerTypes.js +3 -7
  118. package/core/constants/WardTypes.js +3 -7
  119. package/core/helpers/Champions/getChampionIdByKey.js +3 -7
  120. package/core/helpers/Champions/getChampionIdByName.js +3 -7
  121. package/core/helpers/Champions/getChampionKeyById.js +3 -7
  122. package/core/helpers/Champions/getChampionKeyByName.js +4 -8
  123. package/core/helpers/Champions/getChampionNameById.js +4 -8
  124. package/core/helpers/Champions/getChampionNameByKey.js +3 -7
  125. package/core/helpers/Champions/isChampionId.js +3 -7
  126. package/core/helpers/Champions/isChampionKey.js +3 -7
  127. package/core/helpers/Champions/isChampionKeyNum.js +3 -7
  128. package/core/helpers/Champions/isChampionName.js +3 -7
  129. package/core/helpers/Items/getItemKeyByName.js +3 -7
  130. package/core/helpers/Items/getItemNameByKey.js +3 -7
  131. package/core/helpers/Items/isBootsItemKey.js +3 -7
  132. package/core/helpers/Items/isBootsItemKeyNum.js +3 -7
  133. package/core/helpers/Items/isBootsItemName.js +3 -7
  134. package/core/helpers/Items/isItemKey.js +3 -7
  135. package/core/helpers/Items/isItemKeyNum.js +3 -7
  136. package/core/helpers/Items/isItemName.js +3 -7
  137. package/core/helpers/Items/isLegendaryItemKey.js +3 -7
  138. package/core/helpers/Items/isLegendaryItemKeyNum.js +3 -7
  139. package/core/helpers/Items/isLegendaryItemName.js +3 -7
  140. package/core/helpers/Items/isTier2Boots.d.ts +3 -0
  141. package/core/helpers/Items/isTier2Boots.js +9 -0
  142. package/core/helpers/Runes/getNonStatRuneIdByName.js +3 -7
  143. package/core/helpers/Runes/getNonStatRuneNameById.js +3 -7
  144. package/core/helpers/Runes/getRuneCategoryName.js +8 -12
  145. package/core/helpers/Runes/getRuneCdnUrl.js +16 -20
  146. package/core/helpers/Runes/getRuneIdByName.js +3 -7
  147. package/core/helpers/Runes/getRuneNameById.js +3 -7
  148. package/core/helpers/Runes/getStatRuneIdByName.js +3 -7
  149. package/core/helpers/Runes/getStatRuneNameById.js +3 -7
  150. package/core/helpers/Runes/isDominationRuneId.js +3 -7
  151. package/core/helpers/Runes/isDominationRuneIdNum.js +3 -7
  152. package/core/helpers/Runes/isDominationRuneName.js +3 -7
  153. package/core/helpers/Runes/isInspirationRuneId.js +3 -7
  154. package/core/helpers/Runes/isInspirationRuneIdNum.js +3 -7
  155. package/core/helpers/Runes/isInspirationRuneName.js +3 -7
  156. package/core/helpers/Runes/isKeystoneRuneId.js +3 -7
  157. package/core/helpers/Runes/isKeystoneRuneIdNum.js +3 -7
  158. package/core/helpers/Runes/isKeystoneRuneName.js +3 -7
  159. package/core/helpers/Runes/isNonStatRuneId.js +3 -7
  160. package/core/helpers/Runes/isNonStatRuneIdNum.js +3 -7
  161. package/core/helpers/Runes/isNonStatRuneName.js +3 -7
  162. package/core/helpers/Runes/isPrecisionRuneId.js +3 -7
  163. package/core/helpers/Runes/isPrecisionRuneIdNum.js +3 -7
  164. package/core/helpers/Runes/isPrecisionRuneName.js +3 -7
  165. package/core/helpers/Runes/isResolveRuneId.js +3 -7
  166. package/core/helpers/Runes/isResolveRuneIdNum.js +3 -7
  167. package/core/helpers/Runes/isResolveRuneName.js +3 -7
  168. package/core/helpers/Runes/isRuneId.js +3 -7
  169. package/core/helpers/Runes/isRuneIdNum.js +3 -7
  170. package/core/helpers/Runes/isRuneName.js +3 -7
  171. package/core/helpers/Runes/isSorceryRuneId.js +3 -7
  172. package/core/helpers/Runes/isSorceryRuneIdNum.js +3 -7
  173. package/core/helpers/Runes/isSorceryRuneName.js +3 -7
  174. package/core/helpers/Runes/isStatRuneId.js +3 -7
  175. package/core/helpers/Runes/isStatRuneIdNum.js +3 -7
  176. package/core/helpers/Runes/isStatRuneName.js +3 -7
  177. package/core/helpers/Spells/getSpellIdByKey.js +3 -7
  178. package/core/helpers/Spells/getSpellIdByName.js +3 -7
  179. package/core/helpers/Spells/getSpellKeyById.js +3 -7
  180. package/core/helpers/Spells/getSpellKeyByName.js +4 -8
  181. package/core/helpers/Spells/getSpellNameById.js +4 -8
  182. package/core/helpers/Spells/getSpellNameByKey.js +3 -7
  183. package/core/helpers/Spells/isSpellId.js +3 -7
  184. package/core/helpers/Spells/isSpellKey.js +3 -7
  185. package/core/helpers/Spells/isSpellKeyNum.js +3 -7
  186. package/core/helpers/Spells/isSpellName.js +3 -7
  187. package/core/helpers/getPositionImageUrl.js +3 -7
  188. package/core/helpers/isRiotId.js +7 -11
  189. package/core/helpers/makeRiotId.js +1 -5
  190. package/core/helpers/splitRiotId.js +1 -5
  191. package/core/index.d.ts +4 -0
  192. package/core/index.js +138 -150
  193. package/core/types/championJson.js +1 -2
  194. package/core/types/interfaces.js +1 -2
  195. package/core/types/types.js +1 -2
  196. package/package.json +9 -7
  197. package/assets/constants/OrnnItemNames.d.ts +0 -1
  198. package/assets/constants/OrnnItemNames.js +0 -33
  199. package/assets/scripts/generate-all.d.ts +0 -23
  200. package/assets/scripts/generate-all.js +0 -29
  201. package/core/constants/Items/OrnnItemKeys.d.ts +0 -23
  202. package/core/constants/Items/OrnnItemKeys.js +0 -4
  203. package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -23
  204. package/core/constants/Items/OrnnItemKeysNum.js +0 -4
  205. package/core/constants/Items/OrnnItemNames.d.ts +0 -23
  206. package/core/constants/Items/OrnnItemNames.js +0 -4
  207. package/core/helpers/Items/isOrnnItemKey.d.ts +0 -2
  208. package/core/helpers/Items/isOrnnItemKey.js +0 -8
  209. package/core/helpers/Items/isOrnnItemKeyNum.d.ts +0 -2
  210. package/core/helpers/Items/isOrnnItemKeyNum.js +0 -8
  211. package/core/helpers/Items/isOrnnItemName.d.ts +0 -2
  212. package/core/helpers/Items/isOrnnItemName.js +0 -8
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BootsItemNames = void 0;
4
- exports.BootsItemNames = [
1
+ export const BootsItemNames = [
5
2
  "Boots",
6
3
  "Berserker's Greaves",
7
4
  "Boots of Swiftness",