@lichess-org/types 2.0.60 → 2.0.62

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 +15 -5
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -1547,8 +1547,8 @@ export interface paths {
1547
1547
  };
1548
1548
  /**
1549
1549
  * Get official broadcasts
1550
- * @description Get all incoming, ongoing, and finished official broadcasts.
1551
- * The broadcasts are sorted by start date, most recent first.
1550
+ * @description Returns ongoing official broadcasts sorted by tier.
1551
+ * After that, returns finished broadcasts sorted by most recent sync time.
1552
1552
  * Broadcasts are streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
1553
1553
  *
1554
1554
  */
@@ -6569,7 +6569,7 @@ export interface components {
6569
6569
  type: "gameFull";
6570
6570
  id: string;
6571
6571
  variant: components["schemas"]["Variant"];
6572
- clock: {
6572
+ clock?: {
6573
6573
  /**
6574
6574
  * Format: int64
6575
6575
  * @description Initial time in milliseconds
@@ -6594,6 +6594,8 @@ export interface components {
6594
6594
  /** @default startpos */
6595
6595
  initialFen: string;
6596
6596
  state: components["schemas"]["GameStateEvent"];
6597
+ /** @description If the game is correspondence */
6598
+ daysPerTurn?: number;
6597
6599
  tournamentId?: string;
6598
6600
  };
6599
6601
  /** @example {
@@ -37010,9 +37012,17 @@ export interface operations {
37010
37012
  until?: string;
37011
37013
  /** @description Number of most common moves to display */
37012
37014
  moves?: number;
37013
- /** @description Number of top games to display */
37015
+ /** @description Maximum number of top games to display.
37016
+ *
37017
+ * Due to the way banned users are handled internally, the response may
37018
+ * contain fewer games than expected.
37019
+ * */
37014
37020
  topGames?: number;
37015
- /** @description Number of recent games to display */
37021
+ /** @description Maximum number of recent games to display.
37022
+ *
37023
+ * Due to the way banned users are handled internally, the response may
37024
+ * contain fewer games than expected.
37025
+ * */
37016
37026
  recentGames?: number;
37017
37027
  /** @description Optionally retrieve history */
37018
37028
  history?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.60",
3
+ "version": "2.0.62",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",