Files
Chromacase/front/models/UserSettings.ts
2023-02-23 19:00:12 +01:00

23 lines
542 B
TypeScript

interface UserSettings {
preferences: {
deviceId: number,
micVolume: number,
theme: 'light' | 'dark' | 'system',
lang: 'fr' | 'en' | 'sp',
difficulty: 'beg' | 'inter' | 'pro',
colorBlind: boolean
},
notifications: {
pushNotif: boolean,
emailNotif: boolean,
trainNotif: boolean,
newSongNotif: boolean
},
privacy: {
dataCollection: boolean,
customAd: boolean,
recommendation: boolean
}
}
export default UserSettings