@lichess-org/types 2.0.148 → 2.0.150

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 +11 -4
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -1975,7 +1975,7 @@ export interface paths {
1975
1975
  * This is the best way to get updates about an ongoing broadcast with multiple concurrent rounds.
1976
1976
  * To stream a single round, use [this endpoint instead](#tag/broadcasts/GET/api/stream/broadcast/round/{broadcastRoundId}.pgn).
1977
1977
  */
1978
- get: operations["broadcastStreamRoundPgn"];
1978
+ get: operations["broadcastStreamGroupPgn"];
1979
1979
  put?: never;
1980
1980
  post?: never;
1981
1981
  delete?: never;
@@ -5296,8 +5296,15 @@ export interface components {
5296
5296
  pgn?: string;
5297
5297
  daysPerTurn?: number;
5298
5298
  analysis?: components["schemas"]["GameMoveAnalysis"][];
5299
- tournament?: string;
5300
- swiss?: string;
5299
+ /** @description The arena tournament the game is from */
5300
+ arenaTour?: {
5301
+ id?: string;
5302
+ name?: string;
5303
+ };
5304
+ /** @description The swiss tournament the game is from */
5305
+ swissTour?: {
5306
+ id?: string;
5307
+ };
5301
5308
  clock?: {
5302
5309
  initial: number;
5303
5310
  increment: number;
@@ -11968,7 +11975,7 @@ export interface operations {
11968
11975
  };
11969
11976
  };
11970
11977
  };
11971
- broadcastStreamRoundPgn: {
11978
+ broadcastStreamGroupPgn: {
11972
11979
  parameters: {
11973
11980
  query?: {
11974
11981
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.148",
3
+ "version": "2.0.150",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",