Moves media library scanning to domain layer

This commit is contained in:
BinaryAlley committed 2025-02-16 21:45:26 +02:00
1 parent 8b51abe0b2
commit c4246d2e69
209 files changed
+3793 -641

No files matched your search

@@ -6,10 +6,12 @@ using System.Diagnostics;
namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to cancel the scan of a media library by its Id.
/// Represents a request to cancel the scan of a media library.
/// </summary>
/// <param name="Id">The Id of the media library whose scan is cancelled. Required.</param>
[DebuggerDisplay("Id: {Id}")]
/// <param name="LibraryId">The unique identifier of the media library whose scan is cancelled. Required.</param>
/// <param name="ScanId">The Id of scan to cancel. Required.</param>
[DebuggerDisplay("LibraryId: {LibraryId}; ScanId: {ScanId}")]
public record CancelLibraryScanRequest(
Guid Id
Guid LibraryId,
Guid ScanId
);
@@ -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 to be deleted. Required.</param>
/// <param name="Id">The unique identifier of the media library to be deleted. Required.</param>
[DebuggerDisplay("Id: {Id}")]
public record DeleteLibraryRequest(
Guid Id
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to get a media library by its Id.
/// </summary>
/// <param name="Id">The Id of the media library. Required.</param>
/// <param name="Id">The unique identifier of the media library. Required.</param>
[DebuggerDisplay("Id: {Id}")]
public record GetLibraryRequest(
Guid Id
@@ -8,7 +8,7 @@ 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>
/// <param name="Id">The unique identifier of the media library to be scanned. Required.</param>
[DebuggerDisplay("Id: {Id}")]
public record ScanLibraryRequest(
Guid Id
@@ -10,8 +10,8 @@ namespace Lumina.Contracts.Requests.MediaLibrary.Management;
/// <summary>
/// Represents a request to update a media library.
/// </summary>
/// <param name="Id">The Id of the media library. Required.</param>
/// <param name="UserId">The Id of the user owning the media library. Required.</param>
/// <param name="Id">The unique identifier of the media library. Required.</param>
/// <param name="UserId">The unique identifier of the user owning the media library. Required.</param>
/// <param name="Title">The title of the media library. Required.</param>
/// <param name="LibraryType">The type of the media library. Required.</param>
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located. Required.</param>
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.MediaLibrary.WrittenContentLibrary.BookLibra
/// <summary>
/// Represents a request to get a book by the specified Id.
/// </summary>
/// <param name="Id">The Id of the book to retrieve.</param>
/// <param name="Id">The unique identifier of the book to retrieve.</param>
[DebuggerDisplay("Id: {Id}")]
public record GetBookRequest(
string? Id