lol-constants 2.22.0 → 2.23.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/assets/constants/Champion.d.ts +175 -175
- package/assets/constants/Champion.js +1 -1
- package/assets/constants/Item.d.ts +4758 -7569
- package/assets/constants/Item.js +1 -1
- package/assets/constants/LegendaryItemNames.d.ts +1 -1
- package/assets/constants/LegendaryItemNames.js +0 -2
- package/assets/constants/RunesReforged.d.ts +2 -2
- package/assets/constants/RunesReforged.js +1 -1
- package/assets/constants/Summoner.d.ts +1 -1
- package/assets/constants/Summoner.js +1 -1
- package/assets/index.js +0 -1
- package/assets/scripts/asset-scripts/champion.d.ts +1 -0
- package/assets/scripts/asset-scripts/champion.js +11 -0
- package/assets/scripts/asset-scripts/generate-all.d.ts +4 -0
- package/assets/scripts/asset-scripts/generate-all.js +6 -0
- package/assets/scripts/asset-scripts/item.d.ts +1 -0
- package/assets/scripts/asset-scripts/item.js +11 -0
- package/assets/scripts/asset-scripts/runes-reforged.d.ts +1 -0
- package/assets/scripts/asset-scripts/runes-reforged.js +11 -0
- package/assets/scripts/asset-scripts/summoner.d.ts +1 -0
- package/assets/scripts/asset-scripts/summoner.js +11 -0
- package/assets/scripts/generate-categorized-item-keys-num.js +0 -20
- package/assets/scripts/generate-categorized-item-keys.js +0 -20
- package/assets/scripts/generate-categorized-item-names.js +0 -20
- package/core/constants/DataDragonUrls.d.ts +1 -0
- package/core/constants/DataDragonUrls.js +4 -4
- package/core/constants/Items/ItemKeys.d.ts +0 -34
- package/core/constants/Items/ItemKeys.js +1 -1
- package/core/constants/Items/ItemKeysNum.d.ts +0 -34
- package/core/constants/Items/ItemKeysNum.js +1 -1
- package/core/constants/Items/ItemNames.d.ts +0 -34
- package/core/constants/Items/ItemNames.js +1 -1
- package/core/constants/Items/LegendaryItemKeys.d.ts +0 -20
- package/core/constants/Items/LegendaryItemKeys.js +1 -1
- package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -20
- package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
- package/core/constants/Items/LegendaryItemNames.d.ts +0 -20
- package/core/constants/Items/LegendaryItemNames.js +1 -1
- package/core/index.d.ts +0 -6
- package/core/index.js +0 -6
- package/package.json +4 -1
- package/core/constants/QueueDescriptions.d.ts +0 -4
- package/core/constants/QueueDescriptions.js +0 -31
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "lol-constants",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.23.0",
|
4
4
|
"description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner spells.",
|
5
5
|
"main": "core/index.js",
|
6
6
|
"types": "core/index.d.ts",
|
@@ -11,6 +11,8 @@
|
|
11
11
|
],
|
12
12
|
"devDependencies": {
|
13
13
|
"@types/node": "^20.14.6",
|
14
|
+
"@types/node-fetch": "^2.6.11",
|
15
|
+
"node-fetch": "2.6.7",
|
14
16
|
"typescript": "^5.4.5",
|
15
17
|
"vite": "^5.3.1"
|
16
18
|
},
|
@@ -20,6 +22,7 @@
|
|
20
22
|
},
|
21
23
|
"scripts": {
|
22
24
|
"build:clean": "rmdir /s /q core && rmdir /s /q assets && tsc",
|
25
|
+
"assets:pull": "tsc && node assets/scripts/asset-scripts/generate-all",
|
23
26
|
"generate": "tsc && node assets/scripts/generate-all",
|
24
27
|
"print-file-names": "node assets/scripts/print-file-names",
|
25
28
|
"dev": "vite"
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QueueDescriptions = void 0;
|
4
|
-
exports.QueueDescriptions = {
|
5
|
-
0: 'Custom',
|
6
|
-
400: '5v5 Draft Pick',
|
7
|
-
420: '5v5 Ranked Solo',
|
8
|
-
430: '5v5 Blind Pick',
|
9
|
-
440: '5v5 Ranked Flex',
|
10
|
-
450: '5v5 ARAM',
|
11
|
-
700: 'Clash',
|
12
|
-
720: 'ARAM Clash',
|
13
|
-
830: 'Co-op vs. AI Intro Bots',
|
14
|
-
840: 'Co-op vs. AI Beginner Bots',
|
15
|
-
850: 'Co-op vs. AI Intermediate Bots',
|
16
|
-
900: 'ARURF',
|
17
|
-
920: 'Legend of the Poro King',
|
18
|
-
1010: 'Snow ARURF',
|
19
|
-
1020: 'One for All',
|
20
|
-
1090: 'Teamfight Tactics',
|
21
|
-
1100: 'Ranked Teamfight Tactics',
|
22
|
-
1110: 'Teamfight Tactics Tutorial',
|
23
|
-
1111: 'Teamfight Tactics test',
|
24
|
-
1300: 'Nexus Blitz',
|
25
|
-
1400: 'Ultimate Spellbook',
|
26
|
-
1700: 'Arena 2v2v2v2',
|
27
|
-
1900: 'URF',
|
28
|
-
2000: 'Tutorial 1',
|
29
|
-
2010: 'Tutorial 2',
|
30
|
-
2020: 'Tutorial 3',
|
31
|
-
};
|