@lichess-org/types 2.0.26 → 2.0.27
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 +37 -32
- package/package.json +1 -1
package/lichess-api.d.ts
CHANGED
|
@@ -6450,14 +6450,16 @@ export interface components {
|
|
|
6450
6450
|
/** @example CHI */
|
|
6451
6451
|
fed?: string;
|
|
6452
6452
|
};
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6453
|
+
/** @description Name of the broadcast round.
|
|
6454
|
+
* Example: `Round 1`
|
|
6455
|
+
* */
|
|
6456
|
+
BroadcastRoundFormName: string;
|
|
6457
|
+
BroadcastRoundForm: (
|
|
6458
|
+
| {
|
|
6459
|
+
name: components["schemas"]["BroadcastRoundFormName"];
|
|
6460
|
+
}
|
|
6460
6461
|
| {
|
|
6462
|
+
name: components["schemas"]["BroadcastRoundFormName"];
|
|
6461
6463
|
/**
|
|
6462
6464
|
* Format: uri
|
|
6463
6465
|
* @description URL that Lichess will poll to get updates about the games. It must be publicly accessible from the Internet.
|
|
@@ -6499,6 +6501,7 @@ export interface components {
|
|
|
6499
6501
|
slices?: string;
|
|
6500
6502
|
}
|
|
6501
6503
|
| {
|
|
6504
|
+
name: components["schemas"]["BroadcastRoundFormName"];
|
|
6502
6505
|
/** @description URLs that Lichess will poll to get updates about the games, separated by newlines. They must be publicly accessible from the Internet.
|
|
6503
6506
|
*
|
|
6504
6507
|
* Example:
|
|
@@ -6538,41 +6541,43 @@ export interface components {
|
|
|
6538
6541
|
slices?: string;
|
|
6539
6542
|
}
|
|
6540
6543
|
| {
|
|
6544
|
+
name: components["schemas"]["BroadcastRoundFormName"];
|
|
6541
6545
|
/** @description Lichess game IDs - Up to 64 Lichess game IDs, separated by spaces.
|
|
6542
6546
|
* */
|
|
6543
6547
|
syncIds: string;
|
|
6544
6548
|
}
|
|
6545
6549
|
| {
|
|
6550
|
+
name: components["schemas"]["BroadcastRoundFormName"];
|
|
6546
6551
|
/** @description Up to 100 Lichess usernames, separated by spaces
|
|
6547
6552
|
* */
|
|
6548
6553
|
syncUsers: string;
|
|
6549
6554
|
}
|
|
6550
6555
|
) & {
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6556
|
+
/** @description Timestamp in milliseconds of broadcast round start. Leave empty to manually start the broadcast round.
|
|
6557
|
+
* Example: `1356998400070`
|
|
6558
|
+
* */
|
|
6559
|
+
startsAt?: number;
|
|
6560
|
+
/**
|
|
6561
|
+
* @description The start date is unknown, and the round will start automatically when the previous round completes.
|
|
6562
|
+
*
|
|
6563
|
+
* @default false
|
|
6564
|
+
*/
|
|
6565
|
+
startsAfterPrevious?: boolean;
|
|
6566
|
+
/** @description Delay in seconds for movements to appear on the broadcast. Leave it empty if you don't need it.
|
|
6567
|
+
* Example: `900` (15 min)
|
|
6568
|
+
* */
|
|
6569
|
+
delay?: number;
|
|
6570
|
+
/**
|
|
6571
|
+
* @description Lichess can usually detect the round status, but you can also set it manually if needed.
|
|
6572
|
+
*
|
|
6573
|
+
* @default new
|
|
6574
|
+
* @enum {string}
|
|
6575
|
+
*/
|
|
6576
|
+
status?: "new" | "started" | "finished";
|
|
6577
|
+
/** @description (Only for Admins) Waiting time for each poll.
|
|
6578
|
+
* */
|
|
6579
|
+
period?: number;
|
|
6580
|
+
};
|
|
6576
6581
|
BroadcastRoundStudyInfo: {
|
|
6577
6582
|
/** @description Whether the currently authenticated user has permission to update the study */
|
|
6578
6583
|
writeable?: boolean;
|