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

@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Responses.Authentication;
/// <summary>
/// Represents the response model for user authentication.
/// </summary>
/// <param name="Id">The Id of the user to authenticate.</param>
/// <param name="Id">The unique identifier of the user to authenticate.</param>
/// <param name="Username">The username of the user to authenticate.</param>
/// <param name="Token">The authentication token used for subsequent requests.</param>
/// <param name="UsesTotp">Whether the user uses 2FA authentication, or not.</param>
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Responses.Authentication;
/// <summary>
/// Represents the response model for user registration.
/// </summary>
/// <param name="Id">The Id of the user.</param>
/// <param name="Id">The unique identifier of the user.</param>
/// <param name="Username">The username of the user.</param>
/// <param name="TotpSecret">The TOTP (Time-Based One-Time Password) secret used for two-factor authentication.</param>
[DebuggerDisplay("Username: {Username}")]
@@ -10,7 +10,7 @@ namespace Lumina.Contracts.Responses.Authorization;
/// <summary>
/// Represents the response model for an account authorization request.
/// </summary>
/// <param name="UserId">The Id of the user for whom the authorization is retrieved.</param>
/// <param name="UserId">The unique identifier of the user for whom the authorization is retrieved.</param>
/// <param name="Role">The collection of roles associated to the user.</param>
/// <param name="Permissions">The collection of permissions associated to the user.</param>
[DebuggerDisplay("UserId: {UserId}")]
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Responses.Authorization;
/// <summary>
/// Represents the response model for a request for an of authorization permission.
/// </summary>
/// <param name="Id">The Id of the requested authorization permission.</param>
/// <param name="Id">The unique identifier of the requested authorization permission.</param>
/// <param name="PermissionName">The requested authorization permission.</param>
public record PermissionResponse(
Guid Id,
@@ -7,7 +7,7 @@ namespace Lumina.Contracts.Responses.Authorization;
/// <summary>
/// Represents the response model for a request for an authorization role.
/// </summary>
/// <param name="Id">The Id of the requested authorization role.</param>
/// <param name="Id">The unique identifier of the requested authorization role.</param>
/// <param name="RoleName">The requested authorization role.</param>
public record RoleResponse(
Guid Id,
@@ -10,8 +10,8 @@ namespace Lumina.Contracts.Responses.MediaLibrary.Management;
/// <summary>
/// Represents a media library response.
/// </summary>
/// <param name="Id">The Id of the media library.</param>
/// <param name="UserId">The Id of the user owning the media library.</param>
/// <param name="Id">The unique identifier of the media library.</param>
/// <param name="UserId">The unique identifier of the user owning the media library.</param>
/// <param name="Title">The title of the media library.</param>
/// <param name="LibraryType">The type of the media library.</param>
/// <param name="ContentLocations">The file system paths of the directories where the media library elements are located.</param>
@@ -8,8 +8,8 @@ namespace Lumina.Contracts.Responses.MediaLibrary.Management;
/// <summary>
/// Represents a media library scan response.
/// </summary>
/// <param name="ScanId">The Id of the media library scan.</param>
/// <param name="LibraryId">The Id of the scanned media library.</param>
/// <param name="ScanId">The unique identifier of the media library scan.</param>
/// <param name="LibraryId">The unique identifier of the scanned media library.</param>
[DebuggerDisplay("ScanId: {ScanId} LibraryId: {LibraryId}")]
public record ScanLibraryResponse(
Guid ScanId,