lol-constants 2.19.0 → 2.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. package/README.md +1 -1
  2. package/assets/constants/BootsItemNames.d.ts +1 -1
  3. package/assets/constants/BootsItemNames.js +11 -9
  4. package/assets/constants/Champion.d.ts +584 -490
  5. package/assets/constants/Champion.js +1 -1
  6. package/assets/constants/Item.d.ts +10805 -6625
  7. package/assets/constants/Item.js +1 -1
  8. package/assets/constants/LegendaryItemNames.d.ts +4 -1
  9. package/assets/constants/LegendaryItemNames.js +138 -74
  10. package/assets/constants/RunesReforged.d.ts +48 -69
  11. package/assets/constants/RunesReforged.js +1 -1
  12. package/assets/constants/StatRunes.d.ts +28 -11
  13. package/assets/constants/StatRunes.js +11 -11
  14. package/assets/constants/StatRunesByRow.d.ts +6 -6
  15. package/assets/constants/StatRunesByRow.js +6 -6
  16. package/assets/constants/Summoner.d.ts +36 -36
  17. package/assets/constants/Summoner.js +1 -1
  18. package/assets/index.js +0 -1
  19. package/assets/scripts/generate-categorized-item-keys-num.js +0 -20
  20. package/assets/scripts/generate-categorized-item-keys.js +1 -22
  21. package/assets/scripts/generate-categorized-item-names.js +0 -20
  22. package/assets/scripts/generate-rune-ids.js +2 -4
  23. package/assets/scripts/generate-rune-names.js +2 -4
  24. package/assets/scripts/generate-stat-rune-ids.js +2 -4
  25. package/assets/scripts/generate-stat-rune-names.js +2 -4
  26. package/core/constants/Champions/ChampionIds.d.ts +2 -0
  27. package/core/constants/Champions/ChampionIds.js +1 -1
  28. package/core/constants/Champions/ChampionIdsByName.d.ts +2 -0
  29. package/core/constants/Champions/ChampionIdsByName.js +1 -1
  30. package/core/constants/Champions/ChampionKeys.d.ts +2 -0
  31. package/core/constants/Champions/ChampionKeys.js +1 -1
  32. package/core/constants/Champions/ChampionKeysNum.d.ts +2 -0
  33. package/core/constants/Champions/ChampionKeysNum.js +1 -1
  34. package/core/constants/Champions/ChampionNames.d.ts +2 -0
  35. package/core/constants/Champions/ChampionNames.js +1 -1
  36. package/core/constants/DataDragonUrls.d.ts +16 -16
  37. package/core/constants/DataDragonUrls.js +2 -2
  38. package/core/constants/Items/BootsItemKeys.d.ts +3 -1
  39. package/core/constants/Items/BootsItemKeys.js +1 -1
  40. package/core/constants/Items/BootsItemKeysNum.d.ts +3 -1
  41. package/core/constants/Items/BootsItemKeysNum.js +1 -1
  42. package/core/constants/Items/BootsItemNames.d.ts +3 -1
  43. package/core/constants/Items/BootsItemNames.js +1 -1
  44. package/core/constants/Items/ItemKeys.d.ts +58 -47
  45. package/core/constants/Items/ItemKeys.js +1 -1
  46. package/core/constants/Items/ItemKeysNum.d.ts +58 -47
  47. package/core/constants/Items/ItemKeysNum.js +1 -1
  48. package/core/constants/Items/ItemNames.d.ts +58 -48
  49. package/core/constants/Items/ItemNames.js +1 -1
  50. package/core/constants/Items/ItemTypes.d.ts +0 -1
  51. package/core/constants/Items/ItemTypes.js +0 -1
  52. package/core/constants/Items/LegendaryItemKeys.d.ts +75 -12
  53. package/core/constants/Items/LegendaryItemKeys.js +1 -1
  54. package/core/constants/Items/LegendaryItemKeysNum.d.ts +75 -12
  55. package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
  56. package/core/constants/Items/LegendaryItemNames.d.ts +73 -10
  57. package/core/constants/Items/LegendaryItemNames.js +1 -1
  58. package/core/constants/Items/OrnnItemKeys.d.ts +0 -8
  59. package/core/constants/Items/OrnnItemKeys.js +1 -1
  60. package/core/constants/Items/OrnnItemKeysNum.d.ts +0 -8
  61. package/core/constants/Items/OrnnItemKeysNum.js +1 -1
  62. package/core/constants/Items/OrnnItemNames.d.ts +0 -8
  63. package/core/constants/Items/OrnnItemNames.js +1 -1
  64. package/core/constants/Runes/NonStatRuneIds.d.ts +6 -9
  65. package/core/constants/Runes/NonStatRuneIds.js +1 -1
  66. package/core/constants/Runes/NonStatRuneIdsNum.d.ts +6 -9
  67. package/core/constants/Runes/NonStatRuneIdsNum.js +1 -1
  68. package/core/constants/Runes/NonStatRuneNames.d.ts +5 -8
  69. package/core/constants/Runes/NonStatRuneNames.js +1 -1
  70. package/core/constants/Runes/RuneIconFileNames.js +12 -15
  71. package/core/constants/Runes/RunePickingRelationships.d.ts +18 -21
  72. package/core/constants/Runes/RunePickingRelationships.js +1 -1
  73. package/core/constants/Runes/RuneSets.d.ts +73 -97
  74. package/core/constants/Runes/RuneSets.js +7 -7
  75. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +79 -103
  76. package/core/constants/Runes/RuneSetsByRuneNames.js +7 -7
  77. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +79 -103
  78. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +7 -7
  79. package/core/helpers/Runes/getRuneCdnUrl.js +3 -1
  80. package/core/helpers/makeRiotId.d.ts +4 -0
  81. package/core/helpers/makeRiotId.js +9 -0
  82. package/core/helpers/splitRiotId.d.ts +2 -2
  83. package/core/index.d.ts +1 -5
  84. package/core/index.js +1 -5
  85. package/package.json +28 -27
  86. package/assets/constants/MythicItemNames.d.ts +0 -1
  87. package/assets/constants/MythicItemNames.js +0 -37
  88. package/assets/scripts/generate-tree-rune-ids-num.d.ts +0 -1
  89. package/assets/scripts/generate-tree-rune-ids-num.js +0 -23
  90. package/assets/scripts/generate-tree-rune-ids.d.ts +0 -1
  91. package/assets/scripts/generate-tree-rune-ids.js +0 -24
  92. package/assets/scripts/generate-tree-rune-names.d.ts +0 -1
  93. package/assets/scripts/generate-tree-rune-names.js +0 -22
  94. package/assets/scripts/helpers/getComment.d.ts +0 -1
  95. package/assets/scripts/helpers/getComment.js +0 -8
  96. package/core/constants/Items/MythicItemKeys.d.ts +0 -61
  97. package/core/constants/Items/MythicItemKeys.js +0 -4
  98. package/core/constants/Items/MythicItemKeysNum.d.ts +0 -61
  99. package/core/constants/Items/MythicItemKeysNum.js +0 -4
  100. package/core/constants/Items/MythicItemNames.d.ts +0 -61
  101. package/core/constants/Items/MythicItemNames.js +0 -4
  102. package/core/constants/Queues.d.ts +0 -7
  103. package/core/constants/Queues.js +0 -12
  104. package/core/constants/Runes/TreeRuneIds.d.ts +0 -80
  105. package/core/constants/Runes/TreeRuneIds.js +0 -4
  106. package/core/constants/Runes/TreeRuneIdsNum.d.ts +0 -66
  107. package/core/constants/Runes/TreeRuneIdsNum.js +0 -4
  108. package/core/constants/Runes/TreeRuneNames.d.ts +0 -66
  109. package/core/constants/Runes/TreeRuneNames.js +0 -4
  110. package/core/helpers/Items/isMythicItemKey.d.ts +0 -2
  111. package/core/helpers/Items/isMythicItemKey.js +0 -8
  112. package/core/helpers/Items/isMythicItemKeyNum.d.ts +0 -2
  113. package/core/helpers/Items/isMythicItemKeyNum.js +0 -8
  114. package/core/helpers/Items/isMythicItemName.d.ts +0 -2
  115. package/core/helpers/Items/isMythicItemName.js +0 -8
  116. package/core/helpers/Runes/getTreeRuneIdByName.d.ts +0 -3
  117. package/core/helpers/Runes/getTreeRuneIdByName.js +0 -8
  118. package/core/helpers/Runes/getTreeRuneNameById.d.ts +0 -3
  119. package/core/helpers/Runes/getTreeRuneNameById.js +0 -8
  120. package/core/helpers/Runes/isDominationTreeRuneId.d.ts +0 -2
  121. package/core/helpers/Runes/isDominationTreeRuneId.js +0 -8
  122. package/core/helpers/Runes/isInspirationTreeRuneId.d.ts +0 -2
  123. package/core/helpers/Runes/isInspirationTreeRuneId.js +0 -8
  124. package/core/helpers/Runes/isPrecisionTreeRuneId.d.ts +0 -2
  125. package/core/helpers/Runes/isPrecisionTreeRuneId.js +0 -8
  126. package/core/helpers/Runes/isResolveTreeRuneId.d.ts +0 -2
  127. package/core/helpers/Runes/isResolveTreeRuneId.js +0 -8
  128. package/core/helpers/Runes/isSorceryTreeRuneId.d.ts +0 -2
  129. package/core/helpers/Runes/isSorceryTreeRuneId.js +0 -8
  130. package/core/helpers/Runes/isTreeRuneId.d.ts +0 -2
  131. package/core/helpers/Runes/isTreeRuneId.js +0 -8
  132. package/core/helpers/Runes/isTreeRuneName.d.ts +0 -2
  133. package/core/helpers/Runes/isTreeRuneName.js +0 -8
@@ -1,66 +0,0 @@
1
- export declare const TreeRuneNames: {
2
- readonly "8005": "Press the Attack";
3
- readonly "8008": "Lethal Tempo";
4
- readonly "8009": "Presence of Mind";
5
- readonly "8010": "Conqueror";
6
- readonly "8014": "Coup de Grace";
7
- readonly "8017": "Cut Down";
8
- readonly "8021": "Fleet Footwork";
9
- readonly "8105": "Relentless Hunter";
10
- readonly "8106": "Ultimate Hunter";
11
- readonly "8112": "Electrocute";
12
- readonly "8120": "Ghost Poro";
13
- readonly "8124": "Predator";
14
- readonly "8126": "Cheap Shot";
15
- readonly "8128": "Dark Harvest";
16
- readonly "8134": "Ingenious Hunter";
17
- readonly "8135": "Treasure Hunter";
18
- readonly "8136": "Zombie Ward";
19
- readonly "8138": "Eyeball Collection";
20
- readonly "8139": "Taste of Blood";
21
- readonly "8143": "Sudden Impact";
22
- readonly "8210": "Transcendence";
23
- readonly "8214": "Summon Aery";
24
- readonly "8224": "Nullifying Orb";
25
- readonly "8226": "Manaflow Band";
26
- readonly "8229": "Arcane Comet";
27
- readonly "8230": "Phase Rush";
28
- readonly "8232": "Waterwalking";
29
- readonly "8233": "Absolute Focus";
30
- readonly "8234": "Celerity";
31
- readonly "8236": "Gathering Storm";
32
- readonly "8237": "Scorch";
33
- readonly "8242": "Unflinching";
34
- readonly "8275": "Nimbus Cloak";
35
- readonly "8299": "Last Stand";
36
- readonly "8304": "Magical Footwear";
37
- readonly "8306": "Hextech Flashtraption";
38
- readonly "8313": "Perfect Timing";
39
- readonly "8316": "Minion Dematerializer";
40
- readonly "8321": "Future's Market";
41
- readonly "8345": "Biscuit Delivery";
42
- readonly "8347": "Cosmic Insight";
43
- readonly "8351": "Glacial Augment";
44
- readonly "8352": "Time Warp Tonic";
45
- readonly "8360": "Unsealed Spellbook";
46
- readonly "8369": "First Strike";
47
- readonly "8401": "Shield Bash";
48
- readonly "8410": "Approach Velocity";
49
- readonly "8429": "Conditioning";
50
- readonly "8437": "Grasp of the Undying";
51
- readonly "8439": "Aftershock";
52
- readonly "8444": "Second Wind";
53
- readonly "8446": "Demolish";
54
- readonly "8451": "Overgrowth";
55
- readonly "8453": "Revitalize";
56
- readonly "8463": "Font of Life";
57
- readonly "8465": "Guardian";
58
- readonly "8473": "Bone Plating";
59
- readonly "9101": "Overheal";
60
- readonly "9103": "Legend: Bloodline";
61
- readonly "9104": "Legend: Alacrity";
62
- readonly "9105": "Legend: Tenacity";
63
- readonly "9111": "Triumph";
64
- readonly "9923": "Hail of Blades";
65
- };
66
- export type TreeRuneName = typeof TreeRuneNames[keyof typeof TreeRuneNames];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TreeRuneNames = void 0;
4
- exports.TreeRuneNames = { "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph", "9923": "Hail of Blades" };
@@ -1,2 +0,0 @@
1
- import { MythicItemKey } from '../../constants/Items/MythicItemKeys';
2
- export declare function isMythicItemKey(key: string): key is MythicItemKey;
@@ -1,8 +0,0 @@
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 +0,0 @@
1
- import { MythicItemKeyNum } from '../../constants/Items/MythicItemKeysNum';
2
- export declare function isMythicItemKeyNum(key: number): key is MythicItemKeyNum;
@@ -1,8 +0,0 @@
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 +0,0 @@
1
- import { MythicItemName } from '../../constants/Items/MythicItemNames';
2
- export declare function isMythicItemName(name: any): name is MythicItemName;
@@ -1,8 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { TreeRuneId } from '../../constants/Runes/TreeRuneIds';
2
- import { TreeRuneName } from '../../constants/Runes/TreeRuneNames';
3
- export declare function getTreeRuneIdByName(name: TreeRuneName): TreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTreeRuneIdByName = void 0;
4
- const TreeRuneIds_1 = require("../../constants/Runes/TreeRuneIds");
5
- function getTreeRuneIdByName(name) {
6
- return TreeRuneIds_1.TreeRuneIds[name];
7
- }
8
- exports.getTreeRuneIdByName = getTreeRuneIdByName;
@@ -1,3 +0,0 @@
1
- import { TreeRuneId } from '../../constants/Runes/TreeRuneIds';
2
- import { TreeRuneName } from '../../constants/Runes/TreeRuneNames';
3
- export declare function getTreeRuneNameById(id: TreeRuneId): TreeRuneName;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTreeRuneNameById = void 0;
4
- const TreeRuneNames_1 = require("../../constants/Runes/TreeRuneNames");
5
- function getTreeRuneNameById(id) {
6
- return TreeRuneNames_1.TreeRuneNames[id];
7
- }
8
- exports.getTreeRuneNameById = getTreeRuneNameById;
@@ -1,2 +0,0 @@
1
- import { DominationTreeRuneId } from '../../types/types';
2
- export declare function isDominationTreeRuneId(id: string): id is DominationTreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isDominationTreeRuneId = void 0;
4
- const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
- function isDominationTreeRuneId(id) {
6
- return id in RuneSets_1.PrimaryRuneTrees.Domination;
7
- }
8
- exports.isDominationTreeRuneId = isDominationTreeRuneId;
@@ -1,2 +0,0 @@
1
- import { InspirationTreeRuneId } from '../../types/types';
2
- export declare function isInspirationTreeRuneId(id: string): id is InspirationTreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isInspirationTreeRuneId = void 0;
4
- const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
- function isInspirationTreeRuneId(id) {
6
- return id in RuneSets_1.PrimaryRuneTrees.Inspiration;
7
- }
8
- exports.isInspirationTreeRuneId = isInspirationTreeRuneId;
@@ -1,2 +0,0 @@
1
- import { PrecisionTreeRuneId } from '../../types/types';
2
- export declare function isPrecisionTreeRuneId(id: string): id is PrecisionTreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isPrecisionTreeRuneId = void 0;
4
- const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
- function isPrecisionTreeRuneId(id) {
6
- return id in RuneSets_1.PrimaryRuneTrees.Precision;
7
- }
8
- exports.isPrecisionTreeRuneId = isPrecisionTreeRuneId;
@@ -1,2 +0,0 @@
1
- import { ResolveTreeRuneId } from '../../types/types';
2
- export declare function isResolveTreeRuneId(id: string): id is ResolveTreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isResolveTreeRuneId = void 0;
4
- const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
- function isResolveTreeRuneId(id) {
6
- return id in RuneSets_1.PrimaryRuneTrees.Resolve;
7
- }
8
- exports.isResolveTreeRuneId = isResolveTreeRuneId;
@@ -1,2 +0,0 @@
1
- import { SorceryTreeRuneId } from '../../types/types';
2
- export declare function isSorceryTreeRuneId(id: string): id is SorceryTreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isSorceryTreeRuneId = void 0;
4
- const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
- function isSorceryTreeRuneId(id) {
6
- return id in RuneSets_1.PrimaryRuneTrees.Sorcery;
7
- }
8
- exports.isSorceryTreeRuneId = isSorceryTreeRuneId;
@@ -1,2 +0,0 @@
1
- import { TreeRuneId } from '../../constants/Runes/TreeRuneIds';
2
- export declare function isTreeRuneId(id: string): id is TreeRuneId;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isTreeRuneId = void 0;
4
- const TreeRuneNames_1 = require("../../constants/Runes/TreeRuneNames");
5
- function isTreeRuneId(id) {
6
- return id in TreeRuneNames_1.TreeRuneNames;
7
- }
8
- exports.isTreeRuneId = isTreeRuneId;
@@ -1,2 +0,0 @@
1
- import { TreeRuneName } from '../../constants/Runes/TreeRuneNames';
2
- export declare function isTreeRuneName(name: any): name is TreeRuneName;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isTreeRuneName = void 0;
4
- const TreeRuneIds_1 = require("../../constants/Runes/TreeRuneIds");
5
- function isTreeRuneName(name) {
6
- return typeof name == 'string' && name in TreeRuneIds_1.TreeRuneIds;
7
- }
8
- exports.isTreeRuneName = isTreeRuneName;