@lichess-org/types 2.0.155 → 2.0.157

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 +21 -14
  2. package/package.json +1 -1
package/lichess-api.d.ts CHANGED
@@ -5986,18 +5986,21 @@ export interface components {
5986
5986
  error?: string;
5987
5987
  };
5988
5988
  /**
5989
- * @example [Event "All about the Sicilian Defense: Dragon Variation"]
5990
- * [Site "https://lichess.org/study/8c8bmUfy/qwnXMwVC"]
5989
+ * @example [Event "♦ All about the Sicilian Defense ♦: Dragon Variation"]
5990
+ * [Date "2017.06.25"]
5991
5991
  * [Result "*"]
5992
- * [UTCDate "2017.06.25"]
5993
- * [UTCTime "10:12:04"]
5994
5992
  * [Variant "Standard"]
5995
5993
  * [ECO "B76"]
5996
5994
  * [Opening "Sicilian Defense: Dragon Variation, Yugoslav Attack, Panov Variation"]
5997
- * [Annotator "https://lichess.org/@/Francesco_Super"]
5995
+ * [StudyName "♦ All about the Sicilian Defense ♦"]
5996
+ * [ChapterName "Dragon Variation"]
5997
+ * [ChapterURL "https://lichess.org/study/8c8bmUfy/qwnXMwVC"]
5998
+ * [Annotator "https://lichess.org/@/francesco_super"]
5999
+ * [UTCDate "2017.06.25"]
6000
+ * [UTCTime "10:12:04"]
5998
6001
  *
5999
6002
  * { This chapter will go over the Dragon Variation, a very common variation used by Black and it is the most aggressive variation in the Sicilian defense. }
6000
- * 1. e4 c5 2. Nf3 { Simple developing move to control the d4 square } { [%csl Gd4,Gc5][%cal Gf3d4,Gc5d4] } 2... d6 { [%cal Gd6e5] } (2... e6 3. d4 cxd4 4. Nxd4 Nf6 5. e5 (5. Nc3 { [%cal Ge4e5] }) 5... Qa5+) 3. d4 { Whites want the exchange of pawns } { [%cal Gc5d4] } 3... cxd4 { [%cal Gf3d4] } 4. Nxd4 { Whites are now ahead in development but blacks still have the two central pawns whereas whites only one. } { [%csl Ge7,Gd6,Ge4] } 4... Nf6 { Blacks are now developing their knight and threatening the e4 pawn } { [%csl Ge4][%cal Gf6e4] } 5. Nc3 { The e4 pawn is now protected by the c3 knight } { [%csl Ge4,Bc3][%cal Rf6e4,Bc3e4] } 5... g6 { This is the DRAGON VARIATION. g6 allows the dark-squared bishop to develop and move to g7, controlling the long dark-squared diagonal } { [%csl Gd4] } 6. Be3 { [%cal Gd1d2,Gf2f3,Ge1c1,Gg2g4,Gh2h4,Gg4g5] } (6. Be2 Bg7 7. O-O Nc6 8. Be3 { [%cal Ge3d4] } (8. f3 Nxe4 { [%cal Gg7d4,Gc6d4] } 9. Nxc6 Qb6+ { [%cal Gb6c6,Gb6g1] } 10. Kh1 Nxc3 { [%cal Gc3d1,Gc3e2] } 11. bxc3 bxc6 { [%cal Gc8a6] }) 8... O-O 9. Nb3 a6 { [%cal Gb7b5,Gb5b4,Ge2c4] }) 6... Bg7 (6... Ng4 { [%cal Gg4e3] } 7. Bb5+ { [%cal Gb5e8,Gb8d7,Gc8d7,Gd1g4] } 7... Nc6 8. Nxc6 bxc6 9. Bxc6+ { [%cal Gc6a8] }) 7. f3 { The key opening moves for White, who attempt to castle queenside , whereas f3 strengthens the pawn structure, connecting e4 to the h2 and g2, while White also plan pushing to g4 and possibly h4. } { [%csl Bf3,Be3][%cal Rg2g4,Rh2h4,Rg4g5] } 7... O-O (7... h5 { Is operating against g4. }) 8. Qd2 { [%csl Gh6,Gg7][%cal Ge1c1,Ga1d1,Re3h6,Rd2h6] } 8... Nc6 { [%csl Gc6,Gh6][%cal Gb8c6,Ge1c1,Ga7a6,Ge3h6] } 9. g4 (9. Bh6 { [%cal Ge3d4] } 9... Bxh6 10. Qxh6 Nxd4) 9... Be6 10. Nxe6 fxe6 { [%cal Gf8f1] } 11. O-O-O Ne5 12. Be2 { [%csl Gf3][%cal Re5f3,Bd1h1,Bg1d1] } 12... Qc7 { [%csl Gc4][%cal Ge5c4,Gc4e3,Gc4d2,Bf8c8,Yc7c3] } 13. h4 Nc4 *
6003
+ * 1. e4 c5 2. Nf3 { Simple developing move to control the d4 square } { [%csl Gd4,Gc5][%cal Gf3d4,Gc5d4] } 2... d6 { [%cal Gd6e5] } (2... e6 3. d4 cxd4 4. Nxd4 Nf6 5. e5 (5. Nc3 { [%cal Ge4e5] }) 5... Qa5+) 3. d4 { Whites want the exchange of pawns } { [%cal Gc5d4] } 3... cxd4 { [%cal Gf3d4] } 4. Nxd4 { Whites are now ahead in development but blacks still have the two central pawns whereas whites only one. } { [%csl Ge7,Gd6,Ge4] } 4... Nf6 { Blacks are now developing their knight and threatening the e4 pawn } { [%csl Ge4][%cal Gf6e4] } 5. Nc3 { The e4 pawn is now protected by the c3 knight } { [%csl Ge4,Bc3][%cal Rf6e4,Bc3e4] } 5... g6 { This is the DRAGON VARIATION. g6 allows the dark-squared bishop to develop and move to g7, controlling the long dark-squared diagonal } { [%csl Gd4] } 6. Be3 { [%cal Gd1d2,Gf2f3,Ge1c1,Gg2g4,Gh2h4,Gg4g5] } (6. Be2 Bg7 7. O-O Nc6 8. Be3 { [%cal Ge3d4] } (8. f3 Nxe4 { [%cal Gg7d4,Gc6d4] } 9. Nxc6 Qb6+ { [%cal Gb6c6,Gb6g1] } 10. Kh1 Nxc3 { [%cal Gc3d1,Gc3e2] } 11. bxc3 bxc6 { [%cal Gc8a6] }) 8... O-O 9. Nb3 a6 { [%cal Gb7b5,Gb5b4,Ge2c4] }) 6... Bg7 (6... Ng4 { [%cal Gg4e3] } 7. Bb5+ { [%cal Gb5e8,Gb8d7,Gc8d7,Gd1g4] } 7... Nc6 8. Nxc6 bxc6 9. Bxc6+ { [%cal Gc6a8] }) 7. f3 { The key opening moves for White, who attempt to castle queenside , whereas f3 strengthens the pawn structure, connecting e4 to the h2 and g2, while White also plan pushing to g4 and possibly h4. } { [%csl Bf3,Be3][%cal Rg2g4,Rh2h4,Rg4g5] } 7... O-O (7... h5 { Is operating against g4. }) 8. Qd2 { [%csl Gh6,Gg7][%cal Ge1c1,Ga1d1,Re3h6,Rd2h6] } 8... Nc6 { [%csl Gc6,Gh6][%cal Gb8c6,Ge1c1,Ga7a6,Ge3h6] } 9. g4 (9. Bh6 { [%cal Ge3d4] } 9... Bxh6 10. Qxh6 Nxd4) 9... Be6 (9... Nxd4 10. Bxd4 Be6 { [%cal Rf1c4] }) 10. Nxe6 fxe6 { The rook has a powerful open file! } { [%cal Gf8f1] } 11. O-O-O Ne5 { [%csl Gf3][%cal Ge5f3] } 12. Be2 { [%csl Gf3][%cal Re5f3,Bd1h1,Bg1d1,Ge2f3] } 12... Qc8 { [%cal Gc8c1] } 13. h4 { [%cal Ge5c4] } *
6001
6004
  */
6002
6005
  StudyPgn: string;
6003
6006
  /** @enum {string} */
@@ -6358,11 +6361,14 @@ export interface components {
6358
6361
  */
6359
6362
  name?: string;
6360
6363
  /**
6361
- * @description A comma separated list of tournament IDs to group together.
6362
- * @example wYigbpXq,M5YHvpOX,q6ezoCXP
6364
+ * @description A linebreak separated list of tournament IDs to group together.
6365
+ * @example wYigbpXq
6366
+ * M5YHvpOX
6367
+ * q6ezoCXP
6363
6368
  */
6364
6369
  tours?: string;
6365
6370
  };
6371
+ /** @description This parameter is repeated with an index for each score group, like 'grouping.scoreGroups[0]=wYigbpXq,M5YHvpOX' */
6366
6372
  scoreGroups?: string[];
6367
6373
  };
6368
6374
  };
@@ -6694,6 +6700,7 @@ export interface components {
6694
6700
  error?: string;
6695
6701
  }[];
6696
6702
  };
6703
+ BroadcastPgn: string;
6697
6704
  BroadcastMyRound: {
6698
6705
  round: components["schemas"]["BroadcastRoundInfo"];
6699
6706
  tour: components["schemas"]["BroadcastTour"];
@@ -11293,8 +11300,8 @@ export interface operations {
11293
11300
  */
11294
11301
  name?: string;
11295
11302
  /**
11296
- * @description Default board orientation.
11297
- * @default white
11303
+ * @description Board orientation.
11304
+ * If not specified, the orientation is automatically determined.
11298
11305
  * @enum {string}
11299
11306
  */
11300
11307
  orientation?: "white" | "black";
@@ -12033,7 +12040,7 @@ export interface operations {
12033
12040
  [name: string]: unknown;
12034
12041
  };
12035
12042
  content: {
12036
- "application/x-chess-pgn": components["schemas"]["StudyPgn"];
12043
+ "application/x-chess-pgn": components["schemas"]["BroadcastPgn"];
12037
12044
  };
12038
12045
  };
12039
12046
  };
@@ -12072,7 +12079,7 @@ export interface operations {
12072
12079
  [name: string]: unknown;
12073
12080
  };
12074
12081
  content: {
12075
- "application/x-chess-pgn": components["schemas"]["StudyPgn"];
12082
+ "application/x-chess-pgn": components["schemas"]["BroadcastPgn"];
12076
12083
  };
12077
12084
  };
12078
12085
  };
@@ -12107,7 +12114,7 @@ export interface operations {
12107
12114
  [name: string]: unknown;
12108
12115
  };
12109
12116
  content: {
12110
- "application/x-chess-pgn": components["schemas"]["StudyPgn"];
12117
+ "application/x-chess-pgn": components["schemas"]["BroadcastPgn"];
12111
12118
  };
12112
12119
  };
12113
12120
  };
@@ -12142,7 +12149,7 @@ export interface operations {
12142
12149
  [name: string]: unknown;
12143
12150
  };
12144
12151
  content: {
12145
- "application/x-chess-pgn": components["schemas"]["StudyPgn"];
12152
+ "application/x-chess-pgn": components["schemas"]["BroadcastPgn"];
12146
12153
  };
12147
12154
  };
12148
12155
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.155",
3
+ "version": "2.0.157",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",