@lichess-org/types 2.0.54 → 2.0.56
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 +21 -7
- package/package.json +2 -2
package/lichess-api.d.ts
CHANGED
|
@@ -6462,15 +6462,15 @@ export interface components {
|
|
|
6462
6462
|
declineReasonKey:
|
|
6463
6463
|
| "generic"
|
|
6464
6464
|
| "later"
|
|
6465
|
-
| "
|
|
6466
|
-
| "
|
|
6467
|
-
| "
|
|
6465
|
+
| "toofast"
|
|
6466
|
+
| "tooslow"
|
|
6467
|
+
| "timecontrol"
|
|
6468
6468
|
| "rated"
|
|
6469
6469
|
| "casual"
|
|
6470
6470
|
| "standard"
|
|
6471
6471
|
| "variant"
|
|
6472
|
-
| "
|
|
6473
|
-
| "
|
|
6472
|
+
| "nobot"
|
|
6473
|
+
| "onlybot";
|
|
6474
6474
|
} & components["schemas"]["ChallengeJson"];
|
|
6475
6475
|
ChallengeDeclinedEvent: {
|
|
6476
6476
|
/** @constant */
|
|
@@ -6513,7 +6513,7 @@ export interface components {
|
|
|
6513
6513
|
binc: number;
|
|
6514
6514
|
status: components["schemas"]["GameStatusName"];
|
|
6515
6515
|
/** @description Color of the winner, if any */
|
|
6516
|
-
winner?:
|
|
6516
|
+
winner?: components["schemas"]["GameColor"];
|
|
6517
6517
|
/** @description true if white is offering draw, else omitted */
|
|
6518
6518
|
wdraw?: boolean;
|
|
6519
6519
|
/** @description true if black is offering draw, else omitted */
|
|
@@ -6701,7 +6701,21 @@ export interface components {
|
|
|
6701
6701
|
* "startClocksAt": 1612200422971,
|
|
6702
6702
|
* "scheduledAt": 1612203514628
|
|
6703
6703
|
* } */
|
|
6704
|
-
BulkPairing:
|
|
6704
|
+
BulkPairing: {
|
|
6705
|
+
id: string;
|
|
6706
|
+
games: {
|
|
6707
|
+
id?: string;
|
|
6708
|
+
black?: string;
|
|
6709
|
+
white?: string;
|
|
6710
|
+
}[];
|
|
6711
|
+
variant: components["schemas"]["VariantKey"];
|
|
6712
|
+
clock: components["schemas"]["Clock"];
|
|
6713
|
+
pairAt: number;
|
|
6714
|
+
pairedAt: number | null;
|
|
6715
|
+
rated: boolean;
|
|
6716
|
+
startClocksAt: number;
|
|
6717
|
+
scheduledAt: number;
|
|
6718
|
+
};
|
|
6705
6719
|
/** @example {
|
|
6706
6720
|
* "fen": "r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R",
|
|
6707
6721
|
* "knodes": 106325,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lichess-org/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.56",
|
|
4
4
|
"description": "Lichess.org API types",
|
|
5
5
|
"homepage": "https://github.com/lichess-org/api",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"repository": {
|
|
8
|
-
"url": "https://github.com/lichess-org/api"
|
|
8
|
+
"url": "git+https://github.com/lichess-org/api.git"
|
|
9
9
|
},
|
|
10
10
|
"main": "index.js",
|
|
11
11
|
"types": "lichess-api.d.ts",
|