@lichess-org/types 2.0.144 → 2.0.146
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 +60 -63
- package/package.json +2 -2
package/lichess-api.d.ts
CHANGED
|
@@ -6011,6 +6011,44 @@ export interface components {
|
|
|
6011
6011
|
* @enum {string}
|
|
6012
6012
|
*/
|
|
6013
6013
|
FideTimeControl: "standard" | "rapid" | "blitz";
|
|
6014
|
+
/** @description Additional display information about the tournament */
|
|
6015
|
+
BroadcastTourInfo: {
|
|
6016
|
+
/**
|
|
6017
|
+
* @description Tournament format.
|
|
6018
|
+
* Example: `"8-player round-robin" or "5-round Swiss"`
|
|
6019
|
+
*/
|
|
6020
|
+
format?: string;
|
|
6021
|
+
/**
|
|
6022
|
+
* @description Time control.
|
|
6023
|
+
* Example: `"Classical" or "Rapid" or "Rapid & Blitz"`
|
|
6024
|
+
*/
|
|
6025
|
+
tc?: string;
|
|
6026
|
+
fideTC?: components["schemas"]["FideTimeControl"];
|
|
6027
|
+
/**
|
|
6028
|
+
* @description Timezone of the tournament. Example: `America/New_York`.
|
|
6029
|
+
* See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
|
|
6030
|
+
*/
|
|
6031
|
+
timeZone?: string;
|
|
6032
|
+
/** @description Tournament location */
|
|
6033
|
+
location?: string;
|
|
6034
|
+
/** @description Mentioning up to 4 of the best players participating. */
|
|
6035
|
+
players?: string;
|
|
6036
|
+
/**
|
|
6037
|
+
* Format: uri
|
|
6038
|
+
* @description Official website. External website URL
|
|
6039
|
+
*/
|
|
6040
|
+
website?: string;
|
|
6041
|
+
/**
|
|
6042
|
+
* Format: uri
|
|
6043
|
+
* @description Official standings website. External website URL, e.g. chess-results.com, info64.org
|
|
6044
|
+
*/
|
|
6045
|
+
standings?: string;
|
|
6046
|
+
/**
|
|
6047
|
+
* Format: uri
|
|
6048
|
+
* @description External URL to the official tournament regulations.
|
|
6049
|
+
*/
|
|
6050
|
+
regulations?: string;
|
|
6051
|
+
};
|
|
6014
6052
|
BroadcastTour: {
|
|
6015
6053
|
id: string;
|
|
6016
6054
|
name: string;
|
|
@@ -6025,34 +6063,7 @@ export interface components {
|
|
|
6025
6063
|
* ]
|
|
6026
6064
|
*/
|
|
6027
6065
|
dates?: number[];
|
|
6028
|
-
|
|
6029
|
-
info?: {
|
|
6030
|
-
/**
|
|
6031
|
-
* Format: uri
|
|
6032
|
-
* @description Official website. External website URL
|
|
6033
|
-
*/
|
|
6034
|
-
website?: string;
|
|
6035
|
-
/** @description Featured players */
|
|
6036
|
-
players?: string;
|
|
6037
|
-
/** @description Tournament location */
|
|
6038
|
-
location?: string;
|
|
6039
|
-
/** @description Time control */
|
|
6040
|
-
tc?: string;
|
|
6041
|
-
/** @description FIDE rating category */
|
|
6042
|
-
fideTC?: components["schemas"]["FideTimeControl"];
|
|
6043
|
-
/**
|
|
6044
|
-
* @description Timezone of the tournament. Example: `America/New_York`.
|
|
6045
|
-
* See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
|
|
6046
|
-
*/
|
|
6047
|
-
timeZone?: string;
|
|
6048
|
-
/**
|
|
6049
|
-
* Format: uri
|
|
6050
|
-
* @description Official standings website. External website URL
|
|
6051
|
-
*/
|
|
6052
|
-
standings?: string;
|
|
6053
|
-
/** @description Tournament format */
|
|
6054
|
-
format?: string;
|
|
6055
|
-
};
|
|
6066
|
+
info?: components["schemas"]["BroadcastTourInfo"];
|
|
6056
6067
|
/** @description Used to designate featured tournaments on Lichess */
|
|
6057
6068
|
tier?: number;
|
|
6058
6069
|
/** Format: uri */
|
|
@@ -6186,36 +6197,7 @@ export interface components {
|
|
|
6186
6197
|
* Example: `Sinquefield Cup`
|
|
6187
6198
|
*/
|
|
6188
6199
|
name: string;
|
|
6189
|
-
|
|
6190
|
-
* @description Tournament format.
|
|
6191
|
-
* Example: `"8-player round-robin" or "5-round Swiss"`
|
|
6192
|
-
*/
|
|
6193
|
-
"info.format"?: string;
|
|
6194
|
-
/** @description Tournament Location */
|
|
6195
|
-
"info.location"?: string;
|
|
6196
|
-
/**
|
|
6197
|
-
* @description Time control.
|
|
6198
|
-
* Example: `"Classical" or "Rapid" or "Rapid & Blitz"`
|
|
6199
|
-
*/
|
|
6200
|
-
"info.tc"?: string;
|
|
6201
|
-
"info.fideTC"?: components["schemas"]["FideTimeControl"];
|
|
6202
|
-
/**
|
|
6203
|
-
* @description Timezone of the tournament. Example: `America/New_York`.
|
|
6204
|
-
* See [list of possible timezone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more.
|
|
6205
|
-
*/
|
|
6206
|
-
"info.timeZone"?: string;
|
|
6207
|
-
/** @description Mention up to 4 of the best players participating. */
|
|
6208
|
-
"info.players"?: string;
|
|
6209
|
-
/**
|
|
6210
|
-
* Format: uri
|
|
6211
|
-
* @description Official website. External website URL
|
|
6212
|
-
*/
|
|
6213
|
-
"info.website"?: string;
|
|
6214
|
-
/**
|
|
6215
|
-
* Format: uri
|
|
6216
|
-
* @description Official Standings. External website URL, e.g. chess-results.com, info64.org
|
|
6217
|
-
*/
|
|
6218
|
-
"info.standings"?: string;
|
|
6200
|
+
info?: components["schemas"]["BroadcastTourInfo"];
|
|
6219
6201
|
/** @description Optional long description of the broadcast. Markdown is supported. */
|
|
6220
6202
|
markdown?: string;
|
|
6221
6203
|
/**
|
|
@@ -6304,7 +6286,23 @@ export interface components {
|
|
|
6304
6286
|
* @enum {integer}
|
|
6305
6287
|
*/
|
|
6306
6288
|
tier?: 3 | 4 | 5;
|
|
6307
|
-
|
|
6289
|
+
tiebreaks?: components["schemas"]["BroadcastTiebreakExtendedCode"][];
|
|
6290
|
+
/** @description Group this broadcast along with others */
|
|
6291
|
+
grouping?: {
|
|
6292
|
+
info?: {
|
|
6293
|
+
/**
|
|
6294
|
+
* @description Name of the group
|
|
6295
|
+
* @example Chess Olympiad | Open
|
|
6296
|
+
*/
|
|
6297
|
+
name?: string;
|
|
6298
|
+
/**
|
|
6299
|
+
* @description A comma separated list of tournament IDs to group together.
|
|
6300
|
+
* @example wYigbpXq,M5YHvpOX,q6ezoCXP
|
|
6301
|
+
*/
|
|
6302
|
+
tours?: string;
|
|
6303
|
+
};
|
|
6304
|
+
scoreGroups?: string[];
|
|
6305
|
+
};
|
|
6308
6306
|
};
|
|
6309
6307
|
BroadcastGroupTour: {
|
|
6310
6308
|
id: string;
|
|
@@ -6569,10 +6567,9 @@ export interface components {
|
|
|
6569
6567
|
* @default true
|
|
6570
6568
|
*/
|
|
6571
6569
|
rated?: boolean;
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
"customScoring.black.draw"?: components["schemas"]["BroadcastCustomPoints"];
|
|
6570
|
+
customScoring?: components["schemas"]["BroadcastCustomScoring"];
|
|
6571
|
+
/** @description Scoring overrides for a team match win or draw. */
|
|
6572
|
+
teamCustomScoring?: components["schemas"]["BroadcastCustomPointsPerColor"];
|
|
6576
6573
|
/** @description (Only for Admins) Waiting time for each poll. */
|
|
6577
6574
|
period?: number;
|
|
6578
6575
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lichess-org/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.146",
|
|
4
4
|
"description": "Lichess.org API types",
|
|
5
5
|
"homepage": "https://github.com/lichess-org/api",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"openapi-typescript": "^7.13.0",
|
|
18
|
-
"prettier": "^3.8.
|
|
18
|
+
"prettier": "^3.8.4",
|
|
19
19
|
"typescript": "^6.0.3"
|
|
20
20
|
},
|
|
21
21
|
"packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800"
|