@lichess-org/types 2.0.69 → 2.0.70
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 +16 -3
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -713,7 +713,7 @@ export interface paths {
|
|
|
713
713
|
* @description Stream positions and moves of any ongoing game, in [ndjson](#section/Introduction/Streaming-with-ND-JSON).
|
|
714
714
|
* A description of the game is sent as a first message.
|
|
715
715
|
* Then a message is sent each time a move is played.
|
|
716
|
-
* Finally a description of the game is sent when it finishes, and the stream is closed.
|
|
716
|
+
* Finally, a description of the game is sent when it finishes, and the stream is closed.
|
|
717
717
|
* Ongoing games are delayed by a few seconds ranging from 3 to 60 depending on the time control, as to prevent cheat bots from using this API.
|
|
718
718
|
* No more than 8 game streams can be opened at the same time from the same IP address.
|
|
719
719
|
*
|
|
@@ -5865,8 +5865,9 @@ export interface components {
|
|
|
5865
5865
|
url: string;
|
|
5866
5866
|
};
|
|
5867
5867
|
BroadcastGroupTour: {
|
|
5868
|
-
name
|
|
5869
|
-
id
|
|
5868
|
+
name: string;
|
|
5869
|
+
id: string;
|
|
5870
|
+
live?: boolean;
|
|
5870
5871
|
};
|
|
5871
5872
|
BroadcastGroup: {
|
|
5872
5873
|
name?: string;
|
|
@@ -12866,6 +12867,18 @@ export interface operations {
|
|
|
12866
12867
|
"application/x-ndjson": components["schemas"]["MoveStream"];
|
|
12867
12868
|
};
|
|
12868
12869
|
};
|
|
12870
|
+
/** @description Too many streams opened at the same time from this IP. */
|
|
12871
|
+
429: {
|
|
12872
|
+
headers: {
|
|
12873
|
+
[name: string]: unknown;
|
|
12874
|
+
};
|
|
12875
|
+
content: {
|
|
12876
|
+
"application/json": {
|
|
12877
|
+
/** @example Please only run 8 request(s) at a time */
|
|
12878
|
+
error?: string;
|
|
12879
|
+
};
|
|
12880
|
+
};
|
|
12881
|
+
};
|
|
12869
12882
|
};
|
|
12870
12883
|
};
|
|
12871
12884
|
gameImport: {
|