import { SettingsProfileDto } from '@app/domain/profiles/dto/settings-profile.dto';

export enum ThemeType {
  LIGHT = 'light',
  DARK = 'dark',
  SYSTEM = 'system',
}

export interface UserSettings {
  theme: ThemeType;
  privacy: SettingsProfileDto;
}

// Valeurs par défaut pour éviter les nulls
export const DEFAULT_SETTINGS: UserSettings = {
  theme: ThemeType.SYSTEM,
  privacy: {
    isProfilePublic: false,
    showEmail: false,
    showPhone: false,
    allowGeolocation: false,
  },
};
