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/assets/index.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.StatRunes = exports.summoner = exports.runesReforged = exports.item = exports.champion = void 0;
|
7
|
-
// # assets
|
8
|
-
const champion_json_1 = __importDefault(require("./champion.json"));
|
9
|
-
const item_json_1 = __importDefault(require("./item.json"));
|
10
|
-
const runesReforged_json_1 = __importDefault(require("./runesReforged.json"));
|
11
|
-
const summoner_json_1 = __importDefault(require("./summoner.json"));
|
12
|
-
exports.champion = champion_json_1.default;
|
13
|
-
exports.item = item_json_1.default;
|
14
|
-
exports.runesReforged = runesReforged_json_1.default;
|
15
|
-
exports.summoner = summoner_json_1.default;
|
16
|
-
var StatRunes_1 = require("./StatRunes");
|
17
|
-
Object.defineProperty(exports, "StatRunes", { enumerable: true, get: function () { return StatRunes_1.StatRunes; } });
|