@lichess-org/types 2.0.49 → 2.0.50
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 +18 -0
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -5766,12 +5766,23 @@ export interface components {
|
|
|
5766
5766
|
name?: string;
|
|
5767
5767
|
tours?: components["schemas"]["BroadcastGroupTour"][];
|
|
5768
5768
|
};
|
|
5769
|
+
BroadcastCustomPoints: {
|
|
5770
|
+
win: number;
|
|
5771
|
+
draw: number;
|
|
5772
|
+
};
|
|
5773
|
+
/** @description Scoring overrides for wins or draws. */
|
|
5774
|
+
BroadcastCustomScoring: {
|
|
5775
|
+
white: components["schemas"]["BroadcastCustomPoints"];
|
|
5776
|
+
black: components["schemas"]["BroadcastCustomPoints"];
|
|
5777
|
+
};
|
|
5769
5778
|
BroadcastRoundInfo: {
|
|
5770
5779
|
id: string;
|
|
5771
5780
|
name: string;
|
|
5772
5781
|
slug: string;
|
|
5773
5782
|
/** Format: int64 */
|
|
5774
5783
|
createdAt: number;
|
|
5784
|
+
/** @description Whether the round is used for rating calculations */
|
|
5785
|
+
rated: boolean;
|
|
5775
5786
|
ongoing?: boolean;
|
|
5776
5787
|
/** Format: int64 */
|
|
5777
5788
|
startsAt?: number;
|
|
@@ -5784,6 +5795,7 @@ export interface components {
|
|
|
5784
5795
|
url: string;
|
|
5785
5796
|
/** Format: int64 */
|
|
5786
5797
|
delay?: number;
|
|
5798
|
+
customScoring?: components["schemas"]["BroadcastCustomScoring"];
|
|
5787
5799
|
};
|
|
5788
5800
|
BroadcastWithRounds: {
|
|
5789
5801
|
tour: components["schemas"]["BroadcastTour"];
|
|
@@ -6087,6 +6099,12 @@ export interface components {
|
|
|
6087
6099
|
* @enum {string}
|
|
6088
6100
|
*/
|
|
6089
6101
|
status?: "new" | "started" | "finished";
|
|
6102
|
+
/**
|
|
6103
|
+
* @description Whether the round is used when calculating players' rating changes.
|
|
6104
|
+
* @default true
|
|
6105
|
+
*/
|
|
6106
|
+
rated?: boolean;
|
|
6107
|
+
customScoring?: components["schemas"]["BroadcastCustomScoring"];
|
|
6090
6108
|
/** @description (Only for Admins) Waiting time for each poll.
|
|
6091
6109
|
* */
|
|
6092
6110
|
period?: number;
|