@lichess-org/types 2.0.66 → 2.0.68

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 +13 -2
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -5088,6 +5088,7 @@ export interface components {
5088
5088
  | "cheat"
5089
5089
  | "noStart"
5090
5090
  | "unknownFinish"
5091
+ | "insufficientMaterialClaim"
5091
5092
  | "variantEnd";
5092
5093
  LightUser: {
5093
5094
  id: string;
@@ -5968,6 +5969,16 @@ export interface components {
5968
5969
  * @default false
5969
5970
  */
5970
5971
  teamTable?: boolean;
5972
+ /**
5973
+ * @description Who can view the broadcast.
5974
+ * * `public`: Default. Anyone can view the broadcast
5975
+ * * `unlisted`: Only people with the link can view the broadcast
5976
+ * * `private`: Only the broadcast owner(s) can view the broadcast
5977
+ *
5978
+ * @default public
5979
+ * @enum {string}
5980
+ */
5981
+ visibility?: "public" | "unlisted" | "private";
5971
5982
  /** @description Optional replace player names, ratings and titles.
5972
5983
  *
5973
5984
  * One line per player, formatted as such:
@@ -6025,11 +6036,10 @@ export interface components {
6025
6036
  * * `3` for Official: normal tier
6026
6037
  * * `4` for Official: high tier
6027
6038
  * * `5` for Official: best tier
6028
- * * `-1` for Private
6029
6039
  *
6030
6040
  * @enum {integer}
6031
6041
  */
6032
- tier?: 3 | 4 | 5 | -1;
6042
+ tier?: 3 | 4 | 5;
6033
6043
  "tiebreaks[]"?: components["schemas"]["BroadcastTiebreakExtendedCode"][];
6034
6044
  };
6035
6045
  BroadcastPlayerTiebreak: {
@@ -6378,6 +6388,7 @@ export interface components {
6378
6388
  | 36
6379
6389
  | 37
6380
6390
  | 38
6391
+ | 39
6381
6392
  | 60;
6382
6393
  GameStatus: {
6383
6394
  id: components["schemas"]["GameStatusId"];
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.68",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",