lol-constants 2.6.2 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,21 +1,4 @@
1
+ import { QueueId } from './QueueIds';
1
2
  export declare const QueueDescriptions: {
2
- readonly 0: "Custom";
3
- readonly 400: "5v5 Draft Pick";
4
- readonly 420: "5v5 Ranked Solo";
5
- readonly 430: "5v5 Blind Pick";
6
- readonly 440: "5v5 Ranked Flex";
7
- readonly 450: "5v5 ARAM";
8
- readonly 700: "Clash";
9
- readonly 900: "ARURF";
10
- readonly 920: "Legend of the Poro King";
11
- readonly 1020: "One for All";
12
- readonly 1090: "Teamfight Tactics";
13
- readonly 1100: "Ranked Teamfight Tactics";
14
- readonly 1110: "Teamfight Tactics Tutorial";
15
- readonly 1111: "Teamfight Tactics test";
16
- readonly 1300: "Nexus Blitz";
17
- readonly 1400: "Ultimate Spellbook";
18
- readonly 1900: "URF";
3
+ [queueId in QueueId]: string;
19
4
  };
20
- export type QueueDescription = typeof QueueDescriptions[keyof typeof QueueDescriptions];
21
- export declare function isQueueDescription(value: any): value is QueueDescription;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isQueueDescription = exports.QueueDescriptions = void 0;
3
+ exports.QueueDescriptions = void 0;
4
4
  exports.QueueDescriptions = {
5
5
  0: 'Custom',
6
6
  400: '5v5 Draft Pick',
@@ -9,8 +9,13 @@ exports.QueueDescriptions = {
9
9
  440: '5v5 Ranked Flex',
10
10
  450: '5v5 ARAM',
11
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',
12
16
  900: 'ARURF',
13
17
  920: 'Legend of the Poro King',
18
+ 1010: 'Snow ARURF',
14
19
  1020: 'One for All',
15
20
  1090: 'Teamfight Tactics',
16
21
  1100: 'Ranked Teamfight Tactics',
@@ -18,9 +23,9 @@ exports.QueueDescriptions = {
18
23
  1111: 'Teamfight Tactics test',
19
24
  1300: 'Nexus Blitz',
20
25
  1400: 'Ultimate Spellbook',
26
+ 1700: 'Arena 2v2v2v2',
21
27
  1900: 'URF',
28
+ 2000: 'Tutorial 1',
29
+ 2010: 'Tutorial 2',
30
+ 2020: 'Tutorial 3',
22
31
  };
23
- function isQueueDescription(value) {
24
- return typeof value == 'string' && value in exports.QueueDescriptions;
25
- }
26
- exports.isQueueDescription = isQueueDescription;
@@ -13,10 +13,20 @@
13
13
  *
14
14
  * 700 — Clash games
15
15
  *
16
+ * 720 — ARAM Clash games
17
+ *
18
+ * 830 — Co-op vs. AI Intro Bot games
19
+ *
20
+ * 840 — Co-op vs. AI Beginner Bot games
21
+ *
22
+ * 850 — Co-op vs. AI Intermediate Bot games
23
+ *
16
24
  * 900 — ARURF games
17
25
  *
18
26
  * 920 — Legend of the Poro King games
19
27
  *
28
+ * 1010 — Snow ARURF games
29
+ *
20
30
  * 1020 — One for All games
21
31
  *
22
32
  * 1090 — Teamfight Tactics games
@@ -31,7 +41,15 @@
31
41
  *
32
42
  * 1400 — Ultimate Spellbook games
33
43
  *
44
+ * 1700 — Arena 2v2v2v2
45
+ *
34
46
  * 1900 — Pick URF games
47
+ *
48
+ * 2000 — Tutorial 1
49
+ *
50
+ * 2010 — Tutorial 2
51
+ *
52
+ * 2020 — Tutorial 3
35
53
  */
36
54
  export declare const QueueIds: {
37
55
  readonly 0: 0;
@@ -41,8 +59,13 @@ export declare const QueueIds: {
41
59
  readonly 440: 440;
42
60
  readonly 450: 450;
43
61
  readonly 700: 700;
62
+ readonly 720: 720;
63
+ readonly 830: 830;
64
+ readonly 840: 840;
65
+ readonly 850: 850;
44
66
  readonly 900: 900;
45
67
  readonly 920: 920;
68
+ readonly 1010: 1010;
46
69
  readonly 1020: 1020;
47
70
  readonly 1090: 1090;
48
71
  readonly 1100: 1100;
@@ -50,7 +73,11 @@ export declare const QueueIds: {
50
73
  readonly 1111: 1111;
51
74
  readonly 1300: 1300;
52
75
  readonly 1400: 1400;
76
+ readonly 1700: 1700;
53
77
  readonly 1900: 1900;
78
+ readonly 2000: 2000;
79
+ readonly 2010: 2010;
80
+ readonly 2020: 2020;
54
81
  };
55
82
  export type QueueId = typeof QueueIds[keyof typeof QueueIds];
56
83
  export declare function isQueueId(value: number): value is QueueId;
@@ -16,10 +16,20 @@ exports.isQueueId = exports.QueueIds = void 0;
16
16
  *
17
17
  * 700 — Clash games
18
18
  *
19
+ * 720 — ARAM Clash games
20
+ *
21
+ * 830 — Co-op vs. AI Intro Bot games
22
+ *
23
+ * 840 — Co-op vs. AI Beginner Bot games
24
+ *
25
+ * 850 — Co-op vs. AI Intermediate Bot games
26
+ *
19
27
  * 900 — ARURF games
20
28
  *
21
29
  * 920 — Legend of the Poro King games
22
30
  *
31
+ * 1010 — Snow ARURF games
32
+ *
23
33
  * 1020 — One for All games
24
34
  *
25
35
  * 1090 — Teamfight Tactics games
@@ -34,7 +44,15 @@ exports.isQueueId = exports.QueueIds = void 0;
34
44
  *
35
45
  * 1400 — Ultimate Spellbook games
36
46
  *
47
+ * 1700 — Arena 2v2v2v2
48
+ *
37
49
  * 1900 — Pick URF games
50
+ *
51
+ * 2000 — Tutorial 1
52
+ *
53
+ * 2010 — Tutorial 2
54
+ *
55
+ * 2020 — Tutorial 3
38
56
  */
39
57
  exports.QueueIds = {
40
58
  0: 0,
@@ -44,8 +62,13 @@ exports.QueueIds = {
44
62
  440: 440,
45
63
  450: 450,
46
64
  700: 700,
65
+ 720: 720,
66
+ 830: 830,
67
+ 840: 840,
68
+ 850: 850,
47
69
  900: 900,
48
70
  920: 920,
71
+ 1010: 1010,
49
72
  1020: 1020,
50
73
  1090: 1090,
51
74
  1100: 1100,
@@ -53,7 +76,11 @@ exports.QueueIds = {
53
76
  1111: 1111,
54
77
  1300: 1300,
55
78
  1400: 1400,
79
+ 1700: 1700,
56
80
  1900: 1900,
81
+ 2000: 2000,
82
+ 2010: 2010,
83
+ 2020: 2020,
57
84
  };
58
85
  function isQueueId(value) {
59
86
  return value in exports.QueueIds;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lol-constants",
3
- "version": "2.6.2",
3
+ "version": "2.7.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",