@lichess-org/types 2.0.161 → 2.0.162

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.
Files changed (2) hide show
  1. package/lichess-api.d.ts +7 -70
  2. package/package.json +2 -2
package/lichess-api.d.ts CHANGED
@@ -5431,20 +5431,7 @@ export interface components {
5431
5431
  }[];
5432
5432
  /** @enum {integer} */
5433
5433
  GameStatusId:
5434
- | 10
5435
- | 20
5436
- | 25
5437
- | 30
5438
- | 31
5439
- | 32
5440
- | 33
5441
- | 34
5442
- | 35
5443
- | 36
5444
- | 37
5445
- | 38
5446
- | 39
5447
- | 60;
5434
+ 10 | 20 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 60;
5448
5435
  /**
5449
5436
  * @example {
5450
5437
  * "id": "A5fcMO3k",
@@ -6070,11 +6057,7 @@ export interface components {
6070
6057
  StudyPgn: string;
6071
6058
  /** @enum {string} */
6072
6059
  StudyUserSelection:
6073
- | "nobody"
6074
- | "owner"
6075
- | "contributor"
6076
- | "member"
6077
- | "everyone";
6060
+ "nobody" | "owner" | "contributor" | "member" | "everyone";
6078
6061
  /**
6079
6062
  * @example {
6080
6063
  * "chapters": [
@@ -7015,11 +6998,7 @@ export interface components {
7015
6998
  };
7016
6999
  /** @enum {string} */
7017
7000
  ChallengeStatus:
7018
- | "created"
7019
- | "offline"
7020
- | "canceled"
7021
- | "declined"
7022
- | "accepted";
7001
+ "created" | "offline" | "canceled" | "declined" | "accepted";
7023
7002
  ChallengeUser: {
7024
7003
  id: string;
7025
7004
  name: string;
@@ -9726,18 +9705,7 @@ export interface operations {
9726
9705
  * @enum {integer}
9727
9706
  */
9728
9707
  "conditions.nbRatedGame.nb"?:
9729
- | 0
9730
- | 5
9731
- | 10
9732
- | 15
9733
- | 20
9734
- | 30
9735
- | 40
9736
- | 50
9737
- | 75
9738
- | 100
9739
- | 150
9740
- | 200;
9708
+ 0 | 5 | 10 | 15 | 20 | 30 | 40 | 50 | 75 | 100 | 150 | 200;
9741
9709
  /**
9742
9710
  * @description Predefined list of usernames that are allowed to join, separated by commas.
9743
9711
  * If this list is non-empty, then usernames absent from this list will be forbidden to join.
@@ -9755,17 +9723,7 @@ export interface operations {
9755
9723
  * @enum {integer}
9756
9724
  */
9757
9725
  "conditions.accountAge"?:
9758
- | 1
9759
- | 3
9760
- | 7
9761
- | 14
9762
- | 30
9763
- | 60
9764
- | 90
9765
- | 180
9766
- | 365
9767
- | 730
9768
- | 1095;
9726
+ 1 | 3 | 7 | 14 | 30 | 60 | 90 | 180 | 365 | 730 | 1095;
9769
9727
  };
9770
9728
  };
9771
9729
  };
@@ -10001,18 +9959,7 @@ export interface operations {
10001
9959
  * @enum {integer}
10002
9960
  */
10003
9961
  "conditions.nbRatedGame.nb"?:
10004
- | 0
10005
- | 5
10006
- | 10
10007
- | 15
10008
- | 20
10009
- | 30
10010
- | 40
10011
- | 50
10012
- | 75
10013
- | 100
10014
- | 150
10015
- | 200;
9962
+ 0 | 5 | 10 | 15 | 20 | 30 | 40 | 50 | 75 | 100 | 150 | 200;
10016
9963
  /**
10017
9964
  * @description Predefined list of usernames that are allowed to join, separated by commas.
10018
9965
  * If this list is non-empty, then usernames absent from this list will be forbidden to join.
@@ -10030,17 +9977,7 @@ export interface operations {
10030
9977
  * @enum {integer}
10031
9978
  */
10032
9979
  "conditions.accountAge"?:
10033
- | 1
10034
- | 3
10035
- | 7
10036
- | 14
10037
- | 30
10038
- | 60
10039
- | 90
10040
- | 180
10041
- | 365
10042
- | 730
10043
- | 1095;
9980
+ 1 | 3 | 7 | 14 | 30 | 60 | 90 | 180 | 365 | 730 | 1095;
10044
9981
  };
10045
9982
  };
10046
9983
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.161",
3
+ "version": "2.0.162",
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.8.4",
18
+ "prettier": "^3.9.6",
19
19
  "typescript": "^6.0.3"
20
20
  },
21
21
  "packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800"