lol-constants 2.20.0 → 2.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. package/assets/constants/BootsItemNames.d.ts +1 -1
  2. package/assets/constants/BootsItemNames.js +3 -1
  3. package/assets/constants/Champion.d.ts +437 -390
  4. package/assets/constants/Champion.js +1 -1
  5. package/assets/constants/Item.d.ts +8408 -5935
  6. package/assets/constants/Item.js +1 -1
  7. package/assets/constants/LegendaryItemNames.d.ts +1 -1
  8. package/assets/constants/LegendaryItemNames.js +5 -5
  9. package/assets/constants/RunesReforged.d.ts +45 -66
  10. package/assets/constants/RunesReforged.js +1 -1
  11. package/assets/constants/StatRunes.d.ts +28 -11
  12. package/assets/constants/StatRunes.js +11 -11
  13. package/assets/constants/StatRunesByRow.d.ts +6 -6
  14. package/assets/constants/StatRunesByRow.js +6 -6
  15. package/assets/constants/Summoner.d.ts +36 -36
  16. package/assets/constants/Summoner.js +1 -1
  17. package/assets/scripts/generate-rune-ids.js +2 -4
  18. package/assets/scripts/generate-rune-names.js +2 -4
  19. package/assets/scripts/generate-stat-rune-ids.js +2 -4
  20. package/assets/scripts/generate-stat-rune-names.js +2 -4
  21. package/core/constants/Champions/ChampionIds.d.ts +1 -0
  22. package/core/constants/Champions/ChampionIds.js +1 -1
  23. package/core/constants/Champions/ChampionIdsByName.d.ts +1 -0
  24. package/core/constants/Champions/ChampionIdsByName.js +1 -1
  25. package/core/constants/Champions/ChampionKeys.d.ts +1 -0
  26. package/core/constants/Champions/ChampionKeys.js +1 -1
  27. package/core/constants/Champions/ChampionKeysNum.d.ts +1 -0
  28. package/core/constants/Champions/ChampionKeysNum.js +1 -1
  29. package/core/constants/Champions/ChampionNames.d.ts +1 -0
  30. package/core/constants/Champions/ChampionNames.js +1 -1
  31. package/core/constants/DataDragonUrls.d.ts +16 -16
  32. package/core/constants/DataDragonUrls.js +2 -2
  33. package/core/constants/Items/BootsItemKeys.d.ts +3 -1
  34. package/core/constants/Items/BootsItemKeys.js +1 -1
  35. package/core/constants/Items/BootsItemKeysNum.d.ts +3 -1
  36. package/core/constants/Items/BootsItemKeysNum.js +1 -1
  37. package/core/constants/Items/BootsItemNames.d.ts +3 -1
  38. package/core/constants/Items/BootsItemNames.js +1 -1
  39. package/core/constants/Items/ItemKeys.d.ts +9 -6
  40. package/core/constants/Items/ItemKeys.js +1 -1
  41. package/core/constants/Items/ItemKeysNum.d.ts +9 -6
  42. package/core/constants/Items/ItemKeysNum.js +1 -1
  43. package/core/constants/Items/ItemNames.d.ts +9 -6
  44. package/core/constants/Items/ItemNames.js +1 -1
  45. package/core/constants/Items/LegendaryItemKeys.d.ts +6 -5
  46. package/core/constants/Items/LegendaryItemKeys.js +1 -1
  47. package/core/constants/Items/LegendaryItemKeysNum.d.ts +6 -5
  48. package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
  49. package/core/constants/Items/LegendaryItemNames.d.ts +6 -5
  50. package/core/constants/Items/LegendaryItemNames.js +1 -1
  51. package/core/constants/Runes/NonStatRuneIds.d.ts +5 -8
  52. package/core/constants/Runes/NonStatRuneIds.js +1 -1
  53. package/core/constants/Runes/NonStatRuneIdsNum.d.ts +5 -8
  54. package/core/constants/Runes/NonStatRuneIdsNum.js +1 -1
  55. package/core/constants/Runes/NonStatRuneNames.d.ts +4 -7
  56. package/core/constants/Runes/NonStatRuneNames.js +1 -1
  57. package/core/constants/Runes/RuneIconFileNames.js +12 -15
  58. package/core/constants/Runes/RunePickingRelationships.d.ts +18 -21
  59. package/core/constants/Runes/RunePickingRelationships.js +1 -1
  60. package/core/constants/Runes/RuneSets.d.ts +67 -91
  61. package/core/constants/Runes/RuneSets.js +7 -7
  62. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +73 -97
  63. package/core/constants/Runes/RuneSetsByRuneNames.js +7 -7
  64. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +73 -97
  65. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +7 -7
  66. package/core/helpers/Runes/getRuneCdnUrl.js +3 -1
  67. package/package.json +28 -27
  68. package/assets/constants/MythicItemNames.d.ts +0 -1
  69. package/assets/constants/MythicItemNames.js +0 -37
  70. package/assets/scripts/generate-tree-rune-ids-num.d.ts +0 -1
  71. package/assets/scripts/generate-tree-rune-ids-num.js +0 -23
  72. package/assets/scripts/generate-tree-rune-ids.d.ts +0 -1
  73. package/assets/scripts/generate-tree-rune-ids.js +0 -24
  74. package/assets/scripts/generate-tree-rune-names.d.ts +0 -1
  75. package/assets/scripts/generate-tree-rune-names.js +0 -22
  76. package/assets/scripts/helpers/getComment.d.ts +0 -1
  77. package/assets/scripts/helpers/getComment.js +0 -8
  78. package/core/constants/Items/MythicItemKeys.d.ts +0 -61
  79. package/core/constants/Items/MythicItemKeys.js +0 -4
  80. package/core/constants/Items/MythicItemKeysNum.d.ts +0 -61
  81. package/core/constants/Items/MythicItemKeysNum.js +0 -4
  82. package/core/constants/Items/MythicItemNames.d.ts +0 -61
  83. package/core/constants/Items/MythicItemNames.js +0 -4
  84. package/core/constants/Queues.d.ts +0 -7
  85. package/core/constants/Queues.js +0 -12
  86. package/core/constants/Runes/TreeRuneIds.d.ts +0 -80
  87. package/core/constants/Runes/TreeRuneIds.js +0 -4
  88. package/core/constants/Runes/TreeRuneIdsNum.d.ts +0 -66
  89. package/core/constants/Runes/TreeRuneIdsNum.js +0 -4
  90. package/core/constants/Runes/TreeRuneNames.d.ts +0 -66
  91. package/core/constants/Runes/TreeRuneNames.js +0 -4
  92. package/core/helpers/Items/isMythicItemKey.d.ts +0 -2
  93. package/core/helpers/Items/isMythicItemKey.js +0 -8
  94. package/core/helpers/Items/isMythicItemKeyNum.d.ts +0 -2
  95. package/core/helpers/Items/isMythicItemKeyNum.js +0 -8
  96. package/core/helpers/Items/isMythicItemName.d.ts +0 -2
  97. package/core/helpers/Items/isMythicItemName.js +0 -8
  98. package/core/helpers/Runes/getTreeRuneIdByName.d.ts +0 -3
  99. package/core/helpers/Runes/getTreeRuneIdByName.js +0 -8
  100. package/core/helpers/Runes/getTreeRuneNameById.d.ts +0 -3
  101. package/core/helpers/Runes/getTreeRuneNameById.js +0 -8
  102. package/core/helpers/Runes/isDominationTreeRuneId.d.ts +0 -2
  103. package/core/helpers/Runes/isDominationTreeRuneId.js +0 -8
  104. package/core/helpers/Runes/isInspirationTreeRuneId.d.ts +0 -2
  105. package/core/helpers/Runes/isInspirationTreeRuneId.js +0 -8
  106. package/core/helpers/Runes/isPrecisionTreeRuneId.d.ts +0 -2
  107. package/core/helpers/Runes/isPrecisionTreeRuneId.js +0 -8
  108. package/core/helpers/Runes/isResolveTreeRuneId.d.ts +0 -2
  109. package/core/helpers/Runes/isResolveTreeRuneId.js +0 -8
  110. package/core/helpers/Runes/isSorceryTreeRuneId.d.ts +0 -2
  111. package/core/helpers/Runes/isSorceryTreeRuneId.js +0 -8
  112. package/core/helpers/Runes/isTreeRuneId.d.ts +0 -2
  113. package/core/helpers/Runes/isTreeRuneId.js +0 -8
  114. package/core/helpers/Runes/isTreeRuneName.d.ts +0 -2
  115. package/core/helpers/Runes/isTreeRuneName.js +0 -8
@@ -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;