lol-constants 2.20.0 → 2.22.0
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/constants/BootsItemNames.d.ts +1 -1
- package/assets/constants/BootsItemNames.js +3 -1
- package/assets/constants/Champion.d.ts +437 -390
- package/assets/constants/Champion.js +1 -1
- package/assets/constants/Item.d.ts +8408 -5935
- package/assets/constants/Item.js +1 -1
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +5 -5
- package/assets/constants/RunesReforged.d.ts +45 -66
- 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/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 +1 -0
- package/core/constants/Champions/ChampionIds.js +1 -1
- package/core/constants/Champions/ChampionIdsByName.d.ts +1 -0
- package/core/constants/Champions/ChampionIdsByName.js +1 -1
- package/core/constants/Champions/ChampionKeys.d.ts +1 -0
- package/core/constants/Champions/ChampionKeys.js +1 -1
- package/core/constants/Champions/ChampionKeysNum.d.ts +1 -0
- package/core/constants/Champions/ChampionKeysNum.js +1 -1
- package/core/constants/Champions/ChampionNames.d.ts +1 -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 +9 -6
- package/core/constants/Items/ItemKeys.js +1 -1
- package/core/constants/Items/ItemKeysNum.d.ts +9 -6
- package/core/constants/Items/ItemKeysNum.js +1 -1
- package/core/constants/Items/ItemNames.d.ts +9 -6
- package/core/constants/Items/ItemNames.js +1 -1
- package/core/constants/Items/LegendaryItemKeys.d.ts +6 -5
- package/core/constants/Items/LegendaryItemKeys.js +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +6 -5
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +6 -5
- package/core/constants/Items/LegendaryItemNames.js +1 -1
- package/core/constants/QueueIds.d.ts +31 -0
- package/core/constants/QueueIds.js +57 -1
- package/core/constants/Runes/NonStatRuneIds.d.ts +5 -8
- package/core/constants/Runes/NonStatRuneIds.js +1 -1
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +5 -8
- package/core/constants/Runes/NonStatRuneIdsNum.js +1 -1
- package/core/constants/Runes/NonStatRuneNames.d.ts +4 -7
- 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 +67 -91
- package/core/constants/Runes/RuneSets.js +7 -7
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +73 -97
- package/core/constants/Runes/RuneSetsByRuneNames.js +7 -7
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +73 -97
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +7 -7
- package/core/helpers/Runes/getRuneCdnUrl.js +3 -1
- package/core/index.d.ts +0 -1
- package/core/index.js +0 -1
- package/package.json +27 -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,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;
|