@lichess-org/types 2.0.18 → 2.0.19
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 +39 -5
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -5838,7 +5838,8 @@ export interface components {
|
|
|
5838
5838
|
startsAt?: number;
|
|
5839
5839
|
/** @description The start date/time is unknown and the round will start automatically when the previous round completes */
|
|
5840
5840
|
startsAfterPrevious?: boolean;
|
|
5841
|
-
|
|
5841
|
+
/** Format: int64 */
|
|
5842
|
+
finishedAt?: number;
|
|
5842
5843
|
/** Format: uri */
|
|
5843
5844
|
url: string;
|
|
5844
5845
|
/** Format: int64 */
|
|
@@ -6189,8 +6190,9 @@ export interface components {
|
|
|
6189
6190
|
* "name": "Round 1",
|
|
6190
6191
|
* "slug": "round-1",
|
|
6191
6192
|
* "createdAt": 1716014105255,
|
|
6192
|
-
* "ongoing":
|
|
6193
|
+
* "ongoing": false,
|
|
6193
6194
|
* "startsAt": 1716045300000,
|
|
6195
|
+
* "finishedAt": 1716062100000,
|
|
6194
6196
|
* "url": "https://lichess.org/broadcast/casablanca-chess-2024/round-1/p9DoebWl"
|
|
6195
6197
|
* },
|
|
6196
6198
|
* "tour": {
|
|
@@ -7038,6 +7040,38 @@ export interface components {
|
|
|
7038
7040
|
* "scheduledAt": 1612203514628
|
|
7039
7041
|
* } */
|
|
7040
7042
|
BulkPairing: unknown;
|
|
7043
|
+
/** @example {
|
|
7044
|
+
* "depth": 29,
|
|
7045
|
+
* "fen": "r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R",
|
|
7046
|
+
* "knodes": 106325,
|
|
7047
|
+
* "pvs": [
|
|
7048
|
+
* {
|
|
7049
|
+
* "cp": 41,
|
|
7050
|
+
* "moves": "d1e2 d8e7 a2a4 a7a6 b5c4 d7d6 d2d3 g8f6 c1e3 c6a5"
|
|
7051
|
+
* },
|
|
7052
|
+
* {
|
|
7053
|
+
* "cp": 39,
|
|
7054
|
+
* "moves": "c2c3 a7a6 b5a4 g8f6 d2d3 b7b5 a4b3 h7h6 a2a4 c8b7"
|
|
7055
|
+
* },
|
|
7056
|
+
* {
|
|
7057
|
+
* "cp": 37,
|
|
7058
|
+
* "moves": "d2d3 d8f6 c2c3 a7a6 b5a4 f8c5 d3d4 c5a7 c1e3 g8e7"
|
|
7059
|
+
* }
|
|
7060
|
+
* ]
|
|
7061
|
+
* } */
|
|
7062
|
+
CloudEval: {
|
|
7063
|
+
depth?: number;
|
|
7064
|
+
fen?: string;
|
|
7065
|
+
knodes?: number;
|
|
7066
|
+
pvs?: {
|
|
7067
|
+
/** @description Evaluation in centi-pawns, from White's point of view */
|
|
7068
|
+
cp?: number;
|
|
7069
|
+
/** @description Evaluation in moves to mate, from White's point of view */
|
|
7070
|
+
mate?: number;
|
|
7071
|
+
/** @description Variation in UCI notation */
|
|
7072
|
+
moves?: string;
|
|
7073
|
+
}[];
|
|
7074
|
+
};
|
|
7041
7075
|
/**
|
|
7042
7076
|
* @default chess
|
|
7043
7077
|
* @example chess
|
|
@@ -10328,7 +10362,7 @@ export interface operations {
|
|
|
10328
10362
|
requestBody?: never;
|
|
10329
10363
|
responses: {
|
|
10330
10364
|
/** @description The study headers. */
|
|
10331
|
-
|
|
10365
|
+
204: {
|
|
10332
10366
|
headers: {
|
|
10333
10367
|
"Access-Control-Allow-Origin"?: string;
|
|
10334
10368
|
"Last-Modified"?: string;
|
|
@@ -13128,7 +13162,7 @@ export interface operations {
|
|
|
13128
13162
|
query: {
|
|
13129
13163
|
/**
|
|
13130
13164
|
* @description FEN of the position
|
|
13131
|
-
* @example
|
|
13165
|
+
* @example r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R b KQkq - 3 3
|
|
13132
13166
|
*/
|
|
13133
13167
|
fen: string;
|
|
13134
13168
|
/** @description Number of variations */
|
|
@@ -13149,7 +13183,7 @@ export interface operations {
|
|
|
13149
13183
|
[name: string]: unknown;
|
|
13150
13184
|
};
|
|
13151
13185
|
content: {
|
|
13152
|
-
"application/json":
|
|
13186
|
+
"application/json": components["schemas"]["CloudEval"];
|
|
13153
13187
|
};
|
|
13154
13188
|
};
|
|
13155
13189
|
/** @description The position was not found in the cloud evaluation database. */
|