lol-constants 2.1.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/assets/scripts/constants/RuneIdComment.d.ts +1 -0
  2. package/assets/scripts/constants/RuneIdComment.js +19 -0
  3. package/assets/scripts/generate-all.d.ts +6 -0
  4. package/assets/scripts/generate-all.js +10 -0
  5. package/assets/scripts/generate-categorized-item-keys-num.d.ts +1 -0
  6. package/assets/scripts/generate-categorized-item-keys-num.js +60 -0
  7. package/assets/scripts/generate-categorized-item-keys.js +7 -1
  8. package/assets/scripts/generate-categorized-item-names.js +3 -1
  9. package/assets/scripts/generate-champion-ids-by-name.js +5 -3
  10. package/assets/scripts/generate-champion-ids.js +6 -3
  11. package/assets/scripts/generate-champion-keys-num.d.ts +1 -0
  12. package/assets/scripts/generate-champion-keys-num.js +22 -0
  13. package/assets/scripts/generate-champion-keys.js +6 -3
  14. package/assets/scripts/generate-champion-names.js +6 -3
  15. package/assets/scripts/generate-item-keys-num.d.ts +1 -0
  16. package/assets/scripts/generate-item-keys-num.js +23 -0
  17. package/assets/scripts/generate-item-keys.js +6 -3
  18. package/assets/scripts/generate-item-names.js +6 -3
  19. package/assets/scripts/generate-rune-ids.js +8 -3
  20. package/assets/scripts/generate-rune-names.js +6 -3
  21. package/assets/scripts/generate-rune-sets-by-rune-names-num.d.ts +1 -0
  22. package/assets/scripts/generate-rune-sets-by-rune-names-num.js +118 -0
  23. package/assets/scripts/generate-rune-sets-by-rune-names.js +5 -0
  24. package/assets/scripts/generate-rune-sets.js +2 -0
  25. package/assets/scripts/generate-spell-ids-by-name.js +5 -3
  26. package/assets/scripts/generate-spell-ids.js +6 -3
  27. package/assets/scripts/generate-spell-keys-num.d.ts +1 -0
  28. package/assets/scripts/generate-spell-keys-num.js +22 -0
  29. package/assets/scripts/generate-spell-keys.js +6 -3
  30. package/assets/scripts/generate-spell-names.js +6 -3
  31. package/assets/scripts/generate-stat-rune-ids.js +8 -3
  32. package/assets/scripts/generate-stat-rune-names.js +8 -5
  33. package/assets/scripts/generate-tree-rune-ids-num.d.ts +1 -0
  34. package/assets/scripts/generate-tree-rune-ids-num.js +23 -0
  35. package/assets/scripts/generate-tree-rune-ids.js +8 -3
  36. package/assets/scripts/generate-tree-rune-names.js +8 -5
  37. package/assets/scripts/helpers/getComment.d.ts +1 -0
  38. package/assets/scripts/helpers/getComment.js +8 -0
  39. package/assets/scripts/helpers/getExportStatement.d.ts +1 -1
  40. package/assets/scripts/helpers/getExportStatement.js +28 -3
  41. package/assets/scripts/helpers/getFmtdComment.js +1 -1
  42. package/assets/scripts/helpers/validateNumber.d.ts +1 -0
  43. package/assets/scripts/helpers/validateNumber.js +10 -0
  44. package/assets/scripts/helpers/writeToTmpFile.d.ts +3 -0
  45. package/assets/scripts/helpers/writeToTmpFile.js +2 -2
  46. package/core/constants/BuildingTypes.d.ts +6 -0
  47. package/core/constants/BuildingTypes.js +11 -0
  48. package/core/constants/Champions/ChampionIds.d.ts +1 -0
  49. package/core/constants/Champions/ChampionKeys.d.ts +1 -0
  50. package/core/constants/Champions/ChampionKeysNum.d.ts +166 -0
  51. package/core/constants/Champions/ChampionKeysNum.js +4 -0
  52. package/core/constants/Champions/ChampionNames.d.ts +1 -0
  53. package/core/constants/DragonTypes.d.ts +10 -0
  54. package/core/constants/DragonTypes.js +15 -0
  55. package/core/constants/Items/BootsItemKeys.d.ts +1 -0
  56. package/core/constants/Items/BootsItemKeysNum.d.ts +12 -0
  57. package/core/constants/Items/BootsItemKeysNum.js +4 -0
  58. package/core/constants/Items/BootsItemNames.d.ts +1 -0
  59. package/core/constants/Items/ItemKeys.d.ts +1 -0
  60. package/core/constants/Items/ItemKeysNum.d.ts +264 -0
  61. package/core/constants/Items/ItemKeysNum.js +4 -0
  62. package/core/constants/Items/ItemNames.d.ts +1 -0
  63. package/core/constants/Items/LegendaryItemKeys.d.ts +1 -0
  64. package/core/constants/Items/LegendaryItemKeysNum.d.ts +77 -0
  65. package/core/constants/Items/LegendaryItemKeysNum.js +4 -0
  66. package/core/constants/Items/LegendaryItemNames.d.ts +1 -0
  67. package/core/constants/Items/MythicItemKeys.d.ts +1 -0
  68. package/core/constants/Items/MythicItemKeysNum.d.ts +31 -0
  69. package/core/constants/Items/MythicItemKeysNum.js +4 -0
  70. package/core/constants/Items/MythicItemNames.d.ts +1 -0
  71. package/core/constants/KillTypes.d.ts +7 -0
  72. package/core/constants/KillTypes.js +12 -0
  73. package/core/constants/LaneTypes.d.ts +7 -0
  74. package/core/constants/LaneTypes.js +12 -0
  75. package/core/constants/MonsterTypes.d.ts +7 -0
  76. package/core/constants/MonsterTypes.js +12 -0
  77. package/core/constants/Runes/RuneIconFileNames.d.ts +1 -1
  78. package/core/constants/Runes/RuneSets.d.ts +2 -0
  79. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -0
  80. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +743 -0
  81. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +14 -0
  82. package/core/constants/Runes/RuneTreeIds.d.ts +1 -1
  83. package/core/constants/Runes/RuneTreeIds.js +1 -1
  84. package/core/constants/Runes/RuneTreeIdsNum.d.ts +11 -0
  85. package/core/constants/Runes/RuneTreeIdsNum.js +19 -0
  86. package/core/constants/Runes/TreeRuneIds.d.ts +15 -0
  87. package/core/constants/Runes/TreeRuneIdsNum.d.ts +66 -0
  88. package/core/constants/Runes/TreeRuneIdsNum.js +4 -0
  89. package/core/constants/Runes/TreeRuneNames.d.ts +1 -0
  90. package/core/constants/SkillSlots.d.ts +8 -0
  91. package/core/constants/SkillSlots.js +13 -0
  92. package/core/constants/Spells/SpellIds.d.ts +1 -0
  93. package/core/constants/Spells/SpellKeys.d.ts +1 -0
  94. package/core/constants/Spells/SpellKeysNum.d.ts +19 -0
  95. package/core/constants/Spells/SpellKeysNum.js +4 -0
  96. package/core/constants/Spells/SpellNames.d.ts +1 -0
  97. package/core/constants/TowerTypes.d.ts +8 -0
  98. package/core/constants/TowerTypes.js +13 -0
  99. package/core/constants/WardTypes.d.ts +2 -0
  100. package/core/constants/WardTypes.js +2 -0
  101. package/core/helpers/Champions/getChampionIdByKey.d.ts +2 -1
  102. package/core/helpers/Champions/getChampionIdByName.d.ts +2 -1
  103. package/core/helpers/Champions/getChampionKeyById.d.ts +2 -1
  104. package/core/helpers/Champions/getChampionKeyByName.d.ts +2 -1
  105. package/core/helpers/Champions/getChampionNameById.d.ts +2 -1
  106. package/core/helpers/Champions/getChampionNameByKey.d.ts +2 -1
  107. package/core/helpers/Champions/isChampionId.d.ts +1 -1
  108. package/core/helpers/Champions/isChampionKey.d.ts +1 -1
  109. package/core/helpers/Champions/isChampionName.d.ts +1 -1
  110. package/core/helpers/Items/getItemKeyByName.d.ts +2 -1
  111. package/core/helpers/Items/getItemNameByKey.d.ts +2 -1
  112. package/core/helpers/Items/isBootsItemKey.d.ts +1 -1
  113. package/core/helpers/Items/isBootsItemName.d.ts +1 -1
  114. package/core/helpers/Items/isItemKey.d.ts +1 -1
  115. package/core/helpers/Items/isItemName.d.ts +1 -1
  116. package/core/helpers/Items/isLegendaryItemKey.d.ts +1 -1
  117. package/core/helpers/Items/isLegendaryItemName.d.ts +1 -1
  118. package/core/helpers/Items/isMythicItemKey.d.ts +1 -1
  119. package/core/helpers/Items/isMythicItemName.d.ts +1 -1
  120. package/core/helpers/Runes/getRuneCategoryName.d.ts +2 -1
  121. package/core/helpers/Runes/getRuneCdnUrl.d.ts +1 -1
  122. package/core/helpers/Runes/getRuneIdByName.d.ts +2 -1
  123. package/core/helpers/Runes/getRuneNameById.d.ts +2 -1
  124. package/core/helpers/Runes/getStatRuneIdByName.d.ts +2 -1
  125. package/core/helpers/Runes/getStatRuneNameById.d.ts +2 -1
  126. package/core/helpers/Runes/getTreeRuneIdByName.d.ts +2 -1
  127. package/core/helpers/Runes/getTreeRuneNameById.d.ts +2 -1
  128. package/core/helpers/Runes/isRuneId.d.ts +1 -1
  129. package/core/helpers/Runes/isRuneName.d.ts +1 -1
  130. package/core/helpers/Runes/isStatRuneId.d.ts +1 -1
  131. package/core/helpers/Runes/isStatRuneName.d.ts +1 -1
  132. package/core/helpers/Runes/isTreeRuneId.d.ts +1 -1
  133. package/core/helpers/Runes/isTreeRuneName.d.ts +1 -1
  134. package/core/helpers/Spells/getSpellIdByKey.d.ts +2 -1
  135. package/core/helpers/Spells/getSpellIdByName.d.ts +2 -1
  136. package/core/helpers/Spells/getSpellKeyById.d.ts +2 -1
  137. package/core/helpers/Spells/getSpellKeyByName.d.ts +2 -1
  138. package/core/helpers/Spells/getSpellNameById.d.ts +2 -1
  139. package/core/helpers/Spells/getSpellNameByKey.d.ts +2 -1
  140. package/core/helpers/Spells/isSpellId.d.ts +1 -1
  141. package/core/helpers/Spells/isSpellKey.d.ts +1 -1
  142. package/core/helpers/Spells/isSpellName.d.ts +1 -1
  143. package/core/index.d.ts +16 -0
  144. package/core/index.js +16 -12
  145. package/core/types/types.d.ts +27 -86
  146. package/package.json +1 -1
package/core/index.js CHANGED
@@ -15,12 +15,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  // # constants
18
+ __exportStar(require("./constants/BuildingTypes"), exports);
18
19
  __exportStar(require("./constants/DataDragonUrls"), exports);
20
+ __exportStar(require("./constants/DragonTypes"), exports);
19
21
  __exportStar(require("./constants/GameModes"), exports);
20
22
  __exportStar(require("./constants/GameTypes"), exports);
23
+ __exportStar(require("./constants/KillTypes"), exports);
21
24
  __exportStar(require("./constants/Lanes"), exports);
25
+ __exportStar(require("./constants/LaneTypes"), exports);
22
26
  __exportStar(require("./constants/Levels"), exports);
23
27
  __exportStar(require("./constants/Locales"), exports);
28
+ __exportStar(require("./constants/MonsterTypes"), exports);
24
29
  __exportStar(require("./constants/PlatformIds"), exports);
25
30
  __exportStar(require("./constants/Positions"), exports);
26
31
  __exportStar(require("./constants/Queues"), exports);
@@ -30,46 +35,45 @@ __exportStar(require("./constants/Regions"), exports);
30
35
  __exportStar(require("./constants/RelativeTeams"), exports);
31
36
  __exportStar(require("./constants/Roles"), exports);
32
37
  __exportStar(require("./constants/Skills"), exports);
38
+ __exportStar(require("./constants/SkillSlots"), exports);
39
+ __exportStar(require("./constants/TowerTypes"), exports);
33
40
  __exportStar(require("./constants/WardTypes"), exports);
34
41
  // ## Champions
35
42
  __exportStar(require("./constants/Champions/ChampionIds"), exports);
36
43
  __exportStar(require("./constants/Champions/ChampionIdsByName"), exports);
37
44
  __exportStar(require("./constants/Champions/ChampionKeys"), exports);
45
+ __exportStar(require("./constants/Champions/ChampionKeysNum"), exports);
38
46
  __exportStar(require("./constants/Champions/ChampionNames"), exports);
39
47
  // ## Items
40
48
  __exportStar(require("./constants/Items/BootsItemKeys"), exports);
49
+ __exportStar(require("./constants/Items/BootsItemKeysNum"), exports);
41
50
  __exportStar(require("./constants/Items/BootsItemNames"), exports);
42
51
  __exportStar(require("./constants/Items/ItemKeys"), exports);
52
+ __exportStar(require("./constants/Items/ItemKeysNum"), exports);
43
53
  __exportStar(require("./constants/Items/ItemNames"), exports);
44
54
  __exportStar(require("./constants/Items/ItemTypes"), exports);
45
55
  __exportStar(require("./constants/Items/LegendaryItemKeys"), exports);
56
+ __exportStar(require("./constants/Items/LegendaryItemKeysNum"), exports);
46
57
  __exportStar(require("./constants/Items/LegendaryItemNames"), exports);
47
58
  __exportStar(require("./constants/Items/MythicItemKeys"), exports);
59
+ __exportStar(require("./constants/Items/MythicItemKeysNum"), exports);
48
60
  __exportStar(require("./constants/Items/MythicItemNames"), exports);
49
61
  // ## Runes
50
62
  __exportStar(require("./constants/Runes/RuneIconFileNames"), exports);
51
63
  __exportStar(require("./constants/Runes/RunePickingRelationships"), exports);
52
64
  __exportStar(require("./constants/Runes/RuneSets"), exports);
53
- // TEMP
54
- // export {
55
- // PrimaryRuneTrees as PrimaryRuneTreesByRuneNames,
56
- // SecondaryRuneTrees as SecondaryRuneTreesByRuneNames,
57
- // KeystoneIds,
58
- // StatRuneIds,
59
- // RuneIds,
60
- // RuneTreeHSets as RuneTreeHSetsByRuneNames,
61
- // StatRuneHSets as StatRuneHSetsByRuneNames,
62
- // RuneSetsByRuneNames,
63
- // } from './constants/Runes/RuneSetsByRuneNames'
64
- // export * from './constants/Runes/RuneSetsByRuneNames'
65
+ __exportStar(require("./constants/Runes/RuneSetsByRuneNames"), exports);
66
+ __exportStar(require("./constants/Runes/RuneSetsByRuneNamesNum"), exports);
65
67
  __exportStar(require("./constants/Runes/RuneTreeIds"), exports);
66
68
  __exportStar(require("./constants/Runes/RuneTreeNames"), exports);
67
69
  __exportStar(require("./constants/Runes/TreeRuneIds"), exports);
70
+ __exportStar(require("./constants/Runes/TreeRuneIdsNum"), exports);
68
71
  __exportStar(require("./constants/Runes/TreeRuneNames"), exports);
69
72
  // ## Spells
70
73
  __exportStar(require("./constants/Spells/SpellIds"), exports);
71
74
  __exportStar(require("./constants/Spells/SpellIdsByName"), exports);
72
75
  __exportStar(require("./constants/Spells/SpellKeys"), exports);
76
+ __exportStar(require("./constants/Spells/SpellKeysNum"), exports);
73
77
  __exportStar(require("./constants/Spells/SpellNames"), exports);
74
78
  // # helpers
75
79
  __exportStar(require("./helpers/getPositionImageUrl"), exports);
@@ -1,114 +1,55 @@
1
- import { ChampionIds } from '../constants/Champions/ChampionIds';
2
- import { ChampionKeys } from '../constants/Champions/ChampionKeys';
3
- import { ChampionNames } from '../constants/Champions/ChampionNames';
4
- import { BootsItemKeys } from '../constants/Items/BootsItemKeys';
5
- import { BootsItemNames } from '../constants/Items/BootsItemNames';
6
- import { ItemKeys } from '../constants/Items/ItemKeys';
7
- import { ItemNames } from '../constants/Items/ItemNames';
8
- import { LegendaryItemKeys } from '../constants/Items/LegendaryItemKeys';
9
- import { LegendaryItemNames } from '../constants/Items/LegendaryItemNames';
10
- import { MythicItemKeys } from '../constants/Items/MythicItemKeys';
11
- import { MythicItemNames } from '../constants/Items/MythicItemNames';
12
- import { RuneNames, RuneSets, StatRuneNames } from '../constants/Runes/RuneSets';
13
- import { RuneIds, RuneSetsByRuneNames, StatRuneIds } from '../constants/Runes/RuneSetsByRuneNames';
1
+ import { RuneSets } from '../constants/Runes/RuneSets';
2
+ import { RuneSetsByRuneNames } from '../constants/Runes/RuneSetsByRuneNames';
14
3
  import { RuneTreeName } from '../constants/Runes/RuneTreeNames';
15
4
  import { RuneTreeType } from '../constants/Runes/RuneTreeTypes';
16
- import { TreeRuneIds } from '../constants/Runes/TreeRuneIds';
17
- import { TreeRuneNames } from '../constants/Runes/TreeRuneNames';
18
- import { SpellIds } from '../constants/Spells/SpellIds';
19
- import { SpellKeys } from '../constants/Spells/SpellKeys';
20
- import { SpellNames } from '../constants/Spells/SpellNames';
21
5
  /**
22
6
  * 0 — Custom games
7
+ *
23
8
  * 400 — 5v5 Draft Pick games
9
+ *
24
10
  * 420 — 5v5 Ranked Solo games
11
+ *
25
12
  * 430 — 5v5 Blind Pick games
13
+ *
26
14
  * 440 — 5v5 Ranked Flex games
15
+ *
27
16
  * 450 — 5v5 ARAM games
17
+ *
28
18
  * 700 — Clash games
19
+ *
29
20
  * 900 — ARURF games
21
+ *
30
22
  * 920 — Legend of the Poro King games
23
+ *
31
24
  * 1020 — One for All games
25
+ *
32
26
  * 1090 — Teamfight Tactics games
27
+ *
33
28
  * 1100 — Ranked Teamfight Tactics games
29
+ *
34
30
  * 1110 — Teamfight Tactics Tutorial games
31
+ *
35
32
  * 1111 — Teamfight Tactics test games
33
+ *
36
34
  * 1300 — Nexus Blitz games
35
+ *
37
36
  * 1400 — Ultimate Spellbook games
37
+ *
38
38
  * 1900 — Pick URF games
39
39
  */
40
40
  export type QueueId = 0 | 400 | 420 | 430 | 440 | 450 | 700 | 900 | 920 | 1020 | 1090 | 1100 | 1110 | 1111 | 1300 | 1400 | 1900;
41
41
  /**
42
42
  * 11 — Summoner's Rift
43
+ *
43
44
  * 12 — Howling Abyss
45
+ *
44
46
  * 21 — Nexus Blitz
47
+ *
45
48
  * 22 — Convergence
46
49
  */
47
50
  export type MapId = 11 | 12 | 21 | 22;
48
51
  export type TeamId = 100 | 200;
49
52
  export type ParticipantId = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
50
- export type ChampionId = typeof ChampionIds[keyof typeof ChampionIds];
51
- export type ChampionKey = typeof ChampionKeys[keyof typeof ChampionKeys];
52
- export type ChampionName = typeof ChampionNames[keyof typeof ChampionNames];
53
- export type SpellId = typeof SpellIds[keyof typeof SpellIds];
54
- export type SpellKey = typeof SpellKeys[keyof typeof SpellKeys];
55
- export type SpellName = typeof SpellNames[keyof typeof SpellNames];
56
- export type ItemKey = typeof ItemKeys[keyof typeof ItemKeys];
57
- export type ItemName = typeof ItemNames[keyof typeof ItemNames];
58
- export type MythicItemKey = keyof typeof MythicItemNames;
59
- export type MythicItemName = keyof typeof MythicItemKeys;
60
- export type LegendaryItemKey = keyof typeof LegendaryItemNames;
61
- export type LegendaryItemName = keyof typeof LegendaryItemKeys;
62
- export type BootsItemKey = keyof typeof BootsItemNames;
63
- export type BootsItemName = keyof typeof BootsItemKeys;
64
- /**
65
- * There are 3 main Rune ID types:
66
- * - `RuneId` (all),
67
- * - `TreeRuneId` (all but stat runes),
68
- * - `StatRuneId` (only stat runes).
69
- *
70
- * There are 6 more specific Rune ID types as well:
71
- * - `KeystoneRuneId`,
72
- * - `PrecisionTreeRuneId`,
73
- * - `DominationTreeRuneId`,
74
- * - `SorceryTreeRuneId`,
75
- * - `ResolveTreeRuneId`,
76
- * - `InspirationTreeRuneId`,
77
- */
78
- export type RuneId = typeof RuneIds[keyof typeof RuneIds];
79
- export type RuneName = typeof RuneNames[keyof typeof RuneNames];
80
- /**
81
- * There are 3 main Rune ID types:
82
- * - `RuneId` (all),
83
- * - `TreeRuneId` (all but stat runes),
84
- * - `StatRuneId` (only stat runes).
85
- *
86
- * There are 6 more specific Rune ID types as well:
87
- * - `KeystoneRuneId`,
88
- * - `PrecisionTreeRuneId`,
89
- * - `DominationTreeRuneId`,
90
- * - `SorceryTreeRuneId`,
91
- * - `ResolveTreeRuneId`,
92
- * - `InspirationTreeRuneId`,
93
- */
94
- export type TreeRuneId = typeof TreeRuneIds[keyof typeof TreeRuneIds];
95
- export type TreeRuneName = typeof TreeRuneNames[keyof typeof TreeRuneNames];
96
- /**
97
- * There are 3 main Rune ID types:
98
- * - `RuneId` (all),
99
- * - `TreeRuneId` (all but stat runes),
100
- * - `StatRuneId` (only stat runes).
101
- *
102
- * There are 6 more specific Rune ID types as well:
103
- * - `KeystoneRuneId`,
104
- * - `PrecisionTreeRuneId`,
105
- * - `DominationTreeRuneId`,
106
- * - `SorceryTreeRuneId`,
107
- * - `ResolveTreeRuneId`,
108
- * - `InspirationTreeRuneId`,
109
- */
110
- export type StatRuneId = typeof StatRuneIds[keyof typeof StatRuneIds];
111
- export type StatRuneName = typeof StatRuneNames[keyof typeof StatRuneNames];
112
53
  /**
113
54
  * There are 3 main Rune ID types:
114
55
  * - `RuneId` (all),
@@ -121,7 +62,7 @@ export type StatRuneName = typeof StatRuneNames[keyof typeof StatRuneNames];
121
62
  * - `DominationTreeRuneId`,
122
63
  * - `SorceryTreeRuneId`,
123
64
  * - `ResolveTreeRuneId`,
124
- * - `InspirationTreeRuneId`,
65
+ * - `InspirationTreeRuneId`.
125
66
  */
126
67
  export type KeystoneRuneId = keyof typeof RuneSets.KeystoneNames;
127
68
  export type KeystoneRuneName = keyof typeof RuneSetsByRuneNames.KeystoneIds;
@@ -137,7 +78,7 @@ export type KeystoneRuneName = keyof typeof RuneSetsByRuneNames.KeystoneIds;
137
78
  * - `DominationTreeRuneId`,
138
79
  * - `SorceryTreeRuneId`,
139
80
  * - `ResolveTreeRuneId`,
140
- * - `InspirationTreeRuneId`,
81
+ * - `InspirationTreeRuneId`.
141
82
  */
142
83
  export type PrecisionTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Precision;
143
84
  export type PrecisionTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Precision;
@@ -153,7 +94,7 @@ export type PrecisionTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRune
153
94
  * - `DominationTreeRuneId`,
154
95
  * - `SorceryTreeRuneId`,
155
96
  * - `ResolveTreeRuneId`,
156
- * - `InspirationTreeRuneId`,
97
+ * - `InspirationTreeRuneId`.
157
98
  */
158
99
  export type DominationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Domination;
159
100
  export type DominationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Domination;
@@ -169,7 +110,7 @@ export type DominationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRun
169
110
  * - `DominationTreeRuneId`,
170
111
  * - `SorceryTreeRuneId`,
171
112
  * - `ResolveTreeRuneId`,
172
- * - `InspirationTreeRuneId`,
113
+ * - `InspirationTreeRuneId`.
173
114
  */
174
115
  export type SorceryTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Sorcery;
175
116
  export type SorceryTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Sorcery;
@@ -185,7 +126,7 @@ export type SorceryTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTr
185
126
  * - `DominationTreeRuneId`,
186
127
  * - `SorceryTreeRuneId`,
187
128
  * - `ResolveTreeRuneId`,
188
- * - `InspirationTreeRuneId`,
129
+ * - `InspirationTreeRuneId`.
189
130
  */
190
131
  export type ResolveTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Resolve;
191
132
  export type ResolveTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Resolve;
@@ -201,7 +142,7 @@ export type ResolveTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTr
201
142
  * - `DominationTreeRuneId`,
202
143
  * - `SorceryTreeRuneId`,
203
144
  * - `ResolveTreeRuneId`,
204
- * - `InspirationTreeRuneId`,
145
+ * - `InspirationTreeRuneId`.
205
146
  */
206
147
  export type InspirationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Inspiration;
207
148
  export type InspirationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Inspiration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
5
5
  "main": "core/index.js",
6
6
  "types": "core/index.d.ts",