lol-constants 0.9.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. package/dist/Constants/ChampionIds.d.ts +162 -0
  2. package/dist/Constants/ChampionIds.js +4 -0
  3. package/dist/Constants/ChampionIdsByName.d.ts +162 -0
  4. package/dist/Constants/ChampionIdsByName.js +4 -0
  5. package/dist/Constants/ChampionKeys.d.ts +162 -2
  6. package/dist/Constants/ChampionKeys.js +1 -5
  7. package/dist/Constants/ChampionNames.d.ts +162 -2
  8. package/dist/Constants/ChampionNames.js +1 -5
  9. package/dist/Constants/DDPaths.d.ts +27 -5
  10. package/dist/Constants/DDPaths.js +29 -7
  11. package/dist/Constants/ItemKeys.d.ts +250 -2
  12. package/dist/Constants/ItemKeys.js +1 -5
  13. package/dist/Constants/ItemNames.d.ts +256 -2
  14. package/dist/Constants/ItemNames.js +1 -5
  15. package/dist/Constants/RuneIds.d.ts +74 -2
  16. package/dist/Constants/RuneIds.js +1 -9
  17. package/dist/Constants/RuneNames.d.ts +74 -2
  18. package/dist/Constants/RuneNames.js +1 -5
  19. package/dist/Constants/RuneSets.d.ts +77 -0
  20. package/dist/Constants/RuneSets.js +210 -0
  21. package/dist/Constants/SpellIds.d.ts +18 -0
  22. package/dist/Constants/SpellIds.js +4 -0
  23. package/dist/Constants/SpellIdsByName.d.ts +17 -0
  24. package/dist/Constants/SpellIdsByName.js +4 -0
  25. package/dist/Constants/SpellKeys.d.ts +18 -0
  26. package/dist/Constants/SpellKeys.js +4 -0
  27. package/dist/Constants/SpellNames.d.ts +18 -0
  28. package/dist/Constants/SpellNames.js +4 -0
  29. package/dist/Constants/StatRuneIds.d.ts +11 -2
  30. package/dist/Constants/StatRuneIds.js +1 -2
  31. package/dist/Constants/StatRuneNames.d.ts +11 -2
  32. package/dist/Constants/StatRuneNames.js +1 -2
  33. package/dist/Constants/TreeRuneIds.d.ts +65 -2
  34. package/dist/Constants/TreeRuneIds.js +1 -5
  35. package/dist/Constants/TreeRuneNames.d.ts +65 -2
  36. package/dist/Constants/TreeRuneNames.js +1 -5
  37. package/dist/Helpers/getChampionIdByKey.d.ts +2 -0
  38. package/dist/Helpers/getChampionIdByKey.js +8 -0
  39. package/dist/Helpers/getChampionIdByName.d.ts +2 -0
  40. package/dist/Helpers/getChampionIdByName.js +8 -0
  41. package/dist/Helpers/getChampionKeyById.d.ts +2 -0
  42. package/dist/Helpers/getChampionKeyById.js +8 -0
  43. package/dist/Helpers/getChampionKeyByName.js +3 -5
  44. package/dist/Helpers/getChampionNameById.d.ts +2 -0
  45. package/dist/Helpers/getChampionNameById.js +9 -0
  46. package/dist/Helpers/getChampionNameByKey.js +2 -5
  47. package/dist/Helpers/getItemKeyByName.js +2 -5
  48. package/dist/Helpers/getItemNameByKey.js +2 -5
  49. package/dist/Helpers/getRuneIdByName.js +2 -15
  50. package/dist/Helpers/getRuneNameById.js +2 -9
  51. package/dist/Helpers/getSpellIdByKey.d.ts +2 -0
  52. package/dist/Helpers/getSpellIdByKey.js +8 -0
  53. package/dist/Helpers/getSpellIdByName.d.ts +2 -0
  54. package/dist/Helpers/getSpellIdByName.js +8 -0
  55. package/dist/Helpers/getSpellKeyById.d.ts +2 -0
  56. package/dist/Helpers/getSpellKeyById.js +8 -0
  57. package/dist/Helpers/getSpellKeyByName.d.ts +2 -0
  58. package/dist/Helpers/getSpellKeyByName.js +9 -0
  59. package/dist/Helpers/getSpellNameById.d.ts +2 -0
  60. package/dist/Helpers/getSpellNameById.js +9 -0
  61. package/dist/Helpers/getSpellNameByKey.d.ts +2 -0
  62. package/dist/Helpers/getSpellNameByKey.js +8 -0
  63. package/dist/Helpers/getStatRuneIdByName.d.ts +2 -0
  64. package/dist/Helpers/getStatRuneIdByName.js +8 -0
  65. package/dist/Helpers/getStatRuneNameById.d.ts +2 -0
  66. package/dist/Helpers/getStatRuneNameById.js +8 -0
  67. package/dist/Helpers/getTreeRuneIdByName.d.ts +2 -0
  68. package/dist/Helpers/getTreeRuneIdByName.js +8 -0
  69. package/dist/Helpers/getTreeRuneNameById.d.ts +2 -0
  70. package/dist/Helpers/getTreeRuneNameById.js +8 -0
  71. package/dist/Helpers/isChampionId.d.ts +2 -0
  72. package/dist/Helpers/isChampionId.js +8 -0
  73. package/dist/Helpers/isChampionKey.d.ts +1 -1
  74. package/dist/Helpers/isChampionKey.js +2 -4
  75. package/dist/Helpers/isChampionName.d.ts +1 -1
  76. package/dist/Helpers/isChampionName.js +2 -4
  77. package/dist/Helpers/isItemKey.d.ts +1 -1
  78. package/dist/Helpers/isItemKey.js +2 -4
  79. package/dist/Helpers/isItemName.d.ts +1 -1
  80. package/dist/Helpers/isItemName.js +2 -4
  81. package/dist/Helpers/isRuneId.d.ts +1 -1
  82. package/dist/Helpers/isRuneId.js +2 -4
  83. package/dist/Helpers/isRuneName.d.ts +1 -1
  84. package/dist/Helpers/isRuneName.js +2 -4
  85. package/dist/Helpers/isSpellId.d.ts +2 -0
  86. package/dist/Helpers/isSpellId.js +8 -0
  87. package/dist/Helpers/isSpellKey.d.ts +2 -0
  88. package/dist/Helpers/isSpellKey.js +8 -0
  89. package/dist/Helpers/isSpellName.d.ts +2 -0
  90. package/dist/Helpers/isSpellName.js +8 -0
  91. package/dist/Helpers/isStatRuneId.d.ts +1 -1
  92. package/dist/Helpers/isStatRuneId.js +2 -4
  93. package/dist/Helpers/isStatRuneName.d.ts +1 -1
  94. package/dist/Helpers/isStatRuneName.js +2 -4
  95. package/dist/Helpers/isTreeRuneId.d.ts +1 -1
  96. package/dist/Helpers/isTreeRuneId.js +2 -4
  97. package/dist/Helpers/isTreeRuneName.d.ts +1 -1
  98. package/dist/Helpers/isTreeRuneName.js +2 -4
  99. package/dist/{Constants → assets}/StatRunes.d.ts +0 -0
  100. package/dist/{Constants → assets}/StatRunes.js +0 -0
  101. package/dist/assets/champion.json +1 -1
  102. package/dist/assets/index.d.ts +17216 -0
  103. package/dist/assets/index.js +17 -0
  104. package/dist/assets/item.json +1 -1
  105. package/dist/assets/runesReforged.json +1 -1
  106. package/dist/assets/summoner.json +1 -1
  107. package/dist/index.d.ts +25 -43394
  108. package/dist/index.js +80 -46
  109. package/dist/scripts/Helpers/getExportStatement.d.ts +6 -0
  110. package/dist/scripts/Helpers/getExportStatement.js +10 -0
  111. package/dist/scripts/generate-all.d.ts +16 -1
  112. package/dist/scripts/generate-all.js +16 -17
  113. package/dist/scripts/generate-champion-ids-by-name.d.ts +1 -0
  114. package/dist/{Helpers/generateChampionsByKey.js → scripts/generate-champion-ids-by-name.js} +9 -11
  115. package/dist/scripts/generate-champion-ids.d.ts +1 -0
  116. package/dist/{Helpers/generateChampionsByName.js → scripts/generate-champion-ids.js} +9 -11
  117. package/dist/scripts/generate-champion-keys.d.ts +1 -0
  118. package/dist/scripts/generate-champion-keys.js +20 -0
  119. package/dist/scripts/generate-champion-names.d.ts +1 -0
  120. package/dist/scripts/generate-champion-names.js +20 -0
  121. package/dist/scripts/generate-item-keys.d.ts +1 -0
  122. package/dist/scripts/generate-item-keys.js +21 -0
  123. package/dist/scripts/generate-item-names.d.ts +1 -0
  124. package/dist/scripts/generate-item-names.js +21 -0
  125. package/dist/scripts/generate-rune-ids.d.ts +1 -0
  126. package/dist/scripts/generate-rune-ids.js +29 -0
  127. package/dist/scripts/generate-rune-names.d.ts +1 -0
  128. package/dist/scripts/generate-rune-names.js +29 -0
  129. package/dist/scripts/generate-spell-ids-by-name.d.ts +1 -0
  130. package/dist/scripts/generate-spell-ids-by-name.js +20 -0
  131. package/dist/scripts/generate-spell-ids.d.ts +1 -0
  132. package/dist/scripts/generate-spell-ids.js +20 -0
  133. package/dist/scripts/generate-spell-keys.d.ts +1 -0
  134. package/dist/scripts/generate-spell-keys.js +20 -0
  135. package/dist/scripts/generate-spell-names.d.ts +1 -0
  136. package/dist/scripts/generate-spell-names.js +20 -0
  137. package/dist/scripts/generate-stat-rune-ids.d.ts +1 -0
  138. package/dist/scripts/generate-stat-rune-ids.js +20 -0
  139. package/dist/scripts/generate-stat-rune-names.d.ts +1 -0
  140. package/dist/scripts/generate-stat-rune-names.js +20 -0
  141. package/dist/scripts/generate-tree-rune-ids.d.ts +1 -0
  142. package/dist/{Helpers/generateRunesById.js → scripts/generate-tree-rune-ids.js} +9 -7
  143. package/dist/scripts/generate-tree-rune-names.d.ts +1 -0
  144. package/dist/{Helpers/generateRunesByName.js → scripts/generate-tree-rune-names.js} +9 -7
  145. package/dist/types/Meta.d.ts +32 -6
  146. package/dist/types/index.d.ts +164 -26
  147. package/package.json +2 -2
  148. package/dist/Constants/SummonerIds.d.ts +0 -2
  149. package/dist/Constants/SummonerIds.js +0 -8
  150. package/dist/Constants/SummonerKeys.d.ts +0 -2
  151. package/dist/Constants/SummonerKeys.js +0 -8
  152. package/dist/Constants/SummonerNames.d.ts +0 -2
  153. package/dist/Constants/SummonerNames.js +0 -8
  154. package/dist/Constants/SummonerSpellIds.d.ts +0 -2
  155. package/dist/Constants/SummonerSpellIds.js +0 -8
  156. package/dist/Constants/SummonerSpellKeys.d.ts +0 -2
  157. package/dist/Constants/SummonerSpellKeys.js +0 -8
  158. package/dist/Constants/SummonerSpellNames.d.ts +0 -2
  159. package/dist/Constants/SummonerSpellNames.js +0 -8
  160. package/dist/Helpers/generateChampionsByKey.d.ts +0 -1
  161. package/dist/Helpers/generateChampionsByName.d.ts +0 -1
  162. package/dist/Helpers/generateItemsByName.d.ts +0 -1
  163. package/dist/Helpers/generateItemsByName.js +0 -25
  164. package/dist/Helpers/generateRunesById.d.ts +0 -1
  165. package/dist/Helpers/generateRunesByName.d.ts +0 -1
  166. package/dist/Helpers/generateSummonerSpellsByKey.d.ts +0 -1
  167. package/dist/Helpers/generateSummonerSpellsByKey.js +0 -24
  168. package/dist/Helpers/generateSummonerSpellsByName.d.ts +0 -1
  169. package/dist/Helpers/generateSummonerSpellsByName.js +0 -24
  170. package/dist/Helpers/generateSummonersByKey.d.ts +0 -1
  171. package/dist/Helpers/generateSummonersByKey.js +0 -24
  172. package/dist/Helpers/generateSummonersByName.d.ts +0 -1
  173. package/dist/Helpers/generateSummonersByName.js +0 -24
  174. package/dist/Helpers/getSummonerSpellKeyByName.d.ts +0 -2
  175. package/dist/Helpers/getSummonerSpellKeyByName.js +0 -11
  176. package/dist/Helpers/getSummonerSpellNameByKey.d.ts +0 -2
  177. package/dist/Helpers/getSummonerSpellNameByKey.js +0 -11
  178. package/dist/Helpers/isSummonerId.d.ts +0 -2
  179. package/dist/Helpers/isSummonerId.js +0 -10
  180. package/dist/Helpers/isSummonerKey.d.ts +0 -2
  181. package/dist/Helpers/isSummonerKey.js +0 -10
  182. package/dist/Helpers/isSummonerName.d.ts +0 -2
  183. package/dist/Helpers/isSummonerName.js +0 -10
  184. package/dist/Helpers/isSummonerSpellId.d.ts +0 -2
  185. package/dist/Helpers/isSummonerSpellId.js +0 -10
  186. package/dist/Helpers/isSummonerSpellKey.d.ts +0 -2
  187. package/dist/Helpers/isSummonerSpellKey.js +0 -10
  188. package/dist/Helpers/isSummonerSpellName.d.ts +0 -2
  189. package/dist/Helpers/isSummonerSpellName.js +0 -10
  190. package/dist/generated/championByKey.json +0 -1
  191. package/dist/generated/championByName.json +0 -1
  192. package/dist/generated/itemByKey.json +0 -1
  193. package/dist/generated/itemByName.json +0 -1
  194. package/dist/generated/runesById.json +0 -1
  195. package/dist/generated/runesByName.json +0 -1
  196. package/dist/generated/summonerByKey.json +0 -1
  197. package/dist/generated/summonerByName.json +0 -1
@@ -0,0 +1,210 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RuneSets = exports.All = exports.StatRunes = exports.Keystones = exports.SecondaryTrees = exports.PrimaryTrees = void 0;
4
+ exports.PrimaryTrees = {
5
+ /**
6
+ * There are 13 Precision Runes in the game.
7
+ */
8
+ 'Precision': [
9
+ '8005',
10
+ '8008',
11
+ '8021',
12
+ '8010',
13
+ '9101',
14
+ '9111',
15
+ '8009',
16
+ '9104',
17
+ '9105',
18
+ '9103',
19
+ '8014',
20
+ '8017',
21
+ '8299',
22
+ ],
23
+ /**
24
+ * There are 13 Domination Runes in the game.
25
+ */
26
+ 'Domination': [
27
+ '8112',
28
+ '8124',
29
+ '8128',
30
+ '9923',
31
+ '8126',
32
+ '8139',
33
+ '8143',
34
+ '8136',
35
+ '8138',
36
+ '8135',
37
+ '8134',
38
+ '8105',
39
+ '8106',
40
+ ],
41
+ /**
42
+ * There are 12 Sorcery Runes in the game.
43
+ */
44
+ 'Sorcery': [
45
+ '8214',
46
+ '8229',
47
+ '8230',
48
+ '8224',
49
+ '8226',
50
+ '8275',
51
+ '8210',
52
+ '8234',
53
+ '8233',
54
+ '8237',
55
+ '8232',
56
+ '8236',
57
+ ],
58
+ /**
59
+ * There are 11 Resolve Runes in the game.
60
+ */
61
+ 'Resolve': [
62
+ '8437',
63
+ '8439',
64
+ '8465',
65
+ '8446',
66
+ '8463',
67
+ '8401',
68
+ '8429',
69
+ '8444',
70
+ '8473',
71
+ '8451',
72
+ '8453',
73
+ '8242',
74
+ ],
75
+ /**
76
+ * There are 12 Inspiration Runes in the game.
77
+ */
78
+ 'Inspiration': [
79
+ '8351',
80
+ '8360',
81
+ '8369',
82
+ '8306',
83
+ '8304',
84
+ '8313',
85
+ '8321',
86
+ '8316',
87
+ '8345',
88
+ '8347',
89
+ '8410',
90
+ '8352',
91
+ ],
92
+ };
93
+ exports.SecondaryTrees = {
94
+ 'Precision': [
95
+ '9101',
96
+ '9111',
97
+ '8009',
98
+ '9104',
99
+ '9105',
100
+ '9103',
101
+ '8014',
102
+ '8017',
103
+ '8299',
104
+ ],
105
+ 'Domination': [
106
+ '8126',
107
+ '8139',
108
+ '8143',
109
+ '8136',
110
+ '8138',
111
+ '8135',
112
+ '8134',
113
+ '8105',
114
+ '8106',
115
+ ],
116
+ 'Sorcery': [
117
+ '8224',
118
+ '8226',
119
+ '8275',
120
+ '8210',
121
+ '8234',
122
+ '8233',
123
+ '8237',
124
+ '8232',
125
+ '8236',
126
+ ],
127
+ 'Resolve': [
128
+ '8446',
129
+ '8463',
130
+ '8401',
131
+ '8429',
132
+ '8444',
133
+ '8473',
134
+ '8451',
135
+ '8453',
136
+ '8242',
137
+ ],
138
+ 'Inspiration': [
139
+ '8306',
140
+ '8304',
141
+ '8313',
142
+ '8321',
143
+ '8316',
144
+ '8345',
145
+ '8347',
146
+ '8410',
147
+ '8352',
148
+ ],
149
+ };
150
+ /**
151
+ * There are 17 Keystone Runes in the game.
152
+ */
153
+ exports.Keystones = [
154
+ // Precision
155
+ '8005',
156
+ '8008',
157
+ '8021',
158
+ '8010',
159
+ // Domination
160
+ '8112',
161
+ '8124',
162
+ '8128',
163
+ '9923',
164
+ // Sorcery
165
+ '8214',
166
+ '8229',
167
+ '8230',
168
+ // Resolve
169
+ '8437',
170
+ '8439',
171
+ '8465',
172
+ // Inspiration
173
+ '8351',
174
+ '8360',
175
+ '8369',
176
+ ];
177
+ /**
178
+ * There are 9 Stat Runes in the game.
179
+ */
180
+ exports.StatRunes = [
181
+ '5001',
182
+ '5002',
183
+ '5002f',
184
+ '5003',
185
+ '5003f',
186
+ '5005',
187
+ '5007',
188
+ '5008',
189
+ '5008f',
190
+ ];
191
+ exports.All = [
192
+ ...exports.PrimaryTrees.Precision,
193
+ ...exports.PrimaryTrees.Domination,
194
+ ...exports.PrimaryTrees.Sorcery,
195
+ ...exports.PrimaryTrees.Resolve,
196
+ ...exports.PrimaryTrees.Inspiration,
197
+ ...exports.StatRunes,
198
+ ];
199
+ /**
200
+ * Contains all Rune IDs
201
+ * that are known to man in the game of League of Legends.
202
+ * Sorted by various useful categories.
203
+ */
204
+ exports.RuneSets = {
205
+ PrimaryTrees: exports.PrimaryTrees,
206
+ SecondaryTrees: exports.SecondaryTrees,
207
+ Keystones: exports.Keystones,
208
+ StatRunes: exports.StatRunes,
209
+ All: exports.All,
210
+ };
@@ -0,0 +1,18 @@
1
+ export declare const SpellIds: {
2
+ readonly "1": "SummonerBoost";
3
+ readonly "3": "SummonerExhaust";
4
+ readonly "4": "SummonerFlash";
5
+ readonly "6": "SummonerHaste";
6
+ readonly "7": "SummonerHeal";
7
+ readonly "11": "SummonerSmite";
8
+ readonly "12": "SummonerTeleport";
9
+ readonly "13": "SummonerMana";
10
+ readonly "14": "SummonerDot";
11
+ readonly "21": "SummonerBarrier";
12
+ readonly "30": "SummonerPoroRecall";
13
+ readonly "31": "SummonerPoroThrow";
14
+ readonly "32": "SummonerSnowball";
15
+ readonly "39": "SummonerSnowURFSnowball_Mark";
16
+ readonly "54": "Summoner_UltBookPlaceholder";
17
+ readonly "55": "Summoner_UltBookSmitePlaceholder";
18
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellIds = void 0;
4
+ exports.SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder" };
@@ -0,0 +1,17 @@
1
+ export declare const SpellIdsByName: {
2
+ readonly Barrier: "SummonerBarrier";
3
+ readonly Cleanse: "SummonerBoost";
4
+ readonly Ignite: "SummonerDot";
5
+ readonly Exhaust: "SummonerExhaust";
6
+ readonly Flash: "SummonerFlash";
7
+ readonly Ghost: "SummonerHaste";
8
+ readonly Heal: "SummonerHeal";
9
+ readonly Clarity: "SummonerMana";
10
+ readonly "To the King!": "SummonerPoroRecall";
11
+ readonly "Poro Toss": "SummonerPoroThrow";
12
+ readonly Smite: "SummonerSmite";
13
+ readonly Mark: "SummonerSnowball";
14
+ readonly Teleport: "SummonerTeleport";
15
+ readonly Placeholder: "Summoner_UltBookPlaceholder";
16
+ readonly "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder";
17
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellIdsByName = void 0;
4
+ exports.SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Flash": "SummonerFlash", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
@@ -0,0 +1,18 @@
1
+ export declare const SpellKeys: {
2
+ readonly SummonerBarrier: "21";
3
+ readonly SummonerBoost: "1";
4
+ readonly SummonerDot: "14";
5
+ readonly SummonerExhaust: "3";
6
+ readonly SummonerFlash: "4";
7
+ readonly SummonerHaste: "6";
8
+ readonly SummonerHeal: "7";
9
+ readonly SummonerMana: "13";
10
+ readonly SummonerPoroRecall: "30";
11
+ readonly SummonerPoroThrow: "31";
12
+ readonly SummonerSmite: "11";
13
+ readonly SummonerSnowURFSnowball_Mark: "39";
14
+ readonly SummonerSnowball: "32";
15
+ readonly SummonerTeleport: "12";
16
+ readonly Summoner_UltBookPlaceholder: "54";
17
+ readonly Summoner_UltBookSmitePlaceholder: "55";
18
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellKeys = void 0;
4
+ exports.SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
@@ -0,0 +1,18 @@
1
+ export declare const SpellNames: {
2
+ readonly "1": "Cleanse";
3
+ readonly "3": "Exhaust";
4
+ readonly "4": "Flash";
5
+ readonly "6": "Ghost";
6
+ readonly "7": "Heal";
7
+ readonly "11": "Smite";
8
+ readonly "12": "Teleport";
9
+ readonly "13": "Clarity";
10
+ readonly "14": "Ignite";
11
+ readonly "21": "Barrier";
12
+ readonly "30": "To the King!";
13
+ readonly "31": "Poro Toss";
14
+ readonly "32": "Mark";
15
+ readonly "39": "Mark";
16
+ readonly "54": "Placeholder";
17
+ readonly "55": "Placeholder and Attack-Smite";
18
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellNames = void 0;
4
+ exports.SpellNames = { "1": "Cleanse", "3": "Exhaust", "4": "Flash", "6": "Ghost", "7": "Heal", "11": "Smite", "12": "Teleport", "13": "Clarity", "14": "Ignite", "21": "Barrier", "30": "To the King!", "31": "Poro Toss", "32": "Mark", "39": "Mark", "54": "Placeholder", "55": "Placeholder and Attack-Smite" };
@@ -1,2 +1,11 @@
1
- import { StatRuneId } from '../types';
2
- export declare const StatRuneIds: StatRuneId[];
1
+ export declare const StatRuneIds: {
2
+ readonly "Defense (HP)": "5001";
3
+ readonly "Defense (AR)": "5002";
4
+ readonly "Defense (MR)": "5003";
5
+ readonly "Offense (AS)": "5005";
6
+ readonly "Offense (AH)": "5007";
7
+ readonly "Offense (AF)": "5008";
8
+ readonly "Flex (AR)": "5002f";
9
+ readonly "Flex (MR)": "5003f";
10
+ readonly "Flex (AF)": "5008f";
11
+ };
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatRuneIds = void 0;
4
- const StatRunes_1 = require("./StatRunes");
5
- exports.StatRuneIds = (Object.keys(StatRunes_1.StatRunes).map(id => id));
4
+ exports.StatRuneIds = { "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003", "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" };
@@ -1,2 +1,11 @@
1
- import { StatRuneName } from '../types';
2
- export declare const StatRuneNames: StatRuneName[];
1
+ export declare const StatRuneNames: {
2
+ readonly "5001": "Defense (HP)";
3
+ readonly "5002": "Defense (AR)";
4
+ readonly "5003": "Defense (MR)";
5
+ readonly "5005": "Offense (AS)";
6
+ readonly "5007": "Offense (AH)";
7
+ readonly "5008": "Offense (AF)";
8
+ readonly "5002f": "Flex (AR)";
9
+ readonly "5003f": "Flex (MR)";
10
+ readonly "5008f": "Flex (AF)";
11
+ };
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StatRuneNames = void 0;
4
- const StatRunes_1 = require("./StatRunes");
5
- exports.StatRuneNames = Object.values(StatRunes_1.StatRunes);
4
+ exports.StatRuneNames = { "5001": "Defense (HP)", "5002": "Defense (AR)", "5003": "Defense (MR)", "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)", "5002f": "Flex (AR)", "5003f": "Flex (MR)", "5008f": "Flex (AF)" };
@@ -1,2 +1,65 @@
1
- import { TreeRuneId } from '../types';
2
- export declare const TreeRuneIds: TreeRuneId[];
1
+ export declare const TreeRuneIds: {
2
+ readonly Electrocute: "8112";
3
+ readonly Predator: "8124";
4
+ readonly "Dark Harvest": "8128";
5
+ readonly "Hail of Blades": "9923";
6
+ readonly "Cheap Shot": "8126";
7
+ readonly "Taste of Blood": "8139";
8
+ readonly "Sudden Impact": "8143";
9
+ readonly "Zombie Ward": "8136";
10
+ readonly "Ghost Poro": "8120";
11
+ readonly "Eyeball Collection": "8138";
12
+ readonly "Treasure Hunter": "8135";
13
+ readonly "Ingenious Hunter": "8134";
14
+ readonly "Relentless Hunter": "8105";
15
+ readonly "Ultimate Hunter": "8106";
16
+ readonly "Glacial Augment": "8351";
17
+ readonly "Unsealed Spellbook": "8360";
18
+ readonly "First Strike": "8369";
19
+ readonly "Hextech Flashtraption": "8306";
20
+ readonly "Magical Footwear": "8304";
21
+ readonly "Perfect Timing": "8313";
22
+ readonly "Future's Market": "8321";
23
+ readonly "Minion Dematerializer": "8316";
24
+ readonly "Biscuit Delivery": "8345";
25
+ readonly "Cosmic Insight": "8347";
26
+ readonly "Approach Velocity": "8410";
27
+ readonly "Time Warp Tonic": "8352";
28
+ readonly "Press the Attack": "8005";
29
+ readonly "Lethal Tempo": "8008";
30
+ readonly "Fleet Footwork": "8021";
31
+ readonly Conqueror: "8010";
32
+ readonly Overheal: "9101";
33
+ readonly Triumph: "9111";
34
+ readonly "Presence of Mind": "8009";
35
+ readonly "Legend: Alacrity": "9104";
36
+ readonly "Legend: Tenacity": "9105";
37
+ readonly "Legend: Bloodline": "9103";
38
+ readonly "Coup de Grace": "8014";
39
+ readonly "Cut Down": "8017";
40
+ readonly "Last Stand": "8299";
41
+ readonly "Grasp of the Undying": "8437";
42
+ readonly Aftershock: "8439";
43
+ readonly Guardian: "8465";
44
+ readonly Demolish: "8446";
45
+ readonly "Font of Life": "8463";
46
+ readonly "Shield Bash": "8401";
47
+ readonly Conditioning: "8429";
48
+ readonly "Second Wind": "8444";
49
+ readonly "Bone Plating": "8473";
50
+ readonly Overgrowth: "8451";
51
+ readonly Revitalize: "8453";
52
+ readonly Unflinching: "8242";
53
+ readonly "Summon Aery": "8214";
54
+ readonly "Arcane Comet": "8229";
55
+ readonly "Phase Rush": "8230";
56
+ readonly "Nullifying Orb": "8224";
57
+ readonly "Manaflow Band": "8226";
58
+ readonly "Nimbus Cloak": "8275";
59
+ readonly Transcendence: "8210";
60
+ readonly Celerity: "8234";
61
+ readonly "Absolute Focus": "8233";
62
+ readonly Scorch: "8237";
63
+ readonly Waterwalking: "8232";
64
+ readonly "Gathering Storm": "8236";
65
+ };
@@ -1,8 +1,4 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.TreeRuneIds = void 0;
7
- const runesById_json_1 = __importDefault(require("../generated/runesById.json"));
8
- exports.TreeRuneIds = (Object.keys(runesById_json_1.default).map(id => id));
4
+ exports.TreeRuneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" };
@@ -1,2 +1,65 @@
1
- import { TreeRuneName } from '../types';
2
- export declare const TreeRuneNames: TreeRuneName[];
1
+ export declare const TreeRuneNames: {
2
+ readonly "8005": "Press the Attack";
3
+ readonly "8008": "Lethal Tempo";
4
+ readonly "8009": "Presence of Mind";
5
+ readonly "8010": "Conqueror";
6
+ readonly "8014": "Coup de Grace";
7
+ readonly "8017": "Cut Down";
8
+ readonly "8021": "Fleet Footwork";
9
+ readonly "8105": "Relentless Hunter";
10
+ readonly "8106": "Ultimate Hunter";
11
+ readonly "8112": "Electrocute";
12
+ readonly "8120": "Ghost Poro";
13
+ readonly "8124": "Predator";
14
+ readonly "8126": "Cheap Shot";
15
+ readonly "8128": "Dark Harvest";
16
+ readonly "8134": "Ingenious Hunter";
17
+ readonly "8135": "Treasure Hunter";
18
+ readonly "8136": "Zombie Ward";
19
+ readonly "8138": "Eyeball Collection";
20
+ readonly "8139": "Taste of Blood";
21
+ readonly "8143": "Sudden Impact";
22
+ readonly "8210": "Transcendence";
23
+ readonly "8214": "Summon Aery";
24
+ readonly "8224": "Nullifying Orb";
25
+ readonly "8226": "Manaflow Band";
26
+ readonly "8229": "Arcane Comet";
27
+ readonly "8230": "Phase Rush";
28
+ readonly "8232": "Waterwalking";
29
+ readonly "8233": "Absolute Focus";
30
+ readonly "8234": "Celerity";
31
+ readonly "8236": "Gathering Storm";
32
+ readonly "8237": "Scorch";
33
+ readonly "8242": "Unflinching";
34
+ readonly "8275": "Nimbus Cloak";
35
+ readonly "8299": "Last Stand";
36
+ readonly "8304": "Magical Footwear";
37
+ readonly "8306": "Hextech Flashtraption";
38
+ readonly "8313": "Perfect Timing";
39
+ readonly "8316": "Minion Dematerializer";
40
+ readonly "8321": "Future's Market";
41
+ readonly "8345": "Biscuit Delivery";
42
+ readonly "8347": "Cosmic Insight";
43
+ readonly "8351": "Glacial Augment";
44
+ readonly "8352": "Time Warp Tonic";
45
+ readonly "8360": "Unsealed Spellbook";
46
+ readonly "8369": "First Strike";
47
+ readonly "8401": "Shield Bash";
48
+ readonly "8410": "Approach Velocity";
49
+ readonly "8429": "Conditioning";
50
+ readonly "8437": "Grasp of the Undying";
51
+ readonly "8439": "Aftershock";
52
+ readonly "8444": "Second Wind";
53
+ readonly "8446": "Demolish";
54
+ readonly "8451": "Overgrowth";
55
+ readonly "8453": "Revitalize";
56
+ readonly "8463": "Font of Life";
57
+ readonly "8465": "Guardian";
58
+ readonly "8473": "Bone Plating";
59
+ readonly "9101": "Overheal";
60
+ readonly "9103": "Legend: Bloodline";
61
+ readonly "9104": "Legend: Alacrity";
62
+ readonly "9105": "Legend: Tenacity";
63
+ readonly "9111": "Triumph";
64
+ readonly "9923": "Hail of Blades";
65
+ };
@@ -1,8 +1,4 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.TreeRuneNames = void 0;
7
- const runesByName_json_1 = __importDefault(require("../generated/runesByName.json"));
8
- exports.TreeRuneNames = (Object.keys(runesByName_json_1.default).map(name => name));
4
+ exports.TreeRuneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph", "9923": "Hail of Blades" };
@@ -0,0 +1,2 @@
1
+ import { ChampionId, ChampionKey } from '../types';
2
+ export declare function getChampionIdByKey(key: ChampionKey): ChampionId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getChampionIdByKey = void 0;
4
+ const ChampionIds_1 = require("../Constants/ChampionIds");
5
+ function getChampionIdByKey(key) {
6
+ return ChampionIds_1.ChampionIds[key];
7
+ }
8
+ exports.getChampionIdByKey = getChampionIdByKey;
@@ -0,0 +1,2 @@
1
+ import { ChampionId, ChampionName } from '../types';
2
+ export declare function getChampionIdByName(name: ChampionName): ChampionId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getChampionIdByName = void 0;
4
+ const ChampionIdsByName_1 = require("../Constants/ChampionIdsByName");
5
+ function getChampionIdByName(name) {
6
+ return ChampionIdsByName_1.ChampionIdsByName[name];
7
+ }
8
+ exports.getChampionIdByName = getChampionIdByName;
@@ -0,0 +1,2 @@
1
+ import { ChampionId, ChampionKey } from '../types';
2
+ export declare function getChampionKeyById(id: ChampionId): ChampionKey;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getChampionKeyById = void 0;
4
+ const ChampionKeys_1 = require("../Constants/ChampionKeys");
5
+ function getChampionKeyById(id) {
6
+ return ChampionKeys_1.ChampionKeys[id];
7
+ }
8
+ exports.getChampionKeyById = getChampionKeyById;
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.getChampionKeyByName = void 0;
7
- const championByName_json_1 = __importDefault(require("../generated/championByName.json"));
4
+ const ChampionIdsByName_1 = require("../Constants/ChampionIdsByName");
5
+ const ChampionKeys_1 = require("../Constants/ChampionKeys");
8
6
  function getChampionKeyByName(name) {
9
- return championByName_json_1.default.data[name].key;
7
+ return ChampionKeys_1.ChampionKeys[ChampionIdsByName_1.ChampionIdsByName[name]];
10
8
  }
11
9
  exports.getChampionKeyByName = getChampionKeyByName;
@@ -0,0 +1,2 @@
1
+ import { ChampionId, ChampionName } from '../types';
2
+ export declare function getChampionNameById(id: ChampionId): ChampionName;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getChampionNameById = void 0;
4
+ const ChampionKeys_1 = require("../Constants/ChampionKeys");
5
+ const ChampionNames_1 = require("../Constants/ChampionNames");
6
+ function getChampionNameById(id) {
7
+ return ChampionNames_1.ChampionNames[ChampionKeys_1.ChampionKeys[id]];
8
+ }
9
+ exports.getChampionNameById = getChampionNameById;
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.getChampionNameByKey = void 0;
7
- const championByKey_json_1 = __importDefault(require("../generated/championByKey.json"));
4
+ const ChampionNames_1 = require("../Constants/ChampionNames");
8
5
  function getChampionNameByKey(key) {
9
- return championByKey_json_1.default.data[key].name;
6
+ return ChampionNames_1.ChampionNames[key];
10
7
  }
11
8
  exports.getChampionNameByKey = getChampionNameByKey;
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.getItemKeyByName = void 0;
7
- const itemByName_json_1 = __importDefault(require("../generated/itemByName.json"));
4
+ const ItemKeys_1 = require("../Constants/ItemKeys");
8
5
  function getItemKeyByName(name) {
9
- return itemByName_json_1.default.data[name].key;
6
+ return ItemKeys_1.ItemKeys[name];
10
7
  }
11
8
  exports.getItemKeyByName = getItemKeyByName;
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.getItemNameByKey = void 0;
7
- const item_json_1 = __importDefault(require("../assets/item.json"));
4
+ const ItemNames_1 = require("../Constants/ItemNames");
8
5
  function getItemNameByKey(key) {
9
- return item_json_1.default.data[key].name;
6
+ return ItemNames_1.ItemNames[key];
10
7
  }
11
8
  exports.getItemNameByKey = getItemNameByKey;