@lichess-org/types 2.0.71 → 2.0.72
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 +4 -1
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -35730,7 +35730,10 @@ export interface operations {
|
|
|
35730
35730
|
};
|
|
35731
35731
|
challengeAccept: {
|
|
35732
35732
|
parameters: {
|
|
35733
|
-
query?:
|
|
35733
|
+
query?: {
|
|
35734
|
+
/** @description Accept challenge as this color (only valid if this is an [open challenge](#challenge/open)) */
|
|
35735
|
+
color?: "white" | "black";
|
|
35736
|
+
};
|
|
35734
35737
|
header?: never;
|
|
35735
35738
|
path: {
|
|
35736
35739
|
challengeId: string;
|