@lichess-org/types 2.0.161 → 2.0.163
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.
- package/lichess-api.d.ts +9 -71
- package/package.json +2 -2
package/lichess-api.d.ts
CHANGED
|
@@ -2044,7 +2044,7 @@ export interface paths {
|
|
|
2044
2044
|
* @description Download all games of a single round of a broadcast tournament in PGN format.
|
|
2045
2045
|
* You *could* poll this endpoint to get updates about a tournament, but it would be slow,
|
|
2046
2046
|
* and very inefficient.
|
|
2047
|
-
* Instead, consider [streaming the
|
|
2047
|
+
* Instead, consider [streaming the round](#tag/broadcasts/GET/api/stream/broadcast/round/{broadcastRoundId}.pgn) to get
|
|
2048
2048
|
* a new PGN every time a game is updated, in real-time.
|
|
2049
2049
|
*/
|
|
2050
2050
|
get: operations["broadcastRoundPgn"];
|
|
@@ -2072,6 +2072,7 @@ export interface paths {
|
|
|
2072
2072
|
*
|
|
2073
2073
|
* To get real-time updates about an ongoing tournament, please use the
|
|
2074
2074
|
* [round PGN stream](#tag/broadcasts/GET/api/stream/broadcast/round/{broadcastRoundId}.pgn) or
|
|
2075
|
+
* [tournament PGN stream](#tag/broadcasts/GET/api/stream/broadcast/tournament/{broadcastTournamentId}.pgn) or
|
|
2075
2076
|
* [group PGN stream](#tag/broadcasts/GET/api/stream/broadcast/group/{broadcastGroupId}.pgn) endpoints instead.
|
|
2076
2077
|
*/
|
|
2077
2078
|
get: operations["broadcastAllRoundsPgn"];
|
|
@@ -5431,20 +5432,7 @@ export interface components {
|
|
|
5431
5432
|
}[];
|
|
5432
5433
|
/** @enum {integer} */
|
|
5433
5434
|
GameStatusId:
|
|
5434
|
-
|
|
|
5435
|
-
| 20
|
|
5436
|
-
| 25
|
|
5437
|
-
| 30
|
|
5438
|
-
| 31
|
|
5439
|
-
| 32
|
|
5440
|
-
| 33
|
|
5441
|
-
| 34
|
|
5442
|
-
| 35
|
|
5443
|
-
| 36
|
|
5444
|
-
| 37
|
|
5445
|
-
| 38
|
|
5446
|
-
| 39
|
|
5447
|
-
| 60;
|
|
5435
|
+
10 | 20 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 60;
|
|
5448
5436
|
/**
|
|
5449
5437
|
* @example {
|
|
5450
5438
|
* "id": "A5fcMO3k",
|
|
@@ -6070,11 +6058,7 @@ export interface components {
|
|
|
6070
6058
|
StudyPgn: string;
|
|
6071
6059
|
/** @enum {string} */
|
|
6072
6060
|
StudyUserSelection:
|
|
6073
|
-
| "
|
|
6074
|
-
| "owner"
|
|
6075
|
-
| "contributor"
|
|
6076
|
-
| "member"
|
|
6077
|
-
| "everyone";
|
|
6061
|
+
"nobody" | "owner" | "contributor" | "member" | "everyone";
|
|
6078
6062
|
/**
|
|
6079
6063
|
* @example {
|
|
6080
6064
|
* "chapters": [
|
|
@@ -7015,11 +6999,7 @@ export interface components {
|
|
|
7015
6999
|
};
|
|
7016
7000
|
/** @enum {string} */
|
|
7017
7001
|
ChallengeStatus:
|
|
7018
|
-
| "
|
|
7019
|
-
| "offline"
|
|
7020
|
-
| "canceled"
|
|
7021
|
-
| "declined"
|
|
7022
|
-
| "accepted";
|
|
7002
|
+
"created" | "offline" | "canceled" | "declined" | "accepted";
|
|
7023
7003
|
ChallengeUser: {
|
|
7024
7004
|
id: string;
|
|
7025
7005
|
name: string;
|
|
@@ -9726,18 +9706,7 @@ export interface operations {
|
|
|
9726
9706
|
* @enum {integer}
|
|
9727
9707
|
*/
|
|
9728
9708
|
"conditions.nbRatedGame.nb"?:
|
|
9729
|
-
|
|
|
9730
|
-
| 5
|
|
9731
|
-
| 10
|
|
9732
|
-
| 15
|
|
9733
|
-
| 20
|
|
9734
|
-
| 30
|
|
9735
|
-
| 40
|
|
9736
|
-
| 50
|
|
9737
|
-
| 75
|
|
9738
|
-
| 100
|
|
9739
|
-
| 150
|
|
9740
|
-
| 200;
|
|
9709
|
+
0 | 5 | 10 | 15 | 20 | 30 | 40 | 50 | 75 | 100 | 150 | 200;
|
|
9741
9710
|
/**
|
|
9742
9711
|
* @description Predefined list of usernames that are allowed to join, separated by commas.
|
|
9743
9712
|
* If this list is non-empty, then usernames absent from this list will be forbidden to join.
|
|
@@ -9755,17 +9724,7 @@ export interface operations {
|
|
|
9755
9724
|
* @enum {integer}
|
|
9756
9725
|
*/
|
|
9757
9726
|
"conditions.accountAge"?:
|
|
9758
|
-
|
|
|
9759
|
-
| 3
|
|
9760
|
-
| 7
|
|
9761
|
-
| 14
|
|
9762
|
-
| 30
|
|
9763
|
-
| 60
|
|
9764
|
-
| 90
|
|
9765
|
-
| 180
|
|
9766
|
-
| 365
|
|
9767
|
-
| 730
|
|
9768
|
-
| 1095;
|
|
9727
|
+
1 | 3 | 7 | 14 | 30 | 60 | 90 | 180 | 365 | 730 | 1095;
|
|
9769
9728
|
};
|
|
9770
9729
|
};
|
|
9771
9730
|
};
|
|
@@ -10001,18 +9960,7 @@ export interface operations {
|
|
|
10001
9960
|
* @enum {integer}
|
|
10002
9961
|
*/
|
|
10003
9962
|
"conditions.nbRatedGame.nb"?:
|
|
10004
|
-
|
|
|
10005
|
-
| 5
|
|
10006
|
-
| 10
|
|
10007
|
-
| 15
|
|
10008
|
-
| 20
|
|
10009
|
-
| 30
|
|
10010
|
-
| 40
|
|
10011
|
-
| 50
|
|
10012
|
-
| 75
|
|
10013
|
-
| 100
|
|
10014
|
-
| 150
|
|
10015
|
-
| 200;
|
|
9963
|
+
0 | 5 | 10 | 15 | 20 | 30 | 40 | 50 | 75 | 100 | 150 | 200;
|
|
10016
9964
|
/**
|
|
10017
9965
|
* @description Predefined list of usernames that are allowed to join, separated by commas.
|
|
10018
9966
|
* If this list is non-empty, then usernames absent from this list will be forbidden to join.
|
|
@@ -10030,17 +9978,7 @@ export interface operations {
|
|
|
10030
9978
|
* @enum {integer}
|
|
10031
9979
|
*/
|
|
10032
9980
|
"conditions.accountAge"?:
|
|
10033
|
-
|
|
|
10034
|
-
| 3
|
|
10035
|
-
| 7
|
|
10036
|
-
| 14
|
|
10037
|
-
| 30
|
|
10038
|
-
| 60
|
|
10039
|
-
| 90
|
|
10040
|
-
| 180
|
|
10041
|
-
| 365
|
|
10042
|
-
| 730
|
|
10043
|
-
| 1095;
|
|
9981
|
+
1 | 3 | 7 | 14 | 30 | 60 | 90 | 180 | 365 | 730 | 1095;
|
|
10044
9982
|
};
|
|
10045
9983
|
};
|
|
10046
9984
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lichess-org/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.163",
|
|
4
4
|
"description": "Lichess.org API types",
|
|
5
5
|
"homepage": "https://github.com/lichess-org/api",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"openapi-typescript": "^7.13.0",
|
|
18
|
-
"prettier": "^3.
|
|
18
|
+
"prettier": "^3.9.6",
|
|
19
19
|
"typescript": "^6.0.3"
|
|
20
20
|
},
|
|
21
21
|
"packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800"
|