UserPreferences
interface UserPreferences {
language: string;
notifications: { digest: boolean; marketing: boolean; security: boolean; updates: boolean };
theme: 'light' | 'dark' | 'system';
timezone: string;
}Source: User.ts:81
User preferences configuration
Properties
language: string
Preferred language code (ISO 639-1)
Default: ```ts 'en' ```
notifications: { digest: boolean; marketing: boolean; security: boolean; updates: boolean }
Email notification settings
Properties
digest(boolean) — Receive weekly digestmarketing(boolean) — Receive marketing emailssecurity(boolean) — Receive security alertsupdates(boolean) — Receive product updates
theme: 'light' | 'dark' | 'system'
UI theme preference
Default: ```ts 'system' ```
timezone: string
Timezone identifier (IANA)
Default: ```ts 'UTC' ```