mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 16:11:10 +00:00
Stores scheduler page display preferences per user
This commit is contained in:
1 parent
ab8ab51397
commit
237be9e2c8
50 files changed
+3144
-60
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Domain.SharedKernel.Common.Enums.Scheduling;
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Requests.Scheduling;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to update the display preferences of the scheduler page of the current user.
|
||||
/// </summary>
|
||||
/// <param name="JobTypeFilter">The type of the scheduled job tasks whose executions are shown on the scheduler page, or <see langword="null"/> when all of them are shown.</param>
|
||||
/// <param name="DisplayTimeSpan">The time span, expressed in <paramref name="DisplayTimeUnit"/>, that the scheduler page shows. Required.</param>
|
||||
/// <param name="DisplayTimeUnit">The unit in which the displayed time span of the scheduler page is expressed. Required.</param>
|
||||
[DebuggerDisplay("DisplayTimeSpan: {DisplayTimeSpan} {DisplayTimeUnit}")]
|
||||
public sealed record UpdateSchedulerDisplayPreferencesRequest(
|
||||
ScheduledTaskType? JobTypeFilter,
|
||||
int DisplayTimeSpan,
|
||||
SchedulerDisplayTimeUnit DisplayTimeUnit
|
||||
);
|
||||
Reference in new issue
Block a user