lol-constants 1.0.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/{dist/assets → assets}/StatRunes.d.ts +0 -0
- package/{dist/assets → assets}/StatRunes.js +0 -0
- package/{dist/assets → assets}/champion.json +0 -0
- package/{dist/assets → assets}/index.d.ts +0 -0
- package/{dist/assets → assets}/index.js +1 -1
- package/{dist/assets → assets}/item.json +0 -0
- package/{dist/assets → assets}/runesReforged.json +0 -0
- package/assets/scripts/Helpers/enableSpreadValues.d.ts +15 -0
- package/assets/scripts/Helpers/enableSpreadValues.js +38 -0
- package/{dist → assets}/scripts/Helpers/getExportStatement.d.ts +1 -1
- package/assets/scripts/Helpers/getExportStatement.js +16 -0
- 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/{dist → assets}/scripts/generate-all.d.ts +1 -0
- package/{dist → assets}/scripts/generate-all.js +1 -0
- package/{dist → assets}/scripts/generate-champion-ids-by-name.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-ids-by-name.js +1 -1
- package/{dist → assets}/scripts/generate-champion-ids.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-ids.js +1 -1
- package/{dist → assets}/scripts/generate-champion-keys.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-keys.js +1 -1
- package/{dist → assets}/scripts/generate-champion-names.d.ts +0 -0
- package/{dist → assets}/scripts/generate-champion-names.js +1 -1
- package/{dist → assets}/scripts/generate-item-keys.d.ts +0 -0
- package/{dist → assets}/scripts/generate-item-keys.js +1 -1
- package/{dist → assets}/scripts/generate-item-names.d.ts +0 -0
- package/{dist → assets}/scripts/generate-item-names.js +1 -1
- package/{dist → assets}/scripts/generate-rune-ids.d.ts +0 -0
- package/{dist → assets}/scripts/generate-rune-ids.js +2 -2
- package/{dist → assets}/scripts/generate-rune-names.d.ts +0 -0
- package/{dist → assets}/scripts/generate-rune-names.js +2 -2
- package/{dist/scripts/generate-spell-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/scripts/generate-spell-ids.d.ts → assets/scripts/generate-spell-ids-by-name.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-ids-by-name.js +1 -1
- package/{dist/scripts/generate-spell-keys.d.ts → assets/scripts/generate-spell-ids.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-ids.js +1 -1
- package/{dist/scripts/generate-spell-names.d.ts → assets/scripts/generate-spell-keys.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-keys.js +1 -1
- package/{dist/scripts/generate-stat-rune-ids.d.ts → assets/scripts/generate-spell-names.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-spell-names.js +1 -1
- package/{dist/scripts/generate-stat-rune-names.d.ts → assets/scripts/generate-stat-rune-ids.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-stat-rune-ids.js +1 -1
- package/{dist/scripts/generate-tree-rune-ids.d.ts → assets/scripts/generate-stat-rune-names.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-stat-rune-names.js +1 -1
- package/{dist/scripts/generate-tree-rune-names.d.ts → assets/scripts/generate-tree-rune-ids.d.ts} +0 -0
- package/{dist → assets}/scripts/generate-tree-rune-ids.js +1 -1
- package/assets/scripts/generate-tree-rune-names.d.ts +1 -0
- package/{dist → assets}/scripts/generate-tree-rune-names.js +1 -1
- package/{dist/assets → assets}/summoner.json +0 -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/{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/{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 +50 -50
- package/dist/index.js +50 -61
- package/dist/types/index.d.ts +21 -21
- package/package.json +5 -6
- 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/scripts/Helpers/getExportStatement.js +0 -10
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);
|
@@ -28,120 +17,120 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
17
|
exports.isTreeRuneId = exports.isStatRuneName = exports.isStatRuneId = exports.isSpellName = exports.isSpellKey = exports.isSpellId = exports.isRuneName = exports.isRuneId = exports.isItemName = exports.isItemKey = exports.isChampionName = exports.isChampionKey = exports.isChampionId = exports.getTreeRuneNameById = exports.getTreeRuneIdByName = exports.getStatRuneNameById = exports.getStatRuneIdByName = exports.getSpellNameByKey = exports.getSpellNameById = exports.getSpellKeyByName = exports.getSpellKeyById = exports.getSpellIdByName = exports.getSpellIdByKey = exports.getRuneNameById = exports.getRuneIdByName = exports.getItemNameByKey = exports.getItemKeyByName = exports.getChampionNameById = exports.getChampionKeyByName = exports.getChampionKeyById = exports.getChampionIdByName = exports.getChampionIdByKey = exports.TreeRuneNames = exports.TreeRuneIds = exports.StatRuneNames = exports.StatRuneIds = exports.SpellNames = exports.SpellKeys = exports.SpellIdsByName = exports.SpellIds = exports.RuneSets = exports.RuneNames = exports.RuneIds = exports.ItemNames = exports.ItemKeys = exports.DDPaths = exports.ChampionNames = exports.ChampionKeys = exports.ChampionIdsByName = exports.ChampionIds = void 0;
|
29
18
|
exports.isTreeRuneName = void 0;
|
30
19
|
// # Constants
|
31
|
-
var ChampionIds_1 = require("./Constants/ChampionIds");
|
20
|
+
var ChampionIds_1 = require("./Constants/Champions/ChampionIds");
|
32
21
|
Object.defineProperty(exports, "ChampionIds", { enumerable: true, get: function () { return ChampionIds_1.ChampionIds; } });
|
33
|
-
var ChampionIdsByName_1 = require("./Constants/ChampionIdsByName");
|
22
|
+
var ChampionIdsByName_1 = require("./Constants/Champions/ChampionIdsByName");
|
34
23
|
Object.defineProperty(exports, "ChampionIdsByName", { enumerable: true, get: function () { return ChampionIdsByName_1.ChampionIdsByName; } });
|
35
|
-
var ChampionKeys_1 = require("./Constants/ChampionKeys");
|
24
|
+
var ChampionKeys_1 = require("./Constants/Champions/ChampionKeys");
|
36
25
|
Object.defineProperty(exports, "ChampionKeys", { enumerable: true, get: function () { return ChampionKeys_1.ChampionKeys; } });
|
37
|
-
var ChampionNames_1 = require("./Constants/ChampionNames");
|
26
|
+
var ChampionNames_1 = require("./Constants/Champions/ChampionNames");
|
38
27
|
Object.defineProperty(exports, "ChampionNames", { enumerable: true, get: function () { return ChampionNames_1.ChampionNames; } });
|
39
28
|
var DDPaths_1 = require("./Constants/DDPaths");
|
40
29
|
Object.defineProperty(exports, "DDPaths", { enumerable: true, get: function () { return DDPaths_1.DDPaths; } });
|
41
|
-
var ItemKeys_1 = require("./Constants/ItemKeys");
|
30
|
+
var ItemKeys_1 = require("./Constants/Items/ItemKeys");
|
42
31
|
Object.defineProperty(exports, "ItemKeys", { enumerable: true, get: function () { return ItemKeys_1.ItemKeys; } });
|
43
|
-
var ItemNames_1 = require("./Constants/ItemNames");
|
32
|
+
var ItemNames_1 = require("./Constants/Items/ItemNames");
|
44
33
|
Object.defineProperty(exports, "ItemNames", { enumerable: true, get: function () { return ItemNames_1.ItemNames; } });
|
45
|
-
var RuneIds_1 = require("./Constants/RuneIds");
|
34
|
+
var RuneIds_1 = require("./Constants/Runes/RuneIds");
|
46
35
|
Object.defineProperty(exports, "RuneIds", { enumerable: true, get: function () { return RuneIds_1.RuneIds; } });
|
47
|
-
var RuneNames_1 = require("./Constants/RuneNames");
|
36
|
+
var RuneNames_1 = require("./Constants/Runes/RuneNames");
|
48
37
|
Object.defineProperty(exports, "RuneNames", { enumerable: true, get: function () { return RuneNames_1.RuneNames; } });
|
49
|
-
var RuneSets_1 = require("./Constants/RuneSets");
|
38
|
+
var RuneSets_1 = require("./Constants/Runes/RuneSets");
|
50
39
|
Object.defineProperty(exports, "RuneSets", { enumerable: true, get: function () { return RuneSets_1.RuneSets; } });
|
51
|
-
var SpellIds_1 = require("./Constants/SpellIds");
|
40
|
+
var SpellIds_1 = require("./Constants/Spells/SpellIds");
|
52
41
|
Object.defineProperty(exports, "SpellIds", { enumerable: true, get: function () { return SpellIds_1.SpellIds; } });
|
53
|
-
var SpellIdsByName_1 = require("./Constants/SpellIdsByName");
|
42
|
+
var SpellIdsByName_1 = require("./Constants/Spells/SpellIdsByName");
|
54
43
|
Object.defineProperty(exports, "SpellIdsByName", { enumerable: true, get: function () { return SpellIdsByName_1.SpellIdsByName; } });
|
55
|
-
var SpellKeys_1 = require("./Constants/SpellKeys");
|
44
|
+
var SpellKeys_1 = require("./Constants/Spells/SpellKeys");
|
56
45
|
Object.defineProperty(exports, "SpellKeys", { enumerable: true, get: function () { return SpellKeys_1.SpellKeys; } });
|
57
|
-
var SpellNames_1 = require("./Constants/SpellNames");
|
46
|
+
var SpellNames_1 = require("./Constants/Spells/SpellNames");
|
58
47
|
Object.defineProperty(exports, "SpellNames", { enumerable: true, get: function () { return SpellNames_1.SpellNames; } });
|
59
|
-
var StatRuneIds_1 = require("./Constants/StatRuneIds");
|
48
|
+
var StatRuneIds_1 = require("./Constants/Runes/StatRuneIds");
|
60
49
|
Object.defineProperty(exports, "StatRuneIds", { enumerable: true, get: function () { return StatRuneIds_1.StatRuneIds; } });
|
61
|
-
var StatRuneNames_1 = require("./Constants/StatRuneNames");
|
50
|
+
var StatRuneNames_1 = require("./Constants/Runes/StatRuneNames");
|
62
51
|
Object.defineProperty(exports, "StatRuneNames", { enumerable: true, get: function () { return StatRuneNames_1.StatRuneNames; } });
|
63
|
-
var TreeRuneIds_1 = require("./Constants/TreeRuneIds");
|
52
|
+
var TreeRuneIds_1 = require("./Constants/Runes/TreeRuneIds");
|
64
53
|
Object.defineProperty(exports, "TreeRuneIds", { enumerable: true, get: function () { return TreeRuneIds_1.TreeRuneIds; } });
|
65
|
-
var TreeRuneNames_1 = require("./Constants/TreeRuneNames");
|
54
|
+
var TreeRuneNames_1 = require("./Constants/Runes/TreeRuneNames");
|
66
55
|
Object.defineProperty(exports, "TreeRuneNames", { enumerable: true, get: function () { return TreeRuneNames_1.TreeRuneNames; } });
|
67
56
|
// # Helpers
|
68
57
|
// ##
|
69
|
-
var getChampionIdByKey_1 = require("./Helpers/getChampionIdByKey");
|
58
|
+
var getChampionIdByKey_1 = require("./Helpers/Champions/getChampionIdByKey");
|
70
59
|
Object.defineProperty(exports, "getChampionIdByKey", { enumerable: true, get: function () { return getChampionIdByKey_1.getChampionIdByKey; } });
|
71
|
-
var getChampionIdByName_1 = require("./Helpers/getChampionIdByName");
|
60
|
+
var getChampionIdByName_1 = require("./Helpers/Champions/getChampionIdByName");
|
72
61
|
Object.defineProperty(exports, "getChampionIdByName", { enumerable: true, get: function () { return getChampionIdByName_1.getChampionIdByName; } });
|
73
|
-
var getChampionKeyById_1 = require("./Helpers/getChampionKeyById");
|
62
|
+
var getChampionKeyById_1 = require("./Helpers/Champions/getChampionKeyById");
|
74
63
|
Object.defineProperty(exports, "getChampionKeyById", { enumerable: true, get: function () { return getChampionKeyById_1.getChampionKeyById; } });
|
75
|
-
var getChampionKeyByName_1 = require("./Helpers/getChampionKeyByName");
|
64
|
+
var getChampionKeyByName_1 = require("./Helpers/Champions/getChampionKeyByName");
|
76
65
|
Object.defineProperty(exports, "getChampionKeyByName", { enumerable: true, get: function () { return getChampionKeyByName_1.getChampionKeyByName; } });
|
77
|
-
var getChampionNameById_1 = require("./Helpers/getChampionNameById");
|
66
|
+
var getChampionNameById_1 = require("./Helpers/Champions/getChampionNameById");
|
78
67
|
Object.defineProperty(exports, "getChampionNameById", { enumerable: true, get: function () { return getChampionNameById_1.getChampionNameById; } });
|
79
68
|
// ##
|
80
|
-
var getItemKeyByName_1 = require("./Helpers/getItemKeyByName");
|
69
|
+
var getItemKeyByName_1 = require("./Helpers/Items/getItemKeyByName");
|
81
70
|
Object.defineProperty(exports, "getItemKeyByName", { enumerable: true, get: function () { return getItemKeyByName_1.getItemKeyByName; } });
|
82
|
-
var getItemNameByKey_1 = require("./Helpers/getItemNameByKey");
|
71
|
+
var getItemNameByKey_1 = require("./Helpers/Items/getItemNameByKey");
|
83
72
|
Object.defineProperty(exports, "getItemNameByKey", { enumerable: true, get: function () { return getItemNameByKey_1.getItemNameByKey; } });
|
84
73
|
// ##
|
85
|
-
var getRuneIdByName_1 = require("./Helpers/getRuneIdByName");
|
74
|
+
var getRuneIdByName_1 = require("./Helpers/Runes/getRuneIdByName");
|
86
75
|
Object.defineProperty(exports, "getRuneIdByName", { enumerable: true, get: function () { return getRuneIdByName_1.getRuneIdByName; } });
|
87
|
-
var getRuneNameById_1 = require("./Helpers/getRuneNameById");
|
76
|
+
var getRuneNameById_1 = require("./Helpers/Runes/getRuneNameById");
|
88
77
|
Object.defineProperty(exports, "getRuneNameById", { enumerable: true, get: function () { return getRuneNameById_1.getRuneNameById; } });
|
89
78
|
// ##
|
90
|
-
var getSpellIdByKey_1 = require("./Helpers/getSpellIdByKey");
|
79
|
+
var getSpellIdByKey_1 = require("./Helpers/Spells/getSpellIdByKey");
|
91
80
|
Object.defineProperty(exports, "getSpellIdByKey", { enumerable: true, get: function () { return getSpellIdByKey_1.getSpellIdByKey; } });
|
92
|
-
var getSpellIdByName_1 = require("./Helpers/getSpellIdByName");
|
81
|
+
var getSpellIdByName_1 = require("./Helpers/Spells/getSpellIdByName");
|
93
82
|
Object.defineProperty(exports, "getSpellIdByName", { enumerable: true, get: function () { return getSpellIdByName_1.getSpellIdByName; } });
|
94
|
-
var getSpellKeyById_1 = require("./Helpers/getSpellKeyById");
|
83
|
+
var getSpellKeyById_1 = require("./Helpers/Spells/getSpellKeyById");
|
95
84
|
Object.defineProperty(exports, "getSpellKeyById", { enumerable: true, get: function () { return getSpellKeyById_1.getSpellKeyById; } });
|
96
|
-
var getSpellKeyByName_1 = require("./Helpers/getSpellKeyByName");
|
85
|
+
var getSpellKeyByName_1 = require("./Helpers/Spells/getSpellKeyByName");
|
97
86
|
Object.defineProperty(exports, "getSpellKeyByName", { enumerable: true, get: function () { return getSpellKeyByName_1.getSpellKeyByName; } });
|
98
|
-
var getSpellNameById_1 = require("./Helpers/getSpellNameById");
|
87
|
+
var getSpellNameById_1 = require("./Helpers/Spells/getSpellNameById");
|
99
88
|
Object.defineProperty(exports, "getSpellNameById", { enumerable: true, get: function () { return getSpellNameById_1.getSpellNameById; } });
|
100
|
-
var getSpellNameByKey_1 = require("./Helpers/getSpellNameByKey");
|
89
|
+
var getSpellNameByKey_1 = require("./Helpers/Spells/getSpellNameByKey");
|
101
90
|
Object.defineProperty(exports, "getSpellNameByKey", { enumerable: true, get: function () { return getSpellNameByKey_1.getSpellNameByKey; } });
|
102
91
|
// ##
|
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
96
|
// ##
|
108
|
-
var getTreeRuneIdByName_1 = require("./Helpers/getTreeRuneIdByName");
|
97
|
+
var getTreeRuneIdByName_1 = require("./Helpers/Runes/getTreeRuneIdByName");
|
109
98
|
Object.defineProperty(exports, "getTreeRuneIdByName", { enumerable: true, get: function () { return getTreeRuneIdByName_1.getTreeRuneIdByName; } });
|
110
|
-
var getTreeRuneNameById_1 = require("./Helpers/getTreeRuneNameById");
|
99
|
+
var getTreeRuneNameById_1 = require("./Helpers/Runes/getTreeRuneNameById");
|
111
100
|
Object.defineProperty(exports, "getTreeRuneNameById", { enumerable: true, get: function () { return getTreeRuneNameById_1.getTreeRuneNameById; } });
|
112
101
|
// ##
|
113
|
-
var isChampionId_1 = require("./Helpers/isChampionId");
|
102
|
+
var isChampionId_1 = require("./Helpers/Champions/isChampionId");
|
114
103
|
Object.defineProperty(exports, "isChampionId", { enumerable: true, get: function () { return isChampionId_1.isChampionId; } });
|
115
|
-
var isChampionKey_1 = require("./Helpers/isChampionKey");
|
104
|
+
var isChampionKey_1 = require("./Helpers/Champions/isChampionKey");
|
116
105
|
Object.defineProperty(exports, "isChampionKey", { enumerable: true, get: function () { return isChampionKey_1.isChampionKey; } });
|
117
|
-
var isChampionName_1 = require("./Helpers/isChampionName");
|
106
|
+
var isChampionName_1 = require("./Helpers/Champions/isChampionName");
|
118
107
|
Object.defineProperty(exports, "isChampionName", { enumerable: true, get: function () { return isChampionName_1.isChampionName; } });
|
119
108
|
// ##
|
120
|
-
var isItemKey_1 = require("./Helpers/isItemKey");
|
109
|
+
var isItemKey_1 = require("./Helpers/Items/isItemKey");
|
121
110
|
Object.defineProperty(exports, "isItemKey", { enumerable: true, get: function () { return isItemKey_1.isItemKey; } });
|
122
|
-
var isItemName_1 = require("./Helpers/isItemName");
|
111
|
+
var isItemName_1 = require("./Helpers/Items/isItemName");
|
123
112
|
Object.defineProperty(exports, "isItemName", { enumerable: true, get: function () { return isItemName_1.isItemName; } });
|
124
113
|
// ##
|
125
|
-
var isRuneId_1 = require("./Helpers/isRuneId");
|
114
|
+
var isRuneId_1 = require("./Helpers/Runes/isRuneId");
|
126
115
|
Object.defineProperty(exports, "isRuneId", { enumerable: true, get: function () { return isRuneId_1.isRuneId; } });
|
127
|
-
var isRuneName_1 = require("./Helpers/isRuneName");
|
116
|
+
var isRuneName_1 = require("./Helpers/Runes/isRuneName");
|
128
117
|
Object.defineProperty(exports, "isRuneName", { enumerable: true, get: function () { return isRuneName_1.isRuneName; } });
|
129
118
|
// ##
|
130
|
-
var isSpellId_1 = require("./Helpers/isSpellId");
|
119
|
+
var isSpellId_1 = require("./Helpers/Spells/isSpellId");
|
131
120
|
Object.defineProperty(exports, "isSpellId", { enumerable: true, get: function () { return isSpellId_1.isSpellId; } });
|
132
|
-
var isSpellKey_1 = require("./Helpers/isSpellKey");
|
121
|
+
var isSpellKey_1 = require("./Helpers/Spells/isSpellKey");
|
133
122
|
Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
|
134
|
-
var isSpellName_1 = require("./Helpers/isSpellName");
|
123
|
+
var isSpellName_1 = require("./Helpers/Spells/isSpellName");
|
135
124
|
Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
|
136
125
|
// ##
|
137
|
-
var isStatRuneId_1 = require("./Helpers/isStatRuneId");
|
126
|
+
var isStatRuneId_1 = require("./Helpers/Runes/isStatRuneId");
|
138
127
|
Object.defineProperty(exports, "isStatRuneId", { enumerable: true, get: function () { return isStatRuneId_1.isStatRuneId; } });
|
139
|
-
var isStatRuneName_1 = require("./Helpers/isStatRuneName");
|
128
|
+
var isStatRuneName_1 = require("./Helpers/Runes/isStatRuneName");
|
140
129
|
Object.defineProperty(exports, "isStatRuneName", { enumerable: true, get: function () { return isStatRuneName_1.isStatRuneName; } });
|
141
130
|
// ##
|
142
|
-
var isTreeRuneId_1 = require("./Helpers/isTreeRuneId");
|
131
|
+
var isTreeRuneId_1 = require("./Helpers/Runes/isTreeRuneId");
|
143
132
|
Object.defineProperty(exports, "isTreeRuneId", { enumerable: true, get: function () { return isTreeRuneId_1.isTreeRuneId; } });
|
144
|
-
var isTreeRuneName_1 = require("./Helpers/isTreeRuneName");
|
133
|
+
var isTreeRuneName_1 = require("./Helpers/Runes/isTreeRuneName");
|
145
134
|
Object.defineProperty(exports, "isTreeRuneName", { enumerable: true, get: function () { return isTreeRuneName_1.isTreeRuneName; } });
|
146
135
|
// # scripts
|
147
136
|
// —
|
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,19 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "lol-constants",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.1.2",
|
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",
|
7
7
|
"license": "MIT",
|
8
8
|
"files": [
|
9
|
-
"/dist"
|
9
|
+
"/dist",
|
10
|
+
"/assets"
|
10
11
|
],
|
11
12
|
"scripts": {
|
12
13
|
"clean-build": "rmdir /s /q dist && tsc",
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"publish-new-patch": "tsc && npm version patch && npm publish",
|
16
|
-
"generate": "node dist/scripts/generate-all"
|
14
|
+
"clean-build-assets": "rmdir /s /q assets && cd srcAssets && tsc",
|
15
|
+
"generate": "node assets/scripts/generate-all"
|
17
16
|
},
|
18
17
|
"devDependencies": {
|
19
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
|
-
};
|
@@ -1,210 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RuneSets = exports.All = exports.StatRunes = exports.Keystones = exports.SecondaryTrees = exports.PrimaryTrees = void 0;
|
4
|
-
exports.PrimaryTrees = {
|
5
|
-
/**
|
6
|
-
* There are 13 Precision Runes in the game.
|
7
|
-
*/
|
8
|
-
'Precision': [
|
9
|
-
'8005',
|
10
|
-
'8008',
|
11
|
-
'8021',
|
12
|
-
'8010',
|
13
|
-
'9101',
|
14
|
-
'9111',
|
15
|
-
'8009',
|
16
|
-
'9104',
|
17
|
-
'9105',
|
18
|
-
'9103',
|
19
|
-
'8014',
|
20
|
-
'8017',
|
21
|
-
'8299',
|
22
|
-
],
|
23
|
-
/**
|
24
|
-
* There are 13 Domination Runes in the game.
|
25
|
-
*/
|
26
|
-
'Domination': [
|
27
|
-
'8112',
|
28
|
-
'8124',
|
29
|
-
'8128',
|
30
|
-
'9923',
|
31
|
-
'8126',
|
32
|
-
'8139',
|
33
|
-
'8143',
|
34
|
-
'8136',
|
35
|
-
'8138',
|
36
|
-
'8135',
|
37
|
-
'8134',
|
38
|
-
'8105',
|
39
|
-
'8106',
|
40
|
-
],
|
41
|
-
/**
|
42
|
-
* There are 12 Sorcery Runes in the game.
|
43
|
-
*/
|
44
|
-
'Sorcery': [
|
45
|
-
'8214',
|
46
|
-
'8229',
|
47
|
-
'8230',
|
48
|
-
'8224',
|
49
|
-
'8226',
|
50
|
-
'8275',
|
51
|
-
'8210',
|
52
|
-
'8234',
|
53
|
-
'8233',
|
54
|
-
'8237',
|
55
|
-
'8232',
|
56
|
-
'8236',
|
57
|
-
],
|
58
|
-
/**
|
59
|
-
* There are 11 Resolve Runes in the game.
|
60
|
-
*/
|
61
|
-
'Resolve': [
|
62
|
-
'8437',
|
63
|
-
'8439',
|
64
|
-
'8465',
|
65
|
-
'8446',
|
66
|
-
'8463',
|
67
|
-
'8401',
|
68
|
-
'8429',
|
69
|
-
'8444',
|
70
|
-
'8473',
|
71
|
-
'8451',
|
72
|
-
'8453',
|
73
|
-
'8242',
|
74
|
-
],
|
75
|
-
/**
|
76
|
-
* There are 12 Inspiration Runes in the game.
|
77
|
-
*/
|
78
|
-
'Inspiration': [
|
79
|
-
'8351',
|
80
|
-
'8360',
|
81
|
-
'8369',
|
82
|
-
'8306',
|
83
|
-
'8304',
|
84
|
-
'8313',
|
85
|
-
'8321',
|
86
|
-
'8316',
|
87
|
-
'8345',
|
88
|
-
'8347',
|
89
|
-
'8410',
|
90
|
-
'8352',
|
91
|
-
],
|
92
|
-
};
|
93
|
-
exports.SecondaryTrees = {
|
94
|
-
'Precision': [
|
95
|
-
'9101',
|
96
|
-
'9111',
|
97
|
-
'8009',
|
98
|
-
'9104',
|
99
|
-
'9105',
|
100
|
-
'9103',
|
101
|
-
'8014',
|
102
|
-
'8017',
|
103
|
-
'8299',
|
104
|
-
],
|
105
|
-
'Domination': [
|
106
|
-
'8126',
|
107
|
-
'8139',
|
108
|
-
'8143',
|
109
|
-
'8136',
|
110
|
-
'8138',
|
111
|
-
'8135',
|
112
|
-
'8134',
|
113
|
-
'8105',
|
114
|
-
'8106',
|
115
|
-
],
|
116
|
-
'Sorcery': [
|
117
|
-
'8224',
|
118
|
-
'8226',
|
119
|
-
'8275',
|
120
|
-
'8210',
|
121
|
-
'8234',
|
122
|
-
'8233',
|
123
|
-
'8237',
|
124
|
-
'8232',
|
125
|
-
'8236',
|
126
|
-
],
|
127
|
-
'Resolve': [
|
128
|
-
'8446',
|
129
|
-
'8463',
|
130
|
-
'8401',
|
131
|
-
'8429',
|
132
|
-
'8444',
|
133
|
-
'8473',
|
134
|
-
'8451',
|
135
|
-
'8453',
|
136
|
-
'8242',
|
137
|
-
],
|
138
|
-
'Inspiration': [
|
139
|
-
'8306',
|
140
|
-
'8304',
|
141
|
-
'8313',
|
142
|
-
'8321',
|
143
|
-
'8316',
|
144
|
-
'8345',
|
145
|
-
'8347',
|
146
|
-
'8410',
|
147
|
-
'8352',
|
148
|
-
],
|
149
|
-
};
|
150
|
-
/**
|
151
|
-
* There are 17 Keystone Runes in the game.
|
152
|
-
*/
|
153
|
-
exports.Keystones = [
|
154
|
-
// Precision
|
155
|
-
'8005',
|
156
|
-
'8008',
|
157
|
-
'8021',
|
158
|
-
'8010',
|
159
|
-
// Domination
|
160
|
-
'8112',
|
161
|
-
'8124',
|
162
|
-
'8128',
|
163
|
-
'9923',
|
164
|
-
// Sorcery
|
165
|
-
'8214',
|
166
|
-
'8229',
|
167
|
-
'8230',
|
168
|
-
// Resolve
|
169
|
-
'8437',
|
170
|
-
'8439',
|
171
|
-
'8465',
|
172
|
-
// Inspiration
|
173
|
-
'8351',
|
174
|
-
'8360',
|
175
|
-
'8369',
|
176
|
-
];
|
177
|
-
/**
|
178
|
-
* There are 9 Stat Runes in the game.
|
179
|
-
*/
|
180
|
-
exports.StatRunes = [
|
181
|
-
'5001',
|
182
|
-
'5002',
|
183
|
-
'5002f',
|
184
|
-
'5003',
|
185
|
-
'5003f',
|
186
|
-
'5005',
|
187
|
-
'5007',
|
188
|
-
'5008',
|
189
|
-
'5008f',
|
190
|
-
];
|
191
|
-
exports.All = [
|
192
|
-
...exports.PrimaryTrees.Precision,
|
193
|
-
...exports.PrimaryTrees.Domination,
|
194
|
-
...exports.PrimaryTrees.Sorcery,
|
195
|
-
...exports.PrimaryTrees.Resolve,
|
196
|
-
...exports.PrimaryTrees.Inspiration,
|
197
|
-
...exports.StatRunes,
|
198
|
-
];
|
199
|
-
/**
|
200
|
-
* Contains all Rune IDs
|
201
|
-
* that are known to man in the game of League of Legends.
|
202
|
-
* Sorted by various useful categories.
|
203
|
-
*/
|
204
|
-
exports.RuneSets = {
|
205
|
-
PrimaryTrees: exports.PrimaryTrees,
|
206
|
-
SecondaryTrees: exports.SecondaryTrees,
|
207
|
-
Keystones: exports.Keystones,
|
208
|
-
StatRunes: exports.StatRunes,
|
209
|
-
All: exports.All,
|
210
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getExportStatement = void 0;
|
4
|
-
/**
|
5
|
-
* Wraps the provided JSON in a TS export-as-const statement.
|
6
|
-
*/
|
7
|
-
function getExportStatement(constName, json) {
|
8
|
-
return `export const ${constName} = ${JSON.stringify(json)} as const`;
|
9
|
-
}
|
10
|
-
exports.getExportStatement = getExportStatement;
|