lol-constants 1.10.1 → 1.12.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 +1 -1
- package/assets/Constants/Champion.d.ts +7621 -0
- package/assets/Constants/Champion.js +4 -0
- package/assets/Constants/Item.d.ts +10004 -0
- package/assets/Constants/Item.js +4 -0
- package/assets/Constants/LegendaryItemNames.d.ts +2 -2
- package/assets/Constants/LegendaryItemNames.js +3 -1
- package/assets/Constants/MythicItemNames.d.ts +2 -2
- package/assets/Constants/MythicItemNames.js +6 -3
- package/assets/Constants/RunesReforged.d.ts +512 -0
- package/assets/Constants/RunesReforged.js +4 -0
- package/assets/Constants/StatRunes.d.ts +1 -1
- package/assets/Constants/StatRunes.js +1 -1
- package/assets/Constants/{StatRunesV2.d.ts → StatRunesByRow.d.ts} +2 -2
- package/assets/Constants/{StatRunesV2.js → StatRunesByRow.js} +3 -3
- package/assets/Constants/Summoner.d.ts +518 -0
- package/assets/Constants/Summoner.js +4 -0
- package/assets/index.d.ts +9 -4
- package/assets/index.js +22 -13
- package/assets/scripts/generate-all.js +0 -8
- package/assets/scripts/generate-categorized-item-keys.js +7 -10
- package/assets/scripts/generate-categorized-item-names.js +7 -10
- package/assets/scripts/generate-champion-ids-by-name.js +5 -8
- package/assets/scripts/generate-champion-ids.js +5 -8
- package/assets/scripts/generate-champion-keys.js +5 -8
- package/assets/scripts/generate-champion-names.js +5 -8
- package/assets/scripts/generate-item-keys.js +5 -8
- package/assets/scripts/generate-item-names.js +5 -8
- package/assets/scripts/generate-rune-ids.js +4 -7
- package/assets/scripts/generate-rune-names.js +4 -7
- package/assets/scripts/generate-rune-picking-relationships.js +2 -5
- package/assets/scripts/generate-rune-sets-by-rune-names.js +5 -8
- package/assets/scripts/generate-rune-sets.js +5 -8
- package/assets/scripts/generate-spell-ids-by-name.js +5 -8
- package/assets/scripts/generate-spell-ids.js +5 -8
- package/assets/scripts/generate-spell-keys.js +5 -8
- package/assets/scripts/generate-spell-names.js +5 -8
- package/assets/scripts/generate-stat-rune-ids.js +2 -5
- package/assets/scripts/generate-stat-rune-names.js +2 -5
- package/assets/scripts/generate-tree-rune-ids.js +4 -7
- package/assets/scripts/generate-tree-rune-names.js +4 -7
- package/{dist → core}/Constants/Champions/ChampionIds.d.ts +1 -0
- package/{dist → core}/Constants/Champions/ChampionIds.js +1 -1
- package/{dist → core}/Constants/Champions/ChampionIdsByName.d.ts +1 -0
- package/core/Constants/Champions/ChampionIdsByName.js +4 -0
- package/{dist → core}/Constants/Champions/ChampionKeys.d.ts +1 -0
- package/core/Constants/Champions/ChampionKeys.js +4 -0
- package/{dist → core}/Constants/Champions/ChampionNames.d.ts +1 -0
- package/{dist → core}/Constants/Champions/ChampionNames.js +1 -1
- package/{dist → core}/Constants/DDPaths.d.ts +0 -0
- package/{dist → core}/Constants/DDPaths.js +2 -2
- package/{dist → core}/Constants/Items/BootsItemKeys.d.ts +0 -0
- package/{dist → core}/Constants/Items/BootsItemKeys.js +0 -0
- package/{dist → core}/Constants/Items/BootsItemNames.d.ts +0 -0
- package/{dist → core}/Constants/Items/BootsItemNames.js +0 -0
- package/{dist → core}/Constants/Items/ItemKeys.d.ts +17 -5
- package/core/Constants/Items/ItemKeys.js +4 -0
- package/{dist → core}/Constants/Items/ItemNames.d.ts +17 -4
- package/core/Constants/Items/ItemNames.js +4 -0
- package/{dist → core}/Constants/Items/ItemTypes.d.ts +0 -0
- package/{dist → core}/Constants/Items/ItemTypes.js +0 -0
- package/{dist → core}/Constants/Items/LegendaryItemKeys.d.ts +2 -0
- package/{dist → core}/Constants/Items/LegendaryItemKeys.js +1 -1
- package/{dist → core}/Constants/Items/LegendaryItemNames.d.ts +2 -0
- package/core/Constants/Items/LegendaryItemNames.js +4 -0
- package/{dist → core}/Constants/Items/MythicItemKeys.d.ts +5 -2
- package/core/Constants/Items/MythicItemKeys.js +4 -0
- package/{dist → core}/Constants/Items/MythicItemNames.d.ts +5 -2
- package/core/Constants/Items/MythicItemNames.js +4 -0
- package/{dist → core}/Constants/Lanes.d.ts +0 -0
- package/{dist → core}/Constants/Lanes.js +0 -0
- package/{dist → core}/Constants/Levels.d.ts +0 -0
- package/{dist → core}/Constants/Levels.js +0 -0
- package/{dist → core}/Constants/Meta/ChampionRelationTypes.d.ts +0 -0
- package/{dist → core}/Constants/Meta/ChampionRelationTypes.js +0 -0
- package/{dist → core}/Constants/Positions.d.ts +0 -0
- package/{dist → core}/Constants/Positions.js +0 -0
- package/{dist → core}/Constants/Runes/RuneIconFileNames.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RuneIconFileNames.js +0 -0
- package/{dist → core}/Constants/Runes/RunePickingRelationships.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RunePickingRelationships.js +0 -0
- package/{dist → core}/Constants/Runes/RuneSets.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RuneSets.js +0 -0
- package/{dist → core}/Constants/Runes/RuneSetsByRuneNames.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RuneSetsByRuneNames.js +0 -0
- package/{dist → core}/Constants/Runes/RuneTreeIds.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RuneTreeIds.js +0 -0
- package/{dist → core}/Constants/Runes/RuneTreeNames.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RuneTreeNames.js +0 -0
- package/{dist → core}/Constants/Runes/RuneTreeTypes.d.ts +0 -0
- package/{dist → core}/Constants/Runes/RuneTreeTypes.js +0 -0
- package/{dist → core}/Constants/Runes/TreeRuneIds.d.ts +0 -0
- package/{dist → core}/Constants/Runes/TreeRuneIds.js +0 -0
- package/{dist → core}/Constants/Runes/TreeRuneNames.d.ts +0 -0
- package/{dist → core}/Constants/Runes/TreeRuneNames.js +0 -0
- package/{dist → core}/Constants/Skills.d.ts +0 -0
- package/{dist → core}/Constants/Skills.js +0 -0
- package/{dist → core}/Constants/Spells/SpellIds.d.ts +0 -0
- package/{dist → core}/Constants/Spells/SpellIds.js +0 -0
- package/{dist → core}/Constants/Spells/SpellIdsByName.d.ts +0 -0
- package/{dist → core}/Constants/Spells/SpellIdsByName.js +0 -0
- package/{dist → core}/Constants/Spells/SpellKeys.d.ts +0 -0
- package/{dist → core}/Constants/Spells/SpellKeys.js +0 -0
- package/{dist → core}/Constants/Spells/SpellNames.d.ts +0 -0
- package/{dist → core}/Constants/Spells/SpellNames.js +0 -0
- package/{dist → core}/Helpers/Champions/getChampionIdByKey.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/getChampionIdByKey.js +0 -0
- package/{dist → core}/Helpers/Champions/getChampionIdByName.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/getChampionIdByName.js +0 -0
- package/{dist → core}/Helpers/Champions/getChampionKeyById.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/getChampionKeyById.js +0 -0
- package/{dist → core}/Helpers/Champions/getChampionKeyByName.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/getChampionKeyByName.js +0 -0
- package/{dist → core}/Helpers/Champions/getChampionNameById.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/getChampionNameById.js +0 -0
- package/{dist → core}/Helpers/Champions/getChampionNameByKey.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/getChampionNameByKey.js +0 -0
- package/{dist → core}/Helpers/Champions/isChampionId.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/isChampionId.js +0 -0
- package/{dist → core}/Helpers/Champions/isChampionKey.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/isChampionKey.js +0 -0
- package/{dist → core}/Helpers/Champions/isChampionName.d.ts +0 -0
- package/{dist → core}/Helpers/Champions/isChampionName.js +0 -0
- package/{dist → core}/Helpers/Icons/getPositionImageURL.d.ts +0 -0
- package/{dist → core}/Helpers/Icons/getPositionImageURL.js +0 -0
- package/{dist → core}/Helpers/Items/getItemKeyByName.d.ts +0 -0
- package/{dist → core}/Helpers/Items/getItemKeyByName.js +0 -0
- package/{dist → core}/Helpers/Items/getItemNameByKey.d.ts +0 -0
- package/{dist → core}/Helpers/Items/getItemNameByKey.js +0 -0
- package/{dist → core}/Helpers/Items/isBootsItemKey.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isBootsItemKey.js +0 -0
- package/{dist → core}/Helpers/Items/isBootsItemName.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isBootsItemName.js +0 -0
- package/{dist → core}/Helpers/Items/isItemKey.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isItemKey.js +0 -0
- package/{dist → core}/Helpers/Items/isItemName.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isItemName.js +0 -0
- package/{dist → core}/Helpers/Items/isItemType.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isItemType.js +0 -0
- package/{dist → core}/Helpers/Items/isLegendaryItemKey.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isLegendaryItemKey.js +0 -0
- package/{dist → core}/Helpers/Items/isLegendaryItemName.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isLegendaryItemName.js +0 -0
- package/{dist → core}/Helpers/Items/isMythicItemKey.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isMythicItemKey.js +0 -0
- package/{dist → core}/Helpers/Items/isMythicItemName.d.ts +0 -0
- package/{dist → core}/Helpers/Items/isMythicItemName.js +0 -0
- package/{dist → core}/Helpers/Meta/isChampionRelationType.d.ts +0 -0
- package/{dist → core}/Helpers/Meta/isChampionRelationType.js +0 -0
- package/{dist → core}/Helpers/Runes/getRuneCDNURL.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getRuneCDNURL.js +0 -0
- package/{dist → core}/Helpers/Runes/getRuneCategoryByRuneName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getRuneCategoryByRuneName.js +0 -0
- package/{dist → core}/Helpers/Runes/getRuneIdByName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getRuneIdByName.js +0 -0
- package/{dist → core}/Helpers/Runes/getRuneNameById.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getRuneNameById.js +0 -0
- package/{dist → core}/Helpers/Runes/getRuneTreeIdByName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getRuneTreeIdByName.js +0 -0
- package/{dist → core}/Helpers/Runes/getRuneTreeNameById.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getRuneTreeNameById.js +0 -0
- package/{dist → core}/Helpers/Runes/getStatRuneIdByName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getStatRuneIdByName.js +0 -0
- package/{dist → core}/Helpers/Runes/getStatRuneNameById.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getStatRuneNameById.js +0 -0
- package/{dist → core}/Helpers/Runes/getTreeRuneIdByName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getTreeRuneIdByName.js +0 -0
- package/{dist → core}/Helpers/Runes/getTreeRuneNameById.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/getTreeRuneNameById.js +0 -0
- package/{dist → core}/Helpers/Runes/isDominationTreeRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isDominationTreeRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isInspirationTreeRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isInspirationTreeRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isKeystoneRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isKeystoneRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isPrecisionTreeRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isPrecisionTreeRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isResolveTreeRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isResolveTreeRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isRuneName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isRuneName.js +0 -0
- package/{dist → core}/Helpers/Runes/isRuneTreeId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isRuneTreeId.js +0 -0
- package/{dist → core}/Helpers/Runes/isRuneTreeName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isRuneTreeName.js +0 -0
- package/{dist → core}/Helpers/Runes/isRuneTreeType.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isRuneTreeType.js +0 -0
- package/{dist → core}/Helpers/Runes/isSorceryTreeRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isSorceryTreeRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isStatRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isStatRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isStatRuneName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isStatRuneName.js +0 -0
- package/{dist → core}/Helpers/Runes/isTreeRuneId.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isTreeRuneId.js +0 -0
- package/{dist → core}/Helpers/Runes/isTreeRuneName.d.ts +0 -0
- package/{dist → core}/Helpers/Runes/isTreeRuneName.js +0 -0
- package/{dist → core}/Helpers/Spells/getSpellIdByKey.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/getSpellIdByKey.js +0 -0
- package/{dist → core}/Helpers/Spells/getSpellIdByName.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/getSpellIdByName.js +0 -0
- package/{dist → core}/Helpers/Spells/getSpellKeyById.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/getSpellKeyById.js +0 -0
- package/{dist → core}/Helpers/Spells/getSpellKeyByName.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/getSpellKeyByName.js +0 -0
- package/{dist → core}/Helpers/Spells/getSpellNameById.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/getSpellNameById.js +0 -0
- package/{dist → core}/Helpers/Spells/getSpellNameByKey.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/getSpellNameByKey.js +0 -0
- package/{dist → core}/Helpers/Spells/isSpellId.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/isSpellId.js +0 -0
- package/{dist → core}/Helpers/Spells/isSpellKey.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/isSpellKey.js +0 -0
- package/{dist → core}/Helpers/Spells/isSpellName.d.ts +0 -0
- package/{dist → core}/Helpers/Spells/isSpellName.js +0 -0
- package/{dist → core}/Helpers/isLane.d.ts +0 -0
- package/{dist → core}/Helpers/isLane.js +0 -0
- package/{dist → core}/Helpers/isLevel.d.ts +0 -0
- package/{dist → core}/Helpers/isLevel.js +0 -0
- package/{dist → core}/Helpers/isPosition.d.ts +0 -0
- package/{dist → core}/Helpers/isPosition.js +0 -0
- package/{dist → core}/Helpers/isSkill.d.ts +0 -0
- package/{dist → core}/Helpers/isSkill.js +0 -0
- package/{dist → core}/index.d.ts +0 -0
- package/{dist → core}/index.js +0 -2
- package/{dist → core}/types/Meta.d.ts +0 -0
- package/{dist → core}/types/Meta.js +0 -0
- package/{dist → core}/types/index.d.ts +0 -0
- package/{dist → core}/types/index.js +0 -0
- package/package.json +6 -6
- package/assets/Constants/champion.json +0 -1
- package/assets/Constants/item.json +0 -1
- package/assets/Constants/runesReforged.json +0 -1
- package/assets/Constants/summoner.json +0 -1
- package/dist/Constants/Champions/ChampionIdsByName.js +0 -4
- package/dist/Constants/Champions/ChampionKeys.js +0 -4
- package/dist/Constants/Items/ItemKeys.js +0 -4
- package/dist/Constants/Items/ItemNames.js +0 -4
- package/dist/Constants/Items/LegendaryItemNames.js +0 -4
- package/dist/Constants/Items/MythicItemKeys.js +0 -4
- package/dist/Constants/Items/MythicItemNames.js +0 -4
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/{dist → core}/index.d.ts
RENAMED
File without changes
|
package/{dist → core}/index.js
RENAMED
@@ -224,8 +224,6 @@ var isSpellKey_1 = require("./Helpers/Spells/isSpellKey");
|
|
224
224
|
Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
|
225
225
|
var isSpellName_1 = require("./Helpers/Spells/isSpellName");
|
226
226
|
Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
|
227
|
-
// # scripts
|
228
|
-
// —
|
229
227
|
// # types
|
230
228
|
__exportStar(require("./types"), exports);
|
231
229
|
__exportStar(require("./types/Meta"), exports);
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/package.json
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "lol-constants",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.12.0",
|
4
4
|
"description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
|
5
|
-
"main": "
|
6
|
-
"types": "
|
5
|
+
"main": "core/index.js",
|
6
|
+
"types": "core/index.d.ts",
|
7
7
|
"license": "MIT",
|
8
8
|
"files": [
|
9
|
-
"/
|
9
|
+
"/core",
|
10
10
|
"/assets"
|
11
11
|
],
|
12
12
|
"scripts": {
|
13
|
-
"clean-build": "rmdir /s /q
|
14
|
-
"clean-build-assets": "rmdir /s /q assets && cd srcAssets && tsc",
|
13
|
+
"clean-build": "rmdir /s /q core && rmdir /s /q assets && tsc",
|
15
14
|
"generate": "node assets/scripts/generate-all",
|
16
15
|
"dev": "vite"
|
17
16
|
},
|
18
17
|
"devDependencies": {
|
19
18
|
"@types/node": "^17.0.42",
|
19
|
+
"typescript": "^4.8.4",
|
20
20
|
"vite": "^2.9.13"
|
21
21
|
},
|
22
22
|
"repository": {
|