@lichess-org/types 2.0.34 → 2.0.35
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.
- package/lichess-api.d.ts +15 -12
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -10715,10 +10715,6 @@ export interface operations {
|
|
|
10715
10715
|
* Example: `4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2`
|
|
10716
10716
|
* */
|
|
10717
10717
|
variations?: boolean;
|
|
10718
|
-
/** @description Add a `Source` PGN tag with the study chapter URL.
|
|
10719
|
-
* Example: `[Source "https://lichess.org/study/4NBHImfM/1Tk4IyTz"]`
|
|
10720
|
-
* */
|
|
10721
|
-
source?: boolean;
|
|
10722
10718
|
/** @description Add a `Orientation` PGN tag with the chapter predefined orientation.
|
|
10723
10719
|
* Example: `[Orientation "white"]`
|
|
10724
10720
|
* */
|
|
@@ -10761,10 +10757,6 @@ export interface operations {
|
|
|
10761
10757
|
* Example: `4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2`
|
|
10762
10758
|
* */
|
|
10763
10759
|
variations?: boolean;
|
|
10764
|
-
/** @description Add a `Source` PGN tag with the study chapter URL.
|
|
10765
|
-
* Example: `[Source "https://lichess.org/study/4NBHImfM/1Tk4IyTz"]`
|
|
10766
|
-
* */
|
|
10767
|
-
source?: boolean;
|
|
10768
10760
|
/** @description Add a `Orientation` PGN tag with the chapter predefined orientation.
|
|
10769
10761
|
* Example: `[Orientation "white"]`
|
|
10770
10762
|
* */
|
|
@@ -10883,10 +10875,6 @@ export interface operations {
|
|
|
10883
10875
|
* Example: `4. d4 Bb4+ (4... Nc6 5. Nf3 Bb4+ 6. Bd2 (6. Nbd2 O-O 7. O-O) 6... Bd6) 5. Nd2`
|
|
10884
10876
|
* */
|
|
10885
10877
|
variations?: boolean;
|
|
10886
|
-
/** @description Add a `Source` PGN tag with the study chapter URL.
|
|
10887
|
-
* Example: `[Source "https://lichess.org/study/4NBHImfM/1Tk4IyTz"]`
|
|
10888
|
-
* */
|
|
10889
|
-
source?: boolean;
|
|
10890
10878
|
/** @description Add a `Orientation` PGN tag with the chapter predefined orientation.
|
|
10891
10879
|
* Example: `[Orientation "white"]`
|
|
10892
10880
|
* */
|
|
@@ -11945,10 +11933,25 @@ export interface operations {
|
|
|
11945
11933
|
* - `true` returns an object with matching users
|
|
11946
11934
|
* */
|
|
11947
11935
|
object?: boolean;
|
|
11936
|
+
/** @description - `false` returns an array of usernames
|
|
11937
|
+
* - `true` returns an array of usernames with preferred casing
|
|
11938
|
+
* */
|
|
11939
|
+
names?: boolean;
|
|
11948
11940
|
/** @description Returns followed players matching `term` if any, else returns other players.
|
|
11949
11941
|
* Requires [OAuth](#tag/OAuth).
|
|
11950
11942
|
* */
|
|
11951
11943
|
friend?: boolean;
|
|
11944
|
+
/** @description Search within a team.
|
|
11945
|
+
* Use team ID/slug.
|
|
11946
|
+
* */
|
|
11947
|
+
team?: string;
|
|
11948
|
+
/** @description Search within a arena tournament.
|
|
11949
|
+
* Use tournament ID.
|
|
11950
|
+
* */
|
|
11951
|
+
tour?: string;
|
|
11952
|
+
/** @description Search within a Swiss tournament.
|
|
11953
|
+
* */
|
|
11954
|
+
swiss?: string;
|
|
11952
11955
|
};
|
|
11953
11956
|
header?: never;
|
|
11954
11957
|
path?: never;
|