@lichess-org/types 2.0.47 → 2.0.49
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 +1 -62
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -6419,51 +6419,6 @@ export interface components {
|
|
|
6419
6419
|
type?: "challengeCanceled";
|
|
6420
6420
|
challenge?: components["schemas"]["ChallengeJson"];
|
|
6421
6421
|
};
|
|
6422
|
-
/** @example {
|
|
6423
|
-
* "id": "H9fIRZUk",
|
|
6424
|
-
* "url": "https://lichess.org/H9fIRZUk",
|
|
6425
|
-
* "status": "created",
|
|
6426
|
-
* "challenger": {
|
|
6427
|
-
* "id": "bot1",
|
|
6428
|
-
* "name": "Bot1",
|
|
6429
|
-
* "rating": 1500,
|
|
6430
|
-
* "title": "BOT",
|
|
6431
|
-
* "provisional": true,
|
|
6432
|
-
* "online": true,
|
|
6433
|
-
* "lag": 4
|
|
6434
|
-
* },
|
|
6435
|
-
* "destUser": {
|
|
6436
|
-
* "id": "bobby",
|
|
6437
|
-
* "name": "Bobby",
|
|
6438
|
-
* "rating": 1635,
|
|
6439
|
-
* "title": "GM",
|
|
6440
|
-
* "provisional": true,
|
|
6441
|
-
* "online": true,
|
|
6442
|
-
* "lag": 4
|
|
6443
|
-
* },
|
|
6444
|
-
* "variant": {
|
|
6445
|
-
* "key": "standard",
|
|
6446
|
-
* "name": "Standard",
|
|
6447
|
-
* "short": "Std"
|
|
6448
|
-
* },
|
|
6449
|
-
* "rated": true,
|
|
6450
|
-
* "speed": "rapid",
|
|
6451
|
-
* "timeControl": {
|
|
6452
|
-
* "type": "clock",
|
|
6453
|
-
* "limit": 600,
|
|
6454
|
-
* "increment": 0,
|
|
6455
|
-
* "show": "10+0"
|
|
6456
|
-
* },
|
|
6457
|
-
* "color": "random",
|
|
6458
|
-
* "finalColor": "black",
|
|
6459
|
-
* "perf": {
|
|
6460
|
-
* "icon": "",
|
|
6461
|
-
* "name": "Rapid"
|
|
6462
|
-
* },
|
|
6463
|
-
* "direction": "out",
|
|
6464
|
-
* "declineReason": "I'm not accepting challenges at the moment.",
|
|
6465
|
-
* "declineReasonKey": "generic"
|
|
6466
|
-
* } */
|
|
6467
6422
|
ChallengeDeclinedJson: {
|
|
6468
6423
|
/** @description Human readable, possibly translated reason why the challenge was declined. */
|
|
6469
6424
|
declineReason: string;
|
|
@@ -7852,10 +7807,6 @@ export interface operations {
|
|
|
7852
7807
|
* The response type must be set to `application/x-ndjson` by the request `Accept` header.
|
|
7853
7808
|
* */
|
|
7854
7809
|
withBookmarked?: boolean;
|
|
7855
|
-
/** @description URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN.
|
|
7856
|
-
* Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
|
|
7857
|
-
* */
|
|
7858
|
-
players?: string;
|
|
7859
7810
|
};
|
|
7860
7811
|
header?: never;
|
|
7861
7812
|
path: {
|
|
@@ -7913,10 +7864,6 @@ export interface operations {
|
|
|
7913
7864
|
* Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
|
|
7914
7865
|
* */
|
|
7915
7866
|
literate?: boolean;
|
|
7916
|
-
/** @description URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN.
|
|
7917
|
-
* Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
|
|
7918
|
-
* */
|
|
7919
|
-
players?: string;
|
|
7920
7867
|
};
|
|
7921
7868
|
header?: never;
|
|
7922
7869
|
path: {
|
|
@@ -8004,10 +7951,6 @@ export interface operations {
|
|
|
8004
7951
|
* The response type must be set to `application/x-ndjson` by the request `Accept` header.
|
|
8005
7952
|
* */
|
|
8006
7953
|
withBookmarked?: boolean;
|
|
8007
|
-
/** @description URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN.
|
|
8008
|
-
* Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
|
|
8009
|
-
* */
|
|
8010
|
-
players?: string;
|
|
8011
7954
|
/** @description Sort order of the games. */
|
|
8012
7955
|
sort?: "dateAsc" | "dateDesc";
|
|
8013
7956
|
};
|
|
@@ -8067,10 +8010,6 @@ export interface operations {
|
|
|
8067
8010
|
* Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
|
|
8068
8011
|
* */
|
|
8069
8012
|
literate?: boolean;
|
|
8070
|
-
/** @description URL of a text file containing real names and ratings, to replace Lichess usernames and ratings in the PGN.
|
|
8071
|
-
* Example: <https://gist.githubusercontent.com/ornicar/6bfa91eb61a2dcae7bcd14cce1b2a4eb/raw/768b9f6cc8a8471d2555e47ba40fb0095e5fba37/gistfile1.txt>
|
|
8072
|
-
* */
|
|
8073
|
-
players?: string;
|
|
8074
8013
|
};
|
|
8075
8014
|
header?: never;
|
|
8076
8015
|
path?: never;
|
|
@@ -10537,7 +10476,7 @@ export interface operations {
|
|
|
10537
10476
|
broadcastsSearch: {
|
|
10538
10477
|
parameters: {
|
|
10539
10478
|
query?: {
|
|
10540
|
-
/** @description Which page to fetch.
|
|
10479
|
+
/** @description Which page to fetch. */
|
|
10541
10480
|
page?: number;
|
|
10542
10481
|
/** @description Search term */
|
|
10543
10482
|
q?: string;
|