lol-constants 2.19.0 → 2.21.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/assets/constants/BootsItemNames.d.ts +1 -1
- package/assets/constants/BootsItemNames.js +11 -9
- package/assets/constants/Champion.d.ts +584 -490
- package/assets/constants/Champion.js +1 -1
- package/assets/constants/Item.d.ts +10805 -6625
- package/assets/constants/Item.js +1 -1
- package/assets/constants/LegendaryItemNames.d.ts +4 -1
- package/assets/constants/LegendaryItemNames.js +138 -74
- package/assets/constants/RunesReforged.d.ts +48 -69
- package/assets/constants/RunesReforged.js +1 -1
- package/assets/constants/StatRunes.d.ts +28 -11
- package/assets/constants/StatRunes.js +11 -11
- package/assets/constants/StatRunesByRow.d.ts +6 -6
- package/assets/constants/StatRunesByRow.js +6 -6
- package/assets/constants/Summoner.d.ts +36 -36
- package/assets/constants/Summoner.js +1 -1
- package/assets/index.js +0 -1
- package/assets/scripts/generate-categorized-item-keys-num.js +0 -20
- package/assets/scripts/generate-categorized-item-keys.js +1 -22
- package/assets/scripts/generate-categorized-item-names.js +0 -20
- package/assets/scripts/generate-rune-ids.js +2 -4
- package/assets/scripts/generate-rune-names.js +2 -4
- package/assets/scripts/generate-stat-rune-ids.js +2 -4
- package/assets/scripts/generate-stat-rune-names.js +2 -4
- package/core/constants/Champions/ChampionIds.d.ts +2 -0
- package/core/constants/Champions/ChampionIds.js +1 -1
- package/core/constants/Champions/ChampionIdsByName.d.ts +2 -0
- package/core/constants/Champions/ChampionIdsByName.js +1 -1
- package/core/constants/Champions/ChampionKeys.d.ts +2 -0
- package/core/constants/Champions/ChampionKeys.js +1 -1
- package/core/constants/Champions/ChampionKeysNum.d.ts +2 -0
- package/core/constants/Champions/ChampionKeysNum.js +1 -1
- package/core/constants/Champions/ChampionNames.d.ts +2 -0
- package/core/constants/Champions/ChampionNames.js +1 -1
- package/core/constants/DataDragonUrls.d.ts +16 -16
- package/core/constants/DataDragonUrls.js +2 -2
- package/core/constants/Items/BootsItemKeys.d.ts +3 -1
- package/core/constants/Items/BootsItemKeys.js +1 -1
- package/core/constants/Items/BootsItemKeysNum.d.ts +3 -1
- package/core/constants/Items/BootsItemKeysNum.js +1 -1
- package/core/constants/Items/BootsItemNames.d.ts +3 -1
- package/core/constants/Items/BootsItemNames.js +1 -1
- package/core/constants/Items/ItemKeys.d.ts +58 -47
- package/core/constants/Items/ItemKeys.js +1 -1
- package/core/constants/Items/ItemKeysNum.d.ts +58 -47
- package/core/constants/Items/ItemKeysNum.js +1 -1
- package/core/constants/Items/ItemNames.d.ts +58 -48
- package/core/constants/Items/ItemNames.js +1 -1
- package/core/constants/Items/ItemTypes.d.ts +0 -1
- package/core/constants/Items/ItemTypes.js +0 -1
- package/core/constants/Items/LegendaryItemKeys.d.ts +75 -12
- package/core/constants/Items/LegendaryItemKeys.js +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +75 -12
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +73 -10
- package/core/constants/Items/LegendaryItemNames.js +1 -1
- package/core/constants/Items/OrnnItemKeys.d.ts +0 -8
- package/core/constants/Items/OrnnItemKeys.js +1 -1
- package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -8
- package/core/constants/Items/OrnnItemKeysNum.js +1 -1
- package/core/constants/Items/OrnnItemNames.d.ts +0 -8
- package/core/constants/Items/OrnnItemNames.js +1 -1
- package/core/constants/Runes/NonStatRuneIds.d.ts +6 -9
- package/core/constants/Runes/NonStatRuneIds.js +1 -1
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +6 -9
- package/core/constants/Runes/NonStatRuneIdsNum.js +1 -1
- package/core/constants/Runes/NonStatRuneNames.d.ts +5 -8
- package/core/constants/Runes/NonStatRuneNames.js +1 -1
- package/core/constants/Runes/RuneIconFileNames.js +12 -15
- package/core/constants/Runes/RunePickingRelationships.d.ts +18 -21
- package/core/constants/Runes/RunePickingRelationships.js +1 -1
- package/core/constants/Runes/RuneSets.d.ts +73 -97
- package/core/constants/Runes/RuneSets.js +7 -7
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +79 -103
- package/core/constants/Runes/RuneSetsByRuneNames.js +7 -7
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +79 -103
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +7 -7
- package/core/helpers/Runes/getRuneCdnUrl.js +3 -1
- package/core/helpers/makeRiotId.d.ts +4 -0
- package/core/helpers/makeRiotId.js +9 -0
- package/core/helpers/splitRiotId.d.ts +2 -2
- package/core/index.d.ts +1 -5
- package/core/index.js +1 -5
- package/package.json +28 -27
- package/assets/constants/MythicItemNames.d.ts +0 -1
- package/assets/constants/MythicItemNames.js +0 -37
- package/assets/scripts/generate-tree-rune-ids-num.d.ts +0 -1
- package/assets/scripts/generate-tree-rune-ids-num.js +0 -23
- package/assets/scripts/generate-tree-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-tree-rune-ids.js +0 -24
- package/assets/scripts/generate-tree-rune-names.d.ts +0 -1
- package/assets/scripts/generate-tree-rune-names.js +0 -22
- package/assets/scripts/helpers/getComment.d.ts +0 -1
- package/assets/scripts/helpers/getComment.js +0 -8
- package/core/constants/Items/MythicItemKeys.d.ts +0 -61
- package/core/constants/Items/MythicItemKeys.js +0 -4
- package/core/constants/Items/MythicItemKeysNum.d.ts +0 -61
- package/core/constants/Items/MythicItemKeysNum.js +0 -4
- package/core/constants/Items/MythicItemNames.d.ts +0 -61
- package/core/constants/Items/MythicItemNames.js +0 -4
- package/core/constants/Queues.d.ts +0 -7
- package/core/constants/Queues.js +0 -12
- package/core/constants/Runes/TreeRuneIds.d.ts +0 -80
- package/core/constants/Runes/TreeRuneIds.js +0 -4
- package/core/constants/Runes/TreeRuneIdsNum.d.ts +0 -66
- package/core/constants/Runes/TreeRuneIdsNum.js +0 -4
- package/core/constants/Runes/TreeRuneNames.d.ts +0 -66
- package/core/constants/Runes/TreeRuneNames.js +0 -4
- package/core/helpers/Items/isMythicItemKey.d.ts +0 -2
- package/core/helpers/Items/isMythicItemKey.js +0 -8
- package/core/helpers/Items/isMythicItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isMythicItemKeyNum.js +0 -8
- package/core/helpers/Items/isMythicItemName.d.ts +0 -2
- package/core/helpers/Items/isMythicItemName.js +0 -8
- package/core/helpers/Runes/getTreeRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getTreeRuneIdByName.js +0 -8
- package/core/helpers/Runes/getTreeRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getTreeRuneNameById.js +0 -8
- package/core/helpers/Runes/isDominationTreeRuneId.d.ts +0 -2
- package/core/helpers/Runes/isDominationTreeRuneId.js +0 -8
- package/core/helpers/Runes/isInspirationTreeRuneId.d.ts +0 -2
- package/core/helpers/Runes/isInspirationTreeRuneId.js +0 -8
- package/core/helpers/Runes/isPrecisionTreeRuneId.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionTreeRuneId.js +0 -8
- package/core/helpers/Runes/isResolveTreeRuneId.d.ts +0 -2
- package/core/helpers/Runes/isResolveTreeRuneId.js +0 -8
- package/core/helpers/Runes/isSorceryTreeRuneId.d.ts +0 -2
- package/core/helpers/Runes/isSorceryTreeRuneId.js +0 -8
- package/core/helpers/Runes/isTreeRuneId.d.ts +0 -2
- package/core/helpers/Runes/isTreeRuneId.js +0 -8
- package/core/helpers/Runes/isTreeRuneName.d.ts +0 -2
- package/core/helpers/Runes/isTreeRuneName.js +0 -8
@@ -1,66 +0,0 @@
|
|
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
|
-
};
|
66
|
-
export type TreeRuneName = typeof TreeRuneNames[keyof typeof TreeRuneNames];
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.TreeRuneNames = void 0;
|
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" };
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isMythicItemKeyNum = void 0;
|
4
|
-
const MythicItemNames_1 = require("../../constants/Items/MythicItemNames");
|
5
|
-
function isMythicItemKeyNum(key) {
|
6
|
-
return key in MythicItemNames_1.MythicItemNames;
|
7
|
-
}
|
8
|
-
exports.isMythicItemKeyNum = isMythicItemKeyNum;
|
@@ -1,8 +0,0 @@
|
|
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 typeof name == 'string' && name in MythicItemKeys_1.MythicItemKeys;
|
7
|
-
}
|
8
|
-
exports.isMythicItemName = isMythicItemName;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getTreeRuneIdByName = void 0;
|
4
|
-
const TreeRuneIds_1 = require("../../constants/Runes/TreeRuneIds");
|
5
|
-
function getTreeRuneIdByName(name) {
|
6
|
-
return TreeRuneIds_1.TreeRuneIds[name];
|
7
|
-
}
|
8
|
-
exports.getTreeRuneIdByName = getTreeRuneIdByName;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getTreeRuneNameById = void 0;
|
4
|
-
const TreeRuneNames_1 = require("../../constants/Runes/TreeRuneNames");
|
5
|
-
function getTreeRuneNameById(id) {
|
6
|
-
return TreeRuneNames_1.TreeRuneNames[id];
|
7
|
-
}
|
8
|
-
exports.getTreeRuneNameById = getTreeRuneNameById;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isDominationTreeRuneId = void 0;
|
4
|
-
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
-
function isDominationTreeRuneId(id) {
|
6
|
-
return id in RuneSets_1.PrimaryRuneTrees.Domination;
|
7
|
-
}
|
8
|
-
exports.isDominationTreeRuneId = isDominationTreeRuneId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isInspirationTreeRuneId = void 0;
|
4
|
-
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
-
function isInspirationTreeRuneId(id) {
|
6
|
-
return id in RuneSets_1.PrimaryRuneTrees.Inspiration;
|
7
|
-
}
|
8
|
-
exports.isInspirationTreeRuneId = isInspirationTreeRuneId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPrecisionTreeRuneId = void 0;
|
4
|
-
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
-
function isPrecisionTreeRuneId(id) {
|
6
|
-
return id in RuneSets_1.PrimaryRuneTrees.Precision;
|
7
|
-
}
|
8
|
-
exports.isPrecisionTreeRuneId = isPrecisionTreeRuneId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isResolveTreeRuneId = void 0;
|
4
|
-
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
-
function isResolveTreeRuneId(id) {
|
6
|
-
return id in RuneSets_1.PrimaryRuneTrees.Resolve;
|
7
|
-
}
|
8
|
-
exports.isResolveTreeRuneId = isResolveTreeRuneId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isSorceryTreeRuneId = void 0;
|
4
|
-
const RuneSets_1 = require("../../constants/Runes/RuneSets");
|
5
|
-
function isSorceryTreeRuneId(id) {
|
6
|
-
return id in RuneSets_1.PrimaryRuneTrees.Sorcery;
|
7
|
-
}
|
8
|
-
exports.isSorceryTreeRuneId = isSorceryTreeRuneId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isTreeRuneId = void 0;
|
4
|
-
const TreeRuneNames_1 = require("../../constants/Runes/TreeRuneNames");
|
5
|
-
function isTreeRuneId(id) {
|
6
|
-
return id in TreeRuneNames_1.TreeRuneNames;
|
7
|
-
}
|
8
|
-
exports.isTreeRuneId = isTreeRuneId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isTreeRuneName = void 0;
|
4
|
-
const TreeRuneIds_1 = require("../../constants/Runes/TreeRuneIds");
|
5
|
-
function isTreeRuneName(name) {
|
6
|
-
return typeof name == 'string' && name in TreeRuneIds_1.TreeRuneIds;
|
7
|
-
}
|
8
|
-
exports.isTreeRuneName = isTreeRuneName;
|