@lichess-org/types 2.0.118 → 2.0.120

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 +15 -1
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -4701,33 +4701,47 @@ export interface components {
4701
4701
  | "music"
4702
4702
  | "speech";
4703
4703
  blindfold?: number;
4704
+ /** @description 1 = Never, 2 = When premoving, 3 = Always */
4704
4705
  autoQueen?: number;
4706
+ /** @description 0 = Never, 2 = When time remaining < 30 seconds, 3 = Always */
4705
4707
  autoThreefold?: number;
4708
+ /** @description 1 = Never, 2 = In casual games only, 3 = Always */
4706
4709
  takeback?: number;
4710
+ /** @description 1 = Never, 2 = In casual games only, 3 = Always */
4707
4711
  moretime?: number;
4712
+ /** @description 0 = Never, 1 = When remaining time less than 10 seconds, 2 = Always */
4708
4713
  clockTenths?: number;
4709
4714
  clockBar?: boolean;
4710
4715
  clockSound?: boolean;
4711
4716
  premove?: boolean;
4717
+ /** @description 0 = None, 1 = Fast, 2 = Normal, 3 = Slow */
4712
4718
  animation?: number;
4719
+ /** @description 0 = Chess piece symbol, 1 = KQRBN Letter */
4713
4720
  pieceNotation?: number;
4714
4721
  captured?: boolean;
4715
4722
  follow?: boolean;
4716
4723
  highlight?: boolean;
4717
4724
  destination?: boolean;
4725
+ /** @description 0 = No, 1 = Inside the board, 2 = Outside the board, 3 = All squares */
4718
4726
  coords?: number;
4719
4727
  replay?: number;
4720
4728
  challenge?: number;
4721
4729
  message?: number;
4722
4730
  submitMove?: number;
4731
+ /** @description 1 = Confirm resignation and draw offers, 0 = Do not confirm */
4723
4732
  confirmResign?: number;
4724
4733
  insightShare?: number;
4734
+ /** @description 1 = input moves with the keyboard */
4725
4735
  keyboardMove?: number;
4726
4736
  voiceMove?: boolean;
4737
+ /** @description 0 = No, 1 = yes, 2 = in-game only */
4727
4738
  zen?: number;
4739
+ /** @description 0 = Hide ratings, 1 = Show ratings, 2 = Show ratings except in-game */
4728
4740
  ratings?: number;
4729
4741
  moveEvent?: number;
4742
+ /** @description 0 = Move king two squares, 1 = Move king onto rook */
4730
4743
  rookCastle?: number;
4744
+ /** @description Show player flairs */
4731
4745
  flairs?: boolean;
4732
4746
  /**
4733
4747
  * @description 0 = No, 1 = When losing, 2 = When losing or drawing
@@ -7584,7 +7598,7 @@ export interface components {
7584
7598
  dtc?: null | number;
7585
7599
  /**
7586
7600
  * @description Depth To Mate: Plies to mate (available only for Standard positions
7587
- * with not more than 5 pieces)
7601
+ * with not more than 6 pieces)
7588
7602
  */
7589
7603
  dtm?: null | number;
7590
7604
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.118",
3
+ "version": "2.0.120",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",