@lichess-org/types 2.0.169 → 2.0.171

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 +7 -3
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -3749,14 +3749,18 @@ export interface paths {
3749
3749
  * Submit a stream of analysis as [UCI output](https://backscattering.de/chess/uci/#engine-info).
3750
3750
  * * The engine should always be in `UCI_Chess960` mode.
3751
3751
  * * `UCI_AnalyseMode` enabled if available.
3752
- * * It produces `info` with at least:
3752
+ * * Engine produces `info` with at least:
3753
3753
  * - `depth`
3754
3754
  * - `multipv` (between 1 and 5)
3755
3755
  * - `score`
3756
3756
  * - `nodes`
3757
3757
  * - `time`
3758
3758
  * - `pv`
3759
- * The server may close the connection at any time, indicating that
3759
+ * * Engine finally sends `bestmove`:
3760
+ * - with a move or `(none)`
3761
+ * - optionally, with `ponder` move
3762
+ *
3763
+ * The endpoint may close the connection at any time, indicating that
3760
3764
  * the requester has gone away and analysis should be stopped.
3761
3765
  */
3762
3766
  post: operations["apiExternalEngineSubmit"];
@@ -13748,7 +13752,7 @@ export interface operations {
13748
13752
  content: {
13749
13753
  "application/x-www-form-urlencoded": {
13750
13754
  /**
13751
- * @description Reason challenge was declined. It will be translated to the player's language. See [the full list in the translation file](https://github.com/ornicar/lila/blob/master/translation/source/challenge.xml#L14).
13755
+ * @description Reason the challenge was declined. Only the values listed below are accepted; any other value falls back to `generic`. The reason will be translated to the player's language.
13752
13756
  * @enum {string}
13753
13757
  */
13754
13758
  reason?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.169",
3
+ "version": "2.0.171",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",