lol-constants 2.7.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/constants/BootsItemNames.d.ts +0 -5
- package/assets/constants/BootsItemNames.js +1 -8
- package/assets/constants/Champion.d.ts +345 -298
- package/assets/constants/Champion.js +1 -1
- package/assets/constants/Item.d.ts +6491 -994
- package/assets/constants/Item.js +1 -1
- package/assets/constants/LegendaryItemNames.d.ts +0 -5
- package/assets/constants/LegendaryItemNames.js +1 -8
- package/assets/constants/MythicItemNames.d.ts +0 -5
- package/assets/constants/MythicItemNames.js +3 -37
- package/assets/constants/OrnnItemNames.d.ts +1 -0
- package/assets/constants/OrnnItemNames.js +33 -0
- package/assets/constants/RunesReforged.d.ts +2 -2
- package/assets/constants/RunesReforged.js +1 -1
- package/assets/constants/StatRunes.d.ts +0 -4
- package/assets/constants/StatRunes.js +0 -3
- package/assets/constants/StatRunesByRow.d.ts +0 -3
- package/assets/constants/StatRunesByRow.js +0 -3
- package/assets/constants/Summoner.d.ts +96 -32
- package/assets/constants/Summoner.js +1 -1
- package/assets/index.d.ts +0 -5
- package/assets/index.js +6 -5
- package/assets/scripts/generate-categorized-item-keys-num.js +17 -0
- package/assets/scripts/generate-categorized-item-keys.js +17 -0
- package/assets/scripts/generate-categorized-item-names.js +17 -0
- package/core/constants/Champions/ChampionIds.d.ts +1 -0
- package/core/constants/Champions/ChampionIds.js +1 -1
- package/core/constants/Champions/ChampionIdsByName.d.ts +1 -0
- package/core/constants/Champions/ChampionIdsByName.js +1 -1
- package/core/constants/Champions/ChampionKeys.d.ts +1 -0
- package/core/constants/Champions/ChampionKeys.js +1 -1
- package/core/constants/Champions/ChampionKeysNum.d.ts +1 -0
- package/core/constants/Champions/ChampionKeysNum.js +1 -1
- package/core/constants/Champions/ChampionNames.d.ts +1 -0
- package/core/constants/Champions/ChampionNames.js +1 -1
- package/core/constants/DataDragonUrls.js +2 -2
- package/core/constants/Items/BootsItemKeys.d.ts +6 -6
- package/core/constants/Items/BootsItemKeys.js +1 -1
- package/core/constants/Items/BootsItemKeysNum.d.ts +6 -6
- package/core/constants/Items/BootsItemKeysNum.js +1 -1
- package/core/constants/Items/BootsItemNames.d.ts +6 -0
- package/core/constants/Items/BootsItemNames.js +1 -1
- package/core/constants/Items/ItemKeys.d.ts +151 -137
- package/core/constants/Items/ItemKeys.js +1 -1
- package/core/constants/Items/ItemKeysNum.d.ts +151 -137
- package/core/constants/Items/ItemKeysNum.js +1 -1
- package/core/constants/Items/ItemNames.d.ts +151 -3
- package/core/constants/Items/ItemNames.js +1 -1
- package/core/constants/Items/LegendaryItemKeys.d.ts +66 -66
- package/core/constants/Items/LegendaryItemKeys.js +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +66 -66
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +66 -0
- package/core/constants/Items/LegendaryItemNames.js +1 -1
- package/core/constants/Items/MythicItemKeys.d.ts +58 -58
- package/core/constants/Items/MythicItemKeys.js +1 -1
- package/core/constants/Items/MythicItemKeysNum.d.ts +58 -58
- package/core/constants/Items/MythicItemKeysNum.js +1 -1
- package/core/constants/Items/MythicItemNames.d.ts +58 -0
- package/core/constants/Items/MythicItemNames.js +1 -1
- package/core/constants/Items/OrnnItemKeys.d.ts +31 -0
- package/core/constants/Items/OrnnItemKeys.js +4 -0
- package/core/constants/Items/OrnnItemKeysNum.d.ts +31 -0
- package/core/constants/Items/OrnnItemKeysNum.js +4 -0
- package/core/constants/Items/OrnnItemNames.d.ts +59 -0
- package/core/constants/Items/OrnnItemNames.js +4 -0
- package/core/constants/Spells/SpellIds.d.ts +2 -0
- package/core/constants/Spells/SpellIds.js +1 -1
- package/core/constants/Spells/SpellIdsByName.d.ts +2 -1
- package/core/constants/Spells/SpellIdsByName.js +1 -1
- package/core/constants/Spells/SpellKeys.d.ts +2 -0
- package/core/constants/Spells/SpellKeys.js +1 -1
- package/core/constants/Spells/SpellKeysNum.d.ts +2 -0
- package/core/constants/Spells/SpellKeysNum.js +1 -1
- package/core/constants/Spells/SpellNames.d.ts +2 -0
- package/core/constants/Spells/SpellNames.js +1 -1
- package/core/helpers/Champions/getChampionIdByKey.d.ts +2 -1
- package/core/helpers/Champions/getChampionNameByKey.d.ts +2 -1
- package/core/helpers/Items/getItemNameByKey.d.ts +2 -1
- package/core/helpers/Items/isBootsItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isBootsItemKeyNum.js +8 -0
- package/core/helpers/Items/isBootsItemName.d.ts +1 -1
- package/core/helpers/Items/isLegendaryItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isLegendaryItemKeyNum.js +8 -0
- package/core/helpers/Items/isLegendaryItemName.d.ts +1 -1
- package/core/helpers/Items/isMythicItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isMythicItemKeyNum.js +8 -0
- package/core/helpers/Items/isMythicItemName.d.ts +1 -1
- package/core/helpers/Items/isOrnnItemKey.d.ts +2 -0
- package/core/helpers/Items/isOrnnItemKey.js +8 -0
- package/core/helpers/Items/isOrnnItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isOrnnItemKeyNum.js +8 -0
- package/core/helpers/Items/isOrnnItemName.d.ts +2 -0
- package/core/helpers/Items/isOrnnItemName.js +8 -0
- package/core/helpers/Runes/getStatRuneIdByName.d.ts +1 -1
- package/core/helpers/Runes/getStatRuneNameById.d.ts +1 -1
- package/core/helpers/Runes/isStatRuneName.d.ts +1 -1
- package/core/helpers/Spells/getSpellIdByKey.d.ts +2 -1
- package/core/helpers/Spells/getSpellNameByKey.d.ts +2 -1
- package/core/index.d.ts +6 -0
- package/core/index.js +6 -0
- package/package.json +2 -2
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.MythicItemNames = void 0;
|
4
|
-
exports.MythicItemNames = { "2065": "Shurelya's Battlesong", "3001": "Evenshroud", "3031": "Infinity Edge", "3078": "Trinity Force", "3084": "Heartsteel", "3124": "Guinsoo's Rageblade", "3142": "Youmuu's Ghostblade", "3152": "Hextech Rocketbelt", "3190": "Locket of the Iron Solari", "4005": "Imperial Mandate", "4633": "Riftmaker", "4636": "Night Harvester", "4644": "Crown of the Shattered Queen", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6630": "Goredrinker", "6631": "Stridebreaker", "6632": "Divine Sunderer", "6653": "Liandry's Anguish", "6655": "Luden's Tempest", "6656": "Everfrost", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Turbo Chemtank", "6665": "Jak'Sho, The Protean", "6667": "Radiant Virtue", "6671": "Galeforce", "6675": "Navori Quickblades", "6691": "Duskblade of Draktharr", "6692": "Eclipse", "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City" };
|
4
|
+
exports.MythicItemNames = { "2065": "Shurelya's Battlesong", "3001": "Evenshroud", "3031": "Infinity Edge", "3078": "Trinity Force", "3084": "Heartsteel", "3124": "Guinsoo's Rageblade", "3142": "Youmuu's Ghostblade", "3152": "Hextech Rocketbelt", "3190": "Locket of the Iron Solari", "4005": "Imperial Mandate", "4633": "Riftmaker", "4636": "Night Harvester", "4644": "Crown of the Shattered Queen", "6617": "Moonstone Renewer", "6620": "Echoes of Helia", "6630": "Goredrinker", "6631": "Stridebreaker", "6632": "Divine Sunderer", "6653": "Liandry's Anguish", "6655": "Luden's Tempest", "6656": "Everfrost", "6657": "Rod of Ages", "6662": "Iceborn Gauntlet", "6664": "Turbo Chemtank", "6665": "Jak'Sho, The Protean", "6667": "Radiant Virtue", "6671": "Galeforce", "6675": "Navori Quickblades", "6691": "Duskblade of Draktharr", "6692": "Eclipse", "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City", "222065": "Shurelya's Battlesong", "223001": "Evenshroud", "223031": "Infinity Edge", "223078": "Trinity Force", "223084": "Heartsteel", "223124": "Guinsoo's Rageblade", "223142": "Youmuu's Ghostblade", "223152": "Hextech Rocketbelt", "223190": "Locket of the Iron Solari", "224005": "Imperial Mandate", "224633": "Riftmaker", "224636": "Night Harvester", "224644": "Crown of the Shattered Queen", "226617": "Moonstone Renewer", "226620": "Echoes of Helia", "226630": "Goredrinker", "226631": "Stridebreaker", "226632": "Divine Sunderer", "226653": "Liandry's Anguish", "226655": "Luden's Tempest", "226656": "Everfrost", "226657": "Rod of Ages", "226662": "Iceborn Gauntlet", "226664": "Turbo Chemtank", "226665": "Jak'Sho, The Protean", "226667": "Radiant Virtue", "226671": "Galeforce", "226675": "Navori Quickblades", "226691": "Duskblade of Draktharr", "226692": "Eclipse", "227001": "Syzygy", "227002": "Draktharr's Shadowcarver", "227005": "Frozen Fist", "227006": "Typhoon", "227009": "Icathia's Curse", "227010": "Vespertide", "227011": "Upgraded Aeropack", "227012": "Liandry's Lament", "227013": "Eye of Luden", "227014": "Eternal Winter", "227015": "Ceaseless Hunger", "227016": "Dreamshatter", "227017": "Deicide", "227018": "Infinity Force", "227019": "Reliquary of the Golden Dawn", "227020": "Shurelya's Requiem", "227021": "Starcaster", "227023": "Equinox", "227024": "Caesura", "227025": "Leviathan", "227026": "The Unspoken Parasite", "227027": "Primordial Dawn", "227028": "Infinite Convergence", "227029": "Youmuu's Wake", "227030": "Seething Sorrow", "227031": "Edge of Finality", "227032": "Flicker", "227033": "Cry of the Shrieking City" };
|
@@ -0,0 +1,31 @@
|
|
1
|
+
export declare const OrnnItemKeys: {
|
2
|
+
readonly "Cry of the Shrieking City": "227033";
|
3
|
+
readonly "Ceaseless Hunger": "227015";
|
4
|
+
readonly Caesura: "227024";
|
5
|
+
readonly "Draktharr's Shadowcarver": "227002";
|
6
|
+
readonly Deicide: "227017";
|
7
|
+
readonly Dreamshatter: "227016";
|
8
|
+
readonly Equinox: "227023";
|
9
|
+
readonly "Edge of Finality": "227031";
|
10
|
+
readonly "Eye of Luden": "227013";
|
11
|
+
readonly "Eternal Winter": "227014";
|
12
|
+
readonly "Frozen Fist": "227005";
|
13
|
+
readonly Flicker: "227032";
|
14
|
+
readonly "Infinite Convergence": "227028";
|
15
|
+
readonly "Icathia's Curse": "227009";
|
16
|
+
readonly "Infinity Force": "227018";
|
17
|
+
readonly Leviathan: "227025";
|
18
|
+
readonly "Liandry's Lament": "227012";
|
19
|
+
readonly "Primordial Dawn": "227027";
|
20
|
+
readonly "Reliquary of the Golden Dawn": "227019";
|
21
|
+
readonly Syzygy: "227001";
|
22
|
+
readonly "Shurelya's Requiem": "227020";
|
23
|
+
readonly Starcaster: "227021";
|
24
|
+
readonly "Seething Sorrow": "227030";
|
25
|
+
readonly "The Unspoken Parasite": "227026";
|
26
|
+
readonly Typhoon: "227006";
|
27
|
+
readonly "Upgraded Aeropack": "227011";
|
28
|
+
readonly Vespertide: "227010";
|
29
|
+
readonly "Youmuu's Wake": "227029";
|
30
|
+
};
|
31
|
+
export type OrnnItemKey = typeof OrnnItemKeys[keyof typeof OrnnItemKeys];
|
@@ -0,0 +1,4 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrnnItemKeys = void 0;
|
4
|
+
exports.OrnnItemKeys = { "Cry of the Shrieking City": "227033", "Ceaseless Hunger": "227015", "Caesura": "227024", "Draktharr's Shadowcarver": "227002", "Deicide": "227017", "Dreamshatter": "227016", "Equinox": "227023", "Edge of Finality": "227031", "Eye of Luden": "227013", "Eternal Winter": "227014", "Frozen Fist": "227005", "Flicker": "227032", "Infinite Convergence": "227028", "Icathia's Curse": "227009", "Infinity Force": "227018", "Leviathan": "227025", "Liandry's Lament": "227012", "Primordial Dawn": "227027", "Reliquary of the Golden Dawn": "227019", "Syzygy": "227001", "Shurelya's Requiem": "227020", "Starcaster": "227021", "Seething Sorrow": "227030", "The Unspoken Parasite": "227026", "Typhoon": "227006", "Upgraded Aeropack": "227011", "Vespertide": "227010", "Youmuu's Wake": "227029" };
|
@@ -0,0 +1,31 @@
|
|
1
|
+
export declare const OrnnItemKeysNum: {
|
2
|
+
readonly "Cry of the Shrieking City": 227033;
|
3
|
+
readonly "Ceaseless Hunger": 227015;
|
4
|
+
readonly Caesura: 227024;
|
5
|
+
readonly "Draktharr's Shadowcarver": 227002;
|
6
|
+
readonly Deicide: 227017;
|
7
|
+
readonly Dreamshatter: 227016;
|
8
|
+
readonly Equinox: 227023;
|
9
|
+
readonly "Edge of Finality": 227031;
|
10
|
+
readonly "Eye of Luden": 227013;
|
11
|
+
readonly "Eternal Winter": 227014;
|
12
|
+
readonly "Frozen Fist": 227005;
|
13
|
+
readonly Flicker: 227032;
|
14
|
+
readonly "Infinite Convergence": 227028;
|
15
|
+
readonly "Icathia's Curse": 227009;
|
16
|
+
readonly "Infinity Force": 227018;
|
17
|
+
readonly Leviathan: 227025;
|
18
|
+
readonly "Liandry's Lament": 227012;
|
19
|
+
readonly "Primordial Dawn": 227027;
|
20
|
+
readonly "Reliquary of the Golden Dawn": 227019;
|
21
|
+
readonly Syzygy: 227001;
|
22
|
+
readonly "Shurelya's Requiem": 227020;
|
23
|
+
readonly Starcaster: 227021;
|
24
|
+
readonly "Seething Sorrow": 227030;
|
25
|
+
readonly "The Unspoken Parasite": 227026;
|
26
|
+
readonly Typhoon: 227006;
|
27
|
+
readonly "Upgraded Aeropack": 227011;
|
28
|
+
readonly Vespertide: 227010;
|
29
|
+
readonly "Youmuu's Wake": 227029;
|
30
|
+
};
|
31
|
+
export type OrnnItemKeyNum = typeof OrnnItemKeysNum[keyof typeof OrnnItemKeysNum];
|
@@ -0,0 +1,4 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrnnItemKeysNum = void 0;
|
4
|
+
exports.OrnnItemKeysNum = { "Cry of the Shrieking City": 227033, "Ceaseless Hunger": 227015, "Caesura": 227024, "Draktharr's Shadowcarver": 227002, "Deicide": 227017, "Dreamshatter": 227016, "Equinox": 227023, "Edge of Finality": 227031, "Eye of Luden": 227013, "Eternal Winter": 227014, "Frozen Fist": 227005, "Flicker": 227032, "Infinite Convergence": 227028, "Icathia's Curse": 227009, "Infinity Force": 227018, "Leviathan": 227025, "Liandry's Lament": 227012, "Primordial Dawn": 227027, "Reliquary of the Golden Dawn": 227019, "Syzygy": 227001, "Shurelya's Requiem": 227020, "Starcaster": 227021, "Seething Sorrow": 227030, "The Unspoken Parasite": 227026, "Typhoon": 227006, "Upgraded Aeropack": 227011, "Vespertide": 227010, "Youmuu's Wake": 227029 };
|
@@ -0,0 +1,59 @@
|
|
1
|
+
export declare const OrnnItemNames: {
|
2
|
+
readonly "7001": "Syzygy";
|
3
|
+
readonly "7002": "Draktharr's Shadowcarver";
|
4
|
+
readonly "7005": "Frozen Fist";
|
5
|
+
readonly "7006": "Typhoon";
|
6
|
+
readonly "7009": "Icathia's Curse";
|
7
|
+
readonly "7010": "Vespertide";
|
8
|
+
readonly "7011": "Upgraded Aeropack";
|
9
|
+
readonly "7012": "Liandry's Lament";
|
10
|
+
readonly "7013": "Eye of Luden";
|
11
|
+
readonly "7014": "Eternal Winter";
|
12
|
+
readonly "7015": "Ceaseless Hunger";
|
13
|
+
readonly "7016": "Dreamshatter";
|
14
|
+
readonly "7017": "Deicide";
|
15
|
+
readonly "7018": "Infinity Force";
|
16
|
+
readonly "7019": "Reliquary of the Golden Dawn";
|
17
|
+
readonly "7020": "Shurelya's Requiem";
|
18
|
+
readonly "7021": "Starcaster";
|
19
|
+
readonly "7023": "Equinox";
|
20
|
+
readonly "7024": "Caesura";
|
21
|
+
readonly "7025": "Leviathan";
|
22
|
+
readonly "7026": "The Unspoken Parasite";
|
23
|
+
readonly "7027": "Primordial Dawn";
|
24
|
+
readonly "7028": "Infinite Convergence";
|
25
|
+
readonly "7029": "Youmuu's Wake";
|
26
|
+
readonly "7030": "Seething Sorrow";
|
27
|
+
readonly "7031": "Edge of Finality";
|
28
|
+
readonly "7032": "Flicker";
|
29
|
+
readonly "7033": "Cry of the Shrieking City";
|
30
|
+
readonly "227001": "Syzygy";
|
31
|
+
readonly "227002": "Draktharr's Shadowcarver";
|
32
|
+
readonly "227005": "Frozen Fist";
|
33
|
+
readonly "227006": "Typhoon";
|
34
|
+
readonly "227009": "Icathia's Curse";
|
35
|
+
readonly "227010": "Vespertide";
|
36
|
+
readonly "227011": "Upgraded Aeropack";
|
37
|
+
readonly "227012": "Liandry's Lament";
|
38
|
+
readonly "227013": "Eye of Luden";
|
39
|
+
readonly "227014": "Eternal Winter";
|
40
|
+
readonly "227015": "Ceaseless Hunger";
|
41
|
+
readonly "227016": "Dreamshatter";
|
42
|
+
readonly "227017": "Deicide";
|
43
|
+
readonly "227018": "Infinity Force";
|
44
|
+
readonly "227019": "Reliquary of the Golden Dawn";
|
45
|
+
readonly "227020": "Shurelya's Requiem";
|
46
|
+
readonly "227021": "Starcaster";
|
47
|
+
readonly "227023": "Equinox";
|
48
|
+
readonly "227024": "Caesura";
|
49
|
+
readonly "227025": "Leviathan";
|
50
|
+
readonly "227026": "The Unspoken Parasite";
|
51
|
+
readonly "227027": "Primordial Dawn";
|
52
|
+
readonly "227028": "Infinite Convergence";
|
53
|
+
readonly "227029": "Youmuu's Wake";
|
54
|
+
readonly "227030": "Seething Sorrow";
|
55
|
+
readonly "227031": "Edge of Finality";
|
56
|
+
readonly "227032": "Flicker";
|
57
|
+
readonly "227033": "Cry of the Shrieking City";
|
58
|
+
};
|
59
|
+
export type OrnnItemName = typeof OrnnItemNames[keyof typeof OrnnItemNames];
|
@@ -0,0 +1,4 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OrnnItemNames = void 0;
|
4
|
+
exports.OrnnItemNames = { "7001": "Syzygy", "7002": "Draktharr's Shadowcarver", "7005": "Frozen Fist", "7006": "Typhoon", "7009": "Icathia's Curse", "7010": "Vespertide", "7011": "Upgraded Aeropack", "7012": "Liandry's Lament", "7013": "Eye of Luden", "7014": "Eternal Winter", "7015": "Ceaseless Hunger", "7016": "Dreamshatter", "7017": "Deicide", "7018": "Infinity Force", "7019": "Reliquary of the Golden Dawn", "7020": "Shurelya's Requiem", "7021": "Starcaster", "7023": "Equinox", "7024": "Caesura", "7025": "Leviathan", "7026": "The Unspoken Parasite", "7027": "Primordial Dawn", "7028": "Infinite Convergence", "7029": "Youmuu's Wake", "7030": "Seething Sorrow", "7031": "Edge of Finality", "7032": "Flicker", "7033": "Cry of the Shrieking City", "227001": "Syzygy", "227002": "Draktharr's Shadowcarver", "227005": "Frozen Fist", "227006": "Typhoon", "227009": "Icathia's Curse", "227010": "Vespertide", "227011": "Upgraded Aeropack", "227012": "Liandry's Lament", "227013": "Eye of Luden", "227014": "Eternal Winter", "227015": "Ceaseless Hunger", "227016": "Dreamshatter", "227017": "Deicide", "227018": "Infinity Force", "227019": "Reliquary of the Golden Dawn", "227020": "Shurelya's Requiem", "227021": "Starcaster", "227023": "Equinox", "227024": "Caesura", "227025": "Leviathan", "227026": "The Unspoken Parasite", "227027": "Primordial Dawn", "227028": "Infinite Convergence", "227029": "Youmuu's Wake", "227030": "Seething Sorrow", "227031": "Edge of Finality", "227032": "Flicker", "227033": "Cry of the Shrieking City" };
|
@@ -15,5 +15,7 @@ export declare const SpellIds: {
|
|
15
15
|
readonly "39": "SummonerSnowURFSnowball_Mark";
|
16
16
|
readonly "54": "Summoner_UltBookPlaceholder";
|
17
17
|
readonly "55": "Summoner_UltBookSmitePlaceholder";
|
18
|
+
readonly "2201": "SummonerCherryHold";
|
19
|
+
readonly "2202": "SummonerCherryFlash";
|
18
20
|
};
|
19
21
|
export type SpellId = typeof SpellIds[keyof typeof SpellIds];
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SpellIds = void 0;
|
4
|
-
exports.SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder" };
|
4
|
+
exports.SpellIds = { "1": "SummonerBoost", "3": "SummonerExhaust", "4": "SummonerFlash", "6": "SummonerHaste", "7": "SummonerHeal", "11": "SummonerSmite", "12": "SummonerTeleport", "13": "SummonerMana", "14": "SummonerDot", "21": "SummonerBarrier", "30": "SummonerPoroRecall", "31": "SummonerPoroThrow", "32": "SummonerSnowball", "39": "SummonerSnowURFSnowball_Mark", "54": "Summoner_UltBookPlaceholder", "55": "Summoner_UltBookSmitePlaceholder", "2201": "SummonerCherryHold", "2202": "SummonerCherryFlash" };
|
@@ -1,9 +1,10 @@
|
|
1
1
|
export declare const SpellIdsByName: {
|
2
2
|
readonly Barrier: "SummonerBarrier";
|
3
3
|
readonly Cleanse: "SummonerBoost";
|
4
|
+
readonly Flash: "SummonerFlash";
|
5
|
+
readonly Flee: "SummonerCherryHold";
|
4
6
|
readonly Ignite: "SummonerDot";
|
5
7
|
readonly Exhaust: "SummonerExhaust";
|
6
|
-
readonly Flash: "SummonerFlash";
|
7
8
|
readonly Ghost: "SummonerHaste";
|
8
9
|
readonly Heal: "SummonerHeal";
|
9
10
|
readonly Clarity: "SummonerMana";
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SpellIdsByName = void 0;
|
4
|
-
exports.SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "
|
4
|
+
exports.SpellIdsByName = { "Barrier": "SummonerBarrier", "Cleanse": "SummonerBoost", "Flash": "SummonerFlash", "Flee": "SummonerCherryHold", "Ignite": "SummonerDot", "Exhaust": "SummonerExhaust", "Ghost": "SummonerHaste", "Heal": "SummonerHeal", "Clarity": "SummonerMana", "To the King!": "SummonerPoroRecall", "Poro Toss": "SummonerPoroThrow", "Smite": "SummonerSmite", "Mark": "SummonerSnowball", "Teleport": "SummonerTeleport", "Placeholder": "Summoner_UltBookPlaceholder", "Placeholder and Attack-Smite": "Summoner_UltBookSmitePlaceholder" };
|
@@ -1,6 +1,8 @@
|
|
1
1
|
export declare const SpellKeys: {
|
2
2
|
readonly SummonerBarrier: "21";
|
3
3
|
readonly SummonerBoost: "1";
|
4
|
+
readonly SummonerCherryFlash: "2202";
|
5
|
+
readonly SummonerCherryHold: "2201";
|
4
6
|
readonly SummonerDot: "14";
|
5
7
|
readonly SummonerExhaust: "3";
|
6
8
|
readonly SummonerFlash: "4";
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SpellKeys = void 0;
|
4
|
-
exports.SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
|
4
|
+
exports.SpellKeys = { "SummonerBarrier": "21", "SummonerBoost": "1", "SummonerCherryFlash": "2202", "SummonerCherryHold": "2201", "SummonerDot": "14", "SummonerExhaust": "3", "SummonerFlash": "4", "SummonerHaste": "6", "SummonerHeal": "7", "SummonerMana": "13", "SummonerPoroRecall": "30", "SummonerPoroThrow": "31", "SummonerSmite": "11", "SummonerSnowURFSnowball_Mark": "39", "SummonerSnowball": "32", "SummonerTeleport": "12", "Summoner_UltBookPlaceholder": "54", "Summoner_UltBookSmitePlaceholder": "55" };
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.SpellKeysNum = void 0;
|
4
|
-
exports.SpellKeysNum = { "SummonerBarrier": 21, "SummonerBoost": 1, "SummonerDot": 14, "SummonerExhaust": 3, "SummonerFlash": 4, "SummonerHaste": 6, "SummonerHeal": 7, "SummonerMana": 13, "SummonerPoroRecall": 30, "SummonerPoroThrow": 31, "SummonerSmite": 11, "SummonerSnowURFSnowball_Mark": 39, "SummonerSnowball": 32, "SummonerTeleport": 12, "Summoner_UltBookPlaceholder": 54, "Summoner_UltBookSmitePlaceholder": 55 };
|
4
|
+
exports.SpellKeysNum = { "SummonerBarrier": 21, "SummonerBoost": 1, "SummonerCherryFlash": 2202, "SummonerCherryHold": 2201, "SummonerDot": 14, "SummonerExhaust": 3, "SummonerFlash": 4, "SummonerHaste": 6, "SummonerHeal": 7, "SummonerMana": 13, "SummonerPoroRecall": 30, "SummonerPoroThrow": 31, "SummonerSmite": 11, "SummonerSnowURFSnowball_Mark": 39, "SummonerSnowball": 32, "SummonerTeleport": 12, "Summoner_UltBookPlaceholder": 54, "Summoner_UltBookSmitePlaceholder": 55 };
|
@@ -15,5 +15,7 @@ export declare const SpellNames: {
|
|
15
15
|
readonly "39": "Mark";
|
16
16
|
readonly "54": "Placeholder";
|
17
17
|
readonly "55": "Placeholder and Attack-Smite";
|
18
|
+
readonly "2201": "Flee";
|
19
|
+
readonly "2202": "Flash";
|
18
20
|
};
|
19
21
|
export type SpellName = typeof SpellNames[keyof typeof SpellNames];
|
@@ -1,4 +1,4 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
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" };
|
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", "2201": "Flee", "2202": "Flash" };
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { ChampionId } from '../../constants/Champions/ChampionIds';
|
2
2
|
import { ChampionKey } from '../../constants/Champions/ChampionKeys';
|
3
|
-
|
3
|
+
import { ChampionKeyNum } from '../../constants/Champions/ChampionKeysNum';
|
4
|
+
export declare function getChampionIdByKey(key: ChampionKey | ChampionKeyNum): ChampionId;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { ChampionKey } from '../../constants/Champions/ChampionKeys';
|
2
|
+
import { ChampionKeyNum } from '../../constants/Champions/ChampionKeysNum';
|
2
3
|
import { ChampionName } from '../../constants/Champions/ChampionNames';
|
3
|
-
export declare function getChampionNameByKey(key: ChampionKey): ChampionName;
|
4
|
+
export declare function getChampionNameByKey(key: ChampionKey | ChampionKeyNum): ChampionName;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { ItemKey } from '../../constants/Items/ItemKeys';
|
2
|
+
import { ItemKeyNum } from '../../constants/Items/ItemKeysNum';
|
2
3
|
import { ItemName } from '../../constants/Items/ItemNames';
|
3
|
-
export declare function getItemNameByKey(key: ItemKey): ItemName;
|
4
|
+
export declare function getItemNameByKey(key: ItemKey | ItemKeyNum): ItemName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isBootsItemKeyNum = void 0;
|
4
|
+
const BootsItemNames_1 = require("../../constants/Items/BootsItemNames");
|
5
|
+
function isBootsItemKeyNum(key) {
|
6
|
+
return key in BootsItemNames_1.BootsItemNames;
|
7
|
+
}
|
8
|
+
exports.isBootsItemKeyNum = isBootsItemKeyNum;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { BootsItemName } from '
|
1
|
+
import { BootsItemName } from '../../constants/Items/BootsItemNames';
|
2
2
|
export declare function isBootsItemName(name: any): name is BootsItemName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isLegendaryItemKeyNum = void 0;
|
4
|
+
const LegendaryItemNames_1 = require("../../constants/Items/LegendaryItemNames");
|
5
|
+
function isLegendaryItemKeyNum(key) {
|
6
|
+
return key in LegendaryItemNames_1.LegendaryItemNames;
|
7
|
+
}
|
8
|
+
exports.isLegendaryItemKeyNum = isLegendaryItemKeyNum;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { LegendaryItemName } from '
|
1
|
+
import { LegendaryItemName } from '../../constants/Items/LegendaryItemNames';
|
2
2
|
export declare function isLegendaryItemName(name: any): name is LegendaryItemName;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.isMythicItemKeyNum = void 0;
|
4
|
+
const MythicItemNames_1 = require("../../constants/Items/MythicItemNames");
|
5
|
+
function isMythicItemKeyNum(key) {
|
6
|
+
return key in MythicItemNames_1.MythicItemNames;
|
7
|
+
}
|
8
|
+
exports.isMythicItemKeyNum = isMythicItemKeyNum;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { MythicItemName } from '
|
1
|
+
import { MythicItemName } from '../../constants/Items/MythicItemNames';
|
2
2
|
export declare function isMythicItemName(name: any): name is MythicItemName;
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -0,0 +1,8 @@
|
|
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;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { StatRuneName } from '
|
1
|
+
import { StatRuneName } from '../../constants/Runes/RuneSets';
|
2
2
|
export declare function isStatRuneName(name: any): name is StatRuneName;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { SpellId } from '../../constants/Spells/SpellIds';
|
2
2
|
import { SpellKey } from '../../constants/Spells/SpellKeys';
|
3
|
-
|
3
|
+
import { SpellKeyNum } from '../../constants/Spells/SpellKeysNum';
|
4
|
+
export declare function getSpellIdByKey(key: SpellKey | SpellKeyNum): SpellId;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import { SpellKey } from '../../constants/Spells/SpellKeys';
|
2
|
+
import { SpellKeyNum } from '../../constants/Spells/SpellKeysNum';
|
2
3
|
import { SpellName } from '../../constants/Spells/SpellNames';
|
3
|
-
export declare function getSpellNameByKey(key: SpellKey): SpellName;
|
4
|
+
export declare function getSpellNameByKey(key: SpellKey | SpellKeyNum): SpellName;
|
package/core/index.d.ts
CHANGED
@@ -47,6 +47,9 @@ export * from './constants/Items/LegendaryItemNames';
|
|
47
47
|
export * from './constants/Items/MythicItemKeys';
|
48
48
|
export * from './constants/Items/MythicItemKeysNum';
|
49
49
|
export * from './constants/Items/MythicItemNames';
|
50
|
+
export * from './constants/Items/OrnnItemKeys';
|
51
|
+
export * from './constants/Items/OrnnItemKeysNum';
|
52
|
+
export * from './constants/Items/OrnnItemNames';
|
50
53
|
export * from './constants/Runes/NonStatRuneIds';
|
51
54
|
export * from './constants/Runes/NonStatRuneIdsNum';
|
52
55
|
export * from './constants/Runes/NonStatRuneNames';
|
@@ -86,6 +89,9 @@ export * from './helpers/Items/isLegendaryItemKey';
|
|
86
89
|
export * from './helpers/Items/isLegendaryItemName';
|
87
90
|
export * from './helpers/Items/isMythicItemKey';
|
88
91
|
export * from './helpers/Items/isMythicItemName';
|
92
|
+
export * from './helpers/Items/isOrnnItemKey';
|
93
|
+
export * from './helpers/Items/isOrnnItemKeyNum';
|
94
|
+
export * from './helpers/Items/isOrnnItemName';
|
89
95
|
export * from './helpers/Runes/getNonStatRuneIdByName';
|
90
96
|
export * from './helpers/Runes/getNonStatRuneNameById';
|
91
97
|
export * from './helpers/Runes/getRuneCategoryName';
|
package/core/index.js
CHANGED
@@ -66,6 +66,9 @@ __exportStar(require("./constants/Items/LegendaryItemNames"), exports);
|
|
66
66
|
__exportStar(require("./constants/Items/MythicItemKeys"), exports);
|
67
67
|
__exportStar(require("./constants/Items/MythicItemKeysNum"), exports);
|
68
68
|
__exportStar(require("./constants/Items/MythicItemNames"), exports);
|
69
|
+
__exportStar(require("./constants/Items/OrnnItemKeys"), exports);
|
70
|
+
__exportStar(require("./constants/Items/OrnnItemKeysNum"), exports);
|
71
|
+
__exportStar(require("./constants/Items/OrnnItemNames"), exports);
|
69
72
|
// ## Runes
|
70
73
|
__exportStar(require("./constants/Runes/NonStatRuneIds"), exports);
|
71
74
|
__exportStar(require("./constants/Runes/NonStatRuneIdsNum"), exports);
|
@@ -110,6 +113,9 @@ __exportStar(require("./helpers/Items/isLegendaryItemKey"), exports);
|
|
110
113
|
__exportStar(require("./helpers/Items/isLegendaryItemName"), exports);
|
111
114
|
__exportStar(require("./helpers/Items/isMythicItemKey"), exports);
|
112
115
|
__exportStar(require("./helpers/Items/isMythicItemName"), exports);
|
116
|
+
__exportStar(require("./helpers/Items/isOrnnItemKey"), exports);
|
117
|
+
__exportStar(require("./helpers/Items/isOrnnItemKeyNum"), exports);
|
118
|
+
__exportStar(require("./helpers/Items/isOrnnItemName"), exports);
|
113
119
|
// ## Runes
|
114
120
|
__exportStar(require("./helpers/Runes/getNonStatRuneIdByName"), exports);
|
115
121
|
__exportStar(require("./helpers/Runes/getNonStatRuneNameById"), exports);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "lol-constants",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.9.0",
|
4
4
|
"description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
|
5
5
|
"main": "core/index.js",
|
6
6
|
"types": "core/index.d.ts",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"/assets"
|
11
11
|
],
|
12
12
|
"scripts": {
|
13
|
-
"clean
|
13
|
+
"build:clean": "rmdir /s /q core && rmdir /s /q assets && tsc",
|
14
14
|
"generate": "node assets/scripts/generate-all",
|
15
15
|
"dev": "vite"
|
16
16
|
},
|