lol-constants 2.26.0 → 3.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +130 -28
- package/dist/Locale.d.ts +2 -0
- package/dist/Patch.d.ts +3 -0
- package/dist/Patch.js +3 -0
- package/{core/constants/Champions/ChampionClasses.d.ts → dist/constants/custom.d.ts} +1 -1
- package/{core/constants/Champions/ChampionClasses.js → dist/constants/custom.js} +2 -2
- package/dist/constants/events.d.ts +49 -0
- package/dist/constants/events.js +55 -0
- package/dist/constants/history.d.ts +26 -0
- package/dist/constants/history.js +29 -0
- package/{core/constants/RankedTiers.d.ts → dist/constants/leagues.d.ts} +9 -1
- package/{core/constants/RankedTiers.js → dist/constants/leagues.js} +11 -2
- package/{core/constants/Locales.d.ts → dist/constants/locales.d.ts} +1 -1
- package/{core/constants/Locales.js → dist/constants/locales.js} +2 -2
- package/dist/constants/participants.d.ts +38 -0
- package/dist/constants/participants.js +43 -0
- package/dist/enums/ItemSrTypes.d.ts +11 -0
- package/dist/enums/ItemSrTypes.js +10 -0
- package/dist/enums/StatRuneSlots.d.ts +6 -0
- package/dist/enums/StatRuneSlots.js +5 -0
- package/dist/helpers/champion.d.ts +678 -0
- package/dist/helpers/champion.js +18 -0
- package/dist/helpers/item.d.ts +39 -0
- package/dist/helpers/item.js +113 -0
- package/dist/helpers/riotId.d.ts +16 -0
- package/dist/helpers/riotId.js +33 -0
- package/dist/helpers/rune.d.ts +36 -0
- package/dist/helpers/rune.js +70 -0
- package/dist/helpers/spell.d.ts +6 -0
- package/dist/helpers/spell.js +18 -0
- package/dist/helpers/type.d.ts +3 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +27 -0
- package/dist/lol.d.ts +4029 -0
- package/dist/lol.js +182 -0
- package/dist/objects/Maps.d.ts +113 -0
- package/dist/objects/Maps.js +69 -0
- package/dist/objects/Queues.d.ts +192 -0
- package/dist/objects/Queues.js +71 -0
- package/dist/objects/Regions.d.ts +132 -0
- package/dist/objects/Regions.js +55 -0
- package/dist/objects/generated/Champions.d.ts +1858 -0
- package/dist/objects/generated/Champions.js +4 -0
- package/dist/objects/generated/Items.d.ts +5108 -0
- package/dist/objects/generated/Items.js +4 -0
- package/dist/objects/generated/Runes.d.ts +1477 -0
- package/dist/objects/generated/Runes.js +13 -0
- package/dist/objects/generated/Spells.d.ts +208 -0
- package/dist/objects/generated/Spells.js +4 -0
- package/package.json +17 -15
- package/assets/constants/BootsItemNames.d.ts +0 -1
- package/assets/constants/BootsItemNames.js +0 -13
- package/assets/constants/LegendaryItemNames.d.ts +0 -4
- package/assets/constants/LegendaryItemNames.js +0 -125
- package/assets/constants/StatRunes.d.ts +0 -28
- package/assets/constants/StatRunes.js +0 -11
- package/assets/constants/StatRunesByRow.d.ts +0 -17
- package/assets/constants/StatRunesByRow.js +0 -17
- package/assets/constants/base/Champion.d.ts +0 -7903
- package/assets/constants/base/Champion.js +0 -1
- package/assets/constants/base/Item.d.ts +0 -21193
- package/assets/constants/base/Item.js +0 -1
- package/assets/constants/base/RunesReforged.d.ts +0 -491
- package/assets/constants/base/RunesReforged.js +0 -1
- package/assets/constants/base/Summoner.d.ts +0 -582
- package/assets/constants/base/Summoner.js +0 -1
- package/assets/index.d.ts +0 -4
- package/assets/index.js +0 -11
- package/assets/scripts/asset-scripts/champion.js +0 -10
- package/assets/scripts/asset-scripts/generate-all.d.ts +0 -4
- package/assets/scripts/asset-scripts/generate-all.js +0 -4
- package/assets/scripts/asset-scripts/item.d.ts +0 -1
- package/assets/scripts/asset-scripts/item.js +0 -10
- package/assets/scripts/asset-scripts/runes-reforged.d.ts +0 -1
- package/assets/scripts/asset-scripts/runes-reforged.js +0 -10
- package/assets/scripts/asset-scripts/summoner.d.ts +0 -1
- package/assets/scripts/asset-scripts/summoner.js +0 -10
- package/assets/scripts/constants/RuneIdComment.d.ts +0 -1
- package/assets/scripts/constants/RuneIdComment.js +0 -24
- package/assets/scripts/generate-all.d.ts +0 -23
- package/assets/scripts/generate-all.js +0 -27
- package/assets/scripts/generate-categorized-item-keys-num.d.ts +0 -1
- package/assets/scripts/generate-categorized-item-keys-num.js +0 -57
- package/assets/scripts/generate-categorized-item-keys.d.ts +0 -1
- package/assets/scripts/generate-categorized-item-keys.js +0 -59
- package/assets/scripts/generate-categorized-item-names.d.ts +0 -1
- package/assets/scripts/generate-categorized-item-names.js +0 -56
- package/assets/scripts/generate-champion-ids-by-name.d.ts +0 -1
- package/assets/scripts/generate-champion-ids-by-name.js +0 -17
- package/assets/scripts/generate-champion-ids.d.ts +0 -1
- package/assets/scripts/generate-champion-ids.js +0 -18
- package/assets/scripts/generate-champion-keys-num.d.ts +0 -1
- package/assets/scripts/generate-champion-keys-num.js +0 -20
- package/assets/scripts/generate-champion-keys.d.ts +0 -1
- package/assets/scripts/generate-champion-keys.js +0 -18
- package/assets/scripts/generate-champion-names.d.ts +0 -1
- package/assets/scripts/generate-champion-names.js +0 -18
- package/assets/scripts/generate-item-keys-num.d.ts +0 -1
- package/assets/scripts/generate-item-keys-num.js +0 -24
- package/assets/scripts/generate-item-keys.d.ts +0 -1
- package/assets/scripts/generate-item-keys.js +0 -22
- package/assets/scripts/generate-item-names.d.ts +0 -1
- package/assets/scripts/generate-item-names.js +0 -22
- package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +0 -1
- package/assets/scripts/generate-non-stat-rune-ids-num.js +0 -21
- package/assets/scripts/generate-non-stat-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-non-stat-rune-ids.js +0 -22
- package/assets/scripts/generate-non-stat-rune-names.d.ts +0 -1
- package/assets/scripts/generate-non-stat-rune-names.js +0 -20
- package/assets/scripts/generate-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-rune-ids.js +0 -27
- package/assets/scripts/generate-rune-names.d.ts +0 -1
- package/assets/scripts/generate-rune-names.js +0 -25
- package/assets/scripts/generate-rune-picking-relationships.d.ts +0 -1
- package/assets/scripts/generate-rune-picking-relationships.js +0 -52
- package/assets/scripts/generate-rune-sets-by-rune-names-num.d.ts +0 -1
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +0 -121
- package/assets/scripts/generate-rune-sets-by-rune-names.d.ts +0 -1
- package/assets/scripts/generate-rune-sets-by-rune-names.js +0 -119
- package/assets/scripts/generate-rune-sets.d.ts +0 -1
- package/assets/scripts/generate-rune-sets.js +0 -116
- package/assets/scripts/generate-spell-ids-by-name.d.ts +0 -1
- package/assets/scripts/generate-spell-ids-by-name.js +0 -17
- package/assets/scripts/generate-spell-ids.d.ts +0 -1
- package/assets/scripts/generate-spell-ids.js +0 -18
- package/assets/scripts/generate-spell-keys-num.d.ts +0 -1
- package/assets/scripts/generate-spell-keys-num.js +0 -20
- package/assets/scripts/generate-spell-keys.d.ts +0 -1
- package/assets/scripts/generate-spell-keys.js +0 -18
- package/assets/scripts/generate-spell-names.d.ts +0 -1
- package/assets/scripts/generate-spell-names.js +0 -18
- package/assets/scripts/generate-stat-rune-ids.d.ts +0 -1
- package/assets/scripts/generate-stat-rune-ids.js +0 -18
- package/assets/scripts/generate-stat-rune-names.d.ts +0 -1
- package/assets/scripts/generate-stat-rune-names.js +0 -16
- package/assets/scripts/helpers/enableEscapedValues.d.ts +0 -15
- package/assets/scripts/helpers/enableEscapedValues.js +0 -34
- package/assets/scripts/helpers/generateIndexFile.d.ts +0 -1
- package/assets/scripts/helpers/generateIndexFile.js +0 -3
- package/assets/scripts/helpers/getExportStatement.d.ts +0 -6
- package/assets/scripts/helpers/getExportStatement.js +0 -37
- package/assets/scripts/helpers/getFmtdComment.d.ts +0 -5
- package/assets/scripts/helpers/getFmtdComment.js +0 -11
- package/assets/scripts/helpers/validateNumber.d.ts +0 -1
- package/assets/scripts/helpers/validateNumber.js +0 -6
- package/assets/scripts/helpers/writeToTmpFile.d.ts +0 -13
- package/assets/scripts/helpers/writeToTmpFile.js +0 -18
- package/assets/scripts/print-file-names.d.ts +0 -1
- package/assets/scripts/print-file-names.js +0 -89
- package/core/Locale.d.ts +0 -2
- package/core/PatchVersion.d.ts +0 -1
- package/core/PatchVersion.js +0 -1
- package/core/constants/Abilities.d.ts +0 -17
- package/core/constants/Abilities.js +0 -19
- package/core/constants/BuildingTypes.d.ts +0 -6
- package/core/constants/BuildingTypes.js +0 -7
- package/core/constants/Champions/ChampionIds.d.ts +0 -171
- package/core/constants/Champions/ChampionIds.js +0 -1
- package/core/constants/Champions/ChampionIdsByName.d.ts +0 -170
- package/core/constants/Champions/ChampionIdsByName.js +0 -1
- package/core/constants/Champions/ChampionKeys.d.ts +0 -171
- package/core/constants/Champions/ChampionKeys.js +0 -1
- package/core/constants/Champions/ChampionKeysNum.d.ts +0 -171
- package/core/constants/Champions/ChampionKeysNum.js +0 -1
- package/core/constants/Champions/ChampionNames.d.ts +0 -171
- package/core/constants/Champions/ChampionNames.js +0 -1
- package/core/constants/Continents.d.ts +0 -8
- package/core/constants/Continents.js +0 -9
- package/core/constants/DataDragonUrls.d.ts +0 -52
- package/core/constants/DataDragonUrls.js +0 -58
- package/core/constants/DragonTypes.d.ts +0 -11
- package/core/constants/DragonTypes.js +0 -12
- package/core/constants/GameModes.d.ts +0 -12
- package/core/constants/GameModes.js +0 -13
- package/core/constants/GameTypes.d.ts +0 -7
- package/core/constants/GameTypes.js +0 -8
- package/core/constants/Items/BootsItemKeys.d.ts +0 -14
- package/core/constants/Items/BootsItemKeys.js +0 -1
- package/core/constants/Items/BootsItemKeysNum.d.ts +0 -14
- package/core/constants/Items/BootsItemKeysNum.js +0 -1
- package/core/constants/Items/BootsItemNames.d.ts +0 -14
- package/core/constants/Items/BootsItemNames.js +0 -1
- package/core/constants/Items/ItemKeys.d.ts +0 -238
- package/core/constants/Items/ItemKeys.js +0 -1
- package/core/constants/Items/ItemKeysNum.d.ts +0 -238
- package/core/constants/Items/ItemKeysNum.js +0 -1
- package/core/constants/Items/ItemNames.d.ts +0 -244
- package/core/constants/Items/ItemNames.js +0 -1
- package/core/constants/Items/ItemTypes.d.ts +0 -7
- package/core/constants/Items/ItemTypes.js +0 -8
- package/core/constants/Items/LegendaryItemKeys.d.ts +0 -112
- package/core/constants/Items/LegendaryItemKeys.js +0 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -112
- package/core/constants/Items/LegendaryItemKeysNum.js +0 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +0 -112
- package/core/constants/Items/LegendaryItemNames.js +0 -1
- package/core/constants/KillTypes.d.ts +0 -7
- package/core/constants/KillTypes.js +0 -8
- package/core/constants/LaneTypes.d.ts +0 -7
- package/core/constants/LaneTypes.js +0 -8
- package/core/constants/Lanes.d.ts +0 -8
- package/core/constants/Lanes.js +0 -9
- package/core/constants/LeagueTexts.d.ts +0 -49
- package/core/constants/LeagueTexts.js +0 -54
- package/core/constants/Levels.d.ts +0 -22
- package/core/constants/Levels.js +0 -23
- package/core/constants/MapIds.d.ts +0 -17
- package/core/constants/MapIds.js +0 -18
- package/core/constants/MonsterTypes.d.ts +0 -8
- package/core/constants/MonsterTypes.js +0 -9
- package/core/constants/ParticipantIds.d.ts +0 -14
- package/core/constants/ParticipantIds.js +0 -15
- package/core/constants/PlatformApiUris.d.ts +0 -20
- package/core/constants/PlatformApiUris.js +0 -21
- package/core/constants/PlatformIds.d.ts +0 -23
- package/core/constants/PlatformIds.js +0 -26
- package/core/constants/Positions.d.ts +0 -9
- package/core/constants/Positions.js +0 -10
- package/core/constants/QueueIds.d.ts +0 -114
- package/core/constants/QueueIds.js +0 -140
- package/core/constants/QueueTypes.d.ts +0 -7
- package/core/constants/QueueTypes.js +0 -8
- package/core/constants/RankedRanks.d.ts +0 -8
- package/core/constants/RankedRanks.js +0 -9
- package/core/constants/RegionalApiUris.d.ts +0 -8
- package/core/constants/RegionalApiUris.js +0 -9
- package/core/constants/Regions.d.ts +0 -23
- package/core/constants/Regions.js +0 -26
- package/core/constants/RelativeTeams.d.ts +0 -6
- package/core/constants/RelativeTeams.js +0 -7
- package/core/constants/Roles.d.ts +0 -8
- package/core/constants/Roles.js +0 -9
- package/core/constants/Runes/NonStatRuneIds.d.ts +0 -85
- package/core/constants/Runes/NonStatRuneIds.js +0 -1
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +0 -63
- package/core/constants/Runes/NonStatRuneIdsNum.js +0 -1
- package/core/constants/Runes/NonStatRuneNames.d.ts +0 -63
- package/core/constants/Runes/NonStatRuneNames.js +0 -1
- package/core/constants/Runes/RuneIconFileNames.d.ts +0 -14
- package/core/constants/Runes/RuneIconFileNames.js +0 -97
- package/core/constants/Runes/RunePickingRelationships.d.ts +0 -74
- package/core/constants/Runes/RunePickingRelationships.js +0 -4
- package/core/constants/Runes/RuneSets.d.ts +0 -721
- package/core/constants/Runes/RuneSets.js +0 -11
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +0 -765
- package/core/constants/Runes/RuneSetsByRuneNames.js +0 -11
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +0 -765
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +0 -11
- package/core/constants/Runes/RuneTreeIds.d.ts +0 -11
- package/core/constants/Runes/RuneTreeIds.js +0 -14
- package/core/constants/Runes/RuneTreeIdsNum.d.ts +0 -11
- package/core/constants/Runes/RuneTreeIdsNum.js +0 -14
- package/core/constants/Runes/RuneTreeNames.d.ts +0 -11
- package/core/constants/Runes/RuneTreeNames.js +0 -14
- package/core/constants/Runes/RuneTreeTypes.d.ts +0 -6
- package/core/constants/Runes/RuneTreeTypes.js +0 -7
- package/core/constants/SkillSlots.d.ts +0 -8
- package/core/constants/SkillSlots.js +0 -9
- package/core/constants/Skills.d.ts +0 -8
- package/core/constants/Skills.js +0 -9
- package/core/constants/Spells/SpellIds.d.ts +0 -21
- package/core/constants/Spells/SpellIds.js +0 -1
- package/core/constants/Spells/SpellIdsByName.d.ts +0 -18
- package/core/constants/Spells/SpellIdsByName.js +0 -1
- package/core/constants/Spells/SpellKeys.d.ts +0 -21
- package/core/constants/Spells/SpellKeys.js +0 -1
- package/core/constants/Spells/SpellKeysNum.d.ts +0 -21
- package/core/constants/Spells/SpellKeysNum.js +0 -1
- package/core/constants/Spells/SpellNames.d.ts +0 -21
- package/core/constants/Spells/SpellNames.js +0 -1
- package/core/constants/TeamIds.d.ts +0 -6
- package/core/constants/TeamIds.js +0 -7
- package/core/constants/TowerTypes.d.ts +0 -8
- package/core/constants/TowerTypes.js +0 -9
- package/core/constants/WardTypes.d.ts +0 -9
- package/core/constants/WardTypes.js +0 -10
- package/core/helpers/Champions/getChampionIdByKey.d.ts +0 -4
- package/core/helpers/Champions/getChampionIdByKey.js +0 -4
- package/core/helpers/Champions/getChampionIdByName.d.ts +0 -3
- package/core/helpers/Champions/getChampionIdByName.js +0 -4
- package/core/helpers/Champions/getChampionKeyById.d.ts +0 -3
- package/core/helpers/Champions/getChampionKeyById.js +0 -4
- package/core/helpers/Champions/getChampionKeyByName.d.ts +0 -3
- package/core/helpers/Champions/getChampionKeyByName.js +0 -5
- package/core/helpers/Champions/getChampionNameById.d.ts +0 -3
- package/core/helpers/Champions/getChampionNameById.js +0 -5
- package/core/helpers/Champions/getChampionNameByKey.d.ts +0 -4
- package/core/helpers/Champions/getChampionNameByKey.js +0 -4
- package/core/helpers/Champions/isChampionId.d.ts +0 -2
- package/core/helpers/Champions/isChampionId.js +0 -4
- package/core/helpers/Champions/isChampionKey.d.ts +0 -2
- package/core/helpers/Champions/isChampionKey.js +0 -4
- package/core/helpers/Champions/isChampionKeyNum.d.ts +0 -2
- package/core/helpers/Champions/isChampionKeyNum.js +0 -4
- package/core/helpers/Champions/isChampionName.d.ts +0 -2
- package/core/helpers/Champions/isChampionName.js +0 -4
- package/core/helpers/Items/getItemKeyByName.d.ts +0 -3
- package/core/helpers/Items/getItemKeyByName.js +0 -4
- package/core/helpers/Items/getItemKeyNumByName.d.ts +0 -3
- package/core/helpers/Items/getItemKeyNumByName.js +0 -4
- package/core/helpers/Items/getItemNameByKey.d.ts +0 -4
- package/core/helpers/Items/getItemNameByKey.js +0 -4
- package/core/helpers/Items/isBootsItemKey.d.ts +0 -2
- package/core/helpers/Items/isBootsItemKey.js +0 -4
- package/core/helpers/Items/isBootsItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isBootsItemKeyNum.js +0 -4
- package/core/helpers/Items/isBootsItemName.d.ts +0 -2
- package/core/helpers/Items/isBootsItemName.js +0 -4
- package/core/helpers/Items/isItemKey.d.ts +0 -2
- package/core/helpers/Items/isItemKey.js +0 -4
- package/core/helpers/Items/isItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isItemKeyNum.js +0 -4
- package/core/helpers/Items/isItemName.d.ts +0 -2
- package/core/helpers/Items/isItemName.js +0 -4
- package/core/helpers/Items/isLegendaryItemKey.d.ts +0 -2
- package/core/helpers/Items/isLegendaryItemKey.js +0 -4
- package/core/helpers/Items/isLegendaryItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isLegendaryItemKeyNum.js +0 -4
- package/core/helpers/Items/isLegendaryItemName.d.ts +0 -2
- package/core/helpers/Items/isLegendaryItemName.js +0 -4
- package/core/helpers/Items/isTier2Boots.d.ts +0 -3
- package/core/helpers/Items/isTier2Boots.js +0 -9
- package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getNonStatRuneIdByName.js +0 -4
- package/core/helpers/Runes/getNonStatRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getNonStatRuneNameById.js +0 -4
- package/core/helpers/Runes/getRuneCategoryName.d.ts +0 -4
- package/core/helpers/Runes/getRuneCategoryName.js +0 -16
- package/core/helpers/Runes/getRuneCdnUrl.d.ts +0 -3
- package/core/helpers/Runes/getRuneCdnUrl.js +0 -50
- package/core/helpers/Runes/getRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getRuneIdByName.js +0 -4
- package/core/helpers/Runes/getRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getRuneNameById.js +0 -4
- package/core/helpers/Runes/getStatRuneIdByName.d.ts +0 -3
- package/core/helpers/Runes/getStatRuneIdByName.js +0 -4
- package/core/helpers/Runes/getStatRuneNameById.d.ts +0 -3
- package/core/helpers/Runes/getStatRuneNameById.js +0 -4
- package/core/helpers/Runes/isDominationRuneId.d.ts +0 -2
- package/core/helpers/Runes/isDominationRuneId.js +0 -4
- package/core/helpers/Runes/isDominationRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isDominationRuneIdNum.js +0 -4
- package/core/helpers/Runes/isDominationRuneName.d.ts +0 -2
- package/core/helpers/Runes/isDominationRuneName.js +0 -4
- package/core/helpers/Runes/isInspirationRuneId.d.ts +0 -2
- package/core/helpers/Runes/isInspirationRuneId.js +0 -4
- package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isInspirationRuneIdNum.js +0 -4
- package/core/helpers/Runes/isInspirationRuneName.d.ts +0 -2
- package/core/helpers/Runes/isInspirationRuneName.js +0 -4
- package/core/helpers/Runes/isKeystoneRuneId.d.ts +0 -2
- package/core/helpers/Runes/isKeystoneRuneId.js +0 -4
- package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +0 -4
- package/core/helpers/Runes/isKeystoneRuneName.d.ts +0 -2
- package/core/helpers/Runes/isKeystoneRuneName.js +0 -4
- package/core/helpers/Runes/isNonStatRuneId.d.ts +0 -2
- package/core/helpers/Runes/isNonStatRuneId.js +0 -4
- package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isNonStatRuneIdNum.js +0 -4
- package/core/helpers/Runes/isNonStatRuneName.d.ts +0 -2
- package/core/helpers/Runes/isNonStatRuneName.js +0 -4
- package/core/helpers/Runes/isPrecisionRuneId.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionRuneId.js +0 -4
- package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +0 -4
- package/core/helpers/Runes/isPrecisionRuneName.d.ts +0 -2
- package/core/helpers/Runes/isPrecisionRuneName.js +0 -4
- package/core/helpers/Runes/isResolveRuneId.d.ts +0 -2
- package/core/helpers/Runes/isResolveRuneId.js +0 -4
- package/core/helpers/Runes/isResolveRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isResolveRuneIdNum.js +0 -4
- package/core/helpers/Runes/isResolveRuneName.d.ts +0 -2
- package/core/helpers/Runes/isResolveRuneName.js +0 -4
- package/core/helpers/Runes/isRuneId.d.ts +0 -2
- package/core/helpers/Runes/isRuneId.js +0 -4
- package/core/helpers/Runes/isRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isRuneIdNum.js +0 -4
- package/core/helpers/Runes/isRuneName.d.ts +0 -2
- package/core/helpers/Runes/isRuneName.js +0 -4
- package/core/helpers/Runes/isSorceryRuneId.d.ts +0 -2
- package/core/helpers/Runes/isSorceryRuneId.js +0 -4
- package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isSorceryRuneIdNum.js +0 -4
- package/core/helpers/Runes/isSorceryRuneName.d.ts +0 -2
- package/core/helpers/Runes/isSorceryRuneName.js +0 -4
- package/core/helpers/Runes/isStatRuneId.d.ts +0 -2
- package/core/helpers/Runes/isStatRuneId.js +0 -4
- package/core/helpers/Runes/isStatRuneIdNum.d.ts +0 -2
- package/core/helpers/Runes/isStatRuneIdNum.js +0 -4
- package/core/helpers/Runes/isStatRuneName.d.ts +0 -2
- package/core/helpers/Runes/isStatRuneName.js +0 -4
- package/core/helpers/Spells/getSpellIdByKey.d.ts +0 -4
- package/core/helpers/Spells/getSpellIdByKey.js +0 -4
- package/core/helpers/Spells/getSpellIdByName.d.ts +0 -3
- package/core/helpers/Spells/getSpellIdByName.js +0 -4
- package/core/helpers/Spells/getSpellKeyById.d.ts +0 -3
- package/core/helpers/Spells/getSpellKeyById.js +0 -4
- package/core/helpers/Spells/getSpellKeyByName.d.ts +0 -3
- package/core/helpers/Spells/getSpellKeyByName.js +0 -5
- package/core/helpers/Spells/getSpellNameById.d.ts +0 -3
- package/core/helpers/Spells/getSpellNameById.js +0 -5
- package/core/helpers/Spells/getSpellNameByKey.d.ts +0 -4
- package/core/helpers/Spells/getSpellNameByKey.js +0 -4
- package/core/helpers/Spells/isSpellId.d.ts +0 -2
- package/core/helpers/Spells/isSpellId.js +0 -4
- package/core/helpers/Spells/isSpellKey.d.ts +0 -2
- package/core/helpers/Spells/isSpellKey.js +0 -4
- package/core/helpers/Spells/isSpellKeyNum.d.ts +0 -2
- package/core/helpers/Spells/isSpellKeyNum.js +0 -4
- package/core/helpers/Spells/isSpellName.d.ts +0 -2
- package/core/helpers/Spells/isSpellName.js +0 -4
- package/core/helpers/getPositionImageUrl.d.ts +0 -2
- package/core/helpers/getPositionImageUrl.js +0 -11
- package/core/helpers/isRiotId.d.ts +0 -5
- package/core/helpers/isRiotId.js +0 -15
- package/core/helpers/makeRiotId.d.ts +0 -4
- package/core/helpers/makeRiotId.js +0 -5
- package/core/helpers/splitRiotId.d.ts +0 -10
- package/core/helpers/splitRiotId.js +0 -16
- package/core/index.d.ts +0 -139
- package/core/index.js +0 -150
- package/core/types/championJson.d.ts +0 -85
- package/core/types/championJson.js +0 -1
- package/core/types/interfaces.d.ts +0 -22
- package/core/types/interfaces.js +0 -1
- package/core/types/types.d.ts +0 -268
- package/core/types/types.js +0 -1
- /package/{core → dist}/Locale.js +0 -0
- /package/{assets/scripts/asset-scripts/champion.d.ts → dist/helpers/type.js} +0 -0
@@ -1,171 +0,0 @@
|
|
1
|
-
export declare const ChampionNames: {
|
2
|
-
readonly "1": "Annie";
|
3
|
-
readonly "2": "Olaf";
|
4
|
-
readonly "3": "Galio";
|
5
|
-
readonly "4": "Twisted Fate";
|
6
|
-
readonly "5": "Xin Zhao";
|
7
|
-
readonly "6": "Urgot";
|
8
|
-
readonly "7": "LeBlanc";
|
9
|
-
readonly "8": "Vladimir";
|
10
|
-
readonly "9": "Fiddlesticks";
|
11
|
-
readonly "10": "Kayle";
|
12
|
-
readonly "11": "Master Yi";
|
13
|
-
readonly "12": "Alistar";
|
14
|
-
readonly "13": "Ryze";
|
15
|
-
readonly "14": "Sion";
|
16
|
-
readonly "15": "Sivir";
|
17
|
-
readonly "16": "Soraka";
|
18
|
-
readonly "17": "Teemo";
|
19
|
-
readonly "18": "Tristana";
|
20
|
-
readonly "19": "Warwick";
|
21
|
-
readonly "20": "Nunu & Willump";
|
22
|
-
readonly "21": "Miss Fortune";
|
23
|
-
readonly "22": "Ashe";
|
24
|
-
readonly "23": "Tryndamere";
|
25
|
-
readonly "24": "Jax";
|
26
|
-
readonly "25": "Morgana";
|
27
|
-
readonly "26": "Zilean";
|
28
|
-
readonly "27": "Singed";
|
29
|
-
readonly "28": "Evelynn";
|
30
|
-
readonly "29": "Twitch";
|
31
|
-
readonly "30": "Karthus";
|
32
|
-
readonly "31": "Cho'Gath";
|
33
|
-
readonly "32": "Amumu";
|
34
|
-
readonly "33": "Rammus";
|
35
|
-
readonly "34": "Anivia";
|
36
|
-
readonly "35": "Shaco";
|
37
|
-
readonly "36": "Dr. Mundo";
|
38
|
-
readonly "37": "Sona";
|
39
|
-
readonly "38": "Kassadin";
|
40
|
-
readonly "39": "Irelia";
|
41
|
-
readonly "40": "Janna";
|
42
|
-
readonly "41": "Gangplank";
|
43
|
-
readonly "42": "Corki";
|
44
|
-
readonly "43": "Karma";
|
45
|
-
readonly "44": "Taric";
|
46
|
-
readonly "45": "Veigar";
|
47
|
-
readonly "48": "Trundle";
|
48
|
-
readonly "50": "Swain";
|
49
|
-
readonly "51": "Caitlyn";
|
50
|
-
readonly "53": "Blitzcrank";
|
51
|
-
readonly "54": "Malphite";
|
52
|
-
readonly "55": "Katarina";
|
53
|
-
readonly "56": "Nocturne";
|
54
|
-
readonly "57": "Maokai";
|
55
|
-
readonly "58": "Renekton";
|
56
|
-
readonly "59": "Jarvan IV";
|
57
|
-
readonly "60": "Elise";
|
58
|
-
readonly "61": "Orianna";
|
59
|
-
readonly "62": "Wukong";
|
60
|
-
readonly "63": "Brand";
|
61
|
-
readonly "64": "Lee Sin";
|
62
|
-
readonly "67": "Vayne";
|
63
|
-
readonly "68": "Rumble";
|
64
|
-
readonly "69": "Cassiopeia";
|
65
|
-
readonly "72": "Skarner";
|
66
|
-
readonly "74": "Heimerdinger";
|
67
|
-
readonly "75": "Nasus";
|
68
|
-
readonly "76": "Nidalee";
|
69
|
-
readonly "77": "Udyr";
|
70
|
-
readonly "78": "Poppy";
|
71
|
-
readonly "79": "Gragas";
|
72
|
-
readonly "80": "Pantheon";
|
73
|
-
readonly "81": "Ezreal";
|
74
|
-
readonly "82": "Mordekaiser";
|
75
|
-
readonly "83": "Yorick";
|
76
|
-
readonly "84": "Akali";
|
77
|
-
readonly "85": "Kennen";
|
78
|
-
readonly "86": "Garen";
|
79
|
-
readonly "89": "Leona";
|
80
|
-
readonly "90": "Malzahar";
|
81
|
-
readonly "91": "Talon";
|
82
|
-
readonly "92": "Riven";
|
83
|
-
readonly "96": "Kog'Maw";
|
84
|
-
readonly "98": "Shen";
|
85
|
-
readonly "99": "Lux";
|
86
|
-
readonly "101": "Xerath";
|
87
|
-
readonly "102": "Shyvana";
|
88
|
-
readonly "103": "Ahri";
|
89
|
-
readonly "104": "Graves";
|
90
|
-
readonly "105": "Fizz";
|
91
|
-
readonly "106": "Volibear";
|
92
|
-
readonly "107": "Rengar";
|
93
|
-
readonly "110": "Varus";
|
94
|
-
readonly "111": "Nautilus";
|
95
|
-
readonly "112": "Viktor";
|
96
|
-
readonly "113": "Sejuani";
|
97
|
-
readonly "114": "Fiora";
|
98
|
-
readonly "115": "Ziggs";
|
99
|
-
readonly "117": "Lulu";
|
100
|
-
readonly "119": "Draven";
|
101
|
-
readonly "120": "Hecarim";
|
102
|
-
readonly "121": "Kha'Zix";
|
103
|
-
readonly "122": "Darius";
|
104
|
-
readonly "126": "Jayce";
|
105
|
-
readonly "127": "Lissandra";
|
106
|
-
readonly "131": "Diana";
|
107
|
-
readonly "133": "Quinn";
|
108
|
-
readonly "134": "Syndra";
|
109
|
-
readonly "136": "Aurelion Sol";
|
110
|
-
readonly "141": "Kayn";
|
111
|
-
readonly "142": "Zoe";
|
112
|
-
readonly "143": "Zyra";
|
113
|
-
readonly "145": "Kai'Sa";
|
114
|
-
readonly "147": "Seraphine";
|
115
|
-
readonly "150": "Gnar";
|
116
|
-
readonly "154": "Zac";
|
117
|
-
readonly "157": "Yasuo";
|
118
|
-
readonly "161": "Vel'Koz";
|
119
|
-
readonly "163": "Taliyah";
|
120
|
-
readonly "164": "Camille";
|
121
|
-
readonly "166": "Akshan";
|
122
|
-
readonly "200": "Bel'Veth";
|
123
|
-
readonly "201": "Braum";
|
124
|
-
readonly "202": "Jhin";
|
125
|
-
readonly "203": "Kindred";
|
126
|
-
readonly "221": "Zeri";
|
127
|
-
readonly "222": "Jinx";
|
128
|
-
readonly "223": "Tahm Kench";
|
129
|
-
readonly "233": "Briar";
|
130
|
-
readonly "234": "Viego";
|
131
|
-
readonly "235": "Senna";
|
132
|
-
readonly "236": "Lucian";
|
133
|
-
readonly "238": "Zed";
|
134
|
-
readonly "240": "Kled";
|
135
|
-
readonly "245": "Ekko";
|
136
|
-
readonly "246": "Qiyana";
|
137
|
-
readonly "254": "Vi";
|
138
|
-
readonly "266": "Aatrox";
|
139
|
-
readonly "267": "Nami";
|
140
|
-
readonly "268": "Azir";
|
141
|
-
readonly "350": "Yuumi";
|
142
|
-
readonly "360": "Samira";
|
143
|
-
readonly "412": "Thresh";
|
144
|
-
readonly "420": "Illaoi";
|
145
|
-
readonly "421": "Rek'Sai";
|
146
|
-
readonly "427": "Ivern";
|
147
|
-
readonly "429": "Kalista";
|
148
|
-
readonly "432": "Bard";
|
149
|
-
readonly "497": "Rakan";
|
150
|
-
readonly "498": "Xayah";
|
151
|
-
readonly "516": "Ornn";
|
152
|
-
readonly "517": "Sylas";
|
153
|
-
readonly "518": "Neeko";
|
154
|
-
readonly "523": "Aphelios";
|
155
|
-
readonly "526": "Rell";
|
156
|
-
readonly "555": "Pyke";
|
157
|
-
readonly "711": "Vex";
|
158
|
-
readonly "777": "Yone";
|
159
|
-
readonly "875": "Sett";
|
160
|
-
readonly "876": "Lillia";
|
161
|
-
readonly "887": "Gwen";
|
162
|
-
readonly "888": "Renata Glasc";
|
163
|
-
readonly "893": "Aurora";
|
164
|
-
readonly "895": "Nilah";
|
165
|
-
readonly "897": "K'Sante";
|
166
|
-
readonly "901": "Smolder";
|
167
|
-
readonly "902": "Milio";
|
168
|
-
readonly "910": "Hwei";
|
169
|
-
readonly "950": "Naafiri";
|
170
|
-
};
|
171
|
-
export type ChampionName = typeof ChampionNames[keyof typeof ChampionNames];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const 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", "233": "Briar", "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", "893": "Aurora", "895": "Nilah", "897": "K'Sante", "901": "Smolder", "902": "Milio", "910": "Hwei", "950": "Naafiri" };
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const Continents: {
|
2
|
-
readonly AMERICAS: "AMERICAS";
|
3
|
-
readonly ASIA: "ASIA";
|
4
|
-
readonly EUROPE: "EUROPE";
|
5
|
-
readonly SEA: "SEA";
|
6
|
-
};
|
7
|
-
export type Continent = typeof Continents[keyof typeof Continents];
|
8
|
-
export declare function isContinent(value: any): value is Continent;
|
@@ -1,52 +0,0 @@
|
|
1
|
-
export declare const dataDragonVersion = "14.17.1";
|
2
|
-
/**
|
3
|
-
* Data Dragon CDN paths.
|
4
|
-
*/
|
5
|
-
export declare const DataDragonUrls: {
|
6
|
-
readonly DATA_DRAGON_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1";
|
7
|
-
readonly COMMUNITY_DRAGON_BASE: "https://raw.communitydragon.org/14.17";
|
8
|
-
/**
|
9
|
-
* Append with `/MonkeyKing.png` (`/{championId}.png`).
|
10
|
-
*/
|
11
|
-
readonly CHAMPION_ICON_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/img/champion";
|
12
|
-
/**
|
13
|
-
* Append with `/MonkeyKing_0.png` (`/{championId}_{skinNum}.png`).
|
14
|
-
*/
|
15
|
-
readonly CHAMPION_LOADING_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/img/champion/loading";
|
16
|
-
/**
|
17
|
-
* Append with `/MonkeyKing_0.png` (`/{championId}_{skinNum}.png`).
|
18
|
-
*/
|
19
|
-
readonly CHAMPION_SPLASH_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/img/champion/splash";
|
20
|
-
/**
|
21
|
-
* Append with `/FlashFrost.png` (`/{abilityKey}.png`).
|
22
|
-
*/
|
23
|
-
readonly ABILITY_ICON_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/img/spell";
|
24
|
-
/**
|
25
|
-
* Append with `/685.png` (`/{iconId}.png`).
|
26
|
-
*/
|
27
|
-
readonly PROFILE_ICON_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/img/profileicon";
|
28
|
-
/**
|
29
|
-
* Append with `/1001.png` (`/{itemId}.png`).
|
30
|
-
*/
|
31
|
-
readonly ITEM_ICON_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/img/item";
|
32
|
-
/**
|
33
|
-
* Append with `/MonkeyKing.json` (`/{championId}.json`).
|
34
|
-
*/
|
35
|
-
readonly CHAMPION_BASE: "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/cs_CZ/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/el_GR/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pl_PL/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ro_RO/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/hu_HU/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_GB/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/de_DE/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_ES/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/it_IT/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/fr_FR/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ja_JP/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ko_KR/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_MX/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_AR/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pt_BR/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_US/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_AU/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ru_RU/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/tr_TR/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ms_MY/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_PH/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_SG/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/th_TH/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/vi_VN/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/id_ID/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_MY/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_CN/champion" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_TW/champion";
|
36
|
-
readonly CHAMPION: "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/cs_CZ/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/el_GR/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pl_PL/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ro_RO/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/hu_HU/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_GB/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/de_DE/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_ES/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/it_IT/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/fr_FR/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ja_JP/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ko_KR/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_MX/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_AR/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pt_BR/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_US/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_AU/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ru_RU/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/tr_TR/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ms_MY/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_PH/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_SG/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/th_TH/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/vi_VN/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/id_ID/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_MY/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_CN/champion.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_TW/champion.json";
|
37
|
-
readonly ITEM: "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/cs_CZ/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/el_GR/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pl_PL/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ro_RO/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/hu_HU/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_GB/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/de_DE/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_ES/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/it_IT/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/fr_FR/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ja_JP/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ko_KR/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_MX/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_AR/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pt_BR/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_US/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_AU/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ru_RU/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/tr_TR/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ms_MY/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_PH/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_SG/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/th_TH/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/vi_VN/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/id_ID/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_MY/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_CN/item.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_TW/item.json";
|
38
|
-
readonly RUNES_REFORGED: "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/cs_CZ/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/el_GR/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pl_PL/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ro_RO/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/hu_HU/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_GB/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/de_DE/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_ES/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/it_IT/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/fr_FR/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ja_JP/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ko_KR/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_MX/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_AR/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pt_BR/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_US/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_AU/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ru_RU/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/tr_TR/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ms_MY/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_PH/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_SG/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/th_TH/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/vi_VN/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/id_ID/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_MY/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_CN/runesReforged.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_TW/runesReforged.json";
|
39
|
-
readonly SUMMONER: "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/cs_CZ/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/el_GR/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pl_PL/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ro_RO/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/hu_HU/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_GB/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/de_DE/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_ES/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/it_IT/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/fr_FR/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ja_JP/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ko_KR/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_MX/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/es_AR/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/pt_BR/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_US/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_AU/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ru_RU/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/tr_TR/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/ms_MY/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_PH/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/en_SG/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/th_TH/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/vi_VN/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/id_ID/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_MY/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_CN/summoner.json" | "https://ddragon.leagueoflegends.com/cdn/14.17.1/data/zh_TW/summoner.json";
|
40
|
-
/**
|
41
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods
|
42
|
-
*/
|
43
|
-
readonly STAT_RUNE_ICON_BASE: "https://raw.communitydragon.org/14.17/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods";
|
44
|
-
/**
|
45
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles
|
46
|
-
*/
|
47
|
-
readonly TREE_RUNE_ICON_BASE: "https://raw.communitydragon.org/14.17/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles";
|
48
|
-
/**
|
49
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-static-assets/global/default/svg
|
50
|
-
*/
|
51
|
-
readonly POSITION_ICON_BASE: "https://raw.communitydragon.org/14.17/plugins/rcp-fe-lol-static-assets/global/default/svg";
|
52
|
-
};
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import { Locale } from '../Locale';
|
2
|
-
import { PatchVersion } from '../PatchVersion';
|
3
|
-
const locale = Locale;
|
4
|
-
export const dataDragonVersion = `${PatchVersion}.1`;
|
5
|
-
const cdragonVersion = PatchVersion;
|
6
|
-
const base = `https://ddragon.leagueoflegends.com/cdn/${dataDragonVersion}`;
|
7
|
-
const cdragonBase = `https://raw.communitydragon.org/${cdragonVersion}`;
|
8
|
-
/**
|
9
|
-
* Data Dragon CDN paths.
|
10
|
-
*/
|
11
|
-
export const DataDragonUrls = {
|
12
|
-
DATA_DRAGON_BASE: base,
|
13
|
-
COMMUNITY_DRAGON_BASE: cdragonBase,
|
14
|
-
/**
|
15
|
-
* Append with `/MonkeyKing.png` (`/{championId}.png`).
|
16
|
-
*/
|
17
|
-
CHAMPION_ICON_BASE: `${base}/img/champion`,
|
18
|
-
/**
|
19
|
-
* Append with `/MonkeyKing_0.png` (`/{championId}_{skinNum}.png`).
|
20
|
-
*/
|
21
|
-
CHAMPION_LOADING_BASE: `${base}/img/champion/loading`,
|
22
|
-
/**
|
23
|
-
* Append with `/MonkeyKing_0.png` (`/{championId}_{skinNum}.png`).
|
24
|
-
*/
|
25
|
-
CHAMPION_SPLASH_BASE: `${base}/img/champion/splash`,
|
26
|
-
/**
|
27
|
-
* Append with `/FlashFrost.png` (`/{abilityKey}.png`).
|
28
|
-
*/
|
29
|
-
ABILITY_ICON_BASE: `${base}/img/spell`,
|
30
|
-
/**
|
31
|
-
* Append with `/685.png` (`/{iconId}.png`).
|
32
|
-
*/
|
33
|
-
PROFILE_ICON_BASE: `${base}/img/profileicon`,
|
34
|
-
/**
|
35
|
-
* Append with `/1001.png` (`/{itemId}.png`).
|
36
|
-
*/
|
37
|
-
ITEM_ICON_BASE: `${base}/img/item`,
|
38
|
-
/**
|
39
|
-
* Append with `/MonkeyKing.json` (`/{championId}.json`).
|
40
|
-
*/
|
41
|
-
CHAMPION_BASE: `${base}/data/${locale}/champion`,
|
42
|
-
CHAMPION: `${base}/data/${locale}/champion.json`,
|
43
|
-
ITEM: `${base}/data/${locale}/item.json`,
|
44
|
-
RUNES_REFORGED: `${base}/data/${locale}/runesReforged.json`,
|
45
|
-
SUMMONER: `${base}/data/${locale}/summoner.json`,
|
46
|
-
/**
|
47
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods
|
48
|
-
*/
|
49
|
-
STAT_RUNE_ICON_BASE: `${cdragonBase}/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/statmods`,
|
50
|
-
/**
|
51
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles
|
52
|
-
*/
|
53
|
-
TREE_RUNE_ICON_BASE: `${cdragonBase}/plugins/rcp-be-lol-game-data/global/default/v1/perk-images/styles`,
|
54
|
-
/**
|
55
|
-
* @see https://raw.communitydragon.org/latest/plugins/rcp-fe-lol-static-assets/global/default/svg
|
56
|
-
*/
|
57
|
-
POSITION_ICON_BASE: `${cdragonBase}/plugins/rcp-fe-lol-static-assets/global/default/svg`,
|
58
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export declare const DragonTypes: {
|
2
|
-
readonly EARTH_DRAGON: "EARTH_DRAGON";
|
3
|
-
readonly CHEMTECH_DRAGON: "CHEMTECH_DRAGON";
|
4
|
-
readonly AIR_DRAGON: "AIR_DRAGON";
|
5
|
-
readonly HEXTECH_DRAGON: "HEXTECH_DRAGON";
|
6
|
-
readonly WATER_DRAGON: "WATER_DRAGON";
|
7
|
-
readonly FIRE_DRAGON: "FIRE_DRAGON";
|
8
|
-
readonly ELDER_DRAGON: "ELDER_DRAGON";
|
9
|
-
};
|
10
|
-
export type DragonType = typeof DragonTypes[keyof typeof DragonTypes];
|
11
|
-
export declare function isDragonType(value: any): value is DragonType;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
export const DragonTypes = {
|
2
|
-
'EARTH_DRAGON': 'EARTH_DRAGON',
|
3
|
-
'CHEMTECH_DRAGON': 'CHEMTECH_DRAGON',
|
4
|
-
'AIR_DRAGON': 'AIR_DRAGON',
|
5
|
-
'HEXTECH_DRAGON': 'HEXTECH_DRAGON',
|
6
|
-
'WATER_DRAGON': 'WATER_DRAGON',
|
7
|
-
'FIRE_DRAGON': 'FIRE_DRAGON',
|
8
|
-
'ELDER_DRAGON': 'ELDER_DRAGON',
|
9
|
-
};
|
10
|
-
export function isDragonType(value) {
|
11
|
-
return typeof value == 'string' && value in DragonTypes;
|
12
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
export declare const GameModes: {
|
2
|
-
readonly CLASSIC: "CLASSIC";
|
3
|
-
readonly ARAM: "ARAM";
|
4
|
-
readonly TUTORIAL: "TUTORIAL";
|
5
|
-
readonly URF: "URF";
|
6
|
-
readonly ONEFORALL: "ONEFORALL";
|
7
|
-
readonly KINGPORO: "KINGPORO";
|
8
|
-
readonly GAMEMODEX: "GAMEMODEX";
|
9
|
-
readonly ULTBOOK: "ULTBOOK";
|
10
|
-
};
|
11
|
-
export type GameMode = typeof GameModes[keyof typeof GameModes];
|
12
|
-
export declare function isGameMode(value: any): value is GameMode;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export const GameModes = {
|
2
|
-
'CLASSIC': 'CLASSIC',
|
3
|
-
'ARAM': 'ARAM',
|
4
|
-
'TUTORIAL': 'TUTORIAL',
|
5
|
-
'URF': 'URF',
|
6
|
-
'ONEFORALL': 'ONEFORALL',
|
7
|
-
'KINGPORO': 'KINGPORO',
|
8
|
-
'GAMEMODEX': 'GAMEMODEX',
|
9
|
-
'ULTBOOK': 'ULTBOOK',
|
10
|
-
};
|
11
|
-
export function isGameMode(value) {
|
12
|
-
return typeof value == 'string' && value in GameModes;
|
13
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare const GameTypes: {
|
2
|
-
readonly CUSTOM_GAME: "CUSTOM_GAME";
|
3
|
-
readonly TUTORIAL_GAME: "TUTORIAL_GAME";
|
4
|
-
readonly MATCHED_GAME: "MATCHED_GAME";
|
5
|
-
};
|
6
|
-
export type GameType = typeof GameTypes[keyof typeof GameTypes];
|
7
|
-
export declare function isGameType(value: any): value is GameType;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare const BootsItemKeys: {
|
2
|
-
readonly Boots: "1001";
|
3
|
-
readonly "Berserker's Greaves": "3006";
|
4
|
-
readonly "Boots of Swiftness": "3009";
|
5
|
-
readonly "Ionian Boots of Lucidity": "3158";
|
6
|
-
readonly "Mercury's Treads": "3111";
|
7
|
-
readonly "Plated Steelcaps": "3047";
|
8
|
-
readonly "Sorcerer's Shoes": "3020";
|
9
|
-
readonly "Slightly Magical Footwear": "2422";
|
10
|
-
readonly "Symbiotic Soles": "3010";
|
11
|
-
readonly "Synchronized Souls": "3013";
|
12
|
-
readonly Zephyr: "3172";
|
13
|
-
};
|
14
|
-
export type BootsItemKey = typeof BootsItemKeys[keyof typeof BootsItemKeys];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const BootsItemKeys = { "Boots": "1001", "Berserker's Greaves": "3006", "Boots of Swiftness": "3009", "Ionian Boots of Lucidity": "3158", "Mercury's Treads": "3111", "Plated Steelcaps": "3047", "Sorcerer's Shoes": "3020", "Slightly Magical Footwear": "2422", "Symbiotic Soles": "3010", "Synchronized Souls": "3013", "Zephyr": "3172" };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare const BootsItemKeysNum: {
|
2
|
-
readonly Boots: 1001;
|
3
|
-
readonly "Berserker's Greaves": 3006;
|
4
|
-
readonly "Boots of Swiftness": 3009;
|
5
|
-
readonly "Ionian Boots of Lucidity": 3158;
|
6
|
-
readonly "Mercury's Treads": 3111;
|
7
|
-
readonly "Plated Steelcaps": 3047;
|
8
|
-
readonly "Sorcerer's Shoes": 3020;
|
9
|
-
readonly "Slightly Magical Footwear": 2422;
|
10
|
-
readonly "Symbiotic Soles": 3010;
|
11
|
-
readonly "Synchronized Souls": 3013;
|
12
|
-
readonly Zephyr: 3172;
|
13
|
-
};
|
14
|
-
export type BootsItemKeyNum = typeof BootsItemKeysNum[keyof typeof BootsItemKeysNum];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const BootsItemKeysNum = { "Boots": 1001, "Berserker's Greaves": 3006, "Boots of Swiftness": 3009, "Ionian Boots of Lucidity": 3158, "Mercury's Treads": 3111, "Plated Steelcaps": 3047, "Sorcerer's Shoes": 3020, "Slightly Magical Footwear": 2422, "Symbiotic Soles": 3010, "Synchronized Souls": 3013, "Zephyr": 3172 };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare const BootsItemNames: {
|
2
|
-
readonly "1001": "Boots";
|
3
|
-
readonly "2422": "Slightly Magical Footwear";
|
4
|
-
readonly "3006": "Berserker's Greaves";
|
5
|
-
readonly "3009": "Boots of Swiftness";
|
6
|
-
readonly "3010": "Symbiotic Soles";
|
7
|
-
readonly "3013": "Synchronized Souls";
|
8
|
-
readonly "3020": "Sorcerer's Shoes";
|
9
|
-
readonly "3047": "Plated Steelcaps";
|
10
|
-
readonly "3111": "Mercury's Treads";
|
11
|
-
readonly "3158": "Ionian Boots of Lucidity";
|
12
|
-
readonly "3172": "Zephyr";
|
13
|
-
};
|
14
|
-
export type BootsItemName = typeof BootsItemNames[keyof typeof BootsItemNames];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const BootsItemNames = { "1001": "Boots", "2422": "Slightly Magical Footwear", "3006": "Berserker's Greaves", "3009": "Boots of Swiftness", "3010": "Symbiotic Soles", "3013": "Synchronized Souls", "3020": "Sorcerer's Shoes", "3047": "Plated Steelcaps", "3111": "Mercury's Treads", "3158": "Ionian Boots of Lucidity", "3172": "Zephyr" };
|