@lichess-org/types 2.0.11 → 2.0.12
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 +9 -7
- package/package.json +3 -3
package/lichess-api.d.ts
CHANGED
|
@@ -4787,7 +4787,6 @@ export interface components {
|
|
|
4787
4787
|
* [ECO "C62"]
|
|
4788
4788
|
* [Opening "Ruy Lopez: Steinitz Defense"]
|
|
4789
4789
|
* [Termination "Normal"]
|
|
4790
|
-
* [Event "U1700 SuperBlitz Arena"]
|
|
4791
4790
|
*
|
|
4792
4791
|
* 1. e4 { [%clk 0:03:00] } e5 { [%clk 0:03:00] } 2. Nf3 { [%clk 0:02:59] } Nc6 { [%clk 0:02:58] } 3. Bb5 { [%clk 0:02:57] } d6 { [%clk 0:02:55] } 4. h3 { [%clk 0:02:54] } Nf6 { [%clk 0:02:52] } 5. Bxc6+ { [%clk 0:02:52] } bxc6 { [%clk 0:02:49] } 6. d3 { [%clk 0:02:51] } Be7 { [%clk 0:02:46] } 7. O-O { [%clk 0:02:47] } O-O { [%clk 0:02:45] } 8. b3 { [%clk 0:02:45] } d5 { [%clk 0:02:45] } 9. exd5 { [%clk 0:02:33] } cxd5 { [%clk 0:02:40] } 10. Nxe5 { [%clk 0:02:31] } Qd6 { [%clk 0:02:38] } 1-0
|
|
4793
4792
|
* */
|
|
@@ -5770,6 +5769,9 @@ export interface components {
|
|
|
5770
5769
|
* Example: `"8-player round-robin" or "5-round Swiss"`
|
|
5771
5770
|
* */
|
|
5772
5771
|
"info.format"?: string;
|
|
5772
|
+
/** @description Tournament Location
|
|
5773
|
+
* */
|
|
5774
|
+
"info.location"?: string;
|
|
5773
5775
|
/** @description Time control.
|
|
5774
5776
|
* Example: `"Classical" or "Rapid" or "Rapid & Blitz"`
|
|
5775
5777
|
* */
|
|
@@ -5783,6 +5785,12 @@ export interface components {
|
|
|
5783
5785
|
/** @description Mention up to 4 of the best players participating.
|
|
5784
5786
|
* */
|
|
5785
5787
|
"info.players"?: string;
|
|
5788
|
+
/** @description Official Website. External website URL
|
|
5789
|
+
* */
|
|
5790
|
+
"info.website"?: string;
|
|
5791
|
+
/** @description Official Standings. External website URL, e.g. chess-results.com, info64.org
|
|
5792
|
+
* */
|
|
5793
|
+
"info.standings"?: string;
|
|
5786
5794
|
/** @description Optional long description of the broadcast. Markdown is supported.
|
|
5787
5795
|
* */
|
|
5788
5796
|
markdown?: string;
|
|
@@ -11426,12 +11434,6 @@ export interface operations {
|
|
|
11426
11434
|
*/
|
|
11427
11435
|
days?: 1 | 2 | 3 | 5 | 7 | 10 | 14;
|
|
11428
11436
|
variant?: components["schemas"]["VariantKey"];
|
|
11429
|
-
/**
|
|
11430
|
-
* @description The color to play. Better left empty to automatically get 50% white.
|
|
11431
|
-
* @default random
|
|
11432
|
-
* @enum {string}
|
|
11433
|
-
*/
|
|
11434
|
-
color?: "random" | "white" | "black";
|
|
11435
11437
|
/** @description The rating range of potential opponents. Better left empty.
|
|
11436
11438
|
* Example: 1500-1800
|
|
11437
11439
|
* */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lichess-org/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"description": "Lichess.org API types",
|
|
5
5
|
"homepage": "https://github.com/lichess-org/api",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"gen": "openapi-typescript ../doc/specs/lichess-api.yaml -o lichess-api.d.ts --default-non-nullable=false"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"openapi-typescript": "^7.4.
|
|
14
|
+
"openapi-typescript": "^7.4.1",
|
|
15
15
|
"prettier": "^3.3.3",
|
|
16
16
|
"typescript": "^5.6.2"
|
|
17
17
|
},
|
|
18
|
-
"packageManager": "pnpm@9.
|
|
18
|
+
"packageManager": "pnpm@9.12.0+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca"
|
|
19
19
|
}
|