lol-constants 1.0.1 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/assets/index.js +1 -1
- package/assets/scripts/Helpers/enableSpreadValues.d.ts +15 -0
- package/assets/scripts/Helpers/enableSpreadValues.js +38 -0
- package/assets/scripts/Helpers/getExportStatement.d.ts +1 -1
- package/assets/scripts/Helpers/getExportStatement.js +8 -2
- package/assets/scripts/Helpers/getFmtdComment.d.ts +5 -0
- package/assets/scripts/Helpers/getFmtdComment.js +15 -0
- package/assets/scripts/Helpers/writeToTmpFile.d.ts +8 -0
- package/assets/scripts/Helpers/writeToTmpFile.js +22 -0
- package/assets/scripts/generate-all.d.ts +1 -0
- package/assets/scripts/generate-all.js +1 -0
- package/{dist/scripts/generate-champion-ids-by-name.d.ts → assets/scripts/generate-rune-sets.d.ts} +0 -0
- package/assets/scripts/generate-rune-sets.js +94 -0
- package/dist/Constants/{ChampionIds.d.ts → Champions/ChampionIds.d.ts} +0 -0
- package/dist/Constants/{ChampionIds.js → Champions/ChampionIds.js} +0 -0
- package/dist/Constants/{ChampionIdsByName.d.ts → Champions/ChampionIdsByName.d.ts} +0 -0
- package/dist/Constants/{ChampionIdsByName.js → Champions/ChampionIdsByName.js} +0 -0
- package/dist/Constants/{ChampionKeys.d.ts → Champions/ChampionKeys.d.ts} +0 -0
- package/dist/Constants/{ChampionKeys.js → Champions/ChampionKeys.js} +0 -0
- package/dist/Constants/{ChampionNames.d.ts → Champions/ChampionNames.d.ts} +0 -0
- package/dist/Constants/{ChampionNames.js → Champions/ChampionNames.js} +0 -0
- package/dist/Constants/{ItemKeys.d.ts → Items/ItemKeys.d.ts} +0 -0
- package/dist/Constants/{ItemKeys.js → Items/ItemKeys.js} +0 -0
- package/dist/Constants/{ItemNames.d.ts → Items/ItemNames.d.ts} +0 -0
- package/dist/Constants/{ItemNames.js → Items/ItemNames.js} +0 -0
- package/dist/Constants/{RuneIds.d.ts → Runes/RuneIds.d.ts} +9 -9
- package/dist/Constants/Runes/RuneIds.js +9 -0
- package/dist/Constants/{RuneNames.d.ts → Runes/RuneNames.d.ts} +3 -3
- package/dist/Constants/Runes/RuneNames.js +9 -0
- package/dist/Constants/Runes/RuneSets.d.ts +479 -0
- package/dist/Constants/Runes/RuneSets.js +12 -0
- package/dist/Constants/{StatRuneIds.d.ts → Runes/StatRuneIds.d.ts} +0 -0
- package/dist/Constants/{StatRuneIds.js → Runes/StatRuneIds.js} +0 -0
- package/dist/Constants/{StatRuneNames.d.ts → Runes/StatRuneNames.d.ts} +0 -0
- package/dist/Constants/{StatRuneNames.js → Runes/StatRuneNames.js} +0 -0
- package/dist/Constants/{TreeRuneIds.d.ts → Runes/TreeRuneIds.d.ts} +0 -0
- package/dist/Constants/{TreeRuneIds.js → Runes/TreeRuneIds.js} +0 -0
- package/dist/Constants/{TreeRuneNames.d.ts → Runes/TreeRuneNames.d.ts} +0 -0
- package/dist/Constants/{TreeRuneNames.js → Runes/TreeRuneNames.js} +0 -0
- package/dist/Constants/{SpellIds.d.ts → Spells/SpellIds.d.ts} +0 -0
- package/dist/Constants/{SpellIds.js → Spells/SpellIds.js} +0 -0
- package/dist/Constants/{SpellIdsByName.d.ts → Spells/SpellIdsByName.d.ts} +0 -0
- package/dist/Constants/{SpellIdsByName.js → Spells/SpellIdsByName.js} +0 -0
- package/dist/Constants/{SpellKeys.d.ts → Spells/SpellKeys.d.ts} +0 -0
- package/dist/Constants/{SpellKeys.js → Spells/SpellKeys.js} +0 -0
- package/dist/Constants/{SpellNames.d.ts → Spells/SpellNames.d.ts} +0 -0
- package/dist/Constants/{SpellNames.js → Spells/SpellNames.js} +0 -0
- package/dist/Helpers/{getChampionIdByKey.d.ts → Champions/getChampionIdByKey.d.ts} +1 -1
- package/dist/Helpers/{getChampionIdByKey.js → Champions/getChampionIdByKey.js} +1 -1
- package/dist/Helpers/{getChampionIdByName.d.ts → Champions/getChampionIdByName.d.ts} +1 -1
- package/dist/Helpers/{getChampionIdByName.js → Champions/getChampionIdByName.js} +1 -1
- package/dist/Helpers/{getChampionKeyById.d.ts → Champions/getChampionKeyById.d.ts} +1 -1
- package/dist/Helpers/{getChampionKeyById.js → Champions/getChampionKeyById.js} +1 -1
- package/dist/Helpers/{getChampionKeyByName.d.ts → Champions/getChampionKeyByName.d.ts} +1 -1
- package/dist/Helpers/{getChampionKeyByName.js → Champions/getChampionKeyByName.js} +2 -2
- package/dist/Helpers/{getChampionNameById.d.ts → Champions/getChampionNameById.d.ts} +1 -1
- package/dist/Helpers/{getChampionNameById.js → Champions/getChampionNameById.js} +2 -2
- package/dist/Helpers/{getChampionNameByKey.d.ts → Champions/getChampionNameByKey.d.ts} +1 -1
- package/dist/Helpers/{getChampionNameByKey.js → Champions/getChampionNameByKey.js} +1 -1
- package/dist/Helpers/{isChampionId.d.ts → Champions/isChampionId.d.ts} +1 -1
- package/dist/Helpers/{isChampionId.js → Champions/isChampionId.js} +1 -1
- package/dist/Helpers/{isChampionKey.d.ts → Champions/isChampionKey.d.ts} +1 -1
- package/dist/Helpers/{isChampionKey.js → Champions/isChampionKey.js} +1 -1
- package/dist/Helpers/{isChampionName.d.ts → Champions/isChampionName.d.ts} +1 -1
- package/dist/Helpers/{isChampionName.js → Champions/isChampionName.js} +1 -1
- package/dist/Helpers/{getItemKeyByName.d.ts → Items/getItemKeyByName.d.ts} +1 -1
- package/dist/Helpers/{getItemKeyByName.js → Items/getItemKeyByName.js} +1 -1
- package/dist/Helpers/{getItemNameByKey.d.ts → Items/getItemNameByKey.d.ts} +1 -1
- package/dist/Helpers/{getItemNameByKey.js → Items/getItemNameByKey.js} +1 -1
- package/dist/Helpers/{isItemKey.d.ts → Items/isItemKey.d.ts} +1 -1
- package/dist/Helpers/{isItemKey.js → Items/isItemKey.js} +1 -1
- package/dist/Helpers/{isItemName.d.ts → Items/isItemName.d.ts} +1 -1
- package/dist/Helpers/{isItemName.js → Items/isItemName.js} +1 -1
- package/dist/Helpers/{getRuneIdByName.d.ts → Runes/getRuneIdByName.d.ts} +1 -1
- package/dist/Helpers/{getRuneIdByName.js → Runes/getRuneIdByName.js} +1 -1
- package/dist/Helpers/{getRuneNameById.d.ts → Runes/getRuneNameById.d.ts} +1 -1
- package/dist/Helpers/{getRuneNameById.js → Runes/getRuneNameById.js} +1 -1
- package/dist/Helpers/{getStatRuneIdByName.d.ts → Runes/getStatRuneIdByName.d.ts} +1 -1
- package/dist/Helpers/{getStatRuneIdByName.js → Runes/getStatRuneIdByName.js} +1 -1
- package/dist/Helpers/{getStatRuneNameById.d.ts → Runes/getStatRuneNameById.d.ts} +1 -1
- package/dist/Helpers/{getStatRuneNameById.js → Runes/getStatRuneNameById.js} +1 -1
- package/dist/Helpers/{getTreeRuneIdByName.d.ts → Runes/getTreeRuneIdByName.d.ts} +1 -1
- package/dist/Helpers/{getTreeRuneIdByName.js → Runes/getTreeRuneIdByName.js} +1 -1
- package/dist/Helpers/{getTreeRuneNameById.d.ts → Runes/getTreeRuneNameById.d.ts} +1 -1
- package/dist/Helpers/{getTreeRuneNameById.js → Runes/getTreeRuneNameById.js} +1 -1
- package/dist/Helpers/Runes/isDominationTreeRuneId.d.ts +2 -0
- package/dist/Helpers/Runes/isDominationTreeRuneId.js +8 -0
- package/dist/Helpers/Runes/isInspirationTreeRuneId.d.ts +2 -0
- package/dist/Helpers/Runes/isInspirationTreeRuneId.js +8 -0
- package/dist/Helpers/Runes/isKeystoneRuneId.d.ts +2 -0
- package/dist/Helpers/Runes/isKeystoneRuneId.js +8 -0
- package/dist/Helpers/Runes/isPrecisionTreeRuneId.d.ts +2 -0
- package/dist/Helpers/Runes/isPrecisionTreeRuneId.js +8 -0
- package/dist/Helpers/Runes/isResolveTreeRuneId.d.ts +2 -0
- package/dist/Helpers/Runes/isResolveTreeRuneId.js +8 -0
- package/dist/Helpers/{isRuneId.d.ts → Runes/isRuneId.d.ts} +1 -1
- package/dist/Helpers/{isRuneId.js → Runes/isRuneId.js} +1 -1
- package/dist/Helpers/{isRuneName.d.ts → Runes/isRuneName.d.ts} +1 -1
- package/dist/Helpers/{isRuneName.js → Runes/isRuneName.js} +1 -1
- package/dist/Helpers/Runes/isSorceryTreeRuneId.d.ts +2 -0
- package/dist/Helpers/Runes/isSorceryTreeRuneId.js +8 -0
- package/dist/Helpers/{isStatRuneId.d.ts → Runes/isStatRuneId.d.ts} +1 -1
- package/dist/Helpers/{isStatRuneId.js → Runes/isStatRuneId.js} +1 -1
- package/dist/Helpers/{isStatRuneName.d.ts → Runes/isStatRuneName.d.ts} +1 -1
- package/dist/Helpers/{isStatRuneName.js → Runes/isStatRuneName.js} +1 -1
- package/dist/Helpers/{isTreeRuneId.d.ts → Runes/isTreeRuneId.d.ts} +1 -1
- package/dist/Helpers/{isTreeRuneId.js → Runes/isTreeRuneId.js} +1 -1
- package/dist/Helpers/{isTreeRuneName.d.ts → Runes/isTreeRuneName.d.ts} +1 -1
- package/dist/Helpers/{isTreeRuneName.js → Runes/isTreeRuneName.js} +1 -1
- package/dist/Helpers/{getSpellIdByKey.d.ts → Spells/getSpellIdByKey.d.ts} +1 -1
- package/dist/Helpers/{getSpellIdByKey.js → Spells/getSpellIdByKey.js} +1 -1
- package/dist/Helpers/{getSpellIdByName.d.ts → Spells/getSpellIdByName.d.ts} +1 -1
- package/dist/Helpers/{getSpellIdByName.js → Spells/getSpellIdByName.js} +1 -1
- package/dist/Helpers/{getSpellKeyById.d.ts → Spells/getSpellKeyById.d.ts} +1 -1
- package/dist/Helpers/{getSpellKeyById.js → Spells/getSpellKeyById.js} +1 -1
- package/dist/Helpers/{getSpellKeyByName.d.ts → Spells/getSpellKeyByName.d.ts} +1 -1
- package/dist/Helpers/{getSpellKeyByName.js → Spells/getSpellKeyByName.js} +2 -2
- package/dist/Helpers/{getSpellNameById.d.ts → Spells/getSpellNameById.d.ts} +1 -1
- package/dist/Helpers/{getSpellNameById.js → Spells/getSpellNameById.js} +2 -2
- package/dist/Helpers/{getSpellNameByKey.d.ts → Spells/getSpellNameByKey.d.ts} +1 -1
- package/dist/Helpers/{getSpellNameByKey.js → Spells/getSpellNameByKey.js} +1 -1
- package/dist/Helpers/{isSpellId.d.ts → Spells/isSpellId.d.ts} +1 -1
- package/dist/Helpers/{isSpellId.js → Spells/isSpellId.js} +1 -1
- package/dist/Helpers/{isSpellKey.d.ts → Spells/isSpellKey.d.ts} +1 -1
- package/dist/Helpers/{isSpellKey.js → Spells/isSpellKey.js} +1 -1
- package/dist/Helpers/{isSpellName.d.ts → Spells/isSpellName.d.ts} +1 -1
- package/dist/Helpers/{isSpellName.js → Spells/isSpellName.js} +1 -1
- package/dist/index.d.ts +56 -50
- package/dist/index.js +92 -95
- package/dist/types/index.d.ts +21 -21
- package/package.json +3 -5
- package/dist/Constants/RuneIds.js +0 -4
- package/dist/Constants/RuneNames.js +0 -4
- package/dist/Constants/RuneSets.d.ts +0 -77
- package/dist/Constants/RuneSets.js +0 -210
- package/dist/assets/StatRunes.d.ts +0 -11
- package/dist/assets/StatRunes.js +0 -14
- package/dist/assets/champion.json +0 -1
- package/dist/assets/index.d.ts +0 -17216
- package/dist/assets/index.js +0 -17
- package/dist/assets/item.json +0 -1
- package/dist/assets/runesReforged.json +0 -1
- package/dist/assets/summoner.json +0 -1
- package/dist/scripts/Helpers/getExportStatement.d.ts +0 -6
- package/dist/scripts/Helpers/getExportStatement.js +0 -10
- package/dist/scripts/generate-all.d.ts +0 -16
- package/dist/scripts/generate-all.js +0 -18
- package/dist/scripts/generate-champion-ids-by-name.js +0 -20
- package/dist/scripts/generate-champion-ids.d.ts +0 -1
- package/dist/scripts/generate-champion-ids.js +0 -20
- package/dist/scripts/generate-champion-keys.d.ts +0 -1
- package/dist/scripts/generate-champion-keys.js +0 -20
- package/dist/scripts/generate-champion-names.d.ts +0 -1
- package/dist/scripts/generate-champion-names.js +0 -20
- package/dist/scripts/generate-item-keys.d.ts +0 -1
- package/dist/scripts/generate-item-keys.js +0 -21
- package/dist/scripts/generate-item-names.d.ts +0 -1
- package/dist/scripts/generate-item-names.js +0 -21
- package/dist/scripts/generate-rune-ids.d.ts +0 -1
- package/dist/scripts/generate-rune-ids.js +0 -29
- package/dist/scripts/generate-rune-names.d.ts +0 -1
- package/dist/scripts/generate-rune-names.js +0 -29
- package/dist/scripts/generate-spell-ids-by-name.d.ts +0 -1
- package/dist/scripts/generate-spell-ids-by-name.js +0 -20
- package/dist/scripts/generate-spell-ids.d.ts +0 -1
- package/dist/scripts/generate-spell-ids.js +0 -20
- package/dist/scripts/generate-spell-keys.d.ts +0 -1
- package/dist/scripts/generate-spell-keys.js +0 -20
- package/dist/scripts/generate-spell-names.d.ts +0 -1
- package/dist/scripts/generate-spell-names.js +0 -20
- package/dist/scripts/generate-stat-rune-ids.d.ts +0 -1
- package/dist/scripts/generate-stat-rune-ids.js +0 -20
- package/dist/scripts/generate-stat-rune-names.d.ts +0 -1
- package/dist/scripts/generate-stat-rune-names.js +0 -20
- package/dist/scripts/generate-tree-rune-ids.d.ts +0 -1
- package/dist/scripts/generate-tree-rune-ids.js +0 -22
- package/dist/scripts/generate-tree-rune-names.d.ts +0 -1
- package/dist/scripts/generate-tree-rune-names.js +0 -22
package/dist/index.d.ts
CHANGED
@@ -1,53 +1,59 @@
|
|
1
|
-
export { ChampionIds } from './Constants/ChampionIds';
|
2
|
-
export { ChampionIdsByName } from './Constants/ChampionIdsByName';
|
3
|
-
export { ChampionKeys } from './Constants/ChampionKeys';
|
4
|
-
export { ChampionNames } from './Constants/ChampionNames';
|
5
1
|
export { DDPaths } from './Constants/DDPaths';
|
6
|
-
export {
|
7
|
-
export {
|
8
|
-
export {
|
9
|
-
export {
|
10
|
-
export {
|
11
|
-
export {
|
12
|
-
export {
|
13
|
-
export {
|
14
|
-
export {
|
15
|
-
export { StatRuneIds } from './Constants/StatRuneIds';
|
16
|
-
export { StatRuneNames } from './Constants/StatRuneNames';
|
17
|
-
export { TreeRuneIds } from './Constants/TreeRuneIds';
|
18
|
-
export { TreeRuneNames } from './Constants/TreeRuneNames';
|
19
|
-
export {
|
20
|
-
export {
|
21
|
-
export {
|
22
|
-
export {
|
23
|
-
export {
|
24
|
-
export {
|
25
|
-
export {
|
26
|
-
export {
|
27
|
-
export {
|
28
|
-
export {
|
29
|
-
export {
|
30
|
-
export {
|
31
|
-
export {
|
32
|
-
export {
|
33
|
-
export {
|
34
|
-
export {
|
35
|
-
export {
|
36
|
-
export {
|
37
|
-
export {
|
38
|
-
export {
|
39
|
-
export {
|
40
|
-
export {
|
41
|
-
export {
|
42
|
-
export {
|
43
|
-
export {
|
44
|
-
export {
|
45
|
-
export {
|
46
|
-
export {
|
47
|
-
export {
|
48
|
-
export {
|
49
|
-
export {
|
50
|
-
export {
|
51
|
-
export {
|
2
|
+
export { ChampionIds } from './Constants/Champions/ChampionIds';
|
3
|
+
export { ChampionIdsByName } from './Constants/Champions/ChampionIdsByName';
|
4
|
+
export { ChampionKeys } from './Constants/Champions/ChampionKeys';
|
5
|
+
export { ChampionNames } from './Constants/Champions/ChampionNames';
|
6
|
+
export { ItemKeys } from './Constants/Items/ItemKeys';
|
7
|
+
export { ItemNames } from './Constants/Items/ItemNames';
|
8
|
+
export { RuneIds } from './Constants/Runes/RuneIds';
|
9
|
+
export { RuneNames } from './Constants/Runes/RuneNames';
|
10
|
+
export { RuneSets } from './Constants/Runes/RuneSets';
|
11
|
+
export { StatRuneIds } from './Constants/Runes/StatRuneIds';
|
12
|
+
export { StatRuneNames } from './Constants/Runes/StatRuneNames';
|
13
|
+
export { TreeRuneIds } from './Constants/Runes/TreeRuneIds';
|
14
|
+
export { TreeRuneNames } from './Constants/Runes/TreeRuneNames';
|
15
|
+
export { SpellIds } from './Constants/Spells/SpellIds';
|
16
|
+
export { SpellIdsByName } from './Constants/Spells/SpellIdsByName';
|
17
|
+
export { SpellKeys } from './Constants/Spells/SpellKeys';
|
18
|
+
export { SpellNames } from './Constants/Spells/SpellNames';
|
19
|
+
export { getChampionIdByKey } from './Helpers/Champions/getChampionIdByKey';
|
20
|
+
export { getChampionIdByName } from './Helpers/Champions/getChampionIdByName';
|
21
|
+
export { getChampionKeyById } from './Helpers/Champions/getChampionKeyById';
|
22
|
+
export { getChampionKeyByName } from './Helpers/Champions/getChampionKeyByName';
|
23
|
+
export { getChampionNameById } from './Helpers/Champions/getChampionNameById';
|
24
|
+
export { isChampionId } from './Helpers/Champions/isChampionId';
|
25
|
+
export { isChampionKey } from './Helpers/Champions/isChampionKey';
|
26
|
+
export { isChampionName } from './Helpers/Champions/isChampionName';
|
27
|
+
export { getItemKeyByName } from './Helpers/Items/getItemKeyByName';
|
28
|
+
export { getItemNameByKey } from './Helpers/Items/getItemNameByKey';
|
29
|
+
export { isItemKey } from './Helpers/Items/isItemKey';
|
30
|
+
export { isItemName } from './Helpers/Items/isItemName';
|
31
|
+
export { getRuneIdByName } from './Helpers/Runes/getRuneIdByName';
|
32
|
+
export { getRuneNameById } from './Helpers/Runes/getRuneNameById';
|
33
|
+
export { getStatRuneIdByName } from './Helpers/Runes/getStatRuneIdByName';
|
34
|
+
export { getStatRuneNameById } from './Helpers/Runes/getStatRuneNameById';
|
35
|
+
export { getTreeRuneIdByName } from './Helpers/Runes/getTreeRuneIdByName';
|
36
|
+
export { getTreeRuneNameById } from './Helpers/Runes/getTreeRuneNameById';
|
37
|
+
export { isDominationTreeRuneId } from './Helpers/Runes/isDominationTreeRuneId';
|
38
|
+
export { isInspirationTreeRuneId } from './Helpers/Runes/isInspirationTreeRuneId';
|
39
|
+
export { isKeystoneRuneId } from './Helpers/Runes/isKeystoneRuneId';
|
40
|
+
export { isPrecisionTreeRuneId } from './Helpers/Runes/isPrecisionTreeRuneId';
|
41
|
+
export { isResolveTreeRuneId } from './Helpers/Runes/isResolveTreeRuneId';
|
42
|
+
export { isRuneId } from './Helpers/Runes/isRuneId';
|
43
|
+
export { isRuneName } from './Helpers/Runes/isRuneName';
|
44
|
+
export { isSorceryTreeRuneId } from './Helpers/Runes/isSorceryTreeRuneId';
|
45
|
+
export { isStatRuneId } from './Helpers/Runes/isStatRuneId';
|
46
|
+
export { isStatRuneName } from './Helpers/Runes/isStatRuneName';
|
47
|
+
export { isTreeRuneId } from './Helpers/Runes/isTreeRuneId';
|
48
|
+
export { isTreeRuneName } from './Helpers/Runes/isTreeRuneName';
|
49
|
+
export { getSpellIdByKey } from './Helpers/Spells/getSpellIdByKey';
|
50
|
+
export { getSpellIdByName } from './Helpers/Spells/getSpellIdByName';
|
51
|
+
export { getSpellKeyById } from './Helpers/Spells/getSpellKeyById';
|
52
|
+
export { getSpellKeyByName } from './Helpers/Spells/getSpellKeyByName';
|
53
|
+
export { getSpellNameById } from './Helpers/Spells/getSpellNameById';
|
54
|
+
export { getSpellNameByKey } from './Helpers/Spells/getSpellNameByKey';
|
55
|
+
export { isSpellId } from './Helpers/Spells/isSpellId';
|
56
|
+
export { isSpellKey } from './Helpers/Spells/isSpellKey';
|
57
|
+
export { isSpellName } from './Helpers/Spells/isSpellName';
|
52
58
|
export * from './types';
|
53
59
|
export * from './types/Meta';
|
package/dist/index.js
CHANGED
@@ -1,15 +1,4 @@
|
|
1
1
|
"use strict";
|
2
|
-
// # assets
|
3
|
-
// TEMP
|
4
|
-
// import _champion from './assets/champion.json'
|
5
|
-
// import _item from './assets/item.json'
|
6
|
-
// import _runesReforged from './assets/runesReforged.json'
|
7
|
-
// import _summoner from './assets/summoner.json'
|
8
|
-
// export const champion = _champion
|
9
|
-
// export const item = _item
|
10
|
-
// export const runesReforged = _runesReforged
|
11
|
-
// export const summoner = _summoner
|
12
|
-
// export { StatRunes } from './assets/StatRunes'
|
13
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
14
3
|
if (k2 === undefined) k2 = k;
|
15
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
@@ -25,124 +14,132 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
26
15
|
};
|
27
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
28
|
-
exports.
|
29
|
-
exports.
|
17
|
+
exports.getSpellIdByName = exports.getSpellIdByKey = exports.isTreeRuneName = exports.isTreeRuneId = exports.isStatRuneName = exports.isStatRuneId = exports.isSorceryTreeRuneId = exports.isRuneName = exports.isRuneId = exports.isResolveTreeRuneId = exports.isPrecisionTreeRuneId = exports.isKeystoneRuneId = exports.isInspirationTreeRuneId = exports.isDominationTreeRuneId = exports.getTreeRuneNameById = exports.getTreeRuneIdByName = exports.getStatRuneNameById = exports.getStatRuneIdByName = exports.getRuneNameById = exports.getRuneIdByName = exports.isItemName = exports.isItemKey = exports.getItemNameByKey = exports.getItemKeyByName = exports.isChampionName = exports.isChampionKey = exports.isChampionId = exports.getChampionNameById = exports.getChampionKeyByName = exports.getChampionKeyById = exports.getChampionIdByName = exports.getChampionIdByKey = exports.SpellNames = exports.SpellKeys = exports.SpellIdsByName = exports.SpellIds = exports.TreeRuneNames = exports.TreeRuneIds = exports.StatRuneNames = exports.StatRuneIds = exports.RuneSets = exports.RuneNames = exports.RuneIds = exports.ItemNames = exports.ItemKeys = exports.ChampionNames = exports.ChampionKeys = exports.ChampionIdsByName = exports.ChampionIds = exports.DDPaths = void 0;
|
18
|
+
exports.isSpellName = exports.isSpellKey = exports.isSpellId = exports.getSpellNameByKey = exports.getSpellNameById = exports.getSpellKeyByName = exports.getSpellKeyById = void 0;
|
30
19
|
// # Constants
|
31
|
-
var
|
20
|
+
var DDPaths_1 = require("./Constants/DDPaths");
|
21
|
+
Object.defineProperty(exports, "DDPaths", { enumerable: true, get: function () { return DDPaths_1.DDPaths; } });
|
22
|
+
// ## Champions
|
23
|
+
var ChampionIds_1 = require("./Constants/Champions/ChampionIds");
|
32
24
|
Object.defineProperty(exports, "ChampionIds", { enumerable: true, get: function () { return ChampionIds_1.ChampionIds; } });
|
33
|
-
var ChampionIdsByName_1 = require("./Constants/ChampionIdsByName");
|
25
|
+
var ChampionIdsByName_1 = require("./Constants/Champions/ChampionIdsByName");
|
34
26
|
Object.defineProperty(exports, "ChampionIdsByName", { enumerable: true, get: function () { return ChampionIdsByName_1.ChampionIdsByName; } });
|
35
|
-
var ChampionKeys_1 = require("./Constants/ChampionKeys");
|
27
|
+
var ChampionKeys_1 = require("./Constants/Champions/ChampionKeys");
|
36
28
|
Object.defineProperty(exports, "ChampionKeys", { enumerable: true, get: function () { return ChampionKeys_1.ChampionKeys; } });
|
37
|
-
var ChampionNames_1 = require("./Constants/ChampionNames");
|
29
|
+
var ChampionNames_1 = require("./Constants/Champions/ChampionNames");
|
38
30
|
Object.defineProperty(exports, "ChampionNames", { enumerable: true, get: function () { return ChampionNames_1.ChampionNames; } });
|
39
|
-
|
40
|
-
|
41
|
-
var ItemKeys_1 = require("./Constants/ItemKeys");
|
31
|
+
// ## Items
|
32
|
+
var ItemKeys_1 = require("./Constants/Items/ItemKeys");
|
42
33
|
Object.defineProperty(exports, "ItemKeys", { enumerable: true, get: function () { return ItemKeys_1.ItemKeys; } });
|
43
|
-
var ItemNames_1 = require("./Constants/ItemNames");
|
34
|
+
var ItemNames_1 = require("./Constants/Items/ItemNames");
|
44
35
|
Object.defineProperty(exports, "ItemNames", { enumerable: true, get: function () { return ItemNames_1.ItemNames; } });
|
45
|
-
|
36
|
+
// ## Runes
|
37
|
+
var RuneIds_1 = require("./Constants/Runes/RuneIds");
|
46
38
|
Object.defineProperty(exports, "RuneIds", { enumerable: true, get: function () { return RuneIds_1.RuneIds; } });
|
47
|
-
var RuneNames_1 = require("./Constants/RuneNames");
|
39
|
+
var RuneNames_1 = require("./Constants/Runes/RuneNames");
|
48
40
|
Object.defineProperty(exports, "RuneNames", { enumerable: true, get: function () { return RuneNames_1.RuneNames; } });
|
49
|
-
var RuneSets_1 = require("./Constants/RuneSets");
|
41
|
+
var RuneSets_1 = require("./Constants/Runes/RuneSets");
|
50
42
|
Object.defineProperty(exports, "RuneSets", { enumerable: true, get: function () { return RuneSets_1.RuneSets; } });
|
51
|
-
var
|
52
|
-
Object.defineProperty(exports, "SpellIds", { enumerable: true, get: function () { return SpellIds_1.SpellIds; } });
|
53
|
-
var SpellIdsByName_1 = require("./Constants/SpellIdsByName");
|
54
|
-
Object.defineProperty(exports, "SpellIdsByName", { enumerable: true, get: function () { return SpellIdsByName_1.SpellIdsByName; } });
|
55
|
-
var SpellKeys_1 = require("./Constants/SpellKeys");
|
56
|
-
Object.defineProperty(exports, "SpellKeys", { enumerable: true, get: function () { return SpellKeys_1.SpellKeys; } });
|
57
|
-
var SpellNames_1 = require("./Constants/SpellNames");
|
58
|
-
Object.defineProperty(exports, "SpellNames", { enumerable: true, get: function () { return SpellNames_1.SpellNames; } });
|
59
|
-
var StatRuneIds_1 = require("./Constants/StatRuneIds");
|
43
|
+
var StatRuneIds_1 = require("./Constants/Runes/StatRuneIds");
|
60
44
|
Object.defineProperty(exports, "StatRuneIds", { enumerable: true, get: function () { return StatRuneIds_1.StatRuneIds; } });
|
61
|
-
var StatRuneNames_1 = require("./Constants/StatRuneNames");
|
45
|
+
var StatRuneNames_1 = require("./Constants/Runes/StatRuneNames");
|
62
46
|
Object.defineProperty(exports, "StatRuneNames", { enumerable: true, get: function () { return StatRuneNames_1.StatRuneNames; } });
|
63
|
-
var TreeRuneIds_1 = require("./Constants/TreeRuneIds");
|
47
|
+
var TreeRuneIds_1 = require("./Constants/Runes/TreeRuneIds");
|
64
48
|
Object.defineProperty(exports, "TreeRuneIds", { enumerable: true, get: function () { return TreeRuneIds_1.TreeRuneIds; } });
|
65
|
-
var TreeRuneNames_1 = require("./Constants/TreeRuneNames");
|
49
|
+
var TreeRuneNames_1 = require("./Constants/Runes/TreeRuneNames");
|
66
50
|
Object.defineProperty(exports, "TreeRuneNames", { enumerable: true, get: function () { return TreeRuneNames_1.TreeRuneNames; } });
|
51
|
+
// ## Spells
|
52
|
+
var SpellIds_1 = require("./Constants/Spells/SpellIds");
|
53
|
+
Object.defineProperty(exports, "SpellIds", { enumerable: true, get: function () { return SpellIds_1.SpellIds; } });
|
54
|
+
var SpellIdsByName_1 = require("./Constants/Spells/SpellIdsByName");
|
55
|
+
Object.defineProperty(exports, "SpellIdsByName", { enumerable: true, get: function () { return SpellIdsByName_1.SpellIdsByName; } });
|
56
|
+
var SpellKeys_1 = require("./Constants/Spells/SpellKeys");
|
57
|
+
Object.defineProperty(exports, "SpellKeys", { enumerable: true, get: function () { return SpellKeys_1.SpellKeys; } });
|
58
|
+
var SpellNames_1 = require("./Constants/Spells/SpellNames");
|
59
|
+
Object.defineProperty(exports, "SpellNames", { enumerable: true, get: function () { return SpellNames_1.SpellNames; } });
|
67
60
|
// # Helpers
|
68
|
-
// ##
|
69
|
-
var getChampionIdByKey_1 = require("./Helpers/getChampionIdByKey");
|
61
|
+
// ## Champions
|
62
|
+
var getChampionIdByKey_1 = require("./Helpers/Champions/getChampionIdByKey");
|
70
63
|
Object.defineProperty(exports, "getChampionIdByKey", { enumerable: true, get: function () { return getChampionIdByKey_1.getChampionIdByKey; } });
|
71
|
-
var getChampionIdByName_1 = require("./Helpers/getChampionIdByName");
|
64
|
+
var getChampionIdByName_1 = require("./Helpers/Champions/getChampionIdByName");
|
72
65
|
Object.defineProperty(exports, "getChampionIdByName", { enumerable: true, get: function () { return getChampionIdByName_1.getChampionIdByName; } });
|
73
|
-
var getChampionKeyById_1 = require("./Helpers/getChampionKeyById");
|
66
|
+
var getChampionKeyById_1 = require("./Helpers/Champions/getChampionKeyById");
|
74
67
|
Object.defineProperty(exports, "getChampionKeyById", { enumerable: true, get: function () { return getChampionKeyById_1.getChampionKeyById; } });
|
75
|
-
var getChampionKeyByName_1 = require("./Helpers/getChampionKeyByName");
|
68
|
+
var getChampionKeyByName_1 = require("./Helpers/Champions/getChampionKeyByName");
|
76
69
|
Object.defineProperty(exports, "getChampionKeyByName", { enumerable: true, get: function () { return getChampionKeyByName_1.getChampionKeyByName; } });
|
77
|
-
var getChampionNameById_1 = require("./Helpers/getChampionNameById");
|
70
|
+
var getChampionNameById_1 = require("./Helpers/Champions/getChampionNameById");
|
78
71
|
Object.defineProperty(exports, "getChampionNameById", { enumerable: true, get: function () { return getChampionNameById_1.getChampionNameById; } });
|
79
|
-
|
80
|
-
|
72
|
+
var isChampionId_1 = require("./Helpers/Champions/isChampionId");
|
73
|
+
Object.defineProperty(exports, "isChampionId", { enumerable: true, get: function () { return isChampionId_1.isChampionId; } });
|
74
|
+
var isChampionKey_1 = require("./Helpers/Champions/isChampionKey");
|
75
|
+
Object.defineProperty(exports, "isChampionKey", { enumerable: true, get: function () { return isChampionKey_1.isChampionKey; } });
|
76
|
+
var isChampionName_1 = require("./Helpers/Champions/isChampionName");
|
77
|
+
Object.defineProperty(exports, "isChampionName", { enumerable: true, get: function () { return isChampionName_1.isChampionName; } });
|
78
|
+
// ## Items
|
79
|
+
var getItemKeyByName_1 = require("./Helpers/Items/getItemKeyByName");
|
81
80
|
Object.defineProperty(exports, "getItemKeyByName", { enumerable: true, get: function () { return getItemKeyByName_1.getItemKeyByName; } });
|
82
|
-
var getItemNameByKey_1 = require("./Helpers/getItemNameByKey");
|
81
|
+
var getItemNameByKey_1 = require("./Helpers/Items/getItemNameByKey");
|
83
82
|
Object.defineProperty(exports, "getItemNameByKey", { enumerable: true, get: function () { return getItemNameByKey_1.getItemNameByKey; } });
|
84
|
-
|
85
|
-
|
83
|
+
var isItemKey_1 = require("./Helpers/Items/isItemKey");
|
84
|
+
Object.defineProperty(exports, "isItemKey", { enumerable: true, get: function () { return isItemKey_1.isItemKey; } });
|
85
|
+
var isItemName_1 = require("./Helpers/Items/isItemName");
|
86
|
+
Object.defineProperty(exports, "isItemName", { enumerable: true, get: function () { return isItemName_1.isItemName; } });
|
87
|
+
// ## Runes
|
88
|
+
var getRuneIdByName_1 = require("./Helpers/Runes/getRuneIdByName");
|
86
89
|
Object.defineProperty(exports, "getRuneIdByName", { enumerable: true, get: function () { return getRuneIdByName_1.getRuneIdByName; } });
|
87
|
-
var getRuneNameById_1 = require("./Helpers/getRuneNameById");
|
90
|
+
var getRuneNameById_1 = require("./Helpers/Runes/getRuneNameById");
|
88
91
|
Object.defineProperty(exports, "getRuneNameById", { enumerable: true, get: function () { return getRuneNameById_1.getRuneNameById; } });
|
89
|
-
|
90
|
-
var getSpellIdByKey_1 = require("./Helpers/getSpellIdByKey");
|
91
|
-
Object.defineProperty(exports, "getSpellIdByKey", { enumerable: true, get: function () { return getSpellIdByKey_1.getSpellIdByKey; } });
|
92
|
-
var getSpellIdByName_1 = require("./Helpers/getSpellIdByName");
|
93
|
-
Object.defineProperty(exports, "getSpellIdByName", { enumerable: true, get: function () { return getSpellIdByName_1.getSpellIdByName; } });
|
94
|
-
var getSpellKeyById_1 = require("./Helpers/getSpellKeyById");
|
95
|
-
Object.defineProperty(exports, "getSpellKeyById", { enumerable: true, get: function () { return getSpellKeyById_1.getSpellKeyById; } });
|
96
|
-
var getSpellKeyByName_1 = require("./Helpers/getSpellKeyByName");
|
97
|
-
Object.defineProperty(exports, "getSpellKeyByName", { enumerable: true, get: function () { return getSpellKeyByName_1.getSpellKeyByName; } });
|
98
|
-
var getSpellNameById_1 = require("./Helpers/getSpellNameById");
|
99
|
-
Object.defineProperty(exports, "getSpellNameById", { enumerable: true, get: function () { return getSpellNameById_1.getSpellNameById; } });
|
100
|
-
var getSpellNameByKey_1 = require("./Helpers/getSpellNameByKey");
|
101
|
-
Object.defineProperty(exports, "getSpellNameByKey", { enumerable: true, get: function () { return getSpellNameByKey_1.getSpellNameByKey; } });
|
102
|
-
// ##
|
103
|
-
var getStatRuneIdByName_1 = require("./Helpers/getStatRuneIdByName");
|
92
|
+
var getStatRuneIdByName_1 = require("./Helpers/Runes/getStatRuneIdByName");
|
104
93
|
Object.defineProperty(exports, "getStatRuneIdByName", { enumerable: true, get: function () { return getStatRuneIdByName_1.getStatRuneIdByName; } });
|
105
|
-
var getStatRuneNameById_1 = require("./Helpers/getStatRuneNameById");
|
94
|
+
var getStatRuneNameById_1 = require("./Helpers/Runes/getStatRuneNameById");
|
106
95
|
Object.defineProperty(exports, "getStatRuneNameById", { enumerable: true, get: function () { return getStatRuneNameById_1.getStatRuneNameById; } });
|
107
|
-
|
108
|
-
var getTreeRuneIdByName_1 = require("./Helpers/getTreeRuneIdByName");
|
96
|
+
var getTreeRuneIdByName_1 = require("./Helpers/Runes/getTreeRuneIdByName");
|
109
97
|
Object.defineProperty(exports, "getTreeRuneIdByName", { enumerable: true, get: function () { return getTreeRuneIdByName_1.getTreeRuneIdByName; } });
|
110
|
-
var getTreeRuneNameById_1 = require("./Helpers/getTreeRuneNameById");
|
98
|
+
var getTreeRuneNameById_1 = require("./Helpers/Runes/getTreeRuneNameById");
|
111
99
|
Object.defineProperty(exports, "getTreeRuneNameById", { enumerable: true, get: function () { return getTreeRuneNameById_1.getTreeRuneNameById; } });
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
var
|
121
|
-
Object.defineProperty(exports, "
|
122
|
-
var
|
123
|
-
Object.defineProperty(exports, "isItemName", { enumerable: true, get: function () { return isItemName_1.isItemName; } });
|
124
|
-
// ##
|
125
|
-
var isRuneId_1 = require("./Helpers/isRuneId");
|
100
|
+
var isDominationTreeRuneId_1 = require("./Helpers/Runes/isDominationTreeRuneId");
|
101
|
+
Object.defineProperty(exports, "isDominationTreeRuneId", { enumerable: true, get: function () { return isDominationTreeRuneId_1.isDominationTreeRuneId; } });
|
102
|
+
var isInspirationTreeRuneId_1 = require("./Helpers/Runes/isInspirationTreeRuneId");
|
103
|
+
Object.defineProperty(exports, "isInspirationTreeRuneId", { enumerable: true, get: function () { return isInspirationTreeRuneId_1.isInspirationTreeRuneId; } });
|
104
|
+
var isKeystoneRuneId_1 = require("./Helpers/Runes/isKeystoneRuneId");
|
105
|
+
Object.defineProperty(exports, "isKeystoneRuneId", { enumerable: true, get: function () { return isKeystoneRuneId_1.isKeystoneRuneId; } });
|
106
|
+
var isPrecisionTreeRuneId_1 = require("./Helpers/Runes/isPrecisionTreeRuneId");
|
107
|
+
Object.defineProperty(exports, "isPrecisionTreeRuneId", { enumerable: true, get: function () { return isPrecisionTreeRuneId_1.isPrecisionTreeRuneId; } });
|
108
|
+
var isResolveTreeRuneId_1 = require("./Helpers/Runes/isResolveTreeRuneId");
|
109
|
+
Object.defineProperty(exports, "isResolveTreeRuneId", { enumerable: true, get: function () { return isResolveTreeRuneId_1.isResolveTreeRuneId; } });
|
110
|
+
var isRuneId_1 = require("./Helpers/Runes/isRuneId");
|
126
111
|
Object.defineProperty(exports, "isRuneId", { enumerable: true, get: function () { return isRuneId_1.isRuneId; } });
|
127
|
-
var isRuneName_1 = require("./Helpers/isRuneName");
|
112
|
+
var isRuneName_1 = require("./Helpers/Runes/isRuneName");
|
128
113
|
Object.defineProperty(exports, "isRuneName", { enumerable: true, get: function () { return isRuneName_1.isRuneName; } });
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
var isSpellKey_1 = require("./Helpers/isSpellKey");
|
133
|
-
Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
|
134
|
-
var isSpellName_1 = require("./Helpers/isSpellName");
|
135
|
-
Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
|
136
|
-
// ##
|
137
|
-
var isStatRuneId_1 = require("./Helpers/isStatRuneId");
|
114
|
+
var isSorceryTreeRuneId_1 = require("./Helpers/Runes/isSorceryTreeRuneId");
|
115
|
+
Object.defineProperty(exports, "isSorceryTreeRuneId", { enumerable: true, get: function () { return isSorceryTreeRuneId_1.isSorceryTreeRuneId; } });
|
116
|
+
var isStatRuneId_1 = require("./Helpers/Runes/isStatRuneId");
|
138
117
|
Object.defineProperty(exports, "isStatRuneId", { enumerable: true, get: function () { return isStatRuneId_1.isStatRuneId; } });
|
139
|
-
var isStatRuneName_1 = require("./Helpers/isStatRuneName");
|
118
|
+
var isStatRuneName_1 = require("./Helpers/Runes/isStatRuneName");
|
140
119
|
Object.defineProperty(exports, "isStatRuneName", { enumerable: true, get: function () { return isStatRuneName_1.isStatRuneName; } });
|
141
|
-
|
142
|
-
var isTreeRuneId_1 = require("./Helpers/isTreeRuneId");
|
120
|
+
var isTreeRuneId_1 = require("./Helpers/Runes/isTreeRuneId");
|
143
121
|
Object.defineProperty(exports, "isTreeRuneId", { enumerable: true, get: function () { return isTreeRuneId_1.isTreeRuneId; } });
|
144
|
-
var isTreeRuneName_1 = require("./Helpers/isTreeRuneName");
|
122
|
+
var isTreeRuneName_1 = require("./Helpers/Runes/isTreeRuneName");
|
145
123
|
Object.defineProperty(exports, "isTreeRuneName", { enumerable: true, get: function () { return isTreeRuneName_1.isTreeRuneName; } });
|
124
|
+
// ## Spells
|
125
|
+
var getSpellIdByKey_1 = require("./Helpers/Spells/getSpellIdByKey");
|
126
|
+
Object.defineProperty(exports, "getSpellIdByKey", { enumerable: true, get: function () { return getSpellIdByKey_1.getSpellIdByKey; } });
|
127
|
+
var getSpellIdByName_1 = require("./Helpers/Spells/getSpellIdByName");
|
128
|
+
Object.defineProperty(exports, "getSpellIdByName", { enumerable: true, get: function () { return getSpellIdByName_1.getSpellIdByName; } });
|
129
|
+
var getSpellKeyById_1 = require("./Helpers/Spells/getSpellKeyById");
|
130
|
+
Object.defineProperty(exports, "getSpellKeyById", { enumerable: true, get: function () { return getSpellKeyById_1.getSpellKeyById; } });
|
131
|
+
var getSpellKeyByName_1 = require("./Helpers/Spells/getSpellKeyByName");
|
132
|
+
Object.defineProperty(exports, "getSpellKeyByName", { enumerable: true, get: function () { return getSpellKeyByName_1.getSpellKeyByName; } });
|
133
|
+
var getSpellNameById_1 = require("./Helpers/Spells/getSpellNameById");
|
134
|
+
Object.defineProperty(exports, "getSpellNameById", { enumerable: true, get: function () { return getSpellNameById_1.getSpellNameById; } });
|
135
|
+
var getSpellNameByKey_1 = require("./Helpers/Spells/getSpellNameByKey");
|
136
|
+
Object.defineProperty(exports, "getSpellNameByKey", { enumerable: true, get: function () { return getSpellNameByKey_1.getSpellNameByKey; } });
|
137
|
+
var isSpellId_1 = require("./Helpers/Spells/isSpellId");
|
138
|
+
Object.defineProperty(exports, "isSpellId", { enumerable: true, get: function () { return isSpellId_1.isSpellId; } });
|
139
|
+
var isSpellKey_1 = require("./Helpers/Spells/isSpellKey");
|
140
|
+
Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
|
141
|
+
var isSpellName_1 = require("./Helpers/Spells/isSpellName");
|
142
|
+
Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
|
146
143
|
// # scripts
|
147
144
|
// —
|
148
145
|
// # types
|
package/dist/types/index.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
import { RuneSets } from '../Constants/RuneSets';
|
2
|
-
import { ChampionIds } from '../Constants/ChampionIds';
|
3
|
-
import { ChampionKeys } from '../Constants/ChampionKeys';
|
4
|
-
import { ChampionNames } from '../Constants/ChampionNames';
|
5
|
-
import { ItemKeys } from '../Constants/ItemKeys';
|
6
|
-
import { ItemNames } from '../Constants/ItemNames';
|
7
|
-
import { SpellIds } from '../Constants/SpellIds';
|
8
|
-
import { SpellKeys } from '../Constants/SpellKeys';
|
9
|
-
import { SpellNames } from '../Constants/SpellNames';
|
10
|
-
import { RuneIds } from '../Constants/RuneIds';
|
11
|
-
import { RuneNames } from '../Constants/RuneNames';
|
12
|
-
import { StatRuneIds } from '../Constants/StatRuneIds';
|
13
|
-
import { StatRuneNames } from '../Constants/StatRuneNames';
|
14
|
-
import { TreeRuneIds } from '../Constants/TreeRuneIds';
|
15
|
-
import { TreeRuneNames } from '../Constants/TreeRuneNames';
|
1
|
+
import { RuneSets } from '../Constants/Runes/RuneSets';
|
2
|
+
import { ChampionIds } from '../Constants/Champions/ChampionIds';
|
3
|
+
import { ChampionKeys } from '../Constants/Champions/ChampionKeys';
|
4
|
+
import { ChampionNames } from '../Constants/Champions/ChampionNames';
|
5
|
+
import { ItemKeys } from '../Constants/Items/ItemKeys';
|
6
|
+
import { ItemNames } from '../Constants/Items/ItemNames';
|
7
|
+
import { SpellIds } from '../Constants/Spells/SpellIds';
|
8
|
+
import { SpellKeys } from '../Constants/Spells/SpellKeys';
|
9
|
+
import { SpellNames } from '../Constants/Spells/SpellNames';
|
10
|
+
import { RuneIds } from '../Constants/Runes/RuneIds';
|
11
|
+
import { RuneNames } from '../Constants/Runes/RuneNames';
|
12
|
+
import { StatRuneIds } from '../Constants/Runes/StatRuneIds';
|
13
|
+
import { StatRuneNames } from '../Constants/Runes/StatRuneNames';
|
14
|
+
import { TreeRuneIds } from '../Constants/Runes/TreeRuneIds';
|
15
|
+
import { TreeRuneNames } from '../Constants/Runes/TreeRuneNames';
|
16
16
|
export declare type ChampionId = typeof ChampionIds[keyof typeof ChampionIds];
|
17
17
|
export declare type ChampionKey = typeof ChampionKeys[keyof typeof ChampionKeys];
|
18
18
|
export declare type ChampionName = typeof ChampionNames[keyof typeof ChampionNames];
|
@@ -83,7 +83,7 @@ export declare type StatRuneName = typeof StatRuneNames[keyof typeof StatRuneNam
|
|
83
83
|
* - `ResolveTreeRuneId`,
|
84
84
|
* - `InspirationTreeRuneId`,
|
85
85
|
*/
|
86
|
-
export declare type KeystoneRuneId =
|
86
|
+
export declare type KeystoneRuneId = keyof typeof RuneSets.Keystones;
|
87
87
|
/**
|
88
88
|
* There are 3 main Rune ID types:
|
89
89
|
* - `RuneId` (all),
|
@@ -98,7 +98,7 @@ export declare type KeystoneRuneId = Extract<typeof RuneSets.Keystones[keyof typ
|
|
98
98
|
* - `ResolveTreeRuneId`,
|
99
99
|
* - `InspirationTreeRuneId`,
|
100
100
|
*/
|
101
|
-
export declare type PrecisionTreeRuneId =
|
101
|
+
export declare type PrecisionTreeRuneId = keyof typeof RuneSets.PrimaryTrees.Precision;
|
102
102
|
/**
|
103
103
|
* There are 3 main Rune ID types:
|
104
104
|
* - `RuneId` (all),
|
@@ -113,7 +113,7 @@ export declare type PrecisionTreeRuneId = Extract<typeof RuneSets.PrimaryTrees.P
|
|
113
113
|
* - `ResolveTreeRuneId`,
|
114
114
|
* - `InspirationTreeRuneId`,
|
115
115
|
*/
|
116
|
-
export declare type DominationTreeRuneId =
|
116
|
+
export declare type DominationTreeRuneId = keyof typeof RuneSets.PrimaryTrees.Domination;
|
117
117
|
/**
|
118
118
|
* There are 3 main Rune ID types:
|
119
119
|
* - `RuneId` (all),
|
@@ -128,7 +128,7 @@ export declare type DominationTreeRuneId = Extract<typeof RuneSets.PrimaryTrees.
|
|
128
128
|
* - `ResolveTreeRuneId`,
|
129
129
|
* - `InspirationTreeRuneId`,
|
130
130
|
*/
|
131
|
-
export declare type SorceryTreeRuneId =
|
131
|
+
export declare type SorceryTreeRuneId = keyof typeof RuneSets.PrimaryTrees.Sorcery;
|
132
132
|
/**
|
133
133
|
* There are 3 main Rune ID types:
|
134
134
|
* - `RuneId` (all),
|
@@ -143,7 +143,7 @@ export declare type SorceryTreeRuneId = Extract<typeof RuneSets.PrimaryTrees.Sor
|
|
143
143
|
* - `ResolveTreeRuneId`,
|
144
144
|
* - `InspirationTreeRuneId`,
|
145
145
|
*/
|
146
|
-
export declare type ResolveTreeRuneId =
|
146
|
+
export declare type ResolveTreeRuneId = keyof typeof RuneSets.PrimaryTrees.Resolve;
|
147
147
|
/**
|
148
148
|
* There are 3 main Rune ID types:
|
149
149
|
* - `RuneId` (all),
|
@@ -158,7 +158,7 @@ export declare type ResolveTreeRuneId = Extract<typeof RuneSets.PrimaryTrees.Res
|
|
158
158
|
* - `ResolveTreeRuneId`,
|
159
159
|
* - `InspirationTreeRuneId`,
|
160
160
|
*/
|
161
|
-
export declare type InspirationTreeRuneId =
|
161
|
+
export declare type InspirationTreeRuneId = keyof typeof RuneSets.PrimaryTrees.Inspiration;
|
162
162
|
export declare type XP = number;
|
163
163
|
export declare type Minute = number;
|
164
164
|
export declare type Position = 'TOP' | 'JUNGLE' | 'MIDDLE' | 'BOTTOM' | 'UTILITY';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "lol-constants",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.1.3",
|
4
4
|
"description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -11,10 +11,8 @@
|
|
11
11
|
],
|
12
12
|
"scripts": {
|
13
13
|
"clean-build": "rmdir /s /q dist && tsc",
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"publish-new-patch": "tsc && npm version patch && npm publish",
|
17
|
-
"generate": "node dist/scripts/generate-all"
|
14
|
+
"clean-build-assets": "rmdir /s /q assets && cd srcAssets && tsc",
|
15
|
+
"generate": "node assets/scripts/generate-all"
|
18
16
|
},
|
19
17
|
"devDependencies": {
|
20
18
|
"@types/node": "^17.0.42"
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneIds = void 0;
|
4
|
-
exports.RuneIds = { "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", "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", "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", "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", "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", "Defense (HP)": "5001", "Defense (AR)": "5002", "Defense (MR)": "5003", "Offense (AS)": "5005", "Offense (AH)": "5007", "Offense (AF)": "5008", "Flex (AR)": "5002f", "Flex (MR)": "5003f", "Flex (AF)": "5008f" };
|
@@ -1,4 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneNames = void 0;
|
4
|
-
exports.RuneNames = { "5001": "Defense (HP)", "5002": "Defense (AR)", "5003": "Defense (MR)", "5005": "Offense (AS)", "5007": "Offense (AH)", "5008": "Offense (AF)", "8005": "Press the Attack", "8008": "Lethal Tempo", "8009": "Presence of Mind", "8010": "Conqueror", "8014": "Coup de Grace", "8017": "Cut Down", "8021": "Fleet Footwork", "8105": "Relentless Hunter", "8106": "Ultimate Hunter", "8112": "Electrocute", "8120": "Ghost Poro", "8124": "Predator", "8126": "Cheap Shot", "8128": "Dark Harvest", "8134": "Ingenious Hunter", "8135": "Treasure Hunter", "8136": "Zombie Ward", "8138": "Eyeball Collection", "8139": "Taste of Blood", "8143": "Sudden Impact", "8210": "Transcendence", "8214": "Summon Aery", "8224": "Nullifying Orb", "8226": "Manaflow Band", "8229": "Arcane Comet", "8230": "Phase Rush", "8232": "Waterwalking", "8233": "Absolute Focus", "8234": "Celerity", "8236": "Gathering Storm", "8237": "Scorch", "8242": "Unflinching", "8275": "Nimbus Cloak", "8299": "Last Stand", "8304": "Magical Footwear", "8306": "Hextech Flashtraption", "8313": "Perfect Timing", "8316": "Minion Dematerializer", "8321": "Future's Market", "8345": "Biscuit Delivery", "8347": "Cosmic Insight", "8351": "Glacial Augment", "8352": "Time Warp Tonic", "8360": "Unsealed Spellbook", "8369": "First Strike", "8401": "Shield Bash", "8410": "Approach Velocity", "8429": "Conditioning", "8437": "Grasp of the Undying", "8439": "Aftershock", "8444": "Second Wind", "8446": "Demolish", "8451": "Overgrowth", "8453": "Revitalize", "8463": "Font of Life", "8465": "Guardian", "8473": "Bone Plating", "9101": "Overheal", "9103": "Legend: Bloodline", "9104": "Legend: Alacrity", "9105": "Legend: Tenacity", "9111": "Triumph", "9923": "Hail of Blades", "5002f": "Flex (AR)", "5003f": "Flex (MR)", "5008f": "Flex (AF)" };
|
@@ -1,77 +0,0 @@
|
|
1
|
-
export declare const PrimaryTrees: {
|
2
|
-
/**
|
3
|
-
* There are 13 Precision Runes in the game.
|
4
|
-
*/
|
5
|
-
readonly Precision: readonly ["8005", "8008", "8021", "8010", "9101", "9111", "8009", "9104", "9105", "9103", "8014", "8017", "8299"];
|
6
|
-
/**
|
7
|
-
* There are 13 Domination Runes in the game.
|
8
|
-
*/
|
9
|
-
readonly Domination: readonly ["8112", "8124", "8128", "9923", "8126", "8139", "8143", "8136", "8138", "8135", "8134", "8105", "8106"];
|
10
|
-
/**
|
11
|
-
* There are 12 Sorcery Runes in the game.
|
12
|
-
*/
|
13
|
-
readonly Sorcery: readonly ["8214", "8229", "8230", "8224", "8226", "8275", "8210", "8234", "8233", "8237", "8232", "8236"];
|
14
|
-
/**
|
15
|
-
* There are 11 Resolve Runes in the game.
|
16
|
-
*/
|
17
|
-
readonly Resolve: readonly ["8437", "8439", "8465", "8446", "8463", "8401", "8429", "8444", "8473", "8451", "8453", "8242"];
|
18
|
-
/**
|
19
|
-
* There are 12 Inspiration Runes in the game.
|
20
|
-
*/
|
21
|
-
readonly Inspiration: readonly ["8351", "8360", "8369", "8306", "8304", "8313", "8321", "8316", "8345", "8347", "8410", "8352"];
|
22
|
-
};
|
23
|
-
export declare const SecondaryTrees: {
|
24
|
-
readonly Precision: readonly ["9101", "9111", "8009", "9104", "9105", "9103", "8014", "8017", "8299"];
|
25
|
-
readonly Domination: readonly ["8126", "8139", "8143", "8136", "8138", "8135", "8134", "8105", "8106"];
|
26
|
-
readonly Sorcery: readonly ["8224", "8226", "8275", "8210", "8234", "8233", "8237", "8232", "8236"];
|
27
|
-
readonly Resolve: readonly ["8446", "8463", "8401", "8429", "8444", "8473", "8451", "8453", "8242"];
|
28
|
-
readonly Inspiration: readonly ["8306", "8304", "8313", "8321", "8316", "8345", "8347", "8410", "8352"];
|
29
|
-
};
|
30
|
-
/**
|
31
|
-
* There are 17 Keystone Runes in the game.
|
32
|
-
*/
|
33
|
-
export declare const Keystones: readonly ["8005", "8008", "8021", "8010", "8112", "8124", "8128", "9923", "8214", "8229", "8230", "8437", "8439", "8465", "8351", "8360", "8369"];
|
34
|
-
/**
|
35
|
-
* There are 9 Stat Runes in the game.
|
36
|
-
*/
|
37
|
-
export declare const StatRunes: readonly ["5001", "5002", "5002f", "5003", "5003f", "5005", "5007", "5008", "5008f"];
|
38
|
-
export declare const All: readonly ["8005", "8008", "8021", "8010", "9101", "9111", "8009", "9104", "9105", "9103", "8014", "8017", "8299", "8112", "8124", "8128", "9923", "8126", "8139", "8143", "8136", "8138", "8135", "8134", "8105", "8106", "8214", "8229", "8230", "8224", "8226", "8275", "8210", "8234", "8233", "8237", "8232", "8236", "8437", "8439", "8465", "8446", "8463", "8401", "8429", "8444", "8473", "8451", "8453", "8242", "8351", "8360", "8369", "8306", "8304", "8313", "8321", "8316", "8345", "8347", "8410", "8352", "5001", "5002", "5002f", "5003", "5003f", "5005", "5007", "5008", "5008f"];
|
39
|
-
/**
|
40
|
-
* Contains all Rune IDs
|
41
|
-
* that are known to man in the game of League of Legends.
|
42
|
-
* Sorted by various useful categories.
|
43
|
-
*/
|
44
|
-
export declare const RuneSets: {
|
45
|
-
readonly PrimaryTrees: {
|
46
|
-
/**
|
47
|
-
* There are 13 Precision Runes in the game.
|
48
|
-
*/
|
49
|
-
readonly Precision: readonly ["8005", "8008", "8021", "8010", "9101", "9111", "8009", "9104", "9105", "9103", "8014", "8017", "8299"];
|
50
|
-
/**
|
51
|
-
* There are 13 Domination Runes in the game.
|
52
|
-
*/
|
53
|
-
readonly Domination: readonly ["8112", "8124", "8128", "9923", "8126", "8139", "8143", "8136", "8138", "8135", "8134", "8105", "8106"];
|
54
|
-
/**
|
55
|
-
* There are 12 Sorcery Runes in the game.
|
56
|
-
*/
|
57
|
-
readonly Sorcery: readonly ["8214", "8229", "8230", "8224", "8226", "8275", "8210", "8234", "8233", "8237", "8232", "8236"];
|
58
|
-
/**
|
59
|
-
* There are 11 Resolve Runes in the game.
|
60
|
-
*/
|
61
|
-
readonly Resolve: readonly ["8437", "8439", "8465", "8446", "8463", "8401", "8429", "8444", "8473", "8451", "8453", "8242"];
|
62
|
-
/**
|
63
|
-
* There are 12 Inspiration Runes in the game.
|
64
|
-
*/
|
65
|
-
readonly Inspiration: readonly ["8351", "8360", "8369", "8306", "8304", "8313", "8321", "8316", "8345", "8347", "8410", "8352"];
|
66
|
-
};
|
67
|
-
readonly SecondaryTrees: {
|
68
|
-
readonly Precision: readonly ["9101", "9111", "8009", "9104", "9105", "9103", "8014", "8017", "8299"];
|
69
|
-
readonly Domination: readonly ["8126", "8139", "8143", "8136", "8138", "8135", "8134", "8105", "8106"];
|
70
|
-
readonly Sorcery: readonly ["8224", "8226", "8275", "8210", "8234", "8233", "8237", "8232", "8236"];
|
71
|
-
readonly Resolve: readonly ["8446", "8463", "8401", "8429", "8444", "8473", "8451", "8453", "8242"];
|
72
|
-
readonly Inspiration: readonly ["8306", "8304", "8313", "8321", "8316", "8345", "8347", "8410", "8352"];
|
73
|
-
};
|
74
|
-
readonly Keystones: readonly ["8005", "8008", "8021", "8010", "8112", "8124", "8128", "9923", "8214", "8229", "8230", "8437", "8439", "8465", "8351", "8360", "8369"];
|
75
|
-
readonly StatRunes: readonly ["5001", "5002", "5002f", "5003", "5003f", "5005", "5007", "5008", "5008f"];
|
76
|
-
readonly All: readonly ["8005", "8008", "8021", "8010", "9101", "9111", "8009", "9104", "9105", "9103", "8014", "8017", "8299", "8112", "8124", "8128", "9923", "8126", "8139", "8143", "8136", "8138", "8135", "8134", "8105", "8106", "8214", "8229", "8230", "8224", "8226", "8275", "8210", "8234", "8233", "8237", "8232", "8236", "8437", "8439", "8465", "8446", "8463", "8401", "8429", "8444", "8473", "8451", "8453", "8242", "8351", "8360", "8369", "8306", "8304", "8313", "8321", "8316", "8345", "8347", "8410", "8352", "5001", "5002", "5002f", "5003", "5003f", "5005", "5007", "5008", "5008f"];
|
77
|
-
};
|