@lichess-org/types 2.0.16 → 2.0.17
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 +20 -10
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -1266,7 +1266,7 @@ export interface paths {
|
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Export games of a Swiss tournament
|
|
1268
1268
|
* @description Download games of a swiss tournament in PGN or [ndjson](#section/Introduction/Streaming-with-ND-JSON) format.
|
|
1269
|
-
* Games are sorted by
|
|
1269
|
+
* Games are sorted by chronological order.
|
|
1270
1270
|
* The game stream is throttled, depending on who is making the request:
|
|
1271
1271
|
* - Anonymous request: 20 games per second
|
|
1272
1272
|
* - [OAuth2 authenticated](#section/Introduction/Authentication) request: 30 games per second
|
|
@@ -5603,10 +5603,17 @@ export interface components {
|
|
|
5603
5603
|
};
|
|
5604
5604
|
ArenaTournamentPlayed: {
|
|
5605
5605
|
tournament?: components["schemas"]["ArenaTournament"];
|
|
5606
|
+
/** @example {
|
|
5607
|
+
* "games": 10,
|
|
5608
|
+
* "score": 14,
|
|
5609
|
+
* "rank": 30,
|
|
5610
|
+
* "performance": 1935
|
|
5611
|
+
* } */
|
|
5606
5612
|
player?: {
|
|
5607
|
-
games
|
|
5608
|
-
score
|
|
5609
|
-
rank
|
|
5613
|
+
games: number;
|
|
5614
|
+
score: number;
|
|
5615
|
+
rank: number;
|
|
5616
|
+
performance?: number;
|
|
5610
5617
|
};
|
|
5611
5618
|
};
|
|
5612
5619
|
/**
|
|
@@ -9105,7 +9112,7 @@ export interface operations {
|
|
|
9105
9112
|
cookie?: never;
|
|
9106
9113
|
};
|
|
9107
9114
|
/** @description You may need these depending on the tournament to join */
|
|
9108
|
-
requestBody
|
|
9115
|
+
requestBody?: {
|
|
9109
9116
|
content: {
|
|
9110
9117
|
"application/x-www-form-urlencoded": {
|
|
9111
9118
|
/** @description The tournament password, if one is required.
|
|
@@ -9408,6 +9415,9 @@ export interface operations {
|
|
|
9408
9415
|
query?: {
|
|
9409
9416
|
/** @description Max number of tournaments to fetch */
|
|
9410
9417
|
nb?: number;
|
|
9418
|
+
/** @description Include the player performance rating in the response, at some cost for the server.
|
|
9419
|
+
* */
|
|
9420
|
+
performance?: boolean;
|
|
9411
9421
|
};
|
|
9412
9422
|
header?: never;
|
|
9413
9423
|
path: {
|
|
@@ -9941,7 +9951,7 @@ export interface operations {
|
|
|
9941
9951
|
cookie?: never;
|
|
9942
9952
|
};
|
|
9943
9953
|
/** @description You may need these depending on the tournament to join */
|
|
9944
|
-
requestBody
|
|
9954
|
+
requestBody?: {
|
|
9945
9955
|
content: {
|
|
9946
9956
|
"application/x-www-form-urlencoded": {
|
|
9947
9957
|
/** @description The tournament password, if one is required */
|
|
@@ -11097,7 +11107,7 @@ export interface operations {
|
|
|
11097
11107
|
};
|
|
11098
11108
|
cookie?: never;
|
|
11099
11109
|
};
|
|
11100
|
-
requestBody
|
|
11110
|
+
requestBody?: {
|
|
11101
11111
|
content: {
|
|
11102
11112
|
"application/x-www-form-urlencoded": {
|
|
11103
11113
|
/** @description Required if team manually reviews admission requests. */
|
|
@@ -11553,7 +11563,7 @@ export interface operations {
|
|
|
11553
11563
|
cookie?: never;
|
|
11554
11564
|
};
|
|
11555
11565
|
/** @description Parameters of the seek */
|
|
11556
|
-
requestBody
|
|
11566
|
+
requestBody?: {
|
|
11557
11567
|
content: {
|
|
11558
11568
|
"application/x-www-form-urlencoded": {
|
|
11559
11569
|
/**
|
|
@@ -12295,7 +12305,7 @@ export interface operations {
|
|
|
12295
12305
|
cookie?: never;
|
|
12296
12306
|
};
|
|
12297
12307
|
/** @description Parameters of the challenge */
|
|
12298
|
-
requestBody
|
|
12308
|
+
requestBody?: {
|
|
12299
12309
|
content: {
|
|
12300
12310
|
"application/x-www-form-urlencoded": {
|
|
12301
12311
|
/**
|
|
@@ -12584,7 +12594,7 @@ export interface operations {
|
|
|
12584
12594
|
cookie?: never;
|
|
12585
12595
|
};
|
|
12586
12596
|
/** @description Parameters of the game */
|
|
12587
|
-
requestBody
|
|
12597
|
+
requestBody?: {
|
|
12588
12598
|
content: {
|
|
12589
12599
|
"application/x-www-form-urlencoded": {
|
|
12590
12600
|
/**
|