@lichess-org/types 2.0.93 → 2.0.94

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 +10 -10
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -1681,6 +1681,8 @@ export interface paths {
1681
1681
  * @description Get all incoming, ongoing, and finished official broadcasts.
1682
1682
  * The broadcasts are sorted by created date, most recent first.
1683
1683
  *
1684
+ * If you are authenticated as the user whose broadcasts you are requesting, you will also see your private and unlisted broadcasts.
1685
+ *
1684
1686
  */
1685
1687
  get: operations["broadcastsByUser"];
1686
1688
  put?: never;
@@ -30716,7 +30718,7 @@ export interface operations {
30716
30718
  /**
30717
30719
  * @description Clock initial time in seconds
30718
30720
  * @example 300
30719
- * @enum {number}
30721
+ * @enum {integer}
30720
30722
  */
30721
30723
  "clock.limit":
30722
30724
  | 0
@@ -30828,8 +30830,9 @@ export interface operations {
30828
30830
  * - 30 = All Lichess players
30829
30831
  *
30830
30832
  * @default 20
30833
+ * @enum {integer}
30831
30834
  */
30832
- chatFor?: number;
30835
+ chatFor?: 0 | 10 | 20 | 30;
30833
30836
  /**
30834
30837
  * @description Minimum rating to join. Leave empty to let everyone join the tournament.
30835
30838
  * @enum {integer}
@@ -30956,7 +30959,7 @@ export interface operations {
30956
30959
  /**
30957
30960
  * @description Clock initial time in seconds
30958
30961
  * @example 300
30959
- * @enum {number}
30962
+ * @enum {integer}
30960
30963
  */
30961
30964
  "clock.limit":
30962
30965
  | 0
@@ -31061,8 +31064,9 @@ export interface operations {
31061
31064
  * - 30 = All Lichess players
31062
31065
  *
31063
31066
  * @default 20
31067
+ * @enum {integer}
31064
31068
  */
31065
- chatFor?: number;
31069
+ chatFor?: 0 | 10 | 20 | 30;
31066
31070
  /**
31067
31071
  * @description Minimum rating to join. Leave empty to let everyone join the tournament.
31068
31072
  * @enum {integer}
@@ -35877,12 +35881,8 @@ export interface operations {
35877
35881
  * @example 15
35878
35882
  */
35879
35883
  increment: number;
35880
- /**
35881
- * @description The color to play. Better left empty to automatically get 50% white.
35882
- * @default random
35883
- * @enum {string}
35884
- */
35885
- color?: "random" | "white" | "black";
35884
+ /** @description The color to play. Better left empty to automatically get 50% white. */
35885
+ color?: components["schemas"]["ChallengeColor"];
35886
35886
  }
35887
35887
  | {
35888
35888
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.93",
3
+ "version": "2.0.94",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",