@lichess-org/types 2.0.177 → 2.0.178
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 +52 -0
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -820,6 +820,27 @@ export interface paths {
|
|
|
820
820
|
patch?: never;
|
|
821
821
|
trace?: never;
|
|
822
822
|
};
|
|
823
|
+
"/api/version": {
|
|
824
|
+
parameters: {
|
|
825
|
+
query?: never;
|
|
826
|
+
header?: never;
|
|
827
|
+
path?: never;
|
|
828
|
+
cookie?: never;
|
|
829
|
+
};
|
|
830
|
+
/**
|
|
831
|
+
* Get server version
|
|
832
|
+
* @description Get the date and git commit of the server code currently deployed.
|
|
833
|
+
* Source code: [github.com/lichess-org/lila](https://github.com/lichess-org/lila).
|
|
834
|
+
*/
|
|
835
|
+
get: operations["apiVersion"];
|
|
836
|
+
put?: never;
|
|
837
|
+
post?: never;
|
|
838
|
+
delete?: never;
|
|
839
|
+
options?: never;
|
|
840
|
+
head?: never;
|
|
841
|
+
patch?: never;
|
|
842
|
+
trace?: never;
|
|
843
|
+
};
|
|
823
844
|
"/api/tv/channels": {
|
|
824
845
|
parameters: {
|
|
825
846
|
query?: never;
|
|
@@ -8286,6 +8307,37 @@ export interface operations {
|
|
|
8286
8307
|
};
|
|
8287
8308
|
};
|
|
8288
8309
|
};
|
|
8310
|
+
apiVersion: {
|
|
8311
|
+
parameters: {
|
|
8312
|
+
query?: never;
|
|
8313
|
+
header?: never;
|
|
8314
|
+
path?: never;
|
|
8315
|
+
cookie?: never;
|
|
8316
|
+
};
|
|
8317
|
+
requestBody?: never;
|
|
8318
|
+
responses: {
|
|
8319
|
+
/** @description The server version. */
|
|
8320
|
+
200: {
|
|
8321
|
+
headers: {
|
|
8322
|
+
"Access-Control-Allow-Origin"?: string;
|
|
8323
|
+
[name: string]: unknown;
|
|
8324
|
+
};
|
|
8325
|
+
content: {
|
|
8326
|
+
"application/json": {
|
|
8327
|
+
server: {
|
|
8328
|
+
/**
|
|
8329
|
+
* Format: date-time
|
|
8330
|
+
* @description When the deployed server was built
|
|
8331
|
+
*/
|
|
8332
|
+
date: string;
|
|
8333
|
+
/** @description Git commit hash of the deployed lila version */
|
|
8334
|
+
commit: string;
|
|
8335
|
+
};
|
|
8336
|
+
};
|
|
8337
|
+
};
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
8340
|
+
};
|
|
8289
8341
|
tvChannels: {
|
|
8290
8342
|
parameters: {
|
|
8291
8343
|
query?: never;
|