@lichess-org/types 2.0.165 → 2.0.166
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 +9 -9
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -103,6 +103,9 @@ export interface paths {
|
|
|
103
103
|
* There is at most one entry per day.
|
|
104
104
|
* Format of an entry is `[year, month, day, rating]`.
|
|
105
105
|
* `month` starts at zero (January).
|
|
106
|
+
*
|
|
107
|
+
* Note: Rating history is generated on demand by [Authenticated OAuth requests](#description/authentication).
|
|
108
|
+
* Unauthenticated requests will return a cached version of the rating history if present, otherwise an empty array.
|
|
106
109
|
*/
|
|
107
110
|
get: operations["apiUserRatingHistory"];
|
|
108
111
|
put?: never;
|
|
@@ -4811,8 +4814,6 @@ export interface components {
|
|
|
4811
4814
|
error: string;
|
|
4812
4815
|
};
|
|
4813
4816
|
UserPreferences: {
|
|
4814
|
-
dark?: boolean;
|
|
4815
|
-
transp?: boolean;
|
|
4816
4817
|
/** Format: uri */
|
|
4817
4818
|
bgImg?: string;
|
|
4818
4819
|
is3d?: boolean;
|
|
@@ -6204,10 +6205,6 @@ export interface components {
|
|
|
6204
6205
|
id: string;
|
|
6205
6206
|
name: string;
|
|
6206
6207
|
slug: string;
|
|
6207
|
-
/** Format: int64 */
|
|
6208
|
-
createdAt: number;
|
|
6209
|
-
/** @description Whether the round is used for rating calculations */
|
|
6210
|
-
rated?: boolean;
|
|
6211
6208
|
ongoing?: boolean;
|
|
6212
6209
|
/** Format: int64 */
|
|
6213
6210
|
startsAt?: number;
|
|
@@ -6215,12 +6212,15 @@ export interface components {
|
|
|
6215
6212
|
startsAfterPrevious?: boolean;
|
|
6216
6213
|
/** Format: int64 */
|
|
6217
6214
|
finishedAt?: number;
|
|
6218
|
-
/**
|
|
6215
|
+
/**
|
|
6216
|
+
* @deprecated
|
|
6217
|
+
* @description Use finishedAt instead
|
|
6218
|
+
*/
|
|
6219
6219
|
finished?: boolean;
|
|
6220
6220
|
/** Format: uri */
|
|
6221
6221
|
url: string;
|
|
6222
|
-
/**
|
|
6223
|
-
|
|
6222
|
+
/** @description Whether the round is used for rating calculations */
|
|
6223
|
+
rated?: boolean;
|
|
6224
6224
|
customScoring?: components["schemas"]["BroadcastCustomScoring"];
|
|
6225
6225
|
};
|
|
6226
6226
|
/** @description Photos of players, when available. The object keys are FIDE IDs */
|