RSVP options.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using SQLite;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
|
||||
namespace Wino.Core.Domain.Entities.Calendar;
|
||||
@@ -22,4 +23,7 @@ public class AccountCalendar : IAccountCalendar
|
||||
public string TextColorHex { get; set; }
|
||||
public string BackgroundColorHex { get; set; }
|
||||
public string TimeZone { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public MailAccount MailAccount { get; set; }
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
public enum CalendarItemStatus
|
||||
{
|
||||
NotResponded,
|
||||
Confirmed,
|
||||
Accepted,
|
||||
Tentative,
|
||||
Cancelled,
|
||||
}
|
||||
|
||||
@@ -26,6 +26,9 @@ public enum CalendarSynchronizerOperation
|
||||
CreateEvent,
|
||||
UpdateEvent,
|
||||
DeleteEvent,
|
||||
AcceptEvent,
|
||||
DeclineEvent,
|
||||
TentativeEvent,
|
||||
}
|
||||
|
||||
// UI requests
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Core.Domain.Interfaces;
|
||||
|
||||
@@ -12,4 +13,5 @@ public interface IAccountCalendar
|
||||
string RemoteCalendarId { get; set; }
|
||||
bool IsExtended { get; set; }
|
||||
Guid Id { get; set; }
|
||||
MailAccount MailAccount { get; set; }
|
||||
}
|
||||
|
||||
@@ -7,7 +7,8 @@ namespace Wino.Core.Domain.Models.Calendar;
|
||||
/// <summary>
|
||||
/// Encapsulates the options for preparing calendar operation requests.
|
||||
/// </summary>
|
||||
/// <param name="Operation">Calendar operation to execute (Create, Update, Delete).</param>
|
||||
/// <param name="Operation">Calendar operation to execute (Create, Update, Delete, Accept, Decline, Tentative).</param>
|
||||
/// <param name="CalendarItem">Calendar item to operate on.</param>
|
||||
/// <param name="Attendees">List of attendees for the calendar event.</param>
|
||||
public record CalendarOperationPreparationRequest(CalendarSynchronizerOperation Operation, CalendarItem CalendarItem, List<CalendarEventAttendee> Attendees);
|
||||
/// <param name="ResponseMessage">Optional message to include with event responses (Accept, Decline, Tentative).</param>
|
||||
public record CalendarOperationPreparationRequest(CalendarSynchronizerOperation Operation, CalendarItem CalendarItem, List<CalendarEventAttendee> Attendees, string ResponseMessage = null);
|
||||
|
||||
@@ -84,14 +84,26 @@
|
||||
"CalendarDisplayOptions_Color": "Color",
|
||||
"CalendarDisplayOptions_Expand": "Expand",
|
||||
"CalendarEventResponse_Accept": "Accept",
|
||||
"CalendarEventResponse_AcceptedResponse": "Accepted",
|
||||
"CalendarEventResponse_Decline": "Decline",
|
||||
"CalendarEventResponse_DeclinedResponse": "Declined",
|
||||
"CalendarEventResponse_NotResponded": "Not Responded",
|
||||
"CalendarEventResponse_Tentative": "Tentative",
|
||||
"CalendarEventResponse_TentativeResponse": "Tentative",
|
||||
"CalendarEventRsvpPanel_Accept": "Accept",
|
||||
"CalendarEventRsvpPanel_AddMessage": "Add a message to your response... (optional)",
|
||||
"CalendarEventRsvpPanel_Decline": "Decline",
|
||||
"CalendarEventRsvpPanel_Message": "Message",
|
||||
"CalendarEventRsvpPanel_SendReplyMessage": "Send a reply message",
|
||||
"CalendarEventRsvpPanel_Tentative": "Tentative",
|
||||
"CalendarEventRsvpPanel_Title": "Response Options",
|
||||
"CalendarEventDetails_Attachments": "Attachments",
|
||||
"CalendarEventDetails_Details": "Details",
|
||||
"CalendarEventDetails_EditSeries": "Edit Series",
|
||||
"CalendarEventDetails_Editing": "Editing",
|
||||
"CalendarEventDetails_InviteSomeone": "Invite someone",
|
||||
"CalendarEventDetails_JoinOnline": "Join Online",
|
||||
"CalendarEventDetails_Organizer": "Organizer",
|
||||
"CalendarEventDetails_People": "People",
|
||||
"CalendarEventDetails_ReadOnlyEvent": "Read-only event",
|
||||
"CalendarEventDetails_Reminder": "Reminder",
|
||||
|
||||
Reference in New Issue
Block a user