@lichess-org/types 2.0.101 → 2.0.102
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 +7 -1
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -8522,7 +8522,13 @@ export interface operations {
|
|
|
8522
8522
|
/** @description Sort order of the games. */
|
|
8523
8523
|
sort?: "dateAsc" | "dateDesc";
|
|
8524
8524
|
};
|
|
8525
|
-
header?:
|
|
8525
|
+
header?: {
|
|
8526
|
+
/** @description Specify the desired response format.
|
|
8527
|
+
* Use `application/x-chess-pgn` to get the games in PGN format.
|
|
8528
|
+
* Use `application/x-ndjson` to get the games in ndjson format.
|
|
8529
|
+
* */
|
|
8530
|
+
Accept?: "application/x-chess-pgn" | "application/x-ndjson";
|
|
8531
|
+
};
|
|
8526
8532
|
path: {
|
|
8527
8533
|
/** @description The user name. */
|
|
8528
8534
|
username: string;
|