@lichess-org/types 2.0.159 → 2.0.160
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 +23 -4
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -6864,15 +6864,34 @@ export interface components {
|
|
|
6864
6864
|
request: components["schemas"]["TeamRequest"];
|
|
6865
6865
|
user: components["schemas"]["User"];
|
|
6866
6866
|
};
|
|
6867
|
-
TeamUpdatesPager: {
|
|
6868
|
-
updates: components["schemas"]["TeamUpdatesPager"];
|
|
6869
|
-
byTeam: components["schemas"]["TeamUpdatesByTeam"];
|
|
6870
|
-
};
|
|
6871
6867
|
LightTeam: {
|
|
6872
6868
|
id: string;
|
|
6873
6869
|
name: string;
|
|
6874
6870
|
flair?: components["schemas"]["Flair"];
|
|
6875
6871
|
};
|
|
6872
|
+
TeamUpdate: {
|
|
6873
|
+
msg: {
|
|
6874
|
+
id: string;
|
|
6875
|
+
date: number;
|
|
6876
|
+
sender: components["schemas"]["LightUser"];
|
|
6877
|
+
team?: components["schemas"]["LightTeam"];
|
|
6878
|
+
text: string;
|
|
6879
|
+
};
|
|
6880
|
+
seen: boolean;
|
|
6881
|
+
};
|
|
6882
|
+
TeamUpdatesPager: {
|
|
6883
|
+
/** @example 4 */
|
|
6884
|
+
currentPage: number;
|
|
6885
|
+
/** @example 15 */
|
|
6886
|
+
maxPerPage: number;
|
|
6887
|
+
currentPageResults: components["schemas"]["TeamUpdate"][];
|
|
6888
|
+
/** @example 3 */
|
|
6889
|
+
previousPage: number | null;
|
|
6890
|
+
/** @example 5 */
|
|
6891
|
+
nextPage: number | null;
|
|
6892
|
+
nbResults: number;
|
|
6893
|
+
nbPages: number;
|
|
6894
|
+
};
|
|
6876
6895
|
TeamUpdatesByTeam: {
|
|
6877
6896
|
team: components["schemas"]["LightTeam"];
|
|
6878
6897
|
last: number;
|