import { NotificationMethod } from '@ucap-webmessenger/core';

export interface GeneralSetting {
  appTheme: string;
  autoLaunch: boolean;
  startupHideWindow: boolean;
  continueRunWhenClose: boolean;
  autoLogin: boolean;
  locale: string;
  hrInfoLocale: string;
  timezone: string;
}

export interface NotificationSetting {
  use: boolean;
  method: NotificationMethod;
  alertExposureTime: number;
  receiveForMobile: boolean;
  receiveForMessage: boolean;
}

export interface ChatSetting {
  fontFamily: string;
  fontSize: number;
  downloadPath: string;
}

export interface PresenceSetting {
  absenceTime: number;
}

export interface Settings {
  general: GeneralSetting;
  notification: NotificationSetting;
  chat: ChatSetting;
  presence: PresenceSetting;
}
