@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.
Files changed (2) hide show
  1. package/lichess-api.d.ts +7 -0
  2. 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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.106",
3
+ "version": "2.0.107",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",