diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-04 09:42:54 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-04 09:42:54 +0100 |
commit | 3f13d9e35ba55ddb7cda064aedf94bf3f9b14102 (patch) | |
tree | 123d20cf61c27e6f4b567885dc1cab6b73c50ddc /api | |
parent | aba3566129bed29fb3385a80f8e255e378b6e9d8 (diff) |
fetch unexisting endpoint for userPreferences
Diffstat (limited to 'api')
-rw-r--r-- | api/api.ts | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -7,3 +7,19 @@ export interface userInfo { username?: string, }; +export type ruleset = { + timelimit: { + enabled: boolean; + minutes?: number; + seconds?: number; + addmove?: number; + shared: boolean; + }, + ranked: boolean; +}; + +export interface userPreferences { + darkMode?: boolean; + ruleset?: ruleset; +} + |