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 +0,0 @@
|
|
1
|
-
export const LegendaryItemNames = { "2065": "Shurelya's Battlesong", "2501": "Overlord's Bloodmail", "2502": "Unending Despair", "2503": "Blackfire Torch", "2504": "Kaenic Rookern", "3002": "Trailblazer", "3003": "Archangel's Staff", "3004": "Manamune", "3011": "Chemtech Putrifier", "3026": "Guardian Angel", "3031": "Infinity Edge", "3032": "Yun Tal Wildarrows", "3033": "Mortal Reminder", "3036": "Lord Dominik's Regards", "3040": "Seraph's Embrace", "3041": "Mejai's Soulstealer", "3042": "Muramana", "3046": "Phantom Dancer", "3050": "Zeke's Convergence", "3053": "Sterak's Gage", "3065": "Spirit Visage", "3068": "Sunfire Aegis", "3071": "Black Cleaver", "3072": "Bloodthirster", "3073": "Experimental Hexplate", "3074": "Ravenous Hydra", "3075": "Thornmail", "3078": "Trinity Force", "3083": "Warmog's Armor", "3084": "Heartsteel", "3085": "Runaan's Hurricane", "3087": "Statikk Shiv", "3089": "Rabadon's Deathcap", "3091": "Wit's End", "3094": "Rapid Firecannon", "3100": "Lich Bane", "3102": "Banshee's Veil", "3107": "Redemption", "3109": "Knight's Vow", "3110": "Frozen Heart", "3115": "Nashor's Tooth", "3116": "Rylai's Crystal Scepter", "3118": "Malignance", "3119": "Winter's Approach", "3121": "Fimbulwinter", "3124": "Guinsoo's Rageblade", "3135": "Void Staff", "3137": "Cryptbloom", "3139": "Mercurial Scimitar", "3142": "Youmuu's Ghostblade", "3143": "Randuin's Omen", "3152": "Hextech Rocketbelt", "3153": "Blade of The Ruined King", "3156": "Maw of Malmortius", "3157": "Zhonya's Hourglass", "3161": "Spear of Shojin", "3165": "Morellonomicon", "3179": "Umbral Glaive", "3181": "Hullbreaker", "3190": "Locket of the Iron Solari", "3222": "Mikael's Blessing", "3302": "Terminus", "3504": "Ardent Censer", "3508": "Essence Reaver", "3742": "Dead Man's Plate", "3748": "Titanic Hydra", "3814": "Edge of Night", "3867": "Bounty of Worlds", "3869": "Celestial Opposition", "3870": "Dream Maker", "3871": "Zaz'Zak's Realmspike", "3876": "Solstice Sleigh", "3877": "Bloodsong", "4005": "Imperial Mandate", "4401": "Force of Nature", "4628": "Horizon Focus", "4629": "Cosmic Drive", "4633": "Riftmaker", "4643": "Vigilant Wardstone", "4645": "Shadowflame", "4646": "Stormsurge", "6333": "Death's Dance", "6609": "Chempunk Chainsword", "6610": "Sundered Sky", "6616": "Staff of Flowing Water", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6621": "Dawncore", "6631": "Stridebreaker", "6653": "Liandry's Torment", "6655": "Luden's Companion", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Hollow Radiance", "6665": "Jak'Sho, The Protean", "6672": "Kraken Slayer", "6673": "Immortal Shieldbow", "6675": "Navori Flickerblade", "6676": "The Collector", "6692": "Eclipse", "6694": "Serylda's Grudge", "6695": "Serpent's Fang", "6696": "Axiom Arc", "6697": "Hubris", "6698": "Profane Hydra", "6699": "Voltaic Cyclosword", "6701": "Opportunity", "8001": "Anathema's Chains", "8020": "Abyssal Mask" };
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare const KillTypes: {
|
2
|
-
readonly KILL_FIRST_BLOOD: "KILL_FIRST_BLOOD";
|
3
|
-
readonly KILL_MULTI: "KILL_MULTI";
|
4
|
-
readonly KILL_ACE: "KILL_ACE";
|
5
|
-
};
|
6
|
-
export type KillType = typeof KillTypes[keyof typeof KillTypes];
|
7
|
-
export declare function isKillType(value: any): value is KillType;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export declare const LaneTypes: {
|
2
|
-
readonly TOP_LANE: "TOP_LANE";
|
3
|
-
readonly MID_LANE: "MID_LANE";
|
4
|
-
readonly BOT_LANE: "BOT_LANE";
|
5
|
-
};
|
6
|
-
export type LaneType = typeof LaneTypes[keyof typeof LaneTypes];
|
7
|
-
export declare function isLaneType(value: any): value is LaneType;
|
package/core/constants/Lanes.js
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
export declare const LeagueTexts: {
|
2
|
-
readonly HP: "health";
|
3
|
-
readonly HPR: "health regeneration";
|
4
|
-
readonly MP: "mana";
|
5
|
-
readonly MPR: "mana regeneration";
|
6
|
-
readonly EP: "energy";
|
7
|
-
readonly EPR: "energy regeneration";
|
8
|
-
readonly AR: "armor";
|
9
|
-
readonly MR: "magic resistance";
|
10
|
-
readonly MS: "movement speed";
|
11
|
-
readonly AD: "attack damage";
|
12
|
-
readonly AP: "ability power";
|
13
|
-
readonly CSD: "critical strike damage";
|
14
|
-
readonly 'CS%': "critical strike chance";
|
15
|
-
readonly AS: "attack speed";
|
16
|
-
readonly HP_b: "bonus health";
|
17
|
-
readonly HP_max: "maximum health";
|
18
|
-
readonly HP_current: "current health";
|
19
|
-
readonly HP_missing: "missing health";
|
20
|
-
readonly AR_bonus: "bonus armor";
|
21
|
-
readonly MR_bonus: "bonus magic resistance";
|
22
|
-
readonly AD_b: "bonus attack damage";
|
23
|
-
readonly AS_base: "base attack speed";
|
24
|
-
readonly AS_bonus: "bonus attack speed";
|
25
|
-
readonly AWindup: "attack windup";
|
26
|
-
readonly ARatio: "attack ratio";
|
27
|
-
readonly PD: "physical damage";
|
28
|
-
readonly MD: "magic damage";
|
29
|
-
readonly PD_min: "minimum physical damage";
|
30
|
-
readonly MD_min: "minimum magic damage";
|
31
|
-
readonly PD_max: "maximum physical damage";
|
32
|
-
readonly MD_max: "maximum magic damage";
|
33
|
-
readonly R: "radius";
|
34
|
-
readonly D: "diamater";
|
35
|
-
readonly W: "width";
|
36
|
-
readonly u: "unit(s)";
|
37
|
-
readonly 'u/s': "units per second";
|
38
|
-
readonly 'ef.': "effect";
|
39
|
-
readonly '\u2A01': "range";
|
40
|
-
readonly '\uD83D\uDDE1\uFE0F': "attack";
|
41
|
-
readonly '\u23F3': "cooldown";
|
42
|
-
readonly '\u23F1\uFE0F': "cast duration";
|
43
|
-
readonly '\uD83D\uDCA7': "ability cost";
|
44
|
-
readonly '\uD83E\uDDE2': "cap";
|
45
|
-
readonly '\u278A\u2791\uD83D\uDCC8': "based on level";
|
46
|
-
};
|
47
|
-
export type LeagueText = typeof LeagueTexts[keyof typeof LeagueTexts];
|
48
|
-
export type Abbreviation = keyof typeof LeagueTexts;
|
49
|
-
export declare function isLeagueText(value: any): value is LeagueText;
|
@@ -1,54 +0,0 @@
|
|
1
|
-
export const LeagueTexts = {
|
2
|
-
'HP': 'health',
|
3
|
-
'HPR': 'health regeneration',
|
4
|
-
'MP': 'mana',
|
5
|
-
'MPR': 'mana regeneration',
|
6
|
-
'EP': 'energy',
|
7
|
-
'EPR': 'energy regeneration',
|
8
|
-
'AR': 'armor',
|
9
|
-
'MR': 'magic resistance',
|
10
|
-
'MS': 'movement speed',
|
11
|
-
'AD': 'attack damage',
|
12
|
-
'AP': 'ability power',
|
13
|
-
'CSD': 'critical strike damage',
|
14
|
-
'CS%': 'critical strike chance',
|
15
|
-
'AS': 'attack speed',
|
16
|
-
//
|
17
|
-
'HP_b': 'bonus health',
|
18
|
-
'HP_max': 'maximum health',
|
19
|
-
'HP_current': 'current health',
|
20
|
-
'HP_missing': 'missing health',
|
21
|
-
'AR_bonus': 'bonus armor',
|
22
|
-
'MR_bonus': 'bonus magic resistance',
|
23
|
-
'AD_b': 'bonus attack damage',
|
24
|
-
'AS_base': 'base attack speed',
|
25
|
-
'AS_bonus': 'bonus attack speed',
|
26
|
-
'AWindup': 'attack windup',
|
27
|
-
'ARatio': 'attack ratio',
|
28
|
-
//
|
29
|
-
'PD': 'physical damage',
|
30
|
-
'MD': 'magic damage',
|
31
|
-
'PD_min': 'minimum physical damage',
|
32
|
-
'MD_min': 'minimum magic damage',
|
33
|
-
'PD_max': 'maximum physical damage',
|
34
|
-
'MD_max': 'maximum magic damage',
|
35
|
-
//
|
36
|
-
'R': 'radius',
|
37
|
-
'D': 'diamater',
|
38
|
-
'W': 'width',
|
39
|
-
'u': 'unit(s)',
|
40
|
-
'u/s': 'units per second',
|
41
|
-
'ef.': 'effect',
|
42
|
-
//
|
43
|
-
'⨁': 'range',
|
44
|
-
'🗡️': 'attack',
|
45
|
-
'⏳': 'cooldown',
|
46
|
-
'⏱️': 'cast duration',
|
47
|
-
'💧': 'ability cost',
|
48
|
-
//
|
49
|
-
'🧢': 'cap',
|
50
|
-
'➊➑📈': 'based on level',
|
51
|
-
};
|
52
|
-
export function isLeagueText(value) {
|
53
|
-
return typeof value == 'string' && value in LeagueTexts;
|
54
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
export declare const Levels: {
|
2
|
-
readonly 1: 1;
|
3
|
-
readonly 2: 2;
|
4
|
-
readonly 3: 3;
|
5
|
-
readonly 4: 4;
|
6
|
-
readonly 5: 5;
|
7
|
-
readonly 6: 6;
|
8
|
-
readonly 7: 7;
|
9
|
-
readonly 8: 8;
|
10
|
-
readonly 9: 9;
|
11
|
-
readonly 10: 10;
|
12
|
-
readonly 11: 11;
|
13
|
-
readonly 12: 12;
|
14
|
-
readonly 13: 13;
|
15
|
-
readonly 14: 14;
|
16
|
-
readonly 15: 15;
|
17
|
-
readonly 16: 16;
|
18
|
-
readonly 17: 17;
|
19
|
-
readonly 18: 18;
|
20
|
-
};
|
21
|
-
export type Level = typeof Levels[keyof typeof Levels];
|
22
|
-
export declare function isLevel(level: number): level is Level;
|
package/core/constants/Levels.js
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
export const Levels = {
|
2
|
-
1: 1,
|
3
|
-
2: 2,
|
4
|
-
3: 3,
|
5
|
-
4: 4,
|
6
|
-
5: 5,
|
7
|
-
6: 6,
|
8
|
-
7: 7,
|
9
|
-
8: 8,
|
10
|
-
9: 9,
|
11
|
-
10: 10,
|
12
|
-
11: 11,
|
13
|
-
12: 12,
|
14
|
-
13: 13,
|
15
|
-
14: 14,
|
16
|
-
15: 15,
|
17
|
-
16: 16,
|
18
|
-
17: 17,
|
19
|
-
18: 18,
|
20
|
-
};
|
21
|
-
export function isLevel(level) {
|
22
|
-
return level in Levels;
|
23
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* 11 — Summoner's Rift
|
3
|
-
*
|
4
|
-
* 12 — Howling Abyss
|
5
|
-
*
|
6
|
-
* 21 — Nexus Blitz
|
7
|
-
*
|
8
|
-
* 22 — Convergence
|
9
|
-
*/
|
10
|
-
export declare const MapIds: {
|
11
|
-
readonly 11: 11;
|
12
|
-
readonly 12: 12;
|
13
|
-
readonly 21: 21;
|
14
|
-
readonly 22: 22;
|
15
|
-
};
|
16
|
-
export type MapId = typeof MapIds[keyof typeof MapIds];
|
17
|
-
export declare function isMapId(value: number): value is MapId;
|
package/core/constants/MapIds.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* 11 — Summoner's Rift
|
3
|
-
*
|
4
|
-
* 12 — Howling Abyss
|
5
|
-
*
|
6
|
-
* 21 — Nexus Blitz
|
7
|
-
*
|
8
|
-
* 22 — Convergence
|
9
|
-
*/
|
10
|
-
export const MapIds = {
|
11
|
-
11: 11,
|
12
|
-
12: 12,
|
13
|
-
21: 21,
|
14
|
-
22: 22,
|
15
|
-
};
|
16
|
-
export function isMapId(value) {
|
17
|
-
return value in MapIds;
|
18
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export declare const MonsterTypes: {
|
2
|
-
readonly HORDE: "HORDE";
|
3
|
-
readonly DRAGON: "DRAGON";
|
4
|
-
readonly RIFTHERALD: "RIFTHERALD";
|
5
|
-
readonly BARON_NASHOR: "BARON_NASHOR";
|
6
|
-
};
|
7
|
-
export type MonsterType = typeof MonsterTypes[keyof typeof MonsterTypes];
|
8
|
-
export declare function isMonsterType(value: any): value is MonsterType;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare const ParticipantIds: {
|
2
|
-
readonly 1: 1;
|
3
|
-
readonly 2: 2;
|
4
|
-
readonly 3: 3;
|
5
|
-
readonly 4: 4;
|
6
|
-
readonly 5: 5;
|
7
|
-
readonly 6: 6;
|
8
|
-
readonly 7: 7;
|
9
|
-
readonly 8: 8;
|
10
|
-
readonly 9: 9;
|
11
|
-
readonly 10: 10;
|
12
|
-
};
|
13
|
-
export type ParticipantId = typeof ParticipantIds[keyof typeof ParticipantIds];
|
14
|
-
export declare function isParticipantId(value: number): value is ParticipantId;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
export declare const PlatformApiUris: {
|
2
|
-
readonly BR1: "br1.api.riotgames.com";
|
3
|
-
readonly EUN1: "eun1.api.riotgames.com";
|
4
|
-
readonly EUW1: "euw1.api.riotgames.com";
|
5
|
-
readonly JP1: "jp1.api.riotgames.com";
|
6
|
-
readonly KR: "kr.api.riotgames.com";
|
7
|
-
readonly LA1: "la1.api.riotgames.com";
|
8
|
-
readonly LA2: "la2.api.riotgames.com";
|
9
|
-
readonly NA1: "na1.api.riotgames.com";
|
10
|
-
readonly OC1: "oc1.api.riotgames.com";
|
11
|
-
readonly TR1: "tr1.api.riotgames.com";
|
12
|
-
readonly RU: "ru.api.riotgames.com";
|
13
|
-
readonly PH2: "ph2.api.riotgames.com";
|
14
|
-
readonly SG2: "sg2.api.riotgames.com";
|
15
|
-
readonly TH2: "th2.api.riotgames.com";
|
16
|
-
readonly TW2: "tw2.api.riotgames.com";
|
17
|
-
readonly VN2: "vn2.api.riotgames.com";
|
18
|
-
};
|
19
|
-
export type PlatformApiUri = typeof PlatformApiUris[keyof typeof PlatformApiUris];
|
20
|
-
export declare function isPlatformApiUri(value: any): value is PlatformApiUri;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
export const PlatformApiUris = {
|
2
|
-
'BR1': 'br1.api.riotgames.com',
|
3
|
-
'EUN1': 'eun1.api.riotgames.com',
|
4
|
-
'EUW1': 'euw1.api.riotgames.com',
|
5
|
-
'JP1': 'jp1.api.riotgames.com',
|
6
|
-
'KR': 'kr.api.riotgames.com',
|
7
|
-
'LA1': 'la1.api.riotgames.com',
|
8
|
-
'LA2': 'la2.api.riotgames.com',
|
9
|
-
'NA1': 'na1.api.riotgames.com',
|
10
|
-
'OC1': 'oc1.api.riotgames.com',
|
11
|
-
'TR1': 'tr1.api.riotgames.com',
|
12
|
-
'RU': 'ru.api.riotgames.com',
|
13
|
-
'PH2': 'ph2.api.riotgames.com',
|
14
|
-
'SG2': 'sg2.api.riotgames.com',
|
15
|
-
'TH2': 'th2.api.riotgames.com',
|
16
|
-
'TW2': 'tw2.api.riotgames.com',
|
17
|
-
'VN2': 'vn2.api.riotgames.com',
|
18
|
-
};
|
19
|
-
export function isPlatformApiUri(value) {
|
20
|
-
return typeof value == 'string' && value in PlatformApiUris;
|
21
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { Region } from './Regions';
|
2
|
-
export declare const PlatformIds: {
|
3
|
-
readonly BR: "BR1";
|
4
|
-
readonly EUNE: "EUN1";
|
5
|
-
readonly EUW: "EUW1";
|
6
|
-
readonly JP: "JP1";
|
7
|
-
readonly KR: "KR";
|
8
|
-
readonly LAN: "LA1";
|
9
|
-
readonly LAS: "LA2";
|
10
|
-
readonly NA: "NA1";
|
11
|
-
readonly OCE: "OC1";
|
12
|
-
readonly TR: "TR1";
|
13
|
-
readonly RU: "RU";
|
14
|
-
readonly PH: "PH2";
|
15
|
-
readonly SG: "SG2";
|
16
|
-
readonly TH: "TH2";
|
17
|
-
readonly TW: "TW2";
|
18
|
-
readonly VN: "VN2";
|
19
|
-
readonly PBE: "PBE1";
|
20
|
-
};
|
21
|
-
export type PlatformId = typeof PlatformIds[keyof typeof PlatformIds];
|
22
|
-
export declare function isPlatformId(value: any): value is PlatformId;
|
23
|
-
export declare function getPlatformIdByRegion(region: Region): PlatformId;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { Regions } from './Regions';
|
2
|
-
export const PlatformIds = {
|
3
|
-
'BR': 'BR1',
|
4
|
-
'EUNE': 'EUN1',
|
5
|
-
'EUW': 'EUW1',
|
6
|
-
'JP': 'JP1',
|
7
|
-
'KR': 'KR',
|
8
|
-
'LAN': 'LA1',
|
9
|
-
'LAS': 'LA2',
|
10
|
-
'NA': 'NA1',
|
11
|
-
'OCE': 'OC1',
|
12
|
-
'TR': 'TR1',
|
13
|
-
'RU': 'RU',
|
14
|
-
'PH': 'PH2',
|
15
|
-
'SG': 'SG2',
|
16
|
-
'TH': 'TH2',
|
17
|
-
'TW': 'TW2',
|
18
|
-
'VN': 'VN2',
|
19
|
-
'PBE': 'PBE1',
|
20
|
-
};
|
21
|
-
export function isPlatformId(value) {
|
22
|
-
return typeof value == 'string' && value in Regions;
|
23
|
-
}
|
24
|
-
export function getPlatformIdByRegion(region) {
|
25
|
-
return PlatformIds[region];
|
26
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export declare const Positions: {
|
2
|
-
readonly TOP: "TOP";
|
3
|
-
readonly JUNGLE: "JUNGLE";
|
4
|
-
readonly MIDDLE: "MIDDLE";
|
5
|
-
readonly BOTTOM: "BOTTOM";
|
6
|
-
readonly UTILITY: "UTILITY";
|
7
|
-
};
|
8
|
-
export type Position = typeof Positions[keyof typeof Positions];
|
9
|
-
export declare function isPosition(position: any): position is Position;
|
@@ -1,114 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* 0 — Custom games
|
3
|
-
*
|
4
|
-
* 400 — 5v5 Draft Pick games
|
5
|
-
*
|
6
|
-
* 420 — 5v5 Ranked Solo games
|
7
|
-
*
|
8
|
-
* 430 — 5v5 Blind Pick games
|
9
|
-
*
|
10
|
-
* 440 — 5v5 Ranked Flex games
|
11
|
-
*
|
12
|
-
* 450 — 5v5 ARAM games
|
13
|
-
*
|
14
|
-
* 700 — Clash games
|
15
|
-
*
|
16
|
-
* 720 — ARAM Clash games
|
17
|
-
*
|
18
|
-
* 830 — Co-op vs. AI Intro Bot games
|
19
|
-
*
|
20
|
-
* 840 — Co-op vs. AI Beginner Bot games
|
21
|
-
*
|
22
|
-
* 850 — Co-op vs. AI Intermediate Bot games
|
23
|
-
*
|
24
|
-
* 900 — ARURF games
|
25
|
-
*
|
26
|
-
* 920 — Legend of the Poro King games
|
27
|
-
*
|
28
|
-
* 1010 — Snow ARURF games
|
29
|
-
*
|
30
|
-
* 1020 — One for All games
|
31
|
-
*
|
32
|
-
* 1090 — Teamfight Tactics games
|
33
|
-
*
|
34
|
-
* 1100 — Ranked Teamfight Tactics games
|
35
|
-
*
|
36
|
-
* 1110 — Teamfight Tactics Tutorial games
|
37
|
-
*
|
38
|
-
* 1111 — Teamfight Tactics test games
|
39
|
-
*
|
40
|
-
* 1300 — Nexus Blitz games
|
41
|
-
*
|
42
|
-
* 1400 — Ultimate Spellbook games
|
43
|
-
*
|
44
|
-
* 1700 — Arena 2v2v2v2
|
45
|
-
*
|
46
|
-
* 1900 — Pick URF games
|
47
|
-
*
|
48
|
-
* 2000 — Tutorial 1
|
49
|
-
*
|
50
|
-
* 2010 — Tutorial 2
|
51
|
-
*
|
52
|
-
* 2020 — Tutorial 3
|
53
|
-
*/
|
54
|
-
export declare const QueueIds: {
|
55
|
-
readonly 0: 0;
|
56
|
-
readonly 400: 400;
|
57
|
-
readonly 420: 420;
|
58
|
-
readonly 430: 430;
|
59
|
-
readonly 440: 440;
|
60
|
-
readonly 450: 450;
|
61
|
-
readonly 700: 700;
|
62
|
-
readonly 720: 720;
|
63
|
-
readonly 830: 830;
|
64
|
-
readonly 840: 840;
|
65
|
-
readonly 850: 850;
|
66
|
-
readonly 900: 900;
|
67
|
-
readonly 920: 920;
|
68
|
-
readonly 1010: 1010;
|
69
|
-
readonly 1020: 1020;
|
70
|
-
readonly 1090: 1090;
|
71
|
-
readonly 1100: 1100;
|
72
|
-
readonly 1110: 1110;
|
73
|
-
readonly 1111: 1111;
|
74
|
-
readonly 1300: 1300;
|
75
|
-
readonly 1400: 1400;
|
76
|
-
readonly 1700: 1700;
|
77
|
-
readonly 1900: 1900;
|
78
|
-
readonly 2000: 2000;
|
79
|
-
readonly 2010: 2010;
|
80
|
-
readonly 2020: 2020;
|
81
|
-
};
|
82
|
-
export type QueueId = typeof QueueIds[keyof typeof QueueIds];
|
83
|
-
export declare function isQueueId(value: number): value is QueueId;
|
84
|
-
export declare const QueueDescriptions: {
|
85
|
-
[queueId in QueueId]: string;
|
86
|
-
};
|
87
|
-
export declare const QueueDescriptionsToIds: {
|
88
|
-
readonly Custom: 0;
|
89
|
-
readonly '5v5 Draft Pick': 400;
|
90
|
-
readonly '5v5 Ranked Solo': 420;
|
91
|
-
readonly '5v5 Blind Pick': 430;
|
92
|
-
readonly '5v5 Ranked Flex': 440;
|
93
|
-
readonly '5v5 ARAM': 450;
|
94
|
-
readonly Clash: 700;
|
95
|
-
readonly 'ARAM Clash': 720;
|
96
|
-
readonly 'Co-op vs. AI Intro Bots': 830;
|
97
|
-
readonly 'Co-op vs. AI Beginner Bots': 840;
|
98
|
-
readonly 'Co-op vs. AI Intermediate Bots': 850;
|
99
|
-
readonly ARURF: 900;
|
100
|
-
readonly 'Legend of the Poro King': 920;
|
101
|
-
readonly 'Snow ARURF': 1010;
|
102
|
-
readonly 'One for All': 1020;
|
103
|
-
readonly 'Teamfight Tactics': 1090;
|
104
|
-
readonly 'Ranked Teamfight Tactics': 1100;
|
105
|
-
readonly 'Teamfight Tactics Tutorial': 1110;
|
106
|
-
readonly 'Teamfight Tactics test': 1111;
|
107
|
-
readonly 'Nexus Blitz': 1300;
|
108
|
-
readonly 'Ultimate Spellbook': 1400;
|
109
|
-
readonly 'Arena 2v2v2v2': 1700;
|
110
|
-
readonly URF: 1900;
|
111
|
-
readonly 'Tutorial 1': 2000;
|
112
|
-
readonly 'Tutorial 2': 2010;
|
113
|
-
readonly 'Tutorial 3': 2020;
|
114
|
-
};
|