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
package/core/index.js CHANGED
@@ -1,229 +1,129 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.getChampionIdByKey = exports.isSkill = exports.isPosition = exports.isLevel = exports.isLane = exports.SpellNames = exports.SpellKeys = exports.SpellIdsByName = exports.SpellIds = exports.TreeRuneNames = exports.TreeRuneIds = exports.RuneTreeNames = exports.RuneTreeIds = exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneTreeHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = exports.RuneSets = exports.StatRuneHSets = exports.RuneTreeHSets = exports.RuneNames = exports.StatRuneNames = exports.KeystoneNames = exports.SecondaryRuneTrees = exports.PrimaryRuneTrees = exports.RunePickingRelationships = exports.RuneIconFileNames = exports.ChampionRelationTypes = exports.MythicItemNames = exports.MythicItemKeys = exports.LegendaryItemNames = exports.LegendaryItemKeys = exports.ItemTypes = exports.ItemNames = exports.ItemKeys = exports.BootsItemNames = exports.BootsItemKeys = exports.ChampionNames = exports.ChampionKeys = exports.ChampionIdsByName = exports.ChampionIds = exports.Skills = exports.Positions = exports.Levels = exports.Lanes = exports.DDPaths = void 0;
18
- exports.getSpellNameById = exports.getSpellKeyByName = exports.getSpellKeyById = exports.getSpellIdByName = exports.getSpellIdByKey = exports.isTreeRuneName = exports.isTreeRuneId = exports.isStatRuneName = exports.isStatRuneId = exports.isSorceryTreeRuneId = exports.isRuneTreeName = exports.isRuneTreeId = exports.isRuneName = exports.isRuneId = exports.isResolveTreeRuneId = exports.isPrecisionTreeRuneId = exports.isKeystoneRuneId = exports.isInspirationTreeRuneId = exports.isDominationTreeRuneId = exports.getTreeRuneNameById = exports.getTreeRuneIdByName = exports.getStatRuneNameById = exports.getStatRuneIdByName = exports.getRuneTreeNameById = exports.getRuneTreeIdByName = exports.getRuneNameById = exports.getRuneIdByName = exports.getRuneCDNURL = exports.getRuneCategoryByRuneName = exports.isChampionRelationType = exports.isMythicItemName = exports.isMythicItemKey = exports.isLegendaryItemName = exports.isLegendaryItemKey = exports.isItemType = exports.isItemName = exports.isItemKey = exports.isBootsItemName = exports.isBootsItemKey = exports.getItemNameByKey = exports.getItemKeyByName = exports.getPositionImageURL = exports.isChampionName = exports.isChampionKey = exports.isChampionId = exports.getChampionNameByKey = exports.getChampionNameById = exports.getChampionKeyByName = exports.getChampionKeyById = exports.getChampionIdByName = void 0;
19
- exports.isSpellName = exports.isSpellKey = exports.isSpellId = exports.getSpellNameByKey = void 0;
20
- // # Constants
21
- var DDPaths_1 = require("./Constants/DDPaths");
22
- Object.defineProperty(exports, "DDPaths", { enumerable: true, get: function () { return DDPaths_1.DDPaths; } });
23
- var Lanes_1 = require("./Constants/Lanes");
24
- Object.defineProperty(exports, "Lanes", { enumerable: true, get: function () { return Lanes_1.Lanes; } });
25
- var Levels_1 = require("./Constants/Levels");
26
- Object.defineProperty(exports, "Levels", { enumerable: true, get: function () { return Levels_1.Levels; } });
27
- var Positions_1 = require("./Constants/Positions");
28
- Object.defineProperty(exports, "Positions", { enumerable: true, get: function () { return Positions_1.Positions; } });
29
- var Skills_1 = require("./Constants/Skills");
30
- Object.defineProperty(exports, "Skills", { enumerable: true, get: function () { return Skills_1.Skills; } });
31
- // ## Champions
32
- var ChampionIds_1 = require("./Constants/Champions/ChampionIds");
33
- Object.defineProperty(exports, "ChampionIds", { enumerable: true, get: function () { return ChampionIds_1.ChampionIds; } });
34
- var ChampionIdsByName_1 = require("./Constants/Champions/ChampionIdsByName");
35
- Object.defineProperty(exports, "ChampionIdsByName", { enumerable: true, get: function () { return ChampionIdsByName_1.ChampionIdsByName; } });
36
- var ChampionKeys_1 = require("./Constants/Champions/ChampionKeys");
37
- Object.defineProperty(exports, "ChampionKeys", { enumerable: true, get: function () { return ChampionKeys_1.ChampionKeys; } });
38
- var ChampionNames_1 = require("./Constants/Champions/ChampionNames");
39
- Object.defineProperty(exports, "ChampionNames", { enumerable: true, get: function () { return ChampionNames_1.ChampionNames; } });
40
- // ## Items
41
- var BootsItemKeys_1 = require("./Constants/Items/BootsItemKeys");
42
- Object.defineProperty(exports, "BootsItemKeys", { enumerable: true, get: function () { return BootsItemKeys_1.BootsItemKeys; } });
43
- var BootsItemNames_1 = require("./Constants/Items/BootsItemNames");
44
- Object.defineProperty(exports, "BootsItemNames", { enumerable: true, get: function () { return BootsItemNames_1.BootsItemNames; } });
45
- var ItemKeys_1 = require("./Constants/Items/ItemKeys");
46
- Object.defineProperty(exports, "ItemKeys", { enumerable: true, get: function () { return ItemKeys_1.ItemKeys; } });
47
- var ItemNames_1 = require("./Constants/Items/ItemNames");
48
- Object.defineProperty(exports, "ItemNames", { enumerable: true, get: function () { return ItemNames_1.ItemNames; } });
49
- var ItemTypes_1 = require("./Constants/Items/ItemTypes");
50
- Object.defineProperty(exports, "ItemTypes", { enumerable: true, get: function () { return ItemTypes_1.ItemTypes; } });
51
- var LegendaryItemKeys_1 = require("./Constants/Items/LegendaryItemKeys");
52
- Object.defineProperty(exports, "LegendaryItemKeys", { enumerable: true, get: function () { return LegendaryItemKeys_1.LegendaryItemKeys; } });
53
- var LegendaryItemNames_1 = require("./Constants/Items/LegendaryItemNames");
54
- Object.defineProperty(exports, "LegendaryItemNames", { enumerable: true, get: function () { return LegendaryItemNames_1.LegendaryItemNames; } });
55
- var MythicItemKeys_1 = require("./Constants/Items/MythicItemKeys");
56
- Object.defineProperty(exports, "MythicItemKeys", { enumerable: true, get: function () { return MythicItemKeys_1.MythicItemKeys; } });
57
- var MythicItemNames_1 = require("./Constants/Items/MythicItemNames");
58
- Object.defineProperty(exports, "MythicItemNames", { enumerable: true, get: function () { return MythicItemNames_1.MythicItemNames; } });
59
- // ## Meta
60
- var ChampionRelationTypes_1 = require("./Constants/Meta/ChampionRelationTypes");
61
- Object.defineProperty(exports, "ChampionRelationTypes", { enumerable: true, get: function () { return ChampionRelationTypes_1.ChampionRelationTypes; } });
62
- // ## Runes
63
- var RuneIconFileNames_1 = require("./Constants/Runes/RuneIconFileNames");
64
- Object.defineProperty(exports, "RuneIconFileNames", { enumerable: true, get: function () { return RuneIconFileNames_1.RuneIconFileNames; } });
65
- var RunePickingRelationships_1 = require("./Constants/Runes/RunePickingRelationships");
66
- Object.defineProperty(exports, "RunePickingRelationships", { enumerable: true, get: function () { return RunePickingRelationships_1.RunePickingRelationships; } });
67
- var RuneSets_1 = require("./Constants/Runes/RuneSets");
68
- Object.defineProperty(exports, "PrimaryRuneTrees", { enumerable: true, get: function () { return RuneSets_1.PrimaryRuneTrees; } });
69
- Object.defineProperty(exports, "SecondaryRuneTrees", { enumerable: true, get: function () { return RuneSets_1.SecondaryRuneTrees; } });
70
- Object.defineProperty(exports, "KeystoneNames", { enumerable: true, get: function () { return RuneSets_1.KeystoneNames; } });
71
- Object.defineProperty(exports, "StatRuneNames", { enumerable: true, get: function () { return RuneSets_1.StatRuneNames; } });
72
- Object.defineProperty(exports, "RuneNames", { enumerable: true, get: function () { return RuneSets_1.RuneNames; } });
73
- Object.defineProperty(exports, "RuneTreeHSets", { enumerable: true, get: function () { return RuneSets_1.RuneTreeHSets; } });
74
- Object.defineProperty(exports, "StatRuneHSets", { enumerable: true, get: function () { return RuneSets_1.StatRuneHSets; } });
75
- Object.defineProperty(exports, "RuneSets", { enumerable: true, get: function () { return RuneSets_1.RuneSets; } });
76
- var RuneSetsByRuneNames_1 = require("./Constants/Runes/RuneSetsByRuneNames");
77
- Object.defineProperty(exports, "PrimaryRuneTreesByRuneNames", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.PrimaryRuneTrees; } });
78
- Object.defineProperty(exports, "SecondaryRuneTreesByRuneNames", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.SecondaryRuneTrees; } });
79
- Object.defineProperty(exports, "KeystoneIds", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.KeystoneIds; } });
80
- Object.defineProperty(exports, "StatRuneIds", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.StatRuneIds; } });
81
- Object.defineProperty(exports, "RuneIds", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.RuneIds; } });
82
- Object.defineProperty(exports, "RuneTreeHSetsByRuneNames", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.RuneTreeHSets; } });
83
- Object.defineProperty(exports, "StatRuneHSetsByRuneNames", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.StatRuneHSets; } });
84
- Object.defineProperty(exports, "RuneSetsByRuneNames", { enumerable: true, get: function () { return RuneSetsByRuneNames_1.RuneSetsByRuneNames; } });
85
- var RuneTreeIds_1 = require("./Constants/Runes/RuneTreeIds");
86
- Object.defineProperty(exports, "RuneTreeIds", { enumerable: true, get: function () { return RuneTreeIds_1.RuneTreeIds; } });
87
- var RuneTreeNames_1 = require("./Constants/Runes/RuneTreeNames");
88
- Object.defineProperty(exports, "RuneTreeNames", { enumerable: true, get: function () { return RuneTreeNames_1.RuneTreeNames; } });
89
- var TreeRuneIds_1 = require("./Constants/Runes/TreeRuneIds");
90
- Object.defineProperty(exports, "TreeRuneIds", { enumerable: true, get: function () { return TreeRuneIds_1.TreeRuneIds; } });
91
- var TreeRuneNames_1 = require("./Constants/Runes/TreeRuneNames");
92
- Object.defineProperty(exports, "TreeRuneNames", { enumerable: true, get: function () { return TreeRuneNames_1.TreeRuneNames; } });
93
- // ## Spells
94
- var SpellIds_1 = require("./Constants/Spells/SpellIds");
95
- Object.defineProperty(exports, "SpellIds", { enumerable: true, get: function () { return SpellIds_1.SpellIds; } });
96
- var SpellIdsByName_1 = require("./Constants/Spells/SpellIdsByName");
97
- Object.defineProperty(exports, "SpellIdsByName", { enumerable: true, get: function () { return SpellIdsByName_1.SpellIdsByName; } });
98
- var SpellKeys_1 = require("./Constants/Spells/SpellKeys");
99
- Object.defineProperty(exports, "SpellKeys", { enumerable: true, get: function () { return SpellKeys_1.SpellKeys; } });
100
- var SpellNames_1 = require("./Constants/Spells/SpellNames");
101
- Object.defineProperty(exports, "SpellNames", { enumerable: true, get: function () { return SpellNames_1.SpellNames; } });
102
- // # Helpers
103
- var isLane_1 = require("./Helpers/isLane");
104
- Object.defineProperty(exports, "isLane", { enumerable: true, get: function () { return isLane_1.isLane; } });
105
- var isLevel_1 = require("./Helpers/isLevel");
106
- Object.defineProperty(exports, "isLevel", { enumerable: true, get: function () { return isLevel_1.isLevel; } });
107
- var isPosition_1 = require("./Helpers/isPosition");
108
- Object.defineProperty(exports, "isPosition", { enumerable: true, get: function () { return isPosition_1.isPosition; } });
109
- var isSkill_1 = require("./Helpers/isSkill");
110
- Object.defineProperty(exports, "isSkill", { enumerable: true, get: function () { return isSkill_1.isSkill; } });
111
- // ## Champions
112
- var getChampionIdByKey_1 = require("./Helpers/Champions/getChampionIdByKey");
113
- Object.defineProperty(exports, "getChampionIdByKey", { enumerable: true, get: function () { return getChampionIdByKey_1.getChampionIdByKey; } });
114
- var getChampionIdByName_1 = require("./Helpers/Champions/getChampionIdByName");
115
- Object.defineProperty(exports, "getChampionIdByName", { enumerable: true, get: function () { return getChampionIdByName_1.getChampionIdByName; } });
116
- var getChampionKeyById_1 = require("./Helpers/Champions/getChampionKeyById");
117
- Object.defineProperty(exports, "getChampionKeyById", { enumerable: true, get: function () { return getChampionKeyById_1.getChampionKeyById; } });
118
- var getChampionKeyByName_1 = require("./Helpers/Champions/getChampionKeyByName");
119
- Object.defineProperty(exports, "getChampionKeyByName", { enumerable: true, get: function () { return getChampionKeyByName_1.getChampionKeyByName; } });
120
- var getChampionNameById_1 = require("./Helpers/Champions/getChampionNameById");
121
- Object.defineProperty(exports, "getChampionNameById", { enumerable: true, get: function () { return getChampionNameById_1.getChampionNameById; } });
122
- var getChampionNameByKey_1 = require("./Helpers/Champions/getChampionNameByKey");
123
- Object.defineProperty(exports, "getChampionNameByKey", { enumerable: true, get: function () { return getChampionNameByKey_1.getChampionNameByKey; } });
124
- var isChampionId_1 = require("./Helpers/Champions/isChampionId");
125
- Object.defineProperty(exports, "isChampionId", { enumerable: true, get: function () { return isChampionId_1.isChampionId; } });
126
- var isChampionKey_1 = require("./Helpers/Champions/isChampionKey");
127
- Object.defineProperty(exports, "isChampionKey", { enumerable: true, get: function () { return isChampionKey_1.isChampionKey; } });
128
- var isChampionName_1 = require("./Helpers/Champions/isChampionName");
129
- Object.defineProperty(exports, "isChampionName", { enumerable: true, get: function () { return isChampionName_1.isChampionName; } });
130
- // ## Icons
131
- var getPositionImageURL_1 = require("./Helpers/Icons/getPositionImageURL");
132
- Object.defineProperty(exports, "getPositionImageURL", { enumerable: true, get: function () { return getPositionImageURL_1.getPositionImageURL; } });
133
- // ## Items
134
- var getItemKeyByName_1 = require("./Helpers/Items/getItemKeyByName");
135
- Object.defineProperty(exports, "getItemKeyByName", { enumerable: true, get: function () { return getItemKeyByName_1.getItemKeyByName; } });
136
- var getItemNameByKey_1 = require("./Helpers/Items/getItemNameByKey");
137
- Object.defineProperty(exports, "getItemNameByKey", { enumerable: true, get: function () { return getItemNameByKey_1.getItemNameByKey; } });
138
- var isBootsItemKey_1 = require("./Helpers/Items/isBootsItemKey");
139
- Object.defineProperty(exports, "isBootsItemKey", { enumerable: true, get: function () { return isBootsItemKey_1.isBootsItemKey; } });
140
- var isBootsItemName_1 = require("./Helpers/Items/isBootsItemName");
141
- Object.defineProperty(exports, "isBootsItemName", { enumerable: true, get: function () { return isBootsItemName_1.isBootsItemName; } });
142
- var isItemKey_1 = require("./Helpers/Items/isItemKey");
143
- Object.defineProperty(exports, "isItemKey", { enumerable: true, get: function () { return isItemKey_1.isItemKey; } });
144
- var isItemName_1 = require("./Helpers/Items/isItemName");
145
- Object.defineProperty(exports, "isItemName", { enumerable: true, get: function () { return isItemName_1.isItemName; } });
146
- var isItemType_1 = require("./Helpers/Items/isItemType");
147
- Object.defineProperty(exports, "isItemType", { enumerable: true, get: function () { return isItemType_1.isItemType; } });
148
- var isLegendaryItemKey_1 = require("./Helpers/Items/isLegendaryItemKey");
149
- Object.defineProperty(exports, "isLegendaryItemKey", { enumerable: true, get: function () { return isLegendaryItemKey_1.isLegendaryItemKey; } });
150
- var isLegendaryItemName_1 = require("./Helpers/Items/isLegendaryItemName");
151
- Object.defineProperty(exports, "isLegendaryItemName", { enumerable: true, get: function () { return isLegendaryItemName_1.isLegendaryItemName; } });
152
- var isMythicItemKey_1 = require("./Helpers/Items/isMythicItemKey");
153
- Object.defineProperty(exports, "isMythicItemKey", { enumerable: true, get: function () { return isMythicItemKey_1.isMythicItemKey; } });
154
- var isMythicItemName_1 = require("./Helpers/Items/isMythicItemName");
155
- Object.defineProperty(exports, "isMythicItemName", { enumerable: true, get: function () { return isMythicItemName_1.isMythicItemName; } });
156
- // ## Meta
157
- var isChampionRelationType_1 = require("./Helpers/Meta/isChampionRelationType");
158
- Object.defineProperty(exports, "isChampionRelationType", { enumerable: true, get: function () { return isChampionRelationType_1.isChampionRelationType; } });
159
- // ## Runes
160
- var getRuneCategoryByRuneName_1 = require("./Helpers/Runes/getRuneCategoryByRuneName");
161
- Object.defineProperty(exports, "getRuneCategoryByRuneName", { enumerable: true, get: function () { return getRuneCategoryByRuneName_1.getRuneCategoryByRuneName; } });
162
- var getRuneCDNURL_1 = require("./Helpers/Runes/getRuneCDNURL");
163
- Object.defineProperty(exports, "getRuneCDNURL", { enumerable: true, get: function () { return getRuneCDNURL_1.getRuneCDNURL; } });
164
- var getRuneIdByName_1 = require("./Helpers/Runes/getRuneIdByName");
165
- Object.defineProperty(exports, "getRuneIdByName", { enumerable: true, get: function () { return getRuneIdByName_1.getRuneIdByName; } });
166
- var getRuneNameById_1 = require("./Helpers/Runes/getRuneNameById");
167
- Object.defineProperty(exports, "getRuneNameById", { enumerable: true, get: function () { return getRuneNameById_1.getRuneNameById; } });
168
- var getRuneTreeIdByName_1 = require("./Helpers/Runes/getRuneTreeIdByName");
169
- Object.defineProperty(exports, "getRuneTreeIdByName", { enumerable: true, get: function () { return getRuneTreeIdByName_1.getRuneTreeIdByName; } });
170
- var getRuneTreeNameById_1 = require("./Helpers/Runes/getRuneTreeNameById");
171
- Object.defineProperty(exports, "getRuneTreeNameById", { enumerable: true, get: function () { return getRuneTreeNameById_1.getRuneTreeNameById; } });
172
- var getStatRuneIdByName_1 = require("./Helpers/Runes/getStatRuneIdByName");
173
- Object.defineProperty(exports, "getStatRuneIdByName", { enumerable: true, get: function () { return getStatRuneIdByName_1.getStatRuneIdByName; } });
174
- var getStatRuneNameById_1 = require("./Helpers/Runes/getStatRuneNameById");
175
- Object.defineProperty(exports, "getStatRuneNameById", { enumerable: true, get: function () { return getStatRuneNameById_1.getStatRuneNameById; } });
176
- var getTreeRuneIdByName_1 = require("./Helpers/Runes/getTreeRuneIdByName");
177
- Object.defineProperty(exports, "getTreeRuneIdByName", { enumerable: true, get: function () { return getTreeRuneIdByName_1.getTreeRuneIdByName; } });
178
- var getTreeRuneNameById_1 = require("./Helpers/Runes/getTreeRuneNameById");
179
- Object.defineProperty(exports, "getTreeRuneNameById", { enumerable: true, get: function () { return getTreeRuneNameById_1.getTreeRuneNameById; } });
180
- var isDominationTreeRuneId_1 = require("./Helpers/Runes/isDominationTreeRuneId");
181
- Object.defineProperty(exports, "isDominationTreeRuneId", { enumerable: true, get: function () { return isDominationTreeRuneId_1.isDominationTreeRuneId; } });
182
- var isInspirationTreeRuneId_1 = require("./Helpers/Runes/isInspirationTreeRuneId");
183
- Object.defineProperty(exports, "isInspirationTreeRuneId", { enumerable: true, get: function () { return isInspirationTreeRuneId_1.isInspirationTreeRuneId; } });
184
- var isKeystoneRuneId_1 = require("./Helpers/Runes/isKeystoneRuneId");
185
- Object.defineProperty(exports, "isKeystoneRuneId", { enumerable: true, get: function () { return isKeystoneRuneId_1.isKeystoneRuneId; } });
186
- var isPrecisionTreeRuneId_1 = require("./Helpers/Runes/isPrecisionTreeRuneId");
187
- Object.defineProperty(exports, "isPrecisionTreeRuneId", { enumerable: true, get: function () { return isPrecisionTreeRuneId_1.isPrecisionTreeRuneId; } });
188
- var isResolveTreeRuneId_1 = require("./Helpers/Runes/isResolveTreeRuneId");
189
- Object.defineProperty(exports, "isResolveTreeRuneId", { enumerable: true, get: function () { return isResolveTreeRuneId_1.isResolveTreeRuneId; } });
190
- var isRuneId_1 = require("./Helpers/Runes/isRuneId");
191
- Object.defineProperty(exports, "isRuneId", { enumerable: true, get: function () { return isRuneId_1.isRuneId; } });
192
- var isRuneName_1 = require("./Helpers/Runes/isRuneName");
193
- Object.defineProperty(exports, "isRuneName", { enumerable: true, get: function () { return isRuneName_1.isRuneName; } });
194
- var isRuneTreeId_1 = require("./Helpers/Runes/isRuneTreeId");
195
- Object.defineProperty(exports, "isRuneTreeId", { enumerable: true, get: function () { return isRuneTreeId_1.isRuneTreeId; } });
196
- var isRuneTreeName_1 = require("./Helpers/Runes/isRuneTreeName");
197
- Object.defineProperty(exports, "isRuneTreeName", { enumerable: true, get: function () { return isRuneTreeName_1.isRuneTreeName; } });
198
- var isSorceryTreeRuneId_1 = require("./Helpers/Runes/isSorceryTreeRuneId");
199
- Object.defineProperty(exports, "isSorceryTreeRuneId", { enumerable: true, get: function () { return isSorceryTreeRuneId_1.isSorceryTreeRuneId; } });
200
- var isStatRuneId_1 = require("./Helpers/Runes/isStatRuneId");
201
- Object.defineProperty(exports, "isStatRuneId", { enumerable: true, get: function () { return isStatRuneId_1.isStatRuneId; } });
202
- var isStatRuneName_1 = require("./Helpers/Runes/isStatRuneName");
203
- Object.defineProperty(exports, "isStatRuneName", { enumerable: true, get: function () { return isStatRuneName_1.isStatRuneName; } });
204
- var isTreeRuneId_1 = require("./Helpers/Runes/isTreeRuneId");
205
- Object.defineProperty(exports, "isTreeRuneId", { enumerable: true, get: function () { return isTreeRuneId_1.isTreeRuneId; } });
206
- var isTreeRuneName_1 = require("./Helpers/Runes/isTreeRuneName");
207
- Object.defineProperty(exports, "isTreeRuneName", { enumerable: true, get: function () { return isTreeRuneName_1.isTreeRuneName; } });
208
- // ## Spells
209
- var getSpellIdByKey_1 = require("./Helpers/Spells/getSpellIdByKey");
210
- Object.defineProperty(exports, "getSpellIdByKey", { enumerable: true, get: function () { return getSpellIdByKey_1.getSpellIdByKey; } });
211
- var getSpellIdByName_1 = require("./Helpers/Spells/getSpellIdByName");
212
- Object.defineProperty(exports, "getSpellIdByName", { enumerable: true, get: function () { return getSpellIdByName_1.getSpellIdByName; } });
213
- var getSpellKeyById_1 = require("./Helpers/Spells/getSpellKeyById");
214
- Object.defineProperty(exports, "getSpellKeyById", { enumerable: true, get: function () { return getSpellKeyById_1.getSpellKeyById; } });
215
- var getSpellKeyByName_1 = require("./Helpers/Spells/getSpellKeyByName");
216
- Object.defineProperty(exports, "getSpellKeyByName", { enumerable: true, get: function () { return getSpellKeyByName_1.getSpellKeyByName; } });
217
- var getSpellNameById_1 = require("./Helpers/Spells/getSpellNameById");
218
- Object.defineProperty(exports, "getSpellNameById", { enumerable: true, get: function () { return getSpellNameById_1.getSpellNameById; } });
219
- var getSpellNameByKey_1 = require("./Helpers/Spells/getSpellNameByKey");
220
- Object.defineProperty(exports, "getSpellNameByKey", { enumerable: true, get: function () { return getSpellNameByKey_1.getSpellNameByKey; } });
221
- var isSpellId_1 = require("./Helpers/Spells/isSpellId");
222
- Object.defineProperty(exports, "isSpellId", { enumerable: true, get: function () { return isSpellId_1.isSpellId; } });
223
- var isSpellKey_1 = require("./Helpers/Spells/isSpellKey");
224
- Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
225
- var isSpellName_1 = require("./Helpers/Spells/isSpellName");
226
- Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
227
- // # types
228
- __exportStar(require("./types"), exports);
229
- __exportStar(require("./types/Meta"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // # constants
18
+ __exportStar(require("./constants/DataDragonUrls"), exports);
19
+ __exportStar(require("./constants/GameModes"), exports);
20
+ __exportStar(require("./constants/GameTypes"), exports);
21
+ __exportStar(require("./constants/Lanes"), exports);
22
+ __exportStar(require("./constants/Levels"), exports);
23
+ __exportStar(require("./constants/Locales"), exports);
24
+ __exportStar(require("./constants/PlatformIds"), exports);
25
+ __exportStar(require("./constants/Positions"), exports);
26
+ __exportStar(require("./constants/Queues"), exports);
27
+ __exportStar(require("./constants/RankedRanks"), exports);
28
+ __exportStar(require("./constants/RankedTiers"), exports);
29
+ __exportStar(require("./constants/Regions"), exports);
30
+ __exportStar(require("./constants/RelativeTeams"), exports);
31
+ __exportStar(require("./constants/Roles"), exports);
32
+ __exportStar(require("./constants/Skills"), exports);
33
+ __exportStar(require("./constants/WardTypes"), exports);
34
+ // ## Champions
35
+ __exportStar(require("./constants/Champions/ChampionIds"), exports);
36
+ __exportStar(require("./constants/Champions/ChampionIdsByName"), exports);
37
+ __exportStar(require("./constants/Champions/ChampionKeys"), exports);
38
+ __exportStar(require("./constants/Champions/ChampionNames"), exports);
39
+ // ## Items
40
+ __exportStar(require("./constants/Items/BootsItemKeys"), exports);
41
+ __exportStar(require("./constants/Items/BootsItemNames"), exports);
42
+ __exportStar(require("./constants/Items/ItemKeys"), exports);
43
+ __exportStar(require("./constants/Items/ItemNames"), exports);
44
+ __exportStar(require("./constants/Items/ItemTypes"), exports);
45
+ __exportStar(require("./constants/Items/LegendaryItemKeys"), exports);
46
+ __exportStar(require("./constants/Items/LegendaryItemNames"), exports);
47
+ __exportStar(require("./constants/Items/MythicItemKeys"), exports);
48
+ __exportStar(require("./constants/Items/MythicItemNames"), exports);
49
+ // ## Runes
50
+ __exportStar(require("./constants/Runes/RuneIconFileNames"), exports);
51
+ __exportStar(require("./constants/Runes/RunePickingRelationships"), exports);
52
+ __exportStar(require("./constants/Runes/RuneSets"), exports);
53
+ // TEMP
54
+ // export {
55
+ // PrimaryRuneTrees as PrimaryRuneTreesByRuneNames,
56
+ // SecondaryRuneTrees as SecondaryRuneTreesByRuneNames,
57
+ // KeystoneIds,
58
+ // StatRuneIds,
59
+ // RuneIds,
60
+ // RuneTreeHSets as RuneTreeHSetsByRuneNames,
61
+ // StatRuneHSets as StatRuneHSetsByRuneNames,
62
+ // RuneSetsByRuneNames,
63
+ // } from './constants/Runes/RuneSetsByRuneNames'
64
+ // export * from './constants/Runes/RuneSetsByRuneNames'
65
+ __exportStar(require("./constants/Runes/RuneTreeIds"), exports);
66
+ __exportStar(require("./constants/Runes/RuneTreeNames"), exports);
67
+ __exportStar(require("./constants/Runes/TreeRuneIds"), exports);
68
+ __exportStar(require("./constants/Runes/TreeRuneNames"), exports);
69
+ // ## Spells
70
+ __exportStar(require("./constants/Spells/SpellIds"), exports);
71
+ __exportStar(require("./constants/Spells/SpellIdsByName"), exports);
72
+ __exportStar(require("./constants/Spells/SpellKeys"), exports);
73
+ __exportStar(require("./constants/Spells/SpellNames"), exports);
74
+ // # helpers
75
+ __exportStar(require("./helpers/getPositionImageUrl"), exports);
76
+ // ## Champions
77
+ __exportStar(require("./helpers/Champions/getChampionIdByKey"), exports);
78
+ __exportStar(require("./helpers/Champions/getChampionIdByName"), exports);
79
+ __exportStar(require("./helpers/Champions/getChampionKeyById"), exports);
80
+ __exportStar(require("./helpers/Champions/getChampionKeyByName"), exports);
81
+ __exportStar(require("./helpers/Champions/getChampionNameById"), exports);
82
+ __exportStar(require("./helpers/Champions/getChampionNameByKey"), exports);
83
+ __exportStar(require("./helpers/Champions/isChampionId"), exports);
84
+ __exportStar(require("./helpers/Champions/isChampionKey"), exports);
85
+ __exportStar(require("./helpers/Champions/isChampionName"), exports);
86
+ // ## Items
87
+ __exportStar(require("./helpers/Items/getItemKeyByName"), exports);
88
+ __exportStar(require("./helpers/Items/getItemNameByKey"), exports);
89
+ __exportStar(require("./helpers/Items/isBootsItemKey"), exports);
90
+ __exportStar(require("./helpers/Items/isBootsItemName"), exports);
91
+ __exportStar(require("./helpers/Items/isItemKey"), exports);
92
+ __exportStar(require("./helpers/Items/isItemName"), exports);
93
+ __exportStar(require("./helpers/Items/isLegendaryItemKey"), exports);
94
+ __exportStar(require("./helpers/Items/isLegendaryItemName"), exports);
95
+ __exportStar(require("./helpers/Items/isMythicItemKey"), exports);
96
+ __exportStar(require("./helpers/Items/isMythicItemName"), exports);
97
+ // ## Runes
98
+ __exportStar(require("./helpers/Runes/getRuneCategoryName"), exports);
99
+ __exportStar(require("./helpers/Runes/getRuneCdnUrl"), exports);
100
+ __exportStar(require("./helpers/Runes/getRuneIdByName"), exports);
101
+ __exportStar(require("./helpers/Runes/getRuneNameById"), exports);
102
+ __exportStar(require("./helpers/Runes/getStatRuneIdByName"), exports);
103
+ __exportStar(require("./helpers/Runes/getStatRuneNameById"), exports);
104
+ __exportStar(require("./helpers/Runes/getTreeRuneIdByName"), exports);
105
+ __exportStar(require("./helpers/Runes/getTreeRuneNameById"), exports);
106
+ __exportStar(require("./helpers/Runes/isDominationTreeRuneId"), exports);
107
+ __exportStar(require("./helpers/Runes/isInspirationTreeRuneId"), exports);
108
+ __exportStar(require("./helpers/Runes/isKeystoneRuneId"), exports);
109
+ __exportStar(require("./helpers/Runes/isPrecisionTreeRuneId"), exports);
110
+ __exportStar(require("./helpers/Runes/isResolveTreeRuneId"), exports);
111
+ __exportStar(require("./helpers/Runes/isRuneId"), exports);
112
+ __exportStar(require("./helpers/Runes/isRuneName"), exports);
113
+ __exportStar(require("./helpers/Runes/isSorceryTreeRuneId"), exports);
114
+ __exportStar(require("./helpers/Runes/isStatRuneId"), exports);
115
+ __exportStar(require("./helpers/Runes/isStatRuneName"), exports);
116
+ __exportStar(require("./helpers/Runes/isTreeRuneId"), exports);
117
+ __exportStar(require("./helpers/Runes/isTreeRuneName"), exports);
118
+ // ## Spells
119
+ __exportStar(require("./helpers/Spells/getSpellIdByKey"), exports);
120
+ __exportStar(require("./helpers/Spells/getSpellIdByName"), exports);
121
+ __exportStar(require("./helpers/Spells/getSpellKeyById"), exports);
122
+ __exportStar(require("./helpers/Spells/getSpellKeyByName"), exports);
123
+ __exportStar(require("./helpers/Spells/getSpellNameById"), exports);
124
+ __exportStar(require("./helpers/Spells/getSpellNameByKey"), exports);
125
+ __exportStar(require("./helpers/Spells/isSpellId"), exports);
126
+ __exportStar(require("./helpers/Spells/isSpellKey"), exports);
127
+ __exportStar(require("./helpers/Spells/isSpellName"), exports);
128
+ // # types
129
+ __exportStar(require("./types/types"), exports);
@@ -0,0 +1,210 @@
1
+ import { ChampionIds } from '../constants/Champions/ChampionIds';
2
+ import { ChampionKeys } from '../constants/Champions/ChampionKeys';
3
+ import { ChampionNames } from '../constants/Champions/ChampionNames';
4
+ import { BootsItemKeys } from '../constants/Items/BootsItemKeys';
5
+ import { BootsItemNames } from '../constants/Items/BootsItemNames';
6
+ import { ItemKeys } from '../constants/Items/ItemKeys';
7
+ import { ItemNames } from '../constants/Items/ItemNames';
8
+ import { LegendaryItemKeys } from '../constants/Items/LegendaryItemKeys';
9
+ import { LegendaryItemNames } from '../constants/Items/LegendaryItemNames';
10
+ import { MythicItemKeys } from '../constants/Items/MythicItemKeys';
11
+ import { MythicItemNames } from '../constants/Items/MythicItemNames';
12
+ import { RuneNames, RuneSets, StatRuneNames } from '../constants/Runes/RuneSets';
13
+ import { RuneIds, RuneSetsByRuneNames, StatRuneIds } from '../constants/Runes/RuneSetsByRuneNames';
14
+ import { RuneTreeName } from '../constants/Runes/RuneTreeNames';
15
+ import { RuneTreeType } from '../constants/Runes/RuneTreeTypes';
16
+ import { TreeRuneIds } from '../constants/Runes/TreeRuneIds';
17
+ import { TreeRuneNames } from '../constants/Runes/TreeRuneNames';
18
+ import { SpellIds } from '../constants/Spells/SpellIds';
19
+ import { SpellKeys } from '../constants/Spells/SpellKeys';
20
+ import { SpellNames } from '../constants/Spells/SpellNames';
21
+ /**
22
+ * 0 — Custom games
23
+ * 400 — 5v5 Draft Pick games
24
+ * 420 — 5v5 Ranked Solo games
25
+ * 430 — 5v5 Blind Pick games
26
+ * 440 — 5v5 Ranked Flex games
27
+ * 450 — 5v5 ARAM games
28
+ * 700 — Clash games
29
+ * 900 — ARURF games
30
+ * 920 — Legend of the Poro King games
31
+ * 1020 — One for All games
32
+ * 1090 — Teamfight Tactics games
33
+ * 1100 — Ranked Teamfight Tactics games
34
+ * 1110 — Teamfight Tactics Tutorial games
35
+ * 1111 — Teamfight Tactics test games
36
+ * 1300 — Nexus Blitz games
37
+ * 1400 — Ultimate Spellbook games
38
+ * 1900 — Pick URF games
39
+ */
40
+ export type QueueId = 0 | 400 | 420 | 430 | 440 | 450 | 700 | 900 | 920 | 1020 | 1090 | 1100 | 1110 | 1111 | 1300 | 1400 | 1900;
41
+ /**
42
+ * 11 — Summoner's Rift
43
+ * 12 — Howling Abyss
44
+ * 21 — Nexus Blitz
45
+ * 22 — Convergence
46
+ */
47
+ export type MapId = 11 | 12 | 21 | 22;
48
+ export type TeamId = 100 | 200;
49
+ export type ParticipantId = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
50
+ export type ChampionId = typeof ChampionIds[keyof typeof ChampionIds];
51
+ export type ChampionKey = typeof ChampionKeys[keyof typeof ChampionKeys];
52
+ export type ChampionName = typeof ChampionNames[keyof typeof ChampionNames];
53
+ export type SpellId = typeof SpellIds[keyof typeof SpellIds];
54
+ export type SpellKey = typeof SpellKeys[keyof typeof SpellKeys];
55
+ export type SpellName = typeof SpellNames[keyof typeof SpellNames];
56
+ export type ItemKey = typeof ItemKeys[keyof typeof ItemKeys];
57
+ export type ItemName = typeof ItemNames[keyof typeof ItemNames];
58
+ export type MythicItemKey = keyof typeof MythicItemNames;
59
+ export type MythicItemName = keyof typeof MythicItemKeys;
60
+ export type LegendaryItemKey = keyof typeof LegendaryItemNames;
61
+ export type LegendaryItemName = keyof typeof LegendaryItemKeys;
62
+ export type BootsItemKey = keyof typeof BootsItemNames;
63
+ export type BootsItemName = keyof typeof BootsItemKeys;
64
+ /**
65
+ * There are 3 main Rune ID types:
66
+ * - `RuneId` (all),
67
+ * - `TreeRuneId` (all but stat runes),
68
+ * - `StatRuneId` (only stat runes).
69
+ *
70
+ * There are 6 more specific Rune ID types as well:
71
+ * - `KeystoneRuneId`,
72
+ * - `PrecisionTreeRuneId`,
73
+ * - `DominationTreeRuneId`,
74
+ * - `SorceryTreeRuneId`,
75
+ * - `ResolveTreeRuneId`,
76
+ * - `InspirationTreeRuneId`,
77
+ */
78
+ export type RuneId = typeof RuneIds[keyof typeof RuneIds];
79
+ export type RuneName = typeof RuneNames[keyof typeof RuneNames];
80
+ /**
81
+ * There are 3 main Rune ID types:
82
+ * - `RuneId` (all),
83
+ * - `TreeRuneId` (all but stat runes),
84
+ * - `StatRuneId` (only stat runes).
85
+ *
86
+ * There are 6 more specific Rune ID types as well:
87
+ * - `KeystoneRuneId`,
88
+ * - `PrecisionTreeRuneId`,
89
+ * - `DominationTreeRuneId`,
90
+ * - `SorceryTreeRuneId`,
91
+ * - `ResolveTreeRuneId`,
92
+ * - `InspirationTreeRuneId`,
93
+ */
94
+ export type TreeRuneId = typeof TreeRuneIds[keyof typeof TreeRuneIds];
95
+ export type TreeRuneName = typeof TreeRuneNames[keyof typeof TreeRuneNames];
96
+ /**
97
+ * There are 3 main Rune ID types:
98
+ * - `RuneId` (all),
99
+ * - `TreeRuneId` (all but stat runes),
100
+ * - `StatRuneId` (only stat runes).
101
+ *
102
+ * There are 6 more specific Rune ID types as well:
103
+ * - `KeystoneRuneId`,
104
+ * - `PrecisionTreeRuneId`,
105
+ * - `DominationTreeRuneId`,
106
+ * - `SorceryTreeRuneId`,
107
+ * - `ResolveTreeRuneId`,
108
+ * - `InspirationTreeRuneId`,
109
+ */
110
+ export type StatRuneId = typeof StatRuneIds[keyof typeof StatRuneIds];
111
+ export type StatRuneName = typeof StatRuneNames[keyof typeof StatRuneNames];
112
+ /**
113
+ * There are 3 main Rune ID types:
114
+ * - `RuneId` (all),
115
+ * - `TreeRuneId` (all but stat runes),
116
+ * - `StatRuneId` (only stat runes).
117
+ *
118
+ * There are 6 more specific Rune ID types as well:
119
+ * - `KeystoneRuneId`,
120
+ * - `PrecisionTreeRuneId`,
121
+ * - `DominationTreeRuneId`,
122
+ * - `SorceryTreeRuneId`,
123
+ * - `ResolveTreeRuneId`,
124
+ * - `InspirationTreeRuneId`,
125
+ */
126
+ export type KeystoneRuneId = keyof typeof RuneSets.KeystoneNames;
127
+ export type KeystoneRuneName = keyof typeof RuneSetsByRuneNames.KeystoneIds;
128
+ /**
129
+ * There are 3 main Rune ID types:
130
+ * - `RuneId` (all),
131
+ * - `TreeRuneId` (all but stat runes),
132
+ * - `StatRuneId` (only stat runes).
133
+ *
134
+ * There are 6 more specific Rune ID types as well:
135
+ * - `KeystoneRuneId`,
136
+ * - `PrecisionTreeRuneId`,
137
+ * - `DominationTreeRuneId`,
138
+ * - `SorceryTreeRuneId`,
139
+ * - `ResolveTreeRuneId`,
140
+ * - `InspirationTreeRuneId`,
141
+ */
142
+ export type PrecisionTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Precision;
143
+ export type PrecisionTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Precision;
144
+ /**
145
+ * There are 3 main Rune ID types:
146
+ * - `RuneId` (all),
147
+ * - `TreeRuneId` (all but stat runes),
148
+ * - `StatRuneId` (only stat runes).
149
+ *
150
+ * There are 6 more specific Rune ID types as well:
151
+ * - `KeystoneRuneId`,
152
+ * - `PrecisionTreeRuneId`,
153
+ * - `DominationTreeRuneId`,
154
+ * - `SorceryTreeRuneId`,
155
+ * - `ResolveTreeRuneId`,
156
+ * - `InspirationTreeRuneId`,
157
+ */
158
+ export type DominationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Domination;
159
+ export type DominationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Domination;
160
+ /**
161
+ * There are 3 main Rune ID types:
162
+ * - `RuneId` (all),
163
+ * - `TreeRuneId` (all but stat runes),
164
+ * - `StatRuneId` (only stat runes).
165
+ *
166
+ * There are 6 more specific Rune ID types as well:
167
+ * - `KeystoneRuneId`,
168
+ * - `PrecisionTreeRuneId`,
169
+ * - `DominationTreeRuneId`,
170
+ * - `SorceryTreeRuneId`,
171
+ * - `ResolveTreeRuneId`,
172
+ * - `InspirationTreeRuneId`,
173
+ */
174
+ export type SorceryTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Sorcery;
175
+ export type SorceryTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Sorcery;
176
+ /**
177
+ * There are 3 main Rune ID types:
178
+ * - `RuneId` (all),
179
+ * - `TreeRuneId` (all but stat runes),
180
+ * - `StatRuneId` (only stat runes).
181
+ *
182
+ * There are 6 more specific Rune ID types as well:
183
+ * - `KeystoneRuneId`,
184
+ * - `PrecisionTreeRuneId`,
185
+ * - `DominationTreeRuneId`,
186
+ * - `SorceryTreeRuneId`,
187
+ * - `ResolveTreeRuneId`,
188
+ * - `InspirationTreeRuneId`,
189
+ */
190
+ export type ResolveTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Resolve;
191
+ export type ResolveTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Resolve;
192
+ /**
193
+ * There are 3 main Rune ID types:
194
+ * - `RuneId` (all),
195
+ * - `TreeRuneId` (all but stat runes),
196
+ * - `StatRuneId` (only stat runes).
197
+ *
198
+ * There are 6 more specific Rune ID types as well:
199
+ * - `KeystoneRuneId`,
200
+ * - `PrecisionTreeRuneId`,
201
+ * - `DominationTreeRuneId`,
202
+ * - `SorceryTreeRuneId`,
203
+ * - `ResolveTreeRuneId`,
204
+ * - `InspirationTreeRuneId`,
205
+ */
206
+ export type InspirationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Inspiration;
207
+ export type InspirationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Inspiration;
208
+ export type StatRunesCategory = 'StatRunes';
209
+ export type RuneSection = RuneTreeType | StatRunesCategory;
210
+ export type RuneCategory = RuneTreeName | StatRunesCategory;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "1.13.0",
3
+ "version": "2.1.0",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",
@@ -15,9 +15,9 @@
15
15
  "dev": "vite"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/node": "^17.0.42",
19
- "typescript": "^4.8.4",
20
- "vite": "^2.9.13"
18
+ "@types/node": "^20.1.4",
19
+ "typescript": "^5.0.4",
20
+ "vite": "^4.3.5"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",