@lichess-org/types 2.0.11 → 2.0.13

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 +42 -9
  2. 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
  * */
@@ -5691,12 +5690,33 @@ export interface components {
5691
5690
  dates?: number[];
5692
5691
  /** @description Additional display information about the tournament */
5693
5692
  info?: {
5694
- /** @description Tournament format */
5695
- format?: string;
5693
+ /**
5694
+ * Format: uri
5695
+ * @description Official website. External website URL
5696
+ */
5697
+ website?: string;
5696
5698
  /** @description Featured players */
5697
5699
  players?: string;
5700
+ /** @description Tournament location */
5701
+ location?: string;
5698
5702
  /** @description Time control */
5699
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;
5700
5720
  };
5701
5721
  /** @description Used to designate featured tournaments on Lichess */
5702
5722
  tier?: number;
@@ -5770,6 +5790,9 @@ export interface components {
5770
5790
  * Example: `"8-player round-robin" or "5-round Swiss"`
5771
5791
  * */
5772
5792
  "info.format"?: string;
5793
+ /** @description Tournament Location
5794
+ * */
5795
+ "info.location"?: string;
5773
5796
  /** @description Time control.
5774
5797
  * Example: `"Classical" or "Rapid" or "Rapid & Blitz"`
5775
5798
  * */
@@ -5780,9 +5803,25 @@ export interface components {
5780
5803
  * @enum {string}
5781
5804
  */
5782
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;
5783
5810
  /** @description Mention up to 4 of the best players participating.
5784
5811
  * */
5785
5812
  "info.players"?: string;
5813
+ /**
5814
+ * Format: uri
5815
+ * @description Official website. External website URL
5816
+ *
5817
+ */
5818
+ "info.website"?: string;
5819
+ /**
5820
+ * Format: uri
5821
+ * @description Official Standings. External website URL, e.g. chess-results.com, info64.org
5822
+ *
5823
+ */
5824
+ "info.standings"?: string;
5786
5825
  /** @description Optional long description of the broadcast. Markdown is supported.
5787
5826
  * */
5788
5827
  markdown?: string;
@@ -11426,12 +11465,6 @@ export interface operations {
11426
11465
  */
11427
11466
  days?: 1 | 2 | 3 | 5 | 7 | 10 | 14;
11428
11467
  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
11468
  /** @description The rating range of potential opponents. Better left empty.
11436
11469
  * Example: 1500-1800
11437
11470
  * */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.11",
3
+ "version": "2.0.13",
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.0",
14
+ "openapi-typescript": "^7.4.1",
15
15
  "prettier": "^3.3.3",
16
16
  "typescript": "^5.6.2"
17
17
  },
18
- "packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247"
18
+ "packageManager": "pnpm@9.12.0+sha512.4abf725084d7bcbafbd728bfc7bee61f2f791f977fd87542b3579dcb23504d170d46337945e4c66485cd12d588a0c0e570ed9c477e7ccdd8507cf05f3f92eaca"
19
19
  }