@lichess-org/types 2.0.66 → 2.0.67

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 +11 -2
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -5968,6 +5968,16 @@ export interface components {
5968
5968
  * @default false
5969
5969
  */
5970
5970
  teamTable?: boolean;
5971
+ /**
5972
+ * @description Who can view the broadcast.
5973
+ * * `public`: Default. Anyone can view the broadcast
5974
+ * * `unlisted`: Only people with the link can view the broadcast
5975
+ * * `private`: Only the broadcast owner(s) can view the broadcast
5976
+ *
5977
+ * @default public
5978
+ * @enum {string}
5979
+ */
5980
+ visibility?: "public" | "unlisted" | "private";
5971
5981
  /** @description Optional replace player names, ratings and titles.
5972
5982
  *
5973
5983
  * One line per player, formatted as such:
@@ -6025,11 +6035,10 @@ export interface components {
6025
6035
  * * `3` for Official: normal tier
6026
6036
  * * `4` for Official: high tier
6027
6037
  * * `5` for Official: best tier
6028
- * * `-1` for Private
6029
6038
  *
6030
6039
  * @enum {integer}
6031
6040
  */
6032
- tier?: 3 | 4 | 5 | -1;
6041
+ tier?: 3 | 4 | 5;
6033
6042
  "tiebreaks[]"?: components["schemas"]["BroadcastTiebreakExtendedCode"][];
6034
6043
  };
6035
6044
  BroadcastPlayerTiebreak: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.66",
3
+ "version": "2.0.67",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",