lol-constants 1.13.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (303) hide show
  1. package/assets/{Constants → constants}/BootsItemNames.d.ts +6 -4
  2. package/assets/{Constants → constants}/BootsItemNames.js +21 -17
  3. package/assets/{Constants → constants}/Champion.d.ts +7668 -7621
  4. package/assets/constants/Champion.js +4 -0
  5. package/assets/{Constants → constants}/Item.d.ts +10073 -10073
  6. package/assets/constants/Item.js +4 -0
  7. package/assets/{Constants → constants}/LegendaryItemNames.d.ts +6 -4
  8. package/assets/{Constants → constants}/LegendaryItemNames.js +86 -82
  9. package/assets/{Constants → constants}/MythicItemNames.d.ts +6 -4
  10. package/assets/{Constants → constants}/MythicItemNames.js +40 -36
  11. package/assets/{Constants → constants}/RunesReforged.d.ts +512 -512
  12. package/assets/{Constants → constants}/RunesReforged.js +4 -4
  13. package/assets/{Constants → constants}/StatRunes.d.ts +15 -14
  14. package/assets/{Constants → constants}/StatRunes.js +17 -17
  15. package/assets/{Constants → constants}/StatRunesByRow.d.ts +20 -20
  16. package/assets/{Constants → constants}/StatRunesByRow.js +23 -23
  17. package/assets/{Constants → constants}/Summoner.d.ts +518 -518
  18. package/assets/{Constants → constants}/Summoner.js +4 -4
  19. package/assets/index.d.ts +9 -9
  20. package/assets/index.js +28 -24
  21. package/assets/scripts/generate-all.d.ts +17 -17
  22. package/assets/scripts/generate-all.js +19 -19
  23. package/assets/scripts/generate-categorized-item-keys.d.ts +1 -1
  24. package/assets/scripts/generate-categorized-item-keys.js +57 -57
  25. package/assets/scripts/generate-categorized-item-names.d.ts +1 -1
  26. package/assets/scripts/generate-categorized-item-names.js +57 -57
  27. package/assets/scripts/generate-champion-ids-by-name.d.ts +1 -1
  28. package/assets/scripts/generate-champion-ids-by-name.js +17 -17
  29. package/assets/scripts/generate-champion-ids.d.ts +1 -1
  30. package/assets/scripts/generate-champion-ids.js +17 -17
  31. package/assets/scripts/generate-champion-keys.d.ts +1 -1
  32. package/assets/scripts/generate-champion-keys.js +17 -17
  33. package/assets/scripts/generate-champion-names.d.ts +1 -1
  34. package/assets/scripts/generate-champion-names.js +17 -17
  35. package/assets/scripts/generate-item-keys.d.ts +1 -1
  36. package/assets/scripts/generate-item-keys.js +18 -18
  37. package/assets/scripts/generate-item-names.d.ts +1 -1
  38. package/assets/scripts/generate-item-names.js +18 -18
  39. package/assets/scripts/generate-rune-ids.d.ts +1 -1
  40. package/assets/scripts/generate-rune-ids.js +26 -26
  41. package/assets/scripts/generate-rune-names.d.ts +1 -1
  42. package/assets/scripts/generate-rune-names.js +26 -26
  43. package/assets/scripts/generate-rune-picking-relationships.d.ts +1 -1
  44. package/assets/scripts/generate-rune-picking-relationships.js +54 -54
  45. package/assets/scripts/generate-rune-sets-by-rune-names.d.ts +1 -1
  46. package/assets/scripts/generate-rune-sets-by-rune-names.js +116 -116
  47. package/assets/scripts/generate-rune-sets.d.ts +1 -1
  48. package/assets/scripts/generate-rune-sets.js +116 -116
  49. package/assets/scripts/generate-spell-ids-by-name.d.ts +1 -1
  50. package/assets/scripts/generate-spell-ids-by-name.js +17 -17
  51. package/assets/scripts/generate-spell-ids.d.ts +1 -1
  52. package/assets/scripts/generate-spell-ids.js +17 -17
  53. package/assets/scripts/generate-spell-keys.d.ts +1 -1
  54. package/assets/scripts/generate-spell-keys.js +17 -17
  55. package/assets/scripts/generate-spell-names.d.ts +1 -1
  56. package/assets/scripts/generate-spell-names.js +17 -17
  57. package/assets/scripts/generate-stat-rune-ids.d.ts +1 -1
  58. package/assets/scripts/generate-stat-rune-ids.js +17 -17
  59. package/assets/scripts/generate-stat-rune-names.d.ts +1 -1
  60. package/assets/scripts/generate-stat-rune-names.js +17 -17
  61. package/assets/scripts/generate-tree-rune-ids.d.ts +1 -1
  62. package/assets/scripts/generate-tree-rune-ids.js +19 -19
  63. package/assets/scripts/generate-tree-rune-names.d.ts +1 -1
  64. package/assets/scripts/generate-tree-rune-names.js +19 -19
  65. package/assets/scripts/{Helpers → helpers}/enableEscapedValues.d.ts +15 -15
  66. package/assets/scripts/{Helpers → helpers}/enableEscapedValues.js +38 -38
  67. package/assets/scripts/{Helpers → helpers}/getExportStatement.d.ts +6 -6
  68. package/assets/scripts/{Helpers → helpers}/getExportStatement.js +16 -16
  69. package/assets/scripts/{Helpers → helpers}/getFmtdComment.d.ts +5 -5
  70. package/assets/scripts/{Helpers → helpers}/getFmtdComment.js +15 -15
  71. package/assets/scripts/{Helpers → helpers}/writeToTmpFile.d.ts +8 -8
  72. package/assets/scripts/{Helpers → helpers}/writeToTmpFile.js +22 -22
  73. package/core/{Constants → constants}/Champions/ChampionIds.d.ts +165 -164
  74. package/core/{Constants → constants}/Champions/ChampionIds.js +4 -4
  75. package/core/{Constants → constants}/Champions/ChampionIdsByName.d.ts +165 -164
  76. package/core/constants/Champions/ChampionIdsByName.js +4 -0
  77. package/core/{Constants → constants}/Champions/ChampionKeys.d.ts +165 -164
  78. package/core/constants/Champions/ChampionKeys.js +4 -0
  79. package/core/{Constants → constants}/Champions/ChampionNames.d.ts +165 -164
  80. package/core/{Constants → constants}/Champions/ChampionNames.js +4 -4
  81. package/core/{Constants/DDPaths.d.ts → constants/DataDragonUrls.d.ts} +38 -38
  82. package/core/{Constants/DDPaths.js → constants/DataDragonUrls.js} +45 -45
  83. package/core/constants/GameModes.d.ts +12 -0
  84. package/core/constants/GameModes.js +17 -0
  85. package/core/constants/GameTypes.d.ts +7 -0
  86. package/core/constants/GameTypes.js +12 -0
  87. package/core/{Constants → constants}/Items/BootsItemKeys.d.ts +11 -11
  88. package/core/{Constants → constants}/Items/BootsItemKeys.js +4 -4
  89. package/core/{Constants → constants}/Items/BootsItemNames.d.ts +11 -11
  90. package/core/{Constants → constants}/Items/BootsItemNames.js +4 -4
  91. package/core/{Constants → constants}/Items/ItemKeys.d.ts +263 -263
  92. package/core/{Constants → constants}/Items/ItemKeys.js +4 -4
  93. package/core/{Constants → constants}/Items/ItemNames.d.ts +271 -271
  94. package/core/{Constants → constants}/Items/ItemNames.js +4 -4
  95. package/core/{Constants → constants}/Items/ItemTypes.d.ts +8 -6
  96. package/core/{Constants → constants}/Items/ItemTypes.js +13 -9
  97. package/core/{Constants → constants}/Items/LegendaryItemKeys.d.ts +76 -76
  98. package/core/{Constants → constants}/Items/LegendaryItemKeys.js +4 -4
  99. package/core/{Constants → constants}/Items/LegendaryItemNames.d.ts +76 -76
  100. package/core/{Constants → constants}/Items/LegendaryItemNames.js +4 -4
  101. package/core/{Constants → constants}/Items/MythicItemKeys.d.ts +30 -30
  102. package/core/{Constants → constants}/Items/MythicItemKeys.js +4 -4
  103. package/core/{Constants → constants}/Items/MythicItemNames.d.ts +30 -30
  104. package/core/{Constants → constants}/Items/MythicItemNames.js +4 -4
  105. package/core/{Constants → constants}/Lanes.d.ts +8 -6
  106. package/core/{Constants → constants}/Lanes.js +13 -9
  107. package/core/{Constants → constants}/Levels.d.ts +22 -20
  108. package/core/{Constants → constants}/Levels.js +27 -23
  109. package/core/constants/Locales.d.ts +32 -0
  110. package/core/constants/Locales.js +37 -0
  111. package/core/constants/PlatformIds.d.ts +15 -0
  112. package/core/constants/PlatformIds.js +21 -0
  113. package/core/{Constants → constants}/Positions.d.ts +9 -7
  114. package/core/{Constants → constants}/Positions.js +14 -10
  115. package/core/constants/Queues.d.ts +7 -0
  116. package/core/constants/Queues.js +12 -0
  117. package/core/constants/RankedRanks.d.ts +8 -0
  118. package/core/constants/RankedRanks.js +13 -0
  119. package/core/constants/RankedTiers.d.ts +13 -0
  120. package/core/constants/RankedTiers.js +18 -0
  121. package/core/constants/Regions.d.ts +15 -0
  122. package/core/constants/Regions.js +28 -0
  123. package/core/constants/RelativeTeams.d.ts +6 -0
  124. package/core/constants/RelativeTeams.js +11 -0
  125. package/core/constants/Roles.d.ts +8 -0
  126. package/core/constants/Roles.js +13 -0
  127. package/core/{Constants → constants}/Runes/RuneIconFileNames.d.ts +13 -12
  128. package/core/{Constants → constants}/Runes/RuneIconFileNames.js +101 -101
  129. package/core/{Constants → constants}/Runes/RunePickingRelationships.d.ts +77 -77
  130. package/core/{Constants → constants}/Runes/RunePickingRelationships.js +7 -7
  131. package/core/{Constants → constants}/Runes/RuneSets.d.ts +743 -743
  132. package/core/{Constants → constants}/Runes/RuneSets.js +14 -14
  133. package/core/{Constants → constants}/Runes/RuneSetsByRuneNames.d.ts +743 -743
  134. package/core/constants/Runes/RuneSetsByRuneNames.js +14 -0
  135. package/core/constants/Runes/RuneTreeIds.d.ts +11 -0
  136. package/core/constants/Runes/RuneTreeIds.js +19 -0
  137. package/core/constants/Runes/RuneTreeNames.d.ts +11 -0
  138. package/core/constants/Runes/RuneTreeNames.js +19 -0
  139. package/core/constants/Runes/RuneTreeTypes.d.ts +6 -0
  140. package/core/constants/Runes/RuneTreeTypes.js +11 -0
  141. package/core/{Constants → constants}/Runes/TreeRuneIds.d.ts +65 -65
  142. package/core/{Constants → constants}/Runes/TreeRuneIds.js +4 -4
  143. package/core/{Constants → constants}/Runes/TreeRuneNames.d.ts +65 -65
  144. package/core/{Constants → constants}/Runes/TreeRuneNames.js +4 -4
  145. package/core/{Constants → constants}/Skills.d.ts +8 -6
  146. package/core/constants/Skills.js +13 -0
  147. package/core/{Constants → constants}/Spells/SpellIds.d.ts +18 -18
  148. package/core/{Constants → constants}/Spells/SpellIds.js +4 -4
  149. package/core/{Constants → constants}/Spells/SpellIdsByName.d.ts +17 -17
  150. package/core/{Constants → constants}/Spells/SpellIdsByName.js +4 -4
  151. package/core/{Constants → constants}/Spells/SpellKeys.d.ts +18 -18
  152. package/core/{Constants → constants}/Spells/SpellKeys.js +4 -4
  153. package/core/{Constants → constants}/Spells/SpellNames.d.ts +18 -18
  154. package/core/{Constants → constants}/Spells/SpellNames.js +4 -4
  155. package/core/constants/WardTypes.d.ts +7 -0
  156. package/core/constants/WardTypes.js +12 -0
  157. package/core/{Helpers → helpers}/Champions/getChampionIdByKey.d.ts +2 -2
  158. package/core/{Helpers → helpers}/Champions/getChampionIdByKey.js +8 -8
  159. package/core/{Helpers → helpers}/Champions/getChampionIdByName.d.ts +2 -2
  160. package/core/{Helpers → helpers}/Champions/getChampionIdByName.js +8 -8
  161. package/core/{Helpers → helpers}/Champions/getChampionKeyById.d.ts +2 -2
  162. package/core/{Helpers → helpers}/Champions/getChampionKeyById.js +8 -8
  163. package/core/{Helpers → helpers}/Champions/getChampionKeyByName.d.ts +2 -2
  164. package/core/{Helpers → helpers}/Champions/getChampionKeyByName.js +9 -9
  165. package/core/{Helpers → helpers}/Champions/getChampionNameById.d.ts +2 -2
  166. package/core/{Helpers → helpers}/Champions/getChampionNameById.js +9 -9
  167. package/core/{Helpers → helpers}/Champions/getChampionNameByKey.d.ts +2 -2
  168. package/core/{Helpers → helpers}/Champions/getChampionNameByKey.js +8 -8
  169. package/core/{Helpers → helpers}/Champions/isChampionId.d.ts +2 -2
  170. package/core/{Helpers → helpers}/Champions/isChampionId.js +8 -8
  171. package/core/{Helpers → helpers}/Champions/isChampionKey.d.ts +2 -2
  172. package/core/{Helpers → helpers}/Champions/isChampionKey.js +8 -8
  173. package/core/{Helpers → helpers}/Champions/isChampionName.d.ts +2 -2
  174. package/core/{Helpers → helpers}/Champions/isChampionName.js +8 -8
  175. package/core/{Helpers → helpers}/Items/getItemKeyByName.d.ts +2 -2
  176. package/core/{Helpers → helpers}/Items/getItemKeyByName.js +8 -8
  177. package/core/{Helpers → helpers}/Items/getItemNameByKey.d.ts +2 -2
  178. package/core/{Helpers → helpers}/Items/getItemNameByKey.js +8 -8
  179. package/core/{Helpers → helpers}/Items/isBootsItemKey.d.ts +2 -2
  180. package/core/{Helpers → helpers}/Items/isBootsItemKey.js +8 -8
  181. package/core/{Helpers → helpers}/Items/isBootsItemName.d.ts +2 -2
  182. package/core/{Helpers → helpers}/Items/isBootsItemName.js +8 -8
  183. package/core/{Helpers → helpers}/Items/isItemKey.d.ts +2 -2
  184. package/core/{Helpers → helpers}/Items/isItemKey.js +8 -8
  185. package/core/{Helpers → helpers}/Items/isItemName.d.ts +2 -2
  186. package/core/{Helpers → helpers}/Items/isItemName.js +8 -8
  187. package/core/{Helpers → helpers}/Items/isLegendaryItemKey.d.ts +2 -2
  188. package/core/{Helpers → helpers}/Items/isLegendaryItemKey.js +8 -8
  189. package/core/{Helpers → helpers}/Items/isLegendaryItemName.d.ts +2 -2
  190. package/core/{Helpers → helpers}/Items/isLegendaryItemName.js +8 -8
  191. package/core/{Helpers → helpers}/Items/isMythicItemKey.d.ts +2 -2
  192. package/core/{Helpers → helpers}/Items/isMythicItemKey.js +8 -8
  193. package/core/{Helpers → helpers}/Items/isMythicItemName.d.ts +2 -2
  194. package/core/{Helpers → helpers}/Items/isMythicItemName.js +8 -8
  195. package/core/helpers/Runes/getRuneCategoryName.d.ts +3 -0
  196. package/core/helpers/Runes/getRuneCategoryName.js +20 -0
  197. package/core/helpers/Runes/getRuneCdnUrl.d.ts +3 -0
  198. package/core/{Helpers/Runes/getRuneCDNURL.js → helpers/Runes/getRuneCdnUrl.js} +49 -53
  199. package/core/{Helpers → helpers}/Runes/getRuneIdByName.d.ts +2 -2
  200. package/core/{Helpers → helpers}/Runes/getRuneIdByName.js +8 -8
  201. package/core/{Helpers → helpers}/Runes/getRuneNameById.d.ts +2 -2
  202. package/core/{Helpers → helpers}/Runes/getRuneNameById.js +8 -8
  203. package/core/{Helpers → helpers}/Runes/getStatRuneIdByName.d.ts +2 -2
  204. package/core/{Helpers → helpers}/Runes/getStatRuneIdByName.js +8 -8
  205. package/core/{Helpers → helpers}/Runes/getStatRuneNameById.d.ts +2 -2
  206. package/core/{Helpers → helpers}/Runes/getStatRuneNameById.js +8 -8
  207. package/core/{Helpers → helpers}/Runes/getTreeRuneIdByName.d.ts +2 -2
  208. package/core/{Helpers → helpers}/Runes/getTreeRuneIdByName.js +8 -8
  209. package/core/{Helpers → helpers}/Runes/getTreeRuneNameById.d.ts +2 -2
  210. package/core/{Helpers → helpers}/Runes/getTreeRuneNameById.js +8 -8
  211. package/core/{Helpers → helpers}/Runes/isDominationTreeRuneId.d.ts +2 -2
  212. package/core/{Helpers → helpers}/Runes/isDominationTreeRuneId.js +8 -8
  213. package/core/{Helpers → helpers}/Runes/isInspirationTreeRuneId.d.ts +2 -2
  214. package/core/{Helpers → helpers}/Runes/isInspirationTreeRuneId.js +8 -8
  215. package/core/{Helpers → helpers}/Runes/isKeystoneRuneId.d.ts +2 -2
  216. package/core/{Helpers → helpers}/Runes/isKeystoneRuneId.js +8 -8
  217. package/core/{Helpers → helpers}/Runes/isPrecisionTreeRuneId.d.ts +2 -2
  218. package/core/{Helpers → helpers}/Runes/isPrecisionTreeRuneId.js +8 -8
  219. package/core/{Helpers → helpers}/Runes/isResolveTreeRuneId.d.ts +2 -2
  220. package/core/{Helpers → helpers}/Runes/isResolveTreeRuneId.js +8 -8
  221. package/core/{Helpers → helpers}/Runes/isRuneId.d.ts +2 -2
  222. package/core/{Helpers → helpers}/Runes/isRuneId.js +8 -8
  223. package/core/{Helpers → helpers}/Runes/isRuneName.d.ts +2 -2
  224. package/core/{Helpers → helpers}/Runes/isRuneName.js +8 -8
  225. package/core/{Helpers → helpers}/Runes/isSorceryTreeRuneId.d.ts +2 -2
  226. package/core/{Helpers → helpers}/Runes/isSorceryTreeRuneId.js +8 -8
  227. package/core/{Helpers → helpers}/Runes/isStatRuneId.d.ts +2 -2
  228. package/core/{Helpers → helpers}/Runes/isStatRuneId.js +8 -8
  229. package/core/{Helpers → helpers}/Runes/isStatRuneName.d.ts +2 -2
  230. package/core/{Helpers → helpers}/Runes/isStatRuneName.js +8 -8
  231. package/core/{Helpers → helpers}/Runes/isTreeRuneId.d.ts +2 -2
  232. package/core/{Helpers → helpers}/Runes/isTreeRuneId.js +8 -8
  233. package/core/{Helpers → helpers}/Runes/isTreeRuneName.d.ts +2 -2
  234. package/core/{Helpers → helpers}/Runes/isTreeRuneName.js +8 -8
  235. package/core/{Helpers → helpers}/Spells/getSpellIdByKey.d.ts +2 -2
  236. package/core/{Helpers → helpers}/Spells/getSpellIdByKey.js +8 -8
  237. package/core/{Helpers → helpers}/Spells/getSpellIdByName.d.ts +2 -2
  238. package/core/{Helpers → helpers}/Spells/getSpellIdByName.js +8 -8
  239. package/core/{Helpers → helpers}/Spells/getSpellKeyById.d.ts +2 -2
  240. package/core/{Helpers → helpers}/Spells/getSpellKeyById.js +8 -8
  241. package/core/{Helpers → helpers}/Spells/getSpellKeyByName.d.ts +2 -2
  242. package/core/{Helpers → helpers}/Spells/getSpellKeyByName.js +9 -9
  243. package/core/{Helpers → helpers}/Spells/getSpellNameById.d.ts +2 -2
  244. package/core/{Helpers → helpers}/Spells/getSpellNameById.js +9 -9
  245. package/core/{Helpers → helpers}/Spells/getSpellNameByKey.d.ts +2 -2
  246. package/core/{Helpers → helpers}/Spells/getSpellNameByKey.js +8 -8
  247. package/core/{Helpers → helpers}/Spells/isSpellId.d.ts +2 -2
  248. package/core/{Helpers → helpers}/Spells/isSpellId.js +8 -8
  249. package/core/{Helpers → helpers}/Spells/isSpellKey.d.ts +2 -2
  250. package/core/{Helpers → helpers}/Spells/isSpellKey.js +8 -8
  251. package/core/{Helpers → helpers}/Spells/isSpellName.d.ts +2 -2
  252. package/core/{Helpers → helpers}/Spells/isSpellName.js +8 -8
  253. package/core/helpers/getPositionImageUrl.d.ts +2 -0
  254. package/core/helpers/getPositionImageUrl.js +15 -0
  255. package/core/index.d.ts +90 -92
  256. package/core/index.js +129 -229
  257. package/core/types/types.d.ts +210 -0
  258. package/core/types/{Meta.js → types.js} +2 -2
  259. package/package.json +4 -4
  260. package/assets/Constants/Champion.js +0 -4
  261. package/assets/Constants/Item.js +0 -4
  262. package/core/Constants/Champions/ChampionIdsByName.js +0 -4
  263. package/core/Constants/Champions/ChampionKeys.js +0 -4
  264. package/core/Constants/Meta/ChampionRelationTypes.d.ts +0 -4
  265. package/core/Constants/Meta/ChampionRelationTypes.js +0 -7
  266. package/core/Constants/Runes/RuneSetsByRuneNames.js +0 -14
  267. package/core/Constants/Runes/RuneTreeIds.d.ts +0 -7
  268. package/core/Constants/Runes/RuneTreeIds.js +0 -10
  269. package/core/Constants/Runes/RuneTreeNames.d.ts +0 -7
  270. package/core/Constants/Runes/RuneTreeNames.js +0 -10
  271. package/core/Constants/Runes/RuneTreeTypes.d.ts +0 -4
  272. package/core/Constants/Runes/RuneTreeTypes.js +0 -7
  273. package/core/Constants/Skills.js +0 -9
  274. package/core/Helpers/Icons/getPositionImageURL.d.ts +0 -5
  275. package/core/Helpers/Icons/getPositionImageURL.js +0 -15
  276. package/core/Helpers/Items/isItemType.d.ts +0 -2
  277. package/core/Helpers/Items/isItemType.js +0 -8
  278. package/core/Helpers/Meta/isChampionRelationType.d.ts +0 -2
  279. package/core/Helpers/Meta/isChampionRelationType.js +0 -8
  280. package/core/Helpers/Runes/getRuneCDNURL.d.ts +0 -6
  281. package/core/Helpers/Runes/getRuneCategoryByRuneName.d.ts +0 -5
  282. package/core/Helpers/Runes/getRuneCategoryByRuneName.js +0 -28
  283. package/core/Helpers/Runes/getRuneTreeIdByName.d.ts +0 -2
  284. package/core/Helpers/Runes/getRuneTreeIdByName.js +0 -8
  285. package/core/Helpers/Runes/getRuneTreeNameById.d.ts +0 -2
  286. package/core/Helpers/Runes/getRuneTreeNameById.js +0 -8
  287. package/core/Helpers/Runes/isRuneTreeId.d.ts +0 -2
  288. package/core/Helpers/Runes/isRuneTreeId.js +0 -8
  289. package/core/Helpers/Runes/isRuneTreeName.d.ts +0 -2
  290. package/core/Helpers/Runes/isRuneTreeName.js +0 -8
  291. package/core/Helpers/Runes/isRuneTreeType.d.ts +0 -2
  292. package/core/Helpers/Runes/isRuneTreeType.js +0 -8
  293. package/core/Helpers/isLane.d.ts +0 -2
  294. package/core/Helpers/isLane.js +0 -8
  295. package/core/Helpers/isLevel.d.ts +0 -2
  296. package/core/Helpers/isLevel.js +0 -8
  297. package/core/Helpers/isPosition.d.ts +0 -2
  298. package/core/Helpers/isPosition.js +0 -8
  299. package/core/Helpers/isSkill.d.ts +0 -2
  300. package/core/Helpers/isSkill.js +0 -8
  301. package/core/types/Meta.d.ts +0 -40
  302. package/core/types/index.d.ts +0 -197
  303. package/core/types/index.js +0 -2
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneTreeHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = void 0;
4
+ exports.PrimaryRuneTreesByRuneNames = { "Domination": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
5
+ exports.SecondaryRuneTreesByRuneNames = { "Domination": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
6
+ exports.KeystoneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" };
7
+ exports.StatRuneIds = { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f", "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" };
8
+ exports.RuneIds = { ...exports.PrimaryRuneTreesByRuneNames.Precision, ...exports.PrimaryRuneTreesByRuneNames.Domination, ...exports.PrimaryRuneTreesByRuneNames.Sorcery, ...exports.PrimaryRuneTreesByRuneNames.Resolve, ...exports.PrimaryRuneTreesByRuneNames.Inspiration, ...exports.StatRuneIds };
9
+ exports.RuneTreeHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
10
+ exports.StatRuneHSetsByRuneNames = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" }, "2": { "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" } };
11
+ /**
12
+ * Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
13
+ */
14
+ exports.RuneSetsByRuneNames = { PrimaryRuneTreesByRuneNames: exports.PrimaryRuneTreesByRuneNames, SecondaryRuneTreesByRuneNames: exports.SecondaryRuneTreesByRuneNames, KeystoneIds: exports.KeystoneIds, StatRuneIds: exports.StatRuneIds, RuneIds: exports.RuneIds, RuneTreeHSetsByRuneNames: exports.RuneTreeHSetsByRuneNames, StatRuneHSetsByRuneNames: exports.StatRuneHSetsByRuneNames };
@@ -0,0 +1,11 @@
1
+ import { RuneTreeName } from './RuneTreeNames';
2
+ export declare const RuneTreeIds: {
3
+ readonly Precision: "8000";
4
+ readonly Domination: "8100";
5
+ readonly Sorcery: "8200";
6
+ readonly Resolve: "8400";
7
+ readonly Inspiration: "8300";
8
+ };
9
+ export type RuneTreeId = typeof RuneTreeIds[keyof typeof RuneTreeIds];
10
+ export declare function isRuneTreeId(id: string): id is RuneTreeId;
11
+ export declare function getRuneTreeIdByName(name: RuneTreeName): RuneTreeId;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuneTreeIdByName = exports.isRuneTreeId = exports.RuneTreeIds = void 0;
4
+ const RuneTreeNames_1 = require("./RuneTreeNames");
5
+ exports.RuneTreeIds = {
6
+ 'Precision': '8000',
7
+ 'Domination': '8100',
8
+ 'Sorcery': '8200',
9
+ 'Resolve': '8400',
10
+ 'Inspiration': '8300',
11
+ };
12
+ function isRuneTreeId(id) {
13
+ return id in RuneTreeNames_1.RuneTreeNames;
14
+ }
15
+ exports.isRuneTreeId = isRuneTreeId;
16
+ function getRuneTreeIdByName(name) {
17
+ return exports.RuneTreeIds[name];
18
+ }
19
+ exports.getRuneTreeIdByName = getRuneTreeIdByName;
@@ -0,0 +1,11 @@
1
+ import { RuneTreeId } from './RuneTreeIds';
2
+ export declare const RuneTreeNames: {
3
+ readonly '8000': "Precision";
4
+ readonly '8100': "Domination";
5
+ readonly '8200': "Sorcery";
6
+ readonly '8400': "Resolve";
7
+ readonly '8300': "Inspiration";
8
+ };
9
+ export type RuneTreeName = typeof RuneTreeNames[keyof typeof RuneTreeNames];
10
+ export declare function isRuneTreeName(name: any): name is RuneTreeName;
11
+ export declare function getRuneTreeNameById(id: RuneTreeId): RuneTreeName;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuneTreeNameById = exports.isRuneTreeName = exports.RuneTreeNames = void 0;
4
+ const RuneTreeIds_1 = require("./RuneTreeIds");
5
+ exports.RuneTreeNames = {
6
+ '8000': 'Precision',
7
+ '8100': 'Domination',
8
+ '8200': 'Sorcery',
9
+ '8400': 'Resolve',
10
+ '8300': 'Inspiration',
11
+ };
12
+ function isRuneTreeName(name) {
13
+ return typeof name == 'string' && name in RuneTreeIds_1.RuneTreeIds;
14
+ }
15
+ exports.isRuneTreeName = isRuneTreeName;
16
+ function getRuneTreeNameById(id) {
17
+ return exports.RuneTreeNames[id];
18
+ }
19
+ exports.getRuneTreeNameById = getRuneTreeNameById;
@@ -0,0 +1,6 @@
1
+ export declare const RuneTreeTypes: {
2
+ readonly Primary: "Primary";
3
+ readonly Secondary: "Secondary";
4
+ };
5
+ export type RuneTreeType = typeof RuneTreeTypes[keyof typeof RuneTreeTypes];
6
+ export declare function isRuneTreeType(type: any): type is RuneTreeType;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isRuneTreeType = exports.RuneTreeTypes = void 0;
4
+ exports.RuneTreeTypes = {
5
+ 'Primary': 'Primary',
6
+ 'Secondary': 'Secondary',
7
+ };
8
+ function isRuneTreeType(type) {
9
+ return typeof type == 'string' && type in exports.RuneTreeTypes;
10
+ }
11
+ exports.isRuneTreeType = isRuneTreeType;
@@ -1,65 +1,65 @@
1
- export declare const TreeRuneIds: {
2
- readonly Electrocute: "8112";
3
- readonly Predator: "8124";
4
- readonly "Dark Harvest": "8128";
5
- readonly "Hail of Blades": "9923";
6
- readonly "Cheap Shot": "8126";
7
- readonly "Taste of Blood": "8139";
8
- readonly "Sudden Impact": "8143";
9
- readonly "Zombie Ward": "8136";
10
- readonly "Ghost Poro": "8120";
11
- readonly "Eyeball Collection": "8138";
12
- readonly "Treasure Hunter": "8135";
13
- readonly "Ingenious Hunter": "8134";
14
- readonly "Relentless Hunter": "8105";
15
- readonly "Ultimate Hunter": "8106";
16
- readonly "Glacial Augment": "8351";
17
- readonly "Unsealed Spellbook": "8360";
18
- readonly "First Strike": "8369";
19
- readonly "Hextech Flashtraption": "8306";
20
- readonly "Magical Footwear": "8304";
21
- readonly "Perfect Timing": "8313";
22
- readonly "Future's Market": "8321";
23
- readonly "Minion Dematerializer": "8316";
24
- readonly "Biscuit Delivery": "8345";
25
- readonly "Cosmic Insight": "8347";
26
- readonly "Approach Velocity": "8410";
27
- readonly "Time Warp Tonic": "8352";
28
- readonly "Press the Attack": "8005";
29
- readonly "Lethal Tempo": "8008";
30
- readonly "Fleet Footwork": "8021";
31
- readonly Conqueror: "8010";
32
- readonly Overheal: "9101";
33
- readonly Triumph: "9111";
34
- readonly "Presence of Mind": "8009";
35
- readonly "Legend: Alacrity": "9104";
36
- readonly "Legend: Tenacity": "9105";
37
- readonly "Legend: Bloodline": "9103";
38
- readonly "Coup de Grace": "8014";
39
- readonly "Cut Down": "8017";
40
- readonly "Last Stand": "8299";
41
- readonly "Grasp of the Undying": "8437";
42
- readonly Aftershock: "8439";
43
- readonly Guardian: "8465";
44
- readonly Demolish: "8446";
45
- readonly "Font of Life": "8463";
46
- readonly "Shield Bash": "8401";
47
- readonly Conditioning: "8429";
48
- readonly "Second Wind": "8444";
49
- readonly "Bone Plating": "8473";
50
- readonly Overgrowth: "8451";
51
- readonly Revitalize: "8453";
52
- readonly Unflinching: "8242";
53
- readonly "Summon Aery": "8214";
54
- readonly "Arcane Comet": "8229";
55
- readonly "Phase Rush": "8230";
56
- readonly "Nullifying Orb": "8224";
57
- readonly "Manaflow Band": "8226";
58
- readonly "Nimbus Cloak": "8275";
59
- readonly Transcendence: "8210";
60
- readonly Celerity: "8234";
61
- readonly "Absolute Focus": "8233";
62
- readonly Scorch: "8237";
63
- readonly Waterwalking: "8232";
64
- readonly "Gathering Storm": "8236";
65
- };
1
+ export declare const TreeRuneIds: {
2
+ readonly Electrocute: "8112";
3
+ readonly Predator: "8124";
4
+ readonly "Dark Harvest": "8128";
5
+ readonly "Hail of Blades": "9923";
6
+ readonly "Cheap Shot": "8126";
7
+ readonly "Taste of Blood": "8139";
8
+ readonly "Sudden Impact": "8143";
9
+ readonly "Zombie Ward": "8136";
10
+ readonly "Ghost Poro": "8120";
11
+ readonly "Eyeball Collection": "8138";
12
+ readonly "Treasure Hunter": "8135";
13
+ readonly "Ingenious Hunter": "8134";
14
+ readonly "Relentless Hunter": "8105";
15
+ readonly "Ultimate Hunter": "8106";
16
+ readonly "Glacial Augment": "8351";
17
+ readonly "Unsealed Spellbook": "8360";
18
+ readonly "First Strike": "8369";
19
+ readonly "Hextech Flashtraption": "8306";
20
+ readonly "Magical Footwear": "8304";
21
+ readonly "Perfect Timing": "8313";
22
+ readonly "Future's Market": "8321";
23
+ readonly "Minion Dematerializer": "8316";
24
+ readonly "Biscuit Delivery": "8345";
25
+ readonly "Cosmic Insight": "8347";
26
+ readonly "Approach Velocity": "8410";
27
+ readonly "Time Warp Tonic": "8352";
28
+ readonly "Press the Attack": "8005";
29
+ readonly "Lethal Tempo": "8008";
30
+ readonly "Fleet Footwork": "8021";
31
+ readonly Conqueror: "8010";
32
+ readonly Overheal: "9101";
33
+ readonly Triumph: "9111";
34
+ readonly "Presence of Mind": "8009";
35
+ readonly "Legend: Alacrity": "9104";
36
+ readonly "Legend: Tenacity": "9105";
37
+ readonly "Legend: Bloodline": "9103";
38
+ readonly "Coup de Grace": "8014";
39
+ readonly "Cut Down": "8017";
40
+ readonly "Last Stand": "8299";
41
+ readonly "Grasp of the Undying": "8437";
42
+ readonly Aftershock: "8439";
43
+ readonly Guardian: "8465";
44
+ readonly Demolish: "8446";
45
+ readonly "Font of Life": "8463";
46
+ readonly "Shield Bash": "8401";
47
+ readonly Conditioning: "8429";
48
+ readonly "Second Wind": "8444";
49
+ readonly "Bone Plating": "8473";
50
+ readonly Overgrowth: "8451";
51
+ readonly Revitalize: "8453";
52
+ readonly Unflinching: "8242";
53
+ readonly "Summon Aery": "8214";
54
+ readonly "Arcane Comet": "8229";
55
+ readonly "Phase Rush": "8230";
56
+ readonly "Nullifying Orb": "8224";
57
+ readonly "Manaflow Band": "8226";
58
+ readonly "Nimbus Cloak": "8275";
59
+ readonly Transcendence: "8210";
60
+ readonly Celerity: "8234";
61
+ readonly "Absolute Focus": "8233";
62
+ readonly Scorch: "8237";
63
+ readonly Waterwalking: "8232";
64
+ readonly "Gathering Storm": "8236";
65
+ };
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TreeRuneIds = void 0;
4
- exports.TreeRuneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TreeRuneIds = void 0;
4
+ exports.TreeRuneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" };
@@ -1,65 +1,65 @@
1
- export declare const TreeRuneNames: {
2
- readonly "8005": "Press the Attack";
3
- readonly "8008": "Lethal Tempo";
4
- readonly "8009": "Presence of Mind";
5
- readonly "8010": "Conqueror";
6
- readonly "8014": "Coup de Grace";
7
- readonly "8017": "Cut Down";
8
- readonly "8021": "Fleet Footwork";
9
- readonly "8105": "Relentless Hunter";
10
- readonly "8106": "Ultimate Hunter";
11
- readonly "8112": "Electrocute";
12
- readonly "8120": "Ghost Poro";
13
- readonly "8124": "Predator";
14
- readonly "8126": "Cheap Shot";
15
- readonly "8128": "Dark Harvest";
16
- readonly "8134": "Ingenious Hunter";
17
- readonly "8135": "Treasure Hunter";
18
- readonly "8136": "Zombie Ward";
19
- readonly "8138": "Eyeball Collection";
20
- readonly "8139": "Taste of Blood";
21
- readonly "8143": "Sudden Impact";
22
- readonly "8210": "Transcendence";
23
- readonly "8214": "Summon Aery";
24
- readonly "8224": "Nullifying Orb";
25
- readonly "8226": "Manaflow Band";
26
- readonly "8229": "Arcane Comet";
27
- readonly "8230": "Phase Rush";
28
- readonly "8232": "Waterwalking";
29
- readonly "8233": "Absolute Focus";
30
- readonly "8234": "Celerity";
31
- readonly "8236": "Gathering Storm";
32
- readonly "8237": "Scorch";
33
- readonly "8242": "Unflinching";
34
- readonly "8275": "Nimbus Cloak";
35
- readonly "8299": "Last Stand";
36
- readonly "8304": "Magical Footwear";
37
- readonly "8306": "Hextech Flashtraption";
38
- readonly "8313": "Perfect Timing";
39
- readonly "8316": "Minion Dematerializer";
40
- readonly "8321": "Future's Market";
41
- readonly "8345": "Biscuit Delivery";
42
- readonly "8347": "Cosmic Insight";
43
- readonly "8351": "Glacial Augment";
44
- readonly "8352": "Time Warp Tonic";
45
- readonly "8360": "Unsealed Spellbook";
46
- readonly "8369": "First Strike";
47
- readonly "8401": "Shield Bash";
48
- readonly "8410": "Approach Velocity";
49
- readonly "8429": "Conditioning";
50
- readonly "8437": "Grasp of the Undying";
51
- readonly "8439": "Aftershock";
52
- readonly "8444": "Second Wind";
53
- readonly "8446": "Demolish";
54
- readonly "8451": "Overgrowth";
55
- readonly "8453": "Revitalize";
56
- readonly "8463": "Font of Life";
57
- readonly "8465": "Guardian";
58
- readonly "8473": "Bone Plating";
59
- readonly "9101": "Overheal";
60
- readonly "9103": "Legend: Bloodline";
61
- readonly "9104": "Legend: Alacrity";
62
- readonly "9105": "Legend: Tenacity";
63
- readonly "9111": "Triumph";
64
- readonly "9923": "Hail of Blades";
65
- };
1
+ export declare const TreeRuneNames: {
2
+ readonly "8005": "Press the Attack";
3
+ readonly "8008": "Lethal Tempo";
4
+ readonly "8009": "Presence of Mind";
5
+ readonly "8010": "Conqueror";
6
+ readonly "8014": "Coup de Grace";
7
+ readonly "8017": "Cut Down";
8
+ readonly "8021": "Fleet Footwork";
9
+ readonly "8105": "Relentless Hunter";
10
+ readonly "8106": "Ultimate Hunter";
11
+ readonly "8112": "Electrocute";
12
+ readonly "8120": "Ghost Poro";
13
+ readonly "8124": "Predator";
14
+ readonly "8126": "Cheap Shot";
15
+ readonly "8128": "Dark Harvest";
16
+ readonly "8134": "Ingenious Hunter";
17
+ readonly "8135": "Treasure Hunter";
18
+ readonly "8136": "Zombie Ward";
19
+ readonly "8138": "Eyeball Collection";
20
+ readonly "8139": "Taste of Blood";
21
+ readonly "8143": "Sudden Impact";
22
+ readonly "8210": "Transcendence";
23
+ readonly "8214": "Summon Aery";
24
+ readonly "8224": "Nullifying Orb";
25
+ readonly "8226": "Manaflow Band";
26
+ readonly "8229": "Arcane Comet";
27
+ readonly "8230": "Phase Rush";
28
+ readonly "8232": "Waterwalking";
29
+ readonly "8233": "Absolute Focus";
30
+ readonly "8234": "Celerity";
31
+ readonly "8236": "Gathering Storm";
32
+ readonly "8237": "Scorch";
33
+ readonly "8242": "Unflinching";
34
+ readonly "8275": "Nimbus Cloak";
35
+ readonly "8299": "Last Stand";
36
+ readonly "8304": "Magical Footwear";
37
+ readonly "8306": "Hextech Flashtraption";
38
+ readonly "8313": "Perfect Timing";
39
+ readonly "8316": "Minion Dematerializer";
40
+ readonly "8321": "Future's Market";
41
+ readonly "8345": "Biscuit Delivery";
42
+ readonly "8347": "Cosmic Insight";
43
+ readonly "8351": "Glacial Augment";
44
+ readonly "8352": "Time Warp Tonic";
45
+ readonly "8360": "Unsealed Spellbook";
46
+ readonly "8369": "First Strike";
47
+ readonly "8401": "Shield Bash";
48
+ readonly "8410": "Approach Velocity";
49
+ readonly "8429": "Conditioning";
50
+ readonly "8437": "Grasp of the Undying";
51
+ readonly "8439": "Aftershock";
52
+ readonly "8444": "Second Wind";
53
+ readonly "8446": "Demolish";
54
+ readonly "8451": "Overgrowth";
55
+ readonly "8453": "Revitalize";
56
+ readonly "8463": "Font of Life";
57
+ readonly "8465": "Guardian";
58
+ readonly "8473": "Bone Plating";
59
+ readonly "9101": "Overheal";
60
+ readonly "9103": "Legend: Bloodline";
61
+ readonly "9104": "Legend: Alacrity";
62
+ readonly "9105": "Legend: Tenacity";
63
+ readonly "9111": "Triumph";
64
+ readonly "9923": "Hail of Blades";
65
+ };
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TreeRuneNames = void 0;
4
- exports.TreeRuneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph", "9923": "Hail of Blades" };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TreeRuneNames = void 0;
4
+ exports.TreeRuneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph", "9923": "Hail of Blades" };
@@ -1,6 +1,8 @@
1
- export declare const Skills: {
2
- readonly Q: "Q";
3
- readonly W: "W";
4
- readonly E: "E";
5
- readonly R: "R";
6
- };
1
+ export declare const Skills: {
2
+ readonly Q: "Q";
3
+ readonly W: "W";
4
+ readonly E: "E";
5
+ readonly R: "R";
6
+ };
7
+ export type Skill = typeof Skills[keyof typeof Skills];
8
+ export declare function isSkill(skill: any): skill is Skill;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isSkill = exports.Skills = void 0;
4
+ exports.Skills = {
5
+ 'Q': 'Q',
6
+ 'W': 'W',
7
+ 'E': 'E',
8
+ 'R': 'R',
9
+ };
10
+ function isSkill(skill) {
11
+ return typeof skill == 'string' && skill in exports.Skills;
12
+ }
13
+ exports.isSkill = isSkill;
@@ -1,18 +1,18 @@
1
- export declare const SpellIds: {
2
- readonly "1": "SummonerBoost";
3
- readonly "3": "SummonerExhaust";
4
- readonly "4": "SummonerFlash";
5
- readonly "6": "SummonerHaste";
6
- readonly "7": "SummonerHeal";
7
- readonly "11": "SummonerSmite";
8
- readonly "12": "SummonerTeleport";
9
- readonly "13": "SummonerMana";
10
- readonly "14": "SummonerDot";
11
- readonly "21": "SummonerBarrier";
12
- readonly "30": "SummonerPoroRecall";
13
- readonly "31": "SummonerPoroThrow";
14
- readonly "32": "SummonerSnowball";
15
- readonly "39": "SummonerSnowURFSnowball_Mark";
16
- readonly "54": "Summoner_UltBookPlaceholder";
17
- readonly "55": "Summoner_UltBookSmitePlaceholder";
18
- };
1
+ export declare const SpellIds: {
2
+ readonly "1": "SummonerBoost";
3
+ readonly "3": "SummonerExhaust";
4
+ readonly "4": "SummonerFlash";
5
+ readonly "6": "SummonerHaste";
6
+ readonly "7": "SummonerHeal";
7
+ readonly "11": "SummonerSmite";
8
+ readonly "12": "SummonerTeleport";
9
+ readonly "13": "SummonerMana";
10
+ readonly "14": "SummonerDot";
11
+ readonly "21": "SummonerBarrier";
12
+ readonly "30": "SummonerPoroRecall";
13
+ readonly "31": "SummonerPoroThrow";
14
+ readonly "32": "SummonerSnowball";
15
+ readonly "39": "SummonerSnowURFSnowball_Mark";
16
+ readonly "54": "Summoner_UltBookPlaceholder";
17
+ readonly "55": "Summoner_UltBookSmitePlaceholder";
18
+ };
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SpellIds = void 0;
4
- exports.SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder" };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellIds = void 0;
4
+ exports.SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder" };
@@ -1,17 +1,17 @@
1
- export declare const SpellIdsByName: {
2
- readonly Barrier: "SummonerBarrier";
3
- readonly Cleanse: "SummonerBoost";
4
- readonly Ignite: "SummonerDot";
5
- readonly Exhaust: "SummonerExhaust";
6
- readonly Flash: "SummonerFlash";
7
- readonly Ghost: "SummonerHaste";
8
- readonly Heal: "SummonerHeal";
9
- readonly Clarity: "SummonerMana";
10
- readonly "To the King!": "SummonerPoroRecall";
11
- readonly "Poro Toss": "SummonerPoroThrow";
12
- readonly Smite: "SummonerSmite";
13
- readonly Mark: "SummonerSnowball";
14
- readonly Teleport: "SummonerTeleport";
15
- readonly Placeholder: "Summoner_UltBookPlaceholder";
16
- readonly "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder";
17
- };
1
+ export declare const SpellIdsByName: {
2
+ readonly Barrier: "SummonerBarrier";
3
+ readonly Cleanse: "SummonerBoost";
4
+ readonly Ignite: "SummonerDot";
5
+ readonly Exhaust: "SummonerExhaust";
6
+ readonly Flash: "SummonerFlash";
7
+ readonly Ghost: "SummonerHaste";
8
+ readonly Heal: "SummonerHeal";
9
+ readonly Clarity: "SummonerMana";
10
+ readonly "To the King!": "SummonerPoroRecall";
11
+ readonly "Poro Toss": "SummonerPoroThrow";
12
+ readonly Smite: "SummonerSmite";
13
+ readonly Mark: "SummonerSnowball";
14
+ readonly Teleport: "SummonerTeleport";
15
+ readonly Placeholder: "Summoner_UltBookPlaceholder";
16
+ readonly "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder";
17
+ };
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SpellIdsByName = void 0;
4
- exports.SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Flash": "SummonerFlash", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellIdsByName = void 0;
4
+ exports.SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Flash": "SummonerFlash", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
@@ -1,18 +1,18 @@
1
- export declare const SpellKeys: {
2
- readonly SummonerBarrier: "21";
3
- readonly SummonerBoost: "1";
4
- readonly SummonerDot: "14";
5
- readonly SummonerExhaust: "3";
6
- readonly SummonerFlash: "4";
7
- readonly SummonerHaste: "6";
8
- readonly SummonerHeal: "7";
9
- readonly SummonerMana: "13";
10
- readonly SummonerPoroRecall: "30";
11
- readonly SummonerPoroThrow: "31";
12
- readonly SummonerSmite: "11";
13
- readonly SummonerSnowURFSnowball_Mark: "39";
14
- readonly SummonerSnowball: "32";
15
- readonly SummonerTeleport: "12";
16
- readonly Summoner_UltBookPlaceholder: "54";
17
- readonly Summoner_UltBookSmitePlaceholder: "55";
18
- };
1
+ export declare const SpellKeys: {
2
+ readonly SummonerBarrier: "21";
3
+ readonly SummonerBoost: "1";
4
+ readonly SummonerDot: "14";
5
+ readonly SummonerExhaust: "3";
6
+ readonly SummonerFlash: "4";
7
+ readonly SummonerHaste: "6";
8
+ readonly SummonerHeal: "7";
9
+ readonly SummonerMana: "13";
10
+ readonly SummonerPoroRecall: "30";
11
+ readonly SummonerPoroThrow: "31";
12
+ readonly SummonerSmite: "11";
13
+ readonly SummonerSnowURFSnowball_Mark: "39";
14
+ readonly SummonerSnowball: "32";
15
+ readonly SummonerTeleport: "12";
16
+ readonly Summoner_UltBookPlaceholder: "54";
17
+ readonly Summoner_UltBookSmitePlaceholder: "55";
18
+ };
@@ -1,4 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SpellKeys = void 0;
4
- exports.SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellKeys = void 0;
4
+ exports.SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };