mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14: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
+1
-1
@@ -9,7 +9,7 @@ namespace Lumina.Presentation.Web.Common.Models.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 role 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.Presentation.Web.Common.Models.Authorization;
|
||||
/// <summary>
|
||||
/// Represents a model for an authorization permission.
|
||||
/// </summary>
|
||||
/// <param name="Id">The Id of the authorization permission.</param>
|
||||
/// <param name="Id">The unique identifier of the authorization permission.</param>
|
||||
/// <param name="PermissionName">The authorization permission.</param>
|
||||
public record PermissionModel(
|
||||
Guid Id,
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Lumina.Presentation.Web.Common.Models.Authorization;
|
||||
/// <summary>
|
||||
/// Represents a model for an authorization role.
|
||||
/// </summary>
|
||||
/// <param name="Id">The Id of the authorization role.</param>
|
||||
/// <param name="Id">The unique identifier of the authorization role.</param>
|
||||
/// <param name="RoleName">The authorization role.</param>
|
||||
public record RoleModel(
|
||||
Guid Id,
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Models.Authorization;
|
||||
/// <summary>
|
||||
/// Represents the request model for updating an existing authorization role.
|
||||
/// </summary>
|
||||
/// <param name="RoleId">The Id of the role.</param>
|
||||
/// <param name="RoleId">The unique identifier of the role.</param>
|
||||
/// <param name="RoleName">The name of the role.</param>
|
||||
/// <param name="Permissions">The collection of Ids of the permissions of the role.</param>
|
||||
public record UpdateRoleRequestModel(
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ namespace Lumina.Presentation.Web.Common.Models.Authorization;
|
||||
/// <summary>
|
||||
/// Represents the request model for updating the authorization role and permissions of a user.
|
||||
/// </summary>
|
||||
/// <param name="RoleId">The Id of the user.</param>
|
||||
/// <param name="RoleId">The Id of the role.</param>
|
||||
/// <param name="RoleId">The unique identifier of the user.</param>
|
||||
/// <param name="RoleId">The unique identifier of the role.</param>
|
||||
/// <param name="Permissions">The collection of Ids of the permissions of the user.</param>
|
||||
public record UpdateUserRoleAndPermissionsRequestModel(
|
||||
Guid UserId,
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Lumina.Presentation.Web.Common.Models.UsersManagement;
|
||||
/// <summary>
|
||||
/// Represents the response model for a user authentication.
|
||||
/// </summary>
|
||||
/// <param name="Id">The Id of the logged in user.</param>
|
||||
/// <param name="Id">The unique identifier of the logged in user.</param>
|
||||
/// <param name="Username">The username of the logged in user.</param>
|
||||
/// <param name="Token">The JWT authentication token, <see langword="null"/> if authentication failed or TOTP is required.</param>
|
||||
/// <param name="UsesTotp">Indicates whether the user has Two-Factor Authentication enabled, or not.</param>
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Lumina.Presentation.Web.Common.Models.UsersManagement;
|
||||
/// <summary>
|
||||
/// Represents a model for a user.
|
||||
/// </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>
|
||||
public record UserModel(
|
||||
Guid Id,
|
||||
|
||||
Reference in new issue
Block a user