Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

779 B
Raw Blame
import { INotificationSetting } from 'core-app/features/user-preferences/state/notification-setting.model';

export interface DailyRemindersSettings {
  enabled:boolean;
  times:string[];
}
export interface PauseRemindersSettings {
  enabled:boolean;
  firstDay?:string;
  lastDay?:string;
}
export interface ImmediateRemindersSettings {
  mentioned:boolean;
  personalReminder:boolean;
}

export interface IUserPreference {
  autoHidePopups:boolean;
  commentSortDescending:boolean;
  disableKeyboardShortcuts:boolean;
  timeZone:string|null;
  warnOnLeavingUnsaved:boolean;
  workdays:number[];
  notifications:INotificationSetting[];
  dailyReminders:DailyRemindersSettings;
  immediateReminders:ImmediateRemindersSettings;
  pauseReminders:Partial<PauseRemindersSettings>;
}