@lichess-org/types 2.0.98 → 2.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lichess-api.d.ts +19 -19
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -4010,6 +4010,12 @@ export interface components {
|
|
|
4010
4010
|
| "WNM"
|
|
4011
4011
|
| "LM"
|
|
4012
4012
|
| "BOT";
|
|
4013
|
+
/**
|
|
4014
|
+
* @deprecated
|
|
4015
|
+
* @description Use patronColor value instead to determine if player is a patron.
|
|
4016
|
+
*
|
|
4017
|
+
*/
|
|
4018
|
+
Patron: boolean;
|
|
4013
4019
|
/** @description Players can choose a color for their Patron wings.
|
|
4014
4020
|
* See [here for the color mappings](https://github.com/lichess-org/lila/blob/master/ui/lib/css/abstract/_patron-colors.scss).
|
|
4015
4021
|
*
|
|
@@ -4026,7 +4032,8 @@ export interface components {
|
|
|
4026
4032
|
};
|
|
4027
4033
|
};
|
|
4028
4034
|
title?: components["schemas"]["Title"];
|
|
4029
|
-
patron?:
|
|
4035
|
+
patron?: components["schemas"]["Patron"];
|
|
4036
|
+
patronColor?: components["schemas"]["PatronColor"];
|
|
4030
4037
|
online?: boolean;
|
|
4031
4038
|
};
|
|
4032
4039
|
PerfTop10: components["schemas"]["TopUser"][];
|
|
@@ -4126,6 +4133,7 @@ export interface components {
|
|
|
4126
4133
|
PlayTime: {
|
|
4127
4134
|
total: number;
|
|
4128
4135
|
tv: number;
|
|
4136
|
+
human?: number;
|
|
4129
4137
|
};
|
|
4130
4138
|
User: {
|
|
4131
4139
|
/** @example georges */
|
|
@@ -4157,8 +4165,7 @@ export interface components {
|
|
|
4157
4165
|
*/
|
|
4158
4166
|
seenAt?: number;
|
|
4159
4167
|
playTime?: components["schemas"]["PlayTime"];
|
|
4160
|
-
|
|
4161
|
-
patron?: boolean;
|
|
4168
|
+
patron?: components["schemas"]["Patron"];
|
|
4162
4169
|
patronColor?: components["schemas"]["PatronColor"];
|
|
4163
4170
|
/** @example true */
|
|
4164
4171
|
verified?: boolean;
|
|
@@ -4300,8 +4307,7 @@ export interface components {
|
|
|
4300
4307
|
name: string;
|
|
4301
4308
|
flair?: components["schemas"]["Flair"];
|
|
4302
4309
|
title?: components["schemas"]["Title"];
|
|
4303
|
-
|
|
4304
|
-
patron?: boolean;
|
|
4310
|
+
patron?: components["schemas"]["Patron"];
|
|
4305
4311
|
patronColor?: components["schemas"]["PatronColor"];
|
|
4306
4312
|
};
|
|
4307
4313
|
PerfStat: {
|
|
@@ -4602,8 +4608,7 @@ export interface components {
|
|
|
4602
4608
|
flair?: components["schemas"]["Flair"];
|
|
4603
4609
|
id: string;
|
|
4604
4610
|
name: string;
|
|
4605
|
-
|
|
4606
|
-
patron?: boolean;
|
|
4611
|
+
patron?: components["schemas"]["Patron"];
|
|
4607
4612
|
patronColor?: components["schemas"]["PatronColor"];
|
|
4608
4613
|
rating: number;
|
|
4609
4614
|
title?: components["schemas"]["Title"];
|
|
@@ -4725,8 +4730,7 @@ export interface components {
|
|
|
4725
4730
|
id?: string;
|
|
4726
4731
|
/** @description User's flair icon */
|
|
4727
4732
|
flair?: string;
|
|
4728
|
-
|
|
4729
|
-
patron?: boolean;
|
|
4733
|
+
patron?: components["schemas"]["Patron"];
|
|
4730
4734
|
patronColor?: components["schemas"]["PatronColor"];
|
|
4731
4735
|
}[];
|
|
4732
4736
|
/** @description List of puzzles in the race */
|
|
@@ -5197,8 +5201,7 @@ export interface components {
|
|
|
5197
5201
|
name: string;
|
|
5198
5202
|
title?: components["schemas"]["Title"];
|
|
5199
5203
|
flair?: components["schemas"]["Flair"];
|
|
5200
|
-
|
|
5201
|
-
patron?: boolean;
|
|
5204
|
+
patron?: components["schemas"]["Patron"];
|
|
5202
5205
|
patronColor?: components["schemas"]["PatronColor"];
|
|
5203
5206
|
};
|
|
5204
5207
|
};
|
|
@@ -5810,8 +5813,7 @@ export interface components {
|
|
|
5810
5813
|
players?: {
|
|
5811
5814
|
name?: string;
|
|
5812
5815
|
title?: components["schemas"]["Title"];
|
|
5813
|
-
|
|
5814
|
-
patron?: boolean;
|
|
5816
|
+
patron?: components["schemas"]["Patron"];
|
|
5815
5817
|
patronColor?: components["schemas"]["PatronColor"];
|
|
5816
5818
|
flair?: components["schemas"]["Flair"];
|
|
5817
5819
|
rank?: number;
|
|
@@ -5848,8 +5850,7 @@ export interface components {
|
|
|
5848
5850
|
podium?: {
|
|
5849
5851
|
name?: string;
|
|
5850
5852
|
title?: components["schemas"]["Title"];
|
|
5851
|
-
|
|
5852
|
-
patron?: boolean;
|
|
5853
|
+
patron?: components["schemas"]["Patron"];
|
|
5853
5854
|
patronColor?: components["schemas"]["PatronColor"];
|
|
5854
5855
|
flair?: components["schemas"]["Flair"];
|
|
5855
5856
|
rank?: number;
|
|
@@ -6761,8 +6762,7 @@ export interface components {
|
|
|
6761
6762
|
rating?: number;
|
|
6762
6763
|
title?: components["schemas"]["Title"];
|
|
6763
6764
|
flair?: components["schemas"]["Flair"];
|
|
6764
|
-
|
|
6765
|
-
patron?: boolean;
|
|
6765
|
+
patron?: components["schemas"]["Patron"];
|
|
6766
6766
|
patronColor?: components["schemas"]["PatronColor"];
|
|
6767
6767
|
provisional?: boolean;
|
|
6768
6768
|
online?: boolean;
|
|
@@ -7710,8 +7710,7 @@ export interface operations {
|
|
|
7710
7710
|
online?: boolean;
|
|
7711
7711
|
playing?: boolean;
|
|
7712
7712
|
streaming?: boolean;
|
|
7713
|
-
|
|
7714
|
-
patron?: boolean;
|
|
7713
|
+
patron?: components["schemas"]["Patron"];
|
|
7715
7714
|
patronColor?: components["schemas"]["PatronColor"];
|
|
7716
7715
|
}[];
|
|
7717
7716
|
};
|
|
@@ -20049,6 +20048,7 @@ export interface operations {
|
|
|
20049
20048
|
title?: components["schemas"]["Title"];
|
|
20050
20049
|
team?: string;
|
|
20051
20050
|
flair?: components["schemas"]["Flair"];
|
|
20051
|
+
patronColor?: components["schemas"]["PatronColor"];
|
|
20052
20052
|
sheet?: components["schemas"]["ArenaSheet"];
|
|
20053
20053
|
};
|
|
20054
20054
|
};
|