@lichess-org/types 2.0.115 → 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.
- package/lichess-api.d.ts +23 -17
- 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?: {
|
|
@@ -7500,7 +7502,7 @@ export interface components {
|
|
|
7500
7502
|
/** @description DTZ50'' in plies, only if guaranteed to not be rounded, or absent if unknown */
|
|
7501
7503
|
precise_dtz?: null | number;
|
|
7502
7504
|
/**
|
|
7503
|
-
* @description
|
|
7505
|
+
* @description Depth to Conversion: Moves to next capture, promotion,
|
|
7504
7506
|
* or checkmate. Available for:
|
|
7505
7507
|
* * Standard chess positions with 8 pieces, more than one pawn of material
|
|
7506
7508
|
* value for each side, and at least one pair of opposing pawns,
|
|
@@ -8343,8 +8345,9 @@ export interface operations {
|
|
|
8343
8345
|
[name: string]: unknown;
|
|
8344
8346
|
};
|
|
8345
8347
|
content: {
|
|
8346
|
-
"application/
|
|
8347
|
-
|
|
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/
|
|
8522
|
-
|
|
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/
|
|
8593
|
-
|
|
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/
|
|
8912
|
-
|
|
8916
|
+
"application/json":
|
|
8917
|
+
| components["schemas"]["GamePgn"]
|
|
8918
|
+
| components["schemas"]["GameJson"];
|
|
8913
8919
|
};
|
|
8914
8920
|
};
|
|
8915
8921
|
};
|
|
@@ -14653,9 +14659,9 @@ export interface operations {
|
|
|
14653
14659
|
/** @description X-FEN of the position. Underscores allowed. */
|
|
14654
14660
|
fen: string;
|
|
14655
14661
|
/**
|
|
14656
|
-
* @description When to query the tablebase for `dtc` values. The
|
|
14657
|
-
*
|
|
14658
|
-
*
|
|
14662
|
+
* @description When to query the tablebase for `dtc` values. The default is
|
|
14663
|
+
* `auxiliary`, i.e., only when the position is not covered by one of the
|
|
14664
|
+
* other tablebases.
|
|
14659
14665
|
*/
|
|
14660
14666
|
dtc?: "never" | "auxiliary" | "always";
|
|
14661
14667
|
};
|