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,16 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* `name#tag` => `{name, tag}`
|
3
|
-
*/
|
4
|
-
export function splitRiotId(riotId,
|
5
|
-
/** @default '#' */
|
6
|
-
splitChar = '#') {
|
7
|
-
const split = riotId.split(splitChar);
|
8
|
-
let name = split[0] ?? '';
|
9
|
-
let tag = split[1] ?? '';
|
10
|
-
if (tag.includes(splitChar))
|
11
|
-
tag = '';
|
12
|
-
return {
|
13
|
-
name,
|
14
|
-
tag,
|
15
|
-
};
|
16
|
-
}
|
package/core/index.d.ts
DELETED
@@ -1,139 +0,0 @@
|
|
1
|
-
export * from './constants/BuildingTypes';
|
2
|
-
export * from './constants/Continents';
|
3
|
-
export * from './constants/DataDragonUrls';
|
4
|
-
export * from './constants/DragonTypes';
|
5
|
-
export * from './constants/GameModes';
|
6
|
-
export * from './constants/GameTypes';
|
7
|
-
export * from './constants/KillTypes';
|
8
|
-
export * from './constants/Lanes';
|
9
|
-
export * from './constants/LaneTypes';
|
10
|
-
export * from './constants/LeagueTexts';
|
11
|
-
export * from './constants/Levels';
|
12
|
-
export * from './constants/Locales';
|
13
|
-
export * from './constants/MapIds';
|
14
|
-
export * from './constants/MonsterTypes';
|
15
|
-
export * from './constants/ParticipantIds';
|
16
|
-
export * from './constants/PlatformApiUris';
|
17
|
-
export * from './constants/PlatformIds';
|
18
|
-
export * from './constants/Positions';
|
19
|
-
export * from './constants/QueueIds';
|
20
|
-
export * from './constants/QueueTypes';
|
21
|
-
export * from './constants/RankedRanks';
|
22
|
-
export * from './constants/RankedTiers';
|
23
|
-
export * from './constants/RegionalApiUris';
|
24
|
-
export * from './constants/Regions';
|
25
|
-
export * from './constants/RelativeTeams';
|
26
|
-
export * from './constants/Roles';
|
27
|
-
export * from './constants/Skills';
|
28
|
-
export * from './constants/SkillSlots';
|
29
|
-
export * from './constants/TeamIds';
|
30
|
-
export * from './constants/TowerTypes';
|
31
|
-
export * from './constants/WardTypes';
|
32
|
-
export * from './constants/Champions/ChampionClasses';
|
33
|
-
export * from './constants/Champions/ChampionIds';
|
34
|
-
export * from './constants/Champions/ChampionIdsByName';
|
35
|
-
export * from './constants/Champions/ChampionKeys';
|
36
|
-
export * from './constants/Champions/ChampionKeysNum';
|
37
|
-
export * from './constants/Champions/ChampionNames';
|
38
|
-
export * from './constants/Items/BootsItemKeys';
|
39
|
-
export * from './constants/Items/BootsItemKeysNum';
|
40
|
-
export * from './constants/Items/BootsItemNames';
|
41
|
-
export * from './constants/Items/ItemKeys';
|
42
|
-
export * from './constants/Items/ItemKeysNum';
|
43
|
-
export * from './constants/Items/ItemNames';
|
44
|
-
export * from './constants/Items/ItemTypes';
|
45
|
-
export * from './constants/Items/LegendaryItemKeys';
|
46
|
-
export * from './constants/Items/LegendaryItemKeysNum';
|
47
|
-
export * from './constants/Items/LegendaryItemNames';
|
48
|
-
export * from './constants/Runes/NonStatRuneIds';
|
49
|
-
export * from './constants/Runes/NonStatRuneIdsNum';
|
50
|
-
export * from './constants/Runes/NonStatRuneNames';
|
51
|
-
export * from './constants/Runes/RuneIconFileNames';
|
52
|
-
export * from './constants/Runes/RunePickingRelationships';
|
53
|
-
export * from './constants/Runes/RuneSets';
|
54
|
-
export * from './constants/Runes/RuneSetsByRuneNames';
|
55
|
-
export * from './constants/Runes/RuneSetsByRuneNamesNum';
|
56
|
-
export * from './constants/Runes/RuneTreeIds';
|
57
|
-
export * from './constants/Runes/RuneTreeIdsNum';
|
58
|
-
export * from './constants/Runes/RuneTreeNames';
|
59
|
-
export * from './constants/Runes/RuneTreeTypes';
|
60
|
-
export * from './constants/Spells/SpellIds';
|
61
|
-
export * from './constants/Spells/SpellIdsByName';
|
62
|
-
export * from './constants/Spells/SpellKeys';
|
63
|
-
export * from './constants/Spells/SpellKeysNum';
|
64
|
-
export * from './constants/Spells/SpellNames';
|
65
|
-
export * from './helpers/getPositionImageUrl';
|
66
|
-
export * from './helpers/isRiotId';
|
67
|
-
export * from './helpers/makeRiotId';
|
68
|
-
export * from './helpers/splitRiotId';
|
69
|
-
export * from './helpers/Champions/getChampionIdByKey';
|
70
|
-
export * from './helpers/Champions/getChampionIdByName';
|
71
|
-
export * from './helpers/Champions/getChampionKeyById';
|
72
|
-
export * from './helpers/Champions/getChampionKeyByName';
|
73
|
-
export * from './helpers/Champions/getChampionNameById';
|
74
|
-
export * from './helpers/Champions/getChampionNameByKey';
|
75
|
-
export * from './helpers/Champions/isChampionId';
|
76
|
-
export * from './helpers/Champions/isChampionKey';
|
77
|
-
export * from './helpers/Champions/isChampionKeyNum';
|
78
|
-
export * from './helpers/Champions/isChampionName';
|
79
|
-
export * from './helpers/Items/getItemKeyByName';
|
80
|
-
export * from './helpers/Items/getItemKeyNumByName';
|
81
|
-
export * from './helpers/Items/getItemNameByKey';
|
82
|
-
export * from './helpers/Items/isBootsItemKey';
|
83
|
-
export * from './helpers/Items/isBootsItemKeyNum';
|
84
|
-
export * from './helpers/Items/isBootsItemName';
|
85
|
-
export * from './helpers/Items/isItemKey';
|
86
|
-
export * from './helpers/Items/isItemKeyNum';
|
87
|
-
export * from './helpers/Items/isItemName';
|
88
|
-
export * from './helpers/Items/isLegendaryItemKey';
|
89
|
-
export * from './helpers/Items/isLegendaryItemKeyNum';
|
90
|
-
export * from './helpers/Items/isLegendaryItemName';
|
91
|
-
export * from './helpers/Items/isTier2Boots';
|
92
|
-
export * from './helpers/Runes/getNonStatRuneIdByName';
|
93
|
-
export * from './helpers/Runes/getNonStatRuneNameById';
|
94
|
-
export * from './helpers/Runes/getRuneCategoryName';
|
95
|
-
export * from './helpers/Runes/getRuneCdnUrl';
|
96
|
-
export * from './helpers/Runes/getRuneIdByName';
|
97
|
-
export * from './helpers/Runes/getRuneNameById';
|
98
|
-
export * from './helpers/Runes/getStatRuneIdByName';
|
99
|
-
export * from './helpers/Runes/getStatRuneNameById';
|
100
|
-
export * from './helpers/Runes/isDominationRuneId';
|
101
|
-
export * from './helpers/Runes/isDominationRuneIdNum';
|
102
|
-
export * from './helpers/Runes/isDominationRuneName';
|
103
|
-
export * from './helpers/Runes/isInspirationRuneId';
|
104
|
-
export * from './helpers/Runes/isInspirationRuneIdNum';
|
105
|
-
export * from './helpers/Runes/isInspirationRuneName';
|
106
|
-
export * from './helpers/Runes/isKeystoneRuneId';
|
107
|
-
export * from './helpers/Runes/isKeystoneRuneIdNum';
|
108
|
-
export * from './helpers/Runes/isKeystoneRuneName';
|
109
|
-
export * from './helpers/Runes/isNonStatRuneId';
|
110
|
-
export * from './helpers/Runes/isNonStatRuneIdNum';
|
111
|
-
export * from './helpers/Runes/isNonStatRuneName';
|
112
|
-
export * from './helpers/Runes/isPrecisionRuneId';
|
113
|
-
export * from './helpers/Runes/isPrecisionRuneIdNum';
|
114
|
-
export * from './helpers/Runes/isPrecisionRuneName';
|
115
|
-
export * from './helpers/Runes/isResolveRuneId';
|
116
|
-
export * from './helpers/Runes/isResolveRuneIdNum';
|
117
|
-
export * from './helpers/Runes/isResolveRuneName';
|
118
|
-
export * from './helpers/Runes/isRuneId';
|
119
|
-
export * from './helpers/Runes/isRuneIdNum';
|
120
|
-
export * from './helpers/Runes/isRuneName';
|
121
|
-
export * from './helpers/Runes/isSorceryRuneId';
|
122
|
-
export * from './helpers/Runes/isSorceryRuneIdNum';
|
123
|
-
export * from './helpers/Runes/isSorceryRuneName';
|
124
|
-
export * from './helpers/Runes/isStatRuneId';
|
125
|
-
export * from './helpers/Runes/isStatRuneIdNum';
|
126
|
-
export * from './helpers/Runes/isStatRuneName';
|
127
|
-
export * from './helpers/Spells/getSpellIdByKey';
|
128
|
-
export * from './helpers/Spells/getSpellIdByName';
|
129
|
-
export * from './helpers/Spells/getSpellKeyById';
|
130
|
-
export * from './helpers/Spells/getSpellKeyByName';
|
131
|
-
export * from './helpers/Spells/getSpellNameById';
|
132
|
-
export * from './helpers/Spells/getSpellNameByKey';
|
133
|
-
export * from './helpers/Spells/isSpellId';
|
134
|
-
export * from './helpers/Spells/isSpellKey';
|
135
|
-
export * from './helpers/Spells/isSpellKeyNum';
|
136
|
-
export * from './helpers/Spells/isSpellName';
|
137
|
-
export * from './types/championJson';
|
138
|
-
export * from './types/interfaces';
|
139
|
-
export * from './types/types';
|
package/core/index.js
DELETED
@@ -1,150 +0,0 @@
|
|
1
|
-
// # constants
|
2
|
-
export * from './constants/BuildingTypes';
|
3
|
-
export * from './constants/Continents';
|
4
|
-
export * from './constants/DataDragonUrls';
|
5
|
-
export * from './constants/DragonTypes';
|
6
|
-
export * from './constants/GameModes';
|
7
|
-
export * from './constants/GameTypes';
|
8
|
-
export * from './constants/KillTypes';
|
9
|
-
export * from './constants/Lanes';
|
10
|
-
export * from './constants/LaneTypes';
|
11
|
-
export * from './constants/LeagueTexts';
|
12
|
-
export * from './constants/Levels';
|
13
|
-
export * from './constants/Locales';
|
14
|
-
export * from './constants/MapIds';
|
15
|
-
export * from './constants/MonsterTypes';
|
16
|
-
export * from './constants/ParticipantIds';
|
17
|
-
export * from './constants/PlatformApiUris';
|
18
|
-
export * from './constants/PlatformIds';
|
19
|
-
export * from './constants/Positions';
|
20
|
-
export * from './constants/QueueIds';
|
21
|
-
export * from './constants/QueueTypes';
|
22
|
-
export * from './constants/RankedRanks';
|
23
|
-
export * from './constants/RankedTiers';
|
24
|
-
export * from './constants/RegionalApiUris';
|
25
|
-
export * from './constants/Regions';
|
26
|
-
export * from './constants/RelativeTeams';
|
27
|
-
export * from './constants/Roles';
|
28
|
-
export * from './constants/Skills';
|
29
|
-
export * from './constants/SkillSlots';
|
30
|
-
export * from './constants/TeamIds';
|
31
|
-
export * from './constants/TowerTypes';
|
32
|
-
export * from './constants/WardTypes';
|
33
|
-
// ## Champions
|
34
|
-
export * from './constants/Champions/ChampionClasses';
|
35
|
-
export * from './constants/Champions/ChampionIds';
|
36
|
-
export * from './constants/Champions/ChampionIdsByName';
|
37
|
-
export * from './constants/Champions/ChampionKeys';
|
38
|
-
export * from './constants/Champions/ChampionKeysNum';
|
39
|
-
export * from './constants/Champions/ChampionNames';
|
40
|
-
// ## Items
|
41
|
-
export * from './constants/Items/BootsItemKeys';
|
42
|
-
export * from './constants/Items/BootsItemKeysNum';
|
43
|
-
export * from './constants/Items/BootsItemNames';
|
44
|
-
export * from './constants/Items/ItemKeys';
|
45
|
-
export * from './constants/Items/ItemKeysNum';
|
46
|
-
export * from './constants/Items/ItemNames';
|
47
|
-
export * from './constants/Items/ItemTypes';
|
48
|
-
export * from './constants/Items/LegendaryItemKeys';
|
49
|
-
export * from './constants/Items/LegendaryItemKeysNum';
|
50
|
-
export * from './constants/Items/LegendaryItemNames';
|
51
|
-
// ## Runes
|
52
|
-
export * from './constants/Runes/NonStatRuneIds';
|
53
|
-
export * from './constants/Runes/NonStatRuneIdsNum';
|
54
|
-
export * from './constants/Runes/NonStatRuneNames';
|
55
|
-
export * from './constants/Runes/RuneIconFileNames';
|
56
|
-
export * from './constants/Runes/RunePickingRelationships';
|
57
|
-
export * from './constants/Runes/RuneSets';
|
58
|
-
export * from './constants/Runes/RuneSetsByRuneNames';
|
59
|
-
export * from './constants/Runes/RuneSetsByRuneNamesNum';
|
60
|
-
export * from './constants/Runes/RuneTreeIds';
|
61
|
-
export * from './constants/Runes/RuneTreeIdsNum';
|
62
|
-
export * from './constants/Runes/RuneTreeNames';
|
63
|
-
export * from './constants/Runes/RuneTreeTypes';
|
64
|
-
// ## Spells
|
65
|
-
export * from './constants/Spells/SpellIds';
|
66
|
-
export * from './constants/Spells/SpellIdsByName';
|
67
|
-
export * from './constants/Spells/SpellKeys';
|
68
|
-
export * from './constants/Spells/SpellKeysNum';
|
69
|
-
export * from './constants/Spells/SpellNames';
|
70
|
-
// # helpers
|
71
|
-
export * from './helpers/getPositionImageUrl';
|
72
|
-
export * from './helpers/isRiotId';
|
73
|
-
export * from './helpers/makeRiotId';
|
74
|
-
export * from './helpers/splitRiotId';
|
75
|
-
// ## Champions
|
76
|
-
export * from './helpers/Champions/getChampionIdByKey';
|
77
|
-
export * from './helpers/Champions/getChampionIdByName';
|
78
|
-
export * from './helpers/Champions/getChampionKeyById';
|
79
|
-
export * from './helpers/Champions/getChampionKeyByName';
|
80
|
-
export * from './helpers/Champions/getChampionNameById';
|
81
|
-
export * from './helpers/Champions/getChampionNameByKey';
|
82
|
-
export * from './helpers/Champions/isChampionId';
|
83
|
-
export * from './helpers/Champions/isChampionKey';
|
84
|
-
export * from './helpers/Champions/isChampionKeyNum';
|
85
|
-
export * from './helpers/Champions/isChampionName';
|
86
|
-
// ## Items
|
87
|
-
export * from './helpers/Items/getItemKeyByName';
|
88
|
-
export * from './helpers/Items/getItemKeyNumByName';
|
89
|
-
export * from './helpers/Items/getItemNameByKey';
|
90
|
-
export * from './helpers/Items/isBootsItemKey';
|
91
|
-
export * from './helpers/Items/isBootsItemKeyNum';
|
92
|
-
export * from './helpers/Items/isBootsItemName';
|
93
|
-
export * from './helpers/Items/isItemKey';
|
94
|
-
export * from './helpers/Items/isItemKeyNum';
|
95
|
-
export * from './helpers/Items/isItemName';
|
96
|
-
export * from './helpers/Items/isLegendaryItemKey';
|
97
|
-
export * from './helpers/Items/isLegendaryItemKeyNum';
|
98
|
-
export * from './helpers/Items/isLegendaryItemName';
|
99
|
-
export * from './helpers/Items/isTier2Boots';
|
100
|
-
// ## Runes
|
101
|
-
export * from './helpers/Runes/getNonStatRuneIdByName';
|
102
|
-
export * from './helpers/Runes/getNonStatRuneNameById';
|
103
|
-
export * from './helpers/Runes/getRuneCategoryName';
|
104
|
-
export * from './helpers/Runes/getRuneCdnUrl';
|
105
|
-
export * from './helpers/Runes/getRuneIdByName';
|
106
|
-
export * from './helpers/Runes/getRuneNameById';
|
107
|
-
export * from './helpers/Runes/getStatRuneIdByName';
|
108
|
-
export * from './helpers/Runes/getStatRuneNameById';
|
109
|
-
export * from './helpers/Runes/isDominationRuneId';
|
110
|
-
export * from './helpers/Runes/isDominationRuneIdNum';
|
111
|
-
export * from './helpers/Runes/isDominationRuneName';
|
112
|
-
export * from './helpers/Runes/isInspirationRuneId';
|
113
|
-
export * from './helpers/Runes/isInspirationRuneIdNum';
|
114
|
-
export * from './helpers/Runes/isInspirationRuneName';
|
115
|
-
export * from './helpers/Runes/isKeystoneRuneId';
|
116
|
-
export * from './helpers/Runes/isKeystoneRuneIdNum';
|
117
|
-
export * from './helpers/Runes/isKeystoneRuneName';
|
118
|
-
export * from './helpers/Runes/isNonStatRuneId';
|
119
|
-
export * from './helpers/Runes/isNonStatRuneIdNum';
|
120
|
-
export * from './helpers/Runes/isNonStatRuneName';
|
121
|
-
export * from './helpers/Runes/isPrecisionRuneId';
|
122
|
-
export * from './helpers/Runes/isPrecisionRuneIdNum';
|
123
|
-
export * from './helpers/Runes/isPrecisionRuneName';
|
124
|
-
export * from './helpers/Runes/isResolveRuneId';
|
125
|
-
export * from './helpers/Runes/isResolveRuneIdNum';
|
126
|
-
export * from './helpers/Runes/isResolveRuneName';
|
127
|
-
export * from './helpers/Runes/isRuneId';
|
128
|
-
export * from './helpers/Runes/isRuneIdNum';
|
129
|
-
export * from './helpers/Runes/isRuneName';
|
130
|
-
export * from './helpers/Runes/isSorceryRuneId';
|
131
|
-
export * from './helpers/Runes/isSorceryRuneIdNum';
|
132
|
-
export * from './helpers/Runes/isSorceryRuneName';
|
133
|
-
export * from './helpers/Runes/isStatRuneId';
|
134
|
-
export * from './helpers/Runes/isStatRuneIdNum';
|
135
|
-
export * from './helpers/Runes/isStatRuneName';
|
136
|
-
// ## Spells
|
137
|
-
export * from './helpers/Spells/getSpellIdByKey';
|
138
|
-
export * from './helpers/Spells/getSpellIdByName';
|
139
|
-
export * from './helpers/Spells/getSpellKeyById';
|
140
|
-
export * from './helpers/Spells/getSpellKeyByName';
|
141
|
-
export * from './helpers/Spells/getSpellNameById';
|
142
|
-
export * from './helpers/Spells/getSpellNameByKey';
|
143
|
-
export * from './helpers/Spells/isSpellId';
|
144
|
-
export * from './helpers/Spells/isSpellKey';
|
145
|
-
export * from './helpers/Spells/isSpellKeyNum';
|
146
|
-
export * from './helpers/Spells/isSpellName';
|
147
|
-
// # types
|
148
|
-
export * from './types/championJson';
|
149
|
-
export * from './types/interfaces';
|
150
|
-
export * from './types/types';
|
@@ -1,85 +0,0 @@
|
|
1
|
-
import { ChampionId } from '../constants/Champions/ChampionIds';
|
2
|
-
import { ChampionKey } from '../constants/Champions/ChampionKeys';
|
3
|
-
import { ChampionName } from '../constants/Champions/ChampionNames';
|
4
|
-
import { ChampionBaseStats } from './interfaces';
|
5
|
-
export interface ChampionJson {
|
6
|
-
type: string;
|
7
|
-
format: string;
|
8
|
-
version: string;
|
9
|
-
data: {
|
10
|
-
[championId: string]: ChampionJsonData;
|
11
|
-
};
|
12
|
-
}
|
13
|
-
export interface ChampionJsonData {
|
14
|
-
id: ChampionId;
|
15
|
-
key: ChampionKey;
|
16
|
-
name: ChampionName;
|
17
|
-
title: string;
|
18
|
-
image: ChampionJsonImage;
|
19
|
-
skins: ChampionJsonSkin[];
|
20
|
-
lore: string;
|
21
|
-
blurb: string;
|
22
|
-
allytips: string[];
|
23
|
-
enemytips: string[];
|
24
|
-
tags: string[];
|
25
|
-
partype: string;
|
26
|
-
info: ChampionJsonNewbieInfo;
|
27
|
-
stats: ChampionBaseStats;
|
28
|
-
spells: ChampionJsonSpell[];
|
29
|
-
passive: ChampionJsonPassive;
|
30
|
-
recommended: unknown[];
|
31
|
-
}
|
32
|
-
export interface ChampionJsonImage {
|
33
|
-
full: string;
|
34
|
-
sprite: string;
|
35
|
-
group: string;
|
36
|
-
x: number;
|
37
|
-
y: number;
|
38
|
-
w: number;
|
39
|
-
h: number;
|
40
|
-
}
|
41
|
-
export interface ChampionJsonSkin {
|
42
|
-
id: string;
|
43
|
-
num: number;
|
44
|
-
name: string;
|
45
|
-
chromas: boolean;
|
46
|
-
}
|
47
|
-
export interface ChampionJsonNewbieInfo {
|
48
|
-
attack: number;
|
49
|
-
defense: number;
|
50
|
-
magic: number;
|
51
|
-
difficulty: number;
|
52
|
-
}
|
53
|
-
export interface ChampionJsonSpell {
|
54
|
-
id: string;
|
55
|
-
name: string;
|
56
|
-
description: string;
|
57
|
-
tooltip: string;
|
58
|
-
leveltip: ChampionJsonSpellLevelTip;
|
59
|
-
maxrank: number;
|
60
|
-
cooldown: number[];
|
61
|
-
cooldownBurn: string;
|
62
|
-
cost: number[];
|
63
|
-
costBurn: string;
|
64
|
-
datavalues: {
|
65
|
-
[key: string]: any;
|
66
|
-
};
|
67
|
-
effect: any[];
|
68
|
-
effectBurn: any[];
|
69
|
-
vars: any[];
|
70
|
-
costType: string;
|
71
|
-
maxammo: string;
|
72
|
-
range: number[];
|
73
|
-
rangeBurn: string;
|
74
|
-
image: ChampionJsonImage;
|
75
|
-
resource: string;
|
76
|
-
}
|
77
|
-
export interface ChampionJsonSpellLevelTip {
|
78
|
-
label: string[];
|
79
|
-
effect: string[];
|
80
|
-
}
|
81
|
-
export interface ChampionJsonPassive {
|
82
|
-
name: string;
|
83
|
-
description: string;
|
84
|
-
image: ChampionJsonImage;
|
85
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,22 +0,0 @@
|
|
1
|
-
export interface ChampionBaseStats {
|
2
|
-
hp: number;
|
3
|
-
hpperlevel: number;
|
4
|
-
mp: number;
|
5
|
-
mpperlevel: number;
|
6
|
-
movespeed: number;
|
7
|
-
armor: number;
|
8
|
-
armorperlevel: number;
|
9
|
-
spellblock: number;
|
10
|
-
spellblockperlevel: number;
|
11
|
-
attackrange: number;
|
12
|
-
hpregen: number;
|
13
|
-
hpregenperlevel: number;
|
14
|
-
mpregen: number;
|
15
|
-
mpregenperlevel: number;
|
16
|
-
crit: number;
|
17
|
-
critperlevel: number;
|
18
|
-
attackdamage: number;
|
19
|
-
attackdamageperlevel: number;
|
20
|
-
attackspeedperlevel: number;
|
21
|
-
attackspeed: number;
|
22
|
-
}
|
package/core/types/interfaces.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|