/**
 * @ai-summary Type definitions for user preferences
 * @ai-context Types for unit system, currency, and timezone preferences
 */

import { UnitSystem } from '../../../core/units/units.types';

export interface UserPreferences {
  id: string;
  userId: string;
  unitSystem: UnitSystem;
  currencyCode: string;
  timeZone: string;
  darkMode: boolean | null;
  createdAt: string;
  updatedAt: string;
}

export interface UpdatePreferencesRequest {
  unitSystem?: UnitSystem;
  currencyCode?: string;
  timeZone?: string;
  darkMode?: boolean | null;
}
