@lichess-org/types 2.0.47 → 2.0.48
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 -46
- 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;
|
|
@@ -10537,7 +10492,7 @@ export interface operations {
|
|
|
10537
10492
|
broadcastsSearch: {
|
|
10538
10493
|
parameters: {
|
|
10539
10494
|
query?: {
|
|
10540
|
-
/** @description Which page to fetch.
|
|
10495
|
+
/** @description Which page to fetch. */
|
|
10541
10496
|
page?: number;
|
|
10542
10497
|
/** @description Search term */
|
|
10543
10498
|
q?: string;
|