@lichess-org/types 2.0.166 → 2.0.167
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 +11 -3
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -5338,6 +5338,11 @@ export interface components {
|
|
|
5338
5338
|
blunder: number;
|
|
5339
5339
|
acpl: number;
|
|
5340
5340
|
accuracy?: number;
|
|
5341
|
+
phases?: {
|
|
5342
|
+
opening?: number;
|
|
5343
|
+
middlegame?: number;
|
|
5344
|
+
endgame?: number;
|
|
5345
|
+
};
|
|
5341
5346
|
};
|
|
5342
5347
|
team?: string;
|
|
5343
5348
|
};
|
|
@@ -5907,6 +5912,7 @@ export interface components {
|
|
|
5907
5912
|
rating?: number;
|
|
5908
5913
|
score?: number;
|
|
5909
5914
|
sheet?: components["schemas"]["ArenaSheet"];
|
|
5915
|
+
realName?: string;
|
|
5910
5916
|
}[];
|
|
5911
5917
|
};
|
|
5912
5918
|
featured?: {
|
|
@@ -6205,6 +6211,8 @@ export interface components {
|
|
|
6205
6211
|
id: string;
|
|
6206
6212
|
name: string;
|
|
6207
6213
|
slug: string;
|
|
6214
|
+
/** Format: int64 */
|
|
6215
|
+
createdAt?: number;
|
|
6208
6216
|
ongoing?: boolean;
|
|
6209
6217
|
/** Format: int64 */
|
|
6210
6218
|
startsAt?: number;
|
|
@@ -7016,7 +7024,7 @@ export interface components {
|
|
|
7016
7024
|
TimeControl:
|
|
7017
7025
|
| {
|
|
7018
7026
|
/** @constant */
|
|
7019
|
-
type
|
|
7027
|
+
type: "clock";
|
|
7020
7028
|
limit?: number;
|
|
7021
7029
|
increment?: number;
|
|
7022
7030
|
/** @example 5+2 */
|
|
@@ -7024,12 +7032,12 @@ export interface components {
|
|
|
7024
7032
|
}
|
|
7025
7033
|
| {
|
|
7026
7034
|
/** @constant */
|
|
7027
|
-
type
|
|
7035
|
+
type: "correspondence";
|
|
7028
7036
|
daysPerTurn?: number;
|
|
7029
7037
|
}
|
|
7030
7038
|
| {
|
|
7031
7039
|
/** @constant */
|
|
7032
|
-
type
|
|
7040
|
+
type: "unlimited";
|
|
7033
7041
|
};
|
|
7034
7042
|
/** @enum {string} */
|
|
7035
7043
|
ChallengeColor: "white" | "black" | "random";
|