@lichess-org/types 2.0.89 → 2.0.91
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 +200 -140
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -3930,6 +3930,7 @@ export interface paths {
|
|
|
3930
3930
|
/**
|
|
3931
3931
|
* Tablebase lookup
|
|
3932
3932
|
* @description **Endpoint: <https://tablebase.lichess.ovh>**
|
|
3933
|
+
*
|
|
3933
3934
|
* Example: `curl http://tablebase.lichess.ovh/standard?fen=4k3/6KP/8/8/8/8/7p/8_w_-_-_0_1`
|
|
3934
3935
|
*
|
|
3935
3936
|
*/
|
|
@@ -4161,13 +4162,13 @@ export interface components {
|
|
|
4161
4162
|
Count: {
|
|
4162
4163
|
all: number;
|
|
4163
4164
|
rated: number;
|
|
4164
|
-
ai
|
|
4165
|
+
ai?: number;
|
|
4165
4166
|
draw: number;
|
|
4166
|
-
drawH
|
|
4167
|
+
drawH?: number;
|
|
4167
4168
|
loss: number;
|
|
4168
|
-
lossH
|
|
4169
|
+
lossH?: number;
|
|
4169
4170
|
win: number;
|
|
4170
|
-
winH
|
|
4171
|
+
winH?: number;
|
|
4171
4172
|
bookmark: number;
|
|
4172
4173
|
playing: number;
|
|
4173
4174
|
import: number;
|
|
@@ -4220,6 +4221,33 @@ export interface components {
|
|
|
4220
4221
|
*/
|
|
4221
4222
|
blocking?: boolean;
|
|
4222
4223
|
};
|
|
4224
|
+
/** @example {
|
|
4225
|
+
* "name": "Bullet",
|
|
4226
|
+
* "points": [
|
|
4227
|
+
* [
|
|
4228
|
+
* 2011,
|
|
4229
|
+
* 0,
|
|
4230
|
+
* 8,
|
|
4231
|
+
* 1472
|
|
4232
|
+
* ],
|
|
4233
|
+
* [
|
|
4234
|
+
* 2011,
|
|
4235
|
+
* 0,
|
|
4236
|
+
* 9,
|
|
4237
|
+
* 1332
|
|
4238
|
+
* ],
|
|
4239
|
+
* [
|
|
4240
|
+
* 2011,
|
|
4241
|
+
* 8,
|
|
4242
|
+
* 12,
|
|
4243
|
+
* 1314
|
|
4244
|
+
* ]
|
|
4245
|
+
* ]
|
|
4246
|
+
* } */
|
|
4247
|
+
RatingHistoryEntry: {
|
|
4248
|
+
name?: string;
|
|
4249
|
+
points?: number[][];
|
|
4250
|
+
};
|
|
4223
4251
|
/** @example [
|
|
4224
4252
|
* {
|
|
4225
4253
|
* "name": "Bullet",
|
|
@@ -4256,7 +4284,7 @@ export interface components {
|
|
|
4256
4284
|
* ]
|
|
4257
4285
|
* }
|
|
4258
4286
|
* ] */
|
|
4259
|
-
RatingHistory:
|
|
4287
|
+
RatingHistory: components["schemas"]["RatingHistoryEntry"][];
|
|
4260
4288
|
/** @enum {string} */
|
|
4261
4289
|
PerfType:
|
|
4262
4290
|
| "ultraBullet"
|
|
@@ -4504,8 +4532,8 @@ export interface components {
|
|
|
4504
4532
|
loss: number;
|
|
4505
4533
|
draw: number;
|
|
4506
4534
|
rp: {
|
|
4507
|
-
before
|
|
4508
|
-
after
|
|
4535
|
+
before: number;
|
|
4536
|
+
after: number;
|
|
4509
4537
|
};
|
|
4510
4538
|
};
|
|
4511
4539
|
/** @enum {string} */
|
|
@@ -4529,6 +4557,7 @@ export interface components {
|
|
|
4529
4557
|
UserActivityCorrespondenceGame: {
|
|
4530
4558
|
id: string;
|
|
4531
4559
|
color: components["schemas"]["GameColor"];
|
|
4560
|
+
/** Format: uri */
|
|
4532
4561
|
url: string;
|
|
4533
4562
|
variant?: components["schemas"]["VariantKey"];
|
|
4534
4563
|
/** @constant */
|
|
@@ -4603,8 +4632,12 @@ export interface components {
|
|
|
4603
4632
|
in?: components["schemas"]["UserActivityFollowList"];
|
|
4604
4633
|
out?: components["schemas"]["UserActivityFollowList"];
|
|
4605
4634
|
};
|
|
4606
|
-
studies?:
|
|
4635
|
+
studies?: {
|
|
4636
|
+
id: string;
|
|
4637
|
+
name: string;
|
|
4638
|
+
}[];
|
|
4607
4639
|
teams?: {
|
|
4640
|
+
/** Format: uri */
|
|
4608
4641
|
url: string;
|
|
4609
4642
|
name: string;
|
|
4610
4643
|
flair?: components["schemas"]["Flair"];
|
|
@@ -4632,7 +4665,7 @@ export interface components {
|
|
|
4632
4665
|
};
|
|
4633
4666
|
pgn: string;
|
|
4634
4667
|
players: {
|
|
4635
|
-
color:
|
|
4668
|
+
color: components["schemas"]["GameColor"];
|
|
4636
4669
|
flair?: components["schemas"]["Flair"];
|
|
4637
4670
|
id: string;
|
|
4638
4671
|
name: string;
|
|
@@ -5281,7 +5314,7 @@ export interface components {
|
|
|
5281
5314
|
patron?: boolean;
|
|
5282
5315
|
patronColor?: components["schemas"]["PatronColor"];
|
|
5283
5316
|
};
|
|
5284
|
-
|
|
5317
|
+
GamePlayerUser: {
|
|
5285
5318
|
user: components["schemas"]["LightUser"];
|
|
5286
5319
|
rating: number;
|
|
5287
5320
|
ratingDiff?: number;
|
|
@@ -5297,9 +5330,9 @@ export interface components {
|
|
|
5297
5330
|
};
|
|
5298
5331
|
team?: string;
|
|
5299
5332
|
};
|
|
5300
|
-
|
|
5301
|
-
white: components["schemas"]["
|
|
5302
|
-
black: components["schemas"]["
|
|
5333
|
+
GamePlayers: {
|
|
5334
|
+
white: components["schemas"]["GamePlayerUser"];
|
|
5335
|
+
black: components["schemas"]["GamePlayerUser"];
|
|
5303
5336
|
};
|
|
5304
5337
|
GameOpening: {
|
|
5305
5338
|
eco: string;
|
|
@@ -5341,7 +5374,7 @@ export interface components {
|
|
|
5341
5374
|
lastMoveAt: number;
|
|
5342
5375
|
status: components["schemas"]["GameStatusName"];
|
|
5343
5376
|
source?: string;
|
|
5344
|
-
players: components["schemas"]["
|
|
5377
|
+
players: components["schemas"]["GamePlayers"];
|
|
5345
5378
|
initialFen?: string;
|
|
5346
5379
|
winner?: components["schemas"]["GameColor"];
|
|
5347
5380
|
opening?: components["schemas"]["GameOpening"];
|
|
@@ -6326,8 +6359,7 @@ export interface components {
|
|
|
6326
6359
|
};
|
|
6327
6360
|
BroadcastPlayerWithFed: {
|
|
6328
6361
|
/** @example Hernandez Riera, Jose */
|
|
6329
|
-
name
|
|
6330
|
-
/** @example FM */
|
|
6362
|
+
name: string;
|
|
6331
6363
|
title?: components["schemas"]["Title"];
|
|
6332
6364
|
/** @example 2149 */
|
|
6333
6365
|
rating?: number;
|
|
@@ -6758,7 +6790,7 @@ export interface components {
|
|
|
6758
6790
|
id: string;
|
|
6759
6791
|
name: string;
|
|
6760
6792
|
rating?: number;
|
|
6761
|
-
title?: components["schemas"]["Title"]
|
|
6793
|
+
title?: components["schemas"]["Title"];
|
|
6762
6794
|
flair?: components["schemas"]["Flair"];
|
|
6763
6795
|
/** @deprecated */
|
|
6764
6796
|
patron?: boolean;
|
|
@@ -6785,6 +6817,8 @@ export interface components {
|
|
|
6785
6817
|
/** @constant */
|
|
6786
6818
|
type?: "unlimited";
|
|
6787
6819
|
};
|
|
6820
|
+
/** @enum {string} */
|
|
6821
|
+
ChallengeColor: "white" | "black" | "random";
|
|
6788
6822
|
/** @example {
|
|
6789
6823
|
* "id": "H9fIRZUk",
|
|
6790
6824
|
* "url": "https://lichess.org/H9fIRZUk",
|
|
@@ -6839,16 +6873,16 @@ export interface components {
|
|
|
6839
6873
|
rated: boolean;
|
|
6840
6874
|
speed: components["schemas"]["Speed"];
|
|
6841
6875
|
timeControl: components["schemas"]["TimeControl"];
|
|
6842
|
-
|
|
6843
|
-
color: "white" | "black" | "random";
|
|
6876
|
+
color: components["schemas"]["ChallengeColor"];
|
|
6844
6877
|
finalColor?: components["schemas"]["GameColor"];
|
|
6845
6878
|
perf: {
|
|
6846
|
-
icon
|
|
6847
|
-
name
|
|
6879
|
+
icon: string;
|
|
6880
|
+
name: string;
|
|
6848
6881
|
};
|
|
6849
6882
|
/** @enum {string} */
|
|
6850
6883
|
direction?: "in" | "out";
|
|
6851
6884
|
initialFen?: string;
|
|
6885
|
+
rematchOf?: string;
|
|
6852
6886
|
};
|
|
6853
6887
|
ChallengeEvent: {
|
|
6854
6888
|
/** @constant */
|
|
@@ -6861,7 +6895,7 @@ export interface components {
|
|
|
6861
6895
|
type: "challengeCanceled";
|
|
6862
6896
|
challenge: components["schemas"]["ChallengeJson"];
|
|
6863
6897
|
};
|
|
6864
|
-
ChallengeDeclinedJson: {
|
|
6898
|
+
ChallengeDeclinedJson: components["schemas"]["ChallengeJson"] & {
|
|
6865
6899
|
/** @description Human readable, possibly translated reason why the challenge was declined. */
|
|
6866
6900
|
declineReason: string;
|
|
6867
6901
|
/**
|
|
@@ -6880,7 +6914,7 @@ export interface components {
|
|
|
6880
6914
|
| "variant"
|
|
6881
6915
|
| "nobot"
|
|
6882
6916
|
| "onlybot";
|
|
6883
|
-
}
|
|
6917
|
+
};
|
|
6884
6918
|
ChallengeDeclinedEvent: {
|
|
6885
6919
|
/** @constant */
|
|
6886
6920
|
type: "challengeDeclined";
|
|
@@ -7049,8 +7083,8 @@ export interface components {
|
|
|
7049
7083
|
* }
|
|
7050
7084
|
* ] */
|
|
7051
7085
|
GameChat: {
|
|
7052
|
-
text
|
|
7053
|
-
user
|
|
7086
|
+
text: string;
|
|
7087
|
+
user: string;
|
|
7054
7088
|
}[];
|
|
7055
7089
|
ChallengeOpenJson: {
|
|
7056
7090
|
id: string;
|
|
@@ -7063,15 +7097,16 @@ export interface components {
|
|
|
7063
7097
|
rated: boolean;
|
|
7064
7098
|
speed: components["schemas"]["Speed"];
|
|
7065
7099
|
timeControl: components["schemas"]["TimeControl"];
|
|
7066
|
-
|
|
7067
|
-
color: "white" | "black" | "random";
|
|
7100
|
+
color: components["schemas"]["ChallengeColor"];
|
|
7068
7101
|
finalColor?: components["schemas"]["GameColor"];
|
|
7069
7102
|
perf: {
|
|
7070
7103
|
icon?: string;
|
|
7071
7104
|
name?: string;
|
|
7072
7105
|
};
|
|
7073
7106
|
initialFen?: string;
|
|
7107
|
+
/** Format: uri */
|
|
7074
7108
|
urlWhite: string;
|
|
7109
|
+
/** Format: uri */
|
|
7075
7110
|
urlBlack: string;
|
|
7076
7111
|
open: {
|
|
7077
7112
|
/** @description An optional array of two user ids. If set, only these users will be allowed to join the game. The first username gets the white pieces. */
|
|
@@ -7506,13 +7541,13 @@ export interface components {
|
|
|
7506
7541
|
uci: string;
|
|
7507
7542
|
} & components["schemas"]["OpeningExplorerPlayerGame"])[];
|
|
7508
7543
|
};
|
|
7509
|
-
|
|
7544
|
+
TablebaseMove: {
|
|
7510
7545
|
/** @example h7h8q */
|
|
7511
|
-
uci
|
|
7546
|
+
uci: string;
|
|
7512
7547
|
/** @example h8=Q+ */
|
|
7513
|
-
san
|
|
7548
|
+
san: string;
|
|
7514
7549
|
/** @enum {string} */
|
|
7515
|
-
category
|
|
7550
|
+
category:
|
|
7516
7551
|
| "loss"
|
|
7517
7552
|
| "unknown"
|
|
7518
7553
|
| "syzygy-loss"
|
|
@@ -7523,18 +7558,13 @@ export interface components {
|
|
|
7523
7558
|
| "maybe-win"
|
|
7524
7559
|
| "syzygy-win"
|
|
7525
7560
|
| "win";
|
|
7526
|
-
/** @description DTZ50'' with rounding or null if unknown */
|
|
7527
7561
|
dtz?: null | number;
|
|
7528
|
-
/** @description DTZ50'' (only if guaranteed to be not rounded) or null if unknown
|
|
7529
|
-
* */
|
|
7530
7562
|
precise_dtz?: null | number;
|
|
7531
|
-
/** @description Depth to Conversion (experimental) */
|
|
7532
7563
|
dtc?: null | number;
|
|
7533
|
-
/** @description Depth To Mate (only for Standard positions with not more than 5 pieces) */
|
|
7534
7564
|
dtm?: null | number;
|
|
7535
|
-
/** @description Depth To Win (only for Antichess positions with not more than 4 pieces) */
|
|
7536
7565
|
dtw?: null | number;
|
|
7537
7566
|
zeroing?: boolean;
|
|
7567
|
+
conversion?: boolean;
|
|
7538
7568
|
checkmate?: boolean;
|
|
7539
7569
|
stalemate?: boolean;
|
|
7540
7570
|
variant_win?: boolean;
|
|
@@ -7589,7 +7619,7 @@ export interface components {
|
|
|
7589
7619
|
*
|
|
7590
7620
|
* @enum {string}
|
|
7591
7621
|
*/
|
|
7592
|
-
category
|
|
7622
|
+
category:
|
|
7593
7623
|
| "win"
|
|
7594
7624
|
| "unknown"
|
|
7595
7625
|
| "syzygy-win"
|
|
@@ -7600,16 +7630,21 @@ export interface components {
|
|
|
7600
7630
|
| "maybe-loss"
|
|
7601
7631
|
| "syzygy-loss"
|
|
7602
7632
|
| "loss";
|
|
7603
|
-
/** @description [DTZ50'' with rounding](https://syzygy-tables.info/metrics#dtz)
|
|
7604
|
-
*
|
|
7633
|
+
/** @description [DTZ50'' with rounding](https://syzygy-tables.info/metrics#dtz) in plies
|
|
7634
|
+
* (for Standard chess positions with not more than 7 pieces and variant
|
|
7635
|
+
* positions not more than 6 pieces)
|
|
7605
7636
|
* */
|
|
7606
7637
|
dtz?: null | number;
|
|
7607
|
-
/** @description DTZ50''
|
|
7638
|
+
/** @description DTZ50'' in plies, only if guaranteed to not be rounded, or absent if unknown
|
|
7608
7639
|
* */
|
|
7609
7640
|
precise_dtz?: null | number;
|
|
7610
|
-
/** @description Depth to Conversion: Moves to next capture
|
|
7611
|
-
*
|
|
7612
|
-
*
|
|
7641
|
+
/** @description Experimental Depth to Conversion: Moves to next capture, promotion,
|
|
7642
|
+
* or checkmate. Available for:
|
|
7643
|
+
* * Standard chess positions with 8 pieces, more than one pawn of material
|
|
7644
|
+
* value for each side, and at least one pair of opposing pawns,
|
|
7645
|
+
* short *op1*, if query parameter `dtc` is `auxiliary` or `always`.
|
|
7646
|
+
* * Some standard chess positions with up to 7 pieces, if query parameter
|
|
7647
|
+
* `dtc` is `always`. Work in progress.
|
|
7613
7648
|
* */
|
|
7614
7649
|
dtc?: null | number;
|
|
7615
7650
|
/** @description Depth To Mate: Plies to mate (available only for Standard positions
|
|
@@ -7628,7 +7663,7 @@ export interface components {
|
|
|
7628
7663
|
variant_loss?: boolean;
|
|
7629
7664
|
insufficient_material?: boolean;
|
|
7630
7665
|
/** @description Information about legal moves, best first */
|
|
7631
|
-
moves
|
|
7666
|
+
moves: components["schemas"]["TablebaseMove"][];
|
|
7632
7667
|
};
|
|
7633
7668
|
};
|
|
7634
7669
|
responses: never;
|
|
@@ -9266,126 +9301,155 @@ export interface operations {
|
|
|
9266
9301
|
};
|
|
9267
9302
|
content: {
|
|
9268
9303
|
/** @example {
|
|
9269
|
-
* "id": "
|
|
9270
|
-
* "username": "
|
|
9304
|
+
* "id": "thibault",
|
|
9305
|
+
* "username": "thibault",
|
|
9271
9306
|
* "perfs": {
|
|
9307
|
+
* "ultraBullet": {
|
|
9308
|
+
* "games": 3,
|
|
9309
|
+
* "rating": 1688,
|
|
9310
|
+
* "rd": 351,
|
|
9311
|
+
* "prog": 0,
|
|
9312
|
+
* "prov": true
|
|
9313
|
+
* },
|
|
9272
9314
|
* "bullet": {
|
|
9273
|
-
* "games":
|
|
9274
|
-
* "rating":
|
|
9275
|
-
* "rd":
|
|
9276
|
-
* "prog":
|
|
9315
|
+
* "games": 7475,
|
|
9316
|
+
* "rating": 1787,
|
|
9317
|
+
* "rd": 82,
|
|
9318
|
+
* "prog": -6
|
|
9277
9319
|
* },
|
|
9278
9320
|
* "blitz": {
|
|
9279
|
-
* "games":
|
|
9280
|
-
* "rating":
|
|
9281
|
-
* "rd":
|
|
9282
|
-
* "prog":
|
|
9321
|
+
* "games": 11537,
|
|
9322
|
+
* "rating": 1785,
|
|
9323
|
+
* "rd": 53,
|
|
9324
|
+
* "prog": 4
|
|
9283
9325
|
* },
|
|
9284
9326
|
* "rapid": {
|
|
9285
|
-
* "games":
|
|
9286
|
-
* "rating":
|
|
9287
|
-
* "rd":
|
|
9288
|
-
* "prog":
|
|
9327
|
+
* "games": 873,
|
|
9328
|
+
* "rating": 1746,
|
|
9329
|
+
* "rd": 134,
|
|
9330
|
+
* "prog": -71,
|
|
9331
|
+
* "prov": true
|
|
9289
9332
|
* },
|
|
9290
9333
|
* "classical": {
|
|
9291
|
-
* "games":
|
|
9292
|
-
* "rating":
|
|
9293
|
-
* "rd":
|
|
9294
|
-
* "prog": -
|
|
9334
|
+
* "games": 24,
|
|
9335
|
+
* "rating": 1806,
|
|
9336
|
+
* "rd": 247,
|
|
9337
|
+
* "prog": -5,
|
|
9338
|
+
* "prov": true
|
|
9295
9339
|
* },
|
|
9296
9340
|
* "correspondence": {
|
|
9297
|
-
* "games":
|
|
9298
|
-
* "rating":
|
|
9299
|
-
* "rd":
|
|
9300
|
-
* "prog": -
|
|
9341
|
+
* "games": 377,
|
|
9342
|
+
* "rating": 1942,
|
|
9343
|
+
* "rd": 150,
|
|
9344
|
+
* "prog": -12,
|
|
9345
|
+
* "prov": true
|
|
9301
9346
|
* },
|
|
9302
9347
|
* "chess960": {
|
|
9303
|
-
* "games":
|
|
9304
|
-
* "rating":
|
|
9305
|
-
* "rd":
|
|
9306
|
-
* "prog":
|
|
9348
|
+
* "games": 348,
|
|
9349
|
+
* "rating": 1551,
|
|
9350
|
+
* "rd": 255,
|
|
9351
|
+
* "prog": 61,
|
|
9352
|
+
* "prov": true
|
|
9307
9353
|
* },
|
|
9308
9354
|
* "kingOfTheHill": {
|
|
9309
|
-
* "games":
|
|
9310
|
-
* "rating":
|
|
9311
|
-
* "rd":
|
|
9312
|
-
* "prog":
|
|
9355
|
+
* "games": 94,
|
|
9356
|
+
* "rating": 1744,
|
|
9357
|
+
* "rd": 276,
|
|
9358
|
+
* "prog": 14,
|
|
9359
|
+
* "prov": true
|
|
9313
9360
|
* },
|
|
9314
9361
|
* "threeCheck": {
|
|
9315
|
-
* "games":
|
|
9316
|
-
* "rating":
|
|
9317
|
-
* "rd":
|
|
9318
|
-
* "prog":
|
|
9362
|
+
* "games": 66,
|
|
9363
|
+
* "rating": 1728,
|
|
9364
|
+
* "rd": 248,
|
|
9365
|
+
* "prog": 132,
|
|
9366
|
+
* "prov": true
|
|
9319
9367
|
* },
|
|
9320
9368
|
* "antichess": {
|
|
9321
|
-
* "games":
|
|
9322
|
-
* "rating":
|
|
9323
|
-
* "rd":
|
|
9324
|
-
* "prog":
|
|
9369
|
+
* "games": 72,
|
|
9370
|
+
* "rating": 1512,
|
|
9371
|
+
* "rd": 273,
|
|
9372
|
+
* "prog": -20,
|
|
9373
|
+
* "prov": true
|
|
9325
9374
|
* },
|
|
9326
9375
|
* "atomic": {
|
|
9327
|
-
* "games":
|
|
9328
|
-
* "rating":
|
|
9329
|
-
* "rd":
|
|
9330
|
-
* "prog":
|
|
9376
|
+
* "games": 99,
|
|
9377
|
+
* "rating": 1633,
|
|
9378
|
+
* "rd": 289,
|
|
9379
|
+
* "prog": 18,
|
|
9331
9380
|
* "prov": true
|
|
9332
9381
|
* },
|
|
9333
9382
|
* "horde": {
|
|
9334
|
-
* "games":
|
|
9335
|
-
* "rating":
|
|
9336
|
-
* "rd":
|
|
9337
|
-
* "prog": -
|
|
9383
|
+
* "games": 46,
|
|
9384
|
+
* "rating": 1592,
|
|
9385
|
+
* "rd": 270,
|
|
9386
|
+
* "prog": -20,
|
|
9387
|
+
* "prov": true
|
|
9388
|
+
* },
|
|
9389
|
+
* "racingKings": {
|
|
9390
|
+
* "games": 13,
|
|
9391
|
+
* "rating": 1552,
|
|
9392
|
+
* "rd": 321,
|
|
9393
|
+
* "prog": -75,
|
|
9394
|
+
* "prov": true
|
|
9338
9395
|
* },
|
|
9339
9396
|
* "crazyhouse": {
|
|
9340
|
-
* "games":
|
|
9341
|
-
* "rating":
|
|
9342
|
-
* "rd":
|
|
9343
|
-
* "prog":
|
|
9397
|
+
* "games": 50,
|
|
9398
|
+
* "rating": 1567,
|
|
9399
|
+
* "rd": 287,
|
|
9400
|
+
* "prog": -34,
|
|
9401
|
+
* "prov": true
|
|
9344
9402
|
* },
|
|
9345
9403
|
* "puzzle": {
|
|
9346
|
-
* "games":
|
|
9347
|
-
* "rating":
|
|
9348
|
-
* "rd":
|
|
9349
|
-
* "prog":
|
|
9404
|
+
* "games": 5704,
|
|
9405
|
+
* "rating": 1915,
|
|
9406
|
+
* "rd": 74,
|
|
9407
|
+
* "prog": 0
|
|
9408
|
+
* },
|
|
9409
|
+
* "storm": {
|
|
9410
|
+
* "runs": 44,
|
|
9411
|
+
* "score": 33
|
|
9412
|
+
* },
|
|
9413
|
+
* "racer": {
|
|
9414
|
+
* "runs": 82,
|
|
9415
|
+
* "score": 51
|
|
9416
|
+
* },
|
|
9417
|
+
* "streak": {
|
|
9418
|
+
* "runs": 49,
|
|
9419
|
+
* "score": 33
|
|
9350
9420
|
* }
|
|
9351
9421
|
* },
|
|
9352
|
-
* "
|
|
9422
|
+
* "flair": "nature.seedling",
|
|
9423
|
+
* "patron": true,
|
|
9424
|
+
* "patronColor": 10,
|
|
9425
|
+
* "verified": true,
|
|
9426
|
+
* "createdAt": 1290415680000,
|
|
9353
9427
|
* "profile": {
|
|
9354
|
-
* "
|
|
9355
|
-
* "
|
|
9356
|
-
* "
|
|
9357
|
-
* "fideRating": 1050,
|
|
9358
|
-
* "uscfRating": 1027,
|
|
9359
|
-
* "ecfRating": 925,
|
|
9360
|
-
* "rcfRating": 901,
|
|
9361
|
-
* "cfcRating": 862,
|
|
9362
|
-
* "dsbRating": 1237,
|
|
9363
|
-
* "links": "https://en.wikipedia.org/wiki/Euler\nhttps://en.wikipedia.org/wiki/Socialism\nhttps://en.wikipedia.org/wiki/Nelson_Mandela"
|
|
9428
|
+
* "bio": "I turn coffee into bugs.",
|
|
9429
|
+
* "realName": "Thibault Duplessis",
|
|
9430
|
+
* "links": "github.com/ornicar\r\nmas.to/@thibault"
|
|
9364
9431
|
* },
|
|
9365
|
-
* "seenAt":
|
|
9432
|
+
* "seenAt": 1761232630967,
|
|
9366
9433
|
* "playTime": {
|
|
9367
|
-
* "total":
|
|
9368
|
-
* "tv":
|
|
9434
|
+
* "total": 6437101,
|
|
9435
|
+
* "tv": 17974
|
|
9369
9436
|
* },
|
|
9370
|
-
* "url": "https://lichess.org/@/
|
|
9437
|
+
* "url": "https://lichess.org/@/thibault",
|
|
9438
|
+
* "playing": "https://lichess.org/2hkdzX2e/black",
|
|
9371
9439
|
* "count": {
|
|
9372
|
-
* "all":
|
|
9373
|
-
* "rated":
|
|
9374
|
-
* "
|
|
9375
|
-
* "
|
|
9376
|
-
* "
|
|
9377
|
-
* "
|
|
9378
|
-
* "
|
|
9379
|
-
* "
|
|
9380
|
-
* "
|
|
9381
|
-
* "bookmark": 0,
|
|
9382
|
-
* "playing": 0,
|
|
9383
|
-
* "import": 0,
|
|
9384
|
-
* "me": 1
|
|
9440
|
+
* "all": 23451,
|
|
9441
|
+
* "rated": 21088,
|
|
9442
|
+
* "draw": 1028,
|
|
9443
|
+
* "loss": 11200,
|
|
9444
|
+
* "win": 11218,
|
|
9445
|
+
* "bookmark": 79,
|
|
9446
|
+
* "playing": 3,
|
|
9447
|
+
* "import": 73,
|
|
9448
|
+
* "me": 0
|
|
9385
9449
|
* },
|
|
9386
9450
|
* "streamer": {
|
|
9387
9451
|
* "twitch": {
|
|
9388
|
-
* "channel": "https://www.twitch.tv/
|
|
9452
|
+
* "channel": "https://www.twitch.tv/ornicar2"
|
|
9389
9453
|
* }
|
|
9390
9454
|
* },
|
|
9391
9455
|
* "followable": true,
|
|
@@ -13842,8 +13906,7 @@ export interface operations {
|
|
|
13842
13906
|
fullId: string;
|
|
13843
13907
|
gameId: string;
|
|
13844
13908
|
fen: string;
|
|
13845
|
-
|
|
13846
|
-
color: "white" | "black";
|
|
13909
|
+
color: components["schemas"]["GameColor"];
|
|
13847
13910
|
lastMove: string;
|
|
13848
13911
|
source: components["schemas"]["GameSource"];
|
|
13849
13912
|
status?: components["schemas"]["GameStatusName"];
|
|
@@ -13863,8 +13926,7 @@ export interface operations {
|
|
|
13863
13926
|
secondsLeft: number;
|
|
13864
13927
|
tournamentId?: string;
|
|
13865
13928
|
swissId?: string;
|
|
13866
|
-
|
|
13867
|
-
winner?: "white" | "black";
|
|
13929
|
+
winner?: components["schemas"]["GameColor"];
|
|
13868
13930
|
ratingDiff?: number;
|
|
13869
13931
|
}[];
|
|
13870
13932
|
};
|
|
@@ -36686,9 +36748,8 @@ export interface operations {
|
|
|
36686
36748
|
/**
|
|
36687
36749
|
* @description Which color you get to play
|
|
36688
36750
|
* @default random
|
|
36689
|
-
* @enum {string}
|
|
36690
36751
|
*/
|
|
36691
|
-
color?: "
|
|
36752
|
+
color?: components["schemas"]["ChallengeColor"];
|
|
36692
36753
|
variant?: components["schemas"]["VariantKey"];
|
|
36693
36754
|
fen?: components["schemas"]["FromPositionFEN"];
|
|
36694
36755
|
/** @description If set, the response is streamed as [ndjson](#section/Introduction/Streaming-with-ND-JSON).
|
|
@@ -36991,9 +37052,8 @@ export interface operations {
|
|
|
36991
37052
|
/**
|
|
36992
37053
|
* @description Which color you get to play
|
|
36993
37054
|
* @default random
|
|
36994
|
-
* @enum {string}
|
|
36995
37055
|
*/
|
|
36996
|
-
color?: "
|
|
37056
|
+
color?: components["schemas"]["ChallengeColor"];
|
|
36997
37057
|
variant?: components["schemas"]["VariantKey"];
|
|
36998
37058
|
fen?: components["schemas"]["FromPositionFEN"];
|
|
36999
37059
|
};
|
|
@@ -39052,11 +39112,11 @@ export interface operations {
|
|
|
39052
39112
|
query: {
|
|
39053
39113
|
/** @description FEN of the position. Underscores allowed. */
|
|
39054
39114
|
fen: string;
|
|
39055
|
-
/** @description When to query the
|
|
39056
|
-
* It is eventually going to be
|
|
39057
|
-
* is not covered by one of the other tablebases.
|
|
39115
|
+
/** @description When to query the tablebase for `dtc` values. The current default
|
|
39116
|
+
* is `never`. It is eventually going to be `auxiliary`, i.e., only when
|
|
39117
|
+
* the position is not covered by one of the other tablebases.
|
|
39058
39118
|
* */
|
|
39059
|
-
|
|
39119
|
+
dtc?: "never" | "auxiliary" | "always";
|
|
39060
39120
|
};
|
|
39061
39121
|
header?: never;
|
|
39062
39122
|
path?: never;
|