@lichess-org/types 2.0.106 → 2.0.107
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 +7 -0
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -6778,6 +6778,13 @@ export interface components {
|
|
|
6778
6778
|
wtakeback?: boolean;
|
|
6779
6779
|
/** @description true if black is proposing takeback, else omitted */
|
|
6780
6780
|
btakeback?: boolean;
|
|
6781
|
+
/** @description A game may be aborted if a player doesn't make their first move in time */
|
|
6782
|
+
expiration?: {
|
|
6783
|
+
/** @description Milliseconds since the last move was played, or since the game started */
|
|
6784
|
+
idleMillis: number;
|
|
6785
|
+
/** @description Time each player has to make their first move, before the game is aborted */
|
|
6786
|
+
millisToMove: number;
|
|
6787
|
+
};
|
|
6781
6788
|
};
|
|
6782
6789
|
/**
|
|
6783
6790
|
* @example {
|