lol-constants 2.23.0 → 2.24.1
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/constants/BootsItemNames.js +1 -4
- package/assets/constants/Champion.js +1 -4
- package/assets/constants/Item.js +1 -4
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +4 -6
- package/assets/constants/RunesReforged.js +1 -4
- package/assets/constants/StatRunes.js +1 -4
- package/assets/constants/StatRunesByRow.js +1 -4
- package/assets/constants/Summoner.js +1 -4
- package/assets/index.js +4 -20
- package/assets/scripts/asset-scripts/champion.js +5 -7
- package/assets/scripts/asset-scripts/generate-all.js +4 -6
- package/assets/scripts/asset-scripts/item.js +5 -7
- package/assets/scripts/asset-scripts/runes-reforged.js +5 -7
- package/assets/scripts/asset-scripts/summoner.js +5 -7
- package/assets/scripts/constants/RuneIdComment.js +1 -4
- package/assets/scripts/generate-all.js +23 -25
- package/assets/scripts/generate-categorized-item-keys-num.js +15 -17
- package/assets/scripts/generate-categorized-item-keys.js +12 -14
- package/assets/scripts/generate-categorized-item-names.js +12 -14
- package/assets/scripts/generate-champion-ids-by-name.js +5 -7
- package/assets/scripts/generate-champion-ids.js +5 -7
- package/assets/scripts/generate-champion-keys-num.js +7 -9
- package/assets/scripts/generate-champion-keys.js +5 -7
- package/assets/scripts/generate-champion-names.js +5 -7
- package/assets/scripts/generate-item-keys-num.js +7 -9
- package/assets/scripts/generate-item-keys.js +5 -7
- package/assets/scripts/generate-item-names.js +5 -7
- package/assets/scripts/generate-non-stat-rune-ids-num.js +4 -6
- package/assets/scripts/generate-non-stat-rune-ids.js +6 -8
- package/assets/scripts/generate-non-stat-rune-names.js +4 -6
- package/assets/scripts/generate-rune-ids.js +8 -10
- package/assets/scripts/generate-rune-names.js +6 -8
- package/assets/scripts/generate-rune-picking-relationships.js +4 -6
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +12 -14
- package/assets/scripts/generate-rune-sets-by-rune-names.js +10 -12
- package/assets/scripts/generate-rune-sets.js +7 -9
- package/assets/scripts/generate-spell-ids-by-name.js +5 -7
- package/assets/scripts/generate-spell-ids.js +5 -7
- package/assets/scripts/generate-spell-keys-num.js +7 -9
- package/assets/scripts/generate-spell-keys.js +5 -7
- package/assets/scripts/generate-spell-names.js +5 -7
- package/assets/scripts/generate-stat-rune-ids.js +6 -8
- package/assets/scripts/generate-stat-rune-names.js +4 -6
- package/assets/scripts/helpers/enableEscapedValues.js +1 -5
- package/assets/scripts/helpers/generateIndexFile.js +1 -5
- package/assets/scripts/helpers/getExportStatement.js +6 -10
- package/assets/scripts/helpers/getFmtdComment.js +1 -5
- package/assets/scripts/helpers/validateNumber.js +1 -5
- package/assets/scripts/helpers/writeToTmpFile.js +5 -9
- package/assets/scripts/print-file-names.js +5 -7
- package/core/constants/Abilities.js +6 -11
- package/core/constants/BuildingTypes.js +3 -7
- package/core/constants/Champions/ChampionClasses.d.ts +17 -0
- package/core/constants/Champions/ChampionClasses.js +25 -0
- package/core/constants/Champions/ChampionIds.js +1 -4
- package/core/constants/Champions/ChampionIdsByName.js +1 -4
- package/core/constants/Champions/ChampionKeys.js +1 -4
- package/core/constants/Champions/ChampionKeysNum.js +1 -4
- package/core/constants/Champions/ChampionNames.js +1 -4
- package/core/constants/Continents.js +3 -7
- package/core/constants/DataDragonUrls.d.ts +16 -16
- package/core/constants/DataDragonUrls.js +3 -6
- package/core/constants/DragonTypes.js +3 -7
- package/core/constants/GameModes.js +3 -7
- package/core/constants/GameTypes.js +3 -7
- package/core/constants/Items/BootsItemKeys.js +1 -4
- package/core/constants/Items/BootsItemKeysNum.js +1 -4
- package/core/constants/Items/BootsItemNames.js +1 -4
- package/core/constants/Items/ItemKeys.js +1 -4
- package/core/constants/Items/ItemKeysNum.js +1 -4
- package/core/constants/Items/ItemNames.js +1 -4
- package/core/constants/Items/ItemTypes.js +3 -7
- package/core/constants/Items/LegendaryItemKeys.d.ts +1 -1
- package/core/constants/Items/LegendaryItemKeys.js +1 -4
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -4
- package/core/constants/Items/LegendaryItemNames.d.ts +1 -1
- package/core/constants/Items/LegendaryItemNames.js +1 -4
- package/core/constants/KillTypes.js +3 -7
- package/core/constants/LaneTypes.js +3 -7
- package/core/constants/Lanes.js +3 -7
- package/core/constants/LeagueTexts.js +3 -7
- package/core/constants/Levels.js +3 -7
- package/core/constants/Locales.js +3 -7
- package/core/constants/MapIds.js +3 -7
- package/core/constants/MonsterTypes.d.ts +2 -1
- package/core/constants/MonsterTypes.js +5 -8
- package/core/constants/ParticipantIds.js +3 -7
- package/core/constants/PlatformApiUris.js +3 -7
- package/core/constants/PlatformIds.js +6 -11
- package/core/constants/Positions.js +3 -7
- package/core/constants/QueueIds.js +5 -9
- package/core/constants/QueueTypes.js +3 -7
- package/core/constants/RankedRanks.js +3 -7
- package/core/constants/RankedTiers.js +3 -7
- package/core/constants/RegionalApiUris.js +3 -7
- package/core/constants/Regions.js +6 -11
- package/core/constants/RelativeTeams.js +3 -7
- package/core/constants/Roles.js +3 -7
- package/core/constants/Runes/NonStatRuneIds.js +1 -4
- package/core/constants/Runes/NonStatRuneIdsNum.js +1 -4
- package/core/constants/Runes/NonStatRuneNames.js +1 -4
- package/core/constants/Runes/RuneIconFileNames.js +1 -4
- package/core/constants/Runes/RunePickingRelationships.js +1 -4
- package/core/constants/Runes/RuneSets.js +8 -11
- package/core/constants/Runes/RuneSetsByRuneNames.js +8 -11
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +8 -11
- package/core/constants/Runes/RuneTreeIds.js +6 -11
- package/core/constants/Runes/RuneTreeIdsNum.js +6 -11
- package/core/constants/Runes/RuneTreeNames.js +6 -11
- package/core/constants/Runes/RuneTreeTypes.js +3 -7
- package/core/constants/SkillSlots.js +3 -7
- package/core/constants/Skills.js +3 -7
- package/core/constants/Spells/SpellIds.js +1 -4
- package/core/constants/Spells/SpellIdsByName.js +1 -4
- package/core/constants/Spells/SpellKeys.js +1 -4
- package/core/constants/Spells/SpellKeysNum.js +1 -4
- package/core/constants/Spells/SpellNames.js +1 -4
- package/core/constants/TeamIds.js +3 -7
- package/core/constants/TowerTypes.js +3 -7
- package/core/constants/WardTypes.js +3 -7
- package/core/helpers/Champions/getChampionIdByKey.js +3 -7
- package/core/helpers/Champions/getChampionIdByName.js +3 -7
- package/core/helpers/Champions/getChampionKeyById.js +3 -7
- package/core/helpers/Champions/getChampionKeyByName.js +4 -8
- package/core/helpers/Champions/getChampionNameById.js +4 -8
- package/core/helpers/Champions/getChampionNameByKey.js +3 -7
- package/core/helpers/Champions/isChampionId.js +3 -7
- package/core/helpers/Champions/isChampionKey.js +3 -7
- package/core/helpers/Champions/isChampionKeyNum.js +3 -7
- package/core/helpers/Champions/isChampionName.js +3 -7
- package/core/helpers/Items/getItemKeyByName.js +3 -7
- package/core/helpers/Items/getItemKeyNumByName.d.ts +3 -0
- package/core/helpers/Items/getItemKeyNumByName.js +4 -0
- package/core/helpers/Items/getItemNameByKey.js +3 -7
- package/core/helpers/Items/isBootsItemKey.js +3 -7
- package/core/helpers/Items/isBootsItemKeyNum.js +3 -7
- package/core/helpers/Items/isBootsItemName.js +3 -7
- package/core/helpers/Items/isItemKey.js +3 -7
- package/core/helpers/Items/isItemKeyNum.js +3 -7
- package/core/helpers/Items/isItemName.js +3 -7
- package/core/helpers/Items/isLegendaryItemKey.js +3 -7
- package/core/helpers/Items/isLegendaryItemKeyNum.js +3 -7
- package/core/helpers/Items/isLegendaryItemName.js +3 -7
- package/core/helpers/Items/isTier2Boots.d.ts +3 -0
- package/core/helpers/Items/isTier2Boots.js +9 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.js +3 -7
- package/core/helpers/Runes/getNonStatRuneNameById.js +3 -7
- package/core/helpers/Runes/getRuneCategoryName.js +8 -12
- package/core/helpers/Runes/getRuneCdnUrl.js +16 -20
- package/core/helpers/Runes/getRuneIdByName.js +3 -7
- package/core/helpers/Runes/getRuneNameById.js +3 -7
- package/core/helpers/Runes/getStatRuneIdByName.js +3 -7
- package/core/helpers/Runes/getStatRuneNameById.js +3 -7
- package/core/helpers/Runes/isDominationRuneId.js +3 -7
- package/core/helpers/Runes/isDominationRuneIdNum.js +3 -7
- package/core/helpers/Runes/isDominationRuneName.js +3 -7
- package/core/helpers/Runes/isInspirationRuneId.js +3 -7
- package/core/helpers/Runes/isInspirationRuneIdNum.js +3 -7
- package/core/helpers/Runes/isInspirationRuneName.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneId.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +3 -7
- package/core/helpers/Runes/isKeystoneRuneName.js +3 -7
- package/core/helpers/Runes/isNonStatRuneId.js +3 -7
- package/core/helpers/Runes/isNonStatRuneIdNum.js +3 -7
- package/core/helpers/Runes/isNonStatRuneName.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneId.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +3 -7
- package/core/helpers/Runes/isPrecisionRuneName.js +3 -7
- package/core/helpers/Runes/isResolveRuneId.js +3 -7
- package/core/helpers/Runes/isResolveRuneIdNum.js +3 -7
- package/core/helpers/Runes/isResolveRuneName.js +3 -7
- package/core/helpers/Runes/isRuneId.js +3 -7
- package/core/helpers/Runes/isRuneIdNum.js +3 -7
- package/core/helpers/Runes/isRuneName.js +3 -7
- package/core/helpers/Runes/isSorceryRuneId.js +3 -7
- package/core/helpers/Runes/isSorceryRuneIdNum.js +3 -7
- package/core/helpers/Runes/isSorceryRuneName.js +3 -7
- package/core/helpers/Runes/isStatRuneId.js +3 -7
- package/core/helpers/Runes/isStatRuneIdNum.js +3 -7
- package/core/helpers/Runes/isStatRuneName.js +3 -7
- package/core/helpers/Spells/getSpellIdByKey.js +3 -7
- package/core/helpers/Spells/getSpellIdByName.js +3 -7
- package/core/helpers/Spells/getSpellKeyById.js +3 -7
- package/core/helpers/Spells/getSpellKeyByName.js +4 -8
- package/core/helpers/Spells/getSpellNameById.js +4 -8
- package/core/helpers/Spells/getSpellNameByKey.js +3 -7
- package/core/helpers/Spells/isSpellId.js +3 -7
- package/core/helpers/Spells/isSpellKey.js +3 -7
- package/core/helpers/Spells/isSpellKeyNum.js +3 -7
- package/core/helpers/Spells/isSpellName.js +3 -7
- package/core/helpers/getPositionImageUrl.js +3 -7
- package/core/helpers/isRiotId.js +7 -11
- package/core/helpers/makeRiotId.js +1 -5
- package/core/helpers/splitRiotId.js +1 -5
- package/core/index.d.ts +4 -0
- package/core/index.js +138 -150
- package/core/types/championJson.js +1 -2
- package/core/types/interfaces.js +1 -2
- package/core/types/types.js +1 -2
- package/package.json +9 -7
- package/assets/constants/OrnnItemNames.d.ts +0 -1
- package/assets/constants/OrnnItemNames.js +0 -33
- package/core/constants/Items/OrnnItemKeys.d.ts +0 -23
- package/core/constants/Items/OrnnItemKeys.js +0 -4
- package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -23
- package/core/constants/Items/OrnnItemKeysNum.js +0 -4
- package/core/constants/Items/OrnnItemNames.d.ts +0 -23
- package/core/constants/Items/OrnnItemNames.js +0 -4
- package/core/helpers/Items/isOrnnItemKey.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemKey.js +0 -8
- package/core/helpers/Items/isOrnnItemKeyNum.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemKeyNum.js +0 -8
- package/core/helpers/Items/isOrnnItemName.d.ts +0 -2
- package/core/helpers/Items/isOrnnItemName.js +0 -8
@@ -1,23 +0,0 @@
|
|
1
|
-
export declare const OrnnItemKeys: {
|
2
|
-
readonly "Cry of the Shrieking City": "7033";
|
3
|
-
readonly Dreamshatter: "7016";
|
4
|
-
readonly "Edge of Finality": "7031";
|
5
|
-
readonly "Frozen Fist": "7005";
|
6
|
-
readonly Flicker: "7032";
|
7
|
-
readonly "Infinite Convergence": "7028";
|
8
|
-
readonly "Icathia's Curse": "7009";
|
9
|
-
readonly "Infinity Force": "7018";
|
10
|
-
readonly Leviathan: "7025";
|
11
|
-
readonly "Liandry's Lament": "7012";
|
12
|
-
readonly "Reliquary of the Golden Dawn": "7019";
|
13
|
-
readonly Syzygy: "7001";
|
14
|
-
readonly "Shurelya's Requiem": "7020";
|
15
|
-
readonly Starcaster: "7021";
|
16
|
-
readonly "Seething Sorrow": "7030";
|
17
|
-
readonly "The Unspoken Parasite": "7026";
|
18
|
-
readonly Typhoon: "7006";
|
19
|
-
readonly "Upgraded Aeropack": "7011";
|
20
|
-
readonly Vespertide: "7010";
|
21
|
-
readonly "Youmuu's Wake": "7029";
|
22
|
-
};
|
23
|
-
export type OrnnItemKey = typeof OrnnItemKeys[keyof typeof OrnnItemKeys];
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrnnItemKeys = void 0;
|
4
|
-
exports.OrnnItemKeys = { "Cry of the Shrieking City": "7033", "Dreamshatter": "7016", "Edge of Finality": "7031", "Frozen Fist": "7005", "Flicker": "7032", "Infinite Convergence": "7028", "Icathia's Curse": "7009", "Infinity Force": "7018", "Leviathan": "7025", "Liandry's Lament": "7012", "Reliquary of the Golden Dawn": "7019", "Syzygy": "7001", "Shurelya's Requiem": "7020", "Starcaster": "7021", "Seething Sorrow": "7030", "The Unspoken Parasite": "7026", "Typhoon": "7006", "Upgraded Aeropack": "7011", "Vespertide": "7010", "Youmuu's Wake": "7029" };
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export declare const OrnnItemKeysNum: {
|
2
|
-
readonly "Cry of the Shrieking City": 7033;
|
3
|
-
readonly Dreamshatter: 7016;
|
4
|
-
readonly "Edge of Finality": 7031;
|
5
|
-
readonly "Frozen Fist": 7005;
|
6
|
-
readonly Flicker: 7032;
|
7
|
-
readonly "Infinite Convergence": 7028;
|
8
|
-
readonly "Icathia's Curse": 7009;
|
9
|
-
readonly "Infinity Force": 7018;
|
10
|
-
readonly Leviathan: 7025;
|
11
|
-
readonly "Liandry's Lament": 7012;
|
12
|
-
readonly "Reliquary of the Golden Dawn": 7019;
|
13
|
-
readonly Syzygy: 7001;
|
14
|
-
readonly "Shurelya's Requiem": 7020;
|
15
|
-
readonly Starcaster: 7021;
|
16
|
-
readonly "Seething Sorrow": 7030;
|
17
|
-
readonly "The Unspoken Parasite": 7026;
|
18
|
-
readonly Typhoon: 7006;
|
19
|
-
readonly "Upgraded Aeropack": 7011;
|
20
|
-
readonly Vespertide: 7010;
|
21
|
-
readonly "Youmuu's Wake": 7029;
|
22
|
-
};
|
23
|
-
export type OrnnItemKeyNum = typeof OrnnItemKeysNum[keyof typeof OrnnItemKeysNum];
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrnnItemKeysNum = void 0;
|
4
|
-
exports.OrnnItemKeysNum = { "Cry of the Shrieking City": 7033, "Dreamshatter": 7016, "Edge of Finality": 7031, "Frozen Fist": 7005, "Flicker": 7032, "Infinite Convergence": 7028, "Icathia's Curse": 7009, "Infinity Force": 7018, "Leviathan": 7025, "Liandry's Lament": 7012, "Reliquary of the Golden Dawn": 7019, "Syzygy": 7001, "Shurelya's Requiem": 7020, "Starcaster": 7021, "Seething Sorrow": 7030, "The Unspoken Parasite": 7026, "Typhoon": 7006, "Upgraded Aeropack": 7011, "Vespertide": 7010, "Youmuu's Wake": 7029 };
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export declare const OrnnItemNames: {
|
2
|
-
readonly "7001": "Syzygy";
|
3
|
-
readonly "7005": "Frozen Fist";
|
4
|
-
readonly "7006": "Typhoon";
|
5
|
-
readonly "7009": "Icathia's Curse";
|
6
|
-
readonly "7010": "Vespertide";
|
7
|
-
readonly "7011": "Upgraded Aeropack";
|
8
|
-
readonly "7012": "Liandry's Lament";
|
9
|
-
readonly "7016": "Dreamshatter";
|
10
|
-
readonly "7018": "Infinity Force";
|
11
|
-
readonly "7019": "Reliquary of the Golden Dawn";
|
12
|
-
readonly "7020": "Shurelya's Requiem";
|
13
|
-
readonly "7021": "Starcaster";
|
14
|
-
readonly "7025": "Leviathan";
|
15
|
-
readonly "7026": "The Unspoken Parasite";
|
16
|
-
readonly "7028": "Infinite Convergence";
|
17
|
-
readonly "7029": "Youmuu's Wake";
|
18
|
-
readonly "7030": "Seething Sorrow";
|
19
|
-
readonly "7031": "Edge of Finality";
|
20
|
-
readonly "7032": "Flicker";
|
21
|
-
readonly "7033": "Cry of the Shrieking City";
|
22
|
-
};
|
23
|
-
export type OrnnItemName = typeof OrnnItemNames[keyof typeof OrnnItemNames];
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrnnItemNames = void 0;
|
4
|
-
exports.OrnnItemNames = { "7001": "Syzygy", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7016": "Dreamshatter", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City" };
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isOrnnItemKey = void 0;
|
4
|
-
const OrnnItemNames_1 = require("../../constants/Items/OrnnItemNames");
|
5
|
-
function isOrnnItemKey(value) {
|
6
|
-
return value in OrnnItemNames_1.OrnnItemNames;
|
7
|
-
}
|
8
|
-
exports.isOrnnItemKey = isOrnnItemKey;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isOrnnItemKeyNum = void 0;
|
4
|
-
const OrnnItemNames_1 = require("../../constants/Items/OrnnItemNames");
|
5
|
-
function isOrnnItemKeyNum(value) {
|
6
|
-
return value in OrnnItemNames_1.OrnnItemNames;
|
7
|
-
}
|
8
|
-
exports.isOrnnItemKeyNum = isOrnnItemKeyNum;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.isOrnnItemName = void 0;
|
4
|
-
const OrnnItemKeys_1 = require("../../constants/Items/OrnnItemKeys");
|
5
|
-
function isOrnnItemName(value) {
|
6
|
-
return typeof value == 'string' && value in OrnnItemKeys_1.OrnnItemKeys;
|
7
|
-
}
|
8
|
-
exports.isOrnnItemName = isOrnnItemName;
|