@lichess-org/types 2.0.94 → 2.0.95

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 +17 -16
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -4720,7 +4720,7 @@ export interface components {
4720
4720
  puzzles: {
4721
4721
  /** @description Puzzle ID */
4722
4722
  id: string;
4723
- /** @description FEN position of the puzzle */
4723
+ /** @description X-FEN position of the puzzle */
4724
4724
  fen: string;
4725
4725
  /** @description Solution moves sequence */
4726
4726
  line: string;
@@ -5571,7 +5571,7 @@ export interface components {
5571
5571
  /**
5572
5572
  * @description The type of message.
5573
5573
  * A summary of the game is sent as the first message and when the featured game changes.
5574
- * Subsequent messages are just the FEN, last move, and clocks.
5574
+ * Subsequent messages are just the X-FEN, last move, and clocks.
5575
5575
  *
5576
5576
  * @constant
5577
5577
  */
@@ -5591,7 +5591,7 @@ export interface components {
5591
5591
  /** @description The player's remaining time in seconds */
5592
5592
  seconds: number;
5593
5593
  }[];
5594
- /** @description The FEN of the current position */
5594
+ /** @description The X-FEN of the current position */
5595
5595
  fen: string;
5596
5596
  };
5597
5597
  };
@@ -5600,7 +5600,7 @@ export interface components {
5600
5600
  /**
5601
5601
  * @description The type of message.
5602
5602
  * A summary of the game is sent as the first message and when the featured game changes.
5603
- * Subsequent messages are just the FEN, last move, and clocks.
5603
+ * Subsequent messages are just the X-FEN, last move, and clocks.
5604
5604
  *
5605
5605
  * @constant
5606
5606
  */
@@ -5610,7 +5610,7 @@ export interface components {
5610
5610
  * @description The data of the message
5611
5611
  */
5612
5612
  d: {
5613
- /** @description The FEN of the current position */
5613
+ /** @description The X-FEN of the current position */
5614
5614
  fen: string;
5615
5615
  /** @description The last move in UCI format (King to rook for Chess960-compatible
5616
5616
  * castling notation)
@@ -5715,7 +5715,7 @@ export interface components {
5715
5715
  finished: components["schemas"]["ArenaTournament"][];
5716
5716
  };
5717
5717
  /**
5718
- * @description Custom initial position (in FEN). Variant must be standard, fromPosition, or chess960 (if a valid 960 starting position), and the game cannot be rated.
5718
+ * @description Custom initial position (in X-FEN). Variant must be standard, fromPosition, or chess960 (if a valid 960 starting position), and the game cannot be rated.
5719
5719
  * @default rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
5720
5720
  */
5721
5721
  FromPositionFEN: string;
@@ -5884,7 +5884,7 @@ export interface components {
5884
5884
  player: components["schemas"]["ArenaTournamentPlayer"];
5885
5885
  };
5886
5886
  /**
5887
- * @description Custom initial position (in FEN). Variant must be standard and the game cannot be rated.
5887
+ * @description Custom initial position (in X-FEN). Variant must be standard and the game cannot be rated.
5888
5888
  * @default rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
5889
5889
  */
5890
5890
  SwissFromPositionFEN: string;
@@ -6116,6 +6116,7 @@ export interface components {
6116
6116
  };
6117
6117
  BroadcastTop: {
6118
6118
  active?: components["schemas"]["BroadcastWithLastRound"][];
6119
+ /** @deprecated */
6119
6120
  upcoming?: components["schemas"]["BroadcastWithLastRound"][];
6120
6121
  past?: {
6121
6122
  /** @example 4 */
@@ -13380,7 +13381,7 @@ export interface operations {
13380
13381
  * Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
13381
13382
  * */
13382
13383
  literate?: boolean;
13383
- /** @description Include the FEN notation of the last position of the game.
13384
+ /** @description Include the X-FEN notation of the last position of the game.
13384
13385
  * The response type must be set to `application/x-ndjson` by the request `Accept` header.
13385
13386
  * */
13386
13387
  lastFen?: boolean;
@@ -14148,7 +14149,7 @@ export interface operations {
14148
14149
  * Example: `5... g4? { (-0.98 → 0.60) Mistake. Best move was h6. } (5... h6 6. d4 Ne7 7. g3 d5 8. exd5 fxg3 9. hxg3 c6 10. dxc6)`
14149
14150
  * */
14150
14151
  literate?: boolean;
14151
- /** @description Include the FEN notation of the last position of the game.
14152
+ /** @description Include the X-FEN notation of the last position of the game.
14152
14153
  * The response type must be set to `application/x-ndjson` by the request `Accept` header.
14153
14154
  * */
14154
14155
  lastFen?: boolean;
@@ -37730,7 +37731,7 @@ export interface operations {
37730
37731
  parameters: {
37731
37732
  query: {
37732
37733
  /**
37733
- * @description FEN of the position
37734
+ * @description X-FEN of the position
37734
37735
  * @example r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R b KQkq - 3 3
37735
37736
  */
37736
37737
  fen: string;
@@ -38287,7 +38288,7 @@ export interface operations {
38287
38288
  parameters: {
38288
38289
  query?: {
38289
38290
  /**
38290
- * @description FEN of the root position
38291
+ * @description X-FEN of the root position
38291
38292
  * @example rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
38292
38293
  */
38293
38294
  fen?: string;
@@ -38607,7 +38608,7 @@ export interface operations {
38607
38608
  /** @description Variant */
38608
38609
  variant?: components["schemas"]["VariantKey"];
38609
38610
  /**
38610
- * @description FEN or EPD of the root position
38611
+ * @description X-FEN or EPD of the root position
38611
38612
  * @example rnbqkbnr/ppp1pppp/8/3pP3/8/8/PPPP1PPP/RNBQKBNR b KQkq - 0 2
38612
38613
  */
38613
38614
  fen?: string;
@@ -38981,7 +38982,7 @@ export interface operations {
38981
38982
  /** @description Variant */
38982
38983
  variant?: components["schemas"]["VariantKey"];
38983
38984
  /**
38984
- * @description FEN of the root position
38985
+ * @description X-FEN of the root position
38985
38986
  * @example rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
38986
38987
  */
38987
38988
  fen?: string;
@@ -39187,7 +39188,7 @@ export interface operations {
39187
39188
  tablebaseStandard: {
39188
39189
  parameters: {
39189
39190
  query: {
39190
- /** @description FEN of the position. Underscores allowed. */
39191
+ /** @description X-FEN of the position. Underscores allowed. */
39191
39192
  fen: string;
39192
39193
  /** @description When to query the tablebase for `dtc` values. The current default
39193
39194
  * is `never`. It is eventually going to be `auxiliary`, i.e., only when
@@ -39375,7 +39376,7 @@ export interface operations {
39375
39376
  tablebaseAtomic: {
39376
39377
  parameters: {
39377
39378
  query: {
39378
- /** @description FEN of the position. Underscores allowed. */
39379
+ /** @description X-FEN of the position. Underscores allowed. */
39379
39380
  fen: string;
39380
39381
  };
39381
39382
  header?: never;
@@ -40070,7 +40071,7 @@ export interface operations {
40070
40071
  antichessAtomic: {
40071
40072
  parameters: {
40072
40073
  query: {
40073
- /** @description FEN of the position. Underscores allowed. */
40074
+ /** @description X-FEN of the position. Underscores allowed. */
40074
40075
  fen: string;
40075
40076
  };
40076
40077
  header?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.94",
3
+ "version": "2.0.95",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",