1
0

feat(user): migrate pop sound setting to store in api

This commit is contained in:
kolaente
2023-06-11 17:31:04 +02:00
parent bd7d09c17c
commit 77ee1bfc3e
3 changed files with 27 additions and 14 deletions

View File

@ -1,6 +1,12 @@
import type {IAbstract} from './IAbstract'
import type {IProject} from './IProject'
import type {PrefixMode} from '@/modules/parseTaskText'
export interface IFrontendSettings {
playSoundWhenDone: boolean
quickAddMagicMode: PrefixMode
}
export interface IUserSettings extends IAbstract {
name: string
@ -13,4 +19,5 @@ export interface IUserSettings extends IAbstract {
weekStart: 0 | 1 | 2 | 3 | 4 | 5 | 6
timezone: string
language: string
frontendSettings: IFrontendSettings
}