@lichess-org/types 2.0.153 → 2.0.155

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 +12 -4
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -3642,6 +3642,7 @@ export interface paths {
3642
3642
  /**
3643
3643
  * Analyse with external engine
3644
3644
  * @description **Endpoint: `https://engine.lichess.ovh/api/external-engine/{id}/analyse`**
3645
+ *
3645
3646
  * Request analysis from an external engine.
3646
3647
  * Response content is streamed as [newline delimited JSON](#description/streaming-with-nd-json).
3647
3648
  * The properties are based on the [UCI specification](https://backscattering.de/chess/uci/#engine).
@@ -3667,8 +3668,9 @@ export interface paths {
3667
3668
  /**
3668
3669
  * Acquire analysis request
3669
3670
  * @description **Endpoint: `https://engine.lichess.ovh/api/external-engine/work`**
3671
+ *
3670
3672
  * Wait for an analysis requests to any of the external engines that
3671
- * have been registered with the given `secret`.
3673
+ * have been registered with the given `providerSecret`.
3672
3674
  * Uses long polling.
3673
3675
  * After acquiring a request, the provider should immediately
3674
3676
  * [start streaming the results](#tag/external-engine/POST/api/external-engine/work/{id}).
@@ -3694,6 +3696,7 @@ export interface paths {
3694
3696
  /**
3695
3697
  * Answer analysis request
3696
3698
  * @description **Endpoint: `https://engine.lichess.ovh/api/external-engine/work/{id}`**
3699
+ *
3697
3700
  * Submit a stream of analysis as [UCI output](https://backscattering.de/chess/uci/#engine-info).
3698
3701
  * * The engine should always be in `UCI_Chess960` mode.
3699
3702
  * * `UCI_AnalyseMode` enabled if available.
@@ -11225,17 +11228,22 @@ export interface operations {
11225
11228
  * @enum {string}
11226
11229
  */
11227
11230
  visibility: "public" | "unlisted" | "private";
11231
+ flair?: components["schemas"]["Flair"];
11228
11232
  computer: components["schemas"]["StudyUserSelection"];
11229
11233
  explorer: components["schemas"]["StudyUserSelection"];
11230
11234
  cloneable: components["schemas"]["StudyUserSelection"];
11231
11235
  shareable: components["schemas"]["StudyUserSelection"];
11232
11236
  chat: components["schemas"]["StudyUserSelection"];
11233
11237
  /**
11234
- * @description Keep everyone on the same chapter and position
11238
+ * @description Keep everyone on the same chapter and position.
11235
11239
  * @default true
11236
- * @enum {string}
11237
11240
  */
11238
- sticky?: "true" | "false";
11241
+ sticky?: boolean;
11242
+ /**
11243
+ * @description Add pinned study comment right under the board.
11244
+ * @default false
11245
+ */
11246
+ description?: boolean;
11239
11247
  };
11240
11248
  };
11241
11249
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.153",
3
+ "version": "2.0.155",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",