lol-constants 2.0.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. package/assets/scripts/constants/RuneIdComment.d.ts +1 -0
  2. package/assets/scripts/constants/RuneIdComment.js +19 -0
  3. package/assets/scripts/generate-all.d.ts +6 -0
  4. package/assets/scripts/generate-all.js +10 -0
  5. package/assets/scripts/generate-categorized-item-keys-num.d.ts +1 -0
  6. package/assets/scripts/generate-categorized-item-keys-num.js +60 -0
  7. package/assets/scripts/generate-categorized-item-keys.js +7 -1
  8. package/assets/scripts/generate-categorized-item-names.js +3 -1
  9. package/assets/scripts/generate-champion-ids-by-name.js +5 -3
  10. package/assets/scripts/generate-champion-ids.js +6 -3
  11. package/assets/scripts/generate-champion-keys-num.d.ts +1 -0
  12. package/assets/scripts/generate-champion-keys-num.js +22 -0
  13. package/assets/scripts/generate-champion-keys.js +6 -3
  14. package/assets/scripts/generate-champion-names.js +6 -3
  15. package/assets/scripts/generate-item-keys-num.d.ts +1 -0
  16. package/assets/scripts/generate-item-keys-num.js +23 -0
  17. package/assets/scripts/generate-item-keys.js +6 -3
  18. package/assets/scripts/generate-item-names.js +6 -3
  19. package/assets/scripts/generate-rune-ids.js +8 -3
  20. package/assets/scripts/generate-rune-names.js +6 -3
  21. package/assets/scripts/generate-rune-sets-by-rune-names-num.d.ts +1 -0
  22. package/assets/scripts/generate-rune-sets-by-rune-names-num.js +118 -0
  23. package/assets/scripts/generate-rune-sets-by-rune-names.js +5 -0
  24. package/assets/scripts/generate-rune-sets.js +2 -0
  25. package/assets/scripts/generate-spell-ids-by-name.js +5 -3
  26. package/assets/scripts/generate-spell-ids.js +6 -3
  27. package/assets/scripts/generate-spell-keys-num.d.ts +1 -0
  28. package/assets/scripts/generate-spell-keys-num.js +22 -0
  29. package/assets/scripts/generate-spell-keys.js +6 -3
  30. package/assets/scripts/generate-spell-names.js +6 -3
  31. package/assets/scripts/generate-stat-rune-ids.js +8 -3
  32. package/assets/scripts/generate-stat-rune-names.js +8 -5
  33. package/assets/scripts/generate-tree-rune-ids-num.d.ts +1 -0
  34. package/assets/scripts/generate-tree-rune-ids-num.js +23 -0
  35. package/assets/scripts/generate-tree-rune-ids.js +8 -3
  36. package/assets/scripts/generate-tree-rune-names.js +8 -5
  37. package/assets/scripts/helpers/getComment.d.ts +1 -0
  38. package/assets/scripts/helpers/getComment.js +8 -0
  39. package/assets/scripts/helpers/getExportStatement.d.ts +1 -1
  40. package/assets/scripts/helpers/getExportStatement.js +28 -3
  41. package/assets/scripts/helpers/getFmtdComment.js +1 -1
  42. package/assets/scripts/helpers/validateNumber.d.ts +1 -0
  43. package/assets/scripts/helpers/validateNumber.js +10 -0
  44. package/assets/scripts/helpers/writeToTmpFile.d.ts +3 -0
  45. package/assets/scripts/helpers/writeToTmpFile.js +2 -2
  46. package/core/constants/Champions/ChampionIds.d.ts +1 -0
  47. package/core/constants/Champions/ChampionKeys.d.ts +1 -0
  48. package/core/constants/Champions/ChampionKeysNum.d.ts +166 -0
  49. package/core/constants/Champions/ChampionKeysNum.js +4 -0
  50. package/core/constants/Champions/ChampionNames.d.ts +1 -0
  51. package/core/constants/Items/BootsItemKeys.d.ts +1 -0
  52. package/core/constants/Items/BootsItemKeysNum.d.ts +12 -0
  53. package/core/constants/Items/BootsItemKeysNum.js +4 -0
  54. package/core/constants/Items/BootsItemNames.d.ts +1 -0
  55. package/core/constants/Items/ItemKeys.d.ts +1 -0
  56. package/core/constants/Items/ItemKeysNum.d.ts +264 -0
  57. package/core/constants/Items/ItemKeysNum.js +4 -0
  58. package/core/constants/Items/ItemNames.d.ts +1 -0
  59. package/core/constants/Items/LegendaryItemKeys.d.ts +1 -0
  60. package/core/constants/Items/LegendaryItemKeysNum.d.ts +77 -0
  61. package/core/constants/Items/LegendaryItemKeysNum.js +4 -0
  62. package/core/constants/Items/LegendaryItemNames.d.ts +1 -0
  63. package/core/constants/Items/MythicItemKeys.d.ts +1 -0
  64. package/core/constants/Items/MythicItemKeysNum.d.ts +31 -0
  65. package/core/constants/Items/MythicItemKeysNum.js +4 -0
  66. package/core/constants/Items/MythicItemNames.d.ts +1 -0
  67. package/core/constants/PlatformIds.d.ts +9 -9
  68. package/core/constants/PlatformIds.js +11 -10
  69. package/core/constants/Regions.d.ts +9 -15
  70. package/core/constants/Regions.js +18 -16
  71. package/core/constants/Runes/RuneIconFileNames.d.ts +1 -1
  72. package/core/constants/Runes/RuneSets.d.ts +2 -0
  73. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -0
  74. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +743 -0
  75. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +14 -0
  76. package/core/constants/Runes/RuneTreeIds.d.ts +1 -1
  77. package/core/constants/Runes/RuneTreeIds.js +1 -1
  78. package/core/constants/Runes/RuneTreeIdsNum.d.ts +11 -0
  79. package/core/constants/Runes/RuneTreeIdsNum.js +19 -0
  80. package/core/constants/Runes/TreeRuneIds.d.ts +15 -0
  81. package/core/constants/Runes/TreeRuneIdsNum.d.ts +66 -0
  82. package/core/constants/Runes/TreeRuneIdsNum.js +4 -0
  83. package/core/constants/Runes/TreeRuneNames.d.ts +1 -0
  84. package/core/constants/Spells/SpellIds.d.ts +1 -0
  85. package/core/constants/Spells/SpellKeys.d.ts +1 -0
  86. package/core/constants/Spells/SpellKeysNum.d.ts +19 -0
  87. package/core/constants/Spells/SpellKeysNum.js +4 -0
  88. package/core/constants/Spells/SpellNames.d.ts +1 -0
  89. package/core/helpers/Champions/getChampionIdByKey.d.ts +2 -1
  90. package/core/helpers/Champions/getChampionIdByName.d.ts +2 -1
  91. package/core/helpers/Champions/getChampionKeyById.d.ts +2 -1
  92. package/core/helpers/Champions/getChampionKeyByName.d.ts +2 -1
  93. package/core/helpers/Champions/getChampionNameById.d.ts +2 -1
  94. package/core/helpers/Champions/getChampionNameByKey.d.ts +2 -1
  95. package/core/helpers/Champions/isChampionId.d.ts +1 -1
  96. package/core/helpers/Champions/isChampionKey.d.ts +1 -1
  97. package/core/helpers/Champions/isChampionName.d.ts +1 -1
  98. package/core/helpers/Items/getItemKeyByName.d.ts +2 -1
  99. package/core/helpers/Items/getItemNameByKey.d.ts +2 -1
  100. package/core/helpers/Items/isBootsItemKey.d.ts +1 -1
  101. package/core/helpers/Items/isBootsItemName.d.ts +1 -1
  102. package/core/helpers/Items/isItemKey.d.ts +1 -1
  103. package/core/helpers/Items/isItemName.d.ts +1 -1
  104. package/core/helpers/Items/isLegendaryItemKey.d.ts +1 -1
  105. package/core/helpers/Items/isLegendaryItemName.d.ts +1 -1
  106. package/core/helpers/Items/isMythicItemKey.d.ts +1 -1
  107. package/core/helpers/Items/isMythicItemName.d.ts +1 -1
  108. package/core/helpers/Runes/getRuneCategoryName.d.ts +2 -1
  109. package/core/helpers/Runes/getRuneCdnUrl.d.ts +1 -1
  110. package/core/helpers/Runes/getRuneIdByName.d.ts +2 -1
  111. package/core/helpers/Runes/getRuneNameById.d.ts +2 -1
  112. package/core/helpers/Runes/getStatRuneIdByName.d.ts +2 -1
  113. package/core/helpers/Runes/getStatRuneNameById.d.ts +2 -1
  114. package/core/helpers/Runes/getTreeRuneIdByName.d.ts +2 -1
  115. package/core/helpers/Runes/getTreeRuneNameById.d.ts +2 -1
  116. package/core/helpers/Runes/isRuneId.d.ts +1 -1
  117. package/core/helpers/Runes/isRuneName.d.ts +1 -1
  118. package/core/helpers/Runes/isStatRuneId.d.ts +1 -1
  119. package/core/helpers/Runes/isStatRuneName.d.ts +1 -1
  120. package/core/helpers/Runes/isTreeRuneId.d.ts +1 -1
  121. package/core/helpers/Runes/isTreeRuneName.d.ts +1 -1
  122. package/core/helpers/Spells/getSpellIdByKey.d.ts +2 -1
  123. package/core/helpers/Spells/getSpellIdByName.d.ts +2 -1
  124. package/core/helpers/Spells/getSpellKeyById.d.ts +2 -1
  125. package/core/helpers/Spells/getSpellKeyByName.d.ts +2 -1
  126. package/core/helpers/Spells/getSpellNameById.d.ts +2 -1
  127. package/core/helpers/Spells/getSpellNameByKey.d.ts +2 -1
  128. package/core/helpers/Spells/isSpellId.d.ts +1 -1
  129. package/core/helpers/Spells/isSpellKey.d.ts +1 -1
  130. package/core/helpers/Spells/isSpellName.d.ts +1 -1
  131. package/core/index.d.ts +9 -0
  132. package/core/index.js +9 -12
  133. package/core/types/types.d.ts +27 -86
  134. package/package.json +1 -1
@@ -0,0 +1,264 @@
1
+ export declare const ItemKeysNum: {
2
+ readonly Boots: 1001;
3
+ readonly "Faerie Charm": 1004;
4
+ readonly "Rejuvenation Bead": 1006;
5
+ readonly "Giant's Belt": 1011;
6
+ readonly "Cloak of Agility": 1018;
7
+ readonly "Blasting Wand": 1026;
8
+ readonly "Sapphire Crystal": 1027;
9
+ readonly "Ruby Crystal": 1028;
10
+ readonly "Cloth Armor": 1029;
11
+ readonly "Chain Vest": 1031;
12
+ readonly "Null-Magic Mantle": 1033;
13
+ readonly Emberknife: 1035;
14
+ readonly "Long Sword": 1036;
15
+ readonly Pickaxe: 1037;
16
+ readonly "B. F. Sword": 1038;
17
+ readonly Hailblade: 1039;
18
+ readonly "Obsidian Edge": 1040;
19
+ readonly Dagger: 1042;
20
+ readonly "Recurve Bow": 1043;
21
+ readonly "Amplifying Tome": 1052;
22
+ readonly "Vampiric Scepter": 1053;
23
+ readonly "Doran's Shield": 1054;
24
+ readonly "Doran's Blade": 1055;
25
+ readonly "Doran's Ring": 1056;
26
+ readonly "Negatron Cloak": 1057;
27
+ readonly "Needlessly Large Rod": 1058;
28
+ readonly "Dark Seal": 1082;
29
+ readonly Cull: 1083;
30
+ readonly "Scorchclaw Pup": 1101;
31
+ readonly "Gustwalker Hatchling": 1102;
32
+ readonly "Mosstomper Seedling": 1103;
33
+ readonly "Eye of the Herald": 3513;
34
+ readonly "Penetrating Bullets": 1500;
35
+ readonly Fortification: 1521;
36
+ readonly "Reinforced Armor": 1506;
37
+ readonly "Warden's Eye": 1503;
38
+ readonly Vanguard: 1504;
39
+ readonly "Lightning Rod": 1505;
40
+ readonly Overcharged: 1507;
41
+ readonly "Anti-tower Socks": 1508;
42
+ readonly Gusto: 1509;
43
+ readonly "Phreakish Gusto": 1510;
44
+ readonly "Super Mech Armor": 1511;
45
+ readonly "Super Mech Power Field": 1512;
46
+ readonly "Turret Plating": 1515;
47
+ readonly "Structure Bounty": 1519;
48
+ readonly OvererchargedHA: 1520;
49
+ readonly "Tower Power-Up": 1522;
50
+ readonly "Health Potion": 2003;
51
+ readonly "Total Biscuit of Everlasting Will": 2010;
52
+ readonly "Kircheis Shard": 2015;
53
+ readonly "Refillable Potion": 2031;
54
+ readonly "Corrupting Potion": 2033;
55
+ readonly "Guardian's Horn": 2051;
56
+ readonly "Poro-Snax": 2052;
57
+ readonly "Control Ward": 2055;
58
+ readonly "Shurelya's Battlesong": 2065;
59
+ readonly "Elixir of Iron": 2138;
60
+ readonly "Elixir of Sorcery": 2139;
61
+ readonly "Elixir of Wrath": 2140;
62
+ readonly "Minion Dematerializer": 2403;
63
+ readonly "Commencing Stopwatch": 2419;
64
+ readonly Stopwatch: 2420;
65
+ readonly "Broken Stopwatch": 2424;
66
+ readonly "Slightly Magical Footwear": 2422;
67
+ readonly "Perfectly Timed Stopwatch": 2423;
68
+ readonly Evenshroud: 3001;
69
+ readonly "Archangel's Staff": 3003;
70
+ readonly Manamune: 3004;
71
+ readonly "Berserker's Greaves": 3006;
72
+ readonly "Boots of Swiftness": 3009;
73
+ readonly "Chemtech Putrifier": 3011;
74
+ readonly "Sorcerer's Shoes": 3020;
75
+ readonly "Glacial Buckler": 3024;
76
+ readonly "Guardian Angel": 3026;
77
+ readonly "Infinity Edge": 3031;
78
+ readonly "Mortal Reminder": 3033;
79
+ readonly "Last Whisper": 3035;
80
+ readonly "Lord Dominik's Regards": 3036;
81
+ readonly "Seraph's Embrace": 3040;
82
+ readonly "Mejai's Soulstealer": 3041;
83
+ readonly Muramana: 3042;
84
+ readonly Phage: 3044;
85
+ readonly "Phantom Dancer": 3046;
86
+ readonly "Plated Steelcaps": 3047;
87
+ readonly "Zeke's Convergence": 3050;
88
+ readonly "Hearthbound Axe": 3051;
89
+ readonly "Sterak's Gage": 3053;
90
+ readonly Sheen: 3057;
91
+ readonly "Spirit Visage": 3065;
92
+ readonly "Winged Moonplate": 3066;
93
+ readonly Kindlegem: 3067;
94
+ readonly "Sunfire Aegis": 3068;
95
+ readonly "Tear of the Goddess": 3070;
96
+ readonly "Black Cleaver": 3071;
97
+ readonly Bloodthirster: 3072;
98
+ readonly "Ravenous Hydra": 3074;
99
+ readonly Thornmail: 3075;
100
+ readonly "Bramble Vest": 3076;
101
+ readonly Tiamat: 3077;
102
+ readonly "Trinity Force": 3078;
103
+ readonly "Warden's Mail": 3082;
104
+ readonly "Warmog's Armor": 3083;
105
+ readonly Heartsteel: 3084;
106
+ readonly "Runaan's Hurricane": 3085;
107
+ readonly Zeal: 3086;
108
+ readonly "Rabadon's Deathcap": 3089;
109
+ readonly "Wit's End": 3091;
110
+ readonly "Rapid Firecannon": 3094;
111
+ readonly Stormrazor: 3095;
112
+ readonly "Lich Bane": 3100;
113
+ readonly "Banshee's Veil": 3102;
114
+ readonly "Aegis of the Legion": 3105;
115
+ readonly Redemption: 3107;
116
+ readonly "Fiendish Codex": 3108;
117
+ readonly "Knight's Vow": 3109;
118
+ readonly "Frozen Heart": 3110;
119
+ readonly "Mercury's Treads": 3111;
120
+ readonly "Guardian's Orb": 3112;
121
+ readonly "Aether Wisp": 3113;
122
+ readonly "Forbidden Idol": 3114;
123
+ readonly "Nashor's Tooth": 3115;
124
+ readonly "Rylai's Crystal Scepter": 3116;
125
+ readonly "Mobility Boots": 3117;
126
+ readonly "Winter's Approach": 3119;
127
+ readonly Fimbulwinter: 3121;
128
+ readonly "Executioner's Calling": 3123;
129
+ readonly "Guinsoo's Rageblade": 3124;
130
+ readonly "Caulfield's Warhammer": 3133;
131
+ readonly "Serrated Dirk": 3134;
132
+ readonly "Void Staff": 3135;
133
+ readonly "Mercurial Scimitar": 3139;
134
+ readonly "Quicksilver Sash": 3140;
135
+ readonly "Youmuu's Ghostblade": 3142;
136
+ readonly "Randuin's Omen": 3143;
137
+ readonly "Hextech Alternator": 3145;
138
+ readonly "Hextech Rocketbelt": 3152;
139
+ readonly "Blade of The Ruined King": 3153;
140
+ readonly Hexdrinker: 3155;
141
+ readonly "Maw of Malmortius": 3156;
142
+ readonly "Zhonya's Hourglass": 3157;
143
+ readonly "Ionian Boots of Lucidity": 3158;
144
+ readonly "Spear Of Shojin": 3161;
145
+ readonly Morellonomicon: 3165;
146
+ readonly "Guardian's Blade": 3177;
147
+ readonly "Umbral Glaive": 3179;
148
+ readonly Hullbreaker: 3181;
149
+ readonly "Guardian's Hammer": 3184;
150
+ readonly "Locket of the Iron Solari": 3190;
151
+ readonly "Seeker's Armguard": 3191;
152
+ readonly "Gargoyle Stoneplate": 3193;
153
+ readonly "Spectre's Cowl": 3211;
154
+ readonly "Mikael's Blessing": 3222;
155
+ readonly "Scarecrow Effigy": 3330;
156
+ readonly "Stealth Ward": 3340;
157
+ readonly "Farsight Alteration": 3363;
158
+ readonly "Oracle Lens": 3364;
159
+ readonly "Your Cut": 3400;
160
+ readonly "Ardent Censer": 3504;
161
+ readonly "Essence Reaver": 3508;
162
+ readonly "Kalista's Black Spear": 3600;
163
+ readonly "Dead Man's Plate": 3742;
164
+ readonly "Titanic Hydra": 3748;
165
+ readonly "Crystalline Bracer": 3801;
166
+ readonly "Lost Chapter": 3802;
167
+ readonly "Catalyst of Aeons": 3803;
168
+ readonly "Edge of Night": 3814;
169
+ readonly "Spellthief's Edge": 3850;
170
+ readonly Frostfang: 3851;
171
+ readonly "Shard of True Ice": 3853;
172
+ readonly "Steel Shoulderguards": 3854;
173
+ readonly "Runesteel Spaulders": 3855;
174
+ readonly "Pauldrons of Whiterock": 3857;
175
+ readonly "Relic Shield": 3858;
176
+ readonly "Targon's Buckler": 3859;
177
+ readonly "Bulwark of the Mountain": 3860;
178
+ readonly "Spectral Sickle": 3862;
179
+ readonly "Harrowing Crescent": 3863;
180
+ readonly "Black Mist Scythe": 3864;
181
+ readonly "Fire at Will500 Silver Serpents": 3901;
182
+ readonly "Death's Daughter500 Silver Serpents": 3902;
183
+ readonly "Raise Morale500 Silver Serpents": 3903;
184
+ readonly "Oblivion Orb": 3916;
185
+ readonly "Imperial Mandate": 4005;
186
+ readonly "Force of Nature": 4401;
187
+ readonly "The Golden Spatula": 4403;
188
+ readonly "Horizon Focus": 4628;
189
+ readonly "Cosmic Drive": 4629;
190
+ readonly "Blighting Jewel": 4630;
191
+ readonly "Verdant Barrier": 4632;
192
+ readonly Riftmaker: 4633;
193
+ readonly "Leeching Leer": 4635;
194
+ readonly "Night Harvester": 4636;
195
+ readonly "Demonic Embrace": 4637;
196
+ readonly "Watchful Wardstone": 4638;
197
+ readonly "Stirring Wardstone": 4641;
198
+ readonly "Bandleglass Mirror": 4642;
199
+ readonly "Vigilant Wardstone": 4643;
200
+ readonly "Crown of the Shattered Queen": 4644;
201
+ readonly Shadowflame: 4645;
202
+ readonly "Ironspike Whip": 6029;
203
+ readonly "Silvermere Dawn": 6035;
204
+ readonly "Death's Dance": 6333;
205
+ readonly "Chempunk Chainsword": 6609;
206
+ readonly "Staff of Flowing Water": 6616;
207
+ readonly "Moonstone Renewer": 6617;
208
+ readonly Goredrinker: 6630;
209
+ readonly Stridebreaker: 6631;
210
+ readonly "Divine Sunderer": 6632;
211
+ readonly "Liandry's Anguish": 6653;
212
+ readonly "Luden's Tempest": 6655;
213
+ readonly Everfrost: 6656;
214
+ readonly "Rod of Ages": 6657;
215
+ readonly "Bami's Cinder": 6660;
216
+ readonly "Iceborn Gauntlet": 6662;
217
+ readonly "Turbo Chemtank": 6664;
218
+ readonly "Jak'Sho, The Protean": 6665;
219
+ readonly "Radiant Virtue": 6667;
220
+ readonly Noonquiver: 6670;
221
+ readonly Galeforce: 6671;
222
+ readonly "Kraken Slayer": 6672;
223
+ readonly "Immortal Shieldbow": 6673;
224
+ readonly "Navori Quickblades": 6675;
225
+ readonly "The Collector": 6676;
226
+ readonly Rageknife: 6677;
227
+ readonly "Duskblade of Draktharr": 6691;
228
+ readonly Eclipse: 6692;
229
+ readonly "Prowler's Claw": 6693;
230
+ readonly "Serylda's Grudge": 6694;
231
+ readonly "Serpent's Fang": 6695;
232
+ readonly "Axiom Arc": 6696;
233
+ readonly "Sandshrike's Claw": 7000;
234
+ readonly Syzygy: 7001;
235
+ readonly "Draktharr's Shadowcarver": 7002;
236
+ readonly "Frozen Fist": 7005;
237
+ readonly Typhoon: 7006;
238
+ readonly "Wyrmfallen Sacrifice": 7007;
239
+ readonly Bloodward: 7008;
240
+ readonly "Icathia's Curse": 7009;
241
+ readonly Vespertide: 7010;
242
+ readonly "Upgraded Aeropack": 7011;
243
+ readonly "Liandry's Lament": 7012;
244
+ readonly "Eye of Luden": 7013;
245
+ readonly "Eternal Winter": 7014;
246
+ readonly "Ceaseless Hunger": 7015;
247
+ readonly Dreamshatter: 7016;
248
+ readonly Deicide: 7017;
249
+ readonly "Infinity Force": 7018;
250
+ readonly "Reliquary of the Golden Dawn": 7019;
251
+ readonly "Shurelya's Requiem": 7020;
252
+ readonly Starcaster: 7021;
253
+ readonly "Seat of Command": 7022;
254
+ readonly Equinox: 7023;
255
+ readonly Caesura: 7024;
256
+ readonly Leviathan: 7025;
257
+ readonly "The Unspoken Parasite": 7026;
258
+ readonly "Primordial Dawn": 7027;
259
+ readonly "Infinite Convergence": 7028;
260
+ readonly "Gangplank Placeholder": 7050;
261
+ readonly "Anathema's Chains": 8001;
262
+ readonly "Abyssal Mask": 8020;
263
+ };
264
+ export type ItemKeyNum = typeof ItemKeysNum[keyof typeof ItemKeysNum];
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ItemKeysNum = void 0;
4
+ exports.ItemKeysNum = { "Boots": 1001, "Faerie Charm": 1004, "Rejuvenation Bead": 1006, "Giant's Belt": 1011, "Cloak of Agility": 1018, "Blasting Wand": 1026, "Sapphire Crystal": 1027, "Ruby Crystal": 1028, "Cloth Armor": 1029, "Chain Vest": 1031, "Null-Magic Mantle": 1033, "Emberknife": 1035, "Long Sword": 1036, "Pickaxe": 1037, "B. F. Sword": 1038, "Hailblade": 1039, "Obsidian Edge": 1040, "Dagger": 1042, "Recurve Bow": 1043, "Amplifying Tome": 1052, "Vampiric Scepter": 1053, "Doran's Shield": 1054, "Doran's Blade": 1055, "Doran's Ring": 1056, "Negatron Cloak": 1057, "Needlessly Large Rod": 1058, "Dark Seal": 1082, "Cull": 1083, "Scorchclaw Pup": 1101, "Gustwalker Hatchling": 1102, "Mosstomper Seedling": 1103, "Eye of the Herald": 3513, "Penetrating Bullets": 1500, "Fortification": 1521, "Reinforced Armor": 1506, "Warden's Eye": 1503, "Vanguard": 1504, "Lightning Rod": 1505, "Overcharged": 1507, "Anti-tower Socks": 1508, "Gusto": 1509, "Phreakish Gusto": 1510, "Super Mech Armor": 1511, "Super Mech Power Field": 1512, "Turret Plating": 1515, "Structure Bounty": 1519, "OvererchargedHA": 1520, "Tower Power-Up": 1522, "Health Potion": 2003, "Total Biscuit of Everlasting Will": 2010, "Kircheis Shard": 2015, "Refillable Potion": 2031, "Corrupting Potion": 2033, "Guardian's Horn": 2051, "Poro-Snax": 2052, "Control Ward": 2055, "Shurelya's Battlesong": 2065, "Elixir of Iron": 2138, "Elixir of Sorcery": 2139, "Elixir of Wrath": 2140, "Minion Dematerializer": 2403, "Commencing Stopwatch": 2419, "Stopwatch": 2420, "Broken Stopwatch": 2424, "Slightly Magical Footwear": 2422, "Perfectly Timed Stopwatch": 2423, "Evenshroud": 3001, "Archangel's Staff": 3003, "Manamune": 3004, "Berserker's Greaves": 3006, "Boots of Swiftness": 3009, "Chemtech Putrifier": 3011, "Sorcerer's Shoes": 3020, "Glacial Buckler": 3024, "Guardian Angel": 3026, "Infinity Edge": 3031, "Mortal Reminder": 3033, "Last Whisper": 3035, "Lord Dominik's Regards": 3036, "Seraph's Embrace": 3040, "Mejai's Soulstealer": 3041, "Muramana": 3042, "Phage": 3044, "Phantom Dancer": 3046, "Plated Steelcaps": 3047, "Zeke's Convergence": 3050, "Hearthbound Axe": 3051, "Sterak's Gage": 3053, "Sheen": 3057, "Spirit Visage": 3065, "Winged Moonplate": 3066, "Kindlegem": 3067, "Sunfire Aegis": 3068, "Tear of the Goddess": 3070, "Black Cleaver": 3071, "Bloodthirster": 3072, "Ravenous Hydra": 3074, "Thornmail": 3075, "Bramble Vest": 3076, "Tiamat": 3077, "Trinity Force": 3078, "Warden's Mail": 3082, "Warmog's Armor": 3083, "Heartsteel": 3084, "Runaan's Hurricane": 3085, "Zeal": 3086, "Rabadon's Deathcap": 3089, "Wit's End": 3091, "Rapid Firecannon": 3094, "Stormrazor": 3095, "Lich Bane": 3100, "Banshee's Veil": 3102, "Aegis of the Legion": 3105, "Redemption": 3107, "Fiendish Codex": 3108, "Knight's Vow": 3109, "Frozen Heart": 3110, "Mercury's Treads": 3111, "Guardian's Orb": 3112, "Aether Wisp": 3113, "Forbidden Idol": 3114, "Nashor's Tooth": 3115, "Rylai's Crystal Scepter": 3116, "Mobility Boots": 3117, "Winter's Approach": 3119, "Fimbulwinter": 3121, "Executioner's Calling": 3123, "Guinsoo's Rageblade": 3124, "Caulfield's Warhammer": 3133, "Serrated Dirk": 3134, "Void Staff": 3135, "Mercurial Scimitar": 3139, "Quicksilver Sash": 3140, "Youmuu's Ghostblade": 3142, "Randuin's Omen": 3143, "Hextech Alternator": 3145, "Hextech Rocketbelt": 3152, "Blade of The Ruined King": 3153, "Hexdrinker": 3155, "Maw of Malmortius": 3156, "Zhonya's Hourglass": 3157, "Ionian Boots of Lucidity": 3158, "Spear Of Shojin": 3161, "Morellonomicon": 3165, "Guardian's Blade": 3177, "Umbral Glaive": 3179, "Hullbreaker": 3181, "Guardian's Hammer": 3184, "Locket of the Iron Solari": 3190, "Seeker's Armguard": 3191, "Gargoyle Stoneplate": 3193, "Spectre's Cowl": 3211, "Mikael's Blessing": 3222, "Scarecrow Effigy": 3330, "Stealth Ward": 3340, "Farsight Alteration": 3363, "Oracle Lens": 3364, "Your Cut": 3400, "Ardent Censer": 3504, "Essence Reaver": 3508, "Kalista's Black Spear": 3600, "Dead Man's Plate": 3742, "Titanic Hydra": 3748, "Crystalline Bracer": 3801, "Lost Chapter": 3802, "Catalyst of Aeons": 3803, "Edge of Night": 3814, "Spellthief's Edge": 3850, "Frostfang": 3851, "Shard of True Ice": 3853, "Steel Shoulderguards": 3854, "Runesteel Spaulders": 3855, "Pauldrons of Whiterock": 3857, "Relic Shield": 3858, "Targon's Buckler": 3859, "Bulwark of the Mountain": 3860, "Spectral Sickle": 3862, "Harrowing Crescent": 3863, "Black Mist Scythe": 3864, "Fire at Will500 Silver Serpents": 3901, "Death's Daughter500 Silver Serpents": 3902, "Raise Morale500 Silver Serpents": 3903, "Oblivion Orb": 3916, "Imperial Mandate": 4005, "Force of Nature": 4401, "The Golden Spatula": 4403, "Horizon Focus": 4628, "Cosmic Drive": 4629, "Blighting Jewel": 4630, "Verdant Barrier": 4632, "Riftmaker": 4633, "Leeching Leer": 4635, "Night Harvester": 4636, "Demonic Embrace": 4637, "Watchful Wardstone": 4638, "Stirring Wardstone": 4641, "Bandleglass Mirror": 4642, "Vigilant Wardstone": 4643, "Crown of the Shattered Queen": 4644, "Shadowflame": 4645, "Ironspike Whip": 6029, "Silvermere Dawn": 6035, "Death's Dance": 6333, "Chempunk Chainsword": 6609, "Staff of Flowing Water": 6616, "Moonstone Renewer": 6617, "Goredrinker": 6630, "Stridebreaker": 6631, "Divine Sunderer": 6632, "Liandry's Anguish": 6653, "Luden's Tempest": 6655, "Everfrost": 6656, "Rod of Ages": 6657, "Bami's Cinder": 6660, "Iceborn Gauntlet": 6662, "Turbo Chemtank": 6664, "Jak'Sho, The Protean": 6665, "Radiant Virtue": 6667, "Noonquiver": 6670, "Galeforce": 6671, "Kraken Slayer": 6672, "Immortal Shieldbow": 6673, "Navori Quickblades": 6675, "The Collector": 6676, "Rageknife": 6677, "Duskblade of Draktharr": 6691, "Eclipse": 6692, "Prowler's Claw": 6693, "Serylda's Grudge": 6694, "Serpent's Fang": 6695, "Axiom Arc": 6696, "Sandshrike's Claw": 7000, "Syzygy": 7001, "Draktharr's Shadowcarver": 7002, "Frozen Fist": 7005, "Typhoon": 7006, "Wyrmfallen Sacrifice": 7007, "Bloodward": 7008, "Icathia's Curse": 7009, "Vespertide": 7010, "Upgraded Aeropack": 7011, "Liandry's Lament": 7012, "Eye of Luden": 7013, "Eternal Winter": 7014, "Ceaseless Hunger": 7015, "Dreamshatter": 7016, "Deicide": 7017, "Infinity Force": 7018, "Reliquary of the Golden Dawn": 7019, "Shurelya's Requiem": 7020, "Starcaster": 7021, "Seat of Command": 7022, "Equinox": 7023, "Caesura": 7024, "Leviathan": 7025, "The Unspoken Parasite": 7026, "Primordial Dawn": 7027, "Infinite Convergence": 7028, "Gangplank Placeholder": 7050, "Anathema's Chains": 8001, "Abyssal Mask": 8020 };
@@ -269,3 +269,4 @@ export declare const ItemNames: {
269
269
  readonly "8001": "Anathema's Chains";
270
270
  readonly "8020": "Abyssal Mask";
271
271
  };
272
+ export type ItemName = typeof ItemNames[keyof typeof ItemNames];
@@ -74,3 +74,4 @@ export declare const LegendaryItemKeys: {
74
74
  readonly "Sunfire Aegis": "3068";
75
75
  readonly "Spear Of Shojin": "3161";
76
76
  };
77
+ export type LegendaryItemKey = typeof LegendaryItemKeys[keyof typeof LegendaryItemKeys];
@@ -0,0 +1,77 @@
1
+ export declare const LegendaryItemKeysNum: {
2
+ readonly "Abyssal Mask": 8020;
3
+ readonly "Anathema's Chains": 8001;
4
+ readonly "Archangel's Staff": 3003;
5
+ readonly "Ardent Censer": 3504;
6
+ readonly "Axiom Arc": 6696;
7
+ readonly "Banshee's Veil": 3102;
8
+ readonly "Black Cleaver": 3071;
9
+ readonly "Black Mist Scythe": 3864;
10
+ readonly "Blade of The Ruined King": 3153;
11
+ readonly Bloodthirster: 3072;
12
+ readonly "Bulwark of the Mountain": 3860;
13
+ readonly "Chempunk Chainsword": 6609;
14
+ readonly "Chemtech Putrifier": 3011;
15
+ readonly "Cosmic Drive": 4629;
16
+ readonly "Dead Man's Plate": 3742;
17
+ readonly "Death's Dance": 6333;
18
+ readonly "Demonic Embrace": 4637;
19
+ readonly "Edge of Night": 3814;
20
+ readonly "Essence Reaver": 3508;
21
+ readonly Fimbulwinter: 3121;
22
+ readonly "Force of Nature": 4401;
23
+ readonly "Frozen Heart": 3110;
24
+ readonly "Gargoyle Stoneplate": 3193;
25
+ readonly "Guardian Angel": 3026;
26
+ readonly "Guinsoo's Rageblade": 3124;
27
+ readonly "Horizon Focus": 4628;
28
+ readonly Hullbreaker: 3181;
29
+ readonly "Infinity Edge": 3031;
30
+ readonly "Knight's Vow": 3109;
31
+ readonly "Lich Bane": 3100;
32
+ readonly "Lord Dominik's Regards": 3036;
33
+ readonly Manamune: 3004;
34
+ readonly "Maw of Malmortius": 3156;
35
+ readonly "Mejai's Soulstealer": 3041;
36
+ readonly "Mercurial Scimitar": 3139;
37
+ readonly "Mikael's Blessing": 3222;
38
+ readonly Morellonomicon: 3165;
39
+ readonly "Mortal Reminder": 3033;
40
+ readonly Muramana: 3042;
41
+ readonly "Nashor's Tooth": 3115;
42
+ readonly "Navori Quickblades": 6675;
43
+ readonly "Pauldrons of Whiterock": 3857;
44
+ readonly "Phantom Dancer": 3046;
45
+ readonly "Rabadon's Deathcap": 3089;
46
+ readonly "Randuin's Omen": 3143;
47
+ readonly "Rapid Firecannon": 3094;
48
+ readonly "Ravenous Hydra": 3074;
49
+ readonly Redemption: 3107;
50
+ readonly "Runaan's Hurricane": 3085;
51
+ readonly "Rylai's Crystal Scepter": 3116;
52
+ readonly "Seraph's Embrace": 3040;
53
+ readonly "Serpent's Fang": 6695;
54
+ readonly "Serylda's Grudge": 6694;
55
+ readonly Shadowflame: 4645;
56
+ readonly "Shard of True Ice": 3853;
57
+ readonly "Silvermere Dawn": 6035;
58
+ readonly "Spirit Visage": 3065;
59
+ readonly "Staff of Flowing Water": 6616;
60
+ readonly "Sterak's Gage": 3053;
61
+ readonly Stormrazor: 3095;
62
+ readonly "The Collector": 6676;
63
+ readonly Thornmail: 3075;
64
+ readonly "Titanic Hydra": 3748;
65
+ readonly "Umbral Glaive": 3179;
66
+ readonly "Vigilant Wardstone": 4643;
67
+ readonly "Void Staff": 3135;
68
+ readonly "Warmog's Armor": 3083;
69
+ readonly "Winter's Approach": 3119;
70
+ readonly "Wit's End": 3091;
71
+ readonly "Youmuu's Ghostblade": 3142;
72
+ readonly "Zeke's Convergence": 3050;
73
+ readonly "Zhonya's Hourglass": 3157;
74
+ readonly "Sunfire Aegis": 3068;
75
+ readonly "Spear Of Shojin": 3161;
76
+ };
77
+ export type LegendaryItemKeyNum = typeof LegendaryItemKeysNum[keyof typeof LegendaryItemKeysNum];
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LegendaryItemKeysNum = void 0;
4
+ exports.LegendaryItemKeysNum = { "Abyssal Mask": 8020, "Anathema's Chains": 8001, "Archangel's Staff": 3003, "Ardent Censer": 3504, "Axiom Arc": 6696, "Banshee's Veil": 3102, "Black Cleaver": 3071, "Black Mist Scythe": 3864, "Blade of The Ruined King": 3153, "Bloodthirster": 3072, "Bulwark of the Mountain": 3860, "Chempunk Chainsword": 6609, "Chemtech Putrifier": 3011, "Cosmic Drive": 4629, "Dead Man's Plate": 3742, "Death's Dance": 6333, "Demonic Embrace": 4637, "Edge of Night": 3814, "Essence Reaver": 3508, "Fimbulwinter": 3121, "Force of Nature": 4401, "Frozen Heart": 3110, "Gargoyle Stoneplate": 3193, "Guardian Angel": 3026, "Guinsoo's Rageblade": 3124, "Horizon Focus": 4628, "Hullbreaker": 3181, "Infinity Edge": 3031, "Knight's Vow": 3109, "Lich Bane": 3100, "Lord Dominik's Regards": 3036, "Manamune": 3004, "Maw of Malmortius": 3156, "Mejai's Soulstealer": 3041, "Mercurial Scimitar": 3139, "Mikael's Blessing": 3222, "Morellonomicon": 3165, "Mortal Reminder": 3033, "Muramana": 3042, "Nashor's Tooth": 3115, "Navori Quickblades": 6675, "Pauldrons of Whiterock": 3857, "Phantom Dancer": 3046, "Rabadon's Deathcap": 3089, "Randuin's Omen": 3143, "Rapid Firecannon": 3094, "Ravenous Hydra": 3074, "Redemption": 3107, "Runaan's Hurricane": 3085, "Rylai's Crystal Scepter": 3116, "Seraph's Embrace": 3040, "Serpent's Fang": 6695, "Serylda's Grudge": 6694, "Shadowflame": 4645, "Shard of True Ice": 3853, "Silvermere Dawn": 6035, "Spirit Visage": 3065, "Staff of Flowing Water": 6616, "Sterak's Gage": 3053, "Stormrazor": 3095, "The Collector": 6676, "Thornmail": 3075, "Titanic Hydra": 3748, "Umbral Glaive": 3179, "Vigilant Wardstone": 4643, "Void Staff": 3135, "Warmog's Armor": 3083, "Winter's Approach": 3119, "Wit's End": 3091, "Youmuu's Ghostblade": 3142, "Zeke's Convergence": 3050, "Zhonya's Hourglass": 3157, "Sunfire Aegis": 3068, "Spear Of Shojin": 3161 };
@@ -74,3 +74,4 @@ export declare const LegendaryItemNames: {
74
74
  readonly "8001": "Anathema's Chains";
75
75
  readonly "8020": "Abyssal Mask";
76
76
  };
77
+ export type LegendaryItemName = typeof LegendaryItemNames[keyof typeof LegendaryItemNames];
@@ -28,3 +28,4 @@ export declare const MythicItemKeys: {
28
28
  readonly Heartsteel: "3084";
29
29
  readonly "Rod of Ages": "6657";
30
30
  };
31
+ export type MythicItemKey = typeof MythicItemKeys[keyof typeof MythicItemKeys];
@@ -0,0 +1,31 @@
1
+ export declare const MythicItemKeysNum: {
2
+ readonly "Liandry's Anguish": 6653;
3
+ readonly "Locket of the Iron Solari": 3190;
4
+ readonly "Luden's Tempest": 6655;
5
+ readonly "Moonstone Renewer": 6617;
6
+ readonly "Night Harvester": 4636;
7
+ readonly "Prowler's Claw": 6693;
8
+ readonly Riftmaker: 4633;
9
+ readonly "Shurelya's Battlesong": 2065;
10
+ readonly Stridebreaker: 6631;
11
+ readonly "Trinity Force": 3078;
12
+ readonly "Turbo Chemtank": 6664;
13
+ readonly "Crown of the Shattered Queen": 4644;
14
+ readonly "Divine Sunderer": 6632;
15
+ readonly "Duskblade of Draktharr": 6691;
16
+ readonly Eclipse: 6692;
17
+ readonly Evenshroud: 3001;
18
+ readonly Everfrost: 6656;
19
+ readonly "Iceborn Gauntlet": 6662;
20
+ readonly Galeforce: 6671;
21
+ readonly Goredrinker: 6630;
22
+ readonly "Hextech Rocketbelt": 3152;
23
+ readonly "Immortal Shieldbow": 6673;
24
+ readonly "Imperial Mandate": 4005;
25
+ readonly "Kraken Slayer": 6672;
26
+ readonly "Jak'Sho, The Protean": 6665;
27
+ readonly "Radiant Virtue": 6667;
28
+ readonly Heartsteel: 3084;
29
+ readonly "Rod of Ages": 6657;
30
+ };
31
+ export type MythicItemKeyNum = typeof MythicItemKeysNum[keyof typeof MythicItemKeysNum];
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MythicItemKeysNum = void 0;
4
+ exports.MythicItemKeysNum = { "Liandry's Anguish": 6653, "Locket of the Iron Solari": 3190, "Luden's Tempest": 6655, "Moonstone Renewer": 6617, "Night Harvester": 4636, "Prowler's Claw": 6693, "Riftmaker": 4633, "Shurelya's Battlesong": 2065, "Stridebreaker": 6631, "Trinity Force": 3078, "Turbo Chemtank": 6664, "Crown of the Shattered Queen": 4644, "Divine Sunderer": 6632, "Duskblade of Draktharr": 6691, "Eclipse": 6692, "Evenshroud": 3001, "Everfrost": 6656, "Iceborn Gauntlet": 6662, "Galeforce": 6671, "Goredrinker": 6630, "Hextech Rocketbelt": 3152, "Immortal Shieldbow": 6673, "Imperial Mandate": 4005, "Kraken Slayer": 6672, "Jak'Sho, The Protean": 6665, "Radiant Virtue": 6667, "Heartsteel": 3084, "Rod of Ages": 6657 };
@@ -28,3 +28,4 @@ export declare const MythicItemNames: {
28
28
  readonly "6692": "Eclipse";
29
29
  readonly "6693": "Prowler's Claw";
30
30
  };
31
+ export type MythicItemName = typeof MythicItemNames[keyof typeof MythicItemNames];
@@ -1,14 +1,14 @@
1
1
  export declare const PlatformIds: {
2
- readonly BR1: "BR1";
3
- readonly EUN1: "EUN1";
4
- readonly EUW1: "EUW1";
5
- readonly JP1: "JP1";
2
+ readonly BR: "BR1";
3
+ readonly EUNE: "EUN1";
4
+ readonly EUW: "EUW1";
5
+ readonly JP: "JP1";
6
6
  readonly KR: "KR";
7
- readonly LA1: "LA1";
8
- readonly LA2: "LA2";
9
- readonly NA1: "NA1";
10
- readonly OC1: "OC1";
11
- readonly TR1: "TR1";
7
+ readonly LAN: "LA1";
8
+ readonly LAS: "LA2";
9
+ readonly NA: "NA1";
10
+ readonly OCE: "OC1";
11
+ readonly TR: "TR1";
12
12
  readonly RU: "RU";
13
13
  };
14
14
  export type PlatformId = typeof PlatformIds[keyof typeof PlatformIds];
@@ -1,20 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isPlatformId = exports.PlatformIds = void 0;
4
+ const Regions_1 = require("./Regions");
4
5
  exports.PlatformIds = {
5
- 'BR1': 'BR1',
6
- 'EUN1': 'EUN1',
7
- 'EUW1': 'EUW1',
8
- 'JP1': 'JP1',
6
+ 'BR': 'BR1',
7
+ 'EUNE': 'EUN1',
8
+ 'EUW': 'EUW1',
9
+ 'JP': 'JP1',
9
10
  'KR': 'KR',
10
- 'LA1': 'LA1',
11
- 'LA2': 'LA2',
12
- 'NA1': 'NA1',
13
- 'OC1': 'OC1',
14
- 'TR1': 'TR1',
11
+ 'LAN': 'LA1',
12
+ 'LAS': 'LA2',
13
+ 'NA': 'NA1',
14
+ 'OCE': 'OC1',
15
+ 'TR': 'TR1',
15
16
  'RU': 'RU',
16
17
  };
17
18
  function isPlatformId(value) {
18
- return typeof value == 'string' && value in exports.PlatformIds;
19
+ return typeof value == 'string' && value in Regions_1.Regions;
19
20
  }
20
21
  exports.isPlatformId = isPlatformId;
@@ -1,21 +1,15 @@
1
1
  export declare const Regions: {
2
- readonly EUW: "EUW";
3
- readonly EUNE: "EUNE";
4
- readonly NA: "NA";
2
+ readonly BR1: "BR";
3
+ readonly EUN1: "EUNE";
4
+ readonly EUW1: "EUW";
5
+ readonly JP1: "JP";
5
6
  readonly KR: "KR";
6
- readonly JP: "JP";
7
- readonly OCE: "OCE";
8
- readonly LAN: "LAN";
9
- readonly LAS: "LAS";
10
- readonly TR: "TR";
7
+ readonly LA1: "LAN";
8
+ readonly LA2: "LAS";
9
+ readonly NA1: "NA";
10
+ readonly OC1: "OCE";
11
+ readonly TR1: "TR";
11
12
  readonly RU: "RU";
12
- readonly BR: "BR";
13
- readonly PBE: "PBE";
14
- readonly SG: "SG";
15
- readonly TH: "TH";
16
- readonly TW: "TW";
17
- readonly VN: "VN";
18
- readonly PH: "PH";
19
13
  };
20
14
  export type Region = typeof Regions[keyof typeof Regions];
21
15
  export declare function isRegion(value: any): value is Region;
@@ -1,26 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isRegion = exports.Regions = void 0;
4
+ const PlatformIds_1 = require("./PlatformIds");
4
5
  exports.Regions = {
5
- 'EUW': 'EUW',
6
- 'EUNE': 'EUNE',
7
- 'NA': 'NA',
6
+ 'BR1': 'BR',
7
+ 'EUN1': 'EUNE',
8
+ 'EUW1': 'EUW',
9
+ 'JP1': 'JP',
8
10
  'KR': 'KR',
9
- 'JP': 'JP',
10
- 'OCE': 'OCE',
11
- 'LAN': 'LAN',
12
- 'LAS': 'LAS',
13
- 'TR': 'TR',
11
+ 'LA1': 'LAN',
12
+ 'LA2': 'LAS',
13
+ 'NA1': 'NA',
14
+ 'OC1': 'OCE',
15
+ 'TR1': 'TR',
14
16
  'RU': 'RU',
15
- 'BR': 'BR',
16
- 'PBE': 'PBE',
17
- 'SG': 'SG',
18
- 'TH': 'TH',
19
- 'TW': 'TW',
20
- 'VN': 'VN',
21
- 'PH': 'PH',
17
+ //
18
+ // 'PBE': 'PBE',
19
+ // 'SG': 'SG',
20
+ // 'TH': 'TH',
21
+ // 'TW': 'TW',
22
+ // 'VN': 'VN',
23
+ // 'PH': 'PH',
22
24
  };
23
25
  function isRegion(value) {
24
- return typeof value == 'string' && value in exports.Regions;
26
+ return typeof value == 'string' && value in PlatformIds_1.PlatformIds;
25
27
  }
26
28
  exports.isRegion = isRegion;
@@ -1,4 +1,4 @@
1
- import { RuneName } from '../../types/types';
1
+ import { RuneName } from './RuneSets';
2
2
  import { RuneTreeName } from './RuneTreeNames';
3
3
  /**
4
4
  * The file names themselves of runes,
@@ -161,6 +161,7 @@ export declare const StatRuneNames: {
161
161
  readonly "5003f": "Flex (MR)";
162
162
  readonly "5008f": "Flex (AF)";
163
163
  };
164
+ export type StatRuneName = typeof StatRuneNames[keyof typeof StatRuneNames];
164
165
  export declare const RuneNames: {
165
166
  readonly "5001": "Defense (HP)";
166
167
  readonly "5002": "Defense (AR)";
@@ -235,6 +236,7 @@ export declare const RuneNames: {
235
236
  readonly "9105": "Legend: Tenacity";
236
237
  readonly "9111": "Triumph";
237
238
  };
239
+ export type RuneName = typeof RuneNames[keyof typeof RuneNames];
238
240
  export declare const RuneTreeHSets: {
239
241
  readonly Domination: {
240
242
  readonly "0": {
@@ -161,6 +161,21 @@ export declare const StatRuneIds: {
161
161
  readonly "Defense (AR)": "5002";
162
162
  readonly "Defense (MR)": "5003";
163
163
  };
164
+ /**
165
+ * There are 3 main Rune ID types:
166
+ * - `RuneId` (all),
167
+ * - `TreeRuneId` (all but stat runes),
168
+ * - `StatRuneId` (only stat runes).
169
+ *
170
+ * There are 6 more specific Rune ID types as well:
171
+ * - `KeystoneRuneId`,
172
+ * - `PrecisionTreeRuneId`,
173
+ * - `DominationTreeRuneId`,
174
+ * - `SorceryTreeRuneId`,
175
+ * - `ResolveTreeRuneId`,
176
+ * - `InspirationTreeRuneId`.
177
+ */
178
+ export type StatRuneId = typeof StatRuneIds[keyof typeof StatRuneIds];
164
179
  export declare const RuneIds: {
165
180
  readonly "Offense (AS)": "5005";
166
181
  readonly "Offense (AH)": "5007";
@@ -235,6 +250,21 @@ export declare const RuneIds: {
235
250
  readonly "Cut Down": "8017";
236
251
  readonly "Last Stand": "8299";
237
252
  };
253
+ /**
254
+ * There are 3 main Rune ID types:
255
+ * - `RuneId` (all),
256
+ * - `TreeRuneId` (all but stat runes),
257
+ * - `StatRuneId` (only stat runes).
258
+ *
259
+ * There are 6 more specific Rune ID types as well:
260
+ * - `KeystoneRuneId`,
261
+ * - `PrecisionTreeRuneId`,
262
+ * - `DominationTreeRuneId`,
263
+ * - `SorceryTreeRuneId`,
264
+ * - `ResolveTreeRuneId`,
265
+ * - `InspirationTreeRuneId`.
266
+ */
267
+ export type RuneId = typeof RuneIds[keyof typeof RuneIds];
238
268
  export declare const RuneTreeHSetsByRuneNames: {
239
269
  readonly Domination: {
240
270
  readonly "0": {