@lichess-org/types 2.0.53 → 2.0.54
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 +12 -5
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -6293,11 +6293,18 @@ export interface components {
|
|
|
6293
6293
|
id: components["schemas"]["GameStatusId"];
|
|
6294
6294
|
name: components["schemas"]["GameStatusName"];
|
|
6295
6295
|
};
|
|
6296
|
-
GameEventOpponent:
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6296
|
+
GameEventOpponent:
|
|
6297
|
+
| {
|
|
6298
|
+
id: string;
|
|
6299
|
+
username: string;
|
|
6300
|
+
rating: number;
|
|
6301
|
+
}
|
|
6302
|
+
| {
|
|
6303
|
+
id: null;
|
|
6304
|
+
username: string;
|
|
6305
|
+
/** @description AI level, from 1 to 8, where 1 is the weakest and 8 is the strongest. */
|
|
6306
|
+
ai: number;
|
|
6307
|
+
};
|
|
6301
6308
|
GameCompat: {
|
|
6302
6309
|
/** @description Compatible with Bot API */
|
|
6303
6310
|
bot?: boolean;
|