@lichess-org/types 2.0.102 → 2.0.104

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 +12 -1
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -4063,6 +4063,8 @@ export interface components {
4063
4063
  prog: number;
4064
4064
  /** @description only appears if a user's perf rating are [provisional](https://lichess.org/faq#provisional) */
4065
4065
  prov?: boolean;
4066
+ /** @description global lichess ranking, only appears for recently active players */
4067
+ rank?: number;
4066
4068
  };
4067
4069
  PuzzleModePerf: {
4068
4070
  runs: number;
@@ -7753,6 +7755,10 @@ export interface operations {
7753
7755
  query?: {
7754
7756
  /** @description Include user trophies */
7755
7757
  trophies?: boolean;
7758
+ /** @description Include user profile data */
7759
+ profile?: boolean;
7760
+ /** @description Include global lichess ranking for each perf */
7761
+ rank?: boolean;
7756
7762
  };
7757
7763
  header?: never;
7758
7764
  path: {
@@ -8167,7 +8173,12 @@ export interface operations {
8167
8173
  };
8168
8174
  apiUsers: {
8169
8175
  parameters: {
8170
- query?: never;
8176
+ query?: {
8177
+ /** @description Include user profile data */
8178
+ profile?: boolean;
8179
+ /** @description Include global lichess ranking for each perf */
8180
+ rank?: boolean;
8181
+ };
8171
8182
  header?: never;
8172
8183
  path?: never;
8173
8184
  cookie?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.102",
3
+ "version": "2.0.104",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",