@lichess-org/types 2.0.36 → 2.0.37

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 +2 -57
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -5303,47 +5303,6 @@ export interface components {
5303
5303
  comment?: string;
5304
5304
  };
5305
5305
  };
5306
- /** @example {
5307
- * "id": "q7ZvsdUF",
5308
- * "rated": true,
5309
- * "variant": "standard",
5310
- * "speed": "blitz",
5311
- * "perf": "blitz",
5312
- * "createdAt": 1514505150384,
5313
- * "lastMoveAt": 1514505592843,
5314
- * "status": "draw",
5315
- * "players": {
5316
- * "white": {
5317
- * "user": {
5318
- * "name": "Lance5500",
5319
- * "title": "LM",
5320
- * "patron": true,
5321
- * "id": "lance5500"
5322
- * },
5323
- * "rating": 2389,
5324
- * "ratingDiff": 4
5325
- * },
5326
- * "black": {
5327
- * "user": {
5328
- * "name": "TryingHard87",
5329
- * "id": "tryinghard87"
5330
- * },
5331
- * "rating": 2498,
5332
- * "ratingDiff": -4
5333
- * }
5334
- * },
5335
- * "opening": {
5336
- * "eco": "D31",
5337
- * "name": "Semi-Slav Defense: Marshall Gambit",
5338
- * "ply": 7
5339
- * },
5340
- * "moves": "d4 d5 c4 c6 Nc3 e6 e4 Nd7 exd5 cxd5 cxd5 exd5 Nxd5 Nb6 Bb5+ Bd7 Qe2+ Ne7 Nxb6 Qxb6 Bxd7+ Kxd7 Nf3 Qa6 Ne5+ Ke8 Qf3 f6 Nd3 Qc6 Qe2 Kf7 O-O Kg8 Bd2 Re8 Rac1 Nf5 Be3 Qe6 Rfe1 g6 b3 Bd6 Qd2 Kf7 Bf4 Qd7 Bxd6 Nxd6 Nc5 Rxe1+ Rxe1 Qc6 f3 Re8 Rxe8 Nxe8 Kf2 Nc7 Qb4 b6 Qc4+ Nd5 Nd3 Qe6 Nb4 Ne7 Qxe6+ Kxe6 Ke3 Kd6 g3 h6 Kd3 h5 Nc2 Kd5 a3 Nc6 Ne3+ Kd6 h4 Nd8 g4 Ne6 Ke4 Ng7 Nc4+ Ke6 d5+ Kd7 a4 g5 gxh5 Nxh5 hxg5 fxg5 Kf5 Nf4 Ne3 Nh3 Kg4 Ng1 Nc4 Kc7 Nd2 Kd6 Kxg5 Kxd5 f4 Nh3+ Kg4 Nf2+ Kf3 Nd3 Ke3 Nc5 Kf3 Ke6 Ke3 Kf5 Kd4 Ne6+ Kc4",
5341
- * "clock": {
5342
- * "initial": 300,
5343
- * "increment": 3,
5344
- * "totalTime": 420
5345
- * }
5346
- * } */
5347
5306
  GameJson: {
5348
5307
  id: string;
5349
5308
  rated: boolean;
@@ -5533,9 +5492,7 @@ export interface components {
5533
5492
  * ] */
5534
5493
  MoveStream: unknown;
5535
5494
  TvGame: {
5536
- user: components["schemas"]["LightUser"] & {
5537
- flair?: components["schemas"]["Flair"];
5538
- };
5495
+ user: components["schemas"]["LightUser"];
5539
5496
  rating: number;
5540
5497
  gameId: string;
5541
5498
  /** @enum {string} */
@@ -5560,11 +5517,7 @@ export interface components {
5560
5517
  players: {
5561
5518
  /** @enum {string} */
5562
5519
  color: "white" | "black";
5563
- user: {
5564
- name: string;
5565
- id: string;
5566
- title?: string;
5567
- };
5520
+ user: components["schemas"]["LightUser"];
5568
5521
  rating: number;
5569
5522
  /** @description The player's remaining time in seconds */
5570
5523
  seconds: number;
@@ -6433,22 +6386,14 @@ export interface components {
6433
6386
  study: components["schemas"]["BroadcastRoundStudyInfo"];
6434
6387
  };
6435
6388
  FIDEPlayer: {
6436
- /** @example 35009192 */
6437
6389
  id: number;
6438
- /** @example Erigaisi Arjun */
6439
6390
  name: string;
6440
6391
  title?: components["schemas"]["Title"];
6441
- /** @example IND */
6442
6392
  federation: string;
6443
- /** @example 2003 */
6444
6393
  year?: number;
6445
- /** @example true */
6446
6394
  inactive?: boolean;
6447
- /** @example 2797 */
6448
6395
  standard?: number;
6449
- /** @example 2698 */
6450
6396
  rapid?: number;
6451
- /** @example 2738 */
6452
6397
  blitz?: number;
6453
6398
  };
6454
6399
  Simul: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.36",
3
+ "version": "2.0.37",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",