lol-constants 2.22.0 → 2.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. package/README.md +1 -1
  2. package/assets/constants/BootsItemNames.js +1 -4
  3. package/assets/constants/Champion.d.ts +175 -175
  4. package/assets/constants/Champion.js +1 -4
  5. package/assets/constants/Item.d.ts +4758 -7569
  6. package/assets/constants/Item.js +1 -4
  7. package/assets/constants/LegendaryItemNames.d.ts +1 -1
  8. package/assets/constants/LegendaryItemNames.js +4 -7
  9. package/assets/constants/RunesReforged.d.ts +2 -2
  10. package/assets/constants/RunesReforged.js +1 -4
  11. package/assets/constants/StatRunes.js +1 -4
  12. package/assets/constants/StatRunesByRow.js +1 -4
  13. package/assets/constants/Summoner.d.ts +1 -1
  14. package/assets/constants/Summoner.js +1 -4
  15. package/assets/index.js +4 -21
  16. package/assets/scripts/asset-scripts/champion.d.ts +1 -0
  17. package/assets/scripts/asset-scripts/champion.js +9 -0
  18. package/assets/scripts/asset-scripts/generate-all.d.ts +4 -0
  19. package/assets/scripts/asset-scripts/generate-all.js +4 -0
  20. package/assets/scripts/asset-scripts/item.d.ts +1 -0
  21. package/assets/scripts/asset-scripts/item.js +9 -0
  22. package/assets/scripts/asset-scripts/runes-reforged.d.ts +1 -0
  23. package/assets/scripts/asset-scripts/runes-reforged.js +9 -0
  24. package/assets/scripts/asset-scripts/summoner.d.ts +1 -0
  25. package/assets/scripts/asset-scripts/summoner.js +9 -0
  26. package/assets/scripts/constants/RuneIdComment.js +1 -4
  27. package/assets/scripts/generate-categorized-item-keys-num.js +15 -37
  28. package/assets/scripts/generate-categorized-item-keys.js +12 -34
  29. package/assets/scripts/generate-categorized-item-names.js +12 -34
  30. package/assets/scripts/generate-champion-ids-by-name.js +5 -7
  31. package/assets/scripts/generate-champion-ids.js +5 -7
  32. package/assets/scripts/generate-champion-keys-num.js +7 -9
  33. package/assets/scripts/generate-champion-keys.js +5 -7
  34. package/assets/scripts/generate-champion-names.js +5 -7
  35. package/assets/scripts/generate-item-keys-num.js +7 -9
  36. package/assets/scripts/generate-item-keys.js +5 -7
  37. package/assets/scripts/generate-item-names.js +5 -7
  38. package/assets/scripts/generate-non-stat-rune-ids-num.js +4 -6
  39. package/assets/scripts/generate-non-stat-rune-ids.js +6 -8
  40. package/assets/scripts/generate-non-stat-rune-names.js +4 -6
  41. package/assets/scripts/generate-rune-ids.js +8 -10
  42. package/assets/scripts/generate-rune-names.js +6 -8
  43. package/assets/scripts/generate-rune-picking-relationships.js +4 -6
  44. package/assets/scripts/generate-rune-sets-by-rune-names-num.js +12 -14
  45. package/assets/scripts/generate-rune-sets-by-rune-names.js +10 -12
  46. package/assets/scripts/generate-rune-sets.js +7 -9
  47. package/assets/scripts/generate-spell-ids-by-name.js +5 -7
  48. package/assets/scripts/generate-spell-ids.js +5 -7
  49. package/assets/scripts/generate-spell-keys-num.js +7 -9
  50. package/assets/scripts/generate-spell-keys.js +5 -7
  51. package/assets/scripts/generate-spell-names.js +5 -7
  52. package/assets/scripts/generate-stat-rune-ids.js +6 -8
  53. package/assets/scripts/generate-stat-rune-names.js +4 -6
  54. package/assets/scripts/helpers/enableEscapedValues.js +1 -5
  55. package/assets/scripts/helpers/generateIndexFile.js +1 -5
  56. package/assets/scripts/helpers/getExportStatement.js +6 -10
  57. package/assets/scripts/helpers/getFmtdComment.js +1 -5
  58. package/assets/scripts/helpers/validateNumber.js +1 -5
  59. package/assets/scripts/helpers/writeToTmpFile.js +5 -9
  60. package/assets/scripts/print-file-names.js +5 -7
  61. package/core/constants/Abilities.js +6 -11
  62. package/core/constants/BuildingTypes.js +3 -7
  63. package/core/constants/Champions/ChampionClasses.d.ts +17 -0
  64. package/core/constants/Champions/ChampionClasses.js +25 -0
  65. package/core/constants/Champions/ChampionIds.js +1 -4
  66. package/core/constants/Champions/ChampionIdsByName.js +1 -4
  67. package/core/constants/Champions/ChampionKeys.js +1 -4
  68. package/core/constants/Champions/ChampionKeysNum.js +1 -4
  69. package/core/constants/Champions/ChampionNames.js +1 -4
  70. package/core/constants/Continents.js +3 -7
  71. package/core/constants/DataDragonUrls.d.ts +17 -16
  72. package/core/constants/DataDragonUrls.js +4 -7
  73. package/core/constants/DragonTypes.js +3 -7
  74. package/core/constants/GameModes.js +3 -7
  75. package/core/constants/GameTypes.js +3 -7
  76. package/core/constants/Items/BootsItemKeys.js +1 -4
  77. package/core/constants/Items/BootsItemKeysNum.js +1 -4
  78. package/core/constants/Items/BootsItemNames.js +1 -4
  79. package/core/constants/Items/ItemKeys.d.ts +0 -34
  80. package/core/constants/Items/ItemKeys.js +1 -4
  81. package/core/constants/Items/ItemKeysNum.d.ts +0 -34
  82. package/core/constants/Items/ItemKeysNum.js +1 -4
  83. package/core/constants/Items/ItemNames.d.ts +0 -34
  84. package/core/constants/Items/ItemNames.js +1 -4
  85. package/core/constants/Items/ItemTypes.js +3 -7
  86. package/core/constants/Items/LegendaryItemKeys.d.ts +0 -20
  87. package/core/constants/Items/LegendaryItemKeys.js +1 -4
  88. package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -20
  89. package/core/constants/Items/LegendaryItemKeysNum.js +1 -4
  90. package/core/constants/Items/LegendaryItemNames.d.ts +0 -20
  91. package/core/constants/Items/LegendaryItemNames.js +1 -4
  92. package/core/constants/KillTypes.js +3 -7
  93. package/core/constants/LaneTypes.js +3 -7
  94. package/core/constants/Lanes.js +3 -7
  95. package/core/constants/LeagueTexts.js +3 -7
  96. package/core/constants/Levels.js +3 -7
  97. package/core/constants/Locales.js +3 -7
  98. package/core/constants/MapIds.js +3 -7
  99. package/core/constants/MonsterTypes.d.ts +2 -1
  100. package/core/constants/MonsterTypes.js +5 -8
  101. package/core/constants/ParticipantIds.js +3 -7
  102. package/core/constants/PlatformApiUris.js +3 -7
  103. package/core/constants/PlatformIds.js +6 -11
  104. package/core/constants/Positions.js +3 -7
  105. package/core/constants/QueueIds.js +5 -9
  106. package/core/constants/QueueTypes.js +3 -7
  107. package/core/constants/RankedRanks.js +3 -7
  108. package/core/constants/RankedTiers.js +3 -7
  109. package/core/constants/RegionalApiUris.js +3 -7
  110. package/core/constants/Regions.js +6 -11
  111. package/core/constants/RelativeTeams.js +3 -7
  112. package/core/constants/Roles.js +3 -7
  113. package/core/constants/Runes/NonStatRuneIds.js +1 -4
  114. package/core/constants/Runes/NonStatRuneIdsNum.js +1 -4
  115. package/core/constants/Runes/NonStatRuneNames.js +1 -4
  116. package/core/constants/Runes/RuneIconFileNames.js +1 -4
  117. package/core/constants/Runes/RunePickingRelationships.js +1 -4
  118. package/core/constants/Runes/RuneSets.js +8 -11
  119. package/core/constants/Runes/RuneSetsByRuneNames.js +8 -11
  120. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +8 -11
  121. package/core/constants/Runes/RuneTreeIds.js +6 -11
  122. package/core/constants/Runes/RuneTreeIdsNum.js +6 -11
  123. package/core/constants/Runes/RuneTreeNames.js +6 -11
  124. package/core/constants/Runes/RuneTreeTypes.js +3 -7
  125. package/core/constants/SkillSlots.js +3 -7
  126. package/core/constants/Skills.js +3 -7
  127. package/core/constants/Spells/SpellIds.js +1 -4
  128. package/core/constants/Spells/SpellIdsByName.js +1 -4
  129. package/core/constants/Spells/SpellKeys.js +1 -4
  130. package/core/constants/Spells/SpellKeysNum.js +1 -4
  131. package/core/constants/Spells/SpellNames.js +1 -4
  132. package/core/constants/TeamIds.js +3 -7
  133. package/core/constants/TowerTypes.js +3 -7
  134. package/core/constants/WardTypes.js +3 -7
  135. package/core/helpers/Champions/getChampionIdByKey.js +3 -7
  136. package/core/helpers/Champions/getChampionIdByName.js +3 -7
  137. package/core/helpers/Champions/getChampionKeyById.js +3 -7
  138. package/core/helpers/Champions/getChampionKeyByName.js +4 -8
  139. package/core/helpers/Champions/getChampionNameById.js +4 -8
  140. package/core/helpers/Champions/getChampionNameByKey.js +3 -7
  141. package/core/helpers/Champions/isChampionId.js +3 -7
  142. package/core/helpers/Champions/isChampionKey.js +3 -7
  143. package/core/helpers/Champions/isChampionKeyNum.js +3 -7
  144. package/core/helpers/Champions/isChampionName.js +3 -7
  145. package/core/helpers/Items/getItemKeyByName.js +3 -7
  146. package/core/helpers/Items/getItemNameByKey.js +3 -7
  147. package/core/helpers/Items/isBootsItemKey.js +3 -7
  148. package/core/helpers/Items/isBootsItemKeyNum.js +3 -7
  149. package/core/helpers/Items/isBootsItemName.js +3 -7
  150. package/core/helpers/Items/isItemKey.js +3 -7
  151. package/core/helpers/Items/isItemKeyNum.js +3 -7
  152. package/core/helpers/Items/isItemName.js +3 -7
  153. package/core/helpers/Items/isLegendaryItemKey.js +3 -7
  154. package/core/helpers/Items/isLegendaryItemKeyNum.js +3 -7
  155. package/core/helpers/Items/isLegendaryItemName.js +3 -7
  156. package/core/helpers/Items/isTier2Boots.d.ts +3 -0
  157. package/core/helpers/Items/isTier2Boots.js +9 -0
  158. package/core/helpers/Runes/getNonStatRuneIdByName.js +3 -7
  159. package/core/helpers/Runes/getNonStatRuneNameById.js +3 -7
  160. package/core/helpers/Runes/getRuneCategoryName.js +8 -12
  161. package/core/helpers/Runes/getRuneCdnUrl.js +16 -20
  162. package/core/helpers/Runes/getRuneIdByName.js +3 -7
  163. package/core/helpers/Runes/getRuneNameById.js +3 -7
  164. package/core/helpers/Runes/getStatRuneIdByName.js +3 -7
  165. package/core/helpers/Runes/getStatRuneNameById.js +3 -7
  166. package/core/helpers/Runes/isDominationRuneId.js +3 -7
  167. package/core/helpers/Runes/isDominationRuneIdNum.js +3 -7
  168. package/core/helpers/Runes/isDominationRuneName.js +3 -7
  169. package/core/helpers/Runes/isInspirationRuneId.js +3 -7
  170. package/core/helpers/Runes/isInspirationRuneIdNum.js +3 -7
  171. package/core/helpers/Runes/isInspirationRuneName.js +3 -7
  172. package/core/helpers/Runes/isKeystoneRuneId.js +3 -7
  173. package/core/helpers/Runes/isKeystoneRuneIdNum.js +3 -7
  174. package/core/helpers/Runes/isKeystoneRuneName.js +3 -7
  175. package/core/helpers/Runes/isNonStatRuneId.js +3 -7
  176. package/core/helpers/Runes/isNonStatRuneIdNum.js +3 -7
  177. package/core/helpers/Runes/isNonStatRuneName.js +3 -7
  178. package/core/helpers/Runes/isPrecisionRuneId.js +3 -7
  179. package/core/helpers/Runes/isPrecisionRuneIdNum.js +3 -7
  180. package/core/helpers/Runes/isPrecisionRuneName.js +3 -7
  181. package/core/helpers/Runes/isResolveRuneId.js +3 -7
  182. package/core/helpers/Runes/isResolveRuneIdNum.js +3 -7
  183. package/core/helpers/Runes/isResolveRuneName.js +3 -7
  184. package/core/helpers/Runes/isRuneId.js +3 -7
  185. package/core/helpers/Runes/isRuneIdNum.js +3 -7
  186. package/core/helpers/Runes/isRuneName.js +3 -7
  187. package/core/helpers/Runes/isSorceryRuneId.js +3 -7
  188. package/core/helpers/Runes/isSorceryRuneIdNum.js +3 -7
  189. package/core/helpers/Runes/isSorceryRuneName.js +3 -7
  190. package/core/helpers/Runes/isStatRuneId.js +3 -7
  191. package/core/helpers/Runes/isStatRuneIdNum.js +3 -7
  192. package/core/helpers/Runes/isStatRuneName.js +3 -7
  193. package/core/helpers/Spells/getSpellIdByKey.js +3 -7
  194. package/core/helpers/Spells/getSpellIdByName.js +3 -7
  195. package/core/helpers/Spells/getSpellKeyById.js +3 -7
  196. package/core/helpers/Spells/getSpellKeyByName.js +4 -8
  197. package/core/helpers/Spells/getSpellNameById.js +4 -8
  198. package/core/helpers/Spells/getSpellNameByKey.js +3 -7
  199. package/core/helpers/Spells/isSpellId.js +3 -7
  200. package/core/helpers/Spells/isSpellKey.js +3 -7
  201. package/core/helpers/Spells/isSpellKeyNum.js +3 -7
  202. package/core/helpers/Spells/isSpellName.js +3 -7
  203. package/core/helpers/getPositionImageUrl.js +3 -7
  204. package/core/helpers/isRiotId.js +7 -11
  205. package/core/helpers/makeRiotId.js +1 -5
  206. package/core/helpers/splitRiotId.js +1 -5
  207. package/core/index.d.ts +4 -6
  208. package/core/index.js +138 -156
  209. package/core/types/championJson.js +1 -2
  210. package/core/types/interfaces.js +1 -2
  211. package/core/types/types.js +1 -2
  212. package/package.json +11 -6
  213. package/assets/constants/OrnnItemNames.d.ts +0 -1
  214. package/assets/constants/OrnnItemNames.js +0 -33
  215. package/assets/scripts/generate-all.d.ts +0 -23
  216. package/assets/scripts/generate-all.js +0 -29
  217. package/core/constants/Items/OrnnItemKeys.d.ts +0 -23
  218. package/core/constants/Items/OrnnItemKeys.js +0 -4
  219. package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -23
  220. package/core/constants/Items/OrnnItemKeysNum.js +0 -4
  221. package/core/constants/Items/OrnnItemNames.d.ts +0 -23
  222. package/core/constants/Items/OrnnItemNames.js +0 -4
  223. package/core/constants/QueueDescriptions.d.ts +0 -4
  224. package/core/constants/QueueDescriptions.js +0 -31
  225. package/core/helpers/Items/isOrnnItemKey.d.ts +0 -2
  226. package/core/helpers/Items/isOrnnItemKey.js +0 -8
  227. package/core/helpers/Items/isOrnnItemKeyNum.d.ts +0 -2
  228. package/core/helpers/Items/isOrnnItemKeyNum.js +0 -8
  229. package/core/helpers/Items/isOrnnItemName.d.ts +0 -2
  230. package/core/helpers/Items/isOrnnItemName.js +0 -8
package/core/index.js CHANGED
@@ -1,167 +1,149 @@
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
1
  // # constants
18
- __exportStar(require("./constants/BuildingTypes"), exports);
19
- __exportStar(require("./constants/Continents"), exports);
20
- __exportStar(require("./constants/DataDragonUrls"), exports);
21
- __exportStar(require("./constants/DragonTypes"), exports);
22
- __exportStar(require("./constants/GameModes"), exports);
23
- __exportStar(require("./constants/GameTypes"), exports);
24
- __exportStar(require("./constants/KillTypes"), exports);
25
- __exportStar(require("./constants/Lanes"), exports);
26
- __exportStar(require("./constants/LaneTypes"), exports);
27
- __exportStar(require("./constants/LeagueTexts"), exports);
28
- __exportStar(require("./constants/Levels"), exports);
29
- __exportStar(require("./constants/Locales"), exports);
30
- __exportStar(require("./constants/MapIds"), exports);
31
- __exportStar(require("./constants/MonsterTypes"), exports);
32
- __exportStar(require("./constants/ParticipantIds"), exports);
33
- __exportStar(require("./constants/PlatformApiUris"), exports);
34
- __exportStar(require("./constants/PlatformIds"), exports);
35
- __exportStar(require("./constants/Positions"), exports);
36
- __exportStar(require("./constants/QueueIds"), exports);
37
- __exportStar(require("./constants/QueueTypes"), exports);
38
- __exportStar(require("./constants/RankedRanks"), exports);
39
- __exportStar(require("./constants/RankedTiers"), exports);
40
- __exportStar(require("./constants/RegionalApiUris"), exports);
41
- __exportStar(require("./constants/Regions"), exports);
42
- __exportStar(require("./constants/RelativeTeams"), exports);
43
- __exportStar(require("./constants/Roles"), exports);
44
- __exportStar(require("./constants/Skills"), exports);
45
- __exportStar(require("./constants/SkillSlots"), exports);
46
- __exportStar(require("./constants/TeamIds"), exports);
47
- __exportStar(require("./constants/TowerTypes"), exports);
48
- __exportStar(require("./constants/WardTypes"), exports);
2
+ export * from './constants/BuildingTypes';
3
+ export * from './constants/Continents';
4
+ export * from './constants/DataDragonUrls';
5
+ export * from './constants/DragonTypes';
6
+ export * from './constants/GameModes';
7
+ export * from './constants/GameTypes';
8
+ export * from './constants/KillTypes';
9
+ export * from './constants/Lanes';
10
+ export * from './constants/LaneTypes';
11
+ export * from './constants/LeagueTexts';
12
+ export * from './constants/Levels';
13
+ export * from './constants/Locales';
14
+ export * from './constants/MapIds';
15
+ export * from './constants/MonsterTypes';
16
+ export * from './constants/ParticipantIds';
17
+ export * from './constants/PlatformApiUris';
18
+ export * from './constants/PlatformIds';
19
+ export * from './constants/Positions';
20
+ export * from './constants/QueueIds';
21
+ export * from './constants/QueueTypes';
22
+ export * from './constants/RankedRanks';
23
+ export * from './constants/RankedTiers';
24
+ export * from './constants/RegionalApiUris';
25
+ export * from './constants/Regions';
26
+ export * from './constants/RelativeTeams';
27
+ export * from './constants/Roles';
28
+ export * from './constants/Skills';
29
+ export * from './constants/SkillSlots';
30
+ export * from './constants/TeamIds';
31
+ export * from './constants/TowerTypes';
32
+ export * from './constants/WardTypes';
49
33
  // ## Champions
50
- __exportStar(require("./constants/Champions/ChampionIds"), exports);
51
- __exportStar(require("./constants/Champions/ChampionIdsByName"), exports);
52
- __exportStar(require("./constants/Champions/ChampionKeys"), exports);
53
- __exportStar(require("./constants/Champions/ChampionKeysNum"), exports);
54
- __exportStar(require("./constants/Champions/ChampionNames"), exports);
34
+ export * from './constants/Champions/ChampionClasses';
35
+ export * from './constants/Champions/ChampionIds';
36
+ export * from './constants/Champions/ChampionIdsByName';
37
+ export * from './constants/Champions/ChampionKeys';
38
+ export * from './constants/Champions/ChampionKeysNum';
39
+ export * from './constants/Champions/ChampionNames';
55
40
  // ## Items
56
- __exportStar(require("./constants/Items/BootsItemKeys"), exports);
57
- __exportStar(require("./constants/Items/BootsItemKeysNum"), exports);
58
- __exportStar(require("./constants/Items/BootsItemNames"), exports);
59
- __exportStar(require("./constants/Items/ItemKeys"), exports);
60
- __exportStar(require("./constants/Items/ItemKeysNum"), exports);
61
- __exportStar(require("./constants/Items/ItemNames"), exports);
62
- __exportStar(require("./constants/Items/ItemTypes"), exports);
63
- __exportStar(require("./constants/Items/LegendaryItemKeys"), exports);
64
- __exportStar(require("./constants/Items/LegendaryItemKeysNum"), exports);
65
- __exportStar(require("./constants/Items/LegendaryItemNames"), exports);
66
- __exportStar(require("./constants/Items/OrnnItemKeys"), exports);
67
- __exportStar(require("./constants/Items/OrnnItemKeysNum"), exports);
68
- __exportStar(require("./constants/Items/OrnnItemNames"), exports);
41
+ export * from './constants/Items/BootsItemKeys';
42
+ export * from './constants/Items/BootsItemKeysNum';
43
+ export * from './constants/Items/BootsItemNames';
44
+ export * from './constants/Items/ItemKeys';
45
+ export * from './constants/Items/ItemKeysNum';
46
+ export * from './constants/Items/ItemNames';
47
+ export * from './constants/Items/ItemTypes';
48
+ export * from './constants/Items/LegendaryItemKeys';
49
+ export * from './constants/Items/LegendaryItemKeysNum';
50
+ export * from './constants/Items/LegendaryItemNames';
69
51
  // ## Runes
70
- __exportStar(require("./constants/Runes/NonStatRuneIds"), exports);
71
- __exportStar(require("./constants/Runes/NonStatRuneIdsNum"), exports);
72
- __exportStar(require("./constants/Runes/NonStatRuneNames"), exports);
73
- __exportStar(require("./constants/Runes/RuneIconFileNames"), exports);
74
- __exportStar(require("./constants/Runes/RunePickingRelationships"), exports);
75
- __exportStar(require("./constants/Runes/RuneSets"), exports);
76
- __exportStar(require("./constants/Runes/RuneSetsByRuneNames"), exports);
77
- __exportStar(require("./constants/Runes/RuneSetsByRuneNamesNum"), exports);
78
- __exportStar(require("./constants/Runes/RuneTreeIds"), exports);
79
- __exportStar(require("./constants/Runes/RuneTreeIdsNum"), exports);
80
- __exportStar(require("./constants/Runes/RuneTreeNames"), exports);
81
- __exportStar(require("./constants/Runes/RuneTreeTypes"), exports);
52
+ export * from './constants/Runes/NonStatRuneIds';
53
+ export * from './constants/Runes/NonStatRuneIdsNum';
54
+ export * from './constants/Runes/NonStatRuneNames';
55
+ export * from './constants/Runes/RuneIconFileNames';
56
+ export * from './constants/Runes/RunePickingRelationships';
57
+ export * from './constants/Runes/RuneSets';
58
+ export * from './constants/Runes/RuneSetsByRuneNames';
59
+ export * from './constants/Runes/RuneSetsByRuneNamesNum';
60
+ export * from './constants/Runes/RuneTreeIds';
61
+ export * from './constants/Runes/RuneTreeIdsNum';
62
+ export * from './constants/Runes/RuneTreeNames';
63
+ export * from './constants/Runes/RuneTreeTypes';
82
64
  // ## Spells
83
- __exportStar(require("./constants/Spells/SpellIds"), exports);
84
- __exportStar(require("./constants/Spells/SpellIdsByName"), exports);
85
- __exportStar(require("./constants/Spells/SpellKeys"), exports);
86
- __exportStar(require("./constants/Spells/SpellKeysNum"), exports);
87
- __exportStar(require("./constants/Spells/SpellNames"), exports);
65
+ export * from './constants/Spells/SpellIds';
66
+ export * from './constants/Spells/SpellIdsByName';
67
+ export * from './constants/Spells/SpellKeys';
68
+ export * from './constants/Spells/SpellKeysNum';
69
+ export * from './constants/Spells/SpellNames';
88
70
  // # helpers
89
- __exportStar(require("./helpers/getPositionImageUrl"), exports);
90
- __exportStar(require("./helpers/isRiotId"), exports);
91
- __exportStar(require("./helpers/makeRiotId"), exports);
92
- __exportStar(require("./helpers/splitRiotId"), exports);
71
+ export * from './helpers/getPositionImageUrl';
72
+ export * from './helpers/isRiotId';
73
+ export * from './helpers/makeRiotId';
74
+ export * from './helpers/splitRiotId';
93
75
  // ## Champions
94
- __exportStar(require("./helpers/Champions/getChampionIdByKey"), exports);
95
- __exportStar(require("./helpers/Champions/getChampionIdByName"), exports);
96
- __exportStar(require("./helpers/Champions/getChampionKeyById"), exports);
97
- __exportStar(require("./helpers/Champions/getChampionKeyByName"), exports);
98
- __exportStar(require("./helpers/Champions/getChampionNameById"), exports);
99
- __exportStar(require("./helpers/Champions/getChampionNameByKey"), exports);
100
- __exportStar(require("./helpers/Champions/isChampionId"), exports);
101
- __exportStar(require("./helpers/Champions/isChampionKey"), exports);
102
- __exportStar(require("./helpers/Champions/isChampionKeyNum"), exports);
103
- __exportStar(require("./helpers/Champions/isChampionName"), exports);
76
+ export * from './helpers/Champions/getChampionIdByKey';
77
+ export * from './helpers/Champions/getChampionIdByName';
78
+ export * from './helpers/Champions/getChampionKeyById';
79
+ export * from './helpers/Champions/getChampionKeyByName';
80
+ export * from './helpers/Champions/getChampionNameById';
81
+ export * from './helpers/Champions/getChampionNameByKey';
82
+ export * from './helpers/Champions/isChampionId';
83
+ export * from './helpers/Champions/isChampionKey';
84
+ export * from './helpers/Champions/isChampionKeyNum';
85
+ export * from './helpers/Champions/isChampionName';
104
86
  // ## Items
105
- __exportStar(require("./helpers/Items/getItemKeyByName"), exports);
106
- __exportStar(require("./helpers/Items/getItemNameByKey"), exports);
107
- __exportStar(require("./helpers/Items/isBootsItemKey"), exports);
108
- __exportStar(require("./helpers/Items/isBootsItemName"), exports);
109
- __exportStar(require("./helpers/Items/isItemKey"), exports);
110
- __exportStar(require("./helpers/Items/isItemKeyNum"), exports);
111
- __exportStar(require("./helpers/Items/isItemName"), exports);
112
- __exportStar(require("./helpers/Items/isLegendaryItemKey"), exports);
113
- __exportStar(require("./helpers/Items/isLegendaryItemName"), exports);
114
- __exportStar(require("./helpers/Items/isOrnnItemKey"), exports);
115
- __exportStar(require("./helpers/Items/isOrnnItemKeyNum"), exports);
116
- __exportStar(require("./helpers/Items/isOrnnItemName"), exports);
87
+ export * from './helpers/Items/getItemKeyByName';
88
+ export * from './helpers/Items/getItemNameByKey';
89
+ export * from './helpers/Items/isBootsItemKey';
90
+ export * from './helpers/Items/isBootsItemKeyNum';
91
+ export * from './helpers/Items/isBootsItemName';
92
+ export * from './helpers/Items/isItemKey';
93
+ export * from './helpers/Items/isItemKeyNum';
94
+ export * from './helpers/Items/isItemName';
95
+ export * from './helpers/Items/isLegendaryItemKey';
96
+ export * from './helpers/Items/isLegendaryItemKeyNum';
97
+ export * from './helpers/Items/isLegendaryItemName';
98
+ export * from './helpers/Items/isTier2Boots';
117
99
  // ## Runes
118
- __exportStar(require("./helpers/Runes/getNonStatRuneIdByName"), exports);
119
- __exportStar(require("./helpers/Runes/getNonStatRuneNameById"), exports);
120
- __exportStar(require("./helpers/Runes/getRuneCategoryName"), exports);
121
- __exportStar(require("./helpers/Runes/getRuneCdnUrl"), exports);
122
- __exportStar(require("./helpers/Runes/getRuneIdByName"), exports);
123
- __exportStar(require("./helpers/Runes/getRuneNameById"), exports);
124
- __exportStar(require("./helpers/Runes/getStatRuneIdByName"), exports);
125
- __exportStar(require("./helpers/Runes/getStatRuneNameById"), exports);
126
- __exportStar(require("./helpers/Runes/isDominationRuneId"), exports);
127
- __exportStar(require("./helpers/Runes/isDominationRuneIdNum"), exports);
128
- __exportStar(require("./helpers/Runes/isDominationRuneName"), exports);
129
- __exportStar(require("./helpers/Runes/isInspirationRuneId"), exports);
130
- __exportStar(require("./helpers/Runes/isInspirationRuneIdNum"), exports);
131
- __exportStar(require("./helpers/Runes/isInspirationRuneName"), exports);
132
- __exportStar(require("./helpers/Runes/isKeystoneRuneId"), exports);
133
- __exportStar(require("./helpers/Runes/isKeystoneRuneIdNum"), exports);
134
- __exportStar(require("./helpers/Runes/isKeystoneRuneName"), exports);
135
- __exportStar(require("./helpers/Runes/isNonStatRuneId"), exports);
136
- __exportStar(require("./helpers/Runes/isNonStatRuneIdNum"), exports);
137
- __exportStar(require("./helpers/Runes/isNonStatRuneName"), exports);
138
- __exportStar(require("./helpers/Runes/isPrecisionRuneId"), exports);
139
- __exportStar(require("./helpers/Runes/isPrecisionRuneIdNum"), exports);
140
- __exportStar(require("./helpers/Runes/isPrecisionRuneName"), exports);
141
- __exportStar(require("./helpers/Runes/isResolveRuneId"), exports);
142
- __exportStar(require("./helpers/Runes/isResolveRuneIdNum"), exports);
143
- __exportStar(require("./helpers/Runes/isResolveRuneName"), exports);
144
- __exportStar(require("./helpers/Runes/isRuneId"), exports);
145
- __exportStar(require("./helpers/Runes/isRuneIdNum"), exports);
146
- __exportStar(require("./helpers/Runes/isRuneName"), exports);
147
- __exportStar(require("./helpers/Runes/isSorceryRuneId"), exports);
148
- __exportStar(require("./helpers/Runes/isSorceryRuneIdNum"), exports);
149
- __exportStar(require("./helpers/Runes/isSorceryRuneName"), exports);
150
- __exportStar(require("./helpers/Runes/isStatRuneId"), exports);
151
- __exportStar(require("./helpers/Runes/isStatRuneIdNum"), exports);
152
- __exportStar(require("./helpers/Runes/isStatRuneName"), exports);
100
+ export * from './helpers/Runes/getNonStatRuneIdByName';
101
+ export * from './helpers/Runes/getNonStatRuneNameById';
102
+ export * from './helpers/Runes/getRuneCategoryName';
103
+ export * from './helpers/Runes/getRuneCdnUrl';
104
+ export * from './helpers/Runes/getRuneIdByName';
105
+ export * from './helpers/Runes/getRuneNameById';
106
+ export * from './helpers/Runes/getStatRuneIdByName';
107
+ export * from './helpers/Runes/getStatRuneNameById';
108
+ export * from './helpers/Runes/isDominationRuneId';
109
+ export * from './helpers/Runes/isDominationRuneIdNum';
110
+ export * from './helpers/Runes/isDominationRuneName';
111
+ export * from './helpers/Runes/isInspirationRuneId';
112
+ export * from './helpers/Runes/isInspirationRuneIdNum';
113
+ export * from './helpers/Runes/isInspirationRuneName';
114
+ export * from './helpers/Runes/isKeystoneRuneId';
115
+ export * from './helpers/Runes/isKeystoneRuneIdNum';
116
+ export * from './helpers/Runes/isKeystoneRuneName';
117
+ export * from './helpers/Runes/isNonStatRuneId';
118
+ export * from './helpers/Runes/isNonStatRuneIdNum';
119
+ export * from './helpers/Runes/isNonStatRuneName';
120
+ export * from './helpers/Runes/isPrecisionRuneId';
121
+ export * from './helpers/Runes/isPrecisionRuneIdNum';
122
+ export * from './helpers/Runes/isPrecisionRuneName';
123
+ export * from './helpers/Runes/isResolveRuneId';
124
+ export * from './helpers/Runes/isResolveRuneIdNum';
125
+ export * from './helpers/Runes/isResolveRuneName';
126
+ export * from './helpers/Runes/isRuneId';
127
+ export * from './helpers/Runes/isRuneIdNum';
128
+ export * from './helpers/Runes/isRuneName';
129
+ export * from './helpers/Runes/isSorceryRuneId';
130
+ export * from './helpers/Runes/isSorceryRuneIdNum';
131
+ export * from './helpers/Runes/isSorceryRuneName';
132
+ export * from './helpers/Runes/isStatRuneId';
133
+ export * from './helpers/Runes/isStatRuneIdNum';
134
+ export * from './helpers/Runes/isStatRuneName';
153
135
  // ## Spells
154
- __exportStar(require("./helpers/Spells/getSpellIdByKey"), exports);
155
- __exportStar(require("./helpers/Spells/getSpellIdByName"), exports);
156
- __exportStar(require("./helpers/Spells/getSpellKeyById"), exports);
157
- __exportStar(require("./helpers/Spells/getSpellKeyByName"), exports);
158
- __exportStar(require("./helpers/Spells/getSpellNameById"), exports);
159
- __exportStar(require("./helpers/Spells/getSpellNameByKey"), exports);
160
- __exportStar(require("./helpers/Spells/isSpellId"), exports);
161
- __exportStar(require("./helpers/Spells/isSpellKey"), exports);
162
- __exportStar(require("./helpers/Spells/isSpellKeyNum"), exports);
163
- __exportStar(require("./helpers/Spells/isSpellName"), exports);
136
+ export * from './helpers/Spells/getSpellIdByKey';
137
+ export * from './helpers/Spells/getSpellIdByName';
138
+ export * from './helpers/Spells/getSpellKeyById';
139
+ export * from './helpers/Spells/getSpellKeyByName';
140
+ export * from './helpers/Spells/getSpellNameById';
141
+ export * from './helpers/Spells/getSpellNameByKey';
142
+ export * from './helpers/Spells/isSpellId';
143
+ export * from './helpers/Spells/isSpellKey';
144
+ export * from './helpers/Spells/isSpellKeyNum';
145
+ export * from './helpers/Spells/isSpellName';
164
146
  // # types
165
- __exportStar(require("./types/championJson"), exports);
166
- __exportStar(require("./types/interfaces"), exports);
167
- __exportStar(require("./types/types"), exports);
147
+ export * from './types/championJson';
148
+ export * from './types/interfaces';
149
+ export * from './types/types';
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
package/package.json CHANGED
@@ -1,18 +1,22 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.22.0",
4
- "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
3
+ "version": "2.24.0",
4
+ "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells. Provides a plathera of functions to easily convert between ID, Name, and Key for champions and other game constants.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",
7
7
  "license": "MIT",
8
+ "type": "module",
8
9
  "files": [
9
10
  "/core",
10
11
  "/assets"
11
12
  ],
12
13
  "devDependencies": {
13
- "@types/node": "^20.14.6",
14
- "typescript": "^5.4.5",
15
- "vite": "^5.3.1"
14
+ "@types/node": "^20.14.9",
15
+ "@types/node-fetch": "^2.6.11",
16
+ "node-fetch": "2.6.7",
17
+ "ts-node": "^10.9.2",
18
+ "typescript": "^5.5.3",
19
+ "vite": "^5.3.3"
16
20
  },
17
21
  "repository": {
18
22
  "type": "git",
@@ -20,7 +24,8 @@
20
24
  },
21
25
  "scripts": {
22
26
  "build:clean": "rmdir /s /q core && rmdir /s /q assets && tsc",
23
- "generate": "tsc && node assets/scripts/generate-all",
27
+ "assets:pull": "node --no-warnings --loader ts-node/esm src/assets/scripts/asset-scripts/generate-all",
28
+ "generate": "node --no-warnings --loader ts-node/esm src/assets/scripts/generate-all",
24
29
  "print-file-names": "node assets/scripts/print-file-names",
25
30
  "dev": "vite"
26
31
  }
@@ -1 +0,0 @@
1
- export declare const OrnnItemNames: readonly ["Cry of the Shrieking City", "Ceaseless Hunger", "Caesura", "Draktharr's Shadowcarver", "Deicide", "Dreamshatter", "Equinox", "Edge of Finality", "Eye of Luden", "Eternal Winter", "Frozen Fist", "Flicker", "Infinite Convergence", "Icathia's Curse", "Infinity Force", "Leviathan", "Liandry's Lament", "Primordial Dawn", "Reliquary of the Golden Dawn", "Syzygy", "Shurelya's Requiem", "Starcaster", "Seething Sorrow", "The Unspoken Parasite", "Typhoon", "Upgraded Aeropack", "Vespertide", "Youmuu's Wake"];
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrnnItemNames = void 0;
4
- exports.OrnnItemNames = [
5
- 'Cry of the Shrieking City',
6
- 'Ceaseless Hunger',
7
- 'Caesura',
8
- 'Draktharr\'s Shadowcarver',
9
- 'Deicide',
10
- 'Dreamshatter',
11
- 'Equinox',
12
- 'Edge of Finality',
13
- 'Eye of Luden',
14
- 'Eternal Winter',
15
- 'Frozen Fist',
16
- 'Flicker',
17
- 'Infinite Convergence',
18
- 'Icathia\'s Curse',
19
- 'Infinity Force',
20
- 'Leviathan',
21
- 'Liandry\'s Lament',
22
- 'Primordial Dawn',
23
- 'Reliquary of the Golden Dawn',
24
- 'Syzygy',
25
- 'Shurelya\'s Requiem',
26
- 'Starcaster',
27
- 'Seething Sorrow',
28
- 'The Unspoken Parasite',
29
- 'Typhoon',
30
- 'Upgraded Aeropack',
31
- 'Vespertide',
32
- 'Youmuu\'s Wake',
33
- ];
@@ -1,23 +0,0 @@
1
- import './generate-categorized-item-keys-num';
2
- import './generate-categorized-item-keys';
3
- import './generate-categorized-item-names';
4
- import './generate-champion-ids-by-name';
5
- import './generate-champion-ids';
6
- import './generate-champion-keys-num';
7
- import './generate-champion-keys';
8
- import './generate-champion-names';
9
- import './generate-item-keys-num';
10
- import './generate-item-keys';
11
- import './generate-item-names';
12
- import './generate-non-stat-rune-ids-num';
13
- import './generate-non-stat-rune-ids';
14
- import './generate-non-stat-rune-names';
15
- import './generate-rune-picking-relationships';
16
- import './generate-rune-sets-by-rune-names-num';
17
- import './generate-rune-sets-by-rune-names';
18
- import './generate-rune-sets';
19
- import './generate-spell-ids-by-name';
20
- import './generate-spell-ids';
21
- import './generate-spell-keys-num';
22
- import './generate-spell-keys';
23
- import './generate-spell-names';
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- require("./generate-categorized-item-keys-num");
4
- require("./generate-categorized-item-keys");
5
- require("./generate-categorized-item-names");
6
- require("./generate-champion-ids-by-name");
7
- require("./generate-champion-ids");
8
- require("./generate-champion-keys-num");
9
- require("./generate-champion-keys");
10
- require("./generate-champion-names");
11
- require("./generate-item-keys-num");
12
- require("./generate-item-keys");
13
- require("./generate-item-names");
14
- require("./generate-non-stat-rune-ids-num");
15
- require("./generate-non-stat-rune-ids");
16
- require("./generate-non-stat-rune-names");
17
- // import './generate-rune-ids'
18
- // import './generate-rune-names'
19
- require("./generate-rune-picking-relationships");
20
- require("./generate-rune-sets-by-rune-names-num");
21
- require("./generate-rune-sets-by-rune-names");
22
- require("./generate-rune-sets");
23
- require("./generate-spell-ids-by-name");
24
- require("./generate-spell-ids");
25
- require("./generate-spell-keys-num");
26
- require("./generate-spell-keys");
27
- require("./generate-spell-names");
28
- // import './generate-stat-rune-ids'
29
- // import './generate-stat-rune-names'
@@ -1,23 +0,0 @@
1
- export declare const OrnnItemKeys: {
2
- readonly "Cry of the Shrieking City": "7033";
3
- readonly Dreamshatter: "7016";
4
- readonly "Edge of Finality": "7031";
5
- readonly "Frozen Fist": "7005";
6
- readonly Flicker: "7032";
7
- readonly "Infinite Convergence": "7028";
8
- readonly "Icathia's Curse": "7009";
9
- readonly "Infinity Force": "7018";
10
- readonly Leviathan: "7025";
11
- readonly "Liandry's Lament": "7012";
12
- readonly "Reliquary of the Golden Dawn": "7019";
13
- readonly Syzygy: "7001";
14
- readonly "Shurelya's Requiem": "7020";
15
- readonly Starcaster: "7021";
16
- readonly "Seething Sorrow": "7030";
17
- readonly "The Unspoken Parasite": "7026";
18
- readonly Typhoon: "7006";
19
- readonly "Upgraded Aeropack": "7011";
20
- readonly Vespertide: "7010";
21
- readonly "Youmuu's Wake": "7029";
22
- };
23
- export type OrnnItemKey = typeof OrnnItemKeys[keyof typeof OrnnItemKeys];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrnnItemKeys = void 0;
4
- exports.OrnnItemKeys = { "Cry of the Shrieking City": "7033", "Dreamshatter": "7016", "Edge of Finality": "7031", "Frozen Fist": "7005", "Flicker": "7032", "Infinite Convergence": "7028", "Icathia's Curse": "7009", "Infinity Force": "7018", "Leviathan": "7025", "Liandry's Lament": "7012", "Reliquary of the Golden Dawn": "7019", "Syzygy": "7001", "Shurelya's Requiem": "7020", "Starcaster": "7021", "Seething Sorrow": "7030", "The Unspoken Parasite": "7026", "Typhoon": "7006", "Upgraded Aeropack": "7011", "Vespertide": "7010", "Youmuu's Wake": "7029" };
@@ -1,23 +0,0 @@
1
- export declare const OrnnItemKeysNum: {
2
- readonly "Cry of the Shrieking City": 7033;
3
- readonly Dreamshatter: 7016;
4
- readonly "Edge of Finality": 7031;
5
- readonly "Frozen Fist": 7005;
6
- readonly Flicker: 7032;
7
- readonly "Infinite Convergence": 7028;
8
- readonly "Icathia's Curse": 7009;
9
- readonly "Infinity Force": 7018;
10
- readonly Leviathan: 7025;
11
- readonly "Liandry's Lament": 7012;
12
- readonly "Reliquary of the Golden Dawn": 7019;
13
- readonly Syzygy: 7001;
14
- readonly "Shurelya's Requiem": 7020;
15
- readonly Starcaster: 7021;
16
- readonly "Seething Sorrow": 7030;
17
- readonly "The Unspoken Parasite": 7026;
18
- readonly Typhoon: 7006;
19
- readonly "Upgraded Aeropack": 7011;
20
- readonly Vespertide: 7010;
21
- readonly "Youmuu's Wake": 7029;
22
- };
23
- export type OrnnItemKeyNum = typeof OrnnItemKeysNum[keyof typeof OrnnItemKeysNum];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrnnItemKeysNum = void 0;
4
- exports.OrnnItemKeysNum = { "Cry of the Shrieking City": 7033, "Dreamshatter": 7016, "Edge of Finality": 7031, "Frozen Fist": 7005, "Flicker": 7032, "Infinite Convergence": 7028, "Icathia's Curse": 7009, "Infinity Force": 7018, "Leviathan": 7025, "Liandry's Lament": 7012, "Reliquary of the Golden Dawn": 7019, "Syzygy": 7001, "Shurelya's Requiem": 7020, "Starcaster": 7021, "Seething Sorrow": 7030, "The Unspoken Parasite": 7026, "Typhoon": 7006, "Upgraded Aeropack": 7011, "Vespertide": 7010, "Youmuu's Wake": 7029 };
@@ -1,23 +0,0 @@
1
- export declare const OrnnItemNames: {
2
- readonly "7001": "Syzygy";
3
- readonly "7005": "Frozen Fist";
4
- readonly "7006": "Typhoon";
5
- readonly "7009": "Icathia's Curse";
6
- readonly "7010": "Vespertide";
7
- readonly "7011": "Upgraded Aeropack";
8
- readonly "7012": "Liandry's Lament";
9
- readonly "7016": "Dreamshatter";
10
- readonly "7018": "Infinity Force";
11
- readonly "7019": "Reliquary of the Golden Dawn";
12
- readonly "7020": "Shurelya's Requiem";
13
- readonly "7021": "Starcaster";
14
- readonly "7025": "Leviathan";
15
- readonly "7026": "The Unspoken Parasite";
16
- readonly "7028": "Infinite Convergence";
17
- readonly "7029": "Youmuu's Wake";
18
- readonly "7030": "Seething Sorrow";
19
- readonly "7031": "Edge of Finality";
20
- readonly "7032": "Flicker";
21
- readonly "7033": "Cry of the Shrieking City";
22
- };
23
- export type OrnnItemName = typeof OrnnItemNames[keyof typeof OrnnItemNames];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrnnItemNames = void 0;
4
- exports.OrnnItemNames = { "7001": "Syzygy", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7016": "Dreamshatter", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City" };
@@ -1,4 +0,0 @@
1
- import { QueueId } from './QueueIds';
2
- export declare const QueueDescriptions: {
3
- [queueId in QueueId]: string;
4
- };
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueueDescriptions = void 0;
4
- exports.QueueDescriptions = {
5
- 0: 'Custom',
6
- 400: '5v5 Draft Pick',
7
- 420: '5v5 Ranked Solo',
8
- 430: '5v5 Blind Pick',
9
- 440: '5v5 Ranked Flex',
10
- 450: '5v5 ARAM',
11
- 700: 'Clash',
12
- 720: 'ARAM Clash',
13
- 830: 'Co-op vs. AI Intro Bots',
14
- 840: 'Co-op vs. AI Beginner Bots',
15
- 850: 'Co-op vs. AI Intermediate Bots',
16
- 900: 'ARURF',
17
- 920: 'Legend of the Poro King',
18
- 1010: 'Snow ARURF',
19
- 1020: 'One for All',
20
- 1090: 'Teamfight Tactics',
21
- 1100: 'Ranked Teamfight Tactics',
22
- 1110: 'Teamfight Tactics Tutorial',
23
- 1111: 'Teamfight Tactics test',
24
- 1300: 'Nexus Blitz',
25
- 1400: 'Ultimate Spellbook',
26
- 1700: 'Arena 2v2v2v2',
27
- 1900: 'URF',
28
- 2000: 'Tutorial 1',
29
- 2010: 'Tutorial 2',
30
- 2020: 'Tutorial 3',
31
- };
@@ -1,2 +0,0 @@
1
- import { OrnnItemKey } from '../../constants/Items/OrnnItemKeys';
2
- export declare function isOrnnItemKey(value: string): value is OrnnItemKey;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isOrnnItemKey = void 0;
4
- const OrnnItemNames_1 = require("../../constants/Items/OrnnItemNames");
5
- function isOrnnItemKey(value) {
6
- return value in OrnnItemNames_1.OrnnItemNames;
7
- }
8
- exports.isOrnnItemKey = isOrnnItemKey;
@@ -1,2 +0,0 @@
1
- import { OrnnItemKeyNum } from '../../constants/Items/OrnnItemKeysNum';
2
- export declare function isOrnnItemKeyNum(value: number): value is OrnnItemKeyNum;