@lichess-org/types 2.0.175 → 2.0.177
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 +6 -5
- package/package.json +2 -2
package/lichess-api.d.ts
CHANGED
|
@@ -4220,11 +4220,6 @@ export interface components {
|
|
|
4220
4220
|
blocking?: boolean;
|
|
4221
4221
|
fideId?: number;
|
|
4222
4222
|
};
|
|
4223
|
-
RatingHistoryEntry: {
|
|
4224
|
-
name?: string;
|
|
4225
|
-
points?: number[][];
|
|
4226
|
-
};
|
|
4227
|
-
RatingHistory: components["schemas"]["RatingHistoryEntry"][];
|
|
4228
4223
|
/** @enum {string} */
|
|
4229
4224
|
PerfType:
|
|
4230
4225
|
| "ultraBullet"
|
|
@@ -4241,6 +4236,11 @@ export interface components {
|
|
|
4241
4236
|
| "kingOfTheHill"
|
|
4242
4237
|
| "racingKings"
|
|
4243
4238
|
| "threeCheck";
|
|
4239
|
+
RatingHistoryEntry: {
|
|
4240
|
+
name?: "puzzle" | components["schemas"]["PerfType"];
|
|
4241
|
+
points?: number[][];
|
|
4242
|
+
};
|
|
4243
|
+
RatingHistory: components["schemas"]["RatingHistoryEntry"][];
|
|
4244
4244
|
LightUser: {
|
|
4245
4245
|
id: string;
|
|
4246
4246
|
name: string;
|
|
@@ -13345,6 +13345,7 @@ export interface operations {
|
|
|
13345
13345
|
* `{opponent}` and `{game}` are placeholders that will be replaced with the opponent and the game URLs.
|
|
13346
13346
|
* You can omit this field to send the default message,
|
|
13347
13347
|
* but if you set your own message, it must at least contain the `{game}` placeholder.
|
|
13348
|
+
* You can also disable messages entirely, by setting the template to `{noMessage}`. You will then need to notify the players yourself about their games.
|
|
13348
13349
|
* @default Your game with {opponent} is ready: {game}.
|
|
13349
13350
|
*/
|
|
13350
13351
|
message?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lichess-org/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.177",
|
|
4
4
|
"description": "Lichess.org API types",
|
|
5
5
|
"homepage": "https://github.com/lichess-org/api",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"openapi-typescript": "^7.13.0",
|
|
18
|
-
"prettier": "^3.9.
|
|
18
|
+
"prettier": "^3.9.10",
|
|
19
19
|
"typescript": "^6.0.3"
|
|
20
20
|
}
|
|
21
21
|
}
|