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.
- package/README.md +15 -0
- package/assets/scripts/constants/RuneIdComment.d.ts +1 -1
- package/assets/scripts/constants/RuneIdComment.js +14 -6
- package/assets/scripts/generate-all.d.ts +3 -3
- package/assets/scripts/generate-all.js +3 -3
- package/assets/scripts/generate-non-stat-rune-ids-num.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-ids-num.js +23 -0
- package/assets/scripts/generate-non-stat-rune-ids.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-ids.js +24 -0
- package/assets/scripts/generate-non-stat-rune-names.d.ts +1 -0
- package/assets/scripts/generate-non-stat-rune-names.js +22 -0
- package/assets/scripts/generate-rune-sets-by-rune-names-num.js +16 -11
- package/assets/scripts/generate-rune-sets-by-rune-names.js +11 -11
- package/assets/scripts/generate-rune-sets.js +11 -11
- package/core/constants/Continents.d.ts +8 -0
- package/core/constants/Continents.js +13 -0
- package/core/constants/DataDragonUrls.d.ts +13 -0
- package/core/constants/DataDragonUrls.js +15 -1
- package/core/constants/Locales.d.ts +29 -1
- package/core/constants/Locales.js +29 -1
- package/core/constants/MapIds.d.ts +17 -0
- package/core/constants/MapIds.js +22 -0
- package/core/constants/ParticipantIds.d.ts +14 -0
- package/core/constants/ParticipantIds.js +19 -0
- package/core/constants/PlatformApiUris.d.ts +20 -0
- package/core/constants/PlatformApiUris.js +25 -0
- package/core/constants/PlatformIds.d.ts +8 -0
- package/core/constants/PlatformIds.js +11 -1
- package/core/constants/QueueDescriptions.d.ts +21 -0
- package/core/constants/QueueDescriptions.js +26 -0
- package/core/constants/QueueIds.d.ts +56 -0
- package/core/constants/QueueIds.js +61 -0
- package/core/constants/RegionalApiUris.d.ts +8 -0
- package/core/constants/RegionalApiUris.js +13 -0
- package/core/constants/Regions.d.ts +8 -0
- package/core/constants/Regions.js +11 -8
- package/core/constants/Runes/NonStatRuneIds.d.ts +88 -0
- package/core/constants/Runes/NonStatRuneIds.js +4 -0
- package/core/constants/Runes/NonStatRuneIdsNum.d.ts +66 -0
- package/core/constants/Runes/NonStatRuneIdsNum.js +4 -0
- package/core/constants/Runes/NonStatRuneNames.d.ts +66 -0
- package/core/constants/Runes/NonStatRuneNames.js +4 -0
- package/core/constants/Runes/RuneSets.d.ts +2 -2
- package/core/constants/Runes/RuneSets.js +3 -3
- package/core/constants/Runes/RuneSetsByRuneNames.d.ts +30 -14
- package/core/constants/Runes/RuneSetsByRuneNames.js +3 -3
- package/core/constants/Runes/RuneSetsByRuneNamesNum.d.ts +48 -2
- package/core/constants/Runes/RuneSetsByRuneNamesNum.js +3 -3
- package/core/constants/Runes/TreeRuneIds.d.ts +5 -5
- package/core/constants/SkillSlots.d.ts +1 -1
- package/core/constants/SkillSlots.js +1 -1
- package/core/constants/TeamIds.d.ts +6 -0
- package/core/constants/TeamIds.js +11 -0
- package/core/helpers/Champions/isChampionKeyNum.d.ts +2 -0
- package/core/helpers/Champions/isChampionKeyNum.js +8 -0
- package/core/helpers/Items/isItemKeyNum.d.ts +2 -0
- package/core/helpers/Items/isItemKeyNum.js +8 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.d.ts +3 -0
- package/core/helpers/Runes/getNonStatRuneIdByName.js +8 -0
- package/core/helpers/Runes/getNonStatRuneNameById.d.ts +3 -0
- package/core/helpers/Runes/getNonStatRuneNameById.js +8 -0
- package/core/helpers/Runes/isDominationRuneId.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneId.js +8 -0
- package/core/helpers/Runes/isDominationRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneIdNum.js +8 -0
- package/core/helpers/Runes/isDominationRuneName.d.ts +2 -0
- package/core/helpers/Runes/isDominationRuneName.js +8 -0
- package/core/helpers/Runes/isInspirationRuneId.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneId.js +8 -0
- package/core/helpers/Runes/isInspirationRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneIdNum.js +8 -0
- package/core/helpers/Runes/isInspirationRuneName.d.ts +2 -0
- package/core/helpers/Runes/isInspirationRuneName.js +8 -0
- package/core/helpers/Runes/isKeystoneRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isKeystoneRuneIdNum.js +8 -0
- package/core/helpers/Runes/isKeystoneRuneName.d.ts +2 -0
- package/core/helpers/Runes/isKeystoneRuneName.js +8 -0
- package/core/helpers/Runes/isNonStatRuneId.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneId.js +8 -0
- package/core/helpers/Runes/isNonStatRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneIdNum.js +8 -0
- package/core/helpers/Runes/isNonStatRuneName.d.ts +2 -0
- package/core/helpers/Runes/isNonStatRuneName.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneId.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneId.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneIdNum.js +8 -0
- package/core/helpers/Runes/isPrecisionRuneName.d.ts +2 -0
- package/core/helpers/Runes/isPrecisionRuneName.js +8 -0
- package/core/helpers/Runes/isResolveRuneId.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneId.js +8 -0
- package/core/helpers/Runes/isResolveRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneIdNum.js +8 -0
- package/core/helpers/Runes/isResolveRuneName.d.ts +2 -0
- package/core/helpers/Runes/isResolveRuneName.js +8 -0
- package/core/helpers/Runes/isRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isRuneIdNum.js +8 -0
- package/core/helpers/Runes/isSorceryRuneId.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneId.js +8 -0
- package/core/helpers/Runes/isSorceryRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneIdNum.js +8 -0
- package/core/helpers/Runes/isSorceryRuneName.d.ts +2 -0
- package/core/helpers/Runes/isSorceryRuneName.js +8 -0
- package/core/helpers/Runes/isStatRuneIdNum.d.ts +2 -0
- package/core/helpers/Runes/isStatRuneIdNum.js +8 -0
- package/core/helpers/Spells/isSpellKeyNum.d.ts +2 -0
- package/core/helpers/Spells/isSpellKeyNum.js +8 -0
- package/core/index.d.ts +35 -12
- package/core/index.js +35 -12
- package/core/types/types.d.ts +199 -82
- package/package.json +1 -1
package/core/types/types.d.ts
CHANGED
@@ -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
|
-
*
|
7
|
-
*
|
8
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
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
|
-
*
|
43
|
-
*
|
44
|
-
*
|
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
|
-
*
|
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
|
-
*
|
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
|
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
|
-
* - `
|
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
|
-
* - `
|
62
|
-
* - `
|
63
|
-
* - `
|
64
|
-
* - `
|
65
|
-
* - `
|
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
|
68
|
-
export type
|
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
|
-
* - `
|
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
|
-
* - `
|
78
|
-
* - `
|
79
|
-
* - `
|
80
|
-
* - `
|
81
|
-
* - `
|
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
|
84
|
-
export type
|
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
|
-
* - `
|
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
|
-
* - `
|
94
|
-
* - `
|
95
|
-
* - `
|
96
|
-
* - `
|
97
|
-
* - `
|
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
|
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
|
-
* - `
|
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
|
-
* - `
|
110
|
-
* - `
|
111
|
-
* - `
|
112
|
-
* - `
|
113
|
-
* - `
|
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
|
116
|
-
export type
|
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
|
-
* - `
|
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
|
-
* - `
|
126
|
-
* - `
|
127
|
-
* - `
|
128
|
-
* - `
|
129
|
-
* - `
|
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
|
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
|
-
* - `
|
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
|
-
* - `
|
142
|
-
* - `
|
143
|
-
* - `
|
144
|
-
* - `
|
145
|
-
* - `
|
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
|
148
|
-
export type
|
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