@@ -0,0 +1,4 @@
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
public record CalendarEnableStatusChangedMessage(bool IsEnabled);
|
||||
}
|
||||
9
Wino.Messages/Client/Calendar/CalendarEventAdded.cs
Normal file
9
Wino.Messages/Client/Calendar/CalendarEventAdded.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when event is added to database.
|
||||
/// </summary>
|
||||
public record CalendarEventAdded(ICalendarItem CalendarItem);
|
||||
}
|
||||
13
Wino.Messages/Client/Calendar/CalendarInitializeMessage.cs
Normal file
13
Wino.Messages/Client/Calendar/CalendarInitializeMessage.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Wino.Core.Domain.Enums;
|
||||
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when a new calendar range is requested for drawing.
|
||||
/// </summary>
|
||||
/// <param name="DisplayType">Type of the calendar.</param>
|
||||
/// <param name="DisplayDate">Exact date to highlight.</param>
|
||||
/// <param name="DayDisplayCount">How many days to load with Day calendar display type.</param>
|
||||
public record CalendarInitializeMessage(DateTime DisplayDate, CalendarInitInitiative CalendarInitInitiative);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when OnNavigatedTo of CalendarPage is called.
|
||||
/// </summary>
|
||||
public record CalendarInitializedMessage;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when calendar settings are updated.
|
||||
/// </summary>
|
||||
public record CalendarSettingsUpdatedMessage;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when user clicks '>' button from the shell.
|
||||
/// </summary>
|
||||
public record GoNextDateRequestedMessage;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when user clicks '<' button from the shell.
|
||||
/// </summary>
|
||||
public record GoPreviousDateRequestedMessage;
|
||||
}
|
||||
10
Wino.Messages/Client/Calendar/GoToCalendarDayMessage.cs
Normal file
10
Wino.Messages/Client/Calendar/GoToCalendarDayMessage.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when specific date is requested to be clicked on CalendarView.
|
||||
/// </summary>
|
||||
/// <param name="DateTime">Date to be navigated.</param>
|
||||
public record GoToCalendarDayMessage(DateTime DateTime);
|
||||
}
|
||||
10
Wino.Messages/Client/Calendar/ScrollToDateMessage.cs
Normal file
10
Wino.Messages/Client/Calendar/ScrollToDateMessage.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when requested date is already loaded into calendar flip view to scroll to it.
|
||||
/// </summary>
|
||||
/// <param name="Date">Date to scroll.</param>
|
||||
public record ScrollToDateMessage(DateTime Date);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using Wino.Core.Domain.Models.Calendar;
|
||||
|
||||
namespace Wino.Messaging.Client.Calendar
|
||||
{
|
||||
/// <summary>
|
||||
/// Raised when calendar's visible date range is updated.
|
||||
/// Used to update the background of the visible date range in CalendarView.
|
||||
/// </summary>
|
||||
/// <param name="DateRange">New visible date range.</param>
|
||||
public record VisibleDateRangeChangedMessage(DateRange DateRange);
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.Client.Mails
|
||||
{
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Wino.Messaging.Client.Navigation
|
||||
{
|
||||
/// <summary>
|
||||
/// Navigates to manage accounts page.
|
||||
/// </summary>
|
||||
public record NavigateManageAccountsRequested;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
namespace Wino.Messaging.Client.Navigation
|
||||
{
|
||||
/// <summary>
|
||||
/// Navigates to settings page.
|
||||
/// </summary>
|
||||
public record NavigateSettingsRequested;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.Client.Shell
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
using Wino.Core.Domain.Enums;
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
using Wino.Core.Domain.Interfaces;
|
||||
|
||||
namespace Wino.Messaging.Server
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
using Wino.Core.Domain.Entities.Shared;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Wino.Core.Domain.Entities;
|
||||
using Wino.Core.Domain.Entities.Mail;
|
||||
|
||||
namespace Wino.Messaging.UI
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="System.Text.Json" Version="8.0.4" />
|
||||
<PackageReference Include="System.Text.Json" Version="8.0.5" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user