@lichess-org/types 2.0.102 → 2.0.103

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 +8 -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;
@@ -8167,7 +8169,12 @@ export interface operations {
8167
8169
  };
8168
8170
  apiUsers: {
8169
8171
  parameters: {
8170
- query?: never;
8172
+ query?: {
8173
+ /** @description Include user profile data */
8174
+ profile?: boolean;
8175
+ /** @description Include global lichess ranking for each perf */
8176
+ rank?: boolean;
8177
+ };
8171
8178
  header?: never;
8172
8179
  path?: never;
8173
8180
  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.103",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",