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.
Files changed (44) hide show
  1. package/README.md +1 -1
  2. package/assets/constants/Champion.d.ts +175 -175
  3. package/assets/constants/Champion.js +1 -1
  4. package/assets/constants/Item.d.ts +4758 -7569
  5. package/assets/constants/Item.js +1 -1
  6. package/assets/constants/LegendaryItemNames.d.ts +1 -1
  7. package/assets/constants/LegendaryItemNames.js +0 -2
  8. package/assets/constants/RunesReforged.d.ts +2 -2
  9. package/assets/constants/RunesReforged.js +1 -1
  10. package/assets/constants/Summoner.d.ts +1 -1
  11. package/assets/constants/Summoner.js +1 -1
  12. package/assets/index.js +0 -1
  13. package/assets/scripts/asset-scripts/champion.d.ts +1 -0
  14. package/assets/scripts/asset-scripts/champion.js +11 -0
  15. package/assets/scripts/asset-scripts/generate-all.d.ts +4 -0
  16. package/assets/scripts/asset-scripts/generate-all.js +6 -0
  17. package/assets/scripts/asset-scripts/item.d.ts +1 -0
  18. package/assets/scripts/asset-scripts/item.js +11 -0
  19. package/assets/scripts/asset-scripts/runes-reforged.d.ts +1 -0
  20. package/assets/scripts/asset-scripts/runes-reforged.js +11 -0
  21. package/assets/scripts/asset-scripts/summoner.d.ts +1 -0
  22. package/assets/scripts/asset-scripts/summoner.js +11 -0
  23. package/assets/scripts/generate-categorized-item-keys-num.js +0 -20
  24. package/assets/scripts/generate-categorized-item-keys.js +0 -20
  25. package/assets/scripts/generate-categorized-item-names.js +0 -20
  26. package/core/constants/DataDragonUrls.d.ts +1 -0
  27. package/core/constants/DataDragonUrls.js +4 -4
  28. package/core/constants/Items/ItemKeys.d.ts +0 -34
  29. package/core/constants/Items/ItemKeys.js +1 -1
  30. package/core/constants/Items/ItemKeysNum.d.ts +0 -34
  31. package/core/constants/Items/ItemKeysNum.js +1 -1
  32. package/core/constants/Items/ItemNames.d.ts +0 -34
  33. package/core/constants/Items/ItemNames.js +1 -1
  34. package/core/constants/Items/LegendaryItemKeys.d.ts +0 -20
  35. package/core/constants/Items/LegendaryItemKeys.js +1 -1
  36. package/core/constants/Items/LegendaryItemKeysNum.d.ts +0 -20
  37. package/core/constants/Items/LegendaryItemKeysNum.js +1 -1
  38. package/core/constants/Items/LegendaryItemNames.d.ts +0 -20
  39. package/core/constants/Items/LegendaryItemNames.js +1 -1
  40. package/core/index.d.ts +0 -6
  41. package/core/index.js +0 -6
  42. package/package.json +4 -1
  43. package/core/constants/QueueDescriptions.d.ts +0 -4
  44. 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.22.0",
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,4 +0,0 @@
1
- import { QueueId } from './QueueIds';
2
- export declare const QueueDescriptions: {
3
- [queueId in QueueId]: string;
4
- };
@@ -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
- };