@lichess-org/types 2.0.86 → 2.0.87

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 -6
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -7510,8 +7510,8 @@ export interface components {
7510
7510
  * last pawn move or capture.
7511
7511
  *
7512
7512
  * `maybe-win` and `maybe-loss` means the result with regard to the
7513
- * 50-move rule is unknown because the DTC tablebase does not
7514
- * guarantee to reach a zeroing move as soon as possible.
7513
+ * 50-move rule is unknown, because DTZ is unknown and the DTC tablebase
7514
+ * does not guarantee to reach a zeroing move as soon as possible.
7515
7515
  *
7516
7516
  * @enum {string}
7517
7517
  */
@@ -7526,17 +7526,25 @@ export interface components {
7526
7526
  | "maybe-loss"
7527
7527
  | "syzygy-loss"
7528
7528
  | "loss";
7529
- /** @description [DTZ50'' with rounding](https://syzygy-tables.info/metrics#dtz) or null if unknown
7529
+ /** @description [DTZ50'' with rounding](https://syzygy-tables.info/metrics#dtz) or null
7530
+ * if unknown
7530
7531
  * */
7531
7532
  dtz?: null | number;
7532
7533
  /** @description DTZ50'' (only if guaranteed to be not rounded) or null if unknown
7533
7534
  * */
7534
7535
  precise_dtz?: null | number;
7535
- /** @description Depth to Conversion (experimental) */
7536
+ /** @description Depth to Conversion: Moves to next capture or promotion (available
7537
+ * only for Standard *op1* positions with 8 pieces, i.e., positions where
7538
+ * there is at least one pair of opposing pawns)
7539
+ * */
7536
7540
  dtc?: null | number;
7537
- /** @description Depth To Mate (only for Standard positions with not more than 5 pieces) */
7541
+ /** @description Depth To Mate: Plies to mate (available only for Standard positions
7542
+ * with not more than 5 pieces)
7543
+ * */
7538
7544
  dtm?: null | number;
7539
- /** @description Depth To Win (only for Antichess positions with not more than 4 pieces) */
7545
+ /** @description Depth To Win: Plies to win (available only for Antichess positions
7546
+ * with not more than 4 pieces)
7547
+ * */
7540
7548
  dtw?: null | number;
7541
7549
  checkmate?: boolean;
7542
7550
  stalemate?: boolean;
@@ -38970,6 +38978,11 @@ export interface operations {
38970
38978
  query: {
38971
38979
  /** @description FEN of the position. Underscores allowed. */
38972
38980
  fen: string;
38981
+ /** @description When to query the op1 tablebase. The current default is *never*.
38982
+ * It is eventually going to be *auxiliary*, i.e., only when the position
38983
+ * is not covered by one of the other tablebases.
38984
+ * */
38985
+ op1?: "never" | "auxiliary" | "always";
38973
38986
  };
38974
38987
  header?: never;
38975
38988
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.86",
3
+ "version": "2.0.87",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",