@lichess-org/types 2.0.134 → 2.0.136

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 +14 -0
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -6648,6 +6648,11 @@ export interface components {
6648
6648
  standard?: number;
6649
6649
  rapid?: number;
6650
6650
  blitz?: number;
6651
+ /**
6652
+ * @description FIDE uses mandatory binary gender.
6653
+ * @enum {string}
6654
+ */
6655
+ gender?: "M" | "F";
6651
6656
  photo?: components["schemas"]["FIDEPlayerPhoto"];
6652
6657
  };
6653
6658
  /**
@@ -11189,6 +11194,15 @@ export interface operations {
11189
11194
  */
11190
11195
  orientation?: "white" | "black";
11191
11196
  variant?: components["schemas"]["VariantKey"];
11197
+ /**
11198
+ * @description Analysis mode.
11199
+ * If not specified, Normal analysis.
11200
+ * * practice - Practise with Computer
11201
+ * * conceal - Hide next moves
11202
+ * * gamebook - Interactive lesson
11203
+ * @enum {string}
11204
+ */
11205
+ mode?: "practice" | "conceal" | "gamebook";
11192
11206
  };
11193
11207
  };
11194
11208
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.134",
3
+ "version": "2.0.136",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",