lol-constants 1.8.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/{BootsItemNames.d.ts → Constants/BootsItemNames.d.ts} +0 -0
- package/assets/{BootsItemNames.js → Constants/BootsItemNames.js} +0 -0
- package/assets/{LegendaryItemNames.d.ts → Constants/LegendaryItemNames.d.ts} +0 -0
- package/assets/{LegendaryItemNames.js → Constants/LegendaryItemNames.js} +0 -0
- package/assets/{MythicItemNames.d.ts → Constants/MythicItemNames.d.ts} +0 -0
- package/assets/{MythicItemNames.js → Constants/MythicItemNames.js} +0 -0
- package/assets/{StatRunes.d.ts → Constants/StatRunes.d.ts} +0 -0
- package/assets/{StatRunes.js → Constants/StatRunes.js} +0 -0
- package/assets/{StatRunesV2.d.ts → Constants/StatRunesV2.d.ts} +0 -0
- package/assets/{StatRunesV2.js → Constants/StatRunesV2.js} +0 -0
- package/assets/Constants/champion.json +1 -0
- package/assets/Constants/item.json +1 -0
- package/assets/Constants/runesReforged.json +1 -0
- package/assets/Constants/summoner.json +1 -0
- package/assets/index.d.ts +4 -4
- package/assets/index.js +4 -4
- package/assets/scripts/generate-categorized-item-keys.js +4 -4
- package/assets/scripts/generate-categorized-item-names.js +4 -4
- package/assets/scripts/generate-champion-ids-by-name.js +1 -1
- package/assets/scripts/generate-champion-ids.js +1 -1
- package/assets/scripts/generate-champion-keys.js +1 -1
- package/assets/scripts/generate-champion-names.js +1 -1
- package/assets/scripts/generate-item-keys.js +1 -1
- package/assets/scripts/generate-item-names.js +1 -1
- package/assets/scripts/generate-rune-ids.js +2 -2
- package/assets/scripts/generate-rune-names.js +2 -2
- package/assets/scripts/generate-rune-picking-relationships.js +1 -1
- package/assets/scripts/generate-rune-sets-by-rune-names.js +2 -2
- package/assets/scripts/generate-rune-sets.js +2 -2
- package/assets/scripts/generate-spell-ids-by-name.js +1 -1
- package/assets/scripts/generate-spell-ids.js +1 -1
- package/assets/scripts/generate-spell-keys.js +1 -1
- package/assets/scripts/generate-spell-names.js +1 -1
- package/assets/scripts/generate-stat-rune-ids.js +1 -1
- package/assets/scripts/generate-stat-rune-names.js +1 -1
- package/assets/scripts/generate-tree-rune-ids.js +1 -1
- package/assets/scripts/generate-tree-rune-names.js +1 -1
- package/dist/Constants/Champions/ChampionIds.d.ts +1 -0
- package/dist/Constants/Champions/ChampionIds.js +1 -1
- package/dist/Constants/Champions/ChampionIdsByName.d.ts +1 -0
- package/dist/Constants/Champions/ChampionIdsByName.js +1 -1
- package/dist/Constants/Champions/ChampionKeys.d.ts +1 -0
- package/dist/Constants/Champions/ChampionKeys.js +1 -1
- package/dist/Constants/Champions/ChampionNames.d.ts +1 -0
- package/dist/Constants/Champions/ChampionNames.js +1 -1
- package/dist/Constants/DDPaths.js +2 -2
- package/dist/Constants/Items/ItemTypes.d.ts +6 -0
- package/dist/Constants/Items/ItemTypes.js +9 -0
- package/dist/Constants/Meta/ChampionRelationTypes.d.ts +4 -0
- package/dist/Constants/Meta/ChampionRelationTypes.js +7 -0
- package/dist/Helpers/Items/isItemType.d.ts +2 -0
- package/dist/Helpers/Items/isItemType.js +8 -0
- package/dist/Helpers/Meta/isChampionRelationType.d.ts +2 -0
- package/dist/Helpers/Meta/isChampionRelationType.js +8 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +12 -2
- package/dist/types/Meta.d.ts +2 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/assets/champion.json +0 -1
- package/assets/item.json +0 -1
- package/assets/runesReforged.json +0 -1
- package/assets/summoner.json +0 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.ChampionNames = void 0;
|
4
|
-
exports.ChampionNames = { "1": "Annie", "2": "Olaf", "3": "Galio", "4": "Twisted Fate", "5": "Xin Zhao", "6": "Urgot", "7": "LeBlanc", "8": "Vladimir", "9": "Fiddlesticks", "10": "Kayle", "11": "Master Yi", "12": "Alistar", "13": "Ryze", "14": "Sion", "15": "Sivir", "16": "Soraka", "17": "Teemo", "18": "Tristana", "19": "Warwick", "20": "Nunu & Willump", "21": "Miss Fortune", "22": "Ashe", "23": "Tryndamere", "24": "Jax", "25": "Morgana", "26": "Zilean", "27": "Singed", "28": "Evelynn", "29": "Twitch", "30": "Karthus", "31": "Cho'Gath", "32": "Amumu", "33": "Rammus", "34": "Anivia", "35": "Shaco", "36": "Dr. Mundo", "37": "Sona", "38": "Kassadin", "39": "Irelia", "40": "Janna", "41": "Gangplank", "42": "Corki", "43": "Karma", "44": "Taric", "45": "Veigar", "48": "Trundle", "50": "Swain", "51": "Caitlyn", "53": "Blitzcrank", "54": "Malphite", "55": "Katarina", "56": "Nocturne", "57": "Maokai", "58": "Renekton", "59": "Jarvan IV", "60": "Elise", "61": "Orianna", "62": "Wukong", "63": "Brand", "64": "Lee Sin", "67": "Vayne", "68": "Rumble", "69": "Cassiopeia", "72": "Skarner", "74": "Heimerdinger", "75": "Nasus", "76": "Nidalee", "77": "Udyr", "78": "Poppy", "79": "Gragas", "80": "Pantheon", "81": "Ezreal", "82": "Mordekaiser", "83": "Yorick", "84": "Akali", "85": "Kennen", "86": "Garen", "89": "Leona", "90": "Malzahar", "91": "Talon", "92": "Riven", "96": "Kog'Maw", "98": "Shen", "99": "Lux", "101": "Xerath", "102": "Shyvana", "103": "Ahri", "104": "Graves", "105": "Fizz", "106": "Volibear", "107": "Rengar", "110": "Varus", "111": "Nautilus", "112": "Viktor", "113": "Sejuani", "114": "Fiora", "115": "Ziggs", "117": "Lulu", "119": "Draven", "120": "Hecarim", "121": "Kha'Zix", "122": "Darius", "126": "Jayce", "127": "Lissandra", "131": "Diana", "133": "Quinn", "134": "Syndra", "136": "Aurelion Sol", "141": "Kayn", "142": "Zoe", "143": "Zyra", "145": "Kai'Sa", "147": "Seraphine", "150": "Gnar", "154": "Zac", "157": "Yasuo", "161": "Vel'Koz", "163": "Taliyah", "164": "Camille", "166": "Akshan", "200": "Bel'Veth", "201": "Braum", "202": "Jhin", "203": "Kindred", "221": "Zeri", "222": "Jinx", "223": "Tahm Kench", "234": "Viego", "235": "Senna", "236": "Lucian", "238": "Zed", "240": "Kled", "245": "Ekko", "246": "Qiyana", "254": "Vi", "266": "Aatrox", "267": "Nami", "268": "Azir", "350": "Yuumi", "360": "Samira", "412": "Thresh", "420": "Illaoi", "421": "Rek'Sai", "427": "Ivern", "429": "Kalista", "432": "Bard", "497": "Rakan", "498": "Xayah", "516": "Ornn", "517": "Sylas", "518": "Neeko", "523": "Aphelios", "526": "Rell", "555": "Pyke", "711": "Vex", "777": "Yone", "875": "Sett", "876": "Lillia", "887": "Gwen", "888": "Renata Glasc" };
|
4
|
+
exports.ChampionNames = { "1": "Annie", "2": "Olaf", "3": "Galio", "4": "Twisted Fate", "5": "Xin Zhao", "6": "Urgot", "7": "LeBlanc", "8": "Vladimir", "9": "Fiddlesticks", "10": "Kayle", "11": "Master Yi", "12": "Alistar", "13": "Ryze", "14": "Sion", "15": "Sivir", "16": "Soraka", "17": "Teemo", "18": "Tristana", "19": "Warwick", "20": "Nunu & Willump", "21": "Miss Fortune", "22": "Ashe", "23": "Tryndamere", "24": "Jax", "25": "Morgana", "26": "Zilean", "27": "Singed", "28": "Evelynn", "29": "Twitch", "30": "Karthus", "31": "Cho'Gath", "32": "Amumu", "33": "Rammus", "34": "Anivia", "35": "Shaco", "36": "Dr. Mundo", "37": "Sona", "38": "Kassadin", "39": "Irelia", "40": "Janna", "41": "Gangplank", "42": "Corki", "43": "Karma", "44": "Taric", "45": "Veigar", "48": "Trundle", "50": "Swain", "51": "Caitlyn", "53": "Blitzcrank", "54": "Malphite", "55": "Katarina", "56": "Nocturne", "57": "Maokai", "58": "Renekton", "59": "Jarvan IV", "60": "Elise", "61": "Orianna", "62": "Wukong", "63": "Brand", "64": "Lee Sin", "67": "Vayne", "68": "Rumble", "69": "Cassiopeia", "72": "Skarner", "74": "Heimerdinger", "75": "Nasus", "76": "Nidalee", "77": "Udyr", "78": "Poppy", "79": "Gragas", "80": "Pantheon", "81": "Ezreal", "82": "Mordekaiser", "83": "Yorick", "84": "Akali", "85": "Kennen", "86": "Garen", "89": "Leona", "90": "Malzahar", "91": "Talon", "92": "Riven", "96": "Kog'Maw", "98": "Shen", "99": "Lux", "101": "Xerath", "102": "Shyvana", "103": "Ahri", "104": "Graves", "105": "Fizz", "106": "Volibear", "107": "Rengar", "110": "Varus", "111": "Nautilus", "112": "Viktor", "113": "Sejuani", "114": "Fiora", "115": "Ziggs", "117": "Lulu", "119": "Draven", "120": "Hecarim", "121": "Kha'Zix", "122": "Darius", "126": "Jayce", "127": "Lissandra", "131": "Diana", "133": "Quinn", "134": "Syndra", "136": "Aurelion Sol", "141": "Kayn", "142": "Zoe", "143": "Zyra", "145": "Kai'Sa", "147": "Seraphine", "150": "Gnar", "154": "Zac", "157": "Yasuo", "161": "Vel'Koz", "163": "Taliyah", "164": "Camille", "166": "Akshan", "200": "Bel'Veth", "201": "Braum", "202": "Jhin", "203": "Kindred", "221": "Zeri", "222": "Jinx", "223": "Tahm Kench", "234": "Viego", "235": "Senna", "236": "Lucian", "238": "Zed", "240": "Kled", "245": "Ekko", "246": "Qiyana", "254": "Vi", "266": "Aatrox", "267": "Nami", "268": "Azir", "350": "Yuumi", "360": "Samira", "412": "Thresh", "420": "Illaoi", "421": "Rek'Sai", "427": "Ivern", "429": "Kalista", "432": "Bard", "497": "Rakan", "498": "Xayah", "516": "Ornn", "517": "Sylas", "518": "Neeko", "523": "Aphelios", "526": "Rell", "555": "Pyke", "711": "Vex", "777": "Yone", "875": "Sett", "876": "Lillia", "887": "Gwen", "888": "Renata Glasc", "895": "Nilah" };
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DDPaths = void 0;
|
4
|
-
const version = '12.
|
4
|
+
const version = '12.14.1';
|
5
5
|
const base = `https://ddragon.leagueoflegends.com/cdn/${version}`;
|
6
|
-
const cdragonVersion = '12.
|
6
|
+
const cdragonVersion = '12.14';
|
7
7
|
const cdragonBase = `https://raw.communitydragon.org/${cdragonVersion}`;
|
8
8
|
/**
|
9
9
|
* DataDragon CDN Paths.
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isItemType = void 0;
|
4
|
+
const ItemTypes_1 = require("../../Constants/Items/ItemTypes");
|
5
|
+
function isItemType(type) {
|
6
|
+
return type in ItemTypes_1.ItemTypes;
|
7
|
+
}
|
8
|
+
exports.isItemType = isItemType;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isChampionRelationType = void 0;
|
4
|
+
const ChampionRelationTypes_1 = require("../../Constants/Meta/ChampionRelationTypes");
|
5
|
+
function isChampionRelationType(type) {
|
6
|
+
return type in ChampionRelationTypes_1.ChampionRelationTypes;
|
7
|
+
}
|
8
|
+
exports.isChampionRelationType = isChampionRelationType;
|
package/dist/index.d.ts
CHANGED
@@ -7,10 +7,12 @@ export { BootsItemKeys } from './Constants/Items/BootsItemKeys';
|
|
7
7
|
export { BootsItemNames } from './Constants/Items/BootsItemNames';
|
8
8
|
export { ItemKeys } from './Constants/Items/ItemKeys';
|
9
9
|
export { ItemNames } from './Constants/Items/ItemNames';
|
10
|
+
export { ItemTypes } from './Constants/Items/ItemTypes';
|
10
11
|
export { LegendaryItemKeys } from './Constants/Items/LegendaryItemKeys';
|
11
12
|
export { LegendaryItemNames } from './Constants/Items/LegendaryItemNames';
|
12
13
|
export { MythicItemKeys } from './Constants/Items/MythicItemKeys';
|
13
14
|
export { MythicItemNames } from './Constants/Items/MythicItemNames';
|
15
|
+
export { ChampionRelationTypes } from './Constants/Meta/ChampionRelationTypes';
|
14
16
|
export { RuneIconFileNames } from './Constants/Runes/RuneIconFileNames';
|
15
17
|
export { RunePickingRelationships } from './Constants/Runes/RunePickingRelationships';
|
16
18
|
export { PrimaryRuneTrees, SecondaryRuneTrees, KeystoneNames, StatRuneNames, RuneNames, RuneTreeHSets, StatRuneHSets, RuneSets, } from './Constants/Runes/RuneSets';
|
@@ -42,10 +44,12 @@ export { isBootsItemKey } from './Helpers/Items/isBootsItemKey';
|
|
42
44
|
export { isBootsItemName } from './Helpers/Items/isBootsItemName';
|
43
45
|
export { isItemKey } from './Helpers/Items/isItemKey';
|
44
46
|
export { isItemName } from './Helpers/Items/isItemName';
|
47
|
+
export { isItemType } from './Helpers/Items/isItemType';
|
45
48
|
export { isLegendaryItemKey } from './Helpers/Items/isLegendaryItemKey';
|
46
49
|
export { isLegendaryItemName } from './Helpers/Items/isLegendaryItemName';
|
47
50
|
export { isMythicItemKey } from './Helpers/Items/isMythicItemKey';
|
48
51
|
export { isMythicItemName } from './Helpers/Items/isMythicItemName';
|
52
|
+
export { isChampionRelationType } from './Helpers/Meta/isChampionRelationType';
|
49
53
|
export { getRuneCategoryByRuneName } from './Helpers/Runes/getRuneCategoryByRuneName';
|
50
54
|
export { getRuneCDNURL } from './Helpers/Runes/getRuneCDNURL';
|
51
55
|
export { getRuneIdByName } from './Helpers/Runes/getRuneIdByName';
|
package/dist/index.js
CHANGED
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
exports.
|
18
|
-
exports.isSpellName = exports.isSpellKey = exports.isSpellId = exports.getSpellNameByKey = exports.getSpellNameById = exports.getSpellKeyByName = exports.getSpellKeyById = exports.getSpellIdByName = exports.getSpellIdByKey = exports.isTreeRuneName = exports.isTreeRuneId = exports.isStatRuneName = exports.isStatRuneId = exports.isSorceryTreeRuneId = exports.isRuneTreeName = exports.isRuneTreeId = exports.isRuneName = exports.isRuneId = exports.isResolveTreeRuneId = exports.isPrecisionTreeRuneId = exports.isKeystoneRuneId = exports.isInspirationTreeRuneId = exports.isDominationTreeRuneId = exports.getTreeRuneNameById = exports.getTreeRuneIdByName = exports.getStatRuneNameById = exports.getStatRuneIdByName = exports.getRuneTreeNameById = exports.getRuneTreeIdByName = exports.getRuneNameById = exports.getRuneIdByName = exports.getRuneCDNURL = exports.getRuneCategoryByRuneName = exports.isMythicItemName = exports.isMythicItemKey = exports.isLegendaryItemName = exports.isLegendaryItemKey = exports.isItemName = exports.isItemKey = exports.isBootsItemName = exports.isBootsItemKey = exports.getItemNameByKey = exports.getItemKeyByName = exports.isChampionName = exports.isChampionKey = void 0;
|
17
|
+
exports.getChampionNameById = exports.getChampionKeyByName = exports.getChampionKeyById = exports.getChampionIdByName = exports.getChampionIdByKey = exports.isSkill = exports.isPosition = exports.isLevel = exports.isLane = exports.SpellNames = exports.SpellKeys = exports.SpellIdsByName = exports.SpellIds = exports.TreeRuneNames = exports.TreeRuneIds = exports.RuneTreeNames = exports.RuneTreeIds = exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneTreeHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = exports.RuneSets = exports.StatRuneHSets = exports.RuneTreeHSets = exports.RuneNames = exports.StatRuneNames = exports.KeystoneNames = exports.SecondaryRuneTrees = exports.PrimaryRuneTrees = exports.RunePickingRelationships = exports.RuneIconFileNames = exports.ChampionRelationTypes = exports.MythicItemNames = exports.MythicItemKeys = exports.LegendaryItemNames = exports.LegendaryItemKeys = exports.ItemTypes = exports.ItemNames = exports.ItemKeys = exports.BootsItemNames = exports.BootsItemKeys = exports.ChampionNames = exports.ChampionKeys = exports.ChampionIdsByName = exports.ChampionIds = exports.DDPaths = void 0;
|
18
|
+
exports.isSpellName = exports.isSpellKey = exports.isSpellId = exports.getSpellNameByKey = exports.getSpellNameById = exports.getSpellKeyByName = exports.getSpellKeyById = exports.getSpellIdByName = exports.getSpellIdByKey = exports.isTreeRuneName = exports.isTreeRuneId = exports.isStatRuneName = exports.isStatRuneId = exports.isSorceryTreeRuneId = exports.isRuneTreeName = exports.isRuneTreeId = exports.isRuneName = exports.isRuneId = exports.isResolveTreeRuneId = exports.isPrecisionTreeRuneId = exports.isKeystoneRuneId = exports.isInspirationTreeRuneId = exports.isDominationTreeRuneId = exports.getTreeRuneNameById = exports.getTreeRuneIdByName = exports.getStatRuneNameById = exports.getStatRuneIdByName = exports.getRuneTreeNameById = exports.getRuneTreeIdByName = exports.getRuneNameById = exports.getRuneIdByName = exports.getRuneCDNURL = exports.getRuneCategoryByRuneName = exports.isChampionRelationType = exports.isMythicItemName = exports.isMythicItemKey = exports.isLegendaryItemName = exports.isLegendaryItemKey = exports.isItemType = exports.isItemName = exports.isItemKey = exports.isBootsItemName = exports.isBootsItemKey = exports.getItemNameByKey = exports.getItemKeyByName = exports.isChampionName = exports.isChampionKey = exports.isChampionId = exports.getChampionNameByKey = void 0;
|
19
19
|
// # Constants
|
20
20
|
var DDPaths_1 = require("./Constants/DDPaths");
|
21
21
|
Object.defineProperty(exports, "DDPaths", { enumerable: true, get: function () { return DDPaths_1.DDPaths; } });
|
@@ -37,6 +37,8 @@ var ItemKeys_1 = require("./Constants/Items/ItemKeys");
|
|
37
37
|
Object.defineProperty(exports, "ItemKeys", { enumerable: true, get: function () { return ItemKeys_1.ItemKeys; } });
|
38
38
|
var ItemNames_1 = require("./Constants/Items/ItemNames");
|
39
39
|
Object.defineProperty(exports, "ItemNames", { enumerable: true, get: function () { return ItemNames_1.ItemNames; } });
|
40
|
+
var ItemTypes_1 = require("./Constants/Items/ItemTypes");
|
41
|
+
Object.defineProperty(exports, "ItemTypes", { enumerable: true, get: function () { return ItemTypes_1.ItemTypes; } });
|
40
42
|
var LegendaryItemKeys_1 = require("./Constants/Items/LegendaryItemKeys");
|
41
43
|
Object.defineProperty(exports, "LegendaryItemKeys", { enumerable: true, get: function () { return LegendaryItemKeys_1.LegendaryItemKeys; } });
|
42
44
|
var LegendaryItemNames_1 = require("./Constants/Items/LegendaryItemNames");
|
@@ -45,6 +47,9 @@ var MythicItemKeys_1 = require("./Constants/Items/MythicItemKeys");
|
|
45
47
|
Object.defineProperty(exports, "MythicItemKeys", { enumerable: true, get: function () { return MythicItemKeys_1.MythicItemKeys; } });
|
46
48
|
var MythicItemNames_1 = require("./Constants/Items/MythicItemNames");
|
47
49
|
Object.defineProperty(exports, "MythicItemNames", { enumerable: true, get: function () { return MythicItemNames_1.MythicItemNames; } });
|
50
|
+
// ## Meta
|
51
|
+
var ChampionRelationTypes_1 = require("./Constants/Meta/ChampionRelationTypes");
|
52
|
+
Object.defineProperty(exports, "ChampionRelationTypes", { enumerable: true, get: function () { return ChampionRelationTypes_1.ChampionRelationTypes; } });
|
48
53
|
// ## Runes
|
49
54
|
var RuneIconFileNames_1 = require("./Constants/Runes/RuneIconFileNames");
|
50
55
|
Object.defineProperty(exports, "RuneIconFileNames", { enumerable: true, get: function () { return RuneIconFileNames_1.RuneIconFileNames; } });
|
@@ -126,6 +131,8 @@ var isItemKey_1 = require("./Helpers/Items/isItemKey");
|
|
126
131
|
Object.defineProperty(exports, "isItemKey", { enumerable: true, get: function () { return isItemKey_1.isItemKey; } });
|
127
132
|
var isItemName_1 = require("./Helpers/Items/isItemName");
|
128
133
|
Object.defineProperty(exports, "isItemName", { enumerable: true, get: function () { return isItemName_1.isItemName; } });
|
134
|
+
var isItemType_1 = require("./Helpers/Items/isItemType");
|
135
|
+
Object.defineProperty(exports, "isItemType", { enumerable: true, get: function () { return isItemType_1.isItemType; } });
|
129
136
|
var isLegendaryItemKey_1 = require("./Helpers/Items/isLegendaryItemKey");
|
130
137
|
Object.defineProperty(exports, "isLegendaryItemKey", { enumerable: true, get: function () { return isLegendaryItemKey_1.isLegendaryItemKey; } });
|
131
138
|
var isLegendaryItemName_1 = require("./Helpers/Items/isLegendaryItemName");
|
@@ -134,6 +141,9 @@ var isMythicItemKey_1 = require("./Helpers/Items/isMythicItemKey");
|
|
134
141
|
Object.defineProperty(exports, "isMythicItemKey", { enumerable: true, get: function () { return isMythicItemKey_1.isMythicItemKey; } });
|
135
142
|
var isMythicItemName_1 = require("./Helpers/Items/isMythicItemName");
|
136
143
|
Object.defineProperty(exports, "isMythicItemName", { enumerable: true, get: function () { return isMythicItemName_1.isMythicItemName; } });
|
144
|
+
// ## Meta
|
145
|
+
var isChampionRelationType_1 = require("./Helpers/Meta/isChampionRelationType");
|
146
|
+
Object.defineProperty(exports, "isChampionRelationType", { enumerable: true, get: function () { return isChampionRelationType_1.isChampionRelationType; } });
|
137
147
|
// ## Runes
|
138
148
|
var getRuneCategoryByRuneName_1 = require("./Helpers/Runes/getRuneCategoryByRuneName");
|
139
149
|
Object.defineProperty(exports, "getRuneCategoryByRuneName", { enumerable: true, get: function () { return getRuneCategoryByRuneName_1.getRuneCategoryByRuneName; } });
|
package/dist/types/Meta.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import { ChampionRelationTypes } from '../Constants/Meta/ChampionRelationTypes';
|
2
|
+
export declare type ChampionRelationType = keyof typeof ChampionRelationTypes;
|
2
3
|
export declare type Role = 'NONE' | 'SOLO' | 'CARRY' | 'SUPPORT';
|
3
4
|
export declare type Queue = 'RANKED_SOLO_5x5' | 'RANKED_FLEX_SR';
|
4
5
|
export declare type LeaguesTier = 'CHALLENGER' | 'GRANDMASTER' | 'MASTER' | 'DIAMOND' | 'PLATINUM' | 'GOLD' | 'SILVER' | 'BRONZE' | 'IRON';
|
package/dist/types/index.d.ts
CHANGED
@@ -23,6 +23,7 @@ import { LegendaryItemNames } from '../Constants/Items/LegendaryItemNames';
|
|
23
23
|
import { LegendaryItemKeys } from '../Constants/Items/LegendaryItemKeys';
|
24
24
|
import { BootsItemNames } from '../Constants/Items/BootsItemNames';
|
25
25
|
import { BootsItemKeys } from '../Constants/Items/BootsItemKeys';
|
26
|
+
import { ItemTypes } from '../Constants/Items/ItemTypes';
|
26
27
|
export declare type ChampionId = typeof ChampionIds[keyof typeof ChampionIds];
|
27
28
|
export declare type ChampionKey = typeof ChampionKeys[keyof typeof ChampionKeys];
|
28
29
|
export declare type ChampionName = typeof ChampionNames[keyof typeof ChampionNames];
|
@@ -31,6 +32,7 @@ export declare type SpellKey = typeof SpellKeys[keyof typeof SpellKeys];
|
|
31
32
|
export declare type SpellName = typeof SpellNames[keyof typeof SpellNames];
|
32
33
|
export declare type ItemKey = typeof ItemKeys[keyof typeof ItemKeys];
|
33
34
|
export declare type ItemName = typeof ItemNames[keyof typeof ItemNames];
|
35
|
+
export declare type ItemType = keyof typeof ItemTypes;
|
34
36
|
export declare type MythicItemKey = keyof typeof MythicItemNames;
|
35
37
|
export declare type MythicItemName = keyof typeof MythicItemKeys;
|
36
38
|
export declare type LegendaryItemKey = keyof typeof LegendaryItemNames;
|
package/package.json
CHANGED