Skip to content

Commit 1575c4f

Browse files
committed
remove dark & transp from pref JSON
it's never used and doesn't support the system theme (which is now the default)
1 parent f59dc80 commit 1575c4f

3 files changed

Lines changed: 4 additions & 16 deletions

File tree

doc/specs/examples/account-getMyPreferences.json.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ value:
22
{
33
"prefs":
44
{
5-
"dark": true,
6-
"transp": false,
75
"bgImg": "https://lichess1.org/assets/lifat/background/gallery/bg10.webp",
86
"is3d": false,
97
"theme": "brown",

doc/specs/schemas/BroadcastRoundInfo.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ properties:
77
type: string
88
slug:
99
type: string
10-
createdAt:
11-
type: integer
12-
format: int64
13-
rated:
14-
type: boolean
15-
description: "Whether the round is used for rating calculations"
1610
ongoing:
1711
type: boolean
1812
startsAt:
@@ -27,12 +21,13 @@ properties:
2721
finished:
2822
type: boolean
2923
deprecated: true
24+
description: "Use finishedAt instead"
3025
url:
3126
type: string
3227
format: uri
33-
delay:
34-
type: integer
35-
format: int64
28+
rated:
29+
type: boolean
30+
description: "Whether the round is used for rating calculations"
3631
customScoring:
3732
$ref: "./BroadcastCustomScoring.yaml"
3833

@@ -41,4 +36,3 @@ required:
4136
- name
4237
- slug
4338
- url
44-
- createdAt

doc/specs/schemas/UserPreferences.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
type: object
22
properties:
3-
dark:
4-
type: boolean
5-
transp:
6-
type: boolean
73
bgImg:
84
type: string
95
format: uri

0 commit comments

Comments
 (0)