lol-constants 1.6.1 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/assets/BootsItemNames.d.ts +1 -0
  2. package/assets/BootsItemNames.js +12 -0
  3. package/assets/LegendaryItemNames.d.ts +1 -0
  4. package/assets/LegendaryItemNames.js +77 -0
  5. package/assets/MythicItemNames.d.ts +1 -0
  6. package/assets/MythicItemNames.js +30 -0
  7. package/assets/index.d.ts +4 -17216
  8. package/assets/index.js +9 -11
  9. package/assets/scripts/generate-all.d.ts +2 -0
  10. package/assets/scripts/generate-all.js +2 -0
  11. package/assets/scripts/generate-categorized-item-keys.d.ts +1 -0
  12. package/assets/scripts/generate-categorized-item-keys.js +60 -0
  13. package/assets/scripts/generate-categorized-item-names.d.ts +1 -0
  14. package/assets/scripts/generate-categorized-item-names.js +60 -0
  15. package/dist/Constants/Items/BootsItemKeys.d.ts +9 -0
  16. package/dist/Constants/Items/BootsItemKeys.js +4 -0
  17. package/dist/Constants/Items/BootsItemNames.d.ts +9 -0
  18. package/dist/Constants/Items/BootsItemNames.js +4 -0
  19. package/dist/Constants/Items/LegendaryItemKeys.d.ts +74 -0
  20. package/dist/Constants/Items/LegendaryItemKeys.js +4 -0
  21. package/dist/Constants/Items/LegendaryItemNames.d.ts +74 -0
  22. package/dist/Constants/Items/LegendaryItemNames.js +4 -0
  23. package/dist/Constants/Items/MythicItemKeys.d.ts +27 -0
  24. package/dist/Constants/Items/MythicItemKeys.js +4 -0
  25. package/dist/Constants/Items/MythicItemNames.d.ts +27 -0
  26. package/dist/Constants/Items/MythicItemNames.js +4 -0
  27. package/dist/Helpers/Items/isBootsItemKey.d.ts +2 -0
  28. package/dist/Helpers/Items/isBootsItemKey.js +8 -0
  29. package/dist/Helpers/Items/isBootsItemName.d.ts +2 -0
  30. package/dist/Helpers/Items/isBootsItemName.js +8 -0
  31. package/dist/Helpers/Items/isLegendaryItemKey.d.ts +2 -0
  32. package/dist/Helpers/Items/isLegendaryItemKey.js +8 -0
  33. package/dist/Helpers/Items/isLegendaryItemName.d.ts +2 -0
  34. package/dist/Helpers/Items/isLegendaryItemName.js +8 -0
  35. package/dist/Helpers/Items/isMythicItemKey.d.ts +2 -0
  36. package/dist/Helpers/Items/isMythicItemKey.js +8 -0
  37. package/dist/Helpers/Items/isMythicItemName.d.ts +2 -0
  38. package/dist/Helpers/Items/isMythicItemName.js +8 -0
  39. package/dist/index.d.ts +12 -0
  40. package/dist/index.js +26 -2
  41. package/dist/types/index.d.ts +14 -2
  42. package/package.json +1 -1
package/assets/index.js CHANGED
@@ -3,15 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.StatRunes = exports.summoner = exports.runesReforged = exports.item = exports.champion = void 0;
6
+ exports.summoner = exports.runesReforged = exports.item = exports.champion = void 0;
7
7
  // #
8
- const champion_json_1 = __importDefault(require("./champion.json"));
9
- const item_json_1 = __importDefault(require("./item.json"));
10
- const runesReforged_json_1 = __importDefault(require("./runesReforged.json"));
11
- const summoner_json_1 = __importDefault(require("./summoner.json"));
12
- exports.champion = champion_json_1.default;
13
- exports.item = item_json_1.default;
14
- exports.runesReforged = runesReforged_json_1.default;
15
- exports.summoner = summoner_json_1.default;
16
- var StatRunes_1 = require("./StatRunes");
17
- Object.defineProperty(exports, "StatRunes", { enumerable: true, get: function () { return StatRunes_1.StatRunes; } });
8
+ var champion_json_1 = require("./champion.json");
9
+ Object.defineProperty(exports, "champion", { enumerable: true, get: function () { return __importDefault(champion_json_1).default; } });
10
+ var item_json_1 = require("./item.json");
11
+ Object.defineProperty(exports, "item", { enumerable: true, get: function () { return __importDefault(item_json_1).default; } });
12
+ var runesReforged_json_1 = require("./runesReforged.json");
13
+ Object.defineProperty(exports, "runesReforged", { enumerable: true, get: function () { return __importDefault(runesReforged_json_1).default; } });
14
+ var summoner_json_1 = require("./summoner.json");
15
+ Object.defineProperty(exports, "summoner", { enumerable: true, get: function () { return __importDefault(summoner_json_1).default; } });
@@ -1,3 +1,5 @@
1
+ import './generate-categorized-item-keys';
2
+ import './generate-categorized-item-names';
1
3
  import './generate-champion-ids-by-name';
2
4
  import './generate-champion-ids';
3
5
  import './generate-champion-keys';
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ require("./generate-categorized-item-keys");
4
+ require("./generate-categorized-item-names");
3
5
  require("./generate-champion-ids-by-name");
4
6
  require("./generate-champion-ids");
5
7
  require("./generate-champion-keys");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const BootsItemNames_1 = require("../BootsItemNames");
7
+ const item_json_1 = __importDefault(require("../item.json"));
8
+ const LegendaryItemNames_1 = require("../LegendaryItemNames");
9
+ const MythicItemNames_1 = require("../MythicItemNames");
10
+ const writeToTmpFile_1 = require("./Helpers/writeToTmpFile");
11
+ (async () => {
12
+ const itemKeys = {
13
+ mythic: {},
14
+ legendary: {},
15
+ boots: {},
16
+ };
17
+ // Add Mythic Items
18
+ for (const mythicItemName of MythicItemNames_1.MythicItemNames) {
19
+ let itemKey;
20
+ for (itemKey in item_json_1.default.data) {
21
+ const itemData = item_json_1.default.data[itemKey];
22
+ if (itemData.name == mythicItemName) {
23
+ itemKeys.mythic[itemData.name] = itemKey;
24
+ }
25
+ }
26
+ }
27
+ // Add Legendary Items
28
+ for (const itemName of LegendaryItemNames_1.LegendaryItemNames) {
29
+ let itemKey;
30
+ for (itemKey in item_json_1.default.data) {
31
+ const itemData = item_json_1.default.data[itemKey];
32
+ if (itemData.name == itemName) {
33
+ itemKeys.legendary[itemData.name] = itemKey;
34
+ }
35
+ }
36
+ }
37
+ // Add Boots
38
+ for (const itemName of BootsItemNames_1.BootsItemNames) {
39
+ let itemKey;
40
+ for (itemKey in item_json_1.default.data) {
41
+ const itemData = item_json_1.default.data[itemKey];
42
+ if (itemData.name == itemName) {
43
+ itemKeys.boots[itemData.name] = itemKey;
44
+ }
45
+ }
46
+ }
47
+ (0, writeToTmpFile_1.writeToTmpFile)('MythicItemKeys', {
48
+ constName: 'MythicItemKeys',
49
+ json: itemKeys.mythic,
50
+ });
51
+ (0, writeToTmpFile_1.writeToTmpFile)('LegendaryItemKeys', {
52
+ constName: 'LegendaryItemKeys',
53
+ json: itemKeys.legendary,
54
+ });
55
+ (0, writeToTmpFile_1.writeToTmpFile)('BootsItemKeys', {
56
+ constName: 'BootsItemKeys',
57
+ json: itemKeys.boots,
58
+ });
59
+ console.log(`\n--= Categorized Item Keys =--`, `\ngenerated:`, `\n Mythic Items: ${Object.values(itemKeys.mythic).length}`, `\n Legendary Items: ${Object.values(itemKeys.legendary).length}`, `\n Boots Items: ${Object.values(itemKeys.boots).length}`, `\n`);
60
+ })();
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const BootsItemNames_1 = require("../BootsItemNames");
7
+ const item_json_1 = __importDefault(require("../item.json"));
8
+ const LegendaryItemNames_1 = require("../LegendaryItemNames");
9
+ const MythicItemNames_1 = require("../MythicItemNames");
10
+ const writeToTmpFile_1 = require("./Helpers/writeToTmpFile");
11
+ (async () => {
12
+ const itemNames = {
13
+ mythic: {},
14
+ legendary: {},
15
+ boots: {},
16
+ };
17
+ // Add Mythic Items
18
+ for (const mythicItemName of MythicItemNames_1.MythicItemNames) {
19
+ let itemKey;
20
+ for (itemKey in item_json_1.default.data) {
21
+ const itemData = item_json_1.default.data[itemKey];
22
+ if (itemData.name == mythicItemName) {
23
+ itemNames.mythic[itemKey] = itemData.name;
24
+ }
25
+ }
26
+ }
27
+ // Add Legendary Items
28
+ for (const itemName of LegendaryItemNames_1.LegendaryItemNames) {
29
+ let itemKey;
30
+ for (itemKey in item_json_1.default.data) {
31
+ const itemData = item_json_1.default.data[itemKey];
32
+ if (itemData.name == itemName) {
33
+ itemNames.legendary[itemKey] = itemData.name;
34
+ }
35
+ }
36
+ }
37
+ // Add Boots
38
+ for (const itemName of BootsItemNames_1.BootsItemNames) {
39
+ let itemKey;
40
+ for (itemKey in item_json_1.default.data) {
41
+ const itemData = item_json_1.default.data[itemKey];
42
+ if (itemData.name == itemName) {
43
+ itemNames.boots[itemKey] = itemData.name;
44
+ }
45
+ }
46
+ }
47
+ (0, writeToTmpFile_1.writeToTmpFile)('MythicItemNames', {
48
+ constName: 'MythicItemNames',
49
+ json: itemNames.mythic,
50
+ });
51
+ (0, writeToTmpFile_1.writeToTmpFile)('LegendaryItemNames', {
52
+ constName: 'LegendaryItemNames',
53
+ json: itemNames.legendary,
54
+ });
55
+ (0, writeToTmpFile_1.writeToTmpFile)('BootsItemNames', {
56
+ constName: 'BootsItemNames',
57
+ json: itemNames.boots,
58
+ });
59
+ console.log(`\n--= Categorized Item Names =--`, `\ngenerated:`, `\n Mythic Items: ${Object.values(itemNames.mythic).length}`, `\n Legendary Items: ${Object.values(itemNames.legendary).length}`, `\n Boots Items: ${Object.values(itemNames.boots).length}`, `\n`);
60
+ })();
@@ -0,0 +1,9 @@
1
+ export declare const BootsItemKeys: {
2
+ readonly "Berserker's Greaves": "3006";
3
+ readonly "Boots of Swiftness": "3009";
4
+ readonly "Ionian Boots of Lucidity": "3158";
5
+ readonly "Mercury's Treads": "3111";
6
+ readonly "Mobility Boots": "3117";
7
+ readonly "Plated Steelcaps": "3047";
8
+ readonly "Sorcerer's Shoes": "3020";
9
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BootsItemKeys = void 0;
4
+ exports.BootsItemKeys = { "Berserker's Greaves": "3006", "Boots of Swiftness": "3009", "Ionian Boots of Lucidity": "3158", "Mercury's Treads": "3111", "Mobility Boots": "3117", "Plated Steelcaps": "3047", "Sorcerer's Shoes": "3020" };
@@ -0,0 +1,9 @@
1
+ export declare const BootsItemNames: {
2
+ readonly "3006": "Berserker's Greaves";
3
+ readonly "3009": "Boots of Swiftness";
4
+ readonly "3020": "Sorcerer's Shoes";
5
+ readonly "3047": "Plated Steelcaps";
6
+ readonly "3111": "Mercury's Treads";
7
+ readonly "3117": "Mobility Boots";
8
+ readonly "3158": "Ionian Boots of Lucidity";
9
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BootsItemNames = void 0;
4
+ exports.BootsItemNames = { "3006": "Berserker's Greaves", "3009": "Boots of Swiftness", "3020": "Sorcerer's Shoes", "3047": "Plated Steelcaps", "3111": "Mercury's Treads", "3117": "Mobility Boots", "3158": "Ionian Boots of Lucidity" };
@@ -0,0 +1,74 @@
1
+ export declare const LegendaryItemKeys: {
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
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LegendaryItemKeys = void 0;
4
+ exports.LegendaryItemKeys = { "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" };
@@ -0,0 +1,74 @@
1
+ export declare const LegendaryItemNames: {
2
+ readonly "3003": "Archangel's Staff";
3
+ readonly "3004": "Manamune";
4
+ readonly "3011": "Chemtech Putrifier";
5
+ readonly "3026": "Guardian Angel";
6
+ readonly "3031": "Infinity Edge";
7
+ readonly "3033": "Mortal Reminder";
8
+ readonly "3036": "Lord Dominik's Regards";
9
+ readonly "3040": "Seraph's Embrace";
10
+ readonly "3041": "Mejai's Soulstealer";
11
+ readonly "3042": "Muramana";
12
+ readonly "3046": "Phantom Dancer";
13
+ readonly "3050": "Zeke's Convergence";
14
+ readonly "3053": "Sterak's Gage";
15
+ readonly "3065": "Spirit Visage";
16
+ readonly "3071": "Black Cleaver";
17
+ readonly "3072": "Bloodthirster";
18
+ readonly "3074": "Ravenous Hydra";
19
+ readonly "3075": "Thornmail";
20
+ readonly "3083": "Warmog's Armor";
21
+ readonly "3085": "Runaan's Hurricane";
22
+ readonly "3089": "Rabadon's Deathcap";
23
+ readonly "3091": "Wit's End";
24
+ readonly "3094": "Rapid Firecannon";
25
+ readonly "3095": "Stormrazor";
26
+ readonly "3100": "Lich Bane";
27
+ readonly "3102": "Banshee's Veil";
28
+ readonly "3107": "Redemption";
29
+ readonly "3109": "Knight's Vow";
30
+ readonly "3110": "Frozen Heart";
31
+ readonly "3115": "Nashor's Tooth";
32
+ readonly "3116": "Rylai's Crystal Scepter";
33
+ readonly "3119": "Winter's Approach";
34
+ readonly "3121": "Fimbulwinter";
35
+ readonly "3124": "Guinsoo's Rageblade";
36
+ readonly "3135": "Void Staff";
37
+ readonly "3139": "Mercurial Scimitar";
38
+ readonly "3142": "Youmuu's Ghostblade";
39
+ readonly "3143": "Randuin's Omen";
40
+ readonly "3153": "Blade of The Ruined King";
41
+ readonly "3156": "Maw of Malmortius";
42
+ readonly "3157": "Zhonya's Hourglass";
43
+ readonly "3165": "Morellonomicon";
44
+ readonly "3179": "Umbral Glaive";
45
+ readonly "3181": "Hullbreaker";
46
+ readonly "3193": "Gargoyle Stoneplate";
47
+ readonly "3222": "Mikael's Blessing";
48
+ readonly "3504": "Ardent Censer";
49
+ readonly "3508": "Essence Reaver";
50
+ readonly "3742": "Dead Man's Plate";
51
+ readonly "3748": "Titanic Hydra";
52
+ readonly "3814": "Edge of Night";
53
+ readonly "3853": "Shard of True Ice";
54
+ readonly "3857": "Pauldrons of Whiterock";
55
+ readonly "3860": "Bulwark of the Mountain";
56
+ readonly "3864": "Black Mist Scythe";
57
+ readonly "4401": "Force of Nature";
58
+ readonly "4628": "Horizon Focus";
59
+ readonly "4629": "Cosmic Drive";
60
+ readonly "4637": "Demonic Embrace";
61
+ readonly "4643": "Vigilant Wardstone";
62
+ readonly "4645": "Shadowflame";
63
+ readonly "6035": "Silvermere Dawn";
64
+ readonly "6333": "Death's Dance";
65
+ readonly "6609": "Chempunk Chainsword";
66
+ readonly "6616": "Staff of Flowing Water";
67
+ readonly "6675": "Navori Quickblades";
68
+ readonly "6676": "The Collector";
69
+ readonly "6694": "Serylda's Grudge";
70
+ readonly "6695": "Serpent's Fang";
71
+ readonly "6696": "Axiom Arc";
72
+ readonly "8001": "Anathema's Chains";
73
+ readonly "8020": "Abyssal Mask";
74
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LegendaryItemNames = void 0;
4
+ exports.LegendaryItemNames = { "3003": "Archangel's Staff", "3004": "Manamune", "3011": "Chemtech Putrifier", "3026": "Guardian Angel", "3031": "Infinity Edge", "3033": "Mortal Reminder", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3046": "Phantom Dancer", "3050": "Zeke's Convergence", "3053": "Sterak's Gage", "3065": "Spirit Visage", "3071": "Black Cleaver", "3072": "Bloodthirster", "3074": "Ravenous Hydra", "3075": "Thornmail", "3083": "Warmog's Armor", "3085": "Runaan's Hurricane", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3095": "Stormrazor", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3109": "Knight's Vow", "3110": "Frozen Heart", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3124": "Guinsoo's Rageblade", "3135": "Void Staff", "3139": "Mercurial Scimitar", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3153": "Blade of The Ruined King", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3165": "Morellonomicon", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3193": "Gargoyle Stoneplate", "3222": "Mikael's Blessing", "3504": "Ardent Censer", "3508": "Essence Reaver", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3814": "Edge of Night", "3853": "Shard of True Ice", "3857": "Pauldrons of Whiterock", "3860": "Bulwark of the Mountain", "3864": "Black Mist Scythe", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4637": "Demonic Embrace", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "6035": "Silvermere Dawn", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6616": "Staff of Flowing Water", "6675": "Navori Quickblades", "6676": "The Collector", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
@@ -0,0 +1,27 @@
1
+ export declare const MythicItemKeys: {
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 "Sunfire Aegis": "3068";
12
+ readonly "Trinity Force": "3078";
13
+ readonly "Turbo Chemtank": "6664";
14
+ readonly "Crown of the Shattered Queen": "4644";
15
+ readonly "Divine Sunderer": "6632";
16
+ readonly "Duskblade of Draktharr": "6691";
17
+ readonly Eclipse: "6692";
18
+ readonly Evenshroud: "3001";
19
+ readonly Everfrost: "6656";
20
+ readonly "Frostfire Gauntlet": "6662";
21
+ readonly Galeforce: "6671";
22
+ readonly Goredrinker: "6630";
23
+ readonly "Hextech Rocketbelt": "3152";
24
+ readonly "Immortal Shieldbow": "6673";
25
+ readonly "Imperial Mandate": "4005";
26
+ readonly "Kraken Slayer": "6672";
27
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MythicItemKeys = void 0;
4
+ exports.MythicItemKeys = { "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", "Sunfire Aegis": "3068", "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", "Frostfire Gauntlet": "6662", "Galeforce": "6671", "Goredrinker": "6630", "Hextech Rocketbelt": "3152", "Immortal Shieldbow": "6673", "Imperial Mandate": "4005", "Kraken Slayer": "6672" };
@@ -0,0 +1,27 @@
1
+ export declare const MythicItemNames: {
2
+ readonly "2065": "Shurelya's Battlesong";
3
+ readonly "3001": "Evenshroud";
4
+ readonly "3068": "Sunfire Aegis";
5
+ readonly "3078": "Trinity Force";
6
+ readonly "3152": "Hextech Rocketbelt";
7
+ readonly "3190": "Locket of the Iron Solari";
8
+ readonly "4005": "Imperial Mandate";
9
+ readonly "4633": "Riftmaker";
10
+ readonly "4636": "Night Harvester";
11
+ readonly "4644": "Crown of the Shattered Queen";
12
+ readonly "6617": "Moonstone Renewer";
13
+ readonly "6630": "Goredrinker";
14
+ readonly "6631": "Stridebreaker";
15
+ readonly "6632": "Divine Sunderer";
16
+ readonly "6653": "Liandry's Anguish";
17
+ readonly "6655": "Luden's Tempest";
18
+ readonly "6656": "Everfrost";
19
+ readonly "6662": "Frostfire Gauntlet";
20
+ readonly "6664": "Turbo Chemtank";
21
+ readonly "6671": "Galeforce";
22
+ readonly "6672": "Kraken Slayer";
23
+ readonly "6673": "Immortal Shieldbow";
24
+ readonly "6691": "Duskblade of Draktharr";
25
+ readonly "6692": "Eclipse";
26
+ readonly "6693": "Prowler's Claw";
27
+ };
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MythicItemNames = void 0;
4
+ exports.MythicItemNames = { "2065": "Shurelya's Battlesong", "3001": "Evenshroud", "3068": "Sunfire Aegis", "3078": "Trinity Force", "3152": "Hextech Rocketbelt", "3190": "Locket of the Iron Solari", "4005": "Imperial Mandate", "4633": "Riftmaker", "4636": "Night Harvester", "4644": "Crown of the Shattered Queen", "6617": "Moonstone Renewer", "6630": "Goredrinker", "6631": "Stridebreaker", "6632": "Divine Sunderer", "6653": "Liandry's Anguish", "6655": "Luden's Tempest", "6656": "Everfrost", "6662": "Frostfire Gauntlet", "6664": "Turbo Chemtank", "6671": "Galeforce", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6691": "Duskblade of Draktharr", "6692": "Eclipse", "6693": "Prowler's Claw" };
@@ -0,0 +1,2 @@
1
+ import { BootsItemKey } from '../../types';
2
+ export declare function isBootsItemKey(key: string): key is BootsItemKey;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isBootsItemKey = void 0;
4
+ const BootsItemNames_1 = require("../../Constants/Items/BootsItemNames");
5
+ function isBootsItemKey(key) {
6
+ return key in BootsItemNames_1.BootsItemNames;
7
+ }
8
+ exports.isBootsItemKey = isBootsItemKey;
@@ -0,0 +1,2 @@
1
+ import { BootsItemName } from '../../types';
2
+ export declare function isBootsItemName(name: any): name is BootsItemName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isBootsItemName = void 0;
4
+ const BootsItemKeys_1 = require("../../Constants/Items/BootsItemKeys");
5
+ function isBootsItemName(name) {
6
+ return name in BootsItemKeys_1.BootsItemKeys;
7
+ }
8
+ exports.isBootsItemName = isBootsItemName;
@@ -0,0 +1,2 @@
1
+ import { LegendaryItemKey } from '../../types';
2
+ export declare function isLegendaryItemKey(key: string): key is LegendaryItemKey;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isLegendaryItemKey = void 0;
4
+ const LegendaryItemNames_1 = require("../../Constants/Items/LegendaryItemNames");
5
+ function isLegendaryItemKey(key) {
6
+ return key in LegendaryItemNames_1.LegendaryItemNames;
7
+ }
8
+ exports.isLegendaryItemKey = isLegendaryItemKey;
@@ -0,0 +1,2 @@
1
+ import { LegendaryItemName } from '../../types';
2
+ export declare function isLegendaryItemName(name: any): name is LegendaryItemName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isLegendaryItemName = void 0;
4
+ const LegendaryItemKeys_1 = require("../../Constants/Items/LegendaryItemKeys");
5
+ function isLegendaryItemName(name) {
6
+ return name in LegendaryItemKeys_1.LegendaryItemKeys;
7
+ }
8
+ exports.isLegendaryItemName = isLegendaryItemName;
@@ -0,0 +1,2 @@
1
+ import { MythicItemKey } from '../../types';
2
+ export declare function isMythicItemKey(key: string): key is MythicItemKey;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isMythicItemKey = void 0;
4
+ const MythicItemNames_1 = require("../../Constants/Items/MythicItemNames");
5
+ function isMythicItemKey(key) {
6
+ return key in MythicItemNames_1.MythicItemNames;
7
+ }
8
+ exports.isMythicItemKey = isMythicItemKey;
@@ -0,0 +1,2 @@
1
+ import { MythicItemName } from '../../types';
2
+ export declare function isMythicItemName(name: any): name is MythicItemName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isMythicItemName = void 0;
4
+ const MythicItemKeys_1 = require("../../Constants/Items/MythicItemKeys");
5
+ function isMythicItemName(name) {
6
+ return name in MythicItemKeys_1.MythicItemKeys;
7
+ }
8
+ exports.isMythicItemName = isMythicItemName;
package/dist/index.d.ts CHANGED
@@ -3,8 +3,14 @@ export { ChampionIds } from './Constants/Champions/ChampionIds';
3
3
  export { ChampionIdsByName } from './Constants/Champions/ChampionIdsByName';
4
4
  export { ChampionKeys } from './Constants/Champions/ChampionKeys';
5
5
  export { ChampionNames } from './Constants/Champions/ChampionNames';
6
+ export { BootsItemKeys } from './Constants/Items/BootsItemKeys';
7
+ export { BootsItemNames } from './Constants/Items/BootsItemNames';
6
8
  export { ItemKeys } from './Constants/Items/ItemKeys';
7
9
  export { ItemNames } from './Constants/Items/ItemNames';
10
+ export { LegendaryItemKeys } from './Constants/Items/LegendaryItemKeys';
11
+ export { LegendaryItemNames } from './Constants/Items/LegendaryItemNames';
12
+ export { MythicItemKeys } from './Constants/Items/MythicItemKeys';
13
+ export { MythicItemNames } from './Constants/Items/MythicItemNames';
8
14
  export { RuneIconFileNames } from './Constants/Runes/RuneIconFileNames';
9
15
  export { RunePickingRelationships } from './Constants/Runes/RunePickingRelationships';
10
16
  export { PrimaryRuneTrees, SecondaryRuneTrees, KeystoneNames, StatRuneNames, RuneNames, RuneTreeHSets, StatRuneHSets, RuneSets, } from './Constants/Runes/RuneSets';
@@ -32,8 +38,14 @@ export { isChampionKey } from './Helpers/Champions/isChampionKey';
32
38
  export { isChampionName } from './Helpers/Champions/isChampionName';
33
39
  export { getItemKeyByName } from './Helpers/Items/getItemKeyByName';
34
40
  export { getItemNameByKey } from './Helpers/Items/getItemNameByKey';
41
+ export { isBootsItemKey } from './Helpers/Items/isBootsItemKey';
42
+ export { isBootsItemName } from './Helpers/Items/isBootsItemName';
35
43
  export { isItemKey } from './Helpers/Items/isItemKey';
36
44
  export { isItemName } from './Helpers/Items/isItemName';
45
+ export { isLegendaryItemKey } from './Helpers/Items/isLegendaryItemKey';
46
+ export { isLegendaryItemName } from './Helpers/Items/isLegendaryItemName';
47
+ export { isMythicItemKey } from './Helpers/Items/isMythicItemKey';
48
+ export { isMythicItemName } from './Helpers/Items/isMythicItemName';
37
49
  export { getRuneCategoryByRuneName } from './Helpers/Runes/getRuneCategoryByRuneName';
38
50
  export { getRuneCDNURL } from './Helpers/Runes/getRuneCDNURL';
39
51
  export { getRuneIdByName } from './Helpers/Runes/getRuneIdByName';