@lichess-org/types 2.0.12 → 2.0.14
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 +49 -6
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -5690,12 +5690,33 @@ export interface components {
|
|
|
5690
5690
|
dates?: number[];
|
|
5691
5691
|
/** @description Additional display information about the tournament */
|
|
5692
5692
|
info?: {
|
|
5693
|
-
/**
|
|
5694
|
-
|
|
5693
|
+
/**
|
|
5694
|
+
* Format: uri
|
|
5695
|
+
* @description Official website. External website URL
|
|
5696
|
+
*/
|
|
5697
|
+
website?: string;
|
|
5695
5698
|
/** @description Featured players */
|
|
5696
5699
|
players?: string;
|
|
5700
|
+
/** @description Tournament location */
|
|
5701
|
+
location?: string;
|
|
5697
5702
|
/** @description Time control */
|
|
5698
5703
|
tc?: string;
|
|
5704
|
+
/**
|
|
5705
|
+
* @description FIDE rating category
|
|
5706
|
+
* @enum {string}
|
|
5707
|
+
*/
|
|
5708
|
+
fideTc?: "standard" | "rapid" | "blitz";
|
|
5709
|
+
/** @description Timezone of the tournament. Example: `America/New_York`.
|
|
5710
|
+
* See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
|
|
5711
|
+
* */
|
|
5712
|
+
timeZone?: string;
|
|
5713
|
+
/**
|
|
5714
|
+
* Format: uri
|
|
5715
|
+
* @description Official standings website. External website URL
|
|
5716
|
+
*/
|
|
5717
|
+
standings?: string;
|
|
5718
|
+
/** @description Tournament format */
|
|
5719
|
+
format?: string;
|
|
5699
5720
|
};
|
|
5700
5721
|
/** @description Used to designate featured tournaments on Lichess */
|
|
5701
5722
|
tier?: number;
|
|
@@ -5782,14 +5803,24 @@ export interface components {
|
|
|
5782
5803
|
* @enum {string}
|
|
5783
5804
|
*/
|
|
5784
5805
|
"info.fideTc"?: "standard" | "rapid" | "blitz";
|
|
5806
|
+
/** @description Timezone of the tournament. Example: `America/New_York`.
|
|
5807
|
+
* See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
|
|
5808
|
+
* */
|
|
5809
|
+
"info.timeZone"?: string;
|
|
5785
5810
|
/** @description Mention up to 4 of the best players participating.
|
|
5786
5811
|
* */
|
|
5787
5812
|
"info.players"?: string;
|
|
5788
|
-
/**
|
|
5789
|
-
*
|
|
5813
|
+
/**
|
|
5814
|
+
* Format: uri
|
|
5815
|
+
* @description Official website. External website URL
|
|
5816
|
+
*
|
|
5817
|
+
*/
|
|
5790
5818
|
"info.website"?: string;
|
|
5791
|
-
/**
|
|
5792
|
-
*
|
|
5819
|
+
/**
|
|
5820
|
+
* Format: uri
|
|
5821
|
+
* @description Official Standings. External website URL, e.g. chess-results.com, info64.org
|
|
5822
|
+
*
|
|
5823
|
+
*/
|
|
5793
5824
|
"info.standings"?: string;
|
|
5794
5825
|
/** @description Optional long description of the broadcast. Markdown is supported.
|
|
5795
5826
|
* */
|
|
@@ -12946,6 +12977,18 @@ export interface operations {
|
|
|
12946
12977
|
"application/json": unknown;
|
|
12947
12978
|
};
|
|
12948
12979
|
};
|
|
12980
|
+
/** @description The position was not found in the cloud evaluation database. */
|
|
12981
|
+
404: {
|
|
12982
|
+
headers: {
|
|
12983
|
+
[name: string]: unknown;
|
|
12984
|
+
};
|
|
12985
|
+
content: {
|
|
12986
|
+
"application/json": {
|
|
12987
|
+
/** @example No cloud evaluation available for that position */
|
|
12988
|
+
error?: string;
|
|
12989
|
+
};
|
|
12990
|
+
};
|
|
12991
|
+
};
|
|
12949
12992
|
};
|
|
12950
12993
|
};
|
|
12951
12994
|
apiExternalEngineList: {
|