@lichess-org/types 2.0.61 → 2.0.63

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 -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
  */
@@ -6063,7 +6063,7 @@ export interface components {
6063
6063
  }
6064
6064
  | {
6065
6065
  name: components["schemas"]["BroadcastRoundFormName"];
6066
- /** @description Lichess game IDs - Up to 64 Lichess game IDs, separated by spaces.
6066
+ /** @description Lichess game IDs - Up to 100 Lichess game IDs, separated by spaces.
6067
6067
  * */
6068
6068
  syncIds: string;
6069
6069
  }
@@ -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 {
@@ -31275,7 +31277,7 @@ export interface operations {
31275
31277
  };
31276
31278
  cookie?: never;
31277
31279
  };
31278
- /** @description The PGN. It can contain up to 64 games, separated by a double new line. */
31280
+ /** @description The PGN. It can contain up to 100 games, separated by a double new line. */
31279
31281
  requestBody: {
31280
31282
  content: {
31281
31283
  "text/plain": string;
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.63",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",