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,18 +0,0 @@
|
|
1
|
-
import { Summoner } from '../constants/base/Summoner';
|
2
|
-
import { writeToTmpFile } from './helpers/writeToTmpFile';
|
3
|
-
(async () => {
|
4
|
-
const spellNames = {};
|
5
|
-
// Add all summoners spell data to each corresponding key value
|
6
|
-
let spellId;
|
7
|
-
for (spellId in Summoner.data) {
|
8
|
-
const spellData = Summoner.data[spellId];
|
9
|
-
spellNames[spellData.key] = spellData.name;
|
10
|
-
}
|
11
|
-
// Write to file
|
12
|
-
const constName = 'SpellNames';
|
13
|
-
writeToTmpFile(constName, {
|
14
|
-
constName,
|
15
|
-
includeAutoTypeName: true,
|
16
|
-
json: spellNames,
|
17
|
-
});
|
18
|
-
})();
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { StatRunes } from '../constants/StatRunes';
|
2
|
-
import { writeToTmpFile } from './helpers/writeToTmpFile';
|
3
|
-
import { RuneIdComment } from './constants/RuneIdComment';
|
4
|
-
(async () => {
|
5
|
-
const runeIds = {};
|
6
|
-
// Add Stat Runes
|
7
|
-
for (const { description, id: statRuneId, } of StatRunes) {
|
8
|
-
runeIds[description] = statRuneId;
|
9
|
-
}
|
10
|
-
// Write to file
|
11
|
-
const constName = 'StatRuneIds';
|
12
|
-
writeToTmpFile(constName, {
|
13
|
-
constName,
|
14
|
-
includeAutoTypeName: true,
|
15
|
-
typeComment: RuneIdComment,
|
16
|
-
json: runeIds,
|
17
|
-
});
|
18
|
-
})();
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { StatRunes } from '../constants/StatRunes';
|
2
|
-
import { writeToTmpFile } from './helpers/writeToTmpFile';
|
3
|
-
(async () => {
|
4
|
-
const runeNames = {};
|
5
|
-
// Add Stat Runes
|
6
|
-
for (const { description, id: statRuneId, } of StatRunes) {
|
7
|
-
runeNames[statRuneId] = description;
|
8
|
-
}
|
9
|
-
// Write to file
|
10
|
-
const constName = 'StatRuneNames';
|
11
|
-
writeToTmpFile(constName, {
|
12
|
-
constName,
|
13
|
-
includeAutoTypeName: true,
|
14
|
-
json: runeNames,
|
15
|
-
});
|
16
|
-
})();
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Basically a modified `JSON.stringify()` function.
|
3
|
-
*
|
4
|
-
* Assumes that what you're trying to do is simply "escape" the value
|
5
|
-
* of a key in `keysToSpread`, clearing it away from:
|
6
|
-
* - its own key and its 2 quotation marks `"` and its colon `:`,
|
7
|
-
* - the 2 quotation marks `"` around the value.
|
8
|
-
*
|
9
|
-
* This way enabling the spreading of a Constant into the end object.
|
10
|
-
* Example:
|
11
|
-
* `{"key":"...ConstantValue"} => {...ConstantValue}`
|
12
|
-
*/
|
13
|
-
export declare function enableEscapedValues(obj: {
|
14
|
-
[k: string]: any;
|
15
|
-
}, keysToEscape: (string | number)[]): string;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Basically a modified `JSON.stringify()` function.
|
3
|
-
*
|
4
|
-
* Assumes that what you're trying to do is simply "escape" the value
|
5
|
-
* of a key in `keysToSpread`, clearing it away from:
|
6
|
-
* - its own key and its 2 quotation marks `"` and its colon `:`,
|
7
|
-
* - the 2 quotation marks `"` around the value.
|
8
|
-
*
|
9
|
-
* This way enabling the spreading of a Constant into the end object.
|
10
|
-
* Example:
|
11
|
-
* `{"key":"...ConstantValue"} => {...ConstantValue}`
|
12
|
-
*/
|
13
|
-
export function enableEscapedValues(obj, keysToEscape) {
|
14
|
-
let json = JSON.stringify(obj);
|
15
|
-
for (let key of keysToEscape) {
|
16
|
-
const stringifiedKey = `"${key}":`;
|
17
|
-
let stKeyIdx = json.indexOf(stringifiedKey);
|
18
|
-
// Skip if for whatever reason not found
|
19
|
-
if (stKeyIdx == -1)
|
20
|
-
continue;
|
21
|
-
// Remove the key with its 2 quotation marks and colon
|
22
|
-
json =
|
23
|
-
json.slice(0, stKeyIdx)
|
24
|
-
+ json.slice(stKeyIdx + stringifiedKey.length);
|
25
|
-
// Remove the next 2 quotation marks for supposed spread value
|
26
|
-
for (let i = 0; i < 2; ++i) {
|
27
|
-
const idxToRemove = json.indexOf('"', stKeyIdx);
|
28
|
-
json =
|
29
|
-
json.slice(0, idxToRemove)
|
30
|
-
+ json.slice(idxToRemove + 1);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
return json;
|
34
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function generateIndexFile(): void;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Wraps the provided JSON in a TS export-as-const statement.
|
3
|
-
*/
|
4
|
-
export declare function getExportStatement(constName: string, json: {
|
5
|
-
[k: string]: any;
|
6
|
-
}, keysToEscape?: (string | number)[], comment?: string, typeName?: string, typeComment?: string, includeAutoTypeName?: boolean): string;
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { enableEscapedValues } from './enableEscapedValues';
|
2
|
-
import { getFmtdComment } from './getFmtdComment';
|
3
|
-
/**
|
4
|
-
* Wraps the provided JSON in a TS export-as-const statement.
|
5
|
-
*/
|
6
|
-
export function getExportStatement(constName, json, keysToEscape, comment, typeName, typeComment, includeAutoTypeName) {
|
7
|
-
let contents = '';
|
8
|
-
const auditNewLineChar = (endingSt, startingSt) => {
|
9
|
-
if (endingSt.at(-1) != '\n' &&
|
10
|
-
startingSt.at(0) != '\n') {
|
11
|
-
endingSt += '\n';
|
12
|
-
}
|
13
|
-
return endingSt;
|
14
|
-
};
|
15
|
-
const stringifiedJson = keysToEscape
|
16
|
-
? enableEscapedValues(json, keysToEscape)
|
17
|
-
: JSON.stringify(json);
|
18
|
-
if (comment) {
|
19
|
-
contents += getFmtdComment(comment);
|
20
|
-
contents += '\n';
|
21
|
-
}
|
22
|
-
contents += `export const ${constName} = ${stringifiedJson} as const`;
|
23
|
-
if (typeComment) {
|
24
|
-
contents = auditNewLineChar(contents, typeComment);
|
25
|
-
if (typeComment.includes('/**'))
|
26
|
-
contents += typeComment;
|
27
|
-
else
|
28
|
-
contents += getFmtdComment(typeComment);
|
29
|
-
}
|
30
|
-
if (typeName || includeAutoTypeName) {
|
31
|
-
contents = auditNewLineChar(contents, '');
|
32
|
-
if (includeAutoTypeName)
|
33
|
-
typeName = constName.slice(0, -1);
|
34
|
-
contents += `export type ${typeName} = typeof ${constName}[keyof typeof ${constName}]`;
|
35
|
-
}
|
36
|
-
return contents;
|
37
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function validateNumber(value: any, debugVariableLabel: string): number;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export declare function writeToTmpFile(mainConstName: string, ...constants: {
|
2
|
-
constName: string;
|
3
|
-
comment?: string;
|
4
|
-
json: {
|
5
|
-
[k: string]: any;
|
6
|
-
};
|
7
|
-
typeName?: string;
|
8
|
-
typeComment?: string;
|
9
|
-
validationFnName?: string;
|
10
|
-
validationFnComment?: string;
|
11
|
-
includeAutoTypeName?: boolean;
|
12
|
-
keysToEscape?: (string | number)[];
|
13
|
-
}[]): Promise<void>;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { writeFile } from 'fs';
|
2
|
-
import { getExportStatement } from './getExportStatement';
|
3
|
-
export function writeToTmpFile(mainConstName, ...constants) {
|
4
|
-
return new Promise((res, rej) => {
|
5
|
-
const exportStatements = constants.reduce((finalSt, { constName, comment, json, keysToEscape, typeName, typeComment, validationFnName, validationFnComment, includeAutoTypeName, }, i) => {
|
6
|
-
let exportStatement = getExportStatement(constName, json, keysToEscape, comment, typeName, typeComment, includeAutoTypeName);
|
7
|
-
return (finalSt
|
8
|
-
+ exportStatement
|
9
|
-
// On last statement, provide only a single empty ending line
|
10
|
-
+ (i + 1 == constants.length ? '\n' : '\n\n'));
|
11
|
-
}, '');
|
12
|
-
writeFile(`tmp/${mainConstName}.ts`, exportStatements, err => {
|
13
|
-
if (err)
|
14
|
-
rej(err);
|
15
|
-
res();
|
16
|
-
});
|
17
|
-
});
|
18
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,89 +0,0 @@
|
|
1
|
-
import { readdir, readFile } from 'fs/promises';
|
2
|
-
const folders1 = [
|
3
|
-
'constants',
|
4
|
-
'helpers',
|
5
|
-
];
|
6
|
-
const folders2 = [
|
7
|
-
'Champions',
|
8
|
-
'Items',
|
9
|
-
'Runes',
|
10
|
-
'Spells',
|
11
|
-
];
|
12
|
-
function getVariableNamesFromFileContents(contents, exportStatement, endingCharacter) {
|
13
|
-
const typeNames = [];
|
14
|
-
let exportIndex = 0;
|
15
|
-
while ((exportIndex = contents.indexOf(exportStatement, exportIndex)) != -1) {
|
16
|
-
const typeNameIndex = exportIndex + (exportStatement + ' ').length;
|
17
|
-
const typeNameEndIndex = contents.indexOf(endingCharacter, typeNameIndex);
|
18
|
-
const typeName = contents.slice(typeNameIndex, typeNameEndIndex);
|
19
|
-
typeNames.push(typeName);
|
20
|
-
exportIndex = typeNameEndIndex;
|
21
|
-
}
|
22
|
-
return typeNames;
|
23
|
-
}
|
24
|
-
async function getVariableNames(exportStatement, endingCharacter) {
|
25
|
-
exportStatement = exportStatement.trim();
|
26
|
-
const workspace = {};
|
27
|
-
const product = {};
|
28
|
-
for (const folder1 of folders1) {
|
29
|
-
for (const folder2 of folders2) {
|
30
|
-
if (workspace[folder2] == null)
|
31
|
-
workspace[folder2] = [];
|
32
|
-
const base = `src/core/${folder1}/${folder2}`;
|
33
|
-
const fileNames = await readdir(base);
|
34
|
-
for (const fileName of fileNames) {
|
35
|
-
const contents = await readFile(`${base}/${fileName}`, { encoding: 'utf-8' });
|
36
|
-
workspace[folder2].push(...getVariableNamesFromFileContents(contents, exportStatement, endingCharacter));
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
// Finalize product
|
41
|
-
for (const folder2 in workspace) {
|
42
|
-
const variableNames = workspace[folder2];
|
43
|
-
variableNames.sort((a, b) => a.localeCompare(b));
|
44
|
-
product[folder2] = '`' + workspace[folder2].join('`, `') + '`';
|
45
|
-
}
|
46
|
-
return product;
|
47
|
-
}
|
48
|
-
function combineVariableGroupsForReadMeTable(obj) {
|
49
|
-
const product = {};
|
50
|
-
for (const folder2 of folders2) {
|
51
|
-
const groups = [];
|
52
|
-
for (let groupName in obj) {
|
53
|
-
groups.push(obj[groupName][folder2]);
|
54
|
-
}
|
55
|
-
product[folder2] = groups.join(' | ');
|
56
|
-
}
|
57
|
-
return product;
|
58
|
-
}
|
59
|
-
async function getOtherVariableInfo() {
|
60
|
-
const constants = [];
|
61
|
-
const types = [];
|
62
|
-
const functions = [];
|
63
|
-
const constantFileNames = (await readdir('src/core/constants'))
|
64
|
-
.filter(fileName => fileName.includes('.ts'));
|
65
|
-
for (const fileName of constantFileNames) {
|
66
|
-
const contents = await readFile(`src/core/constants/${fileName}`, { encoding: 'utf-8' });
|
67
|
-
constants.push(...getVariableNamesFromFileContents(contents, 'export const', ' '));
|
68
|
-
types.push(...getVariableNamesFromFileContents(contents, 'export type', ' '));
|
69
|
-
functions.push(...getVariableNamesFromFileContents(contents, 'export function', '('));
|
70
|
-
}
|
71
|
-
const constantsSt = '`' + constants.join('`, `') + '`';
|
72
|
-
const typesSt = '`' + types.join('`, `') + '`';
|
73
|
-
const functionsSt = '`' + functions.join('`, `') + '`';
|
74
|
-
return `${constantsSt} | ${typesSt} | ${functionsSt}`;
|
75
|
-
}
|
76
|
-
(async () => {
|
77
|
-
const constantNames = await getVariableNames('export const', ' ');
|
78
|
-
const typeNames = await getVariableNames('export type', ' ');
|
79
|
-
const functionNames = await getVariableNames('export function', '(');
|
80
|
-
const grouped = {
|
81
|
-
constants: constantNames,
|
82
|
-
types: typeNames,
|
83
|
-
functions: functionNames,
|
84
|
-
};
|
85
|
-
const product = combineVariableGroupsForReadMeTable(grouped);
|
86
|
-
console.log(product);
|
87
|
-
const otherVariableInfo = await getOtherVariableInfo();
|
88
|
-
console.log(otherVariableInfo);
|
89
|
-
})();
|
package/core/Locale.d.ts
DELETED
package/core/PatchVersion.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const PatchVersion = "14.17";
|
package/core/PatchVersion.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export const PatchVersion = '14.17';
|
@@ -1,17 +0,0 @@
|
|
1
|
-
export declare const Abilities: {
|
2
|
-
readonly P: "P";
|
3
|
-
readonly Q: "Q";
|
4
|
-
readonly W: "W";
|
5
|
-
readonly E: "E";
|
6
|
-
readonly R: "R";
|
7
|
-
};
|
8
|
-
export type Ability = typeof Abilities[keyof typeof Abilities];
|
9
|
-
export declare function isAbility(value: any): value is Ability;
|
10
|
-
export declare const ActiveAbilities: {
|
11
|
-
readonly Q: "Q";
|
12
|
-
readonly W: "W";
|
13
|
-
readonly E: "E";
|
14
|
-
readonly R: "R";
|
15
|
-
};
|
16
|
-
export type ActiveAbility = typeof ActiveAbilities[keyof typeof ActiveAbilities];
|
17
|
-
export declare function isActiveAbility(value: any): value is ActiveAbility;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
export const Abilities = {
|
2
|
-
'P': 'P',
|
3
|
-
'Q': 'Q',
|
4
|
-
'W': 'W',
|
5
|
-
'E': 'E',
|
6
|
-
'R': 'R',
|
7
|
-
};
|
8
|
-
export function isAbility(value) {
|
9
|
-
return typeof value == 'string' && value in Abilities;
|
10
|
-
}
|
11
|
-
export const ActiveAbilities = {
|
12
|
-
'Q': 'Q',
|
13
|
-
'W': 'W',
|
14
|
-
'E': 'E',
|
15
|
-
'R': 'R',
|
16
|
-
};
|
17
|
-
export function isActiveAbility(value) {
|
18
|
-
return typeof value == 'string' && value in ActiveAbilities;
|
19
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export declare const BuildingTypes: {
|
2
|
-
readonly TOWER_BUILDING: "TOWER_BUILDING";
|
3
|
-
readonly INHIBITOR_BUILDING: "INHIBITOR_BUILDING";
|
4
|
-
};
|
5
|
-
export type BuildingType = typeof BuildingTypes[keyof typeof BuildingTypes];
|
6
|
-
export declare function isBuildingType(value: any): value is BuildingType;
|
@@ -1,171 +0,0 @@
|
|
1
|
-
export declare const ChampionIds: {
|
2
|
-
readonly "1": "Annie";
|
3
|
-
readonly "2": "Olaf";
|
4
|
-
readonly "3": "Galio";
|
5
|
-
readonly "4": "TwistedFate";
|
6
|
-
readonly "5": "XinZhao";
|
7
|
-
readonly "6": "Urgot";
|
8
|
-
readonly "7": "Leblanc";
|
9
|
-
readonly "8": "Vladimir";
|
10
|
-
readonly "9": "Fiddlesticks";
|
11
|
-
readonly "10": "Kayle";
|
12
|
-
readonly "11": "MasterYi";
|
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";
|
22
|
-
readonly "21": "MissFortune";
|
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": "Chogath";
|
33
|
-
readonly "32": "Amumu";
|
34
|
-
readonly "33": "Rammus";
|
35
|
-
readonly "34": "Anivia";
|
36
|
-
readonly "35": "Shaco";
|
37
|
-
readonly "36": "DrMundo";
|
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": "JarvanIV";
|
57
|
-
readonly "60": "Elise";
|
58
|
-
readonly "61": "Orianna";
|
59
|
-
readonly "62": "MonkeyKing";
|
60
|
-
readonly "63": "Brand";
|
61
|
-
readonly "64": "LeeSin";
|
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": "KogMaw";
|
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": "Khazix";
|
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": "AurelionSol";
|
110
|
-
readonly "141": "Kayn";
|
111
|
-
readonly "142": "Zoe";
|
112
|
-
readonly "143": "Zyra";
|
113
|
-
readonly "145": "Kaisa";
|
114
|
-
readonly "147": "Seraphine";
|
115
|
-
readonly "150": "Gnar";
|
116
|
-
readonly "154": "Zac";
|
117
|
-
readonly "157": "Yasuo";
|
118
|
-
readonly "161": "Velkoz";
|
119
|
-
readonly "163": "Taliyah";
|
120
|
-
readonly "164": "Camille";
|
121
|
-
readonly "166": "Akshan";
|
122
|
-
readonly "200": "Belveth";
|
123
|
-
readonly "201": "Braum";
|
124
|
-
readonly "202": "Jhin";
|
125
|
-
readonly "203": "Kindred";
|
126
|
-
readonly "221": "Zeri";
|
127
|
-
readonly "222": "Jinx";
|
128
|
-
readonly "223": "TahmKench";
|
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": "RekSai";
|
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";
|
163
|
-
readonly "893": "Aurora";
|
164
|
-
readonly "895": "Nilah";
|
165
|
-
readonly "897": "KSante";
|
166
|
-
readonly "901": "Smolder";
|
167
|
-
readonly "902": "Milio";
|
168
|
-
readonly "910": "Hwei";
|
169
|
-
readonly "950": "Naafiri";
|
170
|
-
};
|
171
|
-
export type ChampionId = typeof ChampionIds[keyof typeof ChampionIds];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const ChampionIds = { "1": "Annie", "2": "Olaf", "3": "Galio", "4": "TwistedFate", "5": "XinZhao", "6": "Urgot", "7": "Leblanc", "8": "Vladimir", "9": "Fiddlesticks", "10": "Kayle", "11": "MasterYi", "12": "Alistar", "13": "Ryze", "14": "Sion", "15": "Sivir", "16": "Soraka", "17": "Teemo", "18": "Tristana", "19": "Warwick", "20": "Nunu", "21": "MissFortune", "22": "Ashe", "23": "Tryndamere", "24": "Jax", "25": "Morgana", "26": "Zilean", "27": "Singed", "28": "Evelynn", "29": "Twitch", "30": "Karthus", "31": "Chogath", "32": "Amumu", "33": "Rammus", "34": "Anivia", "35": "Shaco", "36": "DrMundo", "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": "JarvanIV", "60": "Elise", "61": "Orianna", "62": "MonkeyKing", "63": "Brand", "64": "LeeSin", "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": "KogMaw", "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": "Khazix", "122": "Darius", "126": "Jayce", "127": "Lissandra", "131": "Diana", "133": "Quinn", "134": "Syndra", "136": "AurelionSol", "141": "Kayn", "142": "Zoe", "143": "Zyra", "145": "Kaisa", "147": "Seraphine", "150": "Gnar", "154": "Zac", "157": "Yasuo", "161": "Velkoz", "163": "Taliyah", "164": "Camille", "166": "Akshan", "200": "Belveth", "201": "Braum", "202": "Jhin", "203": "Kindred", "221": "Zeri", "222": "Jinx", "223": "TahmKench", "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": "RekSai", "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", "893": "Aurora", "895": "Nilah", "897": "KSante", "901": "Smolder", "902": "Milio", "910": "Hwei", "950": "Naafiri" };
|