@lichess-org/types 2.0.153 → 2.0.154
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.
- package/lichess-api.d.ts +4 -1
- 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 `
|
|
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.
|