lol-constants 2.25.0 → 3.0.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (427) hide show
  1. package/README.md +130 -28
  2. package/dist/Locale.d.ts +2 -0
  3. package/dist/Locale.js +1 -0
  4. package/dist/Patch.d.ts +3 -0
  5. package/dist/Patch.js +3 -0
  6. package/{core/constants/Champions/ChampionClasses.d.ts → dist/constants/custom.d.ts} +1 -1
  7. package/{core/constants/Champions/ChampionClasses.js → dist/constants/custom.js} +2 -2
  8. package/dist/constants/events.d.ts +49 -0
  9. package/dist/constants/events.js +55 -0
  10. package/dist/constants/history.d.ts +26 -0
  11. package/dist/constants/history.js +29 -0
  12. package/{core/constants/RankedTiers.d.ts → dist/constants/leagues.d.ts} +9 -1
  13. package/{core/constants/RankedTiers.js → dist/constants/leagues.js} +11 -2
  14. package/{core/constants/Locales.d.ts → dist/constants/locales.d.ts} +1 -1
  15. package/{core/constants/Locales.js → dist/constants/locales.js} +2 -2
  16. package/dist/constants/participants.d.ts +38 -0
  17. package/dist/constants/participants.js +43 -0
  18. package/dist/enums/ItemSrTypes.d.ts +11 -0
  19. package/dist/enums/ItemSrTypes.js +10 -0
  20. package/dist/enums/StatRuneSlots.d.ts +6 -0
  21. package/dist/enums/StatRuneSlots.js +5 -0
  22. package/dist/helpers/champion.d.ts +678 -0
  23. package/dist/helpers/champion.js +18 -0
  24. package/dist/helpers/item.d.ts +39 -0
  25. package/dist/helpers/item.js +113 -0
  26. package/dist/helpers/riotId.d.ts +16 -0
  27. package/dist/helpers/riotId.js +33 -0
  28. package/dist/helpers/rune.d.ts +36 -0
  29. package/dist/helpers/rune.js +70 -0
  30. package/dist/helpers/spell.d.ts +6 -0
  31. package/dist/helpers/spell.js +18 -0
  32. package/dist/helpers/type.d.ts +3 -0
  33. package/dist/index.d.ts +30 -0
  34. package/dist/index.js +27 -0
  35. package/dist/lol.d.ts +4029 -0
  36. package/dist/lol.js +182 -0
  37. package/dist/objects/Maps.d.ts +113 -0
  38. package/dist/objects/Maps.js +69 -0
  39. package/dist/objects/Queues.d.ts +192 -0
  40. package/dist/objects/Queues.js +71 -0
  41. package/dist/objects/Regions.d.ts +132 -0
  42. package/dist/objects/Regions.js +55 -0
  43. package/dist/objects/generated/Champions.d.ts +1858 -0
  44. package/dist/objects/generated/Champions.js +4 -0
  45. package/dist/objects/generated/Items.d.ts +5108 -0
  46. package/dist/objects/generated/Items.js +4 -0
  47. package/dist/objects/generated/Runes.d.ts +1477 -0
  48. package/dist/objects/generated/Runes.js +13 -0
  49. package/dist/objects/generated/Spells.d.ts +208 -0
  50. package/dist/objects/generated/Spells.js +4 -0
  51. package/package.json +17 -15
  52. package/assets/constants/BootsItemNames.d.ts +0 -1
  53. package/assets/constants/BootsItemNames.js +0 -13
  54. package/assets/constants/Champion.d.ts +0 -7903
  55. package/assets/constants/Champion.js +0 -1
  56. package/assets/constants/Item.d.ts +0 -20779
  57. package/assets/constants/Item.js +0 -1
  58. package/assets/constants/LegendaryItemNames.d.ts +0 -4
  59. package/assets/constants/LegendaryItemNames.js +0 -125
  60. package/assets/constants/RunesReforged.d.ts +0 -491
  61. package/assets/constants/RunesReforged.js +0 -1
  62. package/assets/constants/StatRunes.d.ts +0 -28
  63. package/assets/constants/StatRunes.js +0 -11
  64. package/assets/constants/StatRunesByRow.d.ts +0 -17
  65. package/assets/constants/StatRunesByRow.js +0 -17
  66. package/assets/constants/Summoner.d.ts +0 -582
  67. package/assets/constants/Summoner.js +0 -1
  68. package/assets/index.d.ts +0 -4
  69. package/assets/index.js +0 -11
  70. package/assets/scripts/asset-scripts/champion.js +0 -9
  71. package/assets/scripts/asset-scripts/generate-all.d.ts +0 -4
  72. package/assets/scripts/asset-scripts/generate-all.js +0 -4
  73. package/assets/scripts/asset-scripts/item.d.ts +0 -1
  74. package/assets/scripts/asset-scripts/item.js +0 -9
  75. package/assets/scripts/asset-scripts/runes-reforged.d.ts +0 -1
  76. package/assets/scripts/asset-scripts/runes-reforged.js +0 -9
  77. package/assets/scripts/asset-scripts/summoner.d.ts +0 -1
  78. package/assets/scripts/asset-scripts/summoner.js +0 -9
  79. package/assets/scripts/constants/RuneIdComment.d.ts +0 -1
  80. package/assets/scripts/constants/RuneIdComment.js +0 -24
  81. package/assets/scripts/generate-all.d.ts +0 -23
  82. package/assets/scripts/generate-all.js +0 -27
  83. package/assets/scripts/generate-categorized-item-keys-num.d.ts +0 -1
  84. package/assets/scripts/generate-categorized-item-keys-num.js +0 -57
  85. package/assets/scripts/generate-categorized-item-keys.d.ts +0 -1
  86. package/assets/scripts/generate-categorized-item-keys.js +0 -59
  87. package/assets/scripts/generate-categorized-item-names.d.ts +0 -1
  88. package/assets/scripts/generate-categorized-item-names.js +0 -56
  89. package/assets/scripts/generate-champion-ids-by-name.d.ts +0 -1
  90. package/assets/scripts/generate-champion-ids-by-name.js +0 -17
  91. package/assets/scripts/generate-champion-ids.d.ts +0 -1
  92. package/assets/scripts/generate-champion-ids.js +0 -18
  93. package/assets/scripts/generate-champion-keys-num.d.ts +0 -1
  94. package/assets/scripts/generate-champion-keys-num.js +0 -20
  95. package/assets/scripts/generate-champion-keys.d.ts +0 -1
  96. package/assets/scripts/generate-champion-keys.js +0 -18
  97. package/assets/scripts/generate-champion-names.d.ts +0 -1
  98. package/assets/scripts/generate-champion-names.js +0 -18
  99. package/assets/scripts/generate-item-keys-num.d.ts +0 -1
  100. package/assets/scripts/generate-item-keys-num.js +0 -24
  101. package/assets/scripts/generate-item-keys.d.ts +0 -1
  102. package/assets/scripts/generate-item-keys.js +0 -22
  103. package/assets/scripts/generate-item-names.d.ts +0 -1
  104. package/assets/scripts/generate-item-names.js +0 -22
  105. package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +0 -1
  106. package/assets/scripts/generate-non-stat-rune-ids-num.js +0 -21
  107. package/assets/scripts/generate-non-stat-rune-ids.d.ts +0 -1
  108. package/assets/scripts/generate-non-stat-rune-ids.js +0 -22
  109. package/assets/scripts/generate-non-stat-rune-names.d.ts +0 -1
  110. package/assets/scripts/generate-non-stat-rune-names.js +0 -20
  111. package/assets/scripts/generate-rune-ids.d.ts +0 -1
  112. package/assets/scripts/generate-rune-ids.js +0 -27
  113. package/assets/scripts/generate-rune-names.d.ts +0 -1
  114. package/assets/scripts/generate-rune-names.js +0 -25
  115. package/assets/scripts/generate-rune-picking-relationships.d.ts +0 -1
  116. package/assets/scripts/generate-rune-picking-relationships.js +0 -52
  117. package/assets/scripts/generate-rune-sets-by-rune-names-num.d.ts +0 -1
  118. package/assets/scripts/generate-rune-sets-by-rune-names-num.js +0 -121
  119. package/assets/scripts/generate-rune-sets-by-rune-names.d.ts +0 -1
  120. package/assets/scripts/generate-rune-sets-by-rune-names.js +0 -119
  121. package/assets/scripts/generate-rune-sets.d.ts +0 -1
  122. package/assets/scripts/generate-rune-sets.js +0 -116
  123. package/assets/scripts/generate-spell-ids-by-name.d.ts +0 -1
  124. package/assets/scripts/generate-spell-ids-by-name.js +0 -17
  125. package/assets/scripts/generate-spell-ids.d.ts +0 -1
  126. package/assets/scripts/generate-spell-ids.js +0 -18
  127. package/assets/scripts/generate-spell-keys-num.d.ts +0 -1
  128. package/assets/scripts/generate-spell-keys-num.js +0 -20
  129. package/assets/scripts/generate-spell-keys.d.ts +0 -1
  130. package/assets/scripts/generate-spell-keys.js +0 -18
  131. package/assets/scripts/generate-spell-names.d.ts +0 -1
  132. package/assets/scripts/generate-spell-names.js +0 -18
  133. package/assets/scripts/generate-stat-rune-ids.d.ts +0 -1
  134. package/assets/scripts/generate-stat-rune-ids.js +0 -18
  135. package/assets/scripts/generate-stat-rune-names.d.ts +0 -1
  136. package/assets/scripts/generate-stat-rune-names.js +0 -16
  137. package/assets/scripts/helpers/enableEscapedValues.d.ts +0 -15
  138. package/assets/scripts/helpers/enableEscapedValues.js +0 -34
  139. package/assets/scripts/helpers/generateIndexFile.d.ts +0 -1
  140. package/assets/scripts/helpers/generateIndexFile.js +0 -3
  141. package/assets/scripts/helpers/getExportStatement.d.ts +0 -6
  142. package/assets/scripts/helpers/getExportStatement.js +0 -37
  143. package/assets/scripts/helpers/getFmtdComment.d.ts +0 -5
  144. package/assets/scripts/helpers/getFmtdComment.js +0 -11
  145. package/assets/scripts/helpers/validateNumber.d.ts +0 -1
  146. package/assets/scripts/helpers/validateNumber.js +0 -6
  147. package/assets/scripts/helpers/writeToTmpFile.d.ts +0 -13
  148. package/assets/scripts/helpers/writeToTmpFile.js +0 -18
  149. package/assets/scripts/print-file-names.d.ts +0 -1
  150. package/assets/scripts/print-file-names.js +0 -89
  151. package/core/constants/Abilities.d.ts +0 -17
  152. package/core/constants/Abilities.js +0 -19
  153. package/core/constants/BuildingTypes.d.ts +0 -6
  154. package/core/constants/BuildingTypes.js +0 -7
  155. package/core/constants/Champions/ChampionIds.d.ts +0 -171
  156. package/core/constants/Champions/ChampionIds.js +0 -1
  157. package/core/constants/Champions/ChampionIdsByName.d.ts +0 -170
  158. package/core/constants/Champions/ChampionIdsByName.js +0 -1
  159. package/core/constants/Champions/ChampionKeys.d.ts +0 -171
  160. package/core/constants/Champions/ChampionKeys.js +0 -1
  161. package/core/constants/Champions/ChampionKeysNum.d.ts +0 -171
  162. package/core/constants/Champions/ChampionKeysNum.js +0 -1
  163. package/core/constants/Champions/ChampionNames.d.ts +0 -171
  164. package/core/constants/Champions/ChampionNames.js +0 -1
  165. package/core/constants/Continents.d.ts +0 -8
  166. package/core/constants/Continents.js +0 -9
  167. package/core/constants/DataDragonUrls.d.ts +0 -52
  168. package/core/constants/DataDragonUrls.js +0 -56
  169. package/core/constants/DragonTypes.d.ts +0 -11
  170. package/core/constants/DragonTypes.js +0 -12
  171. package/core/constants/GameModes.d.ts +0 -12
  172. package/core/constants/GameModes.js +0 -13
  173. package/core/constants/GameTypes.d.ts +0 -7
  174. package/core/constants/GameTypes.js +0 -8
  175. package/core/constants/Items/BootsItemKeys.d.ts +0 -14
  176. package/core/constants/Items/BootsItemKeys.js +0 -1
  177. package/core/constants/Items/BootsItemKeysNum.d.ts +0 -14
  178. package/core/constants/Items/BootsItemKeysNum.js +0 -1
  179. package/core/constants/Items/BootsItemNames.d.ts +0 -14
  180. package/core/constants/Items/BootsItemNames.js +0 -1
  181. package/core/constants/Items/ItemKeys.d.ts +0 -238
  182. package/core/constants/Items/ItemKeys.js +0 -1
  183. package/core/constants/Items/ItemKeysNum.d.ts +0 -238
  184. package/core/constants/Items/ItemKeysNum.js +0 -1
  185. package/core/constants/Items/ItemNames.d.ts +0 -244
  186. package/core/constants/Items/ItemNames.js +0 -1
  187. package/core/constants/Items/ItemTypes.d.ts +0 -7
  188. package/core/constants/Items/ItemTypes.js +0 -8
  189. package/core/constants/Items/LegendaryItemKeys.d.ts +0 -112
  190. package/core/constants/Items/LegendaryItemKeys.js +0 -1
  191. package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -112
  192. package/core/constants/Items/LegendaryItemKeysNum.js +0 -1
  193. package/core/constants/Items/LegendaryItemNames.d.ts +0 -112
  194. package/core/constants/Items/LegendaryItemNames.js +0 -1
  195. package/core/constants/KillTypes.d.ts +0 -7
  196. package/core/constants/KillTypes.js +0 -8
  197. package/core/constants/LaneTypes.d.ts +0 -7
  198. package/core/constants/LaneTypes.js +0 -8
  199. package/core/constants/Lanes.d.ts +0 -8
  200. package/core/constants/Lanes.js +0 -9
  201. package/core/constants/LeagueTexts.d.ts +0 -49
  202. package/core/constants/LeagueTexts.js +0 -54
  203. package/core/constants/Levels.d.ts +0 -22
  204. package/core/constants/Levels.js +0 -23
  205. package/core/constants/MapIds.d.ts +0 -17
  206. package/core/constants/MapIds.js +0 -18
  207. package/core/constants/MonsterTypes.d.ts +0 -8
  208. package/core/constants/MonsterTypes.js +0 -9
  209. package/core/constants/ParticipantIds.d.ts +0 -14
  210. package/core/constants/ParticipantIds.js +0 -15
  211. package/core/constants/PlatformApiUris.d.ts +0 -20
  212. package/core/constants/PlatformApiUris.js +0 -21
  213. package/core/constants/PlatformIds.d.ts +0 -23
  214. package/core/constants/PlatformIds.js +0 -26
  215. package/core/constants/Positions.d.ts +0 -9
  216. package/core/constants/Positions.js +0 -10
  217. package/core/constants/QueueIds.d.ts +0 -114
  218. package/core/constants/QueueIds.js +0 -140
  219. package/core/constants/QueueTypes.d.ts +0 -7
  220. package/core/constants/QueueTypes.js +0 -8
  221. package/core/constants/RankedRanks.d.ts +0 -8
  222. package/core/constants/RankedRanks.js +0 -9
  223. package/core/constants/RegionalApiUris.d.ts +0 -8
  224. package/core/constants/RegionalApiUris.js +0 -9
  225. package/core/constants/Regions.d.ts +0 -23
  226. package/core/constants/Regions.js +0 -26
  227. package/core/constants/RelativeTeams.d.ts +0 -6
  228. package/core/constants/RelativeTeams.js +0 -7
  229. package/core/constants/Roles.d.ts +0 -8
  230. package/core/constants/Roles.js +0 -9
  231. package/core/constants/Runes/NonStatRuneIds.d.ts +0 -85
  232. package/core/constants/Runes/NonStatRuneIds.js +0 -1
  233. package/core/constants/Runes/NonStatRuneIdsNum.d.ts +0 -63
  234. package/core/constants/Runes/NonStatRuneIdsNum.js +0 -1
  235. package/core/constants/Runes/NonStatRuneNames.d.ts +0 -63
  236. package/core/constants/Runes/NonStatRuneNames.js +0 -1
  237. package/core/constants/Runes/RuneIconFileNames.d.ts +0 -14
  238. package/core/constants/Runes/RuneIconFileNames.js +0 -97
  239. package/core/constants/Runes/RunePickingRelationships.d.ts +0 -74
  240. package/core/constants/Runes/RunePickingRelationships.js +0 -4
  241. package/core/constants/Runes/RuneSets.d.ts +0 -721
  242. package/core/constants/Runes/RuneSets.js +0 -11
  243. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +0 -765
  244. package/core/constants/Runes/RuneSetsByRuneNames.js +0 -11
  245. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +0 -765
  246. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +0 -11
  247. package/core/constants/Runes/RuneTreeIds.d.ts +0 -11
  248. package/core/constants/Runes/RuneTreeIds.js +0 -14
  249. package/core/constants/Runes/RuneTreeIdsNum.d.ts +0 -11
  250. package/core/constants/Runes/RuneTreeIdsNum.js +0 -14
  251. package/core/constants/Runes/RuneTreeNames.d.ts +0 -11
  252. package/core/constants/Runes/RuneTreeNames.js +0 -14
  253. package/core/constants/Runes/RuneTreeTypes.d.ts +0 -6
  254. package/core/constants/Runes/RuneTreeTypes.js +0 -7
  255. package/core/constants/SkillSlots.d.ts +0 -8
  256. package/core/constants/SkillSlots.js +0 -9
  257. package/core/constants/Skills.d.ts +0 -8
  258. package/core/constants/Skills.js +0 -9
  259. package/core/constants/Spells/SpellIds.d.ts +0 -21
  260. package/core/constants/Spells/SpellIds.js +0 -1
  261. package/core/constants/Spells/SpellIdsByName.d.ts +0 -18
  262. package/core/constants/Spells/SpellIdsByName.js +0 -1
  263. package/core/constants/Spells/SpellKeys.d.ts +0 -21
  264. package/core/constants/Spells/SpellKeys.js +0 -1
  265. package/core/constants/Spells/SpellKeysNum.d.ts +0 -21
  266. package/core/constants/Spells/SpellKeysNum.js +0 -1
  267. package/core/constants/Spells/SpellNames.d.ts +0 -21
  268. package/core/constants/Spells/SpellNames.js +0 -1
  269. package/core/constants/TeamIds.d.ts +0 -6
  270. package/core/constants/TeamIds.js +0 -7
  271. package/core/constants/TowerTypes.d.ts +0 -8
  272. package/core/constants/TowerTypes.js +0 -9
  273. package/core/constants/WardTypes.d.ts +0 -9
  274. package/core/constants/WardTypes.js +0 -10
  275. package/core/helpers/Champions/getChampionIdByKey.d.ts +0 -4
  276. package/core/helpers/Champions/getChampionIdByKey.js +0 -4
  277. package/core/helpers/Champions/getChampionIdByName.d.ts +0 -3
  278. package/core/helpers/Champions/getChampionIdByName.js +0 -4
  279. package/core/helpers/Champions/getChampionKeyById.d.ts +0 -3
  280. package/core/helpers/Champions/getChampionKeyById.js +0 -4
  281. package/core/helpers/Champions/getChampionKeyByName.d.ts +0 -3
  282. package/core/helpers/Champions/getChampionKeyByName.js +0 -5
  283. package/core/helpers/Champions/getChampionNameById.d.ts +0 -3
  284. package/core/helpers/Champions/getChampionNameById.js +0 -5
  285. package/core/helpers/Champions/getChampionNameByKey.d.ts +0 -4
  286. package/core/helpers/Champions/getChampionNameByKey.js +0 -4
  287. package/core/helpers/Champions/isChampionId.d.ts +0 -2
  288. package/core/helpers/Champions/isChampionId.js +0 -4
  289. package/core/helpers/Champions/isChampionKey.d.ts +0 -2
  290. package/core/helpers/Champions/isChampionKey.js +0 -4
  291. package/core/helpers/Champions/isChampionKeyNum.d.ts +0 -2
  292. package/core/helpers/Champions/isChampionKeyNum.js +0 -4
  293. package/core/helpers/Champions/isChampionName.d.ts +0 -2
  294. package/core/helpers/Champions/isChampionName.js +0 -4
  295. package/core/helpers/Items/getItemKeyByName.d.ts +0 -3
  296. package/core/helpers/Items/getItemKeyByName.js +0 -4
  297. package/core/helpers/Items/getItemKeyNumByName.d.ts +0 -3
  298. package/core/helpers/Items/getItemKeyNumByName.js +0 -4
  299. package/core/helpers/Items/getItemNameByKey.d.ts +0 -4
  300. package/core/helpers/Items/getItemNameByKey.js +0 -4
  301. package/core/helpers/Items/isBootsItemKey.d.ts +0 -2
  302. package/core/helpers/Items/isBootsItemKey.js +0 -4
  303. package/core/helpers/Items/isBootsItemKeyNum.d.ts +0 -2
  304. package/core/helpers/Items/isBootsItemKeyNum.js +0 -4
  305. package/core/helpers/Items/isBootsItemName.d.ts +0 -2
  306. package/core/helpers/Items/isBootsItemName.js +0 -4
  307. package/core/helpers/Items/isItemKey.d.ts +0 -2
  308. package/core/helpers/Items/isItemKey.js +0 -4
  309. package/core/helpers/Items/isItemKeyNum.d.ts +0 -2
  310. package/core/helpers/Items/isItemKeyNum.js +0 -4
  311. package/core/helpers/Items/isItemName.d.ts +0 -2
  312. package/core/helpers/Items/isItemName.js +0 -4
  313. package/core/helpers/Items/isLegendaryItemKey.d.ts +0 -2
  314. package/core/helpers/Items/isLegendaryItemKey.js +0 -4
  315. package/core/helpers/Items/isLegendaryItemKeyNum.d.ts +0 -2
  316. package/core/helpers/Items/isLegendaryItemKeyNum.js +0 -4
  317. package/core/helpers/Items/isLegendaryItemName.d.ts +0 -2
  318. package/core/helpers/Items/isLegendaryItemName.js +0 -4
  319. package/core/helpers/Items/isTier2Boots.d.ts +0 -3
  320. package/core/helpers/Items/isTier2Boots.js +0 -9
  321. package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +0 -3
  322. package/core/helpers/Runes/getNonStatRuneIdByName.js +0 -4
  323. package/core/helpers/Runes/getNonStatRuneNameById.d.ts +0 -3
  324. package/core/helpers/Runes/getNonStatRuneNameById.js +0 -4
  325. package/core/helpers/Runes/getRuneCategoryName.d.ts +0 -4
  326. package/core/helpers/Runes/getRuneCategoryName.js +0 -16
  327. package/core/helpers/Runes/getRuneCdnUrl.d.ts +0 -3
  328. package/core/helpers/Runes/getRuneCdnUrl.js +0 -50
  329. package/core/helpers/Runes/getRuneIdByName.d.ts +0 -3
  330. package/core/helpers/Runes/getRuneIdByName.js +0 -4
  331. package/core/helpers/Runes/getRuneNameById.d.ts +0 -3
  332. package/core/helpers/Runes/getRuneNameById.js +0 -4
  333. package/core/helpers/Runes/getStatRuneIdByName.d.ts +0 -3
  334. package/core/helpers/Runes/getStatRuneIdByName.js +0 -4
  335. package/core/helpers/Runes/getStatRuneNameById.d.ts +0 -3
  336. package/core/helpers/Runes/getStatRuneNameById.js +0 -4
  337. package/core/helpers/Runes/isDominationRuneId.d.ts +0 -2
  338. package/core/helpers/Runes/isDominationRuneId.js +0 -4
  339. package/core/helpers/Runes/isDominationRuneIdNum.d.ts +0 -2
  340. package/core/helpers/Runes/isDominationRuneIdNum.js +0 -4
  341. package/core/helpers/Runes/isDominationRuneName.d.ts +0 -2
  342. package/core/helpers/Runes/isDominationRuneName.js +0 -4
  343. package/core/helpers/Runes/isInspirationRuneId.d.ts +0 -2
  344. package/core/helpers/Runes/isInspirationRuneId.js +0 -4
  345. package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +0 -2
  346. package/core/helpers/Runes/isInspirationRuneIdNum.js +0 -4
  347. package/core/helpers/Runes/isInspirationRuneName.d.ts +0 -2
  348. package/core/helpers/Runes/isInspirationRuneName.js +0 -4
  349. package/core/helpers/Runes/isKeystoneRuneId.d.ts +0 -2
  350. package/core/helpers/Runes/isKeystoneRuneId.js +0 -4
  351. package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +0 -2
  352. package/core/helpers/Runes/isKeystoneRuneIdNum.js +0 -4
  353. package/core/helpers/Runes/isKeystoneRuneName.d.ts +0 -2
  354. package/core/helpers/Runes/isKeystoneRuneName.js +0 -4
  355. package/core/helpers/Runes/isNonStatRuneId.d.ts +0 -2
  356. package/core/helpers/Runes/isNonStatRuneId.js +0 -4
  357. package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +0 -2
  358. package/core/helpers/Runes/isNonStatRuneIdNum.js +0 -4
  359. package/core/helpers/Runes/isNonStatRuneName.d.ts +0 -2
  360. package/core/helpers/Runes/isNonStatRuneName.js +0 -4
  361. package/core/helpers/Runes/isPrecisionRuneId.d.ts +0 -2
  362. package/core/helpers/Runes/isPrecisionRuneId.js +0 -4
  363. package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +0 -2
  364. package/core/helpers/Runes/isPrecisionRuneIdNum.js +0 -4
  365. package/core/helpers/Runes/isPrecisionRuneName.d.ts +0 -2
  366. package/core/helpers/Runes/isPrecisionRuneName.js +0 -4
  367. package/core/helpers/Runes/isResolveRuneId.d.ts +0 -2
  368. package/core/helpers/Runes/isResolveRuneId.js +0 -4
  369. package/core/helpers/Runes/isResolveRuneIdNum.d.ts +0 -2
  370. package/core/helpers/Runes/isResolveRuneIdNum.js +0 -4
  371. package/core/helpers/Runes/isResolveRuneName.d.ts +0 -2
  372. package/core/helpers/Runes/isResolveRuneName.js +0 -4
  373. package/core/helpers/Runes/isRuneId.d.ts +0 -2
  374. package/core/helpers/Runes/isRuneId.js +0 -4
  375. package/core/helpers/Runes/isRuneIdNum.d.ts +0 -2
  376. package/core/helpers/Runes/isRuneIdNum.js +0 -4
  377. package/core/helpers/Runes/isRuneName.d.ts +0 -2
  378. package/core/helpers/Runes/isRuneName.js +0 -4
  379. package/core/helpers/Runes/isSorceryRuneId.d.ts +0 -2
  380. package/core/helpers/Runes/isSorceryRuneId.js +0 -4
  381. package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +0 -2
  382. package/core/helpers/Runes/isSorceryRuneIdNum.js +0 -4
  383. package/core/helpers/Runes/isSorceryRuneName.d.ts +0 -2
  384. package/core/helpers/Runes/isSorceryRuneName.js +0 -4
  385. package/core/helpers/Runes/isStatRuneId.d.ts +0 -2
  386. package/core/helpers/Runes/isStatRuneId.js +0 -4
  387. package/core/helpers/Runes/isStatRuneIdNum.d.ts +0 -2
  388. package/core/helpers/Runes/isStatRuneIdNum.js +0 -4
  389. package/core/helpers/Runes/isStatRuneName.d.ts +0 -2
  390. package/core/helpers/Runes/isStatRuneName.js +0 -4
  391. package/core/helpers/Spells/getSpellIdByKey.d.ts +0 -4
  392. package/core/helpers/Spells/getSpellIdByKey.js +0 -4
  393. package/core/helpers/Spells/getSpellIdByName.d.ts +0 -3
  394. package/core/helpers/Spells/getSpellIdByName.js +0 -4
  395. package/core/helpers/Spells/getSpellKeyById.d.ts +0 -3
  396. package/core/helpers/Spells/getSpellKeyById.js +0 -4
  397. package/core/helpers/Spells/getSpellKeyByName.d.ts +0 -3
  398. package/core/helpers/Spells/getSpellKeyByName.js +0 -5
  399. package/core/helpers/Spells/getSpellNameById.d.ts +0 -3
  400. package/core/helpers/Spells/getSpellNameById.js +0 -5
  401. package/core/helpers/Spells/getSpellNameByKey.d.ts +0 -4
  402. package/core/helpers/Spells/getSpellNameByKey.js +0 -4
  403. package/core/helpers/Spells/isSpellId.d.ts +0 -2
  404. package/core/helpers/Spells/isSpellId.js +0 -4
  405. package/core/helpers/Spells/isSpellKey.d.ts +0 -2
  406. package/core/helpers/Spells/isSpellKey.js +0 -4
  407. package/core/helpers/Spells/isSpellKeyNum.d.ts +0 -2
  408. package/core/helpers/Spells/isSpellKeyNum.js +0 -4
  409. package/core/helpers/Spells/isSpellName.d.ts +0 -2
  410. package/core/helpers/Spells/isSpellName.js +0 -4
  411. package/core/helpers/getPositionImageUrl.d.ts +0 -2
  412. package/core/helpers/getPositionImageUrl.js +0 -11
  413. package/core/helpers/isRiotId.d.ts +0 -5
  414. package/core/helpers/isRiotId.js +0 -15
  415. package/core/helpers/makeRiotId.d.ts +0 -4
  416. package/core/helpers/makeRiotId.js +0 -5
  417. package/core/helpers/splitRiotId.d.ts +0 -10
  418. package/core/helpers/splitRiotId.js +0 -16
  419. package/core/index.d.ts +0 -139
  420. package/core/index.js +0 -150
  421. package/core/types/championJson.d.ts +0 -85
  422. package/core/types/championJson.js +0 -1
  423. package/core/types/interfaces.d.ts +0 -22
  424. package/core/types/interfaces.js +0 -1
  425. package/core/types/types.d.ts +0 -268
  426. package/core/types/types.js +0 -1
  427. /package/{assets/scripts/asset-scripts/champion.d.ts → dist/helpers/type.js} +0 -0
@@ -0,0 +1,4 @@
1
+ export const Champions = { 1: { id: 1, key: "Annie", name: "Annie" }, 2: { id: 2, key: "Olaf", name: "Olaf" }, 3: { id: 3, key: "Galio", name: "Galio" }, 4: { id: 4, key: "TwistedFate", name: "Twisted Fate" }, 5: { id: 5, key: "XinZhao", name: "Xin Zhao" }, 6: { id: 6, key: "Urgot", name: "Urgot" }, 7: { id: 7, key: "Leblanc", name: "LeBlanc" }, 8: { id: 8, key: "Vladimir", name: "Vladimir" }, 9: { id: 9, key: "Fiddlesticks", name: "Fiddlesticks" }, 10: { id: 10, key: "Kayle", name: "Kayle" }, 11: { id: 11, key: "MasterYi", name: "Master Yi" }, 12: { id: 12, key: "Alistar", name: "Alistar" }, 13: { id: 13, key: "Ryze", name: "Ryze" }, 14: { id: 14, key: "Sion", name: "Sion" }, 15: { id: 15, key: "Sivir", name: "Sivir" }, 16: { id: 16, key: "Soraka", name: "Soraka" }, 17: { id: 17, key: "Teemo", name: "Teemo" }, 18: { id: 18, key: "Tristana", name: "Tristana" }, 19: { id: 19, key: "Warwick", name: "Warwick" }, 20: { id: 20, key: "Nunu", name: "Nunu & Willump" }, 21: { id: 21, key: "MissFortune", name: "Miss Fortune" }, 22: { id: 22, key: "Ashe", name: "Ashe" }, 23: { id: 23, key: "Tryndamere", name: "Tryndamere" }, 24: { id: 24, key: "Jax", name: "Jax" }, 25: { id: 25, key: "Morgana", name: "Morgana" }, 26: { id: 26, key: "Zilean", name: "Zilean" }, 27: { id: 27, key: "Singed", name: "Singed" }, 28: { id: 28, key: "Evelynn", name: "Evelynn" }, 29: { id: 29, key: "Twitch", name: "Twitch" }, 30: { id: 30, key: "Karthus", name: "Karthus" }, 31: { id: 31, key: "Chogath", name: "Cho'Gath" }, 32: { id: 32, key: "Amumu", name: "Amumu" }, 33: { id: 33, key: "Rammus", name: "Rammus" }, 34: { id: 34, key: "Anivia", name: "Anivia" }, 35: { id: 35, key: "Shaco", name: "Shaco" }, 36: { id: 36, key: "DrMundo", name: "Dr. Mundo" }, 37: { id: 37, key: "Sona", name: "Sona" }, 38: { id: 38, key: "Kassadin", name: "Kassadin" }, 39: { id: 39, key: "Irelia", name: "Irelia" }, 40: { id: 40, key: "Janna", name: "Janna" }, 41: { id: 41, key: "Gangplank", name: "Gangplank" }, 42: { id: 42, key: "Corki", name: "Corki" }, 43: { id: 43, key: "Karma", name: "Karma" }, 44: { id: 44, key: "Taric", name: "Taric" }, 45: { id: 45, key: "Veigar", name: "Veigar" }, 48: { id: 48, key: "Trundle", name: "Trundle" }, 50: { id: 50, key: "Swain", name: "Swain" }, 51: { id: 51, key: "Caitlyn", name: "Caitlyn" }, 53: { id: 53, key: "Blitzcrank", name: "Blitzcrank" }, 54: { id: 54, key: "Malphite", name: "Malphite" }, 55: { id: 55, key: "Katarina", name: "Katarina" }, 56: { id: 56, key: "Nocturne", name: "Nocturne" }, 57: { id: 57, key: "Maokai", name: "Maokai" }, 58: { id: 58, key: "Renekton", name: "Renekton" }, 59: { id: 59, key: "JarvanIV", name: "Jarvan IV" }, 60: { id: 60, key: "Elise", name: "Elise" }, 61: { id: 61, key: "Orianna", name: "Orianna" }, 62: { id: 62, key: "MonkeyKing", name: "Wukong" }, 63: { id: 63, key: "Brand", name: "Brand" }, 64: { id: 64, key: "LeeSin", name: "Lee Sin" }, 67: { id: 67, key: "Vayne", name: "Vayne" }, 68: { id: 68, key: "Rumble", name: "Rumble" }, 69: { id: 69, key: "Cassiopeia", name: "Cassiopeia" }, 72: { id: 72, key: "Skarner", name: "Skarner" }, 74: { id: 74, key: "Heimerdinger", name: "Heimerdinger" }, 75: { id: 75, key: "Nasus", name: "Nasus" }, 76: { id: 76, key: "Nidalee", name: "Nidalee" }, 77: { id: 77, key: "Udyr", name: "Udyr" }, 78: { id: 78, key: "Poppy", name: "Poppy" }, 79: { id: 79, key: "Gragas", name: "Gragas" }, 80: { id: 80, key: "Pantheon", name: "Pantheon" }, 81: { id: 81, key: "Ezreal", name: "Ezreal" }, 82: { id: 82, key: "Mordekaiser", name: "Mordekaiser" }, 83: { id: 83, key: "Yorick", name: "Yorick" }, 84: { id: 84, key: "Akali", name: "Akali" }, 85: { id: 85, key: "Kennen", name: "Kennen" }, 86: { id: 86, key: "Garen", name: "Garen" }, 89: { id: 89, key: "Leona", name: "Leona" }, 90: { id: 90, key: "Malzahar", name: "Malzahar" }, 91: { id: 91, key: "Talon", name: "Talon" }, 92: { id: 92, key: "Riven", name: "Riven" }, 96: { id: 96, key: "KogMaw", name: "Kog'Maw" }, 98: { id: 98, key: "Shen", name: "Shen" }, 99: { id: 99, key: "Lux", name: "Lux" }, 101: { id: 101, key: "Xerath", name: "Xerath" }, 102: { id: 102, key: "Shyvana", name: "Shyvana" }, 103: { id: 103, key: "Ahri", name: "Ahri" }, 104: { id: 104, key: "Graves", name: "Graves" }, 105: { id: 105, key: "Fizz", name: "Fizz" }, 106: { id: 106, key: "Volibear", name: "Volibear" }, 107: { id: 107, key: "Rengar", name: "Rengar" }, 110: { id: 110, key: "Varus", name: "Varus" }, 111: { id: 111, key: "Nautilus", name: "Nautilus" }, 112: { id: 112, key: "Viktor", name: "Viktor" }, 113: { id: 113, key: "Sejuani", name: "Sejuani" }, 114: { id: 114, key: "Fiora", name: "Fiora" }, 115: { id: 115, key: "Ziggs", name: "Ziggs" }, 117: { id: 117, key: "Lulu", name: "Lulu" }, 119: { id: 119, key: "Draven", name: "Draven" }, 120: { id: 120, key: "Hecarim", name: "Hecarim" }, 121: { id: 121, key: "Khazix", name: "Kha'Zix" }, 122: { id: 122, key: "Darius", name: "Darius" }, 126: { id: 126, key: "Jayce", name: "Jayce" }, 127: { id: 127, key: "Lissandra", name: "Lissandra" }, 131: { id: 131, key: "Diana", name: "Diana" }, 133: { id: 133, key: "Quinn", name: "Quinn" }, 134: { id: 134, key: "Syndra", name: "Syndra" }, 136: { id: 136, key: "AurelionSol", name: "Aurelion Sol" }, 141: { id: 141, key: "Kayn", name: "Kayn" }, 142: { id: 142, key: "Zoe", name: "Zoe" }, 143: { id: 143, key: "Zyra", name: "Zyra" }, 145: { id: 145, key: "Kaisa", name: "Kai'Sa" }, 147: { id: 147, key: "Seraphine", name: "Seraphine" }, 150: { id: 150, key: "Gnar", name: "Gnar" }, 154: { id: 154, key: "Zac", name: "Zac" }, 157: { id: 157, key: "Yasuo", name: "Yasuo" }, 161: { id: 161, key: "Velkoz", name: "Vel'Koz" }, 163: { id: 163, key: "Taliyah", name: "Taliyah" }, 164: { id: 164, key: "Camille", name: "Camille" }, 166: { id: 166, key: "Akshan", name: "Akshan" }, 200: { id: 200, key: "Belveth", name: "Bel'Veth" }, 201: { id: 201, key: "Braum", name: "Braum" }, 202: { id: 202, key: "Jhin", name: "Jhin" }, 203: { id: 203, key: "Kindred", name: "Kindred" }, 221: { id: 221, key: "Zeri", name: "Zeri" }, 222: { id: 222, key: "Jinx", name: "Jinx" }, 223: { id: 223, key: "TahmKench", name: "Tahm Kench" }, 233: { id: 233, key: "Briar", name: "Briar" }, 234: { id: 234, key: "Viego", name: "Viego" }, 235: { id: 235, key: "Senna", name: "Senna" }, 236: { id: 236, key: "Lucian", name: "Lucian" }, 238: { id: 238, key: "Zed", name: "Zed" }, 240: { id: 240, key: "Kled", name: "Kled" }, 245: { id: 245, key: "Ekko", name: "Ekko" }, 246: { id: 246, key: "Qiyana", name: "Qiyana" }, 254: { id: 254, key: "Vi", name: "Vi" }, 266: { id: 266, key: "Aatrox", name: "Aatrox" }, 267: { id: 267, key: "Nami", name: "Nami" }, 268: { id: 268, key: "Azir", name: "Azir" }, 350: { id: 350, key: "Yuumi", name: "Yuumi" }, 360: { id: 360, key: "Samira", name: "Samira" }, 412: { id: 412, key: "Thresh", name: "Thresh" }, 420: { id: 420, key: "Illaoi", name: "Illaoi" }, 421: { id: 421, key: "RekSai", name: "Rek'Sai" }, 427: { id: 427, key: "Ivern", name: "Ivern" }, 429: { id: 429, key: "Kalista", name: "Kalista" }, 432: { id: 432, key: "Bard", name: "Bard" }, 497: { id: 497, key: "Rakan", name: "Rakan" }, 498: { id: 498, key: "Xayah", name: "Xayah" }, 516: { id: 516, key: "Ornn", name: "Ornn" }, 517: { id: 517, key: "Sylas", name: "Sylas" }, 518: { id: 518, key: "Neeko", name: "Neeko" }, 523: { id: 523, key: "Aphelios", name: "Aphelios" }, 526: { id: 526, key: "Rell", name: "Rell" }, 555: { id: 555, key: "Pyke", name: "Pyke" }, 711: { id: 711, key: "Vex", name: "Vex" }, 777: { id: 777, key: "Yone", name: "Yone" }, 875: { id: 875, key: "Sett", name: "Sett" }, 876: { id: 876, key: "Lillia", name: "Lillia" }, 887: { id: 887, key: "Gwen", name: "Gwen" }, 888: { id: 888, key: "Renata", name: "Renata Glasc" }, 893: { id: 893, key: "Aurora", name: "Aurora" }, 895: { id: 895, key: "Nilah", name: "Nilah" }, 897: { id: 897, key: "KSante", name: "K'Sante" }, 901: { id: 901, key: "Smolder", name: "Smolder" }, 902: { id: 902, key: "Milio", name: "Milio" }, 910: { id: 910, key: "Hwei", name: "Hwei" }, 950: { id: 950, key: "Naafiri", name: "Naafiri" } };
2
+ export const championKeys = { Aatrox: 266, Ahri: 103, Akali: 84, Akshan: 166, Alistar: 12, Amumu: 32, Anivia: 34, Annie: 1, Aphelios: 523, Ashe: 22, AurelionSol: 136, Aurora: 893, Azir: 268, Bard: 432, Belveth: 200, Blitzcrank: 53, Brand: 63, Braum: 201, Briar: 233, Caitlyn: 51, Camille: 164, Cassiopeia: 69, Chogath: 31, Corki: 42, Darius: 122, Diana: 131, Draven: 119, DrMundo: 36, Ekko: 245, Elise: 60, Evelynn: 28, Ezreal: 81, Fiddlesticks: 9, Fiora: 114, Fizz: 105, Galio: 3, Gangplank: 41, Garen: 86, Gnar: 150, Gragas: 79, Graves: 104, Gwen: 887, Hecarim: 120, Heimerdinger: 74, Hwei: 910, Illaoi: 420, Irelia: 39, Ivern: 427, Janna: 40, JarvanIV: 59, Jax: 24, Jayce: 126, Jhin: 202, Jinx: 222, Kaisa: 145, Kalista: 429, Karma: 43, Karthus: 30, Kassadin: 38, Katarina: 55, Kayle: 10, Kayn: 141, Kennen: 85, Khazix: 121, Kindred: 203, Kled: 240, KogMaw: 96, KSante: 897, Leblanc: 7, LeeSin: 64, Leona: 89, Lillia: 876, Lissandra: 127, Lucian: 236, Lulu: 117, Lux: 99, Malphite: 54, Malzahar: 90, Maokai: 57, MasterYi: 11, Milio: 902, MissFortune: 21, MonkeyKing: 62, Mordekaiser: 82, Morgana: 25, Naafiri: 950, Nami: 267, Nasus: 75, Nautilus: 111, Neeko: 518, Nidalee: 76, Nilah: 895, Nocturne: 56, Nunu: 20, Olaf: 2, Orianna: 61, Ornn: 516, Pantheon: 80, Poppy: 78, Pyke: 555, Qiyana: 246, Quinn: 133, Rakan: 497, Rammus: 33, RekSai: 421, Rell: 526, Renata: 888, Renekton: 58, Rengar: 107, Riven: 92, Rumble: 68, Ryze: 13, Samira: 360, Sejuani: 113, Senna: 235, Seraphine: 147, Sett: 875, Shaco: 35, Shen: 98, Shyvana: 102, Singed: 27, Sion: 14, Sivir: 15, Skarner: 72, Smolder: 901, Sona: 37, Soraka: 16, Swain: 50, Sylas: 517, Syndra: 134, TahmKench: 223, Taliyah: 163, Talon: 91, Taric: 44, Teemo: 17, Thresh: 412, Tristana: 18, Trundle: 48, Tryndamere: 23, TwistedFate: 4, Twitch: 29, Udyr: 77, Urgot: 6, Varus: 110, Vayne: 67, Veigar: 45, Velkoz: 161, Vex: 711, Vi: 254, Viego: 234, Viktor: 112, Vladimir: 8, Volibear: 106, Warwick: 19, Xayah: 498, Xerath: 101, XinZhao: 5, Yasuo: 157, Yone: 777, Yorick: 83, Yuumi: 350, Zac: 154, Zed: 238, Zeri: 221, Ziggs: 115, Zilean: 26, Zoe: 142, Zyra: 143 };
3
+ export const championNames = { Aatrox: 266, Ahri: 103, Akali: 84, Akshan: 166, Alistar: 12, Amumu: 32, Anivia: 34, Annie: 1, Aphelios: 523, Ashe: 22, "Aurelion Sol": 136, Aurora: 893, Azir: 268, Bard: 432, "Bel'Veth": 200, Blitzcrank: 53, Brand: 63, Braum: 201, Briar: 233, Caitlyn: 51, Camille: 164, Cassiopeia: 69, "Cho'Gath": 31, Corki: 42, Darius: 122, Diana: 131, Draven: 119, "Dr. Mundo": 36, Ekko: 245, Elise: 60, Evelynn: 28, Ezreal: 81, Fiddlesticks: 9, Fiora: 114, Fizz: 105, Galio: 3, Gangplank: 41, Garen: 86, Gnar: 150, Gragas: 79, Graves: 104, Gwen: 887, Hecarim: 120, Heimerdinger: 74, Hwei: 910, Illaoi: 420, Irelia: 39, Ivern: 427, Janna: 40, "Jarvan IV": 59, Jax: 24, Jayce: 126, Jhin: 202, Jinx: 222, "Kai'Sa": 145, Kalista: 429, Karma: 43, Karthus: 30, Kassadin: 38, Katarina: 55, Kayle: 10, Kayn: 141, Kennen: 85, "Kha'Zix": 121, Kindred: 203, Kled: 240, "Kog'Maw": 96, "K'Sante": 897, LeBlanc: 7, "Lee Sin": 64, Leona: 89, Lillia: 876, Lissandra: 127, Lucian: 236, Lulu: 117, Lux: 99, Malphite: 54, Malzahar: 90, Maokai: 57, "Master Yi": 11, Milio: 902, "Miss Fortune": 21, Wukong: 62, Mordekaiser: 82, Morgana: 25, Naafiri: 950, Nami: 267, Nasus: 75, Nautilus: 111, Neeko: 518, Nidalee: 76, Nilah: 895, Nocturne: 56, "Nunu & Willump": 20, Olaf: 2, Orianna: 61, Ornn: 516, Pantheon: 80, Poppy: 78, Pyke: 555, Qiyana: 246, Quinn: 133, Rakan: 497, Rammus: 33, "Rek'Sai": 421, Rell: 526, "Renata Glasc": 888, Renekton: 58, Rengar: 107, Riven: 92, Rumble: 68, Ryze: 13, Samira: 360, Sejuani: 113, Senna: 235, Seraphine: 147, Sett: 875, Shaco: 35, Shen: 98, Shyvana: 102, Singed: 27, Sion: 14, Sivir: 15, Skarner: 72, Smolder: 901, Sona: 37, Soraka: 16, Swain: 50, Sylas: 517, Syndra: 134, "Tahm Kench": 223, Taliyah: 163, Talon: 91, Taric: 44, Teemo: 17, Thresh: 412, Tristana: 18, Trundle: 48, Tryndamere: 23, "Twisted Fate": 4, Twitch: 29, Udyr: 77, Urgot: 6, Varus: 110, Vayne: 67, Veigar: 45, "Vel'Koz": 161, Vex: 711, Vi: 254, Viego: 234, Viktor: 112, Vladimir: 8, Volibear: 106, Warwick: 19, Xayah: 498, Xerath: 101, "Xin Zhao": 5, Yasuo: 157, Yone: 777, Yorick: 83, Yuumi: 350, Zac: 154, Zed: 238, Zeri: 221, Ziggs: 115, Zilean: 26, Zoe: 142, Zyra: 143 };
4
+ export const ChampionsArr = Object.values(Champions);