@lichess-org/types 2.0.92 → 2.0.93
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 +20 -57
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -4291,6 +4291,15 @@ export interface components {
|
|
|
4291
4291
|
| "kingOfTheHill"
|
|
4292
4292
|
| "racingKings"
|
|
4293
4293
|
| "threeCheck";
|
|
4294
|
+
LightUser: {
|
|
4295
|
+
id: string;
|
|
4296
|
+
name: string;
|
|
4297
|
+
flair?: components["schemas"]["Flair"];
|
|
4298
|
+
title?: components["schemas"]["Title"];
|
|
4299
|
+
/** @deprecated */
|
|
4300
|
+
patron?: boolean;
|
|
4301
|
+
patronColor?: components["schemas"]["PatronColor"];
|
|
4302
|
+
};
|
|
4294
4303
|
PerfStat: {
|
|
4295
4304
|
user: {
|
|
4296
4305
|
name: string;
|
|
@@ -4307,10 +4316,6 @@ export interface components {
|
|
|
4307
4316
|
rank: number | null;
|
|
4308
4317
|
percentile: number;
|
|
4309
4318
|
stat: {
|
|
4310
|
-
perfType: {
|
|
4311
|
-
key: string;
|
|
4312
|
-
name: string;
|
|
4313
|
-
};
|
|
4314
4319
|
highest?: {
|
|
4315
4320
|
int: number;
|
|
4316
4321
|
/** Format: date-time */
|
|
@@ -4323,15 +4328,10 @@ export interface components {
|
|
|
4323
4328
|
at: string;
|
|
4324
4329
|
gameId: string;
|
|
4325
4330
|
};
|
|
4326
|
-
id: string;
|
|
4327
4331
|
bestWins: {
|
|
4328
4332
|
results: {
|
|
4329
4333
|
opRating: number;
|
|
4330
|
-
opId:
|
|
4331
|
-
id: string;
|
|
4332
|
-
name: string;
|
|
4333
|
-
title: components["schemas"]["Title"] | null;
|
|
4334
|
-
};
|
|
4334
|
+
opId: components["schemas"]["LightUser"];
|
|
4335
4335
|
/** Format: date-time */
|
|
4336
4336
|
at: string;
|
|
4337
4337
|
gameId: string;
|
|
@@ -4340,11 +4340,7 @@ export interface components {
|
|
|
4340
4340
|
worstLosses: {
|
|
4341
4341
|
results: {
|
|
4342
4342
|
opRating: number;
|
|
4343
|
-
opId:
|
|
4344
|
-
id: string;
|
|
4345
|
-
name: string;
|
|
4346
|
-
title: components["schemas"]["Title"] | null;
|
|
4347
|
-
};
|
|
4343
|
+
opId: components["schemas"]["LightUser"];
|
|
4348
4344
|
/** Format: date-time */
|
|
4349
4345
|
at: string;
|
|
4350
4346
|
gameId: string;
|
|
@@ -4418,11 +4414,6 @@ export interface components {
|
|
|
4418
4414
|
};
|
|
4419
4415
|
};
|
|
4420
4416
|
};
|
|
4421
|
-
userId: {
|
|
4422
|
-
id: string;
|
|
4423
|
-
name: string;
|
|
4424
|
-
title: components["schemas"]["Title"] | null;
|
|
4425
|
-
};
|
|
4426
4417
|
playStreak: {
|
|
4427
4418
|
nb: {
|
|
4428
4419
|
cur: {
|
|
@@ -5243,15 +5234,6 @@ export interface components {
|
|
|
5243
5234
|
| "unknownFinish"
|
|
5244
5235
|
| "insufficientMaterialClaim"
|
|
5245
5236
|
| "variantEnd";
|
|
5246
|
-
LightUser: {
|
|
5247
|
-
id: string;
|
|
5248
|
-
name: string;
|
|
5249
|
-
flair?: components["schemas"]["Flair"];
|
|
5250
|
-
title?: components["schemas"]["Title"];
|
|
5251
|
-
/** @deprecated */
|
|
5252
|
-
patron?: boolean;
|
|
5253
|
-
patronColor?: components["schemas"]["PatronColor"];
|
|
5254
|
-
};
|
|
5255
5237
|
GamePlayerUser: {
|
|
5256
5238
|
user: components["schemas"]["LightUser"];
|
|
5257
5239
|
rating: number;
|
|
@@ -9866,16 +9848,6 @@ export interface operations {
|
|
|
9866
9848
|
* "rank": null,
|
|
9867
9849
|
* "percentile": 75.1,
|
|
9868
9850
|
* "stat": {
|
|
9869
|
-
* "id": "thibault/2",
|
|
9870
|
-
* "userId": {
|
|
9871
|
-
* "id": "thibault",
|
|
9872
|
-
* "name": "thibault",
|
|
9873
|
-
* "title": null
|
|
9874
|
-
* },
|
|
9875
|
-
* "perfType": {
|
|
9876
|
-
* "key": "blitz",
|
|
9877
|
-
* "name": "Blitz"
|
|
9878
|
-
* },
|
|
9879
9851
|
* "highest": {
|
|
9880
9852
|
* "int": 1970,
|
|
9881
9853
|
* "at": "2022-02-23T13:44:54.633Z",
|
|
@@ -9892,8 +9864,7 @@ export interface operations {
|
|
|
9892
9864
|
* "opRating": 2239,
|
|
9893
9865
|
* "opId": {
|
|
9894
9866
|
* "id": "aqua21",
|
|
9895
|
-
* "name": "aqua21"
|
|
9896
|
-
* "title": null
|
|
9867
|
+
* "name": "aqua21"
|
|
9897
9868
|
* },
|
|
9898
9869
|
* "at": "2020-02-15T19:13:05.329Z",
|
|
9899
9870
|
* "gameId": "UxNJmMXz"
|
|
@@ -9902,8 +9873,7 @@ export interface operations {
|
|
|
9902
9873
|
* "opRating": 2163,
|
|
9903
9874
|
* "opId": {
|
|
9904
9875
|
* "id": "staffan67",
|
|
9905
|
-
* "name": "Staffan67"
|
|
9906
|
-
* "title": null
|
|
9876
|
+
* "name": "Staffan67"
|
|
9907
9877
|
* },
|
|
9908
9878
|
* "at": "2022-12-28T10:54:21.597Z",
|
|
9909
9879
|
* "gameId": "9IMlwEv1"
|
|
@@ -9912,8 +9882,7 @@ export interface operations {
|
|
|
9912
9882
|
* "opRating": 2120,
|
|
9913
9883
|
* "opId": {
|
|
9914
9884
|
* "id": "heissenberger",
|
|
9915
|
-
* "name": "Heissenberger"
|
|
9916
|
-
* "title": null
|
|
9885
|
+
* "name": "Heissenberger"
|
|
9917
9886
|
* },
|
|
9918
9887
|
* "at": "2021-10-25T08:26:27.155Z",
|
|
9919
9888
|
* "gameId": "2buPRuV8"
|
|
@@ -9922,8 +9891,7 @@ export interface operations {
|
|
|
9922
9891
|
* "opRating": 2051,
|
|
9923
9892
|
* "opId": {
|
|
9924
9893
|
* "id": "stas235",
|
|
9925
|
-
* "name": "Stas235"
|
|
9926
|
-
* "title": null
|
|
9894
|
+
* "name": "Stas235"
|
|
9927
9895
|
* },
|
|
9928
9896
|
* "at": "2021-11-06T18:55:53.728Z",
|
|
9929
9897
|
* "gameId": "VLxCVzDY"
|
|
@@ -9932,8 +9900,7 @@ export interface operations {
|
|
|
9932
9900
|
* "opRating": 2040,
|
|
9933
9901
|
* "opId": {
|
|
9934
9902
|
* "id": "harryz-77",
|
|
9935
|
-
* "name": "Harryz-77"
|
|
9936
|
-
* "title": null
|
|
9903
|
+
* "name": "Harryz-77"
|
|
9937
9904
|
* },
|
|
9938
9905
|
* "at": "2021-11-03T17:39:40.181Z",
|
|
9939
9906
|
* "gameId": "eCgiYDS7"
|
|
@@ -9946,8 +9913,7 @@ export interface operations {
|
|
|
9946
9913
|
* "opRating": 995,
|
|
9947
9914
|
* "opId": {
|
|
9948
9915
|
* "id": "dahupetitjoueur",
|
|
9949
|
-
* "name": "dahupetitjoueur"
|
|
9950
|
-
* "title": null
|
|
9916
|
+
* "name": "dahupetitjoueur"
|
|
9951
9917
|
* },
|
|
9952
9918
|
* "at": "2017-04-12T14:31:58.002Z",
|
|
9953
9919
|
* "gameId": "7zyddy2c"
|
|
@@ -9956,8 +9922,7 @@ export interface operations {
|
|
|
9956
9922
|
* "opRating": 1121,
|
|
9957
9923
|
* "opId": {
|
|
9958
9924
|
* "id": "tinkugupta1011",
|
|
9959
|
-
* "name": "Tinkugupta1011"
|
|
9960
|
-
* "title": null
|
|
9925
|
+
* "name": "Tinkugupta1011"
|
|
9961
9926
|
* },
|
|
9962
9927
|
* "at": "2022-10-22T03:36:35.447Z",
|
|
9963
9928
|
* "gameId": "CCyyGKmD"
|
|
@@ -9966,8 +9931,7 @@ export interface operations {
|
|
|
9966
9931
|
* "opRating": 1146,
|
|
9967
9932
|
* "opId": {
|
|
9968
9933
|
* "id": "chemkhihabib",
|
|
9969
|
-
* "name": "chemkhihabib"
|
|
9970
|
-
* "title": null
|
|
9934
|
+
* "name": "chemkhihabib"
|
|
9971
9935
|
* },
|
|
9972
9936
|
* "at": "2016-06-01T09:31:09.694Z",
|
|
9973
9937
|
* "gameId": "XatMm3RO"
|
|
@@ -9986,8 +9950,7 @@ export interface operations {
|
|
|
9986
9950
|
* "opRating": 1182,
|
|
9987
9951
|
* "opId": {
|
|
9988
9952
|
* "id": "skanerterry",
|
|
9989
|
-
* "name": "skanerterry"
|
|
9990
|
-
* "title": null
|
|
9953
|
+
* "name": "skanerterry"
|
|
9991
9954
|
* },
|
|
9992
9955
|
* "at": "2016-06-09T15:32:10.474Z",
|
|
9993
9956
|
* "gameId": "n4ViqGlp"
|