@lichess-org/types 2.0.116 → 2.0.117

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 +19 -13
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -6002,6 +6002,11 @@ export interface components {
6002
6002
  BroadcastByUser: {
6003
6003
  tour: components["schemas"]["BroadcastTour"];
6004
6004
  };
6005
+ /**
6006
+ * @description FIDE rating category
6007
+ * @enum {string}
6008
+ */
6009
+ FideTimeControl: "standard" | "rapid" | "blitz";
6005
6010
  /**
6006
6011
  * @description Extended tiebreak code
6007
6012
  * @enum {string}
@@ -6061,11 +6066,7 @@ export interface components {
6061
6066
  * Example: `"Classical" or "Rapid" or "Rapid & Blitz"`
6062
6067
  */
6063
6068
  "info.tc"?: string;
6064
- /**
6065
- * @description FIDE rating category. Which FIDE ratings to use
6066
- * @enum {string}
6067
- */
6068
- "info.fideTc"?: "standard" | "rapid" | "blitz";
6069
+ "info.fideTc"?: components["schemas"]["FideTimeControl"];
6069
6070
  /**
6070
6071
  * @description Timezone of the tournament. Example: `America/New_York`.
6071
6072
  * See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
@@ -6217,6 +6218,7 @@ export interface components {
6217
6218
  customPoints?: components["schemas"]["BroadcastCustomPoints"];
6218
6219
  /** @description The change in rating for the player as a result of this game */
6219
6220
  ratingDiff?: number;
6221
+ fideTC?: components["schemas"]["FideTimeControl"];
6220
6222
  };
6221
6223
  BroadcastPlayerEntryWithFideAndGames: components["schemas"]["BroadcastPlayerEntry"] & {
6222
6224
  fide?: {
@@ -8343,8 +8345,9 @@ export interface operations {
8343
8345
  [name: string]: unknown;
8344
8346
  };
8345
8347
  content: {
8346
- "application/x-chess-pgn": components["schemas"]["GamePgn"];
8347
- "application/json": components["schemas"]["GameJson"];
8348
+ "application/json":
8349
+ | components["schemas"]["GamePgn"]
8350
+ | components["schemas"]["GameJson"];
8348
8351
  };
8349
8352
  };
8350
8353
  };
@@ -8518,8 +8521,9 @@ export interface operations {
8518
8521
  [name: string]: unknown;
8519
8522
  };
8520
8523
  content: {
8521
- "application/x-chess-pgn": components["schemas"]["GamePgn"];
8522
- "application/x-ndjson": components["schemas"]["GameJson"];
8524
+ "application/json":
8525
+ | components["schemas"]["GamePgn"]
8526
+ | components["schemas"]["GameJson"];
8523
8527
  };
8524
8528
  };
8525
8529
  };
@@ -8589,8 +8593,9 @@ export interface operations {
8589
8593
  [name: string]: unknown;
8590
8594
  };
8591
8595
  content: {
8592
- "application/x-chess-pgn": components["schemas"]["GamePgn"];
8593
- "application/x-ndjson": components["schemas"]["GameJson"];
8596
+ "application/json":
8597
+ | components["schemas"]["GamePgn"]
8598
+ | components["schemas"]["GameJson"];
8594
8599
  };
8595
8600
  };
8596
8601
  };
@@ -8908,8 +8913,9 @@ export interface operations {
8908
8913
  [name: string]: unknown;
8909
8914
  };
8910
8915
  content: {
8911
- "application/x-chess-pgn": components["schemas"]["GamePgn"];
8912
- "application/x-ndjson": components["schemas"]["GameJson"];
8916
+ "application/json":
8917
+ | components["schemas"]["GamePgn"]
8918
+ | components["schemas"]["GameJson"];
8913
8919
  };
8914
8920
  };
8915
8921
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.116",
3
+ "version": "2.0.117",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",