Reminders.

This commit is contained in:
Burak Kaan Köse
2026-01-01 15:02:40 +01:00
parent 3b485dc1fe
commit a64627e7d6
14 changed files with 420 additions and 24 deletions
@@ -47,4 +47,11 @@ public interface ICalendarService
Task<List<CalendarEventAttendee>> GetAttendeesAsync(Guid calendarEventTrackingId);
Task<List<CalendarEventAttendee>> ManageEventAttendeesAsync(Guid calendarItemId, List<CalendarEventAttendee> allAttendees);
Task UpdateCalendarItemAsync(CalendarItem calendarItem, List<CalendarEventAttendee> attendees);
Task<List<Reminder>> GetRemindersAsync(Guid calendarItemId);
Task SaveRemindersAsync(Guid calendarItemId, List<Reminder> reminders);
/// <summary>
/// Gets predefined reminder options in minutes (1 Hour, 30 Min, 15 Min, 5 Min, 1 Min).
/// </summary>
int[] GetPredefinedReminderMinutes();
}
@@ -216,6 +216,11 @@ public interface IPreferencesService : INotifyPropertyChanged
DayOfWeek WorkingDayEnd { get; set; }
double HourHeight { get; set; }
/// <summary>
/// Setting: Default reminder duration in seconds for new calendar events.
/// Set to 0 to disable default reminders.
/// </summary>
long DefaultReminderDurationInSeconds { get; set; }
CalendarSettings GetCurrentCalendarSettings();