@lichess-org/types 2.0.91 → 2.0.92

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.
Files changed (2) hide show
  1. package/lichess-api.d.ts +394 -280
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -4202,23 +4202,13 @@ export interface components {
4202
4202
  */
4203
4203
  playing?: string;
4204
4204
  count?: components["schemas"]["Count"];
4205
- /** @example false */
4206
4205
  streaming?: boolean;
4207
4206
  streamer?: components["schemas"]["UserStreamer"];
4208
- /**
4209
- * @description only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)
4210
- * @example true
4211
- */
4207
+ /** @description only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication) */
4212
4208
  followable?: boolean;
4213
- /**
4214
- * @description only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)
4215
- * @example false
4216
- */
4209
+ /** @description only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication) */
4217
4210
  following?: boolean;
4218
- /**
4219
- * @description only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication)
4220
- * @example false
4221
- */
4211
+ /** @description only appears if the request is [authenticated with OAuth2](#section/Introduction/Authentication) */
4222
4212
  blocking?: boolean;
4223
4213
  };
4224
4214
  /** @example {
@@ -4301,232 +4291,180 @@ export interface components {
4301
4291
  | "kingOfTheHill"
4302
4292
  | "racingKings"
4303
4293
  | "threeCheck";
4304
- /** @example {
4305
- * "user": {
4306
- * "name": "thibault"
4307
- * },
4308
- * "perf": {
4309
- * "glicko": {
4310
- * "rating": 1672.42,
4311
- * "deviation": 45.13,
4312
- * "provisional": false
4313
- * },
4314
- * "nb": 5692,
4315
- * "progress": -27
4316
- * },
4317
- * "rank": 98121,
4318
- * "percentile": 69.7,
4319
- * "stat": {
4320
- * "perfType": {
4321
- * "key": "bullet",
4322
- * "name": "Bullet"
4323
- * },
4324
- * "highest": {
4325
- * "int": 1902,
4326
- * "at": "2021-05-31T08:58:53.701Z",
4327
- * "gameId": "YEDqtwig"
4328
- * },
4329
- * "lowest": {
4330
- * "int": 1417,
4331
- * "at": "2016-06-28T13:54:39.656Z",
4332
- * "gameId": "rNM4J1GJ"
4333
- * },
4334
- * "id": "thibault/1",
4335
- * "bestWins": {
4336
- * "results": [
4337
- * {
4338
- * "opRating": 2238,
4339
- * "opId": {
4340
- * "id": "hyperdragon84",
4341
- * "name": "HyperDragon84"
4342
- * },
4343
- * "at": "2019-06-19T17:09:05.187Z",
4344
- * "gameId": "DGB53z9w"
4345
- * },
4346
- * {
4347
- * "opRating": 2089,
4348
- * "opId": {
4349
- * "id": "osipov",
4350
- * "name": "osipov"
4351
- * },
4352
- * "at": "2017-06-18T09:46:05.016Z",
4353
- * "gameId": "gurRhuMi"
4354
- * },
4355
- * {
4356
- * "opRating": 2071,
4357
- * "opId": {
4358
- * "id": "spark50",
4359
- * "name": "Spark50"
4360
- * },
4361
- * "at": "2020-07-04T08:36:12.948Z",
4362
- * "gameId": "a93Dk1mv"
4363
- * },
4364
- * {
4365
- * "opRating": 2045,
4366
- * "opId": {
4367
- * "id": "yasha43",
4368
- * "name": "Yasha43"
4369
- * },
4370
- * "at": "2021-05-17T14:01:41.098Z",
4371
- * "gameId": "j3jZnGTr"
4372
- * },
4373
- * {
4374
- * "opRating": 2034,
4375
- * "opId": {
4376
- * "id": "midedu",
4377
- * "name": "midedu"
4378
- * },
4379
- * "at": "2020-06-27T17:32:47.001Z",
4380
- * "gameId": "OiaMVLQ8"
4381
- * }
4382
- * ]
4383
- * },
4384
- * "worstLosses": {
4385
- * "results": [
4386
- * {
4387
- * "opRating": 1186,
4388
- * "opId": {
4389
- * "id": "happy0",
4390
- * "name": "Happy0"
4391
- * },
4392
- * "at": "2016-07-07T19:48:29.077Z",
4393
- * "gameId": "Q01bbiN4"
4394
- * },
4395
- * {
4396
- * "opRating": 1197,
4397
- * "opId": {
4398
- * "id": "kazmankiller86",
4399
- * "name": "KazmanKiller86"
4400
- * },
4401
- * "at": "2016-10-16T14:21:37.748Z",
4402
- * "gameId": "Aivqh9Sp"
4403
- * },
4404
- * {
4405
- * "opRating": 1201,
4406
- * "opId": {
4407
- * "id": "artem555",
4408
- * "name": "artem555"
4409
- * },
4410
- * "at": "2016-08-28T16:21:30.923Z",
4411
- * "gameId": "tiRAbhnX"
4412
- * },
4413
- * {
4414
- * "opRating": 1265,
4415
- * "opId": {
4416
- * "id": "arcenuu",
4417
- * "name": "Arcenuu"
4418
- * },
4419
- * "at": "2016-12-24T14:28:03.866Z",
4420
- * "gameId": "A68wUOoh"
4421
- * },
4422
- * {
4423
- * "opRating": 1283,
4424
- * "opId": {
4425
- * "id": "amritalib76",
4426
- * "name": "Amritalib76"
4427
- * },
4428
- * "at": "2018-06-26T09:55:39.354Z",
4429
- * "gameId": "sbNVikmo"
4430
- * }
4431
- * ]
4432
- * },
4433
- * "count": {
4434
- * "all": 5858,
4435
- * "rated": 5688,
4436
- * "win": 2789,
4437
- * "loss": 2806,
4438
- * "draw": 263,
4439
- * "tour": 654,
4440
- * "berserk": 1,
4441
- * "opAvg": 1671.44,
4442
- * "seconds": 784886,
4443
- * "disconnects": 0
4444
- * },
4445
- * "resultStreak": {
4446
- * "win": {
4447
- * "cur": {
4448
- * "v": 0
4449
- * },
4450
- * "max": {
4451
- * "v": 11,
4452
- * "from": {
4453
- * "at": "2021-06-14T15:38:50.681Z",
4454
- * "gameId": "wTX2IExo"
4455
- * },
4456
- * "to": {
4457
- * "at": "2021-06-15T18:41:46.970Z",
4458
- * "gameId": "1z4rrjgw"
4459
- * }
4460
- * }
4461
- * },
4462
- * "loss": {
4463
- * "cur": {
4464
- * "v": 3,
4465
- * "from": {
4466
- * "at": "2021-06-29T17:53:23.642Z",
4467
- * "gameId": "pfcnjgik"
4468
- * },
4469
- * "to": {
4470
- * "at": "2021-06-29T18:04:48.358Z",
4471
- * "gameId": "6sPaGL8T"
4472
- * }
4473
- * },
4474
- * "max": {
4475
- * "v": 14,
4476
- * "from": {
4477
- * "at": "2018-06-11T14:43:39.296Z",
4478
- * "gameId": "1fc9dqun"
4479
- * },
4480
- * "to": {
4481
- * "at": "2018-06-11T15:10:30.908Z",
4482
- * "gameId": "Nzy6UgwY"
4483
- * }
4484
- * }
4485
- * }
4486
- * },
4487
- * "userId": {
4488
- * "id": "thibault",
4489
- * "name": "thibault",
4490
- * "title": null
4491
- * },
4492
- * "playStreak": {
4493
- * "nb": {
4494
- * "cur": {
4495
- * "v": 0
4496
- * },
4497
- * "max": {
4498
- * "v": 118,
4499
- * "from": {
4500
- * "at": "2018-06-11T10:32:21.248Z",
4501
- * "gameId": "UAsNnJbN"
4502
- * },
4503
- * "to": {
4504
- * "at": "2018-06-11T15:13:01.193Z",
4505
- * "gameId": "T7fHRaFG"
4506
- * }
4507
- * }
4508
- * },
4509
- * "time": {
4510
- * "cur": {
4511
- * "v": 0
4512
- * },
4513
- * "max": {
4514
- * "v": 12683,
4515
- * "from": {
4516
- * "at": "2018-06-12T14:11:14.021Z",
4517
- * "gameId": "IrZCAW58"
4518
- * },
4519
- * "to": {
4520
- * "at": "2018-06-12T18:02:57.010Z",
4521
- * "gameId": "RNF1mQ68"
4522
- * }
4523
- * }
4524
- * },
4525
- * "lastDate": "2021-06-29T18:04:48.358Z"
4526
- * }
4527
- * }
4528
- * } */
4529
- PerfStat: unknown;
4294
+ PerfStat: {
4295
+ user: {
4296
+ name: string;
4297
+ };
4298
+ perf: {
4299
+ glicko?: {
4300
+ rating?: number;
4301
+ deviation?: number;
4302
+ provisional?: boolean;
4303
+ };
4304
+ nb?: number;
4305
+ progress?: number;
4306
+ };
4307
+ rank: number | null;
4308
+ percentile: number;
4309
+ stat: {
4310
+ perfType: {
4311
+ key: string;
4312
+ name: string;
4313
+ };
4314
+ highest?: {
4315
+ int: number;
4316
+ /** Format: date-time */
4317
+ at: string;
4318
+ gameId: string;
4319
+ };
4320
+ lowest?: {
4321
+ int: number;
4322
+ /** Format: date-time */
4323
+ at: string;
4324
+ gameId: string;
4325
+ };
4326
+ id: string;
4327
+ bestWins: {
4328
+ results: {
4329
+ opRating: number;
4330
+ opId: {
4331
+ id: string;
4332
+ name: string;
4333
+ title: components["schemas"]["Title"] | null;
4334
+ };
4335
+ /** Format: date-time */
4336
+ at: string;
4337
+ gameId: string;
4338
+ }[];
4339
+ };
4340
+ worstLosses: {
4341
+ results: {
4342
+ opRating: number;
4343
+ opId: {
4344
+ id: string;
4345
+ name: string;
4346
+ title: components["schemas"]["Title"] | null;
4347
+ };
4348
+ /** Format: date-time */
4349
+ at: string;
4350
+ gameId: string;
4351
+ }[];
4352
+ };
4353
+ count: {
4354
+ all: number;
4355
+ rated: number;
4356
+ win: number;
4357
+ loss: number;
4358
+ draw: number;
4359
+ tour: number;
4360
+ berserk: number;
4361
+ opAvg: number;
4362
+ seconds: number;
4363
+ disconnects: number;
4364
+ };
4365
+ resultStreak: {
4366
+ win: {
4367
+ cur: {
4368
+ v: number;
4369
+ from?: {
4370
+ /** Format: date-time */
4371
+ at: string;
4372
+ gameId: string;
4373
+ };
4374
+ to?: {
4375
+ /** Format: date-time */
4376
+ at: string;
4377
+ gameId: string;
4378
+ };
4379
+ };
4380
+ max: {
4381
+ v: number;
4382
+ from?: {
4383
+ /** Format: date-time */
4384
+ at: string;
4385
+ gameId: string;
4386
+ };
4387
+ to?: {
4388
+ /** Format: date-time */
4389
+ at: string;
4390
+ gameId: string;
4391
+ };
4392
+ };
4393
+ };
4394
+ loss: {
4395
+ cur: {
4396
+ v: number;
4397
+ from?: {
4398
+ /** Format: date-time */
4399
+ at: string;
4400
+ gameId: string;
4401
+ };
4402
+ to?: {
4403
+ /** Format: date-time */
4404
+ at: string;
4405
+ gameId: string;
4406
+ };
4407
+ };
4408
+ max: {
4409
+ v: number;
4410
+ from?: {
4411
+ at: string;
4412
+ gameId: string;
4413
+ };
4414
+ to?: {
4415
+ at: string;
4416
+ gameId: string;
4417
+ };
4418
+ };
4419
+ };
4420
+ };
4421
+ userId: {
4422
+ id: string;
4423
+ name: string;
4424
+ title: components["schemas"]["Title"] | null;
4425
+ };
4426
+ playStreak: {
4427
+ nb: {
4428
+ cur: {
4429
+ v: number;
4430
+ };
4431
+ max: {
4432
+ v: number;
4433
+ from?: {
4434
+ /** Format: date-time */
4435
+ at: string;
4436
+ gameId: string;
4437
+ };
4438
+ to?: {
4439
+ /** Format: date-time */
4440
+ at: string;
4441
+ gameId: string;
4442
+ };
4443
+ };
4444
+ };
4445
+ time: {
4446
+ cur: {
4447
+ v: number;
4448
+ };
4449
+ max: {
4450
+ v: number;
4451
+ from?: {
4452
+ /** Format: date-time */
4453
+ at: string;
4454
+ gameId: string;
4455
+ };
4456
+ to?: {
4457
+ /** Format: date-time */
4458
+ at: string;
4459
+ gameId: string;
4460
+ };
4461
+ };
4462
+ };
4463
+ /** Format: date-time */
4464
+ lastDate?: string;
4465
+ };
4466
+ };
4467
+ };
4530
4468
  UserActivityScore: {
4531
4469
  win: number;
4532
4470
  loss: number;
@@ -5531,12 +5469,41 @@ export interface components {
5531
5469
  | "simul"
5532
5470
  | "relay"
5533
5471
  | "pool"
5472
+ | "arena"
5534
5473
  | "swiss";
5535
5474
  Variant: {
5536
5475
  key: components["schemas"]["VariantKey"];
5537
5476
  name: string;
5538
5477
  short?: string;
5539
5478
  };
5479
+ GameStatus: {
5480
+ id: components["schemas"]["GameStatusId"];
5481
+ name: components["schemas"]["GameStatusName"];
5482
+ };
5483
+ MoveStreamEntry:
5484
+ | {
5485
+ id: string;
5486
+ variant?: components["schemas"]["Variant"];
5487
+ speed?: components["schemas"]["Speed"];
5488
+ perf?: components["schemas"]["PerfType"];
5489
+ rated?: boolean;
5490
+ initialFen?: string;
5491
+ fen?: string;
5492
+ player?: components["schemas"]["GameColor"];
5493
+ turns?: number;
5494
+ startedAtTurn?: number;
5495
+ source?: components["schemas"]["GameSource"];
5496
+ status?: components["schemas"]["GameStatus"];
5497
+ createdAt?: number;
5498
+ lastMove?: string;
5499
+ players?: components["schemas"]["GamePlayers"];
5500
+ }
5501
+ | {
5502
+ fen: string;
5503
+ lm?: string;
5504
+ wc: number;
5505
+ bc: number;
5506
+ };
5540
5507
  /** @example [
5541
5508
  * {
5542
5509
  * "id": "LuGQwhBb",
@@ -5608,7 +5575,7 @@ export interface components {
5608
5575
  * "bc": 177
5609
5576
  * }
5610
5577
  * ] */
5611
- MoveStream: unknown;
5578
+ MoveStream: components["schemas"]["MoveStreamEntry"][];
5612
5579
  TvGame: {
5613
5580
  user: components["schemas"]["LightUser"];
5614
5581
  rating: number;
@@ -5994,7 +5961,7 @@ export interface components {
5994
5961
  * { This chapter will go over the Dragon Variation, a very common variation used by Black and it is the most aggressive variation in the Sicilian defense. }
5995
5962
  * 1. e4 c5 2. Nf3 { Simple developing move to control the d4 square } { [%csl Gd4,Gc5][%cal Gf3d4,Gc5d4] } 2... d6 { [%cal Gd6e5] } (2... e6 3. d4 cxd4 4. Nxd4 Nf6 5. e5 (5. Nc3 { [%cal Ge4e5] }) 5... Qa5+) 3. d4 { Whites want the exchange of pawns } { [%cal Gc5d4] } 3... cxd4 { [%cal Gf3d4] } 4. Nxd4 { Whites are now ahead in development but blacks still have the two central pawns whereas whites only one. } { [%csl Ge7,Gd6,Ge4] } 4... Nf6 { Blacks are now developing their knight and threatening the e4 pawn } { [%csl Ge4][%cal Gf6e4] } 5. Nc3 { The e4 pawn is now protected by the c3 knight } { [%csl Ge4,Bc3][%cal Rf6e4,Bc3e4] } 5... g6 { This is the DRAGON VARIATION. g6 allows the dark-squared bishop to develop and move to g7, controlling the long dark-squared diagonal } { [%csl Gd4] } 6. Be3 { [%cal Gd1d2,Gf2f3,Ge1c1,Gg2g4,Gh2h4,Gg4g5] } (6. Be2 Bg7 7. O-O Nc6 8. Be3 { [%cal Ge3d4] } (8. f3 Nxe4 { [%cal Gg7d4,Gc6d4] } 9. Nxc6 Qb6+ { [%cal Gb6c6,Gb6g1] } 10. Kh1 Nxc3 { [%cal Gc3d1,Gc3e2] } 11. bxc3 bxc6 { [%cal Gc8a6] }) 8... O-O 9. Nb3 a6 { [%cal Gb7b5,Gb5b4,Ge2c4] }) 6... Bg7 (6... Ng4 { [%cal Gg4e3] } 7. Bb5+ { [%cal Gb5e8,Gb8d7,Gc8d7,Gd1g4] } 7... Nc6 8. Nxc6 bxc6 9. Bxc6+ { [%cal Gc6a8] }) 7. f3 { The key opening moves for White, who attempt to castle queenside , whereas f3 strengthens the pawn structure, connecting e4 to the h2 and g2, while White also plan pushing to g4 and possibly h4. } { [%csl Bf3,Be3][%cal Rg2g4,Rh2h4,Rg4g5] } 7... O-O (7... h5 { Is operating against g4. }) 8. Qd2 { [%csl Gh6,Gg7][%cal Ge1c1,Ga1d1,Re3h6,Rd2h6] } 8... Nc6 { [%csl Gc6,Gh6][%cal Gb8c6,Ge1c1,Ga7a6,Ge3h6] } 9. g4 (9. Bh6 { [%cal Ge3d4] } 9... Bxh6 10. Qxh6 Nxd4) 9... Be6 10. Nxe6 fxe6 { [%cal Gf8f1] } 11. O-O-O Ne5 12. Be2 { [%csl Gf3][%cal Re5f3,Bd1h1,Bg1d1] } 12... Qc7 { [%csl Gc4][%cal Ge5c4,Gc4e3,Gc4d2,Bf8c8,Yc7c3] } 13. h4 Nc4 *
5996
5963
  * */
5997
- StudyPgn: unknown;
5964
+ StudyPgn: string;
5998
5965
  /** @example {
5999
5966
  * "chapters": [
6000
5967
  * {
@@ -6725,10 +6692,6 @@ export interface components {
6725
6692
  */
6726
6693
  date?: number;
6727
6694
  };
6728
- GameStatus: {
6729
- id: components["schemas"]["GameStatusId"];
6730
- name: components["schemas"]["GameStatusName"];
6731
- };
6732
6695
  GameEventOpponent:
6733
6696
  | {
6734
6697
  id: string;
@@ -6768,6 +6731,7 @@ export interface components {
6768
6731
  ratingDiff?: number;
6769
6732
  compat?: components["schemas"]["GameCompat"];
6770
6733
  id?: string;
6734
+ tournamentId?: string;
6771
6735
  };
6772
6736
  GameStartEvent: {
6773
6737
  /** @constant */
@@ -7333,8 +7297,7 @@ export interface components {
7333
7297
  };
7334
7298
  OpeningExplorerMastersGame: {
7335
7299
  id: string;
7336
- /** @enum {string|null} */
7337
- winner: "white" | "black" | null;
7300
+ winner: components["schemas"]["GameColor"] | null;
7338
7301
  white: components["schemas"]["OpeningExplorerGamePlayer"];
7339
7302
  black: components["schemas"]["OpeningExplorerGamePlayer"];
7340
7303
  year: number;
@@ -7361,8 +7324,7 @@ export interface components {
7361
7324
  };
7362
7325
  OpeningExplorerLichessGame: {
7363
7326
  id: string;
7364
- /** @enum {string|null} */
7365
- winner: "white" | "black" | null;
7327
+ winner: components["schemas"]["GameColor"] | null;
7366
7328
  speed?: components["schemas"]["Speed"];
7367
7329
  white: components["schemas"]["OpeningExplorerGamePlayer"];
7368
7330
  black: components["schemas"]["OpeningExplorerGamePlayer"];
@@ -7399,8 +7361,7 @@ export interface components {
7399
7361
  };
7400
7362
  OpeningExplorerPlayerGame: {
7401
7363
  id: string;
7402
- /** @enum {string|null} */
7403
- winner: "white" | "black" | null;
7364
+ winner: components["schemas"]["GameColor"] | null;
7404
7365
  speed: components["schemas"]["Speed"];
7405
7366
  /** @enum {string} */
7406
7367
  mode: "rated" | "casual";
@@ -9892,62 +9853,198 @@ export interface operations {
9892
9853
  content: {
9893
9854
  /** @example {
9894
9855
  * "user": {
9895
- * "name": "Jose"
9856
+ * "name": "thibault"
9896
9857
  * },
9897
9858
  * "perf": {
9898
9859
  * "glicko": {
9899
- * "rating": 980,
9900
- * "deviation": 95.23
9860
+ * "rating": 1785.99,
9861
+ * "deviation": 53.67
9901
9862
  * },
9902
- * "nb": 158,
9903
- * "progress": 10
9863
+ * "nb": 11537,
9864
+ * "progress": 4
9904
9865
  * },
9905
9866
  * "rank": null,
9906
- * "percentile": 20.3,
9867
+ * "percentile": 75.1,
9907
9868
  * "stat": {
9908
- * "id": "jose/2",
9869
+ * "id": "thibault/2",
9909
9870
  * "userId": {
9910
- * "id": "jose",
9911
- * "name": "Jose",
9871
+ * "id": "thibault",
9872
+ * "name": "thibault",
9912
9873
  * "title": null
9913
9874
  * },
9914
9875
  * "perfType": {
9915
9876
  * "key": "blitz",
9916
9877
  * "name": "Blitz"
9917
9878
  * },
9879
+ * "highest": {
9880
+ * "int": 1970,
9881
+ * "at": "2022-02-23T13:44:54.633Z",
9882
+ * "gameId": "Blpjmhnf"
9883
+ * },
9884
+ * "lowest": {
9885
+ * "int": 1385,
9886
+ * "at": "2015-08-05T10:13:41.326Z",
9887
+ * "gameId": "tgbRykg2"
9888
+ * },
9918
9889
  * "bestWins": {
9919
- * "results": []
9890
+ * "results": [
9891
+ * {
9892
+ * "opRating": 2239,
9893
+ * "opId": {
9894
+ * "id": "aqua21",
9895
+ * "name": "aqua21",
9896
+ * "title": null
9897
+ * },
9898
+ * "at": "2020-02-15T19:13:05.329Z",
9899
+ * "gameId": "UxNJmMXz"
9900
+ * },
9901
+ * {
9902
+ * "opRating": 2163,
9903
+ * "opId": {
9904
+ * "id": "staffan67",
9905
+ * "name": "Staffan67",
9906
+ * "title": null
9907
+ * },
9908
+ * "at": "2022-12-28T10:54:21.597Z",
9909
+ * "gameId": "9IMlwEv1"
9910
+ * },
9911
+ * {
9912
+ * "opRating": 2120,
9913
+ * "opId": {
9914
+ * "id": "heissenberger",
9915
+ * "name": "Heissenberger",
9916
+ * "title": null
9917
+ * },
9918
+ * "at": "2021-10-25T08:26:27.155Z",
9919
+ * "gameId": "2buPRuV8"
9920
+ * },
9921
+ * {
9922
+ * "opRating": 2051,
9923
+ * "opId": {
9924
+ * "id": "stas235",
9925
+ * "name": "Stas235",
9926
+ * "title": null
9927
+ * },
9928
+ * "at": "2021-11-06T18:55:53.728Z",
9929
+ * "gameId": "VLxCVzDY"
9930
+ * },
9931
+ * {
9932
+ * "opRating": 2040,
9933
+ * "opId": {
9934
+ * "id": "harryz-77",
9935
+ * "name": "Harryz-77",
9936
+ * "title": null
9937
+ * },
9938
+ * "at": "2021-11-03T17:39:40.181Z",
9939
+ * "gameId": "eCgiYDS7"
9940
+ * }
9941
+ * ]
9920
9942
  * },
9921
9943
  * "worstLosses": {
9922
- * "results": []
9944
+ * "results": [
9945
+ * {
9946
+ * "opRating": 995,
9947
+ * "opId": {
9948
+ * "id": "dahupetitjoueur",
9949
+ * "name": "dahupetitjoueur",
9950
+ * "title": null
9951
+ * },
9952
+ * "at": "2017-04-12T14:31:58.002Z",
9953
+ * "gameId": "7zyddy2c"
9954
+ * },
9955
+ * {
9956
+ * "opRating": 1121,
9957
+ * "opId": {
9958
+ * "id": "tinkugupta1011",
9959
+ * "name": "Tinkugupta1011",
9960
+ * "title": null
9961
+ * },
9962
+ * "at": "2022-10-22T03:36:35.447Z",
9963
+ * "gameId": "CCyyGKmD"
9964
+ * },
9965
+ * {
9966
+ * "opRating": 1146,
9967
+ * "opId": {
9968
+ * "id": "chemkhihabib",
9969
+ * "name": "chemkhihabib",
9970
+ * "title": null
9971
+ * },
9972
+ * "at": "2016-06-01T09:31:09.694Z",
9973
+ * "gameId": "XatMm3RO"
9974
+ * },
9975
+ * {
9976
+ * "opRating": 1166,
9977
+ * "opId": {
9978
+ * "id": "bottios",
9979
+ * "name": "Bottios",
9980
+ * "title": "BOT"
9981
+ * },
9982
+ * "at": "2018-12-14T09:22:52.633Z",
9983
+ * "gameId": "3fke4MHX"
9984
+ * },
9985
+ * {
9986
+ * "opRating": 1182,
9987
+ * "opId": {
9988
+ * "id": "skanerterry",
9989
+ * "name": "skanerterry",
9990
+ * "title": null
9991
+ * },
9992
+ * "at": "2016-06-09T15:32:10.474Z",
9993
+ * "gameId": "n4ViqGlp"
9994
+ * }
9995
+ * ]
9923
9996
  * },
9924
9997
  * "count": {
9925
- * "all": 158,
9926
- * "rated": 120,
9927
- * "win": 69,
9928
- * "loss": 77,
9929
- * "draw": 12,
9930
- * "tour": 85,
9931
- * "berserk": 28,
9932
- * "opAvg": 0.52,
9933
- * "seconds": 47400,
9934
- * "disconnects": 8
9998
+ * "all": 12021,
9999
+ * "rated": 11415,
10000
+ * "win": 5689,
10001
+ * "loss": 5763,
10002
+ * "draw": 569,
10003
+ * "tour": 1587,
10004
+ * "berserk": 49,
10005
+ * "opAvg": 1706.12,
10006
+ * "seconds": 3733379,
10007
+ * "disconnects": 9
9935
10008
  * },
9936
10009
  * "resultStreak": {
9937
10010
  * "win": {
9938
10011
  * "cur": {
9939
- * "v": 0
10012
+ * "v": 2,
10013
+ * "from": {
10014
+ * "at": "2025-09-18T15:31:58.854Z",
10015
+ * "gameId": "gnjoI7dm"
10016
+ * },
10017
+ * "to": {
10018
+ * "at": "2025-10-13T16:31:59.436Z",
10019
+ * "gameId": "7WEM2Hc4"
10020
+ * }
9940
10021
  * },
9941
10022
  * "max": {
9942
- * "v": 4
10023
+ * "v": 11,
10024
+ * "from": {
10025
+ * "at": "2018-10-19T10:02:05.144Z",
10026
+ * "gameId": "ycmyqK6e"
10027
+ * },
10028
+ * "to": {
10029
+ * "at": "2018-10-19T12:25:31.868Z",
10030
+ * "gameId": "3PwQXIBN"
10031
+ * }
9943
10032
  * }
9944
10033
  * },
9945
10034
  * "loss": {
9946
10035
  * "cur": {
9947
- * "v": 1
10036
+ * "v": 0
9948
10037
  * },
9949
10038
  * "max": {
9950
- * "v": 3
10039
+ * "v": 19,
10040
+ * "from": {
10041
+ * "at": "2018-03-09T23:54:54.771Z",
10042
+ * "gameId": "iAJe1M8f"
10043
+ * },
10044
+ * "to": {
10045
+ * "at": "2018-03-16T20:52:03.611Z",
10046
+ * "gameId": "7CZ1SEF5"
10047
+ * }
9951
10048
  * }
9952
10049
  * }
9953
10050
  * },
@@ -9957,17 +10054,34 @@ export interface operations {
9957
10054
  * "v": 0
9958
10055
  * },
9959
10056
  * "max": {
9960
- * "v": 1
10057
+ * "v": 115,
10058
+ * "from": {
10059
+ * "at": "2024-10-18T11:32:12.142Z",
10060
+ * "gameId": "l819pRNp"
10061
+ * },
10062
+ * "to": {
10063
+ * "at": "2024-10-18T20:54:30.256Z",
10064
+ * "gameId": "1HeDeGbe"
10065
+ * }
9961
10066
  * }
9962
10067
  * },
9963
10068
  * "time": {
9964
10069
  * "cur": {
9965
- * "v": 3
10070
+ * "v": 0
9966
10071
  * },
9967
10072
  * "max": {
9968
- * "v": 5
10073
+ * "v": 23231,
10074
+ * "from": {
10075
+ * "at": "2024-10-18T11:32:12.142Z",
10076
+ * "gameId": "l819pRNp"
10077
+ * },
10078
+ * "to": {
10079
+ * "at": "2024-10-18T20:54:30.256Z",
10080
+ * "gameId": "1HeDeGbe"
10081
+ * }
9969
10082
  * }
9970
- * }
10083
+ * },
10084
+ * "lastDate": "2025-10-13T16:31:59.436Z"
9971
10085
  * }
9972
10086
  * }
9973
10087
  * } */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.91",
3
+ "version": "2.0.92",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",