@lichess-org/types 2.0.8 → 2.0.10

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.
Files changed (2) hide show
  1. package/lichess-api.d.ts +4 -4
  2. package/package.json +2 -2
package/lichess-api.d.ts CHANGED
@@ -5723,9 +5723,9 @@ export interface components {
5723
5723
  delay?: number;
5724
5724
  };
5725
5725
  BroadcastWithRounds: {
5726
- tour?: components["schemas"]["BroadcastTour"];
5726
+ tour: components["schemas"]["BroadcastTour"];
5727
5727
  group?: components["schemas"]["BroadcastGroup"];
5728
- rounds?: components["schemas"]["BroadcastRoundInfo"][];
5728
+ rounds: components["schemas"]["BroadcastRoundInfo"][];
5729
5729
  };
5730
5730
  BroadcastWithLastRound: {
5731
5731
  group?: string;
@@ -5916,7 +5916,7 @@ export interface components {
5916
5916
  *
5917
5917
  * @default false
5918
5918
  */
5919
- startsAfterPrevious: boolean;
5919
+ startsAfterPrevious?: boolean;
5920
5920
  /** @description Delay in seconds for movements to appear on the broadcast. Leave it empty if you don't need it.
5921
5921
  * Example: `900` (15 min)
5922
5922
  * */
@@ -5926,7 +5926,7 @@ export interface components {
5926
5926
  *
5927
5927
  * @default false
5928
5928
  */
5929
- finished: boolean;
5929
+ finished?: boolean;
5930
5930
  /** @description (Only for Admins) Waiting time for each poll.
5931
5931
  * */
5932
5932
  period?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lichess-org/types",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "description": "Lichess.org API types",
5
5
  "homepage": "https://github.com/lichess-org/api",
6
6
  "license": "AGPL-3.0-or-later",
@@ -8,7 +8,7 @@
8
8
  "types": "lichess-api.d.ts",
9
9
  "scripts": {
10
10
  "format": "prettier --write .",
11
- "gen": "openapi-typescript ../doc/specs/lichess-api.yaml -o lichess-api.d.ts"
11
+ "gen": "openapi-typescript ../doc/specs/lichess-api.yaml -o lichess-api.d.ts --default-non-nullable=false"
12
12
  },
13
13
  "devDependencies": {
14
14
  "openapi-typescript": "^7.3.0",