@lichess-org/types 2.0.162 → 2.0.164
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.
- package/lichess-api.d.ts +4 -2
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -2044,7 +2044,7 @@ export interface paths {
|
|
|
2044
2044
|
* @description Download all games of a single round of a broadcast tournament in PGN format.
|
|
2045
2045
|
* You *could* poll this endpoint to get updates about a tournament, but it would be slow,
|
|
2046
2046
|
* and very inefficient.
|
|
2047
|
-
* Instead, consider [streaming the
|
|
2047
|
+
* Instead, consider [streaming the round](#tag/broadcasts/GET/api/stream/broadcast/round/{broadcastRoundId}.pgn) to get
|
|
2048
2048
|
* a new PGN every time a game is updated, in real-time.
|
|
2049
2049
|
*/
|
|
2050
2050
|
get: operations["broadcastRoundPgn"];
|
|
@@ -2072,6 +2072,7 @@ export interface paths {
|
|
|
2072
2072
|
*
|
|
2073
2073
|
* To get real-time updates about an ongoing tournament, please use the
|
|
2074
2074
|
* [round PGN stream](#tag/broadcasts/GET/api/stream/broadcast/round/{broadcastRoundId}.pgn) or
|
|
2075
|
+
* [tournament PGN stream](#tag/broadcasts/GET/api/stream/broadcast/tournament/{broadcastTournamentId}.pgn) or
|
|
2075
2076
|
* [group PGN stream](#tag/broadcasts/GET/api/stream/broadcast/group/{broadcastGroupId}.pgn) endpoints instead.
|
|
2076
2077
|
*/
|
|
2077
2078
|
get: operations["broadcastAllRoundsPgn"];
|
|
@@ -6206,7 +6207,7 @@ export interface components {
|
|
|
6206
6207
|
/** Format: int64 */
|
|
6207
6208
|
createdAt: number;
|
|
6208
6209
|
/** @description Whether the round is used for rating calculations */
|
|
6209
|
-
rated
|
|
6210
|
+
rated?: boolean;
|
|
6210
6211
|
ongoing?: boolean;
|
|
6211
6212
|
/** Format: int64 */
|
|
6212
6213
|
startsAt?: number;
|
|
@@ -6214,6 +6215,7 @@ export interface components {
|
|
|
6214
6215
|
startsAfterPrevious?: boolean;
|
|
6215
6216
|
/** Format: int64 */
|
|
6216
6217
|
finishedAt?: number;
|
|
6218
|
+
/** @deprecated */
|
|
6217
6219
|
finished?: boolean;
|
|
6218
6220
|
/** Format: uri */
|
|
6219
6221
|
url: string;
|