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
package/core/index.js CHANGED
@@ -64,9 +64,6 @@ __exportStar(require("./constants/Items/ItemTypes"), exports);
64
64
  __exportStar(require("./constants/Items/LegendaryItemKeys"), exports);
65
65
  __exportStar(require("./constants/Items/LegendaryItemKeysNum"), exports);
66
66
  __exportStar(require("./constants/Items/LegendaryItemNames"), exports);
67
- __exportStar(require("./constants/Items/MythicItemKeys"), exports);
68
- __exportStar(require("./constants/Items/MythicItemKeysNum"), exports);
69
- __exportStar(require("./constants/Items/MythicItemNames"), exports);
70
67
  __exportStar(require("./constants/Items/OrnnItemKeys"), exports);
71
68
  __exportStar(require("./constants/Items/OrnnItemKeysNum"), exports);
72
69
  __exportStar(require("./constants/Items/OrnnItemNames"), exports);
@@ -92,6 +89,7 @@ __exportStar(require("./constants/Spells/SpellNames"), exports);
92
89
  // # helpers
93
90
  __exportStar(require("./helpers/getPositionImageUrl"), exports);
94
91
  __exportStar(require("./helpers/isRiotId"), exports);
92
+ __exportStar(require("./helpers/makeRiotId"), exports);
95
93
  __exportStar(require("./helpers/splitRiotId"), exports);
96
94
  // ## Champions
97
95
  __exportStar(require("./helpers/Champions/getChampionIdByKey"), exports);
@@ -114,8 +112,6 @@ __exportStar(require("./helpers/Items/isItemKeyNum"), exports);
114
112
  __exportStar(require("./helpers/Items/isItemName"), exports);
115
113
  __exportStar(require("./helpers/Items/isLegendaryItemKey"), exports);
116
114
  __exportStar(require("./helpers/Items/isLegendaryItemName"), exports);
117
- __exportStar(require("./helpers/Items/isMythicItemKey"), exports);
118
- __exportStar(require("./helpers/Items/isMythicItemName"), exports);
119
115
  __exportStar(require("./helpers/Items/isOrnnItemKey"), exports);
120
116
  __exportStar(require("./helpers/Items/isOrnnItemKeyNum"), exports);
121
117
  __exportStar(require("./helpers/Items/isOrnnItemName"), exports);
package/package.json CHANGED
@@ -1,27 +1,28 @@
1
- {
2
- "name": "lol-constants",
3
- "version": "2.19.0",
4
- "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
- "main": "core/index.js",
6
- "types": "core/index.d.ts",
7
- "license": "MIT",
8
- "files": [
9
- "/core",
10
- "/assets"
11
- ],
12
- "scripts": {
13
- "build:clean": "rmdir /s /q core && rmdir /s /q assets && tsc",
14
- "generate": "tsc && node assets/scripts/generate-all",
15
- "print-file-names": "node assets/scripts/print-file-names",
16
- "dev": "vite"
17
- },
18
- "devDependencies": {
19
- "@types/node": "^20.9.0",
20
- "typescript": "^5.2.2",
21
- "vite": "^4.5.0"
22
- },
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://github.com/kd0010/lol-constants.git"
26
- }
27
- }
1
+ {
2
+ "name": "lol-constants",
3
+ "version": "2.21.0",
4
+ "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
+ "main": "core/index.js",
6
+ "types": "core/index.d.ts",
7
+ "license": "MIT",
8
+ "files": [
9
+ "/core",
10
+ "/assets"
11
+ ],
12
+ "scripts": {
13
+ "build:clean": "rmdir /s /q core && rmdir /s /q assets && tsc",
14
+ "generate": "tsc && node assets/scripts/generate-all",
15
+ "print-file-names": "node assets/scripts/print-file-names",
16
+ "dev": "vite"
17
+ },
18
+ "devDependencies": {
19
+ "@types/node": "^20.14.6",
20
+ "typescript": "^5.4.5",
21
+ "vite": "^5.3.1"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/kd0010/lol-constants.git"
26
+ },
27
+ "packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
28
+ }
@@ -1 +0,0 @@
1
- export declare const MythicItemNames: readonly ["Echoes of Helia", "Liandry's Anguish", "Locket of the Iron Solari", "Luden's Tempest", "Moonstone Renewer", "Navori Quickblades", "Night Harvester", "Riftmaker", "Shurelya's Battlesong", "Stridebreaker", "Trinity Force", "Turbo Chemtank", "Crown of the Shattered Queen", "Divine Sunderer", "Duskblade of Draktharr", "Eclipse", "Evenshroud", "Everfrost", "Iceborn Gauntlet", "Infinity Edge", "Galeforce", "Goredrinker", "Guinsoo's Rageblade", "Hextech Rocketbelt", "Imperial Mandate", "Jak'Sho, The Protean", "Radiant Virtue", "Heartsteel", "Rod of Ages", "Youmuu's Ghostblade", "Cry of the Shrieking City", "Ceaseless Hunger", "Caesura", "Draktharr's Shadowcarver", "Deicide", "Dreamshatter", "Equinox", "Edge of Finality", "Eye of Luden", "Eternal Winter", "Frozen Fist", "Flicker", "Infinite Convergence", "Icathia's Curse", "Infinity Force", "Leviathan", "Liandry's Lament", "Primordial Dawn", "Reliquary of the Golden Dawn", "Syzygy", "Shurelya's Requiem", "Starcaster", "Seething Sorrow", "The Unspoken Parasite", "Typhoon", "Upgraded Aeropack", "Vespertide", "Youmuu's Wake"];
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MythicItemNames = void 0;
4
- const OrnnItemNames_1 = require("./OrnnItemNames");
5
- exports.MythicItemNames = [
6
- 'Echoes of Helia',
7
- 'Liandry\'s Anguish',
8
- 'Locket of the Iron Solari',
9
- 'Luden\'s Tempest',
10
- 'Moonstone Renewer',
11
- 'Navori Quickblades',
12
- 'Night Harvester',
13
- 'Riftmaker',
14
- 'Shurelya\'s Battlesong',
15
- 'Stridebreaker',
16
- 'Trinity Force',
17
- 'Turbo Chemtank',
18
- 'Crown of the Shattered Queen',
19
- 'Divine Sunderer',
20
- 'Duskblade of Draktharr',
21
- 'Eclipse',
22
- 'Evenshroud',
23
- 'Everfrost',
24
- 'Iceborn Gauntlet',
25
- 'Infinity Edge',
26
- 'Galeforce',
27
- 'Goredrinker',
28
- 'Guinsoo\'s Rageblade',
29
- 'Hextech Rocketbelt',
30
- 'Imperial Mandate',
31
- 'Jak\'Sho, The Protean',
32
- 'Radiant Virtue',
33
- 'Heartsteel',
34
- 'Rod of Ages',
35
- 'Youmuu\'s Ghostblade',
36
- ...OrnnItemNames_1.OrnnItemNames,
37
- ];
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const RunesReforged_1 = require("../constants/RunesReforged");
4
- const writeToTmpFile_1 = require("./helpers/writeToTmpFile");
5
- (async () => {
6
- const runeIds = {};
7
- // Construct the new data and assign it to product object
8
- for (const runeTree of RunesReforged_1.RunesReforged) {
9
- for (const { runes } of runeTree.slots) {
10
- for (const rune of runes) {
11
- runeIds[rune.name] = rune.id;
12
- }
13
- }
14
- }
15
- // Write to file
16
- const constName = 'TreeRuneIdsNum';
17
- const typeName = 'TreeRuneIdNum';
18
- (0, writeToTmpFile_1.writeToTmpFile)(constName, {
19
- constName,
20
- typeName,
21
- json: runeIds,
22
- });
23
- })();
@@ -1 +0,0 @@
1
- export {};
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const RunesReforged_1 = require("../constants/RunesReforged");
4
- const writeToTmpFile_1 = require("./helpers/writeToTmpFile");
5
- const RuneIdComment_1 = require("./constants/RuneIdComment");
6
- (async () => {
7
- const runeIds = {};
8
- // Construct the new data and assign it to product object
9
- for (const runeTree of RunesReforged_1.RunesReforged) {
10
- for (const { runes } of runeTree.slots) {
11
- for (const rune of runes) {
12
- runeIds[rune.name] = String(rune.id);
13
- }
14
- }
15
- }
16
- // Write to file
17
- const constName = 'TreeRuneIds';
18
- (0, writeToTmpFile_1.writeToTmpFile)(constName, {
19
- constName,
20
- includeAutoTypeName: true,
21
- typeComment: RuneIdComment_1.RuneIdComment,
22
- json: runeIds,
23
- });
24
- })();
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const RunesReforged_1 = require("../constants/RunesReforged");
4
- const writeToTmpFile_1 = require("./helpers/writeToTmpFile");
5
- (async () => {
6
- const runeNames = {};
7
- // Construct the new data and assign it to product object
8
- for (const runeTree of RunesReforged_1.RunesReforged) {
9
- for (const { runes } of runeTree.slots) {
10
- for (const rune of runes) {
11
- runeNames[rune.id] = rune.name;
12
- }
13
- }
14
- }
15
- // Write to file
16
- const constName = 'TreeRuneNames';
17
- (0, writeToTmpFile_1.writeToTmpFile)(constName, {
18
- constName,
19
- includeAutoTypeName: true,
20
- json: runeNames,
21
- });
22
- })();
@@ -1 +0,0 @@
1
- export declare function getComment(commentConstName: string): Promise<string>;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getComment = void 0;
4
- const promises_1 = require("fs/promises");
5
- async function getComment(commentConstName) {
6
- return await (0, promises_1.readFile)(`${__dirname}/../constants/${commentConstName}`, { encoding: 'utf-8' });
7
- }
8
- exports.getComment = getComment;
@@ -1,61 +0,0 @@
1
- export declare const MythicItemKeys: {
2
- readonly "Echoes of Helia": "6620";
3
- readonly "Liandry's Anguish": "6653";
4
- readonly "Locket of the Iron Solari": "3190";
5
- readonly "Luden's Tempest": "6655";
6
- readonly "Moonstone Renewer": "6617";
7
- readonly "Navori Quickblades": "6675";
8
- readonly "Night Harvester": "4636";
9
- readonly Riftmaker: "4633";
10
- readonly "Shurelya's Battlesong": "2065";
11
- readonly Stridebreaker: "6631";
12
- readonly "Trinity Force": "3078";
13
- readonly "Turbo Chemtank": "6664";
14
- readonly "Crown of the Shattered Queen": "4644";
15
- readonly "Divine Sunderer": "6632";
16
- readonly "Duskblade of Draktharr": "6691";
17
- readonly Eclipse: "6692";
18
- readonly Evenshroud: "3001";
19
- readonly Everfrost: "6656";
20
- readonly "Iceborn Gauntlet": "6662";
21
- readonly "Infinity Edge": "3031";
22
- readonly Galeforce: "6671";
23
- readonly Goredrinker: "6630";
24
- readonly "Guinsoo's Rageblade": "3124";
25
- readonly "Hextech Rocketbelt": "3152";
26
- readonly "Imperial Mandate": "4005";
27
- readonly "Jak'Sho, The Protean": "6665";
28
- readonly "Radiant Virtue": "6667";
29
- readonly Heartsteel: "3084";
30
- readonly "Rod of Ages": "6657";
31
- readonly "Youmuu's Ghostblade": "3142";
32
- readonly "Cry of the Shrieking City": "7033";
33
- readonly "Ceaseless Hunger": "7015";
34
- readonly Caesura: "7024";
35
- readonly "Draktharr's Shadowcarver": "7002";
36
- readonly Deicide: "7017";
37
- readonly Dreamshatter: "7016";
38
- readonly Equinox: "7023";
39
- readonly "Edge of Finality": "7031";
40
- readonly "Eye of Luden": "7013";
41
- readonly "Eternal Winter": "7014";
42
- readonly "Frozen Fist": "7005";
43
- readonly Flicker: "7032";
44
- readonly "Infinite Convergence": "7028";
45
- readonly "Icathia's Curse": "7009";
46
- readonly "Infinity Force": "7018";
47
- readonly Leviathan: "7025";
48
- readonly "Liandry's Lament": "7012";
49
- readonly "Primordial Dawn": "7027";
50
- readonly "Reliquary of the Golden Dawn": "7019";
51
- readonly Syzygy: "7001";
52
- readonly "Shurelya's Requiem": "7020";
53
- readonly Starcaster: "7021";
54
- readonly "Seething Sorrow": "7030";
55
- readonly "The Unspoken Parasite": "7026";
56
- readonly Typhoon: "7006";
57
- readonly "Upgraded Aeropack": "7011";
58
- readonly Vespertide: "7010";
59
- readonly "Youmuu's Wake": "7029";
60
- };
61
- export type MythicItemKey = typeof MythicItemKeys[keyof typeof MythicItemKeys];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MythicItemKeys = void 0;
4
- exports.MythicItemKeys = { "Echoes of Helia": "6620", "Liandry's Anguish": "6653", "Locket of the Iron Solari": "3190", "Luden's Tempest": "6655", "Moonstone Renewer": "6617", "Navori Quickblades": "6675", "Night Harvester": "4636", "Riftmaker": "4633", "Shurelya's Battlesong": "2065", "Stridebreaker": "6631", "Trinity Force": "3078", "Turbo Chemtank": "6664", "Crown of the Shattered Queen": "4644", "Divine Sunderer": "6632", "Duskblade of Draktharr": "6691", "Eclipse": "6692", "Evenshroud": "3001", "Everfrost": "6656", "Iceborn Gauntlet": "6662", "Infinity Edge": "3031", "Galeforce": "6671", "Goredrinker": "6630", "Guinsoo's Rageblade": "3124", "Hextech Rocketbelt": "3152", "Imperial Mandate": "4005", "Jak'Sho, The Protean": "6665", "Radiant Virtue": "6667", "Heartsteel": "3084", "Rod of Ages": "6657", "Youmuu's Ghostblade": "3142", "Cry of the Shrieking City": "7033", "Ceaseless Hunger": "7015", "Caesura": "7024", "Draktharr's Shadowcarver": "7002", "Deicide": "7017", "Dreamshatter": "7016", "Equinox": "7023", "Edge of Finality": "7031", "Eye of Luden": "7013", "Eternal Winter": "7014", "Frozen Fist": "7005", "Flicker": "7032", "Infinite Convergence": "7028", "Icathia's Curse": "7009", "Infinity Force": "7018", "Leviathan": "7025", "Liandry's Lament": "7012", "Primordial Dawn": "7027", "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,61 +0,0 @@
1
- export declare const MythicItemKeysNum: {
2
- readonly "Echoes of Helia": 6620;
3
- readonly "Liandry's Anguish": 6653;
4
- readonly "Locket of the Iron Solari": 3190;
5
- readonly "Luden's Tempest": 6655;
6
- readonly "Moonstone Renewer": 6617;
7
- readonly "Navori Quickblades": 6675;
8
- readonly "Night Harvester": 4636;
9
- readonly Riftmaker: 4633;
10
- readonly "Shurelya's Battlesong": 2065;
11
- readonly Stridebreaker: 6631;
12
- readonly "Trinity Force": 3078;
13
- readonly "Turbo Chemtank": 6664;
14
- readonly "Crown of the Shattered Queen": 4644;
15
- readonly "Divine Sunderer": 6632;
16
- readonly "Duskblade of Draktharr": 6691;
17
- readonly Eclipse: 6692;
18
- readonly Evenshroud: 3001;
19
- readonly Everfrost: 6656;
20
- readonly "Iceborn Gauntlet": 6662;
21
- readonly "Infinity Edge": 3031;
22
- readonly Galeforce: 6671;
23
- readonly Goredrinker: 6630;
24
- readonly "Guinsoo's Rageblade": 3124;
25
- readonly "Hextech Rocketbelt": 3152;
26
- readonly "Imperial Mandate": 4005;
27
- readonly "Jak'Sho, The Protean": 6665;
28
- readonly "Radiant Virtue": 6667;
29
- readonly Heartsteel: 3084;
30
- readonly "Rod of Ages": 6657;
31
- readonly "Youmuu's Ghostblade": 3142;
32
- readonly "Cry of the Shrieking City": 7033;
33
- readonly "Ceaseless Hunger": 7015;
34
- readonly Caesura: 7024;
35
- readonly "Draktharr's Shadowcarver": 7002;
36
- readonly Deicide: 7017;
37
- readonly Dreamshatter: 7016;
38
- readonly Equinox: 7023;
39
- readonly "Edge of Finality": 7031;
40
- readonly "Eye of Luden": 7013;
41
- readonly "Eternal Winter": 7014;
42
- readonly "Frozen Fist": 7005;
43
- readonly Flicker: 7032;
44
- readonly "Infinite Convergence": 7028;
45
- readonly "Icathia's Curse": 7009;
46
- readonly "Infinity Force": 7018;
47
- readonly Leviathan: 7025;
48
- readonly "Liandry's Lament": 7012;
49
- readonly "Primordial Dawn": 7027;
50
- readonly "Reliquary of the Golden Dawn": 7019;
51
- readonly Syzygy: 7001;
52
- readonly "Shurelya's Requiem": 7020;
53
- readonly Starcaster: 7021;
54
- readonly "Seething Sorrow": 7030;
55
- readonly "The Unspoken Parasite": 7026;
56
- readonly Typhoon: 7006;
57
- readonly "Upgraded Aeropack": 7011;
58
- readonly Vespertide: 7010;
59
- readonly "Youmuu's Wake": 7029;
60
- };
61
- export type MythicItemKeyNum = typeof MythicItemKeysNum[keyof typeof MythicItemKeysNum];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MythicItemKeysNum = void 0;
4
- exports.MythicItemKeysNum = { "Echoes of Helia": 6620, "Liandry's Anguish": 6653, "Locket of the Iron Solari": 3190, "Luden's Tempest": 6655, "Moonstone Renewer": 6617, "Navori Quickblades": 6675, "Night Harvester": 4636, "Riftmaker": 4633, "Shurelya's Battlesong": 2065, "Stridebreaker": 6631, "Trinity Force": 3078, "Turbo Chemtank": 6664, "Crown of the Shattered Queen": 4644, "Divine Sunderer": 6632, "Duskblade of Draktharr": 6691, "Eclipse": 6692, "Evenshroud": 3001, "Everfrost": 6656, "Iceborn Gauntlet": 6662, "Infinity Edge": 3031, "Galeforce": 6671, "Goredrinker": 6630, "Guinsoo's Rageblade": 3124, "Hextech Rocketbelt": 3152, "Imperial Mandate": 4005, "Jak'Sho, The Protean": 6665, "Radiant Virtue": 6667, "Heartsteel": 3084, "Rod of Ages": 6657, "Youmuu's Ghostblade": 3142, "Cry of the Shrieking City": 7033, "Ceaseless Hunger": 7015, "Caesura": 7024, "Draktharr's Shadowcarver": 7002, "Deicide": 7017, "Dreamshatter": 7016, "Equinox": 7023, "Edge of Finality": 7031, "Eye of Luden": 7013, "Eternal Winter": 7014, "Frozen Fist": 7005, "Flicker": 7032, "Infinite Convergence": 7028, "Icathia's Curse": 7009, "Infinity Force": 7018, "Leviathan": 7025, "Liandry's Lament": 7012, "Primordial Dawn": 7027, "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,61 +0,0 @@
1
- export declare const MythicItemNames: {
2
- readonly "2065": "Shurelya's Battlesong";
3
- readonly "3001": "Evenshroud";
4
- readonly "3031": "Infinity Edge";
5
- readonly "3078": "Trinity Force";
6
- readonly "3084": "Heartsteel";
7
- readonly "3124": "Guinsoo's Rageblade";
8
- readonly "3142": "Youmuu's Ghostblade";
9
- readonly "3152": "Hextech Rocketbelt";
10
- readonly "3190": "Locket of the Iron Solari";
11
- readonly "4005": "Imperial Mandate";
12
- readonly "4633": "Riftmaker";
13
- readonly "4636": "Night Harvester";
14
- readonly "4644": "Crown of the Shattered Queen";
15
- readonly "6617": "Moonstone Renewer";
16
- readonly "6620": "Echoes of Helia";
17
- readonly "6630": "Goredrinker";
18
- readonly "6631": "Stridebreaker";
19
- readonly "6632": "Divine Sunderer";
20
- readonly "6653": "Liandry's Anguish";
21
- readonly "6655": "Luden's Tempest";
22
- readonly "6656": "Everfrost";
23
- readonly "6657": "Rod of Ages";
24
- readonly "6662": "Iceborn Gauntlet";
25
- readonly "6664": "Turbo Chemtank";
26
- readonly "6665": "Jak'Sho, The Protean";
27
- readonly "6667": "Radiant Virtue";
28
- readonly "6671": "Galeforce";
29
- readonly "6675": "Navori Quickblades";
30
- readonly "6691": "Duskblade of Draktharr";
31
- readonly "6692": "Eclipse";
32
- readonly "7001": "Syzygy";
33
- readonly "7002": "Draktharr's Shadowcarver";
34
- readonly "7005": "Frozen Fist";
35
- readonly "7006": "Typhoon";
36
- readonly "7009": "Icathia's Curse";
37
- readonly "7010": "Vespertide";
38
- readonly "7011": "Upgraded Aeropack";
39
- readonly "7012": "Liandry's Lament";
40
- readonly "7013": "Eye of Luden";
41
- readonly "7014": "Eternal Winter";
42
- readonly "7015": "Ceaseless Hunger";
43
- readonly "7016": "Dreamshatter";
44
- readonly "7017": "Deicide";
45
- readonly "7018": "Infinity Force";
46
- readonly "7019": "Reliquary of the Golden Dawn";
47
- readonly "7020": "Shurelya's Requiem";
48
- readonly "7021": "Starcaster";
49
- readonly "7023": "Equinox";
50
- readonly "7024": "Caesura";
51
- readonly "7025": "Leviathan";
52
- readonly "7026": "The Unspoken Parasite";
53
- readonly "7027": "Primordial Dawn";
54
- readonly "7028": "Infinite Convergence";
55
- readonly "7029": "Youmuu's Wake";
56
- readonly "7030": "Seething Sorrow";
57
- readonly "7031": "Edge of Finality";
58
- readonly "7032": "Flicker";
59
- readonly "7033": "Cry of the Shrieking City";
60
- };
61
- export type MythicItemName = typeof MythicItemNames[keyof typeof MythicItemNames];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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" };
@@ -1,7 +0,0 @@
1
- export declare const Queues: {
2
- readonly RANKED_SOLO_5x5: "RANKED_SOLO_5x5";
3
- readonly RANKED_FLEX_SR: "RANKED_FLEX_SR";
4
- readonly RANKED_TFT: "RANKED_TFT";
5
- };
6
- export type Queue = typeof Queues[keyof typeof Queues];
7
- export declare function isQueue(value: any): value is Queue;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isQueue = exports.Queues = void 0;
4
- exports.Queues = {
5
- 'RANKED_SOLO_5x5': 'RANKED_SOLO_5x5',
6
- 'RANKED_FLEX_SR': 'RANKED_FLEX_SR',
7
- 'RANKED_TFT': 'RANKED_TFT',
8
- };
9
- function isQueue(value) {
10
- return typeof value == 'string' && value in exports.Queues;
11
- }
12
- exports.isQueue = isQueue;
@@ -1,80 +0,0 @@
1
- export declare const TreeRuneIds: {
2
- readonly Electrocute: "8112";
3
- readonly Predator: "8124";
4
- readonly "Dark Harvest": "8128";
5
- readonly "Hail of Blades": "9923";
6
- readonly "Cheap Shot": "8126";
7
- readonly "Taste of Blood": "8139";
8
- readonly "Sudden Impact": "8143";
9
- readonly "Zombie Ward": "8136";
10
- readonly "Ghost Poro": "8120";
11
- readonly "Eyeball Collection": "8138";
12
- readonly "Treasure Hunter": "8135";
13
- readonly "Ingenious Hunter": "8134";
14
- readonly "Relentless Hunter": "8105";
15
- readonly "Ultimate Hunter": "8106";
16
- readonly "Glacial Augment": "8351";
17
- readonly "Unsealed Spellbook": "8360";
18
- readonly "First Strike": "8369";
19
- readonly "Hextech Flashtraption": "8306";
20
- readonly "Magical Footwear": "8304";
21
- readonly "Perfect Timing": "8313";
22
- readonly "Future's Market": "8321";
23
- readonly "Minion Dematerializer": "8316";
24
- readonly "Biscuit Delivery": "8345";
25
- readonly "Cosmic Insight": "8347";
26
- readonly "Approach Velocity": "8410";
27
- readonly "Time Warp Tonic": "8352";
28
- readonly "Press the Attack": "8005";
29
- readonly "Lethal Tempo": "8008";
30
- readonly "Fleet Footwork": "8021";
31
- readonly Conqueror: "8010";
32
- readonly Overheal: "9101";
33
- readonly Triumph: "9111";
34
- readonly "Presence of Mind": "8009";
35
- readonly "Legend: Alacrity": "9104";
36
- readonly "Legend: Tenacity": "9105";
37
- readonly "Legend: Bloodline": "9103";
38
- readonly "Coup de Grace": "8014";
39
- readonly "Cut Down": "8017";
40
- readonly "Last Stand": "8299";
41
- readonly "Grasp of the Undying": "8437";
42
- readonly Aftershock: "8439";
43
- readonly Guardian: "8465";
44
- readonly Demolish: "8446";
45
- readonly "Font of Life": "8463";
46
- readonly "Shield Bash": "8401";
47
- readonly Conditioning: "8429";
48
- readonly "Second Wind": "8444";
49
- readonly "Bone Plating": "8473";
50
- readonly Overgrowth: "8451";
51
- readonly Revitalize: "8453";
52
- readonly Unflinching: "8242";
53
- readonly "Summon Aery": "8214";
54
- readonly "Arcane Comet": "8229";
55
- readonly "Phase Rush": "8230";
56
- readonly "Nullifying Orb": "8224";
57
- readonly "Manaflow Band": "8226";
58
- readonly "Nimbus Cloak": "8275";
59
- readonly Transcendence: "8210";
60
- readonly Celerity: "8234";
61
- readonly "Absolute Focus": "8233";
62
- readonly Scorch: "8237";
63
- readonly Waterwalking: "8232";
64
- readonly "Gathering Storm": "8236";
65
- };
66
- /**
67
- * There are 3 main Rune ID types:
68
- * - `RuneId` (all),
69
- * - `TreeRuneId` (all but stat runes),
70
- * - `StatRuneId` (only stat runes).
71
- *
72
- * There are 6 more specific Rune ID types as well:
73
- * - `KeystoneRuneId`,
74
- * - `PrecisionRuneId`,
75
- * - `DominationRuneId`,
76
- * - `SorceryRuneId`,
77
- * - `ResolveRuneId`,
78
- * - `InspirationRuneId`.
79
- */
80
- export type TreeRuneId = typeof TreeRuneIds[keyof typeof TreeRuneIds];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TreeRuneIds = void 0;
4
- exports.TreeRuneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143", "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138", "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313", "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345", "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009", "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103", "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230", "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" };
@@ -1,66 +0,0 @@
1
- export declare const TreeRuneIdsNum: {
2
- readonly Electrocute: 8112;
3
- readonly Predator: 8124;
4
- readonly "Dark Harvest": 8128;
5
- readonly "Hail of Blades": 9923;
6
- readonly "Cheap Shot": 8126;
7
- readonly "Taste of Blood": 8139;
8
- readonly "Sudden Impact": 8143;
9
- readonly "Zombie Ward": 8136;
10
- readonly "Ghost Poro": 8120;
11
- readonly "Eyeball Collection": 8138;
12
- readonly "Treasure Hunter": 8135;
13
- readonly "Ingenious Hunter": 8134;
14
- readonly "Relentless Hunter": 8105;
15
- readonly "Ultimate Hunter": 8106;
16
- readonly "Glacial Augment": 8351;
17
- readonly "Unsealed Spellbook": 8360;
18
- readonly "First Strike": 8369;
19
- readonly "Hextech Flashtraption": 8306;
20
- readonly "Magical Footwear": 8304;
21
- readonly "Perfect Timing": 8313;
22
- readonly "Future's Market": 8321;
23
- readonly "Minion Dematerializer": 8316;
24
- readonly "Biscuit Delivery": 8345;
25
- readonly "Cosmic Insight": 8347;
26
- readonly "Approach Velocity": 8410;
27
- readonly "Time Warp Tonic": 8352;
28
- readonly "Press the Attack": 8005;
29
- readonly "Lethal Tempo": 8008;
30
- readonly "Fleet Footwork": 8021;
31
- readonly Conqueror: 8010;
32
- readonly Overheal: 9101;
33
- readonly Triumph: 9111;
34
- readonly "Presence of Mind": 8009;
35
- readonly "Legend: Alacrity": 9104;
36
- readonly "Legend: Tenacity": 9105;
37
- readonly "Legend: Bloodline": 9103;
38
- readonly "Coup de Grace": 8014;
39
- readonly "Cut Down": 8017;
40
- readonly "Last Stand": 8299;
41
- readonly "Grasp of the Undying": 8437;
42
- readonly Aftershock: 8439;
43
- readonly Guardian: 8465;
44
- readonly Demolish: 8446;
45
- readonly "Font of Life": 8463;
46
- readonly "Shield Bash": 8401;
47
- readonly Conditioning: 8429;
48
- readonly "Second Wind": 8444;
49
- readonly "Bone Plating": 8473;
50
- readonly Overgrowth: 8451;
51
- readonly Revitalize: 8453;
52
- readonly Unflinching: 8242;
53
- readonly "Summon Aery": 8214;
54
- readonly "Arcane Comet": 8229;
55
- readonly "Phase Rush": 8230;
56
- readonly "Nullifying Orb": 8224;
57
- readonly "Manaflow Band": 8226;
58
- readonly "Nimbus Cloak": 8275;
59
- readonly Transcendence: 8210;
60
- readonly Celerity: 8234;
61
- readonly "Absolute Focus": 8233;
62
- readonly Scorch: 8237;
63
- readonly Waterwalking: 8232;
64
- readonly "Gathering Storm": 8236;
65
- };
66
- export type TreeRuneIdNum = typeof TreeRuneIdsNum[keyof typeof TreeRuneIdsNum];
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TreeRuneIdsNum = void 0;
4
- exports.TreeRuneIdsNum = { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143, "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138, "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313, "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345, "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352, "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009, "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103, "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299, "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242, "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230, "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 };