@lichess-org/types 2.0.135 → 2.0.137

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 +9 -1
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -164,7 +164,6 @@ export interface paths {
164
164
  /**
165
165
  * Get the daily puzzle
166
166
  * @description Get the daily Lichess puzzle in JSON format.
167
- * Alternatively, you can [post it in your slack workspace](https://lichess.org/daily-puzzle-slack).
168
167
  */
169
168
  get: operations["apiPuzzleDaily"];
170
169
  put?: never;
@@ -11194,6 +11193,15 @@ export interface operations {
11194
11193
  */
11195
11194
  orientation?: "white" | "black";
11196
11195
  variant?: components["schemas"]["VariantKey"];
11196
+ /**
11197
+ * @description Analysis mode.
11198
+ * If not specified, Normal analysis.
11199
+ * * practice - Practise with Computer
11200
+ * * conceal - Hide next moves
11201
+ * * gamebook - Interactive lesson
11202
+ * @enum {string}
11203
+ */
11204
+ mode?: "practice" | "conceal" | "gamebook";
11197
11205
  };
11198
11206
  };
11199
11207
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.135",
3
+ "version": "2.0.137",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",