lol-constants 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/README.md +17 -0
  2. package/assets/scripts/constants/RuneIdComment.d.ts +1 -1
  3. package/assets/scripts/constants/RuneIdComment.js +14 -6
  4. package/assets/scripts/generate-all.d.ts +3 -3
  5. package/assets/scripts/generate-all.js +3 -3
  6. package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +1 -0
  7. package/assets/scripts/generate-non-stat-rune-ids-num.js +23 -0
  8. package/assets/scripts/generate-non-stat-rune-ids.d.ts +1 -0
  9. package/assets/scripts/generate-non-stat-rune-ids.js +24 -0
  10. package/assets/scripts/generate-non-stat-rune-names.d.ts +1 -0
  11. package/assets/scripts/generate-non-stat-rune-names.js +22 -0
  12. package/assets/scripts/generate-rune-sets-by-rune-names-num.js +16 -11
  13. package/assets/scripts/generate-rune-sets-by-rune-names.js +11 -11
  14. package/assets/scripts/generate-rune-sets.js +11 -11
  15. package/core/constants/Continents.d.ts +8 -0
  16. package/core/constants/Continents.js +13 -0
  17. package/core/constants/DataDragonUrls.d.ts +11 -0
  18. package/core/constants/DataDragonUrls.js +13 -1
  19. package/core/constants/Locales.d.ts +29 -1
  20. package/core/constants/Locales.js +29 -1
  21. package/core/constants/MapIds.d.ts +17 -0
  22. package/core/constants/MapIds.js +22 -0
  23. package/core/constants/ParticipantIds.d.ts +14 -0
  24. package/core/constants/ParticipantIds.js +19 -0
  25. package/core/constants/PlatformApiUris.d.ts +20 -0
  26. package/core/constants/PlatformApiUris.js +25 -0
  27. package/core/constants/PlatformIds.d.ts +8 -0
  28. package/core/constants/PlatformIds.js +11 -1
  29. package/core/constants/QueueIds.d.ts +56 -0
  30. package/core/constants/QueueIds.js +61 -0
  31. package/core/constants/RegionalApiUris.d.ts +8 -0
  32. package/core/constants/RegionalApiUris.js +13 -0
  33. package/core/constants/Regions.d.ts +8 -0
  34. package/core/constants/Regions.js +11 -8
  35. package/core/constants/Runes/NonStatRuneIds.d.ts +88 -0
  36. package/core/constants/Runes/NonStatRuneIds.js +4 -0
  37. package/core/constants/Runes/NonStatRuneIdsNum.d.ts +66 -0
  38. package/core/constants/Runes/NonStatRuneIdsNum.js +4 -0
  39. package/core/constants/Runes/NonStatRuneNames.d.ts +66 -0
  40. package/core/constants/Runes/NonStatRuneNames.js +4 -0
  41. package/core/constants/Runes/RuneSets.d.ts +2 -2
  42. package/core/constants/Runes/RuneSets.js +3 -3
  43. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -14
  44. package/core/constants/Runes/RuneSetsByRuneNames.js +3 -3
  45. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +48 -2
  46. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +3 -3
  47. package/core/constants/Runes/TreeRuneIds.d.ts +5 -5
  48. package/core/constants/SkillSlots.d.ts +1 -1
  49. package/core/constants/SkillSlots.js +1 -1
  50. package/core/constants/TeamIds.d.ts +6 -0
  51. package/core/constants/TeamIds.js +11 -0
  52. package/core/helpers/Champions/isChampionKeyNum.d.ts +2 -0
  53. package/core/helpers/Champions/isChampionKeyNum.js +8 -0
  54. package/core/helpers/Items/isItemKeyNum.d.ts +2 -0
  55. package/core/helpers/Items/isItemKeyNum.js +8 -0
  56. package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +3 -0
  57. package/core/helpers/Runes/getNonStatRuneIdByName.js +8 -0
  58. package/core/helpers/Runes/getNonStatRuneNameById.d.ts +3 -0
  59. package/core/helpers/Runes/getNonStatRuneNameById.js +8 -0
  60. package/core/helpers/Runes/isDominationRuneId.d.ts +2 -0
  61. package/core/helpers/Runes/isDominationRuneId.js +8 -0
  62. package/core/helpers/Runes/isDominationRuneIdNum.d.ts +2 -0
  63. package/core/helpers/Runes/isDominationRuneIdNum.js +8 -0
  64. package/core/helpers/Runes/isDominationRuneName.d.ts +2 -0
  65. package/core/helpers/Runes/isDominationRuneName.js +8 -0
  66. package/core/helpers/Runes/isInspirationRuneId.d.ts +2 -0
  67. package/core/helpers/Runes/isInspirationRuneId.js +8 -0
  68. package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +2 -0
  69. package/core/helpers/Runes/isInspirationRuneIdNum.js +8 -0
  70. package/core/helpers/Runes/isInspirationRuneName.d.ts +2 -0
  71. package/core/helpers/Runes/isInspirationRuneName.js +8 -0
  72. package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +2 -0
  73. package/core/helpers/Runes/isKeystoneRuneIdNum.js +8 -0
  74. package/core/helpers/Runes/isKeystoneRuneName.d.ts +2 -0
  75. package/core/helpers/Runes/isKeystoneRuneName.js +8 -0
  76. package/core/helpers/Runes/isNonStatRuneId.d.ts +2 -0
  77. package/core/helpers/Runes/isNonStatRuneId.js +8 -0
  78. package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +2 -0
  79. package/core/helpers/Runes/isNonStatRuneIdNum.js +8 -0
  80. package/core/helpers/Runes/isNonStatRuneName.d.ts +2 -0
  81. package/core/helpers/Runes/isNonStatRuneName.js +8 -0
  82. package/core/helpers/Runes/isPrecisionRuneId.d.ts +2 -0
  83. package/core/helpers/Runes/isPrecisionRuneId.js +8 -0
  84. package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +2 -0
  85. package/core/helpers/Runes/isPrecisionRuneIdNum.js +8 -0
  86. package/core/helpers/Runes/isPrecisionRuneName.d.ts +2 -0
  87. package/core/helpers/Runes/isPrecisionRuneName.js +8 -0
  88. package/core/helpers/Runes/isResolveRuneId.d.ts +2 -0
  89. package/core/helpers/Runes/isResolveRuneId.js +8 -0
  90. package/core/helpers/Runes/isResolveRuneIdNum.d.ts +2 -0
  91. package/core/helpers/Runes/isResolveRuneIdNum.js +8 -0
  92. package/core/helpers/Runes/isResolveRuneName.d.ts +2 -0
  93. package/core/helpers/Runes/isResolveRuneName.js +8 -0
  94. package/core/helpers/Runes/isRuneIdNum.d.ts +2 -0
  95. package/core/helpers/Runes/isRuneIdNum.js +8 -0
  96. package/core/helpers/Runes/isSorceryRuneId.d.ts +2 -0
  97. package/core/helpers/Runes/isSorceryRuneId.js +8 -0
  98. package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +2 -0
  99. package/core/helpers/Runes/isSorceryRuneIdNum.js +8 -0
  100. package/core/helpers/Runes/isSorceryRuneName.d.ts +2 -0
  101. package/core/helpers/Runes/isSorceryRuneName.js +8 -0
  102. package/core/helpers/Runes/isStatRuneIdNum.d.ts +2 -0
  103. package/core/helpers/Runes/isStatRuneIdNum.js +8 -0
  104. package/core/helpers/Spells/isSpellKeyNum.d.ts +2 -0
  105. package/core/helpers/Spells/isSpellKeyNum.js +8 -0
  106. package/core/index.d.ts +33 -12
  107. package/core/index.js +33 -12
  108. package/core/types/types.d.ts +199 -82
  109. package/package.json +1 -1
@@ -164,16 +164,24 @@ export declare const StatRuneIds: {
164
164
  /**
165
165
  * There are 3 main Rune ID types:
166
166
  * - `RuneId` (all),
167
- * - `TreeRuneId` (all but stat runes),
167
+ * - `NonStatRuneId` (all but stat runes),
168
168
  * - `StatRuneId` (only stat runes).
169
169
  *
170
170
  * There are 6 more specific Rune ID types as well:
171
171
  * - `KeystoneRuneId`,
172
- * - `PrecisionTreeRuneId`,
173
- * - `DominationTreeRuneId`,
174
- * - `SorceryTreeRuneId`,
175
- * - `ResolveTreeRuneId`,
176
- * - `InspirationTreeRuneId`.
172
+ * - `PrecisionRuneId`,
173
+ * - `DominationRuneId`,
174
+ * - `SorceryRuneId`,
175
+ * - `ResolveRuneId`,
176
+ * - `InspirationRuneId`.
177
+ *
178
+ * There are 6 numerical Rune ID types:
179
+ * - `KeystoneRuneIdNum`,
180
+ * - `PrecisionRuneIdNum`,
181
+ * - `DominationRuneIdNum`,
182
+ * - `SorceryRuneIdNum`,
183
+ * - `ResolveRuneIdNum`,
184
+ * - `InspirationRuneIdNum`.
177
185
  */
178
186
  export type StatRuneId = typeof StatRuneIds[keyof typeof StatRuneIds];
179
187
  export declare const RuneIds: {
@@ -253,19 +261,27 @@ export declare const RuneIds: {
253
261
  /**
254
262
  * There are 3 main Rune ID types:
255
263
  * - `RuneId` (all),
256
- * - `TreeRuneId` (all but stat runes),
264
+ * - `NonStatRuneId` (all but stat runes),
257
265
  * - `StatRuneId` (only stat runes).
258
266
  *
259
267
  * There are 6 more specific Rune ID types as well:
260
268
  * - `KeystoneRuneId`,
261
- * - `PrecisionTreeRuneId`,
262
- * - `DominationTreeRuneId`,
263
- * - `SorceryTreeRuneId`,
264
- * - `ResolveTreeRuneId`,
265
- * - `InspirationTreeRuneId`.
269
+ * - `PrecisionRuneId`,
270
+ * - `DominationRuneId`,
271
+ * - `SorceryRuneId`,
272
+ * - `ResolveRuneId`,
273
+ * - `InspirationRuneId`.
274
+ *
275
+ * There are 6 numerical Rune ID types:
276
+ * - `KeystoneRuneIdNum`,
277
+ * - `PrecisionRuneIdNum`,
278
+ * - `DominationRuneIdNum`,
279
+ * - `SorceryRuneIdNum`,
280
+ * - `ResolveRuneIdNum`,
281
+ * - `InspirationRuneIdNum`.
266
282
  */
267
283
  export type RuneId = typeof RuneIds[keyof typeof RuneIds];
268
- export declare const RuneTreeHSetsByRuneNames: {
284
+ export declare const RuneHSetsByRuneNames: {
269
285
  readonly Domination: {
270
286
  readonly "0": {
271
287
  readonly Electrocute: "8112";
@@ -638,7 +654,7 @@ export declare const RuneSetsByRuneNames: {
638
654
  readonly "Cut Down": "8017";
639
655
  readonly "Last Stand": "8299";
640
656
  };
641
- readonly RuneTreeHSetsByRuneNames: {
657
+ readonly RuneHSetsByRuneNames: {
642
658
  readonly Domination: {
643
659
  readonly "0": {
644
660
  readonly Electrocute: "8112";
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneTreeHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = void 0;
3
+ exports.RuneSetsByRuneNames = exports.StatRuneHSetsByRuneNames = exports.RuneHSetsByRuneNames = exports.RuneIds = exports.StatRuneIds = exports.KeystoneIds = exports.SecondaryRuneTreesByRuneNames = exports.PrimaryRuneTreesByRuneNames = void 0;
4
4
  exports.PrimaryRuneTreesByRuneNames = { "Domination": { "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" }, "Inspiration": { "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" }, "Precision": { "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" }, "Resolve": { "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" }, "Sorcery": { "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" } };
5
5
  exports.SecondaryRuneTreesByRuneNames = { "Domination": { "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" }, "Inspiration": { "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" }, "Precision": { "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" }, "Resolve": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401", "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473", "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" }, "Sorcery": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275", "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233", "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } };
6
6
  exports.KeystoneIds = { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923", "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369", "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010", "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465", "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" };
7
7
  exports.StatRuneIds = { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f", "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" };
8
8
  exports.RuneIds = { ...exports.PrimaryRuneTreesByRuneNames.Precision, ...exports.PrimaryRuneTreesByRuneNames.Domination, ...exports.PrimaryRuneTreesByRuneNames.Sorcery, ...exports.PrimaryRuneTreesByRuneNames.Resolve, ...exports.PrimaryRuneTreesByRuneNames.Inspiration, ...exports.StatRuneIds };
9
- exports.RuneTreeHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
9
+ exports.RuneHSetsByRuneNames = { "Domination": { "0": { "Electrocute": "8112", "Predator": "8124", "Dark Harvest": "8128", "Hail of Blades": "9923" }, "1": { "Cheap Shot": "8126", "Taste of Blood": "8139", "Sudden Impact": "8143" }, "2": { "Zombie Ward": "8136", "Ghost Poro": "8120", "Eyeball Collection": "8138" }, "3": { "Treasure Hunter": "8135", "Ingenious Hunter": "8134", "Relentless Hunter": "8105", "Ultimate Hunter": "8106" } }, "Inspiration": { "0": { "Glacial Augment": "8351", "Unsealed Spellbook": "8360", "First Strike": "8369" }, "1": { "Hextech Flashtraption": "8306", "Magical Footwear": "8304", "Perfect Timing": "8313" }, "2": { "Future's Market": "8321", "Minion Dematerializer": "8316", "Biscuit Delivery": "8345" }, "3": { "Cosmic Insight": "8347", "Approach Velocity": "8410", "Time Warp Tonic": "8352" } }, "Precision": { "0": { "Press the Attack": "8005", "Lethal Tempo": "8008", "Fleet Footwork": "8021", "Conqueror": "8010" }, "1": { "Overheal": "9101", "Triumph": "9111", "Presence of Mind": "8009" }, "2": { "Legend: Alacrity": "9104", "Legend: Tenacity": "9105", "Legend: Bloodline": "9103" }, "3": { "Coup de Grace": "8014", "Cut Down": "8017", "Last Stand": "8299" } }, "Resolve": { "0": { "Grasp of the Undying": "8437", "Aftershock": "8439", "Guardian": "8465" }, "1": { "Demolish": "8446", "Font of Life": "8463", "Shield Bash": "8401" }, "2": { "Conditioning": "8429", "Second Wind": "8444", "Bone Plating": "8473" }, "3": { "Overgrowth": "8451", "Revitalize": "8453", "Unflinching": "8242" } }, "Sorcery": { "0": { "Summon Aery": "8214", "Arcane Comet": "8229", "Phase Rush": "8230" }, "1": { "Nullifying Orb": "8224", "Manaflow Band": "8226", "Nimbus Cloak": "8275" }, "2": { "Transcendence": "8210", "Celerity": "8234", "Absolute Focus": "8233" }, "3": { "Scorch": "8237", "Waterwalking": "8232", "Gathering Storm": "8236" } } };
10
10
  exports.StatRuneHSetsByRuneNames = { "0": { "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008" }, "1": { "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" }, "2": { "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003" } };
11
11
  /**
12
12
  * Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
13
13
  */
14
- exports.RuneSetsByRuneNames = { PrimaryRuneTreesByRuneNames: exports.PrimaryRuneTreesByRuneNames, SecondaryRuneTreesByRuneNames: exports.SecondaryRuneTreesByRuneNames, KeystoneIds: exports.KeystoneIds, StatRuneIds: exports.StatRuneIds, RuneIds: exports.RuneIds, RuneTreeHSetsByRuneNames: exports.RuneTreeHSetsByRuneNames, StatRuneHSetsByRuneNames: exports.StatRuneHSetsByRuneNames };
14
+ exports.RuneSetsByRuneNames = { PrimaryRuneTreesByRuneNames: exports.PrimaryRuneTreesByRuneNames, SecondaryRuneTreesByRuneNames: exports.SecondaryRuneTreesByRuneNames, KeystoneIds: exports.KeystoneIds, StatRuneIds: exports.StatRuneIds, RuneIds: exports.RuneIds, RuneHSetsByRuneNames: exports.RuneHSetsByRuneNames, StatRuneHSetsByRuneNames: exports.StatRuneHSetsByRuneNames };
@@ -161,6 +161,29 @@ export declare const StatRuneIdsNum: {
161
161
  readonly "Defense (AR)": 5002;
162
162
  readonly "Defense (MR)": 5003;
163
163
  };
164
+ /**
165
+ * There are 3 main Rune ID types:
166
+ * - `RuneId` (all),
167
+ * - `NonStatRuneId` (all but stat runes),
168
+ * - `StatRuneId` (only stat runes).
169
+ *
170
+ * There are 6 more specific Rune ID types as well:
171
+ * - `KeystoneRuneId`,
172
+ * - `PrecisionRuneId`,
173
+ * - `DominationRuneId`,
174
+ * - `SorceryRuneId`,
175
+ * - `ResolveRuneId`,
176
+ * - `InspirationRuneId`.
177
+ *
178
+ * There are 6 numerical Rune ID types:
179
+ * - `KeystoneRuneIdNum`,
180
+ * - `PrecisionRuneIdNum`,
181
+ * - `DominationRuneIdNum`,
182
+ * - `SorceryRuneIdNum`,
183
+ * - `ResolveRuneIdNum`,
184
+ * - `InspirationRuneIdNum`.
185
+ */
186
+ export type StatRuneIdNum = typeof StatRuneIdsNum[keyof typeof StatRuneIdsNum];
164
187
  export declare const RuneIdsNum: {
165
188
  readonly "Offense (AS)": 5005;
166
189
  readonly "Offense (AH)": 5007;
@@ -235,7 +258,30 @@ export declare const RuneIdsNum: {
235
258
  readonly "Cut Down": 8017;
236
259
  readonly "Last Stand": 8299;
237
260
  };
238
- export declare const RuneTreeHSetsByRuneNamesNum: {
261
+ /**
262
+ * There are 3 main Rune ID types:
263
+ * - `RuneId` (all),
264
+ * - `NonStatRuneId` (all but stat runes),
265
+ * - `StatRuneId` (only stat runes).
266
+ *
267
+ * There are 6 more specific Rune ID types as well:
268
+ * - `KeystoneRuneId`,
269
+ * - `PrecisionRuneId`,
270
+ * - `DominationRuneId`,
271
+ * - `SorceryRuneId`,
272
+ * - `ResolveRuneId`,
273
+ * - `InspirationRuneId`.
274
+ *
275
+ * There are 6 numerical Rune ID types:
276
+ * - `KeystoneRuneIdNum`,
277
+ * - `PrecisionRuneIdNum`,
278
+ * - `DominationRuneIdNum`,
279
+ * - `SorceryRuneIdNum`,
280
+ * - `ResolveRuneIdNum`,
281
+ * - `InspirationRuneIdNum`.
282
+ */
283
+ export type RuneIdNum = typeof RuneIdsNum[keyof typeof RuneIdsNum];
284
+ export declare const RuneHSetsByRuneNamesNum: {
239
285
  readonly Domination: {
240
286
  readonly "0": {
241
287
  readonly Electrocute: 8112;
@@ -608,7 +654,7 @@ export declare const RuneSetsByRuneNamesNum: {
608
654
  readonly "Cut Down": 8017;
609
655
  readonly "Last Stand": 8299;
610
656
  };
611
- readonly RuneTreeHSetsByRuneNamesNum: {
657
+ readonly RuneHSetsByRuneNamesNum: {
612
658
  readonly Domination: {
613
659
  readonly "0": {
614
660
  readonly Electrocute: 8112;
@@ -1,14 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RuneSetsByRuneNamesNum = exports.StatRuneHSetsByRuneNamesNum = exports.RuneTreeHSetsByRuneNamesNum = exports.RuneIdsNum = exports.StatRuneIdsNum = exports.KeystoneIdsNum = exports.SecondaryRuneTreesByRuneNamesNum = exports.PrimaryRuneTreesByRuneNamesNum = void 0;
3
+ exports.RuneSetsByRuneNamesNum = exports.StatRuneHSetsByRuneNamesNum = exports.RuneHSetsByRuneNamesNum = exports.RuneIdsNum = exports.StatRuneIdsNum = exports.KeystoneIdsNum = exports.SecondaryRuneTreesByRuneNamesNum = exports.PrimaryRuneTreesByRuneNamesNum = void 0;
4
4
  exports.PrimaryRuneTreesByRuneNamesNum = { "Domination": { "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 }, "Inspiration": { "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 }, "Precision": { "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 }, "Resolve": { "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 }, "Sorcery": { "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 } };
5
5
  exports.SecondaryRuneTreesByRuneNamesNum = { "Domination": { "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 }, "Inspiration": { "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 }, "Precision": { "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 }, "Resolve": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401, "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473, "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 }, "Sorcery": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275, "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233, "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } };
6
6
  exports.KeystoneIdsNum = { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923, "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369, "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010, "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465, "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 };
7
7
  exports.StatRuneIdsNum = { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008, "Flex (AR)": 5002, "Flex (MR)": 5003, "Flex (AF)": 5008, "Defense (HP)": 5001, "Defense (AR)": 5002, "Defense (MR)": 5003 };
8
8
  exports.RuneIdsNum = { ...exports.PrimaryRuneTreesByRuneNamesNum.Precision, ...exports.PrimaryRuneTreesByRuneNamesNum.Domination, ...exports.PrimaryRuneTreesByRuneNamesNum.Sorcery, ...exports.PrimaryRuneTreesByRuneNamesNum.Resolve, ...exports.PrimaryRuneTreesByRuneNamesNum.Inspiration, ...exports.StatRuneIdsNum };
9
- exports.RuneTreeHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923 }, "1": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143 }, "2": { "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138 }, "3": { "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 } }, "Inspiration": { "0": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369 }, "1": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313 }, "2": { "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345 }, "3": { "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 } }, "Precision": { "0": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010 }, "1": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009 }, "2": { "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103 }, "3": { "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 } }, "Resolve": { "0": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465 }, "1": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401 }, "2": { "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473 }, "3": { "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 } }, "Sorcery": { "0": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 }, "1": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275 }, "2": { "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233 }, "3": { "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } } };
9
+ exports.RuneHSetsByRuneNamesNum = { "Domination": { "0": { "Electrocute": 8112, "Predator": 8124, "Dark Harvest": 8128, "Hail of Blades": 9923 }, "1": { "Cheap Shot": 8126, "Taste of Blood": 8139, "Sudden Impact": 8143 }, "2": { "Zombie Ward": 8136, "Ghost Poro": 8120, "Eyeball Collection": 8138 }, "3": { "Treasure Hunter": 8135, "Ingenious Hunter": 8134, "Relentless Hunter": 8105, "Ultimate Hunter": 8106 } }, "Inspiration": { "0": { "Glacial Augment": 8351, "Unsealed Spellbook": 8360, "First Strike": 8369 }, "1": { "Hextech Flashtraption": 8306, "Magical Footwear": 8304, "Perfect Timing": 8313 }, "2": { "Future's Market": 8321, "Minion Dematerializer": 8316, "Biscuit Delivery": 8345 }, "3": { "Cosmic Insight": 8347, "Approach Velocity": 8410, "Time Warp Tonic": 8352 } }, "Precision": { "0": { "Press the Attack": 8005, "Lethal Tempo": 8008, "Fleet Footwork": 8021, "Conqueror": 8010 }, "1": { "Overheal": 9101, "Triumph": 9111, "Presence of Mind": 8009 }, "2": { "Legend: Alacrity": 9104, "Legend: Tenacity": 9105, "Legend: Bloodline": 9103 }, "3": { "Coup de Grace": 8014, "Cut Down": 8017, "Last Stand": 8299 } }, "Resolve": { "0": { "Grasp of the Undying": 8437, "Aftershock": 8439, "Guardian": 8465 }, "1": { "Demolish": 8446, "Font of Life": 8463, "Shield Bash": 8401 }, "2": { "Conditioning": 8429, "Second Wind": 8444, "Bone Plating": 8473 }, "3": { "Overgrowth": 8451, "Revitalize": 8453, "Unflinching": 8242 } }, "Sorcery": { "0": { "Summon Aery": 8214, "Arcane Comet": 8229, "Phase Rush": 8230 }, "1": { "Nullifying Orb": 8224, "Manaflow Band": 8226, "Nimbus Cloak": 8275 }, "2": { "Transcendence": 8210, "Celerity": 8234, "Absolute Focus": 8233 }, "3": { "Scorch": 8237, "Waterwalking": 8232, "Gathering Storm": 8236 } } };
10
10
  exports.StatRuneHSetsByRuneNamesNum = { "0": { "Offense (AS)": 5005, "Offense (AH)": 5007, "Offense (AF)": 5008 }, "1": { "Flex (AR)": 5002, "Flex (MR)": 5003, "Flex (AF)": 5008 }, "2": { "Defense (HP)": 5001, "Defense (AR)": 5002, "Defense (MR)": 5003 } };
11
11
  /**
12
12
  * Contains all Rune IDs that are known to man in the game of League of Legends. Sorted by various useful categories. There are a total of 72 runes in the game.
13
13
  */
14
- exports.RuneSetsByRuneNamesNum = { PrimaryRuneTreesByRuneNamesNum: exports.PrimaryRuneTreesByRuneNamesNum, SecondaryRuneTreesByRuneNamesNum: exports.SecondaryRuneTreesByRuneNamesNum, KeystoneIdsNum: exports.KeystoneIdsNum, StatRuneIdsNum: exports.StatRuneIdsNum, RuneIdsNum: exports.RuneIdsNum, RuneTreeHSetsByRuneNamesNum: exports.RuneTreeHSetsByRuneNamesNum, StatRuneHSetsByRuneNamesNum: exports.StatRuneHSetsByRuneNamesNum };
14
+ exports.RuneSetsByRuneNamesNum = { PrimaryRuneTreesByRuneNamesNum: exports.PrimaryRuneTreesByRuneNamesNum, SecondaryRuneTreesByRuneNamesNum: exports.SecondaryRuneTreesByRuneNamesNum, KeystoneIdsNum: exports.KeystoneIdsNum, StatRuneIdsNum: exports.StatRuneIdsNum, RuneIdsNum: exports.RuneIdsNum, RuneHSetsByRuneNamesNum: exports.RuneHSetsByRuneNamesNum, StatRuneHSetsByRuneNamesNum: exports.StatRuneHSetsByRuneNamesNum };
@@ -71,10 +71,10 @@ export declare const TreeRuneIds: {
71
71
  *
72
72
  * There are 6 more specific Rune ID types as well:
73
73
  * - `KeystoneRuneId`,
74
- * - `PrecisionTreeRuneId`,
75
- * - `DominationTreeRuneId`,
76
- * - `SorceryTreeRuneId`,
77
- * - `ResolveTreeRuneId`,
78
- * - `InspirationTreeRuneId`.
74
+ * - `PrecisionRuneId`,
75
+ * - `DominationRuneId`,
76
+ * - `SorceryRuneId`,
77
+ * - `ResolveRuneId`,
78
+ * - `InspirationRuneId`.
79
79
  */
80
80
  export type TreeRuneId = typeof TreeRuneIds[keyof typeof TreeRuneIds];
@@ -5,4 +5,4 @@ export declare const SkillSlots: {
5
5
  readonly 4: 4;
6
6
  };
7
7
  export type SkillSlot = typeof SkillSlots[keyof typeof SkillSlots];
8
- export declare function isSkillSlot(value: any): value is SkillSlot;
8
+ export declare function isSkillSlot(value: number): value is SkillSlot;
@@ -8,6 +8,6 @@ exports.SkillSlots = {
8
8
  4: 4,
9
9
  };
10
10
  function isSkillSlot(value) {
11
- return typeof value == 'number' && value in exports.SkillSlots;
11
+ return value in exports.SkillSlots;
12
12
  }
13
13
  exports.isSkillSlot = isSkillSlot;
@@ -0,0 +1,6 @@
1
+ export declare const TeamIds: {
2
+ readonly 100: 100;
3
+ readonly 200: 200;
4
+ };
5
+ export type TeamId = typeof TeamIds[keyof typeof TeamIds];
6
+ export declare function isTeamId(value: number): value is TeamId;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isTeamId = exports.TeamIds = void 0;
4
+ exports.TeamIds = {
5
+ 100: 100,
6
+ 200: 200,
7
+ };
8
+ function isTeamId(value) {
9
+ return value in exports.TeamIds;
10
+ }
11
+ exports.isTeamId = isTeamId;
@@ -0,0 +1,2 @@
1
+ import { ChampionKeyNum } from '../../constants/Champions/ChampionKeysNum';
2
+ export declare function isChampionKeyNum(key: number): key is ChampionKeyNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isChampionKeyNum = void 0;
4
+ const ChampionNames_1 = require("../../constants/Champions/ChampionNames");
5
+ function isChampionKeyNum(key) {
6
+ return key in ChampionNames_1.ChampionNames;
7
+ }
8
+ exports.isChampionKeyNum = isChampionKeyNum;
@@ -0,0 +1,2 @@
1
+ import { ItemKeyNum } from '../../constants/Items/ItemKeysNum';
2
+ export declare function isItemKeyNum(key: number): key is ItemKeyNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isItemKeyNum = void 0;
4
+ const ItemNames_1 = require("../../constants/Items/ItemNames");
5
+ function isItemKeyNum(key) {
6
+ return key in ItemNames_1.ItemNames;
7
+ }
8
+ exports.isItemKeyNum = isItemKeyNum;
@@ -0,0 +1,3 @@
1
+ import { NonStatRuneId } from '../../constants/Runes/NonStatRuneIds';
2
+ import { NonStatRuneName } from '../../constants/Runes/NonStatRuneNames';
3
+ export declare function getNonStatRuneIdByName(name: NonStatRuneName): NonStatRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getNonStatRuneIdByName = void 0;
4
+ const NonStatRuneIds_1 = require("../../constants/Runes/NonStatRuneIds");
5
+ function getNonStatRuneIdByName(name) {
6
+ return NonStatRuneIds_1.NonStatRuneIds[name];
7
+ }
8
+ exports.getNonStatRuneIdByName = getNonStatRuneIdByName;
@@ -0,0 +1,3 @@
1
+ import { NonStatRuneId } from '../../constants/Runes/NonStatRuneIds';
2
+ import { NonStatRuneName } from '../../constants/Runes/NonStatRuneNames';
3
+ export declare function getNonStatRuneNameById(id: NonStatRuneId): NonStatRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getNonStatRuneNameById = void 0;
4
+ const NonStatRuneNames_1 = require("../../constants/Runes/NonStatRuneNames");
5
+ function getNonStatRuneNameById(id) {
6
+ return NonStatRuneNames_1.NonStatRuneNames[id];
7
+ }
8
+ exports.getNonStatRuneNameById = getNonStatRuneNameById;
@@ -0,0 +1,2 @@
1
+ import { DominationRuneId } from '../../types/types';
2
+ export declare function isDominationRuneId(id: string): id is DominationRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isDominationRuneId = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isDominationRuneId(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Domination;
7
+ }
8
+ exports.isDominationRuneId = isDominationRuneId;
@@ -0,0 +1,2 @@
1
+ import { DominationRuneIdNum } from '../../types/types';
2
+ export declare function isDominationRuneIdNum(id: number): id is DominationRuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isDominationRuneIdNum = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isDominationRuneIdNum(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Domination;
7
+ }
8
+ exports.isDominationRuneIdNum = isDominationRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { DominationRuneName } from '../../types/types';
2
+ export declare function isDominationRuneName(value: any): value is DominationRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isDominationRuneName = void 0;
4
+ const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
5
+ function isDominationRuneName(value) {
6
+ return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Domination;
7
+ }
8
+ exports.isDominationRuneName = isDominationRuneName;
@@ -0,0 +1,2 @@
1
+ import { InspirationRuneId } from '../../types/types';
2
+ export declare function isInspirationRuneId(id: string): id is InspirationRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isInspirationRuneId = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isInspirationRuneId(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Inspiration;
7
+ }
8
+ exports.isInspirationRuneId = isInspirationRuneId;
@@ -0,0 +1,2 @@
1
+ import { InspirationRuneIdNum } from '../../types/types';
2
+ export declare function isInspirationRuneIdNum(id: number): id is InspirationRuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isInspirationRuneIdNum = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isInspirationRuneIdNum(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Inspiration;
7
+ }
8
+ exports.isInspirationRuneIdNum = isInspirationRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { InspirationRuneName } from '../../types/types';
2
+ export declare function isInspirationRuneName(value: any): value is InspirationRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isInspirationRuneName = void 0;
4
+ const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
5
+ function isInspirationRuneName(value) {
6
+ return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Inspiration;
7
+ }
8
+ exports.isInspirationRuneName = isInspirationRuneName;
@@ -0,0 +1,2 @@
1
+ import { KeystoneRuneIdNum } from '../../types/types';
2
+ export declare function isKeystoneRuneIdNum(id: number): id is KeystoneRuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isKeystoneRuneIdNum = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isKeystoneRuneIdNum(id) {
6
+ return id in RuneSets_1.KeystoneNames;
7
+ }
8
+ exports.isKeystoneRuneIdNum = isKeystoneRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { KeystoneRuneName } from '../../types/types';
2
+ export declare function isKeystoneRuneName(value: any): value is KeystoneRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isKeystoneRuneName = void 0;
4
+ const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
5
+ function isKeystoneRuneName(value) {
6
+ return typeof value == 'string' && value in RuneSetsByRuneNames_1.KeystoneIds;
7
+ }
8
+ exports.isKeystoneRuneName = isKeystoneRuneName;
@@ -0,0 +1,2 @@
1
+ import { NonStatRuneId } from '../../constants/Runes/NonStatRuneIds';
2
+ export declare function isNonStatRuneId(id: string): id is NonStatRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isNonStatRuneId = void 0;
4
+ const NonStatRuneNames_1 = require("../../constants/Runes/NonStatRuneNames");
5
+ function isNonStatRuneId(id) {
6
+ return id in NonStatRuneNames_1.NonStatRuneNames;
7
+ }
8
+ exports.isNonStatRuneId = isNonStatRuneId;
@@ -0,0 +1,2 @@
1
+ import { NonStatRuneIdNum } from '../../constants/Runes/NonStatRuneIdsNum';
2
+ export declare function isNonStatRuneIdNum(id: number): id is NonStatRuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isNonStatRuneIdNum = void 0;
4
+ const NonStatRuneNames_1 = require("../../constants/Runes/NonStatRuneNames");
5
+ function isNonStatRuneIdNum(id) {
6
+ return id in NonStatRuneNames_1.NonStatRuneNames;
7
+ }
8
+ exports.isNonStatRuneIdNum = isNonStatRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { NonStatRuneName } from '../../constants/Runes/NonStatRuneNames';
2
+ export declare function isNonStatRuneName(name: any): name is NonStatRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isNonStatRuneName = void 0;
4
+ const NonStatRuneIds_1 = require("../../constants/Runes/NonStatRuneIds");
5
+ function isNonStatRuneName(name) {
6
+ return typeof name == 'string' && name in NonStatRuneIds_1.NonStatRuneIds;
7
+ }
8
+ exports.isNonStatRuneName = isNonStatRuneName;
@@ -0,0 +1,2 @@
1
+ import { PrecisionRuneId } from '../../types/types';
2
+ export declare function isPrecisionRuneId(id: string): id is PrecisionRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isPrecisionRuneId = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isPrecisionRuneId(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Precision;
7
+ }
8
+ exports.isPrecisionRuneId = isPrecisionRuneId;
@@ -0,0 +1,2 @@
1
+ import { PrecisionRuneIdNum } from '../../types/types';
2
+ export declare function isPrecisionRuneIdNum(id: number): id is PrecisionRuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isPrecisionRuneIdNum = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isPrecisionRuneIdNum(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Precision;
7
+ }
8
+ exports.isPrecisionRuneIdNum = isPrecisionRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { PrecisionRuneName } from '../../types/types';
2
+ export declare function isPrecisionRuneName(value: any): value is PrecisionRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isPrecisionRuneName = void 0;
4
+ const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
5
+ function isPrecisionRuneName(value) {
6
+ return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Precision;
7
+ }
8
+ exports.isPrecisionRuneName = isPrecisionRuneName;
@@ -0,0 +1,2 @@
1
+ import { ResolveRuneId } from '../../types/types';
2
+ export declare function isResolveRuneId(id: string): id is ResolveRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isResolveRuneId = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isResolveRuneId(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Resolve;
7
+ }
8
+ exports.isResolveRuneId = isResolveRuneId;
@@ -0,0 +1,2 @@
1
+ import { ResolveRuneIdNum } from '../../types/types';
2
+ export declare function isResolveRuneIdNum(id: number): id is ResolveRuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isResolveRuneIdNum = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isResolveRuneIdNum(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Resolve;
7
+ }
8
+ exports.isResolveRuneIdNum = isResolveRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { ResolveRuneName } from '../../types/types';
2
+ export declare function isResolveRuneName(value: any): value is ResolveRuneName;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isResolveRuneName = void 0;
4
+ const RuneSetsByRuneNames_1 = require("../../constants/Runes/RuneSetsByRuneNames");
5
+ function isResolveRuneName(value) {
6
+ return typeof value == 'string' && value in RuneSetsByRuneNames_1.RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Resolve;
7
+ }
8
+ exports.isResolveRuneName = isResolveRuneName;
@@ -0,0 +1,2 @@
1
+ import { RuneIdNum } from '../../constants/Runes/RuneSetsByRuneNamesNum';
2
+ export declare function isRuneIdNum(id: number): id is RuneIdNum;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isRuneIdNum = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isRuneIdNum(id) {
6
+ return id in RuneSets_1.RuneNames;
7
+ }
8
+ exports.isRuneIdNum = isRuneIdNum;
@@ -0,0 +1,2 @@
1
+ import { SorceryRuneId } from '../../types/types';
2
+ export declare function isSorceryRuneId(id: string): id is SorceryRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isSorceryRuneId = void 0;
4
+ const RuneSets_1 = require("../../constants/Runes/RuneSets");
5
+ function isSorceryRuneId(id) {
6
+ return id in RuneSets_1.PrimaryRuneTrees.Sorcery;
7
+ }
8
+ exports.isSorceryRuneId = isSorceryRuneId;