lol-constants 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ export declare type TQueue = 'RANKED_SOLO_5x5' | 'RANKED_FLEX_SR';
2
+ export declare type TLeaguesTier = 'CHALLENGER' | 'GRANDMASTER' | 'MASTER' | 'DIAMOND' | 'PLATINUM' | 'GOLD' | 'SILVER' | 'BRONZE' | 'IRON';
3
+ export declare type TLeaguesRank = 'I' | 'II' | 'III' | 'IV';
4
+ export declare type TGameType = 'CUSTOM_GAME' | 'TUTORIAL_GAME' | 'MATCHED_GAME';
5
+ export declare type TGameMode = 'CLASSIC' | 'ARAM' | 'TUTORIAL' | 'URF' | 'ONEFORALL' | 'KINGPORO' | 'GAMEMODEX' | 'ULTBOOK';
6
+ export declare type PlatformId = 'BR1' | 'EUN1' | 'EUW1' | 'JP1' | 'KR' | 'LA1' | 'LA2' | 'NA1' | 'OC1' | 'TR1' | 'RU';
7
+ export declare type Region = 'EUW';
8
+ export declare type QueueId = 0 | 400 | 420 | 430 | 440 | 450 | 700 | 900 | 920 | 1020 | 1090 | 1100 | 1110 | 1111 | 1300 | 1400 | 1900;
9
+ export declare type MapId = 11 | 12 | 21 | 22;
10
+ export declare type TeamId = 100 | 200;
11
+ export declare type ParticipantId = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
12
+ export declare type TWardType = 'UNDEFINED' | 'YELLOW_TRINKET' | 'CONTROL_WARD';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,3 +2,8 @@ import championByKey from '../generated/championByKey.json';
2
2
  import championByName from '../generated/championByName.json';
3
3
  export declare type ChampionName = keyof typeof championByName.data;
4
4
  export declare type ChampionKey = keyof typeof championByKey.data;
5
+ export declare type XP = number;
6
+ export declare type Minute = number;
7
+ export declare type TPosition = 'TOP' | 'JUNGLE' | 'MIDDLE' | 'BOTTOM' | 'UTILITY';
8
+ export declare type TLane = 'TOP' | 'JUNGLE' | 'MIDDLE' | 'BOTTOM';
9
+ export declare type TRole = 'NONE' | 'SOLO' | 'CARRY' | 'SUPPORT';
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
- {
2
- "name": "lol-constants",
3
- "version": "0.1.8",
4
- "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner.",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "license": "MIT",
8
- "files": [
9
- "/dist"
10
- ],
11
- "scripts": {
12
- "build": "rmdir /s /q dist && tsc",
13
- "publish-new-major": "npm run build && npm version major && npm publish",
14
- "publish-new-minor": "npm run build && npm version minor && npm publish",
15
- "publish-new-patch": "npm run build && npm version patch && npm publish",
16
- "generate": "node dist/scripts/generate-all"
17
- },
18
- "devDependencies": {
19
- "@types/node": "^17.0.42"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/kd0010/lol-constants.git"
24
- }
25
- }
1
+ {
2
+ "name": "lol-constants",
3
+ "version": "0.2.0",
4
+ "description": "League of Legends constants and data resources, such as champion, item, runes reforged, summoner.",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "license": "MIT",
8
+ "files": [
9
+ "/dist"
10
+ ],
11
+ "scripts": {
12
+ "build": "rmdir /s /q dist && tsc",
13
+ "publish-new-major": "npm run build && npm version major && npm publish",
14
+ "publish-new-minor": "npm run build && npm version minor && npm publish",
15
+ "publish-new-patch": "npm run build && npm version patch && npm publish",
16
+ "generate": "node dist/scripts/generate-all"
17
+ },
18
+ "devDependencies": {
19
+ "@types/node": "^17.0.42"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/kd0010/lol-constants.git"
24
+ }
25
+ }