lol-constants 1.13.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{Constants → constants}/BootsItemNames.d.ts +6 -4
- package/assets/{Constants → constants}/BootsItemNames.js +21 -17
- package/assets/{Constants → constants}/Champion.d.ts +7668 -7621
- package/assets/constants/Champion.js +4 -0
- package/assets/{Constants → constants}/Item.d.ts +10073 -10073
- package/assets/constants/Item.js +4 -0
- package/assets/{Constants → constants}/LegendaryItemNames.d.ts +6 -4
- package/assets/{Constants → constants}/LegendaryItemNames.js +86 -82
- package/assets/{Constants → constants}/MythicItemNames.d.ts +6 -4
- package/assets/{Constants → constants}/MythicItemNames.js +40 -36
- package/assets/{Constants → constants}/RunesReforged.d.ts +512 -512
- package/assets/{Constants → constants}/RunesReforged.js +4 -4
- package/assets/{Constants → constants}/StatRunes.d.ts +15 -14
- package/assets/{Constants → constants}/StatRunes.js +17 -17
- package/assets/{Constants → constants}/StatRunesByRow.d.ts +20 -20
- package/assets/{Constants → constants}/StatRunesByRow.js +23 -23
- package/assets/{Constants → constants}/Summoner.d.ts +518 -518
- package/assets/{Constants → constants}/Summoner.js +4 -4
- package/assets/index.d.ts +9 -9
- package/assets/index.js +28 -24
- package/assets/scripts/generate-all.d.ts +17 -17
- package/assets/scripts/generate-all.js +19 -19
- package/assets/scripts/generate-categorized-item-keys.d.ts +1 -1
- package/assets/scripts/generate-categorized-item-keys.js +57 -57
- package/assets/scripts/generate-categorized-item-names.d.ts +1 -1
- package/assets/scripts/generate-categorized-item-names.js +57 -57
- package/assets/scripts/generate-champion-ids-by-name.d.ts +1 -1
- package/assets/scripts/generate-champion-ids-by-name.js +17 -17
- package/assets/scripts/generate-champion-ids.d.ts +1 -1
- package/assets/scripts/generate-champion-ids.js +17 -17
- package/assets/scripts/generate-champion-keys.d.ts +1 -1
- package/assets/scripts/generate-champion-keys.js +17 -17
- package/assets/scripts/generate-champion-names.d.ts +1 -1
- package/assets/scripts/generate-champion-names.js +17 -17
- package/assets/scripts/generate-item-keys.d.ts +1 -1
- package/assets/scripts/generate-item-keys.js +18 -18
- package/assets/scripts/generate-item-names.d.ts +1 -1
- package/assets/scripts/generate-item-names.js +18 -18
- package/assets/scripts/generate-rune-ids.d.ts +1 -1
- package/assets/scripts/generate-rune-ids.js +26 -26
- package/assets/scripts/generate-rune-names.d.ts +1 -1
- package/assets/scripts/generate-rune-names.js +26 -26
- package/assets/scripts/generate-rune-picking-relationships.d.ts +1 -1
- package/assets/scripts/generate-rune-picking-relationships.js +54 -54
- package/assets/scripts/generate-rune-sets-by-rune-names.d.ts +1 -1
- package/assets/scripts/generate-rune-sets-by-rune-names.js +116 -116
- package/assets/scripts/generate-rune-sets.d.ts +1 -1
- package/assets/scripts/generate-rune-sets.js +116 -116
- package/assets/scripts/generate-spell-ids-by-name.d.ts +1 -1
- package/assets/scripts/generate-spell-ids-by-name.js +17 -17
- package/assets/scripts/generate-spell-ids.d.ts +1 -1
- package/assets/scripts/generate-spell-ids.js +17 -17
- package/assets/scripts/generate-spell-keys.d.ts +1 -1
- package/assets/scripts/generate-spell-keys.js +17 -17
- package/assets/scripts/generate-spell-names.d.ts +1 -1
- package/assets/scripts/generate-spell-names.js +17 -17
- package/assets/scripts/generate-stat-rune-ids.d.ts +1 -1
- package/assets/scripts/generate-stat-rune-ids.js +17 -17
- package/assets/scripts/generate-stat-rune-names.d.ts +1 -1
- package/assets/scripts/generate-stat-rune-names.js +17 -17
- package/assets/scripts/generate-tree-rune-ids.d.ts +1 -1
- package/assets/scripts/generate-tree-rune-ids.js +19 -19
- package/assets/scripts/generate-tree-rune-names.d.ts +1 -1
- package/assets/scripts/generate-tree-rune-names.js +19 -19
- package/assets/scripts/{Helpers → helpers}/enableEscapedValues.d.ts +15 -15
- package/assets/scripts/{Helpers → helpers}/enableEscapedValues.js +38 -38
- package/assets/scripts/{Helpers → helpers}/getExportStatement.d.ts +6 -6
- package/assets/scripts/{Helpers → helpers}/getExportStatement.js +16 -16
- package/assets/scripts/{Helpers → helpers}/getFmtdComment.d.ts +5 -5
- package/assets/scripts/{Helpers → helpers}/getFmtdComment.js +15 -15
- package/assets/scripts/{Helpers → helpers}/writeToTmpFile.d.ts +8 -8
- package/assets/scripts/{Helpers → helpers}/writeToTmpFile.js +22 -22
- package/core/{Constants → constants}/Champions/ChampionIds.d.ts +165 -164
- package/core/{Constants → constants}/Champions/ChampionIds.js +4 -4
- package/core/{Constants → constants}/Champions/ChampionIdsByName.d.ts +165 -164
- package/core/constants/Champions/ChampionIdsByName.js +4 -0
- package/core/{Constants → constants}/Champions/ChampionKeys.d.ts +165 -164
- package/core/constants/Champions/ChampionKeys.js +4 -0
- package/core/{Constants → constants}/Champions/ChampionNames.d.ts +165 -164
- package/core/{Constants → constants}/Champions/ChampionNames.js +4 -4
- package/core/{Constants/DDPaths.d.ts → constants/DataDragonUrls.d.ts} +38 -38
- package/core/{Constants/DDPaths.js → constants/DataDragonUrls.js} +45 -45
- package/core/constants/GameModes.d.ts +12 -0
- package/core/constants/GameModes.js +17 -0
- package/core/constants/GameTypes.d.ts +7 -0
- package/core/constants/GameTypes.js +12 -0
- package/core/{Constants → constants}/Items/BootsItemKeys.d.ts +11 -11
- package/core/{Constants → constants}/Items/BootsItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/BootsItemNames.d.ts +11 -11
- package/core/{Constants → constants}/Items/BootsItemNames.js +4 -4
- package/core/{Constants → constants}/Items/ItemKeys.d.ts +263 -263
- package/core/{Constants → constants}/Items/ItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/ItemNames.d.ts +271 -271
- package/core/{Constants → constants}/Items/ItemNames.js +4 -4
- package/core/{Constants → constants}/Items/ItemTypes.d.ts +8 -6
- package/core/{Constants → constants}/Items/ItemTypes.js +13 -9
- package/core/{Constants → constants}/Items/LegendaryItemKeys.d.ts +76 -76
- package/core/{Constants → constants}/Items/LegendaryItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/LegendaryItemNames.d.ts +76 -76
- package/core/{Constants → constants}/Items/LegendaryItemNames.js +4 -4
- package/core/{Constants → constants}/Items/MythicItemKeys.d.ts +30 -30
- package/core/{Constants → constants}/Items/MythicItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/MythicItemNames.d.ts +30 -30
- package/core/{Constants → constants}/Items/MythicItemNames.js +4 -4
- package/core/{Constants → constants}/Lanes.d.ts +8 -6
- package/core/{Constants → constants}/Lanes.js +13 -9
- package/core/{Constants → constants}/Levels.d.ts +22 -20
- package/core/{Constants → constants}/Levels.js +27 -23
- package/core/constants/Locales.d.ts +32 -0
- package/core/constants/Locales.js +37 -0
- package/core/constants/PlatformIds.d.ts +15 -0
- package/core/constants/PlatformIds.js +20 -0
- package/core/{Constants → constants}/Positions.d.ts +9 -7
- package/core/{Constants → constants}/Positions.js +14 -10
- package/core/constants/Queues.d.ts +7 -0
- package/core/constants/Queues.js +12 -0
- package/core/constants/RankedRanks.d.ts +8 -0
- package/core/constants/RankedRanks.js +13 -0
- package/core/constants/RankedTiers.d.ts +13 -0
- package/core/constants/RankedTiers.js +18 -0
- package/core/constants/Regions.d.ts +21 -0
- package/core/constants/Regions.js +26 -0
- package/core/constants/RelativeTeams.d.ts +6 -0
- package/core/constants/RelativeTeams.js +11 -0
- package/core/constants/Roles.d.ts +8 -0
- package/core/constants/Roles.js +13 -0
- package/core/{Constants → constants}/Runes/RuneIconFileNames.d.ts +13 -12
- package/core/{Constants → constants}/Runes/RuneIconFileNames.js +101 -101
- package/core/{Constants → constants}/Runes/RunePickingRelationships.d.ts +77 -77
- package/core/{Constants → constants}/Runes/RunePickingRelationships.js +7 -7
- package/core/{Constants → constants}/Runes/RuneSets.d.ts +743 -743
- package/core/{Constants → constants}/Runes/RuneSets.js +14 -14
- package/core/{Constants → constants}/Runes/RuneSetsByRuneNames.d.ts +743 -743
- package/core/constants/Runes/RuneSetsByRuneNames.js +14 -0
- package/core/constants/Runes/RuneTreeIds.d.ts +11 -0
- package/core/constants/Runes/RuneTreeIds.js +19 -0
- package/core/constants/Runes/RuneTreeNames.d.ts +11 -0
- package/core/constants/Runes/RuneTreeNames.js +19 -0
- package/core/constants/Runes/RuneTreeTypes.d.ts +6 -0
- package/core/constants/Runes/RuneTreeTypes.js +11 -0
- package/core/{Constants → constants}/Runes/TreeRuneIds.d.ts +65 -65
- package/core/{Constants → constants}/Runes/TreeRuneIds.js +4 -4
- package/core/{Constants → constants}/Runes/TreeRuneNames.d.ts +65 -65
- package/core/{Constants → constants}/Runes/TreeRuneNames.js +4 -4
- package/core/{Constants → constants}/Skills.d.ts +8 -6
- package/core/constants/Skills.js +13 -0
- package/core/{Constants → constants}/Spells/SpellIds.d.ts +18 -18
- package/core/{Constants → constants}/Spells/SpellIds.js +4 -4
- package/core/{Constants → constants}/Spells/SpellIdsByName.d.ts +17 -17
- package/core/{Constants → constants}/Spells/SpellIdsByName.js +4 -4
- package/core/{Constants → constants}/Spells/SpellKeys.d.ts +18 -18
- package/core/{Constants → constants}/Spells/SpellKeys.js +4 -4
- package/core/{Constants → constants}/Spells/SpellNames.d.ts +18 -18
- package/core/{Constants → constants}/Spells/SpellNames.js +4 -4
- package/core/constants/WardTypes.d.ts +7 -0
- package/core/constants/WardTypes.js +12 -0
- package/core/{Helpers → helpers}/Champions/getChampionIdByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionIdByKey.js +8 -8
- package/core/{Helpers → helpers}/Champions/getChampionIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionIdByName.js +8 -8
- package/core/{Helpers → helpers}/Champions/getChampionKeyById.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionKeyById.js +8 -8
- package/core/{Helpers → helpers}/Champions/getChampionKeyByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionKeyByName.js +9 -9
- package/core/{Helpers → helpers}/Champions/getChampionNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionNameById.js +9 -9
- package/core/{Helpers → helpers}/Champions/getChampionNameByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionNameByKey.js +8 -8
- package/core/{Helpers → helpers}/Champions/isChampionId.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/isChampionId.js +8 -8
- package/core/{Helpers → helpers}/Champions/isChampionKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/isChampionKey.js +8 -8
- package/core/{Helpers → helpers}/Champions/isChampionName.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/isChampionName.js +8 -8
- package/core/{Helpers → helpers}/Items/getItemKeyByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/getItemKeyByName.js +8 -8
- package/core/{Helpers → helpers}/Items/getItemNameByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/getItemNameByKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isBootsItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isBootsItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isBootsItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isBootsItemName.js +8 -8
- package/core/{Helpers → helpers}/Items/isItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isItemName.js +8 -8
- package/core/{Helpers → helpers}/Items/isLegendaryItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isLegendaryItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isLegendaryItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isLegendaryItemName.js +8 -8
- package/core/{Helpers → helpers}/Items/isMythicItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isMythicItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isMythicItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isMythicItemName.js +8 -8
- package/core/helpers/Runes/getRuneCategoryName.d.ts +3 -0
- package/core/helpers/Runes/getRuneCategoryName.js +20 -0
- package/core/helpers/Runes/getRuneCdnUrl.d.ts +3 -0
- package/core/{Helpers/Runes/getRuneCDNURL.js → helpers/Runes/getRuneCdnUrl.js} +49 -53
- package/core/{Helpers → helpers}/Runes/getRuneIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getRuneIdByName.js +8 -8
- package/core/{Helpers → helpers}/Runes/getRuneNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getRuneNameById.js +8 -8
- package/core/{Helpers → helpers}/Runes/getStatRuneIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getStatRuneIdByName.js +8 -8
- package/core/{Helpers → helpers}/Runes/getStatRuneNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getStatRuneNameById.js +8 -8
- package/core/{Helpers → helpers}/Runes/getTreeRuneIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getTreeRuneIdByName.js +8 -8
- package/core/{Helpers → helpers}/Runes/getTreeRuneNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getTreeRuneNameById.js +8 -8
- package/core/{Helpers → helpers}/Runes/isDominationTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isDominationTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isInspirationTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isInspirationTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isKeystoneRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isKeystoneRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isPrecisionTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isPrecisionTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isResolveTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isResolveTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isRuneName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isRuneName.js +8 -8
- package/core/{Helpers → helpers}/Runes/isSorceryTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isSorceryTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isStatRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isStatRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isStatRuneName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isStatRuneName.js +8 -8
- package/core/{Helpers → helpers}/Runes/isTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isTreeRuneName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isTreeRuneName.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellIdByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellIdByKey.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellIdByName.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellKeyById.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellKeyById.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellKeyByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellKeyByName.js +9 -9
- package/core/{Helpers → helpers}/Spells/getSpellNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellNameById.js +9 -9
- package/core/{Helpers → helpers}/Spells/getSpellNameByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellNameByKey.js +8 -8
- package/core/{Helpers → helpers}/Spells/isSpellId.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/isSpellId.js +8 -8
- package/core/{Helpers → helpers}/Spells/isSpellKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/isSpellKey.js +8 -8
- package/core/{Helpers → helpers}/Spells/isSpellName.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/isSpellName.js +8 -8
- package/core/helpers/getPositionImageUrl.d.ts +2 -0
- package/core/helpers/getPositionImageUrl.js +15 -0
- package/core/index.d.ts +90 -92
- package/core/index.js +129 -229
- package/core/types/types.d.ts +210 -0
- package/core/types/{Meta.js → types.js} +2 -2
- package/package.json +4 -4
- package/assets/Constants/Champion.js +0 -4
- package/assets/Constants/Item.js +0 -4
- package/core/Constants/Champions/ChampionIdsByName.js +0 -4
- package/core/Constants/Champions/ChampionKeys.js +0 -4
- package/core/Constants/Meta/ChampionRelationTypes.d.ts +0 -4
- package/core/Constants/Meta/ChampionRelationTypes.js +0 -7
- package/core/Constants/Runes/RuneSetsByRuneNames.js +0 -14
- package/core/Constants/Runes/RuneTreeIds.d.ts +0 -7
- package/core/Constants/Runes/RuneTreeIds.js +0 -10
- package/core/Constants/Runes/RuneTreeNames.d.ts +0 -7
- package/core/Constants/Runes/RuneTreeNames.js +0 -10
- package/core/Constants/Runes/RuneTreeTypes.d.ts +0 -4
- package/core/Constants/Runes/RuneTreeTypes.js +0 -7
- package/core/Constants/Skills.js +0 -9
- package/core/Helpers/Icons/getPositionImageURL.d.ts +0 -5
- package/core/Helpers/Icons/getPositionImageURL.js +0 -15
- package/core/Helpers/Items/isItemType.d.ts +0 -2
- package/core/Helpers/Items/isItemType.js +0 -8
- package/core/Helpers/Meta/isChampionRelationType.d.ts +0 -2
- package/core/Helpers/Meta/isChampionRelationType.js +0 -8
- package/core/Helpers/Runes/getRuneCDNURL.d.ts +0 -6
- package/core/Helpers/Runes/getRuneCategoryByRuneName.d.ts +0 -5
- package/core/Helpers/Runes/getRuneCategoryByRuneName.js +0 -28
- package/core/Helpers/Runes/getRuneTreeIdByName.d.ts +0 -2
- package/core/Helpers/Runes/getRuneTreeIdByName.js +0 -8
- package/core/Helpers/Runes/getRuneTreeNameById.d.ts +0 -2
- package/core/Helpers/Runes/getRuneTreeNameById.js +0 -8
- package/core/Helpers/Runes/isRuneTreeId.d.ts +0 -2
- package/core/Helpers/Runes/isRuneTreeId.js +0 -8
- package/core/Helpers/Runes/isRuneTreeName.d.ts +0 -2
- package/core/Helpers/Runes/isRuneTreeName.js +0 -8
- package/core/Helpers/Runes/isRuneTreeType.d.ts +0 -2
- package/core/Helpers/Runes/isRuneTreeType.js +0 -8
- package/core/Helpers/isLane.d.ts +0 -2
- package/core/Helpers/isLane.js +0 -8
- package/core/Helpers/isLevel.d.ts +0 -2
- package/core/Helpers/isLevel.js +0 -8
- package/core/Helpers/isPosition.d.ts +0 -2
- package/core/Helpers/isPosition.js +0 -8
- package/core/Helpers/isSkill.d.ts +0 -2
- package/core/Helpers/isSkill.js +0 -8
- package/core/types/Meta.d.ts +0 -40
- package/core/types/index.d.ts +0 -197
- package/core/types/index.js +0 -2
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ChampionIdsByName = void 0;
|
4
|
-
exports.ChampionIdsByName = { "Aatrox": "Aatrox", "Ahri": "Ahri", "Akali": "Akali", "Akshan": "Akshan", "Alistar": "Alistar", "Amumu": "Amumu", "Anivia": "Anivia", "Annie": "Annie", "Aphelios": "Aphelios", "Ashe": "Ashe", "Aurelion Sol": "AurelionSol", "Azir": "Azir", "Bard": "Bard", "Bel'Veth": "Belveth", "Blitzcrank": "Blitzcrank", "Brand": "Brand", "Braum": "Braum", "Caitlyn": "Caitlyn", "Camille": "Camille", "Cassiopeia": "Cassiopeia", "Cho'Gath": "Chogath", "Corki": "Corki", "Darius": "Darius", "Diana": "Diana", "Draven": "Draven", "Dr. Mundo": "DrMundo", "Ekko": "Ekko", "Elise": "Elise", "Evelynn": "Evelynn", "Ezreal": "Ezreal", "Fiddlesticks": "Fiddlesticks", "Fiora": "Fiora", "Fizz": "Fizz", "Galio": "Galio", "Gangplank": "Gangplank", "Garen": "Garen", "Gnar": "Gnar", "Gragas": "Gragas", "Graves": "Graves", "Gwen": "Gwen", "Hecarim": "Hecarim", "Heimerdinger": "Heimerdinger", "Illaoi": "Illaoi", "Irelia": "Irelia", "Ivern": "Ivern", "Janna": "Janna", "Jarvan IV": "JarvanIV", "Jax": "Jax", "Jayce": "Jayce", "Jhin": "Jhin", "Jinx": "Jinx", "Kai'Sa": "Kaisa", "Kalista": "Kalista", "Karma": "Karma", "Karthus": "Karthus", "Kassadin": "Kassadin", "Katarina": "Katarina", "Kayle": "Kayle", "Kayn": "Kayn", "Kennen": "Kennen", "Kha'Zix": "Khazix", "Kindred": "Kindred", "Kled": "Kled", "Kog'Maw": "KogMaw", "K'Sante": "KSante", "LeBlanc": "Leblanc", "Lee Sin": "LeeSin", "Leona": "Leona", "Lillia": "Lillia", "Lissandra": "Lissandra", "Lucian": "Lucian", "Lulu": "Lulu", "Lux": "Lux", "Malphite": "Malphite", "Malzahar": "Malzahar", "Maokai": "Maokai", "Master Yi": "MasterYi", "Miss Fortune": "MissFortune", "Wukong": "MonkeyKing", "Mordekaiser": "Mordekaiser", "Morgana": "Morgana", "Nami": "Nami", "Nasus": "Nasus", "Nautilus": "Nautilus", "Neeko": "Neeko", "Nidalee": "Nidalee", "Nilah": "Nilah", "Nocturne": "Nocturne", "Nunu & Willump": "Nunu", "Olaf": "Olaf", "Orianna": "Orianna", "Ornn": "Ornn", "Pantheon": "Pantheon", "Poppy": "Poppy", "Pyke": "Pyke", "Qiyana": "Qiyana", "Quinn": "Quinn", "Rakan": "Rakan", "Rammus": "Rammus", "Rek'Sai": "RekSai", "Rell": "Rell", "Renata Glasc": "Renata", "Renekton": "Renekton", "Rengar": "Rengar", "Riven": "Riven", "Rumble": "Rumble", "Ryze": "Ryze", "Samira": "Samira", "Sejuani": "Sejuani", "Senna": "Senna", "Seraphine": "Seraphine", "Sett": "Sett", "Shaco": "Shaco", "Shen": "Shen", "Shyvana": "Shyvana", "Singed": "Singed", "Sion": "Sion", "Sivir": "Sivir", "Skarner": "Skarner", "Sona": "Sona", "Soraka": "Soraka", "Swain": "Swain", "Sylas": "Sylas", "Syndra": "Syndra", "Tahm Kench": "TahmKench", "Taliyah": "Taliyah", "Talon": "Talon", "Taric": "Taric", "Teemo": "Teemo", "Thresh": "Thresh", "Tristana": "Tristana", "Trundle": "Trundle", "Tryndamere": "Tryndamere", "Twisted Fate": "TwistedFate", "Twitch": "Twitch", "Udyr": "Udyr", "Urgot": "Urgot", "Varus": "Varus", "Vayne": "Vayne", "Veigar": "Veigar", "Vel'Koz": "Velkoz", "Vex": "Vex", "Vi": "Vi", "Viego": "Viego", "Viktor": "Viktor", "Vladimir": "Vladimir", "Volibear": "Volibear", "Warwick": "Warwick", "Xayah": "Xayah", "Xerath": "Xerath", "Xin Zhao": "XinZhao", "Yasuo": "Yasuo", "Yone": "Yone", "Yorick": "Yorick", "Yuumi": "Yuumi", "Zac": "Zac", "Zed": "Zed", "Zeri": "Zeri", "Ziggs": "Ziggs", "Zilean": "Zilean", "Zoe": "Zoe", "Zyra": "Zyra" };
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ChampionKeys = void 0;
|
4
|
-
exports.ChampionKeys = { "Aatrox": "266", "Ahri": "103", "Akali": "84", "Akshan": "166", "Alistar": "12", "Amumu": "32", "Anivia": "34", "Annie": "1", "Aphelios": "523", "Ashe": "22", "AurelionSol": "136", "Azir": "268", "Bard": "432", "Belveth": "200", "Blitzcrank": "53", "Brand": "63", "Braum": "201", "Caitlyn": "51", "Camille": "164", "Cassiopeia": "69", "Chogath": "31", "Corki": "42", "Darius": "122", "Diana": "131", "Draven": "119", "DrMundo": "36", "Ekko": "245", "Elise": "60", "Evelynn": "28", "Ezreal": "81", "Fiddlesticks": "9", "Fiora": "114", "Fizz": "105", "Galio": "3", "Gangplank": "41", "Garen": "86", "Gnar": "150", "Gragas": "79", "Graves": "104", "Gwen": "887", "Hecarim": "120", "Heimerdinger": "74", "Illaoi": "420", "Irelia": "39", "Ivern": "427", "Janna": "40", "JarvanIV": "59", "Jax": "24", "Jayce": "126", "Jhin": "202", "Jinx": "222", "Kaisa": "145", "Kalista": "429", "Karma": "43", "Karthus": "30", "Kassadin": "38", "Katarina": "55", "Kayle": "10", "Kayn": "141", "Kennen": "85", "Khazix": "121", "Kindred": "203", "Kled": "240", "KogMaw": "96", "KSante": "897", "Leblanc": "7", "LeeSin": "64", "Leona": "89", "Lillia": "876", "Lissandra": "127", "Lucian": "236", "Lulu": "117", "Lux": "99", "Malphite": "54", "Malzahar": "90", "Maokai": "57", "MasterYi": "11", "MissFortune": "21", "MonkeyKing": "62", "Mordekaiser": "82", "Morgana": "25", "Nami": "267", "Nasus": "75", "Nautilus": "111", "Neeko": "518", "Nidalee": "76", "Nilah": "895", "Nocturne": "56", "Nunu": "20", "Olaf": "2", "Orianna": "61", "Ornn": "516", "Pantheon": "80", "Poppy": "78", "Pyke": "555", "Qiyana": "246", "Quinn": "133", "Rakan": "497", "Rammus": "33", "RekSai": "421", "Rell": "526", "Renata": "888", "Renekton": "58", "Rengar": "107", "Riven": "92", "Rumble": "68", "Ryze": "13", "Samira": "360", "Sejuani": "113", "Senna": "235", "Seraphine": "147", "Sett": "875", "Shaco": "35", "Shen": "98", "Shyvana": "102", "Singed": "27", "Sion": "14", "Sivir": "15", "Skarner": "72", "Sona": "37", "Soraka": "16", "Swain": "50", "Sylas": "517", "Syndra": "134", "TahmKench": "223", "Taliyah": "163", "Talon": "91", "Taric": "44", "Teemo": "17", "Thresh": "412", "Tristana": "18", "Trundle": "48", "Tryndamere": "23", "TwistedFate": "4", "Twitch": "29", "Udyr": "77", "Urgot": "6", "Varus": "110", "Vayne": "67", "Veigar": "45", "Velkoz": "161", "Vex": "711", "Vi": "254", "Viego": "234", "Viktor": "112", "Vladimir": "8", "Volibear": "106", "Warwick": "19", "Xayah": "498", "Xerath": "101", "XinZhao": "5", "Yasuo": "157", "Yone": "777", "Yorick": "83", "Yuumi": "350", "Zac": "154", "Zed": "238", "Zeri": "221", "Ziggs": "115", "Zilean": "26", "Zoe": "142", "Zyra": "143" };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneSetsByRuneNames = exports.StatRuneHSets = exports.RuneTreeHSets = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTrees = exports.PrimaryRuneTrees = void 0;
|
4
|
-
exports.PrimaryRuneTrees = { "Domination": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
|
5
|
-
exports.SecondaryRuneTrees = { "Domination": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" }, "Inspiration": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" }, "Precision": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" }, "Resolve": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
|
6
|
-
exports.KeystoneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" };
|
7
|
-
exports.StatRuneIds = { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f", "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" };
|
8
|
-
exports.RuneIds = { ...exports.PrimaryRuneTrees.Precision, ...exports.PrimaryRuneTrees.Domination, ...exports.PrimaryRuneTrees.Sorcery, ...exports.PrimaryRuneTrees.Resolve, ...exports.PrimaryRuneTrees.Inspiration, ...exports.StatRuneIds };
|
9
|
-
exports.RuneTreeHSets = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
|
10
|
-
exports.StatRuneHSets = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" }, "2": { "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" } };
|
11
|
-
/**
|
12
|
-
* Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
|
13
|
-
*/
|
14
|
-
exports.RuneSetsByRuneNames = { PrimaryRuneTrees: exports.PrimaryRuneTrees, SecondaryRuneTrees: exports.SecondaryRuneTrees, KeystoneIds: exports.KeystoneIds, StatRuneIds: exports.StatRuneIds, RuneIds: exports.RuneIds, RuneTreeHSets: exports.RuneTreeHSets, StatRuneHSets: exports.StatRuneHSets };
|
package/core/Constants/Skills.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PositionURLPaths = exports.getPositionImageURL = void 0;
|
4
|
-
const DDPaths_1 = require("../../Constants/DDPaths");
|
5
|
-
function getPositionImageURL(position) {
|
6
|
-
return `${DDPaths_1.DDPaths.POSITION_ICON_BASE}/${exports.PositionURLPaths[position]}.svg`;
|
7
|
-
}
|
8
|
-
exports.getPositionImageURL = getPositionImageURL;
|
9
|
-
exports.PositionURLPaths = {
|
10
|
-
TOP: 'position-top',
|
11
|
-
JUNGLE: 'position-jungle',
|
12
|
-
MIDDLE: 'position-middle',
|
13
|
-
BOTTOM: 'position-bottom',
|
14
|
-
UTILITY: 'position-utility',
|
15
|
-
};
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,28 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuneCategoryByRuneName = void 0;
|
4
|
-
const RuneSetsByRuneNames_1 = require("../../Constants/Runes/RuneSetsByRuneNames");
|
5
|
-
/**
|
6
|
-
* Returns the name of the Rune Tree that the Rune belongs to.
|
7
|
-
*/
|
8
|
-
function getRuneCategoryByRuneName(name) {
|
9
|
-
// Start with StatRunes because it is the tiniest of all
|
10
|
-
if (name in RuneSetsByRuneNames_1.StatRuneIds)
|
11
|
-
return 'StatRunes';
|
12
|
-
// Continue on with the rest of the runes
|
13
|
-
if (name in RuneSetsByRuneNames_1.PrimaryRuneTrees.Precision)
|
14
|
-
return 'Precision';
|
15
|
-
if (name in RuneSetsByRuneNames_1.PrimaryRuneTrees.Domination)
|
16
|
-
return 'Domination';
|
17
|
-
if (name in RuneSetsByRuneNames_1.PrimaryRuneTrees.Sorcery)
|
18
|
-
return 'Sorcery';
|
19
|
-
if (name in RuneSetsByRuneNames_1.PrimaryRuneTrees.Resolve)
|
20
|
-
return 'Resolve';
|
21
|
-
if (name in RuneSetsByRuneNames_1.PrimaryRuneTrees.Inspiration)
|
22
|
-
return 'Inspiration';
|
23
|
-
// Note: It should be impossible to reach code this far
|
24
|
-
// so long as constants are not missing any values,
|
25
|
-
// and `name` is truly of type `RuneName`.
|
26
|
-
return 'Precision';
|
27
|
-
}
|
28
|
-
exports.getRuneCategoryByRuneName = getRuneCategoryByRuneName;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuneTreeIdByName = void 0;
|
4
|
-
const RuneTreeIds_1 = require("../../Constants/Runes/RuneTreeIds");
|
5
|
-
function getRuneTreeIdByName(name) {
|
6
|
-
return RuneTreeIds_1.RuneTreeIds[name];
|
7
|
-
}
|
8
|
-
exports.getRuneTreeIdByName = getRuneTreeIdByName;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getRuneTreeNameById = void 0;
|
4
|
-
const RuneTreeNames_1 = require("../../Constants/Runes/RuneTreeNames");
|
5
|
-
function getRuneTreeNameById(id) {
|
6
|
-
return RuneTreeNames_1.RuneTreeNames[id];
|
7
|
-
}
|
8
|
-
exports.getRuneTreeNameById = getRuneTreeNameById;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRuneTreeId = void 0;
|
4
|
-
const RuneTreeNames_1 = require("../../Constants/Runes/RuneTreeNames");
|
5
|
-
function isRuneTreeId(id) {
|
6
|
-
return id in RuneTreeNames_1.RuneTreeNames;
|
7
|
-
}
|
8
|
-
exports.isRuneTreeId = isRuneTreeId;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRuneTreeName = void 0;
|
4
|
-
const RuneTreeIds_1 = require("../../Constants/Runes/RuneTreeIds");
|
5
|
-
function isRuneTreeName(name) {
|
6
|
-
return name in RuneTreeIds_1.RuneTreeIds;
|
7
|
-
}
|
8
|
-
exports.isRuneTreeName = isRuneTreeName;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isRuneTreeType = void 0;
|
4
|
-
const RuneTreeTypes_1 = require("../../Constants/Runes/RuneTreeTypes");
|
5
|
-
function isRuneTreeType(type) {
|
6
|
-
return type in RuneTreeTypes_1.RuneTreeTypes;
|
7
|
-
}
|
8
|
-
exports.isRuneTreeType = isRuneTreeType;
|
package/core/Helpers/isLane.d.ts
DELETED
package/core/Helpers/isLane.js
DELETED
package/core/Helpers/isLevel.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isPosition = void 0;
|
4
|
-
const Positions_1 = require("../Constants/Positions");
|
5
|
-
function isPosition(position) {
|
6
|
-
return position in Positions_1.Positions;
|
7
|
-
}
|
8
|
-
exports.isPosition = isPosition;
|
package/core/Helpers/isSkill.js
DELETED
package/core/types/Meta.d.ts
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
import { ChampionRelationTypes } from '../Constants/Meta/ChampionRelationTypes';
|
2
|
-
export declare type ChampionRelationType = keyof typeof ChampionRelationTypes;
|
3
|
-
export declare type Role = 'NONE' | 'SOLO' | 'CARRY' | 'SUPPORT';
|
4
|
-
export declare type Queue = 'RANKED_SOLO_5x5' | 'RANKED_FLEX_SR';
|
5
|
-
export declare type LeaguesTier = 'CHALLENGER' | 'GRANDMASTER' | 'MASTER' | 'DIAMOND' | 'PLATINUM' | 'GOLD' | 'SILVER' | 'BRONZE' | 'IRON';
|
6
|
-
export declare type LeaguesRank = 'I' | 'II' | 'III' | 'IV';
|
7
|
-
export declare type GameType = 'CUSTOM_GAME' | 'TUTORIAL_GAME' | 'MATCHED_GAME';
|
8
|
-
export declare type GameMode = 'CLASSIC' | 'ARAM' | 'TUTORIAL' | 'URF' | 'ONEFORALL' | 'KINGPORO' | 'GAMEMODEX' | 'ULTBOOK';
|
9
|
-
export declare type PlatformId = 'BR1' | 'EUN1' | 'EUW1' | 'JP1' | 'KR' | 'LA1' | 'LA2' | 'NA1' | 'OC1' | 'TR1' | 'RU';
|
10
|
-
export declare type Region = 'EUW' | 'EUNE' | 'NA' | 'KR' | 'JP' | 'OCE' | 'LAN' | 'LAS' | 'TR' | 'RU' | 'BR';
|
11
|
-
/**
|
12
|
-
* 0 — Custom games
|
13
|
-
* 400 — 5v5 Draft Pick games
|
14
|
-
* 420 — 5v5 Ranked Solo games
|
15
|
-
* 430 — 5v5 Blind Pick games
|
16
|
-
* 440 — 5v5 Ranked Flex games
|
17
|
-
* 450 — 5v5 ARAM games
|
18
|
-
* 700 — Clash games
|
19
|
-
* 900 — ARURF games
|
20
|
-
* 920 — Legend of the Poro King games
|
21
|
-
* 1020 — One for All games
|
22
|
-
* 1090 — Teamfight Tactics games
|
23
|
-
* 1100 — Ranked Teamfight Tactics games
|
24
|
-
* 1110 — Teamfight Tactics Tutorial games
|
25
|
-
* 1111 — Teamfight Tactics test games
|
26
|
-
* 1300 — Nexus Blitz games
|
27
|
-
* 1400 — Ultimate Spellbook games
|
28
|
-
* 1900 — Pick URF games
|
29
|
-
*/
|
30
|
-
export declare type QueueId = 0 | 400 | 420 | 430 | 440 | 450 | 700 | 900 | 920 | 1020 | 1090 | 1100 | 1110 | 1111 | 1300 | 1400 | 1900;
|
31
|
-
/**
|
32
|
-
* 11 — Summoner's Rift
|
33
|
-
* 12 — Howling Abyss
|
34
|
-
* 21 — Nexus Blitz
|
35
|
-
* 22 — Convergence
|
36
|
-
*/
|
37
|
-
export declare type MapId = 11 | 12 | 21 | 22;
|
38
|
-
export declare type TeamId = 100 | 200;
|
39
|
-
export declare type ParticipantId = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
40
|
-
export declare type WardType = 'UNDEFINED' | 'YELLOW_TRINKET' | 'CONTROL_WARD';
|
package/core/types/index.d.ts
DELETED
@@ -1,197 +0,0 @@
|
|
1
|
-
import { RuneNames, RuneSets, StatRuneNames } from '../Constants/Runes/RuneSets';
|
2
|
-
import { ChampionIds } from '../Constants/Champions/ChampionIds';
|
3
|
-
import { ChampionKeys } from '../Constants/Champions/ChampionKeys';
|
4
|
-
import { ChampionNames } from '../Constants/Champions/ChampionNames';
|
5
|
-
import { ItemKeys } from '../Constants/Items/ItemKeys';
|
6
|
-
import { ItemNames } from '../Constants/Items/ItemNames';
|
7
|
-
import { SpellIds } from '../Constants/Spells/SpellIds';
|
8
|
-
import { SpellKeys } from '../Constants/Spells/SpellKeys';
|
9
|
-
import { SpellNames } from '../Constants/Spells/SpellNames';
|
10
|
-
import { TreeRuneIds } from '../Constants/Runes/TreeRuneIds';
|
11
|
-
import { TreeRuneNames } from '../Constants/Runes/TreeRuneNames';
|
12
|
-
import { Positions } from '../Constants/Positions';
|
13
|
-
import { Lanes } from '../Constants/Lanes';
|
14
|
-
import { RuneTreeNames } from '../Constants/Runes/RuneTreeNames';
|
15
|
-
import { RuneTreeTypes } from '../Constants/Runes/RuneTreeTypes';
|
16
|
-
import { Levels } from '../Constants/Levels';
|
17
|
-
import { Skills } from '../Constants/Skills';
|
18
|
-
import { RuneTreeIds } from '../Constants/Runes/RuneTreeIds';
|
19
|
-
import { RuneIds, RuneSetsByRuneNames, StatRuneIds } from '../Constants/Runes/RuneSetsByRuneNames';
|
20
|
-
import { MythicItemNames } from '../Constants/Items/MythicItemNames';
|
21
|
-
import { MythicItemKeys } from '../Constants/Items/MythicItemKeys';
|
22
|
-
import { LegendaryItemNames } from '../Constants/Items/LegendaryItemNames';
|
23
|
-
import { LegendaryItemKeys } from '../Constants/Items/LegendaryItemKeys';
|
24
|
-
import { BootsItemNames } from '../Constants/Items/BootsItemNames';
|
25
|
-
import { BootsItemKeys } from '../Constants/Items/BootsItemKeys';
|
26
|
-
import { ItemTypes } from '../Constants/Items/ItemTypes';
|
27
|
-
export declare type ChampionId = typeof ChampionIds[keyof typeof ChampionIds];
|
28
|
-
export declare type ChampionKey = typeof ChampionKeys[keyof typeof ChampionKeys];
|
29
|
-
export declare type ChampionName = typeof ChampionNames[keyof typeof ChampionNames];
|
30
|
-
export declare type SpellId = typeof SpellIds[keyof typeof SpellIds];
|
31
|
-
export declare type SpellKey = typeof SpellKeys[keyof typeof SpellKeys];
|
32
|
-
export declare type SpellName = typeof SpellNames[keyof typeof SpellNames];
|
33
|
-
export declare type ItemKey = typeof ItemKeys[keyof typeof ItemKeys];
|
34
|
-
export declare type ItemName = typeof ItemNames[keyof typeof ItemNames];
|
35
|
-
export declare type ItemType = keyof typeof ItemTypes;
|
36
|
-
export declare type MythicItemKey = keyof typeof MythicItemNames;
|
37
|
-
export declare type MythicItemName = keyof typeof MythicItemKeys;
|
38
|
-
export declare type LegendaryItemKey = keyof typeof LegendaryItemNames;
|
39
|
-
export declare type LegendaryItemName = keyof typeof LegendaryItemKeys;
|
40
|
-
export declare type BootsItemKey = keyof typeof BootsItemNames;
|
41
|
-
export declare type BootsItemName = keyof typeof BootsItemKeys;
|
42
|
-
/**
|
43
|
-
* There are 3 main Rune ID types:
|
44
|
-
* - `RuneId` (all),
|
45
|
-
* - `TreeRuneId` (all but stat runes),
|
46
|
-
* - `StatRuneId` (only stat runes).
|
47
|
-
*
|
48
|
-
* There are 6 more specific Rune ID types as well:
|
49
|
-
* - `KeystoneRuneId`,
|
50
|
-
* - `PrecisionTreeRuneId`,
|
51
|
-
* - `DominationTreeRuneId`,
|
52
|
-
* - `SorceryTreeRuneId`,
|
53
|
-
* - `ResolveTreeRuneId`,
|
54
|
-
* - `InspirationTreeRuneId`,
|
55
|
-
*/
|
56
|
-
export declare type RuneId = typeof RuneIds[keyof typeof RuneIds];
|
57
|
-
export declare type RuneName = typeof RuneNames[keyof typeof RuneNames];
|
58
|
-
/**
|
59
|
-
* There are 3 main Rune ID types:
|
60
|
-
* - `RuneId` (all),
|
61
|
-
* - `TreeRuneId` (all but stat runes),
|
62
|
-
* - `StatRuneId` (only stat runes).
|
63
|
-
*
|
64
|
-
* There are 6 more specific Rune ID types as well:
|
65
|
-
* - `KeystoneRuneId`,
|
66
|
-
* - `PrecisionTreeRuneId`,
|
67
|
-
* - `DominationTreeRuneId`,
|
68
|
-
* - `SorceryTreeRuneId`,
|
69
|
-
* - `ResolveTreeRuneId`,
|
70
|
-
* - `InspirationTreeRuneId`,
|
71
|
-
*/
|
72
|
-
export declare type TreeRuneId = typeof TreeRuneIds[keyof typeof TreeRuneIds];
|
73
|
-
export declare type TreeRuneName = typeof TreeRuneNames[keyof typeof TreeRuneNames];
|
74
|
-
/**
|
75
|
-
* There are 3 main Rune ID types:
|
76
|
-
* - `RuneId` (all),
|
77
|
-
* - `TreeRuneId` (all but stat runes),
|
78
|
-
* - `StatRuneId` (only stat runes).
|
79
|
-
*
|
80
|
-
* There are 6 more specific Rune ID types as well:
|
81
|
-
* - `KeystoneRuneId`,
|
82
|
-
* - `PrecisionTreeRuneId`,
|
83
|
-
* - `DominationTreeRuneId`,
|
84
|
-
* - `SorceryTreeRuneId`,
|
85
|
-
* - `ResolveTreeRuneId`,
|
86
|
-
* - `InspirationTreeRuneId`,
|
87
|
-
*/
|
88
|
-
export declare type StatRuneId = typeof StatRuneIds[keyof typeof StatRuneIds];
|
89
|
-
export declare type StatRuneName = typeof StatRuneNames[keyof typeof StatRuneNames];
|
90
|
-
/**
|
91
|
-
* There are 3 main Rune ID types:
|
92
|
-
* - `RuneId` (all),
|
93
|
-
* - `TreeRuneId` (all but stat runes),
|
94
|
-
* - `StatRuneId` (only stat runes).
|
95
|
-
*
|
96
|
-
* There are 6 more specific Rune ID types as well:
|
97
|
-
* - `KeystoneRuneId`,
|
98
|
-
* - `PrecisionTreeRuneId`,
|
99
|
-
* - `DominationTreeRuneId`,
|
100
|
-
* - `SorceryTreeRuneId`,
|
101
|
-
* - `ResolveTreeRuneId`,
|
102
|
-
* - `InspirationTreeRuneId`,
|
103
|
-
*/
|
104
|
-
export declare type KeystoneRuneId = keyof typeof RuneSets.KeystoneNames;
|
105
|
-
export declare type KeystoneRuneName = keyof typeof RuneSetsByRuneNames.KeystoneIds;
|
106
|
-
/**
|
107
|
-
* There are 3 main Rune ID types:
|
108
|
-
* - `RuneId` (all),
|
109
|
-
* - `TreeRuneId` (all but stat runes),
|
110
|
-
* - `StatRuneId` (only stat runes).
|
111
|
-
*
|
112
|
-
* There are 6 more specific Rune ID types as well:
|
113
|
-
* - `KeystoneRuneId`,
|
114
|
-
* - `PrecisionTreeRuneId`,
|
115
|
-
* - `DominationTreeRuneId`,
|
116
|
-
* - `SorceryTreeRuneId`,
|
117
|
-
* - `ResolveTreeRuneId`,
|
118
|
-
* - `InspirationTreeRuneId`,
|
119
|
-
*/
|
120
|
-
export declare type PrecisionTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Precision;
|
121
|
-
export declare type PrecisionTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTrees.Precision;
|
122
|
-
/**
|
123
|
-
* There are 3 main Rune ID types:
|
124
|
-
* - `RuneId` (all),
|
125
|
-
* - `TreeRuneId` (all but stat runes),
|
126
|
-
* - `StatRuneId` (only stat runes).
|
127
|
-
*
|
128
|
-
* There are 6 more specific Rune ID types as well:
|
129
|
-
* - `KeystoneRuneId`,
|
130
|
-
* - `PrecisionTreeRuneId`,
|
131
|
-
* - `DominationTreeRuneId`,
|
132
|
-
* - `SorceryTreeRuneId`,
|
133
|
-
* - `ResolveTreeRuneId`,
|
134
|
-
* - `InspirationTreeRuneId`,
|
135
|
-
*/
|
136
|
-
export declare type DominationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Domination;
|
137
|
-
export declare type DominationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTrees.Domination;
|
138
|
-
/**
|
139
|
-
* There are 3 main Rune ID types:
|
140
|
-
* - `RuneId` (all),
|
141
|
-
* - `TreeRuneId` (all but stat runes),
|
142
|
-
* - `StatRuneId` (only stat runes).
|
143
|
-
*
|
144
|
-
* There are 6 more specific Rune ID types as well:
|
145
|
-
* - `KeystoneRuneId`,
|
146
|
-
* - `PrecisionTreeRuneId`,
|
147
|
-
* - `DominationTreeRuneId`,
|
148
|
-
* - `SorceryTreeRuneId`,
|
149
|
-
* - `ResolveTreeRuneId`,
|
150
|
-
* - `InspirationTreeRuneId`,
|
151
|
-
*/
|
152
|
-
export declare type SorceryTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Sorcery;
|
153
|
-
export declare type SorceryTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTrees.Sorcery;
|
154
|
-
/**
|
155
|
-
* There are 3 main Rune ID types:
|
156
|
-
* - `RuneId` (all),
|
157
|
-
* - `TreeRuneId` (all but stat runes),
|
158
|
-
* - `StatRuneId` (only stat runes).
|
159
|
-
*
|
160
|
-
* There are 6 more specific Rune ID types as well:
|
161
|
-
* - `KeystoneRuneId`,
|
162
|
-
* - `PrecisionTreeRuneId`,
|
163
|
-
* - `DominationTreeRuneId`,
|
164
|
-
* - `SorceryTreeRuneId`,
|
165
|
-
* - `ResolveTreeRuneId`,
|
166
|
-
* - `InspirationTreeRuneId`,
|
167
|
-
*/
|
168
|
-
export declare type ResolveTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Resolve;
|
169
|
-
export declare type ResolveTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTrees.Resolve;
|
170
|
-
/**
|
171
|
-
* There are 3 main Rune ID types:
|
172
|
-
* - `RuneId` (all),
|
173
|
-
* - `TreeRuneId` (all but stat runes),
|
174
|
-
* - `StatRuneId` (only stat runes).
|
175
|
-
*
|
176
|
-
* There are 6 more specific Rune ID types as well:
|
177
|
-
* - `KeystoneRuneId`,
|
178
|
-
* - `PrecisionTreeRuneId`,
|
179
|
-
* - `DominationTreeRuneId`,
|
180
|
-
* - `SorceryTreeRuneId`,
|
181
|
-
* - `ResolveTreeRuneId`,
|
182
|
-
* - `InspirationTreeRuneId`,
|
183
|
-
*/
|
184
|
-
export declare type InspirationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Inspiration;
|
185
|
-
export declare type InspirationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTrees.Inspiration;
|
186
|
-
export declare type RuneTreeId = typeof RuneTreeIds[keyof typeof RuneTreeIds];
|
187
|
-
export declare type RuneTreeName = typeof RuneTreeNames[keyof typeof RuneTreeNames];
|
188
|
-
export declare type RuneTreeType = keyof typeof RuneTreeTypes;
|
189
|
-
export declare type StatRunesCategory = 'StatRunes';
|
190
|
-
export declare type RuneCategory = RuneTreeType | StatRunesCategory;
|
191
|
-
export declare type RuneCategorySlice = RuneTreeName | StatRunesCategory;
|
192
|
-
export declare type Position = keyof typeof Positions;
|
193
|
-
export declare type Lane = keyof typeof Lanes;
|
194
|
-
export declare type Level = keyof typeof Levels;
|
195
|
-
export declare type Skill = keyof typeof Skills;
|
196
|
-
export declare type XP = number;
|
197
|
-
export declare type Minute = number;
|
package/core/types/index.js
DELETED