@lichess-org/types 2.0.95 → 2.0.97
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 +24 -3
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -4012,6 +4012,8 @@ export interface components {
|
|
|
4012
4012
|
| "BOT";
|
|
4013
4013
|
/** @description Players can choose a color for their Patron wings.
|
|
4014
4014
|
* See [here for the color mappings](https://github.com/lichess-org/lila/blob/master/ui/lib/css/abstract/_patron-colors.scss).
|
|
4015
|
+
*
|
|
4016
|
+
* The presence of this field indicates the player is an active Patron.
|
|
4015
4017
|
* */
|
|
4016
4018
|
PatronColor: number;
|
|
4017
4019
|
TopUser: {
|
|
@@ -6470,6 +6472,13 @@ export interface components {
|
|
|
6470
6472
|
syncUsers: string;
|
|
6471
6473
|
}
|
|
6472
6474
|
) & {
|
|
6475
|
+
/**
|
|
6476
|
+
* @description Where the games come from.
|
|
6477
|
+
*
|
|
6478
|
+
* @default push
|
|
6479
|
+
* @enum {string}
|
|
6480
|
+
*/
|
|
6481
|
+
syncSource?: "push" | "url" | "urls" | "ids" | "users";
|
|
6473
6482
|
/**
|
|
6474
6483
|
* Format: int64
|
|
6475
6484
|
* @description Timestamp in milliseconds of broadcast round start. Leave empty to manually start the broadcast round.
|
|
@@ -7613,7 +7622,13 @@ export interface components {
|
|
|
7613
7622
|
};
|
|
7614
7623
|
};
|
|
7615
7624
|
responses: never;
|
|
7616
|
-
parameters:
|
|
7625
|
+
parameters: {
|
|
7626
|
+
/**
|
|
7627
|
+
* @description Only update the provided fields, leaving others unchanged
|
|
7628
|
+
* @example true
|
|
7629
|
+
*/
|
|
7630
|
+
PatchQuery: boolean;
|
|
7631
|
+
};
|
|
7617
7632
|
requestBodies: never;
|
|
7618
7633
|
headers: never;
|
|
7619
7634
|
pathItems: never;
|
|
@@ -32488,7 +32503,13 @@ export interface operations {
|
|
|
32488
32503
|
};
|
|
32489
32504
|
broadcastRoundUpdate: {
|
|
32490
32505
|
parameters: {
|
|
32491
|
-
query?:
|
|
32506
|
+
query?: {
|
|
32507
|
+
/**
|
|
32508
|
+
* @description Only update the provided fields, leaving others unchanged
|
|
32509
|
+
* @example true
|
|
32510
|
+
*/
|
|
32511
|
+
patch?: components["parameters"]["PatchQuery"];
|
|
32512
|
+
};
|
|
32492
32513
|
header?: never;
|
|
32493
32514
|
path: {
|
|
32494
32515
|
/** @description The broadcast round ID */
|
|
@@ -35906,7 +35927,7 @@ export interface operations {
|
|
|
35906
35927
|
"application/json": {
|
|
35907
35928
|
id: string;
|
|
35908
35929
|
};
|
|
35909
|
-
"application/x-ndjson":
|
|
35930
|
+
"application/x-ndjson": "";
|
|
35910
35931
|
};
|
|
35911
35932
|
};
|
|
35912
35933
|
/** @description The creation of the seek failed. */
|