@lichess-org/types 2.0.121 → 2.0.122

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 +39 -3
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -11670,7 +11670,19 @@ export interface operations {
11670
11670
  };
11671
11671
  broadcastStreamRoundPgn: {
11672
11672
  parameters: {
11673
- query?: never;
11673
+ query?: {
11674
+ /**
11675
+ * @description Include clock comments in the PGN moves, when available.
11676
+ * Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
11677
+ */
11678
+ clocks?: boolean;
11679
+ /**
11680
+ * @description Include analysis comments in the PGN moves, when available.
11681
+ * Example: `12. Bxf6 { [%eval 0.23] }`
11682
+ * @default true
11683
+ */
11684
+ comments?: string;
11685
+ };
11674
11686
  header?: never;
11675
11687
  path: {
11676
11688
  /** @description The broadcast round ID */
@@ -11694,7 +11706,19 @@ export interface operations {
11694
11706
  };
11695
11707
  broadcastRoundPgn: {
11696
11708
  parameters: {
11697
- query?: never;
11709
+ query?: {
11710
+ /**
11711
+ * @description Include clock comments in the PGN moves, when available.
11712
+ * Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
11713
+ */
11714
+ clocks?: boolean;
11715
+ /**
11716
+ * @description Include analysis comments in the PGN moves, when available.
11717
+ * Example: `12. Bxf6 { [%eval 0.23] }`
11718
+ * @default true
11719
+ */
11720
+ comments?: string;
11721
+ };
11698
11722
  header?: never;
11699
11723
  path: {
11700
11724
  /** @description The round ID */
@@ -11718,7 +11742,19 @@ export interface operations {
11718
11742
  };
11719
11743
  broadcastAllRoundsPgn: {
11720
11744
  parameters: {
11721
- query?: never;
11745
+ query?: {
11746
+ /**
11747
+ * @description Include clock comments in the PGN moves, when available.
11748
+ * Example: `2. exd5 { [%clk 1:01:27] } e5 { [%clk 1:01:28] }`
11749
+ */
11750
+ clocks?: boolean;
11751
+ /**
11752
+ * @description Include analysis comments in the PGN moves, when available.
11753
+ * Example: `12. Bxf6 { [%eval 0.23] }`
11754
+ * @default true
11755
+ */
11756
+ comments?: string;
11757
+ };
11722
11758
  header?: never;
11723
11759
  path: {
11724
11760
  /** @description The broadcast tournament ID */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.121",
3
+ "version": "2.0.122",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",