lol-constants 2.4.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/README.md +15 -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 +13 -0
  18. package/core/constants/DataDragonUrls.js +15 -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/QueueDescriptions.d.ts +21 -0
  30. package/core/constants/QueueDescriptions.js +26 -0
  31. package/core/constants/QueueIds.d.ts +56 -0
  32. package/core/constants/QueueIds.js +61 -0
  33. package/core/constants/RegionalApiUris.d.ts +8 -0
  34. package/core/constants/RegionalApiUris.js +13 -0
  35. package/core/constants/Regions.d.ts +8 -0
  36. package/core/constants/Regions.js +11 -8
  37. package/core/constants/Runes/NonStatRuneIds.d.ts +88 -0
  38. package/core/constants/Runes/NonStatRuneIds.js +4 -0
  39. package/core/constants/Runes/NonStatRuneIdsNum.d.ts +66 -0
  40. package/core/constants/Runes/NonStatRuneIdsNum.js +4 -0
  41. package/core/constants/Runes/NonStatRuneNames.d.ts +66 -0
  42. package/core/constants/Runes/NonStatRuneNames.js +4 -0
  43. package/core/constants/Runes/RuneSets.d.ts +2 -2
  44. package/core/constants/Runes/RuneSets.js +3 -3
  45. package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -14
  46. package/core/constants/Runes/RuneSetsByRuneNames.js +3 -3
  47. package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +48 -2
  48. package/core/constants/Runes/RuneSetsByRuneNamesNum.js +3 -3
  49. package/core/constants/Runes/TreeRuneIds.d.ts +5 -5
  50. package/core/constants/SkillSlots.d.ts +1 -1
  51. package/core/constants/SkillSlots.js +1 -1
  52. package/core/constants/TeamIds.d.ts +6 -0
  53. package/core/constants/TeamIds.js +11 -0
  54. package/core/helpers/Champions/isChampionKeyNum.d.ts +2 -0
  55. package/core/helpers/Champions/isChampionKeyNum.js +8 -0
  56. package/core/helpers/Items/isItemKeyNum.d.ts +2 -0
  57. package/core/helpers/Items/isItemKeyNum.js +8 -0
  58. package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +3 -0
  59. package/core/helpers/Runes/getNonStatRuneIdByName.js +8 -0
  60. package/core/helpers/Runes/getNonStatRuneNameById.d.ts +3 -0
  61. package/core/helpers/Runes/getNonStatRuneNameById.js +8 -0
  62. package/core/helpers/Runes/isDominationRuneId.d.ts +2 -0
  63. package/core/helpers/Runes/isDominationRuneId.js +8 -0
  64. package/core/helpers/Runes/isDominationRuneIdNum.d.ts +2 -0
  65. package/core/helpers/Runes/isDominationRuneIdNum.js +8 -0
  66. package/core/helpers/Runes/isDominationRuneName.d.ts +2 -0
  67. package/core/helpers/Runes/isDominationRuneName.js +8 -0
  68. package/core/helpers/Runes/isInspirationRuneId.d.ts +2 -0
  69. package/core/helpers/Runes/isInspirationRuneId.js +8 -0
  70. package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +2 -0
  71. package/core/helpers/Runes/isInspirationRuneIdNum.js +8 -0
  72. package/core/helpers/Runes/isInspirationRuneName.d.ts +2 -0
  73. package/core/helpers/Runes/isInspirationRuneName.js +8 -0
  74. package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +2 -0
  75. package/core/helpers/Runes/isKeystoneRuneIdNum.js +8 -0
  76. package/core/helpers/Runes/isKeystoneRuneName.d.ts +2 -0
  77. package/core/helpers/Runes/isKeystoneRuneName.js +8 -0
  78. package/core/helpers/Runes/isNonStatRuneId.d.ts +2 -0
  79. package/core/helpers/Runes/isNonStatRuneId.js +8 -0
  80. package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +2 -0
  81. package/core/helpers/Runes/isNonStatRuneIdNum.js +8 -0
  82. package/core/helpers/Runes/isNonStatRuneName.d.ts +2 -0
  83. package/core/helpers/Runes/isNonStatRuneName.js +8 -0
  84. package/core/helpers/Runes/isPrecisionRuneId.d.ts +2 -0
  85. package/core/helpers/Runes/isPrecisionRuneId.js +8 -0
  86. package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +2 -0
  87. package/core/helpers/Runes/isPrecisionRuneIdNum.js +8 -0
  88. package/core/helpers/Runes/isPrecisionRuneName.d.ts +2 -0
  89. package/core/helpers/Runes/isPrecisionRuneName.js +8 -0
  90. package/core/helpers/Runes/isResolveRuneId.d.ts +2 -0
  91. package/core/helpers/Runes/isResolveRuneId.js +8 -0
  92. package/core/helpers/Runes/isResolveRuneIdNum.d.ts +2 -0
  93. package/core/helpers/Runes/isResolveRuneIdNum.js +8 -0
  94. package/core/helpers/Runes/isResolveRuneName.d.ts +2 -0
  95. package/core/helpers/Runes/isResolveRuneName.js +8 -0
  96. package/core/helpers/Runes/isRuneIdNum.d.ts +2 -0
  97. package/core/helpers/Runes/isRuneIdNum.js +8 -0
  98. package/core/helpers/Runes/isSorceryRuneId.d.ts +2 -0
  99. package/core/helpers/Runes/isSorceryRuneId.js +8 -0
  100. package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +2 -0
  101. package/core/helpers/Runes/isSorceryRuneIdNum.js +8 -0
  102. package/core/helpers/Runes/isSorceryRuneName.d.ts +2 -0
  103. package/core/helpers/Runes/isSorceryRuneName.js +8 -0
  104. package/core/helpers/Runes/isStatRuneIdNum.d.ts +2 -0
  105. package/core/helpers/Runes/isStatRuneIdNum.js +8 -0
  106. package/core/helpers/Spells/isSpellKeyNum.d.ts +2 -0
  107. package/core/helpers/Spells/isSpellKeyNum.js +8 -0
  108. package/core/index.d.ts +35 -12
  109. package/core/index.js +35 -12
  110. package/core/types/types.d.ts +199 -82
  111. package/package.json +1 -1
@@ -1,151 +1,268 @@
1
1
  import { RuneSets } from '../constants/Runes/RuneSets';
2
2
  import { RuneSetsByRuneNames } from '../constants/Runes/RuneSetsByRuneNames';
3
+ import { RuneSetsByRuneNamesNum } from '../constants/Runes/RuneSetsByRuneNamesNum';
3
4
  import { RuneTreeName } from '../constants/Runes/RuneTreeNames';
4
5
  import { RuneTreeType } from '../constants/Runes/RuneTreeTypes';
5
6
  /**
6
- * 0 Custom games
7
- *
8
- * 400 5v5 Draft Pick games
9
- *
10
- * 420 — 5v5 Ranked Solo games
11
- *
12
- * 430 — 5v5 Blind Pick games
13
- *
14
- * 440 — 5v5 Ranked Flex games
15
- *
16
- * 450 — 5v5 ARAM games
17
- *
18
- * 700 — Clash games
19
- *
20
- * 900 — ARURF games
21
- *
22
- * 920 — Legend of the Poro King games
7
+ * There are 3 main Rune ID types:
8
+ * - `RuneId` (all),
9
+ * - `NonStatRuneId` (all but stat runes),
10
+ * - `StatRuneId` (only stat runes).
23
11
  *
24
- * 1020 One for All games
12
+ * There are 6 more specific Rune ID types as well:
13
+ * - `KeystoneRuneId`,
14
+ * - `PrecisionRuneId`,
15
+ * - `DominationRuneId`,
16
+ * - `SorceryRuneId`,
17
+ * - `ResolveRuneId`,
18
+ * - `InspirationRuneId`.
25
19
  *
26
- * 1090 Teamfight Tactics games
20
+ * There are 6 numerical Rune ID types:
21
+ * - `KeystoneRuneIdNum`,
22
+ * - `PrecisionRuneIdNum`,
23
+ * - `DominationRuneIdNum`,
24
+ * - `SorceryRuneIdNum`,
25
+ * - `ResolveRuneIdNum`,
26
+ * - `InspirationRuneIdNum`.
27
+ */
28
+ export type KeystoneRuneId = keyof typeof RuneSets.KeystoneNames;
29
+ /**
30
+ * There are 3 main Rune ID types:
31
+ * - `RuneId` (all),
32
+ * - `NonStatRuneId` (all but stat runes),
33
+ * - `StatRuneId` (only stat runes).
27
34
  *
28
- * 1100 Ranked Teamfight Tactics games
35
+ * There are 6 more specific Rune ID types as well:
36
+ * - `KeystoneRuneId`,
37
+ * - `PrecisionRuneId`,
38
+ * - `DominationRuneId`,
39
+ * - `SorceryRuneId`,
40
+ * - `ResolveRuneId`,
41
+ * - `InspirationRuneId`.
29
42
  *
30
- * 1110 Teamfight Tactics Tutorial games
43
+ * There are 6 numerical Rune ID types:
44
+ * - `KeystoneRuneIdNum`,
45
+ * - `PrecisionRuneIdNum`,
46
+ * - `DominationRuneIdNum`,
47
+ * - `SorceryRuneIdNum`,
48
+ * - `ResolveRuneIdNum`,
49
+ * - `InspirationRuneIdNum`.
50
+ */
51
+ export type KeystoneRuneIdNum = typeof RuneSetsByRuneNamesNum.KeystoneIdsNum[keyof typeof RuneSetsByRuneNamesNum.KeystoneIdsNum];
52
+ export type KeystoneRuneName = keyof typeof RuneSetsByRuneNames.KeystoneIds;
53
+ /**
54
+ * There are 3 main Rune ID types:
55
+ * - `RuneId` (all),
56
+ * - `NonStatRuneId` (all but stat runes),
57
+ * - `StatRuneId` (only stat runes).
31
58
  *
32
- * 1111 Teamfight Tactics test games
59
+ * There are 6 more specific Rune ID types as well:
60
+ * - `KeystoneRuneId`,
61
+ * - `PrecisionRuneId`,
62
+ * - `DominationRuneId`,
63
+ * - `SorceryRuneId`,
64
+ * - `ResolveRuneId`,
65
+ * - `InspirationRuneId`.
33
66
  *
34
- * 1300 Nexus Blitz games
67
+ * There are 6 numerical Rune ID types:
68
+ * - `KeystoneRuneIdNum`,
69
+ * - `PrecisionRuneIdNum`,
70
+ * - `DominationRuneIdNum`,
71
+ * - `SorceryRuneIdNum`,
72
+ * - `ResolveRuneIdNum`,
73
+ * - `InspirationRuneIdNum`.
74
+ */
75
+ export type PrecisionRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Precision;
76
+ /**
77
+ * There are 3 main Rune ID types:
78
+ * - `RuneId` (all),
79
+ * - `NonStatRuneId` (all but stat runes),
80
+ * - `StatRuneId` (only stat runes).
35
81
  *
36
- * 1400 Ultimate Spellbook games
82
+ * There are 6 more specific Rune ID types as well:
83
+ * - `KeystoneRuneId`,
84
+ * - `PrecisionRuneId`,
85
+ * - `DominationRuneId`,
86
+ * - `SorceryRuneId`,
87
+ * - `ResolveRuneId`,
88
+ * - `InspirationRuneId`.
37
89
  *
38
- * 1900 Pick URF games
90
+ * There are 6 numerical Rune ID types:
91
+ * - `KeystoneRuneIdNum`,
92
+ * - `PrecisionRuneIdNum`,
93
+ * - `DominationRuneIdNum`,
94
+ * - `SorceryRuneIdNum`,
95
+ * - `ResolveRuneIdNum`,
96
+ * - `InspirationRuneIdNum`.
39
97
  */
40
- export type QueueId = 0 | 400 | 420 | 430 | 440 | 450 | 700 | 900 | 920 | 1020 | 1090 | 1100 | 1110 | 1111 | 1300 | 1400 | 1900;
98
+ export type PrecisionRuneIdNum = typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Precision[keyof typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Precision];
99
+ export type PrecisionRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Precision;
41
100
  /**
42
- * 11 Summoner's Rift
43
- *
44
- * 12 Howling Abyss
101
+ * There are 3 main Rune ID types:
102
+ * - `RuneId` (all),
103
+ * - `NonStatRuneId` (all but stat runes),
104
+ * - `StatRuneId` (only stat runes).
45
105
  *
46
- * 21 Nexus Blitz
106
+ * There are 6 more specific Rune ID types as well:
107
+ * - `KeystoneRuneId`,
108
+ * - `PrecisionRuneId`,
109
+ * - `DominationRuneId`,
110
+ * - `SorceryRuneId`,
111
+ * - `ResolveRuneId`,
112
+ * - `InspirationRuneId`.
47
113
  *
48
- * 22 Convergence
114
+ * There are 6 numerical Rune ID types:
115
+ * - `KeystoneRuneIdNum`,
116
+ * - `PrecisionRuneIdNum`,
117
+ * - `DominationRuneIdNum`,
118
+ * - `SorceryRuneIdNum`,
119
+ * - `ResolveRuneIdNum`,
120
+ * - `InspirationRuneIdNum`.
49
121
  */
50
- export type MapId = 11 | 12 | 21 | 22;
51
- export type TeamId = 100 | 200;
52
- export type ParticipantId = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
122
+ export type DominationRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Domination;
53
123
  /**
54
124
  * There are 3 main Rune ID types:
55
125
  * - `RuneId` (all),
56
- * - `TreeRuneId` (all but stat runes),
126
+ * - `NonStatRuneId` (all but stat runes),
57
127
  * - `StatRuneId` (only stat runes).
58
128
  *
59
129
  * There are 6 more specific Rune ID types as well:
60
130
  * - `KeystoneRuneId`,
61
- * - `PrecisionTreeRuneId`,
62
- * - `DominationTreeRuneId`,
63
- * - `SorceryTreeRuneId`,
64
- * - `ResolveTreeRuneId`,
65
- * - `InspirationTreeRuneId`.
131
+ * - `PrecisionRuneId`,
132
+ * - `DominationRuneId`,
133
+ * - `SorceryRuneId`,
134
+ * - `ResolveRuneId`,
135
+ * - `InspirationRuneId`.
136
+ *
137
+ * There are 6 numerical Rune ID types:
138
+ * - `KeystoneRuneIdNum`,
139
+ * - `PrecisionRuneIdNum`,
140
+ * - `DominationRuneIdNum`,
141
+ * - `SorceryRuneIdNum`,
142
+ * - `ResolveRuneIdNum`,
143
+ * - `InspirationRuneIdNum`.
66
144
  */
67
- export type KeystoneRuneId = keyof typeof RuneSets.KeystoneNames;
68
- export type KeystoneRuneName = keyof typeof RuneSetsByRuneNames.KeystoneIds;
145
+ export type DominationRuneIdNum = typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Domination[keyof typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Domination];
146
+ export type DominationRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Domination;
69
147
  /**
70
148
  * There are 3 main Rune ID types:
71
149
  * - `RuneId` (all),
72
- * - `TreeRuneId` (all but stat runes),
150
+ * - `NonStatRuneId` (all but stat runes),
73
151
  * - `StatRuneId` (only stat runes).
74
152
  *
75
153
  * There are 6 more specific Rune ID types as well:
76
154
  * - `KeystoneRuneId`,
77
- * - `PrecisionTreeRuneId`,
78
- * - `DominationTreeRuneId`,
79
- * - `SorceryTreeRuneId`,
80
- * - `ResolveTreeRuneId`,
81
- * - `InspirationTreeRuneId`.
155
+ * - `PrecisionRuneId`,
156
+ * - `DominationRuneId`,
157
+ * - `SorceryRuneId`,
158
+ * - `ResolveRuneId`,
159
+ * - `InspirationRuneId`.
160
+ *
161
+ * There are 6 numerical Rune ID types:
162
+ * - `KeystoneRuneIdNum`,
163
+ * - `PrecisionRuneIdNum`,
164
+ * - `DominationRuneIdNum`,
165
+ * - `SorceryRuneIdNum`,
166
+ * - `ResolveRuneIdNum`,
167
+ * - `InspirationRuneIdNum`.
82
168
  */
83
- export type PrecisionTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Precision;
84
- export type PrecisionTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Precision;
169
+ export type SorceryRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Sorcery;
170
+ export type SorceryRuneIdNum = typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Sorcery[keyof typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Sorcery];
171
+ export type SorceryRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Sorcery;
85
172
  /**
86
173
  * There are 3 main Rune ID types:
87
174
  * - `RuneId` (all),
88
- * - `TreeRuneId` (all but stat runes),
175
+ * - `NonStatRuneId` (all but stat runes),
89
176
  * - `StatRuneId` (only stat runes).
90
177
  *
91
178
  * There are 6 more specific Rune ID types as well:
92
179
  * - `KeystoneRuneId`,
93
- * - `PrecisionTreeRuneId`,
94
- * - `DominationTreeRuneId`,
95
- * - `SorceryTreeRuneId`,
96
- * - `ResolveTreeRuneId`,
97
- * - `InspirationTreeRuneId`.
180
+ * - `PrecisionRuneId`,
181
+ * - `DominationRuneId`,
182
+ * - `SorceryRuneId`,
183
+ * - `ResolveRuneId`,
184
+ * - `InspirationRuneId`.
185
+ *
186
+ * There are 6 numerical Rune ID types:
187
+ * - `KeystoneRuneIdNum`,
188
+ * - `PrecisionRuneIdNum`,
189
+ * - `DominationRuneIdNum`,
190
+ * - `SorceryRuneIdNum`,
191
+ * - `ResolveRuneIdNum`,
192
+ * - `InspirationRuneIdNum`.
98
193
  */
99
- export type DominationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Domination;
100
- export type DominationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Domination;
194
+ export type ResolveRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Resolve;
101
195
  /**
102
196
  * There are 3 main Rune ID types:
103
197
  * - `RuneId` (all),
104
- * - `TreeRuneId` (all but stat runes),
198
+ * - `NonStatRuneId` (all but stat runes),
105
199
  * - `StatRuneId` (only stat runes).
106
200
  *
107
201
  * There are 6 more specific Rune ID types as well:
108
202
  * - `KeystoneRuneId`,
109
- * - `PrecisionTreeRuneId`,
110
- * - `DominationTreeRuneId`,
111
- * - `SorceryTreeRuneId`,
112
- * - `ResolveTreeRuneId`,
113
- * - `InspirationTreeRuneId`.
203
+ * - `PrecisionRuneId`,
204
+ * - `DominationRuneId`,
205
+ * - `SorceryRuneId`,
206
+ * - `ResolveRuneId`,
207
+ * - `InspirationRuneId`.
208
+ *
209
+ * There are 6 numerical Rune ID types:
210
+ * - `KeystoneRuneIdNum`,
211
+ * - `PrecisionRuneIdNum`,
212
+ * - `DominationRuneIdNum`,
213
+ * - `SorceryRuneIdNum`,
214
+ * - `ResolveRuneIdNum`,
215
+ * - `InspirationRuneIdNum`.
114
216
  */
115
- export type SorceryTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Sorcery;
116
- export type SorceryTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Sorcery;
217
+ export type ResolveRuneIdNum = typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Resolve[keyof typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Resolve];
218
+ export type ResolveRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Resolve;
117
219
  /**
118
220
  * There are 3 main Rune ID types:
119
221
  * - `RuneId` (all),
120
- * - `TreeRuneId` (all but stat runes),
222
+ * - `NonStatRuneId` (all but stat runes),
121
223
  * - `StatRuneId` (only stat runes).
122
224
  *
123
225
  * There are 6 more specific Rune ID types as well:
124
226
  * - `KeystoneRuneId`,
125
- * - `PrecisionTreeRuneId`,
126
- * - `DominationTreeRuneId`,
127
- * - `SorceryTreeRuneId`,
128
- * - `ResolveTreeRuneId`,
129
- * - `InspirationTreeRuneId`.
227
+ * - `PrecisionRuneId`,
228
+ * - `DominationRuneId`,
229
+ * - `SorceryRuneId`,
230
+ * - `ResolveRuneId`,
231
+ * - `InspirationRuneId`.
232
+ *
233
+ * There are 6 numerical Rune ID types:
234
+ * - `KeystoneRuneIdNum`,
235
+ * - `PrecisionRuneIdNum`,
236
+ * - `DominationRuneIdNum`,
237
+ * - `SorceryRuneIdNum`,
238
+ * - `ResolveRuneIdNum`,
239
+ * - `InspirationRuneIdNum`.
130
240
  */
131
- export type ResolveTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Resolve;
132
- export type ResolveTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Resolve;
241
+ export type InspirationRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Inspiration;
133
242
  /**
134
243
  * There are 3 main Rune ID types:
135
244
  * - `RuneId` (all),
136
- * - `TreeRuneId` (all but stat runes),
245
+ * - `NonStatRuneId` (all but stat runes),
137
246
  * - `StatRuneId` (only stat runes).
138
247
  *
139
248
  * There are 6 more specific Rune ID types as well:
140
249
  * - `KeystoneRuneId`,
141
- * - `PrecisionTreeRuneId`,
142
- * - `DominationTreeRuneId`,
143
- * - `SorceryTreeRuneId`,
144
- * - `ResolveTreeRuneId`,
145
- * - `InspirationTreeRuneId`.
250
+ * - `PrecisionRuneId`,
251
+ * - `DominationRuneId`,
252
+ * - `SorceryRuneId`,
253
+ * - `ResolveRuneId`,
254
+ * - `InspirationRuneId`.
255
+ *
256
+ * There are 6 numerical Rune ID types:
257
+ * - `KeystoneRuneIdNum`,
258
+ * - `PrecisionRuneIdNum`,
259
+ * - `DominationRuneIdNum`,
260
+ * - `SorceryRuneIdNum`,
261
+ * - `ResolveRuneIdNum`,
262
+ * - `InspirationRuneIdNum`.
146
263
  */
147
- export type InspirationTreeRuneId = keyof typeof RuneSets.PrimaryRuneTrees.Inspiration;
148
- export type InspirationTreeRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Inspiration;
264
+ export type InspirationRuneIdNum = typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Inspiration[keyof typeof RuneSetsByRuneNamesNum.PrimaryRuneTreesByRuneNamesNum.Inspiration];
265
+ export type InspirationRuneName = keyof typeof RuneSetsByRuneNames.PrimaryRuneTreesByRuneNames.Inspiration;
149
266
  export type StatRunesCategory = 'StatRunes';
150
267
  export type RuneSection = RuneTreeType | StatRunesCategory;
151
268
  export type RuneCategory = RuneTreeName | StatRunesCategory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.4.0",
3
+ "version": "2.6.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",