lol-constants 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ import { DominationTreeRuneId } from '../../types';
2
+ export declare function isDominationTreeRuneId(id: string): id is DominationTreeRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isDominationTreeRuneId = void 0;
4
+ const RuneSets_1 = require("../../Constants/Runes/RuneSets");
5
+ function isDominationTreeRuneId(id) {
6
+ return id in RuneSets_1.PrimaryTrees.Domination;
7
+ }
8
+ exports.isDominationTreeRuneId = isDominationTreeRuneId;
@@ -0,0 +1,2 @@
1
+ import { InspirationTreeRuneId } from '../../types';
2
+ export declare function isInspirationTreeRuneId(id: string): id is InspirationTreeRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isInspirationTreeRuneId = void 0;
4
+ const RuneSets_1 = require("../../Constants/Runes/RuneSets");
5
+ function isInspirationTreeRuneId(id) {
6
+ return id in RuneSets_1.PrimaryTrees.Inspiration;
7
+ }
8
+ exports.isInspirationTreeRuneId = isInspirationTreeRuneId;
@@ -0,0 +1,2 @@
1
+ import { KeystoneRuneId } from '../../types';
2
+ export declare function isKeystoneRuneId(id: string): id is KeystoneRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isKeystoneRuneId = void 0;
4
+ const RuneSets_1 = require("../../Constants/Runes/RuneSets");
5
+ function isKeystoneRuneId(id) {
6
+ return id in RuneSets_1.Keystones;
7
+ }
8
+ exports.isKeystoneRuneId = isKeystoneRuneId;
@@ -0,0 +1,2 @@
1
+ import { PrecisionTreeRuneId } from '../../types';
2
+ export declare function isPrecisionTreeRuneId(id: string): id is PrecisionTreeRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isPrecisionTreeRuneId = void 0;
4
+ const RuneSets_1 = require("../../Constants/Runes/RuneSets");
5
+ function isPrecisionTreeRuneId(id) {
6
+ return id in RuneSets_1.PrimaryTrees.Precision;
7
+ }
8
+ exports.isPrecisionTreeRuneId = isPrecisionTreeRuneId;
@@ -0,0 +1,2 @@
1
+ import { ResolveTreeRuneId } from '../../types';
2
+ export declare function isResolveTreeRuneId(id: string): id is ResolveTreeRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isResolveTreeRuneId = void 0;
4
+ const RuneSets_1 = require("../../Constants/Runes/RuneSets");
5
+ function isResolveTreeRuneId(id) {
6
+ return id in RuneSets_1.PrimaryTrees.Resolve;
7
+ }
8
+ exports.isResolveTreeRuneId = isResolveTreeRuneId;
@@ -0,0 +1,2 @@
1
+ import { SorceryTreeRuneId } from '../../types';
2
+ export declare function isSorceryTreeRuneId(id: string): id is SorceryTreeRuneId;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isSorceryTreeRuneId = void 0;
4
+ const RuneSets_1 = require("../../Constants/Runes/RuneSets");
5
+ function isSorceryTreeRuneId(id) {
6
+ return id in RuneSets_1.PrimaryTrees.Sorcery;
7
+ }
8
+ exports.isSorceryTreeRuneId = isSorceryTreeRuneId;
package/dist/index.d.ts CHANGED
@@ -1,53 +1,59 @@
1
+ export { DDPaths } from './Constants/DDPaths';
1
2
  export { ChampionIds } from './Constants/Champions/ChampionIds';
2
3
  export { ChampionIdsByName } from './Constants/Champions/ChampionIdsByName';
3
4
  export { ChampionKeys } from './Constants/Champions/ChampionKeys';
4
5
  export { ChampionNames } from './Constants/Champions/ChampionNames';
5
- export { DDPaths } from './Constants/DDPaths';
6
6
  export { ItemKeys } from './Constants/Items/ItemKeys';
7
7
  export { ItemNames } from './Constants/Items/ItemNames';
8
8
  export { RuneIds } from './Constants/Runes/RuneIds';
9
9
  export { RuneNames } from './Constants/Runes/RuneNames';
10
10
  export { RuneSets } from './Constants/Runes/RuneSets';
11
- export { SpellIds } from './Constants/Spells/SpellIds';
12
- export { SpellIdsByName } from './Constants/Spells/SpellIdsByName';
13
- export { SpellKeys } from './Constants/Spells/SpellKeys';
14
- export { SpellNames } from './Constants/Spells/SpellNames';
15
11
  export { StatRuneIds } from './Constants/Runes/StatRuneIds';
16
12
  export { StatRuneNames } from './Constants/Runes/StatRuneNames';
17
13
  export { TreeRuneIds } from './Constants/Runes/TreeRuneIds';
18
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
19
  export { getChampionIdByKey } from './Helpers/Champions/getChampionIdByKey';
20
20
  export { getChampionIdByName } from './Helpers/Champions/getChampionIdByName';
21
21
  export { getChampionKeyById } from './Helpers/Champions/getChampionKeyById';
22
22
  export { getChampionKeyByName } from './Helpers/Champions/getChampionKeyByName';
23
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';
24
27
  export { getItemKeyByName } from './Helpers/Items/getItemKeyByName';
25
28
  export { getItemNameByKey } from './Helpers/Items/getItemNameByKey';
29
+ export { isItemKey } from './Helpers/Items/isItemKey';
30
+ export { isItemName } from './Helpers/Items/isItemName';
26
31
  export { getRuneIdByName } from './Helpers/Runes/getRuneIdByName';
27
32
  export { getRuneNameById } from './Helpers/Runes/getRuneNameById';
28
- export { getSpellIdByKey } from './Helpers/Spells/getSpellIdByKey';
29
- export { getSpellIdByName } from './Helpers/Spells/getSpellIdByName';
30
- export { getSpellKeyById } from './Helpers/Spells/getSpellKeyById';
31
- export { getSpellKeyByName } from './Helpers/Spells/getSpellKeyByName';
32
- export { getSpellNameById } from './Helpers/Spells/getSpellNameById';
33
- export { getSpellNameByKey } from './Helpers/Spells/getSpellNameByKey';
34
33
  export { getStatRuneIdByName } from './Helpers/Runes/getStatRuneIdByName';
35
34
  export { getStatRuneNameById } from './Helpers/Runes/getStatRuneNameById';
36
35
  export { getTreeRuneIdByName } from './Helpers/Runes/getTreeRuneIdByName';
37
36
  export { getTreeRuneNameById } from './Helpers/Runes/getTreeRuneNameById';
38
- export { isChampionId } from './Helpers/Champions/isChampionId';
39
- export { isChampionKey } from './Helpers/Champions/isChampionKey';
40
- export { isChampionName } from './Helpers/Champions/isChampionName';
41
- export { isItemKey } from './Helpers/Items/isItemKey';
42
- export { isItemName } from './Helpers/Items/isItemName';
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';
43
42
  export { isRuneId } from './Helpers/Runes/isRuneId';
44
43
  export { isRuneName } from './Helpers/Runes/isRuneName';
45
- export { isSpellId } from './Helpers/Spells/isSpellId';
46
- export { isSpellKey } from './Helpers/Spells/isSpellKey';
47
- export { isSpellName } from './Helpers/Spells/isSpellName';
44
+ export { isSorceryTreeRuneId } from './Helpers/Runes/isSorceryTreeRuneId';
48
45
  export { isStatRuneId } from './Helpers/Runes/isStatRuneId';
49
46
  export { isStatRuneName } from './Helpers/Runes/isStatRuneName';
50
47
  export { isTreeRuneId } from './Helpers/Runes/isTreeRuneId';
51
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
@@ -14,9 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
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;
18
- exports.isTreeRuneName = void 0;
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;
19
19
  // # Constants
20
+ var DDPaths_1 = require("./Constants/DDPaths");
21
+ Object.defineProperty(exports, "DDPaths", { enumerable: true, get: function () { return DDPaths_1.DDPaths; } });
22
+ // ## Champions
20
23
  var ChampionIds_1 = require("./Constants/Champions/ChampionIds");
21
24
  Object.defineProperty(exports, "ChampionIds", { enumerable: true, get: function () { return ChampionIds_1.ChampionIds; } });
22
25
  var ChampionIdsByName_1 = require("./Constants/Champions/ChampionIdsByName");
@@ -25,26 +28,18 @@ var ChampionKeys_1 = require("./Constants/Champions/ChampionKeys");
25
28
  Object.defineProperty(exports, "ChampionKeys", { enumerable: true, get: function () { return ChampionKeys_1.ChampionKeys; } });
26
29
  var ChampionNames_1 = require("./Constants/Champions/ChampionNames");
27
30
  Object.defineProperty(exports, "ChampionNames", { enumerable: true, get: function () { return ChampionNames_1.ChampionNames; } });
28
- var DDPaths_1 = require("./Constants/DDPaths");
29
- Object.defineProperty(exports, "DDPaths", { enumerable: true, get: function () { return DDPaths_1.DDPaths; } });
31
+ // ## Items
30
32
  var ItemKeys_1 = require("./Constants/Items/ItemKeys");
31
33
  Object.defineProperty(exports, "ItemKeys", { enumerable: true, get: function () { return ItemKeys_1.ItemKeys; } });
32
34
  var ItemNames_1 = require("./Constants/Items/ItemNames");
33
35
  Object.defineProperty(exports, "ItemNames", { enumerable: true, get: function () { return ItemNames_1.ItemNames; } });
36
+ // ## Runes
34
37
  var RuneIds_1 = require("./Constants/Runes/RuneIds");
35
38
  Object.defineProperty(exports, "RuneIds", { enumerable: true, get: function () { return RuneIds_1.RuneIds; } });
36
39
  var RuneNames_1 = require("./Constants/Runes/RuneNames");
37
40
  Object.defineProperty(exports, "RuneNames", { enumerable: true, get: function () { return RuneNames_1.RuneNames; } });
38
41
  var RuneSets_1 = require("./Constants/Runes/RuneSets");
39
42
  Object.defineProperty(exports, "RuneSets", { enumerable: true, get: function () { return RuneSets_1.RuneSets; } });
40
- var SpellIds_1 = require("./Constants/Spells/SpellIds");
41
- Object.defineProperty(exports, "SpellIds", { enumerable: true, get: function () { return SpellIds_1.SpellIds; } });
42
- var SpellIdsByName_1 = require("./Constants/Spells/SpellIdsByName");
43
- Object.defineProperty(exports, "SpellIdsByName", { enumerable: true, get: function () { return SpellIdsByName_1.SpellIdsByName; } });
44
- var SpellKeys_1 = require("./Constants/Spells/SpellKeys");
45
- Object.defineProperty(exports, "SpellKeys", { enumerable: true, get: function () { return SpellKeys_1.SpellKeys; } });
46
- var SpellNames_1 = require("./Constants/Spells/SpellNames");
47
- Object.defineProperty(exports, "SpellNames", { enumerable: true, get: function () { return SpellNames_1.SpellNames; } });
48
43
  var StatRuneIds_1 = require("./Constants/Runes/StatRuneIds");
49
44
  Object.defineProperty(exports, "StatRuneIds", { enumerable: true, get: function () { return StatRuneIds_1.StatRuneIds; } });
50
45
  var StatRuneNames_1 = require("./Constants/Runes/StatRuneNames");
@@ -53,8 +48,17 @@ var TreeRuneIds_1 = require("./Constants/Runes/TreeRuneIds");
53
48
  Object.defineProperty(exports, "TreeRuneIds", { enumerable: true, get: function () { return TreeRuneIds_1.TreeRuneIds; } });
54
49
  var TreeRuneNames_1 = require("./Constants/Runes/TreeRuneNames");
55
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; } });
56
60
  // # Helpers
57
- // ##
61
+ // ## Champions
58
62
  var getChampionIdByKey_1 = require("./Helpers/Champions/getChampionIdByKey");
59
63
  Object.defineProperty(exports, "getChampionIdByKey", { enumerable: true, get: function () { return getChampionIdByKey_1.getChampionIdByKey; } });
60
64
  var getChampionIdByName_1 = require("./Helpers/Champions/getChampionIdByName");
@@ -65,73 +69,77 @@ var getChampionKeyByName_1 = require("./Helpers/Champions/getChampionKeyByName")
65
69
  Object.defineProperty(exports, "getChampionKeyByName", { enumerable: true, get: function () { return getChampionKeyByName_1.getChampionKeyByName; } });
66
70
  var getChampionNameById_1 = require("./Helpers/Champions/getChampionNameById");
67
71
  Object.defineProperty(exports, "getChampionNameById", { enumerable: true, get: function () { return getChampionNameById_1.getChampionNameById; } });
68
- // ##
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
69
79
  var getItemKeyByName_1 = require("./Helpers/Items/getItemKeyByName");
70
80
  Object.defineProperty(exports, "getItemKeyByName", { enumerable: true, get: function () { return getItemKeyByName_1.getItemKeyByName; } });
71
81
  var getItemNameByKey_1 = require("./Helpers/Items/getItemNameByKey");
72
82
  Object.defineProperty(exports, "getItemNameByKey", { enumerable: true, get: function () { return getItemNameByKey_1.getItemNameByKey; } });
73
- // ##
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
74
88
  var getRuneIdByName_1 = require("./Helpers/Runes/getRuneIdByName");
75
89
  Object.defineProperty(exports, "getRuneIdByName", { enumerable: true, get: function () { return getRuneIdByName_1.getRuneIdByName; } });
76
90
  var getRuneNameById_1 = require("./Helpers/Runes/getRuneNameById");
77
91
  Object.defineProperty(exports, "getRuneNameById", { enumerable: true, get: function () { return getRuneNameById_1.getRuneNameById; } });
78
- // ##
79
- var getSpellIdByKey_1 = require("./Helpers/Spells/getSpellIdByKey");
80
- Object.defineProperty(exports, "getSpellIdByKey", { enumerable: true, get: function () { return getSpellIdByKey_1.getSpellIdByKey; } });
81
- var getSpellIdByName_1 = require("./Helpers/Spells/getSpellIdByName");
82
- Object.defineProperty(exports, "getSpellIdByName", { enumerable: true, get: function () { return getSpellIdByName_1.getSpellIdByName; } });
83
- var getSpellKeyById_1 = require("./Helpers/Spells/getSpellKeyById");
84
- Object.defineProperty(exports, "getSpellKeyById", { enumerable: true, get: function () { return getSpellKeyById_1.getSpellKeyById; } });
85
- var getSpellKeyByName_1 = require("./Helpers/Spells/getSpellKeyByName");
86
- Object.defineProperty(exports, "getSpellKeyByName", { enumerable: true, get: function () { return getSpellKeyByName_1.getSpellKeyByName; } });
87
- var getSpellNameById_1 = require("./Helpers/Spells/getSpellNameById");
88
- Object.defineProperty(exports, "getSpellNameById", { enumerable: true, get: function () { return getSpellNameById_1.getSpellNameById; } });
89
- var getSpellNameByKey_1 = require("./Helpers/Spells/getSpellNameByKey");
90
- Object.defineProperty(exports, "getSpellNameByKey", { enumerable: true, get: function () { return getSpellNameByKey_1.getSpellNameByKey; } });
91
- // ##
92
92
  var getStatRuneIdByName_1 = require("./Helpers/Runes/getStatRuneIdByName");
93
93
  Object.defineProperty(exports, "getStatRuneIdByName", { enumerable: true, get: function () { return getStatRuneIdByName_1.getStatRuneIdByName; } });
94
94
  var getStatRuneNameById_1 = require("./Helpers/Runes/getStatRuneNameById");
95
95
  Object.defineProperty(exports, "getStatRuneNameById", { enumerable: true, get: function () { return getStatRuneNameById_1.getStatRuneNameById; } });
96
- // ##
97
96
  var getTreeRuneIdByName_1 = require("./Helpers/Runes/getTreeRuneIdByName");
98
97
  Object.defineProperty(exports, "getTreeRuneIdByName", { enumerable: true, get: function () { return getTreeRuneIdByName_1.getTreeRuneIdByName; } });
99
98
  var getTreeRuneNameById_1 = require("./Helpers/Runes/getTreeRuneNameById");
100
99
  Object.defineProperty(exports, "getTreeRuneNameById", { enumerable: true, get: function () { return getTreeRuneNameById_1.getTreeRuneNameById; } });
101
- // ##
102
- var isChampionId_1 = require("./Helpers/Champions/isChampionId");
103
- Object.defineProperty(exports, "isChampionId", { enumerable: true, get: function () { return isChampionId_1.isChampionId; } });
104
- var isChampionKey_1 = require("./Helpers/Champions/isChampionKey");
105
- Object.defineProperty(exports, "isChampionKey", { enumerable: true, get: function () { return isChampionKey_1.isChampionKey; } });
106
- var isChampionName_1 = require("./Helpers/Champions/isChampionName");
107
- Object.defineProperty(exports, "isChampionName", { enumerable: true, get: function () { return isChampionName_1.isChampionName; } });
108
- // ##
109
- var isItemKey_1 = require("./Helpers/Items/isItemKey");
110
- Object.defineProperty(exports, "isItemKey", { enumerable: true, get: function () { return isItemKey_1.isItemKey; } });
111
- var isItemName_1 = require("./Helpers/Items/isItemName");
112
- Object.defineProperty(exports, "isItemName", { enumerable: true, get: function () { return isItemName_1.isItemName; } });
113
- // ##
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; } });
114
110
  var isRuneId_1 = require("./Helpers/Runes/isRuneId");
115
111
  Object.defineProperty(exports, "isRuneId", { enumerable: true, get: function () { return isRuneId_1.isRuneId; } });
116
112
  var isRuneName_1 = require("./Helpers/Runes/isRuneName");
117
113
  Object.defineProperty(exports, "isRuneName", { enumerable: true, get: function () { return isRuneName_1.isRuneName; } });
118
- // ##
119
- var isSpellId_1 = require("./Helpers/Spells/isSpellId");
120
- Object.defineProperty(exports, "isSpellId", { enumerable: true, get: function () { return isSpellId_1.isSpellId; } });
121
- var isSpellKey_1 = require("./Helpers/Spells/isSpellKey");
122
- Object.defineProperty(exports, "isSpellKey", { enumerable: true, get: function () { return isSpellKey_1.isSpellKey; } });
123
- var isSpellName_1 = require("./Helpers/Spells/isSpellName");
124
- Object.defineProperty(exports, "isSpellName", { enumerable: true, get: function () { return isSpellName_1.isSpellName; } });
125
- // ##
114
+ var isSorceryTreeRuneId_1 = require("./Helpers/Runes/isSorceryTreeRuneId");
115
+ Object.defineProperty(exports, "isSorceryTreeRuneId", { enumerable: true, get: function () { return isSorceryTreeRuneId_1.isSorceryTreeRuneId; } });
126
116
  var isStatRuneId_1 = require("./Helpers/Runes/isStatRuneId");
127
117
  Object.defineProperty(exports, "isStatRuneId", { enumerable: true, get: function () { return isStatRuneId_1.isStatRuneId; } });
128
118
  var isStatRuneName_1 = require("./Helpers/Runes/isStatRuneName");
129
119
  Object.defineProperty(exports, "isStatRuneName", { enumerable: true, get: function () { return isStatRuneName_1.isStatRuneName; } });
130
- // ##
131
120
  var isTreeRuneId_1 = require("./Helpers/Runes/isTreeRuneId");
132
121
  Object.defineProperty(exports, "isTreeRuneId", { enumerable: true, get: function () { return isTreeRuneId_1.isTreeRuneId; } });
133
122
  var isTreeRuneName_1 = require("./Helpers/Runes/isTreeRuneName");
134
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; } });
135
143
  // # scripts
136
144
  // —
137
145
  // # types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "1.1.2",
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",