@lichess-org/types 2.0.61 → 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 +5 -3
  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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.61",
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",