mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Moves media library scanning to domain layer
This commit is contained in:
1 parent
8b51abe0b2
commit
c4246d2e69
209 files changed
+3793
-641
No files matched your search
@@ -8,7 +8,7 @@ namespace Lumina.Contracts.Requests.Authorization;
|
||||
/// <summary>
|
||||
/// Represents a request for deleting an authorization role.
|
||||
/// </summary>
|
||||
/// <param name="RoleId">The Id of the role. Required.</param>
|
||||
/// <param name="RoleId">The unique identifier of the role. Required.</param>
|
||||
[DebuggerDisplay("RoleId: {RoleId}")]
|
||||
public record DeleteRoleRequest(
|
||||
Guid? RoleId
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Lumina.Contracts.Requests.Authorization;
|
||||
/// <summary>
|
||||
/// Represents the request model for retrieving account authorization information.
|
||||
/// </summary>
|
||||
/// <param name="UserId">The Id of the user for whom to get the authorization. Required.</param>
|
||||
/// <param name="UserId">The unique identifier of the user for whom to get the authorization. Required.</param>
|
||||
public record GetAuthorizationRequest(
|
||||
Guid? UserId
|
||||
);
|
||||
@@ -7,7 +7,7 @@ namespace Lumina.Contracts.Requests.Authorization;
|
||||
/// <summary>
|
||||
/// Represents the request model for retrieving the authorization permissions of a user identified by <paramref name="UserId"/>.
|
||||
/// </summary>
|
||||
/// <param name="UserId">The Id of the user for whom to get the authorization permissions. Required.</param>
|
||||
/// <param name="UserId">The unique identifier of the user for whom to get the authorization permissions. Required.</param>
|
||||
public record GetUserPermissionsRequest(
|
||||
Guid? UserId
|
||||
);
|
||||
@@ -7,7 +7,7 @@ namespace Lumina.Contracts.Requests.Authorization;
|
||||
/// <summary>
|
||||
/// Represents the request model for retrieving the authorization role of a user identified by <paramref name="UserId"/>.
|
||||
/// </summary>
|
||||
/// <param name="UserId">The Id of the user for whom to get the authorization role. Required.</param>
|
||||
/// <param name="UserId">The unique identifier of the user for whom to get the authorization role. Required.</param>
|
||||
public record GetUserRoleRequest(
|
||||
Guid? UserId
|
||||
);
|
||||
@@ -9,7 +9,7 @@ namespace Lumina.Contracts.Requests.Authorization;
|
||||
/// <summary>
|
||||
/// Represents a request for updating an existing authorization role.
|
||||
/// </summary>
|
||||
/// <param name="RoleId">The Id of the role. Required.</param>
|
||||
/// <param name="RoleId">The unique identifier of the role. Required.</param>
|
||||
/// <param name="RoleName">The name of the role. Required.</param>
|
||||
/// <param name="Permissions">The collection of Ids of the permissions of the role. Required.</param>
|
||||
[DebuggerDisplay("RoleName: {RoleName}")]
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace Lumina.Contracts.Requests.Authorization;
|
||||
/// <summary>
|
||||
/// Represents a request for updating the authorization role and permissions of a user.
|
||||
/// </summary>
|
||||
/// <param name="UserId">The Id of the user. Required.</param>
|
||||
/// <param name="RoleId">The Id of the role. Optional.</param>
|
||||
/// <param name="UserId">The unique identifier of the user. Required.</param>
|
||||
/// <param name="RoleId">The unique identifier of the role. Optional.</param>
|
||||
/// <param name="Permissions">The collection of Ids of the permissions of the role. Optional.</param>
|
||||
[DebuggerDisplay("UserId: {UserId}")]
|
||||
public record UpdateUserRoleAndPermissionsRequest(
|
||||
|
||||
@@ -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>
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user