@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.
- package/lichess-api.d.ts +7 -5
- 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
|
|
1551
|
-
*
|
|
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
|
|
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
|
|
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;
|