Adds media libraries cancel scan option

This commit is contained in:
BinaryAlley committed 2025-02-01 16:30:48 +02:00
1 parent d6edb0b22b
commit e862f5de30
77 files changed
+1585 -194

No files matched your search

@@ -0,0 +1,15 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to cancel the scan of a media library by its Id.
/// </summary>
/// <param name="Id">The Id of the media library whose scan is cancelled. Required.</param>
[DebuggerDisplay("Id: {Id}")]
public record CancelLibraryScanRequest(
Guid Id
);
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to delete a media library by its Id.
/// </summary>
/// <param name="Id">The Id of the media library. Required.</param>
/// <param name="Id">The Id of the media library to be deleted. Required.</param>
[DebuggerDisplay("Id: {Id}")]
public record DeleteLibraryRequest(
Guid Id
@@ -0,0 +1,15 @@
#region ========================================================================= USING =====================================================================================
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to scan a media library.
/// </summary>
/// <param name="Id">The Id of the media library to be scanned. Required.</param>
[DebuggerDisplay("Id: {Id}")]
public record ScanLibraryRequest(
Guid Id
);