lol-constants 1.10.1 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/assets/Constants/BootsItemNames.d.ts +1 -1
  2. package/assets/Constants/BootsItemNames.js +1 -1
  3. package/assets/Constants/Champion.d.ts +7621 -0
  4. package/assets/Constants/Champion.js +4 -0
  5. package/assets/Constants/Item.d.ts +10004 -0
  6. package/assets/Constants/Item.js +4 -0
  7. package/assets/Constants/LegendaryItemNames.d.ts +2 -2
  8. package/assets/Constants/LegendaryItemNames.js +3 -1
  9. package/assets/Constants/MythicItemNames.d.ts +2 -2
  10. package/assets/Constants/MythicItemNames.js +6 -3
  11. package/assets/Constants/RunesReforged.d.ts +512 -0
  12. package/assets/Constants/RunesReforged.js +4 -0
  13. package/assets/Constants/StatRunes.d.ts +1 -1
  14. package/assets/Constants/StatRunes.js +1 -1
  15. package/assets/Constants/{StatRunesV2.d.ts → StatRunesByRow.d.ts} +2 -2
  16. package/assets/Constants/{StatRunesV2.js → StatRunesByRow.js} +3 -3
  17. package/assets/Constants/Summoner.d.ts +518 -0
  18. package/assets/Constants/Summoner.js +4 -0
  19. package/assets/index.d.ts +9 -4
  20. package/assets/index.js +22 -13
  21. package/assets/scripts/generate-all.js +0 -8
  22. package/assets/scripts/generate-categorized-item-keys.js +7 -10
  23. package/assets/scripts/generate-categorized-item-names.js +7 -10
  24. package/assets/scripts/generate-champion-ids-by-name.js +5 -8
  25. package/assets/scripts/generate-champion-ids.js +5 -8
  26. package/assets/scripts/generate-champion-keys.js +5 -8
  27. package/assets/scripts/generate-champion-names.js +5 -8
  28. package/assets/scripts/generate-item-keys.js +5 -8
  29. package/assets/scripts/generate-item-names.js +5 -8
  30. package/assets/scripts/generate-rune-ids.js +4 -7
  31. package/assets/scripts/generate-rune-names.js +4 -7
  32. package/assets/scripts/generate-rune-picking-relationships.js +2 -5
  33. package/assets/scripts/generate-rune-sets-by-rune-names.js +5 -8
  34. package/assets/scripts/generate-rune-sets.js +5 -8
  35. package/assets/scripts/generate-spell-ids-by-name.js +5 -8
  36. package/assets/scripts/generate-spell-ids.js +5 -8
  37. package/assets/scripts/generate-spell-keys.js +5 -8
  38. package/assets/scripts/generate-spell-names.js +5 -8
  39. package/assets/scripts/generate-stat-rune-ids.js +2 -5
  40. package/assets/scripts/generate-stat-rune-names.js +2 -5
  41. package/assets/scripts/generate-tree-rune-ids.js +4 -7
  42. package/assets/scripts/generate-tree-rune-names.js +4 -7
  43. package/{dist → core}/Constants/Champions/ChampionIds.d.ts +1 -0
  44. package/{dist → core}/Constants/Champions/ChampionIds.js +1 -1
  45. package/{dist → core}/Constants/Champions/ChampionIdsByName.d.ts +1 -0
  46. package/core/Constants/Champions/ChampionIdsByName.js +4 -0
  47. package/{dist → core}/Constants/Champions/ChampionKeys.d.ts +1 -0
  48. package/core/Constants/Champions/ChampionKeys.js +4 -0
  49. package/{dist → core}/Constants/Champions/ChampionNames.d.ts +1 -0
  50. package/{dist → core}/Constants/Champions/ChampionNames.js +1 -1
  51. package/{dist → core}/Constants/DDPaths.d.ts +0 -0
  52. package/{dist → core}/Constants/DDPaths.js +2 -2
  53. package/{dist → core}/Constants/Items/BootsItemKeys.d.ts +0 -0
  54. package/{dist → core}/Constants/Items/BootsItemKeys.js +0 -0
  55. package/{dist → core}/Constants/Items/BootsItemNames.d.ts +0 -0
  56. package/{dist → core}/Constants/Items/BootsItemNames.js +0 -0
  57. package/{dist → core}/Constants/Items/ItemKeys.d.ts +17 -5
  58. package/core/Constants/Items/ItemKeys.js +4 -0
  59. package/{dist → core}/Constants/Items/ItemNames.d.ts +17 -4
  60. package/core/Constants/Items/ItemNames.js +4 -0
  61. package/{dist → core}/Constants/Items/ItemTypes.d.ts +0 -0
  62. package/{dist → core}/Constants/Items/ItemTypes.js +0 -0
  63. package/{dist → core}/Constants/Items/LegendaryItemKeys.d.ts +2 -0
  64. package/{dist → core}/Constants/Items/LegendaryItemKeys.js +1 -1
  65. package/{dist → core}/Constants/Items/LegendaryItemNames.d.ts +2 -0
  66. package/core/Constants/Items/LegendaryItemNames.js +4 -0
  67. package/{dist → core}/Constants/Items/MythicItemKeys.d.ts +5 -2
  68. package/core/Constants/Items/MythicItemKeys.js +4 -0
  69. package/{dist → core}/Constants/Items/MythicItemNames.d.ts +5 -2
  70. package/core/Constants/Items/MythicItemNames.js +4 -0
  71. package/{dist → core}/Constants/Lanes.d.ts +0 -0
  72. package/{dist → core}/Constants/Lanes.js +0 -0
  73. package/{dist → core}/Constants/Levels.d.ts +0 -0
  74. package/{dist → core}/Constants/Levels.js +0 -0
  75. package/{dist → core}/Constants/Meta/ChampionRelationTypes.d.ts +0 -0
  76. package/{dist → core}/Constants/Meta/ChampionRelationTypes.js +0 -0
  77. package/{dist → core}/Constants/Positions.d.ts +0 -0
  78. package/{dist → core}/Constants/Positions.js +0 -0
  79. package/{dist → core}/Constants/Runes/RuneIconFileNames.d.ts +0 -0
  80. package/{dist → core}/Constants/Runes/RuneIconFileNames.js +0 -0
  81. package/{dist → core}/Constants/Runes/RunePickingRelationships.d.ts +0 -0
  82. package/{dist → core}/Constants/Runes/RunePickingRelationships.js +0 -0
  83. package/{dist → core}/Constants/Runes/RuneSets.d.ts +0 -0
  84. package/{dist → core}/Constants/Runes/RuneSets.js +0 -0
  85. package/{dist → core}/Constants/Runes/RuneSetsByRuneNames.d.ts +0 -0
  86. package/{dist → core}/Constants/Runes/RuneSetsByRuneNames.js +0 -0
  87. package/{dist → core}/Constants/Runes/RuneTreeIds.d.ts +0 -0
  88. package/{dist → core}/Constants/Runes/RuneTreeIds.js +0 -0
  89. package/{dist → core}/Constants/Runes/RuneTreeNames.d.ts +0 -0
  90. package/{dist → core}/Constants/Runes/RuneTreeNames.js +0 -0
  91. package/{dist → core}/Constants/Runes/RuneTreeTypes.d.ts +0 -0
  92. package/{dist → core}/Constants/Runes/RuneTreeTypes.js +0 -0
  93. package/{dist → core}/Constants/Runes/TreeRuneIds.d.ts +0 -0
  94. package/{dist → core}/Constants/Runes/TreeRuneIds.js +0 -0
  95. package/{dist → core}/Constants/Runes/TreeRuneNames.d.ts +0 -0
  96. package/{dist → core}/Constants/Runes/TreeRuneNames.js +0 -0
  97. package/{dist → core}/Constants/Skills.d.ts +0 -0
  98. package/{dist → core}/Constants/Skills.js +0 -0
  99. package/{dist → core}/Constants/Spells/SpellIds.d.ts +0 -0
  100. package/{dist → core}/Constants/Spells/SpellIds.js +0 -0
  101. package/{dist → core}/Constants/Spells/SpellIdsByName.d.ts +0 -0
  102. package/{dist → core}/Constants/Spells/SpellIdsByName.js +0 -0
  103. package/{dist → core}/Constants/Spells/SpellKeys.d.ts +0 -0
  104. package/{dist → core}/Constants/Spells/SpellKeys.js +0 -0
  105. package/{dist → core}/Constants/Spells/SpellNames.d.ts +0 -0
  106. package/{dist → core}/Constants/Spells/SpellNames.js +0 -0
  107. package/{dist → core}/Helpers/Champions/getChampionIdByKey.d.ts +0 -0
  108. package/{dist → core}/Helpers/Champions/getChampionIdByKey.js +0 -0
  109. package/{dist → core}/Helpers/Champions/getChampionIdByName.d.ts +0 -0
  110. package/{dist → core}/Helpers/Champions/getChampionIdByName.js +0 -0
  111. package/{dist → core}/Helpers/Champions/getChampionKeyById.d.ts +0 -0
  112. package/{dist → core}/Helpers/Champions/getChampionKeyById.js +0 -0
  113. package/{dist → core}/Helpers/Champions/getChampionKeyByName.d.ts +0 -0
  114. package/{dist → core}/Helpers/Champions/getChampionKeyByName.js +0 -0
  115. package/{dist → core}/Helpers/Champions/getChampionNameById.d.ts +0 -0
  116. package/{dist → core}/Helpers/Champions/getChampionNameById.js +0 -0
  117. package/{dist → core}/Helpers/Champions/getChampionNameByKey.d.ts +0 -0
  118. package/{dist → core}/Helpers/Champions/getChampionNameByKey.js +0 -0
  119. package/{dist → core}/Helpers/Champions/isChampionId.d.ts +0 -0
  120. package/{dist → core}/Helpers/Champions/isChampionId.js +0 -0
  121. package/{dist → core}/Helpers/Champions/isChampionKey.d.ts +0 -0
  122. package/{dist → core}/Helpers/Champions/isChampionKey.js +0 -0
  123. package/{dist → core}/Helpers/Champions/isChampionName.d.ts +0 -0
  124. package/{dist → core}/Helpers/Champions/isChampionName.js +0 -0
  125. package/{dist → core}/Helpers/Icons/getPositionImageURL.d.ts +0 -0
  126. package/{dist → core}/Helpers/Icons/getPositionImageURL.js +0 -0
  127. package/{dist → core}/Helpers/Items/getItemKeyByName.d.ts +0 -0
  128. package/{dist → core}/Helpers/Items/getItemKeyByName.js +0 -0
  129. package/{dist → core}/Helpers/Items/getItemNameByKey.d.ts +0 -0
  130. package/{dist → core}/Helpers/Items/getItemNameByKey.js +0 -0
  131. package/{dist → core}/Helpers/Items/isBootsItemKey.d.ts +0 -0
  132. package/{dist → core}/Helpers/Items/isBootsItemKey.js +0 -0
  133. package/{dist → core}/Helpers/Items/isBootsItemName.d.ts +0 -0
  134. package/{dist → core}/Helpers/Items/isBootsItemName.js +0 -0
  135. package/{dist → core}/Helpers/Items/isItemKey.d.ts +0 -0
  136. package/{dist → core}/Helpers/Items/isItemKey.js +0 -0
  137. package/{dist → core}/Helpers/Items/isItemName.d.ts +0 -0
  138. package/{dist → core}/Helpers/Items/isItemName.js +0 -0
  139. package/{dist → core}/Helpers/Items/isItemType.d.ts +0 -0
  140. package/{dist → core}/Helpers/Items/isItemType.js +0 -0
  141. package/{dist → core}/Helpers/Items/isLegendaryItemKey.d.ts +0 -0
  142. package/{dist → core}/Helpers/Items/isLegendaryItemKey.js +0 -0
  143. package/{dist → core}/Helpers/Items/isLegendaryItemName.d.ts +0 -0
  144. package/{dist → core}/Helpers/Items/isLegendaryItemName.js +0 -0
  145. package/{dist → core}/Helpers/Items/isMythicItemKey.d.ts +0 -0
  146. package/{dist → core}/Helpers/Items/isMythicItemKey.js +0 -0
  147. package/{dist → core}/Helpers/Items/isMythicItemName.d.ts +0 -0
  148. package/{dist → core}/Helpers/Items/isMythicItemName.js +0 -0
  149. package/{dist → core}/Helpers/Meta/isChampionRelationType.d.ts +0 -0
  150. package/{dist → core}/Helpers/Meta/isChampionRelationType.js +0 -0
  151. package/{dist → core}/Helpers/Runes/getRuneCDNURL.d.ts +0 -0
  152. package/{dist → core}/Helpers/Runes/getRuneCDNURL.js +0 -0
  153. package/{dist → core}/Helpers/Runes/getRuneCategoryByRuneName.d.ts +0 -0
  154. package/{dist → core}/Helpers/Runes/getRuneCategoryByRuneName.js +0 -0
  155. package/{dist → core}/Helpers/Runes/getRuneIdByName.d.ts +0 -0
  156. package/{dist → core}/Helpers/Runes/getRuneIdByName.js +0 -0
  157. package/{dist → core}/Helpers/Runes/getRuneNameById.d.ts +0 -0
  158. package/{dist → core}/Helpers/Runes/getRuneNameById.js +0 -0
  159. package/{dist → core}/Helpers/Runes/getRuneTreeIdByName.d.ts +0 -0
  160. package/{dist → core}/Helpers/Runes/getRuneTreeIdByName.js +0 -0
  161. package/{dist → core}/Helpers/Runes/getRuneTreeNameById.d.ts +0 -0
  162. package/{dist → core}/Helpers/Runes/getRuneTreeNameById.js +0 -0
  163. package/{dist → core}/Helpers/Runes/getStatRuneIdByName.d.ts +0 -0
  164. package/{dist → core}/Helpers/Runes/getStatRuneIdByName.js +0 -0
  165. package/{dist → core}/Helpers/Runes/getStatRuneNameById.d.ts +0 -0
  166. package/{dist → core}/Helpers/Runes/getStatRuneNameById.js +0 -0
  167. package/{dist → core}/Helpers/Runes/getTreeRuneIdByName.d.ts +0 -0
  168. package/{dist → core}/Helpers/Runes/getTreeRuneIdByName.js +0 -0
  169. package/{dist → core}/Helpers/Runes/getTreeRuneNameById.d.ts +0 -0
  170. package/{dist → core}/Helpers/Runes/getTreeRuneNameById.js +0 -0
  171. package/{dist → core}/Helpers/Runes/isDominationTreeRuneId.d.ts +0 -0
  172. package/{dist → core}/Helpers/Runes/isDominationTreeRuneId.js +0 -0
  173. package/{dist → core}/Helpers/Runes/isInspirationTreeRuneId.d.ts +0 -0
  174. package/{dist → core}/Helpers/Runes/isInspirationTreeRuneId.js +0 -0
  175. package/{dist → core}/Helpers/Runes/isKeystoneRuneId.d.ts +0 -0
  176. package/{dist → core}/Helpers/Runes/isKeystoneRuneId.js +0 -0
  177. package/{dist → core}/Helpers/Runes/isPrecisionTreeRuneId.d.ts +0 -0
  178. package/{dist → core}/Helpers/Runes/isPrecisionTreeRuneId.js +0 -0
  179. package/{dist → core}/Helpers/Runes/isResolveTreeRuneId.d.ts +0 -0
  180. package/{dist → core}/Helpers/Runes/isResolveTreeRuneId.js +0 -0
  181. package/{dist → core}/Helpers/Runes/isRuneId.d.ts +0 -0
  182. package/{dist → core}/Helpers/Runes/isRuneId.js +0 -0
  183. package/{dist → core}/Helpers/Runes/isRuneName.d.ts +0 -0
  184. package/{dist → core}/Helpers/Runes/isRuneName.js +0 -0
  185. package/{dist → core}/Helpers/Runes/isRuneTreeId.d.ts +0 -0
  186. package/{dist → core}/Helpers/Runes/isRuneTreeId.js +0 -0
  187. package/{dist → core}/Helpers/Runes/isRuneTreeName.d.ts +0 -0
  188. package/{dist → core}/Helpers/Runes/isRuneTreeName.js +0 -0
  189. package/{dist → core}/Helpers/Runes/isRuneTreeType.d.ts +0 -0
  190. package/{dist → core}/Helpers/Runes/isRuneTreeType.js +0 -0
  191. package/{dist → core}/Helpers/Runes/isSorceryTreeRuneId.d.ts +0 -0
  192. package/{dist → core}/Helpers/Runes/isSorceryTreeRuneId.js +0 -0
  193. package/{dist → core}/Helpers/Runes/isStatRuneId.d.ts +0 -0
  194. package/{dist → core}/Helpers/Runes/isStatRuneId.js +0 -0
  195. package/{dist → core}/Helpers/Runes/isStatRuneName.d.ts +0 -0
  196. package/{dist → core}/Helpers/Runes/isStatRuneName.js +0 -0
  197. package/{dist → core}/Helpers/Runes/isTreeRuneId.d.ts +0 -0
  198. package/{dist → core}/Helpers/Runes/isTreeRuneId.js +0 -0
  199. package/{dist → core}/Helpers/Runes/isTreeRuneName.d.ts +0 -0
  200. package/{dist → core}/Helpers/Runes/isTreeRuneName.js +0 -0
  201. package/{dist → core}/Helpers/Spells/getSpellIdByKey.d.ts +0 -0
  202. package/{dist → core}/Helpers/Spells/getSpellIdByKey.js +0 -0
  203. package/{dist → core}/Helpers/Spells/getSpellIdByName.d.ts +0 -0
  204. package/{dist → core}/Helpers/Spells/getSpellIdByName.js +0 -0
  205. package/{dist → core}/Helpers/Spells/getSpellKeyById.d.ts +0 -0
  206. package/{dist → core}/Helpers/Spells/getSpellKeyById.js +0 -0
  207. package/{dist → core}/Helpers/Spells/getSpellKeyByName.d.ts +0 -0
  208. package/{dist → core}/Helpers/Spells/getSpellKeyByName.js +0 -0
  209. package/{dist → core}/Helpers/Spells/getSpellNameById.d.ts +0 -0
  210. package/{dist → core}/Helpers/Spells/getSpellNameById.js +0 -0
  211. package/{dist → core}/Helpers/Spells/getSpellNameByKey.d.ts +0 -0
  212. package/{dist → core}/Helpers/Spells/getSpellNameByKey.js +0 -0
  213. package/{dist → core}/Helpers/Spells/isSpellId.d.ts +0 -0
  214. package/{dist → core}/Helpers/Spells/isSpellId.js +0 -0
  215. package/{dist → core}/Helpers/Spells/isSpellKey.d.ts +0 -0
  216. package/{dist → core}/Helpers/Spells/isSpellKey.js +0 -0
  217. package/{dist → core}/Helpers/Spells/isSpellName.d.ts +0 -0
  218. package/{dist → core}/Helpers/Spells/isSpellName.js +0 -0
  219. package/{dist → core}/Helpers/isLane.d.ts +0 -0
  220. package/{dist → core}/Helpers/isLane.js +0 -0
  221. package/{dist → core}/Helpers/isLevel.d.ts +0 -0
  222. package/{dist → core}/Helpers/isLevel.js +0 -0
  223. package/{dist → core}/Helpers/isPosition.d.ts +0 -0
  224. package/{dist → core}/Helpers/isPosition.js +0 -0
  225. package/{dist → core}/Helpers/isSkill.d.ts +0 -0
  226. package/{dist → core}/Helpers/isSkill.js +0 -0
  227. package/{dist → core}/index.d.ts +0 -0
  228. package/{dist → core}/index.js +0 -2
  229. package/{dist → core}/types/Meta.d.ts +0 -0
  230. package/{dist → core}/types/Meta.js +0 -0
  231. package/{dist → core}/types/index.d.ts +0 -0
  232. package/{dist → core}/types/index.js +0 -0
  233. package/package.json +6 -6
  234. package/assets/Constants/champion.json +0 -1
  235. package/assets/Constants/item.json +0 -1
  236. package/assets/Constants/runesReforged.json +0 -1
  237. package/assets/Constants/summoner.json +0 -1
  238. package/dist/Constants/Champions/ChampionIdsByName.js +0 -4
  239. package/dist/Constants/Champions/ChampionKeys.js +0 -4
  240. package/dist/Constants/Items/ItemKeys.js +0 -4
  241. package/dist/Constants/Items/ItemNames.js +0 -4
  242. package/dist/Constants/Items/LegendaryItemNames.js +0 -4
  243. package/dist/Constants/Items/MythicItemKeys.js +0 -4
  244. package/dist/Constants/Items/MythicItemNames.js +0 -4
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -224,8 +224,6 @@ var isSpellKey_1 = require("./Helpers/Spells/isSpellKey");
224
224
  Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
225
225
  var isSpellName_1 = require("./Helpers/Spells/isSpellName");
226
226
  Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
227
- // # scripts
228
- // —
229
227
  // # types
230
228
  __exportStar(require("./types"), exports);
231
229
  __exportStar(require("./types/Meta"), exports);
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "1.10.1",
3
+ "version": "1.12.0",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
5
+ "main": "core/index.js",
6
+ "types": "core/index.d.ts",
7
7
  "license": "MIT",
8
8
  "files": [
9
- "/dist",
9
+ "/core",
10
10
  "/assets"
11
11
  ],
12
12
  "scripts": {
13
- "clean-build": "rmdir /s /q dist && tsc",
14
- "clean-build-assets": "rmdir /s /q assets && cd srcAssets && tsc",
13
+ "clean-build": "rmdir /s /q core && rmdir /s /q assets && tsc",
15
14
  "generate": "node assets/scripts/generate-all",
16
15
  "dev": "vite"
17
16
  },
18
17
  "devDependencies": {
19
18
  "@types/node": "^17.0.42",
19
+ "typescript": "^4.8.4",
20
20
  "vite": "^2.9.13"
21
21
  },
22
22
  "repository": {