@lichess-org/types 2.0.65 → 2.0.66
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 +127 -14
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -1100,7 +1100,7 @@ export interface paths {
|
|
|
1100
1100
|
* The stream is throttled, depending on who is making the request:
|
|
1101
1101
|
* - Anonymous request: 20 tournaments per second
|
|
1102
1102
|
* - [OAuth2 authenticated](#section/Introduction/Authentication) request: 30 tournaments per second
|
|
1103
|
-
* - Authenticated, downloading your own tournaments: 50
|
|
1103
|
+
* - Authenticated, downloading your own tournaments: 50 tournaments per second
|
|
1104
1104
|
*
|
|
1105
1105
|
*/
|
|
1106
1106
|
get: operations["apiUserNameTournamentCreated"];
|
|
@@ -1127,7 +1127,7 @@ export interface paths {
|
|
|
1127
1127
|
* The stream is throttled, depending on who is making the request:
|
|
1128
1128
|
* - Anonymous request: 20 tournaments per second
|
|
1129
1129
|
* - [OAuth2 authenticated](#section/Introduction/Authentication) request: 30 tournaments per second
|
|
1130
|
-
* - Authenticated, downloading your own tournaments: 50
|
|
1130
|
+
* - Authenticated, downloading your own tournaments: 50 tournaments per second
|
|
1131
1131
|
*
|
|
1132
1132
|
*/
|
|
1133
1133
|
get: operations["apiUserNameTournamentPlayed"];
|
|
@@ -5865,6 +5865,46 @@ export interface components {
|
|
|
5865
5865
|
BroadcastByUser: {
|
|
5866
5866
|
tour: components["schemas"]["BroadcastTour"];
|
|
5867
5867
|
};
|
|
5868
|
+
/**
|
|
5869
|
+
* @description Extended tiebreak code
|
|
5870
|
+
* @enum {string}
|
|
5871
|
+
*/
|
|
5872
|
+
BroadcastTiebreakExtendedCode:
|
|
5873
|
+
| "AOB"
|
|
5874
|
+
| "APPO"
|
|
5875
|
+
| "APRO"
|
|
5876
|
+
| "ARO"
|
|
5877
|
+
| "ARO-C1"
|
|
5878
|
+
| "ARO-C2"
|
|
5879
|
+
| "ARO-M1"
|
|
5880
|
+
| "ARO-M2"
|
|
5881
|
+
| "BH"
|
|
5882
|
+
| "BH-C1"
|
|
5883
|
+
| "BH-C2"
|
|
5884
|
+
| "BH-M1"
|
|
5885
|
+
| "BH-M2"
|
|
5886
|
+
| "BPG"
|
|
5887
|
+
| "BWG"
|
|
5888
|
+
| "DE"
|
|
5889
|
+
| "FB"
|
|
5890
|
+
| "FB-C1"
|
|
5891
|
+
| "FB-C2"
|
|
5892
|
+
| "FB-M1"
|
|
5893
|
+
| "FB-M2"
|
|
5894
|
+
| "KS"
|
|
5895
|
+
| "PS"
|
|
5896
|
+
| "PS-C1"
|
|
5897
|
+
| "PS-C2"
|
|
5898
|
+
| "PS-M1"
|
|
5899
|
+
| "PS-M2"
|
|
5900
|
+
| "PTP"
|
|
5901
|
+
| "SB"
|
|
5902
|
+
| "SB-C1"
|
|
5903
|
+
| "SB-C2"
|
|
5904
|
+
| "SB-M1"
|
|
5905
|
+
| "SB-M2"
|
|
5906
|
+
| "TPR"
|
|
5907
|
+
| "WON";
|
|
5868
5908
|
BroadcastForm: {
|
|
5869
5909
|
/** @description Name of the broadcast tournament.
|
|
5870
5910
|
*
|
|
@@ -5990,6 +6030,14 @@ export interface components {
|
|
|
5990
6030
|
* @enum {integer}
|
|
5991
6031
|
*/
|
|
5992
6032
|
tier?: 3 | 4 | 5 | -1;
|
|
6033
|
+
"tiebreaks[]"?: components["schemas"]["BroadcastTiebreakExtendedCode"][];
|
|
6034
|
+
};
|
|
6035
|
+
BroadcastPlayerTiebreak: {
|
|
6036
|
+
extendedCode?: components["schemas"]["BroadcastTiebreakExtendedCode"];
|
|
6037
|
+
/** @example Buchholz Cut 1 */
|
|
6038
|
+
description?: string;
|
|
6039
|
+
/** @example 45.5 */
|
|
6040
|
+
points?: number;
|
|
5993
6041
|
};
|
|
5994
6042
|
BroadcastPlayerEntry: {
|
|
5995
6043
|
/** @example Hernandez Riera, Jose */
|
|
@@ -6010,6 +6058,9 @@ export interface components {
|
|
|
6010
6058
|
fideId?: number;
|
|
6011
6059
|
/** @example CHI */
|
|
6012
6060
|
fed?: string;
|
|
6061
|
+
tiebreaks?: components["schemas"]["BroadcastPlayerTiebreak"][];
|
|
6062
|
+
/** @example 1 */
|
|
6063
|
+
rank?: number;
|
|
6013
6064
|
};
|
|
6014
6065
|
/** @description Name of the broadcast round.
|
|
6015
6066
|
* Example: `Round 1`
|
|
@@ -31033,20 +31084,82 @@ export interface operations {
|
|
|
31033
31084
|
content: {
|
|
31034
31085
|
/** @example [
|
|
31035
31086
|
* {
|
|
31036
|
-
* "name": "
|
|
31037
|
-
* "
|
|
31038
|
-
*
|
|
31039
|
-
*
|
|
31040
|
-
* "
|
|
31041
|
-
* "played":
|
|
31042
|
-
*
|
|
31043
|
-
*
|
|
31044
|
-
* "
|
|
31045
|
-
* "
|
|
31087
|
+
* "name": "Aravindh, Chithambaram VR.",
|
|
31088
|
+
* "title": "GM",
|
|
31089
|
+
* "rating": 2749,
|
|
31090
|
+
* "fideId": 5072786,
|
|
31091
|
+
* "fed": "IND",
|
|
31092
|
+
* "played": 9,
|
|
31093
|
+
* "score": 2.5,
|
|
31094
|
+
* "ratingDiff": -23,
|
|
31095
|
+
* "performance": 2557,
|
|
31096
|
+
* "tiebreaks": [
|
|
31097
|
+
* {
|
|
31098
|
+
* "extendedCode": "DE",
|
|
31099
|
+
* "description": "Direct encounter",
|
|
31100
|
+
* "points": 0
|
|
31101
|
+
* },
|
|
31102
|
+
* {
|
|
31103
|
+
* "extendedCode": "SB",
|
|
31104
|
+
* "description": "Sonneborn-Berger",
|
|
31105
|
+
* "points": 11.25
|
|
31106
|
+
* },
|
|
31107
|
+
* {
|
|
31108
|
+
* "extendedCode": "WON",
|
|
31109
|
+
* "description": "Number of Wins",
|
|
31110
|
+
* "points": 0
|
|
31111
|
+
* },
|
|
31112
|
+
* {
|
|
31113
|
+
* "extendedCode": "BWG",
|
|
31114
|
+
* "description": "Number of wins with black",
|
|
31115
|
+
* "points": 0
|
|
31116
|
+
* },
|
|
31117
|
+
* {
|
|
31118
|
+
* "extendedCode": "KS",
|
|
31119
|
+
* "description": "Koya system (limit 50% of score)",
|
|
31120
|
+
* "points": 1.5
|
|
31121
|
+
* }
|
|
31122
|
+
* ],
|
|
31123
|
+
* "rank": 10
|
|
31046
31124
|
* },
|
|
31047
31125
|
* {
|
|
31048
|
-
* "name": "
|
|
31049
|
-
* "
|
|
31126
|
+
* "name": "Praggnanandhaa R",
|
|
31127
|
+
* "title": "GM",
|
|
31128
|
+
* "rating": 2758,
|
|
31129
|
+
* "fideId": 25059530,
|
|
31130
|
+
* "fed": "IND",
|
|
31131
|
+
* "played": 9,
|
|
31132
|
+
* "score": 5.5,
|
|
31133
|
+
* "ratingDiff": 6,
|
|
31134
|
+
* "performance": 2802,
|
|
31135
|
+
* "tiebreaks": [
|
|
31136
|
+
* {
|
|
31137
|
+
* "extendedCode": "DE",
|
|
31138
|
+
* "description": "Direct encounter",
|
|
31139
|
+
* "points": 2
|
|
31140
|
+
* },
|
|
31141
|
+
* {
|
|
31142
|
+
* "extendedCode": "SB",
|
|
31143
|
+
* "description": "Sonneborn-Berger",
|
|
31144
|
+
* "points": 25.25
|
|
31145
|
+
* },
|
|
31146
|
+
* {
|
|
31147
|
+
* "extendedCode": "WON",
|
|
31148
|
+
* "description": "Number of Wins",
|
|
31149
|
+
* "points": 4
|
|
31150
|
+
* },
|
|
31151
|
+
* {
|
|
31152
|
+
* "extendedCode": "BWG",
|
|
31153
|
+
* "description": "Number of wins with black",
|
|
31154
|
+
* "points": 1
|
|
31155
|
+
* },
|
|
31156
|
+
* {
|
|
31157
|
+
* "extendedCode": "KS",
|
|
31158
|
+
* "description": "Koya system (limit 50% of score)",
|
|
31159
|
+
* "points": 3.5
|
|
31160
|
+
* }
|
|
31161
|
+
* ],
|
|
31162
|
+
* "rank": 1
|
|
31050
31163
|
* }
|
|
31051
31164
|
* ] */
|
|
31052
31165
|
"application/json": components["schemas"]["BroadcastPlayerEntry"][];
|