@lichess-org/types 2.0.55 → 2.0.56

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 +20 -6
  2. package/package.json +2 -2
package/lichess-api.d.ts CHANGED
@@ -6462,15 +6462,15 @@ export interface components {
6462
6462
  declineReasonKey:
6463
6463
  | "generic"
6464
6464
  | "later"
6465
- | "tooFast"
6466
- | "tooSlow"
6467
- | "timeControl"
6465
+ | "toofast"
6466
+ | "tooslow"
6467
+ | "timecontrol"
6468
6468
  | "rated"
6469
6469
  | "casual"
6470
6470
  | "standard"
6471
6471
  | "variant"
6472
- | "noBot"
6473
- | "onlyBot";
6472
+ | "nobot"
6473
+ | "onlybot";
6474
6474
  } & components["schemas"]["ChallengeJson"];
6475
6475
  ChallengeDeclinedEvent: {
6476
6476
  /** @constant */
@@ -6701,7 +6701,21 @@ export interface components {
6701
6701
  * "startClocksAt": 1612200422971,
6702
6702
  * "scheduledAt": 1612203514628
6703
6703
  * } */
6704
- BulkPairing: unknown;
6704
+ BulkPairing: {
6705
+ id: string;
6706
+ games: {
6707
+ id?: string;
6708
+ black?: string;
6709
+ white?: string;
6710
+ }[];
6711
+ variant: components["schemas"]["VariantKey"];
6712
+ clock: components["schemas"]["Clock"];
6713
+ pairAt: number;
6714
+ pairedAt: number | null;
6715
+ rated: boolean;
6716
+ startClocksAt: number;
6717
+ scheduledAt: number;
6718
+ };
6705
6719
  /** @example {
6706
6720
  * "fen": "r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R",
6707
6721
  * "knodes": 106325,
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.55",
3
+ "version": "2.0.56",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",
7
7
  "repository": {
8
- "url": "https://github.com/lichess-org/api"
8
+ "url": "git+https://github.com/lichess-org/api.git"
9
9
  },
10
10
  "main": "index.js",
11
11
  "types": "lichess-api.d.ts",