lol-constants 1.13.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/{Constants → constants}/BootsItemNames.d.ts +6 -4
- package/assets/{Constants → constants}/BootsItemNames.js +21 -17
- package/assets/{Constants → constants}/Champion.d.ts +7668 -7621
- package/assets/constants/Champion.js +4 -0
- package/assets/{Constants → constants}/Item.d.ts +10073 -10073
- package/assets/constants/Item.js +4 -0
- package/assets/{Constants → constants}/LegendaryItemNames.d.ts +6 -4
- package/assets/{Constants → constants}/LegendaryItemNames.js +86 -82
- package/assets/{Constants → constants}/MythicItemNames.d.ts +6 -4
- package/assets/{Constants → constants}/MythicItemNames.js +40 -36
- package/assets/{Constants → constants}/RunesReforged.d.ts +512 -512
- package/assets/{Constants → constants}/RunesReforged.js +4 -4
- package/assets/{Constants → constants}/StatRunes.d.ts +15 -14
- package/assets/{Constants → constants}/StatRunes.js +17 -17
- package/assets/{Constants → constants}/StatRunesByRow.d.ts +20 -20
- package/assets/{Constants → constants}/StatRunesByRow.js +23 -23
- package/assets/{Constants → constants}/Summoner.d.ts +518 -518
- package/assets/{Constants → constants}/Summoner.js +4 -4
- package/assets/index.d.ts +9 -9
- package/assets/index.js +28 -24
- package/assets/scripts/generate-all.d.ts +17 -17
- package/assets/scripts/generate-all.js +19 -19
- package/assets/scripts/generate-categorized-item-keys.d.ts +1 -1
- package/assets/scripts/generate-categorized-item-keys.js +57 -57
- package/assets/scripts/generate-categorized-item-names.d.ts +1 -1
- package/assets/scripts/generate-categorized-item-names.js +57 -57
- package/assets/scripts/generate-champion-ids-by-name.d.ts +1 -1
- package/assets/scripts/generate-champion-ids-by-name.js +17 -17
- package/assets/scripts/generate-champion-ids.d.ts +1 -1
- package/assets/scripts/generate-champion-ids.js +17 -17
- package/assets/scripts/generate-champion-keys.d.ts +1 -1
- package/assets/scripts/generate-champion-keys.js +17 -17
- package/assets/scripts/generate-champion-names.d.ts +1 -1
- package/assets/scripts/generate-champion-names.js +17 -17
- package/assets/scripts/generate-item-keys.d.ts +1 -1
- package/assets/scripts/generate-item-keys.js +18 -18
- package/assets/scripts/generate-item-names.d.ts +1 -1
- package/assets/scripts/generate-item-names.js +18 -18
- package/assets/scripts/generate-rune-ids.d.ts +1 -1
- package/assets/scripts/generate-rune-ids.js +26 -26
- package/assets/scripts/generate-rune-names.d.ts +1 -1
- package/assets/scripts/generate-rune-names.js +26 -26
- package/assets/scripts/generate-rune-picking-relationships.d.ts +1 -1
- package/assets/scripts/generate-rune-picking-relationships.js +54 -54
- package/assets/scripts/generate-rune-sets-by-rune-names.d.ts +1 -1
- package/assets/scripts/generate-rune-sets-by-rune-names.js +116 -116
- package/assets/scripts/generate-rune-sets.d.ts +1 -1
- package/assets/scripts/generate-rune-sets.js +116 -116
- package/assets/scripts/generate-spell-ids-by-name.d.ts +1 -1
- package/assets/scripts/generate-spell-ids-by-name.js +17 -17
- package/assets/scripts/generate-spell-ids.d.ts +1 -1
- package/assets/scripts/generate-spell-ids.js +17 -17
- package/assets/scripts/generate-spell-keys.d.ts +1 -1
- package/assets/scripts/generate-spell-keys.js +17 -17
- package/assets/scripts/generate-spell-names.d.ts +1 -1
- package/assets/scripts/generate-spell-names.js +17 -17
- package/assets/scripts/generate-stat-rune-ids.d.ts +1 -1
- package/assets/scripts/generate-stat-rune-ids.js +17 -17
- package/assets/scripts/generate-stat-rune-names.d.ts +1 -1
- package/assets/scripts/generate-stat-rune-names.js +17 -17
- package/assets/scripts/generate-tree-rune-ids.d.ts +1 -1
- package/assets/scripts/generate-tree-rune-ids.js +19 -19
- package/assets/scripts/generate-tree-rune-names.d.ts +1 -1
- package/assets/scripts/generate-tree-rune-names.js +19 -19
- package/assets/scripts/{Helpers → helpers}/enableEscapedValues.d.ts +15 -15
- package/assets/scripts/{Helpers → helpers}/enableEscapedValues.js +38 -38
- package/assets/scripts/{Helpers → helpers}/getExportStatement.d.ts +6 -6
- package/assets/scripts/{Helpers → helpers}/getExportStatement.js +16 -16
- package/assets/scripts/{Helpers → helpers}/getFmtdComment.d.ts +5 -5
- package/assets/scripts/{Helpers → helpers}/getFmtdComment.js +15 -15
- package/assets/scripts/{Helpers → helpers}/writeToTmpFile.d.ts +8 -8
- package/assets/scripts/{Helpers → helpers}/writeToTmpFile.js +22 -22
- package/core/{Constants → constants}/Champions/ChampionIds.d.ts +165 -164
- package/core/{Constants → constants}/Champions/ChampionIds.js +4 -4
- package/core/{Constants → constants}/Champions/ChampionIdsByName.d.ts +165 -164
- package/core/constants/Champions/ChampionIdsByName.js +4 -0
- package/core/{Constants → constants}/Champions/ChampionKeys.d.ts +165 -164
- package/core/constants/Champions/ChampionKeys.js +4 -0
- package/core/{Constants → constants}/Champions/ChampionNames.d.ts +165 -164
- package/core/{Constants → constants}/Champions/ChampionNames.js +4 -4
- package/core/{Constants/DDPaths.d.ts → constants/DataDragonUrls.d.ts} +38 -38
- package/core/{Constants/DDPaths.js → constants/DataDragonUrls.js} +45 -45
- package/core/constants/GameModes.d.ts +12 -0
- package/core/constants/GameModes.js +17 -0
- package/core/constants/GameTypes.d.ts +7 -0
- package/core/constants/GameTypes.js +12 -0
- package/core/{Constants → constants}/Items/BootsItemKeys.d.ts +11 -11
- package/core/{Constants → constants}/Items/BootsItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/BootsItemNames.d.ts +11 -11
- package/core/{Constants → constants}/Items/BootsItemNames.js +4 -4
- package/core/{Constants → constants}/Items/ItemKeys.d.ts +263 -263
- package/core/{Constants → constants}/Items/ItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/ItemNames.d.ts +271 -271
- package/core/{Constants → constants}/Items/ItemNames.js +4 -4
- package/core/{Constants → constants}/Items/ItemTypes.d.ts +8 -6
- package/core/{Constants → constants}/Items/ItemTypes.js +13 -9
- package/core/{Constants → constants}/Items/LegendaryItemKeys.d.ts +76 -76
- package/core/{Constants → constants}/Items/LegendaryItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/LegendaryItemNames.d.ts +76 -76
- package/core/{Constants → constants}/Items/LegendaryItemNames.js +4 -4
- package/core/{Constants → constants}/Items/MythicItemKeys.d.ts +30 -30
- package/core/{Constants → constants}/Items/MythicItemKeys.js +4 -4
- package/core/{Constants → constants}/Items/MythicItemNames.d.ts +30 -30
- package/core/{Constants → constants}/Items/MythicItemNames.js +4 -4
- package/core/{Constants → constants}/Lanes.d.ts +8 -6
- package/core/{Constants → constants}/Lanes.js +13 -9
- package/core/{Constants → constants}/Levels.d.ts +22 -20
- package/core/{Constants → constants}/Levels.js +27 -23
- package/core/constants/Locales.d.ts +32 -0
- package/core/constants/Locales.js +37 -0
- package/core/constants/PlatformIds.d.ts +15 -0
- package/core/constants/PlatformIds.js +21 -0
- package/core/{Constants → constants}/Positions.d.ts +9 -7
- package/core/{Constants → constants}/Positions.js +14 -10
- package/core/constants/Queues.d.ts +7 -0
- package/core/constants/Queues.js +12 -0
- package/core/constants/RankedRanks.d.ts +8 -0
- package/core/constants/RankedRanks.js +13 -0
- package/core/constants/RankedTiers.d.ts +13 -0
- package/core/constants/RankedTiers.js +18 -0
- package/core/constants/Regions.d.ts +15 -0
- package/core/constants/Regions.js +28 -0
- package/core/constants/RelativeTeams.d.ts +6 -0
- package/core/constants/RelativeTeams.js +11 -0
- package/core/constants/Roles.d.ts +8 -0
- package/core/constants/Roles.js +13 -0
- package/core/{Constants → constants}/Runes/RuneIconFileNames.d.ts +13 -12
- package/core/{Constants → constants}/Runes/RuneIconFileNames.js +101 -101
- package/core/{Constants → constants}/Runes/RunePickingRelationships.d.ts +77 -77
- package/core/{Constants → constants}/Runes/RunePickingRelationships.js +7 -7
- package/core/{Constants → constants}/Runes/RuneSets.d.ts +743 -743
- package/core/{Constants → constants}/Runes/RuneSets.js +14 -14
- package/core/{Constants → constants}/Runes/RuneSetsByRuneNames.d.ts +743 -743
- package/core/constants/Runes/RuneSetsByRuneNames.js +14 -0
- package/core/constants/Runes/RuneTreeIds.d.ts +11 -0
- package/core/constants/Runes/RuneTreeIds.js +19 -0
- package/core/constants/Runes/RuneTreeNames.d.ts +11 -0
- package/core/constants/Runes/RuneTreeNames.js +19 -0
- package/core/constants/Runes/RuneTreeTypes.d.ts +6 -0
- package/core/constants/Runes/RuneTreeTypes.js +11 -0
- package/core/{Constants → constants}/Runes/TreeRuneIds.d.ts +65 -65
- package/core/{Constants → constants}/Runes/TreeRuneIds.js +4 -4
- package/core/{Constants → constants}/Runes/TreeRuneNames.d.ts +65 -65
- package/core/{Constants → constants}/Runes/TreeRuneNames.js +4 -4
- package/core/{Constants → constants}/Skills.d.ts +8 -6
- package/core/constants/Skills.js +13 -0
- package/core/{Constants → constants}/Spells/SpellIds.d.ts +18 -18
- package/core/{Constants → constants}/Spells/SpellIds.js +4 -4
- package/core/{Constants → constants}/Spells/SpellIdsByName.d.ts +17 -17
- package/core/{Constants → constants}/Spells/SpellIdsByName.js +4 -4
- package/core/{Constants → constants}/Spells/SpellKeys.d.ts +18 -18
- package/core/{Constants → constants}/Spells/SpellKeys.js +4 -4
- package/core/{Constants → constants}/Spells/SpellNames.d.ts +18 -18
- package/core/{Constants → constants}/Spells/SpellNames.js +4 -4
- package/core/constants/WardTypes.d.ts +7 -0
- package/core/constants/WardTypes.js +12 -0
- package/core/{Helpers → helpers}/Champions/getChampionIdByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionIdByKey.js +8 -8
- package/core/{Helpers → helpers}/Champions/getChampionIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionIdByName.js +8 -8
- package/core/{Helpers → helpers}/Champions/getChampionKeyById.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionKeyById.js +8 -8
- package/core/{Helpers → helpers}/Champions/getChampionKeyByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionKeyByName.js +9 -9
- package/core/{Helpers → helpers}/Champions/getChampionNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionNameById.js +9 -9
- package/core/{Helpers → helpers}/Champions/getChampionNameByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/getChampionNameByKey.js +8 -8
- package/core/{Helpers → helpers}/Champions/isChampionId.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/isChampionId.js +8 -8
- package/core/{Helpers → helpers}/Champions/isChampionKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/isChampionKey.js +8 -8
- package/core/{Helpers → helpers}/Champions/isChampionName.d.ts +2 -2
- package/core/{Helpers → helpers}/Champions/isChampionName.js +8 -8
- package/core/{Helpers → helpers}/Items/getItemKeyByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/getItemKeyByName.js +8 -8
- package/core/{Helpers → helpers}/Items/getItemNameByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/getItemNameByKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isBootsItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isBootsItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isBootsItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isBootsItemName.js +8 -8
- package/core/{Helpers → helpers}/Items/isItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isItemName.js +8 -8
- package/core/{Helpers → helpers}/Items/isLegendaryItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isLegendaryItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isLegendaryItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isLegendaryItemName.js +8 -8
- package/core/{Helpers → helpers}/Items/isMythicItemKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isMythicItemKey.js +8 -8
- package/core/{Helpers → helpers}/Items/isMythicItemName.d.ts +2 -2
- package/core/{Helpers → helpers}/Items/isMythicItemName.js +8 -8
- package/core/helpers/Runes/getRuneCategoryName.d.ts +3 -0
- package/core/helpers/Runes/getRuneCategoryName.js +20 -0
- package/core/helpers/Runes/getRuneCdnUrl.d.ts +3 -0
- package/core/{Helpers/Runes/getRuneCDNURL.js → helpers/Runes/getRuneCdnUrl.js} +49 -53
- package/core/{Helpers → helpers}/Runes/getRuneIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getRuneIdByName.js +8 -8
- package/core/{Helpers → helpers}/Runes/getRuneNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getRuneNameById.js +8 -8
- package/core/{Helpers → helpers}/Runes/getStatRuneIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getStatRuneIdByName.js +8 -8
- package/core/{Helpers → helpers}/Runes/getStatRuneNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getStatRuneNameById.js +8 -8
- package/core/{Helpers → helpers}/Runes/getTreeRuneIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getTreeRuneIdByName.js +8 -8
- package/core/{Helpers → helpers}/Runes/getTreeRuneNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/getTreeRuneNameById.js +8 -8
- package/core/{Helpers → helpers}/Runes/isDominationTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isDominationTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isInspirationTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isInspirationTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isKeystoneRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isKeystoneRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isPrecisionTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isPrecisionTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isResolveTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isResolveTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isRuneName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isRuneName.js +8 -8
- package/core/{Helpers → helpers}/Runes/isSorceryTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isSorceryTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isStatRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isStatRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isStatRuneName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isStatRuneName.js +8 -8
- package/core/{Helpers → helpers}/Runes/isTreeRuneId.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isTreeRuneId.js +8 -8
- package/core/{Helpers → helpers}/Runes/isTreeRuneName.d.ts +2 -2
- package/core/{Helpers → helpers}/Runes/isTreeRuneName.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellIdByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellIdByKey.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellIdByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellIdByName.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellKeyById.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellKeyById.js +8 -8
- package/core/{Helpers → helpers}/Spells/getSpellKeyByName.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellKeyByName.js +9 -9
- package/core/{Helpers → helpers}/Spells/getSpellNameById.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellNameById.js +9 -9
- package/core/{Helpers → helpers}/Spells/getSpellNameByKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/getSpellNameByKey.js +8 -8
- package/core/{Helpers → helpers}/Spells/isSpellId.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/isSpellId.js +8 -8
- package/core/{Helpers → helpers}/Spells/isSpellKey.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/isSpellKey.js +8 -8
- package/core/{Helpers → helpers}/Spells/isSpellName.d.ts +2 -2
- package/core/{Helpers → helpers}/Spells/isSpellName.js +8 -8
- package/core/helpers/getPositionImageUrl.d.ts +2 -0
- package/core/helpers/getPositionImageUrl.js +15 -0
- package/core/index.d.ts +90 -92
- package/core/index.js +129 -229
- package/core/types/types.d.ts +210 -0
- package/core/types/{Meta.js → types.js} +2 -2
- package/package.json +4 -4
- package/assets/Constants/Champion.js +0 -4
- package/assets/Constants/Item.js +0 -4
- package/core/Constants/Champions/ChampionIdsByName.js +0 -4
- package/core/Constants/Champions/ChampionKeys.js +0 -4
- package/core/Constants/Meta/ChampionRelationTypes.d.ts +0 -4
- package/core/Constants/Meta/ChampionRelationTypes.js +0 -7
- package/core/Constants/Runes/RuneSetsByRuneNames.js +0 -14
- package/core/Constants/Runes/RuneTreeIds.d.ts +0 -7
- package/core/Constants/Runes/RuneTreeIds.js +0 -10
- package/core/Constants/Runes/RuneTreeNames.d.ts +0 -7
- package/core/Constants/Runes/RuneTreeNames.js +0 -10
- package/core/Constants/Runes/RuneTreeTypes.d.ts +0 -4
- package/core/Constants/Runes/RuneTreeTypes.js +0 -7
- package/core/Constants/Skills.js +0 -9
- package/core/Helpers/Icons/getPositionImageURL.d.ts +0 -5
- package/core/Helpers/Icons/getPositionImageURL.js +0 -15
- package/core/Helpers/Items/isItemType.d.ts +0 -2
- package/core/Helpers/Items/isItemType.js +0 -8
- package/core/Helpers/Meta/isChampionRelationType.d.ts +0 -2
- package/core/Helpers/Meta/isChampionRelationType.js +0 -8
- package/core/Helpers/Runes/getRuneCDNURL.d.ts +0 -6
- package/core/Helpers/Runes/getRuneCategoryByRuneName.d.ts +0 -5
- package/core/Helpers/Runes/getRuneCategoryByRuneName.js +0 -28
- package/core/Helpers/Runes/getRuneTreeIdByName.d.ts +0 -2
- package/core/Helpers/Runes/getRuneTreeIdByName.js +0 -8
- package/core/Helpers/Runes/getRuneTreeNameById.d.ts +0 -2
- package/core/Helpers/Runes/getRuneTreeNameById.js +0 -8
- package/core/Helpers/Runes/isRuneTreeId.d.ts +0 -2
- package/core/Helpers/Runes/isRuneTreeId.js +0 -8
- package/core/Helpers/Runes/isRuneTreeName.d.ts +0 -2
- package/core/Helpers/Runes/isRuneTreeName.js +0 -8
- package/core/Helpers/Runes/isRuneTreeType.d.ts +0 -2
- package/core/Helpers/Runes/isRuneTreeType.js +0 -8
- package/core/Helpers/isLane.d.ts +0 -2
- package/core/Helpers/isLane.js +0 -8
- package/core/Helpers/isLevel.d.ts +0 -2
- package/core/Helpers/isLevel.js +0 -8
- package/core/Helpers/isPosition.d.ts +0 -2
- package/core/Helpers/isPosition.js +0 -8
- package/core/Helpers/isSkill.d.ts +0 -2
- package/core/Helpers/isSkill.js +0 -8
- package/core/types/Meta.d.ts +0 -40
- package/core/types/index.d.ts +0 -197
- package/core/types/index.js +0 -2
@@ -1,18 +1,18 @@
|
|
1
|
-
export declare const SpellNames: {
|
2
|
-
readonly "1": "Cleanse";
|
3
|
-
readonly "3": "Exhaust";
|
4
|
-
readonly "4": "Flash";
|
5
|
-
readonly "6": "Ghost";
|
6
|
-
readonly "7": "Heal";
|
7
|
-
readonly "11": "Smite";
|
8
|
-
readonly "12": "Teleport";
|
9
|
-
readonly "13": "Clarity";
|
10
|
-
readonly "14": "Ignite";
|
11
|
-
readonly "21": "Barrier";
|
12
|
-
readonly "30": "To the King!";
|
13
|
-
readonly "31": "Poro Toss";
|
14
|
-
readonly "32": "Mark";
|
15
|
-
readonly "39": "Mark";
|
16
|
-
readonly "54": "Placeholder";
|
17
|
-
readonly "55": "Placeholder and Attack-Smite";
|
18
|
-
};
|
1
|
+
export declare const SpellNames: {
|
2
|
+
readonly "1": "Cleanse";
|
3
|
+
readonly "3": "Exhaust";
|
4
|
+
readonly "4": "Flash";
|
5
|
+
readonly "6": "Ghost";
|
6
|
+
readonly "7": "Heal";
|
7
|
+
readonly "11": "Smite";
|
8
|
+
readonly "12": "Teleport";
|
9
|
+
readonly "13": "Clarity";
|
10
|
+
readonly "14": "Ignite";
|
11
|
+
readonly "21": "Barrier";
|
12
|
+
readonly "30": "To the King!";
|
13
|
+
readonly "31": "Poro Toss";
|
14
|
+
readonly "32": "Mark";
|
15
|
+
readonly "39": "Mark";
|
16
|
+
readonly "54": "Placeholder";
|
17
|
+
readonly "55": "Placeholder and Attack-Smite";
|
18
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SpellNames = void 0;
|
4
|
-
exports.SpellNames = { "1": "Cleanse", "3": "Exhaust", "4": "Flash", "6": "Ghost", "7": "Heal", "11": "Smite", "12": "Teleport", "13": "Clarity", "14": "Ignite", "21": "Barrier", "30": "To the King!", "31": "Poro Toss", "32": "Mark", "39": "Mark", "54": "Placeholder", "55": "Placeholder and Attack-Smite" };
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SpellNames = void 0;
|
4
|
+
exports.SpellNames = { "1": "Cleanse", "3": "Exhaust", "4": "Flash", "6": "Ghost", "7": "Heal", "11": "Smite", "12": "Teleport", "13": "Clarity", "14": "Ignite", "21": "Barrier", "30": "To the King!", "31": "Poro Toss", "32": "Mark", "39": "Mark", "54": "Placeholder", "55": "Placeholder and Attack-Smite" };
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const WardTypes: {
|
2
|
+
readonly UNDEFINED: "UNDEFINED";
|
3
|
+
readonly YELLOW_TRINKET: "YELLOW_TRINKET";
|
4
|
+
readonly CONTROL_WARD: "CONTROL_WARD";
|
5
|
+
};
|
6
|
+
export type WardType = typeof WardTypes[keyof typeof WardTypes];
|
7
|
+
export declare function isWardType(value: any): value is WardType;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isWardType = exports.WardTypes = void 0;
|
4
|
+
exports.WardTypes = {
|
5
|
+
'UNDEFINED': 'UNDEFINED',
|
6
|
+
'YELLOW_TRINKET': 'YELLOW_TRINKET',
|
7
|
+
'CONTROL_WARD': 'CONTROL_WARD',
|
8
|
+
};
|
9
|
+
function isWardType(value) {
|
10
|
+
return typeof value == 'string' && value in exports.WardTypes;
|
11
|
+
}
|
12
|
+
exports.isWardType = isWardType;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionKey } from '../../types';
|
2
|
-
export declare function getChampionIdByKey(key: ChampionKey): ChampionId;
|
1
|
+
import { ChampionId, ChampionKey } from '../../types/types';
|
2
|
+
export declare function getChampionIdByKey(key: ChampionKey): ChampionId;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getChampionIdByKey = void 0;
|
4
|
-
const ChampionIds_1 = require("../../
|
5
|
-
function getChampionIdByKey(key) {
|
6
|
-
return ChampionIds_1.ChampionIds[key];
|
7
|
-
}
|
8
|
-
exports.getChampionIdByKey = getChampionIdByKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getChampionIdByKey = void 0;
|
4
|
+
const ChampionIds_1 = require("../../constants/Champions/ChampionIds");
|
5
|
+
function getChampionIdByKey(key) {
|
6
|
+
return ChampionIds_1.ChampionIds[key];
|
7
|
+
}
|
8
|
+
exports.getChampionIdByKey = getChampionIdByKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionName } from '../../types';
|
2
|
-
export declare function getChampionIdByName(name: ChampionName): ChampionId;
|
1
|
+
import { ChampionId, ChampionName } from '../../types/types';
|
2
|
+
export declare function getChampionIdByName(name: ChampionName): ChampionId;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getChampionIdByName = void 0;
|
4
|
-
const ChampionIdsByName_1 = require("../../
|
5
|
-
function getChampionIdByName(name) {
|
6
|
-
return ChampionIdsByName_1.ChampionIdsByName[name];
|
7
|
-
}
|
8
|
-
exports.getChampionIdByName = getChampionIdByName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getChampionIdByName = void 0;
|
4
|
+
const ChampionIdsByName_1 = require("../../constants/Champions/ChampionIdsByName");
|
5
|
+
function getChampionIdByName(name) {
|
6
|
+
return ChampionIdsByName_1.ChampionIdsByName[name];
|
7
|
+
}
|
8
|
+
exports.getChampionIdByName = getChampionIdByName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionKey } from '../../types';
|
2
|
-
export declare function getChampionKeyById(id: ChampionId): ChampionKey;
|
1
|
+
import { ChampionId, ChampionKey } from '../../types/types';
|
2
|
+
export declare function getChampionKeyById(id: ChampionId): ChampionKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getChampionKeyById = void 0;
|
4
|
-
const ChampionKeys_1 = require("../../
|
5
|
-
function getChampionKeyById(id) {
|
6
|
-
return ChampionKeys_1.ChampionKeys[id];
|
7
|
-
}
|
8
|
-
exports.getChampionKeyById = getChampionKeyById;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getChampionKeyById = void 0;
|
4
|
+
const ChampionKeys_1 = require("../../constants/Champions/ChampionKeys");
|
5
|
+
function getChampionKeyById(id) {
|
6
|
+
return ChampionKeys_1.ChampionKeys[id];
|
7
|
+
}
|
8
|
+
exports.getChampionKeyById = getChampionKeyById;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionKey, ChampionName } from '../../types';
|
2
|
-
export declare function getChampionKeyByName(name: ChampionName): ChampionKey;
|
1
|
+
import { ChampionKey, ChampionName } from '../../types/types';
|
2
|
+
export declare function getChampionKeyByName(name: ChampionName): ChampionKey;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getChampionKeyByName = void 0;
|
4
|
-
const ChampionIdsByName_1 = require("../../
|
5
|
-
const ChampionKeys_1 = require("../../
|
6
|
-
function getChampionKeyByName(name) {
|
7
|
-
return ChampionKeys_1.ChampionKeys[ChampionIdsByName_1.ChampionIdsByName[name]];
|
8
|
-
}
|
9
|
-
exports.getChampionKeyByName = getChampionKeyByName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getChampionKeyByName = void 0;
|
4
|
+
const ChampionIdsByName_1 = require("../../constants/Champions/ChampionIdsByName");
|
5
|
+
const ChampionKeys_1 = require("../../constants/Champions/ChampionKeys");
|
6
|
+
function getChampionKeyByName(name) {
|
7
|
+
return ChampionKeys_1.ChampionKeys[ChampionIdsByName_1.ChampionIdsByName[name]];
|
8
|
+
}
|
9
|
+
exports.getChampionKeyByName = getChampionKeyByName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId, ChampionName } from '../../types';
|
2
|
-
export declare function getChampionNameById(id: ChampionId): ChampionName;
|
1
|
+
import { ChampionId, ChampionName } from '../../types/types';
|
2
|
+
export declare function getChampionNameById(id: ChampionId): ChampionName;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getChampionNameById = void 0;
|
4
|
-
const ChampionKeys_1 = require("../../
|
5
|
-
const ChampionNames_1 = require("../../
|
6
|
-
function getChampionNameById(id) {
|
7
|
-
return ChampionNames_1.ChampionNames[ChampionKeys_1.ChampionKeys[id]];
|
8
|
-
}
|
9
|
-
exports.getChampionNameById = getChampionNameById;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getChampionNameById = void 0;
|
4
|
+
const ChampionKeys_1 = require("../../constants/Champions/ChampionKeys");
|
5
|
+
const ChampionNames_1 = require("../../constants/Champions/ChampionNames");
|
6
|
+
function getChampionNameById(id) {
|
7
|
+
return ChampionNames_1.ChampionNames[ChampionKeys_1.ChampionKeys[id]];
|
8
|
+
}
|
9
|
+
exports.getChampionNameById = getChampionNameById;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionKey, ChampionName } from '../../types';
|
2
|
-
export declare function getChampionNameByKey(key: ChampionKey): ChampionName;
|
1
|
+
import { ChampionKey, ChampionName } from '../../types/types';
|
2
|
+
export declare function getChampionNameByKey(key: ChampionKey): ChampionName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getChampionNameByKey = void 0;
|
4
|
-
const ChampionNames_1 = require("../../
|
5
|
-
function getChampionNameByKey(key) {
|
6
|
-
return ChampionNames_1.ChampionNames[key];
|
7
|
-
}
|
8
|
-
exports.getChampionNameByKey = getChampionNameByKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getChampionNameByKey = void 0;
|
4
|
+
const ChampionNames_1 = require("../../constants/Champions/ChampionNames");
|
5
|
+
function getChampionNameByKey(key) {
|
6
|
+
return ChampionNames_1.ChampionNames[key];
|
7
|
+
}
|
8
|
+
exports.getChampionNameByKey = getChampionNameByKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionId } from '../../types';
|
2
|
-
export declare function isChampionId(id: any): id is ChampionId;
|
1
|
+
import { ChampionId } from '../../types/types';
|
2
|
+
export declare function isChampionId(id: any): id is ChampionId;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isChampionId = void 0;
|
4
|
-
const ChampionKeys_1 = require("../../
|
5
|
-
function isChampionId(id) {
|
6
|
-
return id in ChampionKeys_1.ChampionKeys;
|
7
|
-
}
|
8
|
-
exports.isChampionId = isChampionId;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isChampionId = void 0;
|
4
|
+
const ChampionKeys_1 = require("../../constants/Champions/ChampionKeys");
|
5
|
+
function isChampionId(id) {
|
6
|
+
return typeof id == 'string' && id in ChampionKeys_1.ChampionKeys;
|
7
|
+
}
|
8
|
+
exports.isChampionId = isChampionId;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionKey } from '../../types';
|
2
|
-
export declare function isChampionKey(key: string): key is ChampionKey;
|
1
|
+
import { ChampionKey } from '../../types/types';
|
2
|
+
export declare function isChampionKey(key: string): key is ChampionKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isChampionKey = void 0;
|
4
|
-
const ChampionNames_1 = require("../../
|
5
|
-
function isChampionKey(key) {
|
6
|
-
return key in ChampionNames_1.ChampionNames;
|
7
|
-
}
|
8
|
-
exports.isChampionKey = isChampionKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isChampionKey = void 0;
|
4
|
+
const ChampionNames_1 = require("../../constants/Champions/ChampionNames");
|
5
|
+
function isChampionKey(key) {
|
6
|
+
return key in ChampionNames_1.ChampionNames;
|
7
|
+
}
|
8
|
+
exports.isChampionKey = isChampionKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ChampionName } from '../../types';
|
2
|
-
export declare function isChampionName(name: any): name is ChampionName;
|
1
|
+
import { ChampionName } from '../../types/types';
|
2
|
+
export declare function isChampionName(name: any): name is ChampionName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isChampionName = void 0;
|
4
|
-
const ChampionIdsByName_1 = require("../../
|
5
|
-
function isChampionName(name) {
|
6
|
-
return name in ChampionIdsByName_1.ChampionIdsByName;
|
7
|
-
}
|
8
|
-
exports.isChampionName = isChampionName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isChampionName = void 0;
|
4
|
+
const ChampionIdsByName_1 = require("../../constants/Champions/ChampionIdsByName");
|
5
|
+
function isChampionName(name) {
|
6
|
+
return typeof name == 'string' && name in ChampionIdsByName_1.ChampionIdsByName;
|
7
|
+
}
|
8
|
+
exports.isChampionName = isChampionName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ItemKey, ItemName } from '../../types';
|
2
|
-
export declare function getItemKeyByName(name: ItemName): ItemKey;
|
1
|
+
import { ItemKey, ItemName } from '../../types/types';
|
2
|
+
export declare function getItemKeyByName(name: ItemName): ItemKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getItemKeyByName = void 0;
|
4
|
-
const ItemKeys_1 = require("../../
|
5
|
-
function getItemKeyByName(name) {
|
6
|
-
return ItemKeys_1.ItemKeys[name];
|
7
|
-
}
|
8
|
-
exports.getItemKeyByName = getItemKeyByName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getItemKeyByName = void 0;
|
4
|
+
const ItemKeys_1 = require("../../constants/Items/ItemKeys");
|
5
|
+
function getItemKeyByName(name) {
|
6
|
+
return ItemKeys_1.ItemKeys[name];
|
7
|
+
}
|
8
|
+
exports.getItemKeyByName = getItemKeyByName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ItemKey, ItemName } from '../../types';
|
2
|
-
export declare function getItemNameByKey(key: ItemKey): ItemName;
|
1
|
+
import { ItemKey, ItemName } from '../../types/types';
|
2
|
+
export declare function getItemNameByKey(key: ItemKey): ItemName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getItemNameByKey = void 0;
|
4
|
-
const ItemNames_1 = require("../../
|
5
|
-
function getItemNameByKey(key) {
|
6
|
-
return ItemNames_1.ItemNames[key];
|
7
|
-
}
|
8
|
-
exports.getItemNameByKey = getItemNameByKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getItemNameByKey = void 0;
|
4
|
+
const ItemNames_1 = require("../../constants/Items/ItemNames");
|
5
|
+
function getItemNameByKey(key) {
|
6
|
+
return ItemNames_1.ItemNames[key];
|
7
|
+
}
|
8
|
+
exports.getItemNameByKey = getItemNameByKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { BootsItemKey } from '../../types';
|
2
|
-
export declare function isBootsItemKey(key: string): key is BootsItemKey;
|
1
|
+
import { BootsItemKey } from '../../types/types';
|
2
|
+
export declare function isBootsItemKey(key: string): key is BootsItemKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isBootsItemKey = void 0;
|
4
|
-
const BootsItemNames_1 = require("../../
|
5
|
-
function isBootsItemKey(key) {
|
6
|
-
return key in BootsItemNames_1.BootsItemNames;
|
7
|
-
}
|
8
|
-
exports.isBootsItemKey = isBootsItemKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isBootsItemKey = void 0;
|
4
|
+
const BootsItemNames_1 = require("../../constants/Items/BootsItemNames");
|
5
|
+
function isBootsItemKey(key) {
|
6
|
+
return key in BootsItemNames_1.BootsItemNames;
|
7
|
+
}
|
8
|
+
exports.isBootsItemKey = isBootsItemKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { BootsItemName } from '../../types';
|
2
|
-
export declare function isBootsItemName(name: any): name is BootsItemName;
|
1
|
+
import { BootsItemName } from '../../types/types';
|
2
|
+
export declare function isBootsItemName(name: any): name is BootsItemName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isBootsItemName = void 0;
|
4
|
-
const BootsItemKeys_1 = require("../../
|
5
|
-
function isBootsItemName(name) {
|
6
|
-
return name in BootsItemKeys_1.BootsItemKeys;
|
7
|
-
}
|
8
|
-
exports.isBootsItemName = isBootsItemName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isBootsItemName = void 0;
|
4
|
+
const BootsItemKeys_1 = require("../../constants/Items/BootsItemKeys");
|
5
|
+
function isBootsItemName(name) {
|
6
|
+
return typeof name == 'string' && name in BootsItemKeys_1.BootsItemKeys;
|
7
|
+
}
|
8
|
+
exports.isBootsItemName = isBootsItemName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ItemKey } from '../../types';
|
2
|
-
export declare function isItemKey(key: string): key is ItemKey;
|
1
|
+
import { ItemKey } from '../../types/types';
|
2
|
+
export declare function isItemKey(key: string): key is ItemKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isItemKey = void 0;
|
4
|
-
const ItemNames_1 = require("../../
|
5
|
-
function isItemKey(key) {
|
6
|
-
return key in ItemNames_1.ItemNames;
|
7
|
-
}
|
8
|
-
exports.isItemKey = isItemKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isItemKey = void 0;
|
4
|
+
const ItemNames_1 = require("../../constants/Items/ItemNames");
|
5
|
+
function isItemKey(key) {
|
6
|
+
return key in ItemNames_1.ItemNames;
|
7
|
+
}
|
8
|
+
exports.isItemKey = isItemKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { ItemName } from '../../types';
|
2
|
-
export declare function isItemName(name: any): name is ItemName;
|
1
|
+
import { ItemName } from '../../types/types';
|
2
|
+
export declare function isItemName(name: any): name is ItemName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isItemName = void 0;
|
4
|
-
const ItemKeys_1 = require("../../
|
5
|
-
function isItemName(name) {
|
6
|
-
return name in ItemKeys_1.ItemKeys;
|
7
|
-
}
|
8
|
-
exports.isItemName = isItemName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isItemName = void 0;
|
4
|
+
const ItemKeys_1 = require("../../constants/Items/ItemKeys");
|
5
|
+
function isItemName(name) {
|
6
|
+
return typeof name == 'string' && name in ItemKeys_1.ItemKeys;
|
7
|
+
}
|
8
|
+
exports.isItemName = isItemName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { LegendaryItemKey } from '../../types';
|
2
|
-
export declare function isLegendaryItemKey(key: string): key is LegendaryItemKey;
|
1
|
+
import { LegendaryItemKey } from '../../types/types';
|
2
|
+
export declare function isLegendaryItemKey(key: string): key is LegendaryItemKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLegendaryItemKey = void 0;
|
4
|
-
const LegendaryItemNames_1 = require("../../
|
5
|
-
function isLegendaryItemKey(key) {
|
6
|
-
return key in LegendaryItemNames_1.LegendaryItemNames;
|
7
|
-
}
|
8
|
-
exports.isLegendaryItemKey = isLegendaryItemKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isLegendaryItemKey = void 0;
|
4
|
+
const LegendaryItemNames_1 = require("../../constants/Items/LegendaryItemNames");
|
5
|
+
function isLegendaryItemKey(key) {
|
6
|
+
return key in LegendaryItemNames_1.LegendaryItemNames;
|
7
|
+
}
|
8
|
+
exports.isLegendaryItemKey = isLegendaryItemKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { LegendaryItemName } from '../../types';
|
2
|
-
export declare function isLegendaryItemName(name: any): name is LegendaryItemName;
|
1
|
+
import { LegendaryItemName } from '../../types/types';
|
2
|
+
export declare function isLegendaryItemName(name: any): name is LegendaryItemName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isLegendaryItemName = void 0;
|
4
|
-
const LegendaryItemKeys_1 = require("../../
|
5
|
-
function isLegendaryItemName(name) {
|
6
|
-
return name in LegendaryItemKeys_1.LegendaryItemKeys;
|
7
|
-
}
|
8
|
-
exports.isLegendaryItemName = isLegendaryItemName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isLegendaryItemName = void 0;
|
4
|
+
const LegendaryItemKeys_1 = require("../../constants/Items/LegendaryItemKeys");
|
5
|
+
function isLegendaryItemName(name) {
|
6
|
+
return typeof name == 'string' && name in LegendaryItemKeys_1.LegendaryItemKeys;
|
7
|
+
}
|
8
|
+
exports.isLegendaryItemName = isLegendaryItemName;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MythicItemKey } from '../../types';
|
2
|
-
export declare function isMythicItemKey(key: string): key is MythicItemKey;
|
1
|
+
import { MythicItemKey } from '../../types/types';
|
2
|
+
export declare function isMythicItemKey(key: string): key is MythicItemKey;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isMythicItemKey = void 0;
|
4
|
-
const MythicItemNames_1 = require("../../
|
5
|
-
function isMythicItemKey(key) {
|
6
|
-
return key in MythicItemNames_1.MythicItemNames;
|
7
|
-
}
|
8
|
-
exports.isMythicItemKey = isMythicItemKey;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isMythicItemKey = void 0;
|
4
|
+
const MythicItemNames_1 = require("../../constants/Items/MythicItemNames");
|
5
|
+
function isMythicItemKey(key) {
|
6
|
+
return key in MythicItemNames_1.MythicItemNames;
|
7
|
+
}
|
8
|
+
exports.isMythicItemKey = isMythicItemKey;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MythicItemName } from '../../types';
|
2
|
-
export declare function isMythicItemName(name: any): name is MythicItemName;
|
1
|
+
import { MythicItemName } from '../../types/types';
|
2
|
+
export declare function isMythicItemName(name: any): name is MythicItemName;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isMythicItemName = void 0;
|
4
|
-
const MythicItemKeys_1 = require("../../
|
5
|
-
function isMythicItemName(name) {
|
6
|
-
return name in MythicItemKeys_1.MythicItemKeys;
|
7
|
-
}
|
8
|
-
exports.isMythicItemName = isMythicItemName;
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isMythicItemName = void 0;
|
4
|
+
const MythicItemKeys_1 = require("../../constants/Items/MythicItemKeys");
|
5
|
+
function isMythicItemName(name) {
|
6
|
+
return typeof name == 'string' && name in MythicItemKeys_1.MythicItemKeys;
|
7
|
+
}
|
8
|
+
exports.isMythicItemName = isMythicItemName;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.getRuneCategoryName = void 0;
|
4
|
+
const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
|
5
|
+
function getRuneCategoryName(name) {
|
6
|
+
if (name in RuneSetsByRuneNames_1.StatRuneIds)
|
7
|
+
return 'StatRunes';
|
8
|
+
if (name in RuneSetsByRuneNames_1.PrimaryRuneTreesByRuneNames.Precision)
|
9
|
+
return 'Precision';
|
10
|
+
if (name in RuneSetsByRuneNames_1.PrimaryRuneTreesByRuneNames.Domination)
|
11
|
+
return 'Domination';
|
12
|
+
if (name in RuneSetsByRuneNames_1.PrimaryRuneTreesByRuneNames.Sorcery)
|
13
|
+
return 'Sorcery';
|
14
|
+
if (name in RuneSetsByRuneNames_1.PrimaryRuneTreesByRuneNames.Resolve)
|
15
|
+
return 'Resolve';
|
16
|
+
if (name in RuneSetsByRuneNames_1.PrimaryRuneTreesByRuneNames.Inspiration)
|
17
|
+
return 'Inspiration';
|
18
|
+
throw 'impossible code reached';
|
19
|
+
}
|
20
|
+
exports.getRuneCategoryName = getRuneCategoryName;
|