@lichess-org/types 2.0.76 → 2.0.77
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 +12 -4
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -5485,7 +5485,9 @@ export interface components {
|
|
|
5485
5485
|
| {
|
|
5486
5486
|
/** @description The FEN of the current position */
|
|
5487
5487
|
fen: string;
|
|
5488
|
-
/** @description The last move in UCI format
|
|
5488
|
+
/** @description The last move in UCI format (King to rook for Chess960-compatible
|
|
5489
|
+
* castling notation)
|
|
5490
|
+
* */
|
|
5489
5491
|
lm: string;
|
|
5490
5492
|
/** @description White's clock in seconds */
|
|
5491
5493
|
wc: number;
|
|
@@ -6741,7 +6743,9 @@ export interface components {
|
|
|
6741
6743
|
GameStateEvent: {
|
|
6742
6744
|
/** @constant */
|
|
6743
6745
|
type: "gameState";
|
|
6744
|
-
/** @description Current moves in UCI format
|
|
6746
|
+
/** @description Current moves in UCI format (King to rook for Chess690-compatible castling
|
|
6747
|
+
* notation)
|
|
6748
|
+
* */
|
|
6745
6749
|
moves: string;
|
|
6746
6750
|
/** @description Integer of milliseconds White has left on the clock */
|
|
6747
6751
|
wtime: number;
|
|
@@ -6979,13 +6983,17 @@ export interface components {
|
|
|
6979
6983
|
| {
|
|
6980
6984
|
/** @description Evaluation in centi-pawns, from White's point of view */
|
|
6981
6985
|
cp: number;
|
|
6982
|
-
/** @description Variation in UCI notation
|
|
6986
|
+
/** @description Variation in UCI notation (King to rook for Chess960-compatible
|
|
6987
|
+
* castling notation)
|
|
6988
|
+
* */
|
|
6983
6989
|
moves: string;
|
|
6984
6990
|
}
|
|
6985
6991
|
| {
|
|
6986
6992
|
/** @description Evaluation in moves to mate, from White's point of view */
|
|
6987
6993
|
mate: number;
|
|
6988
|
-
/** @description Variation in UCI notation
|
|
6994
|
+
/** @description Variation in UCI notation (King to rook for Chess960-compatible
|
|
6995
|
+
* castling notation)
|
|
6996
|
+
* */
|
|
6989
6997
|
moves: string;
|
|
6990
6998
|
}
|
|
6991
6999
|
)[];
|