fix(backend): make API types internal

This commit is contained in:
2026-05-07 14:06:37 -04:00
parent d1621ecb36
commit 9022fa7d93
208 changed files with 347 additions and 344 deletions

View File

@@ -4,7 +4,7 @@ using Socialize.Api.Modules.Identity.Models;
namespace Socialize.Api.Modules.Identity.Data;
public class IdentityService(
internal class IdentityService(
UserManager userManager,
IHttpContextAccessor contextAccessor
)

View File

@@ -2,7 +2,7 @@
namespace Socialize.Api.Modules.Identity.Data;
public class Role : IdentityRole<Guid>
internal class Role : IdentityRole<Guid>
{
public Role() { }
public Role(string roleName) : base(roleName) { }

View File

@@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Identity;
namespace Socialize.Api.Modules.Identity.Data;
public class User : IdentityUser<Guid>
internal class User : IdentityUser<Guid>
{
[MaxLength(256)] public string? Alias { get; set; }
[MaxLength(256)] public string? Firstname { get; set; }

View File

@@ -3,7 +3,7 @@ using Microsoft.Extensions.Options;
namespace Socialize.Api.Modules.Identity.Data;
public sealed class UserManager(
internal sealed class UserManager(
IUserStore<User> store,
IOptions<IdentityOptions> optionsAccessor,
IPasswordHasher<User> passwordHasher,