@lichess-org/types 2.0.101 → 2.0.103
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 +15 -2
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -4063,6 +4063,8 @@ export interface components {
|
|
|
4063
4063
|
prog: number;
|
|
4064
4064
|
/** @description only appears if a user's perf rating are [provisional](https://lichess.org/faq#provisional) */
|
|
4065
4065
|
prov?: boolean;
|
|
4066
|
+
/** @description global lichess ranking, only appears for recently active players */
|
|
4067
|
+
rank?: number;
|
|
4066
4068
|
};
|
|
4067
4069
|
PuzzleModePerf: {
|
|
4068
4070
|
runs: number;
|
|
@@ -8167,7 +8169,12 @@ export interface operations {
|
|
|
8167
8169
|
};
|
|
8168
8170
|
apiUsers: {
|
|
8169
8171
|
parameters: {
|
|
8170
|
-
query?:
|
|
8172
|
+
query?: {
|
|
8173
|
+
/** @description Include user profile data */
|
|
8174
|
+
profile?: boolean;
|
|
8175
|
+
/** @description Include global lichess ranking for each perf */
|
|
8176
|
+
rank?: boolean;
|
|
8177
|
+
};
|
|
8171
8178
|
header?: never;
|
|
8172
8179
|
path?: never;
|
|
8173
8180
|
cookie?: never;
|
|
@@ -8522,7 +8529,13 @@ export interface operations {
|
|
|
8522
8529
|
/** @description Sort order of the games. */
|
|
8523
8530
|
sort?: "dateAsc" | "dateDesc";
|
|
8524
8531
|
};
|
|
8525
|
-
header?:
|
|
8532
|
+
header?: {
|
|
8533
|
+
/** @description Specify the desired response format.
|
|
8534
|
+
* Use `application/x-chess-pgn` to get the games in PGN format.
|
|
8535
|
+
* Use `application/x-ndjson` to get the games in ndjson format.
|
|
8536
|
+
* */
|
|
8537
|
+
Accept?: "application/x-chess-pgn" | "application/x-ndjson";
|
|
8538
|
+
};
|
|
8526
8539
|
path: {
|
|
8527
8540
|
/** @description The user name. */
|
|
8528
8541
|
username: string;
|