Moved request and responses dtos to correct namespace
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Admin.ApiKeys;
|
||||
|
||||
public record ApiKeyDto(int Id, string Name, string Description, string[] Permissions, string Key, DateTimeOffset CreatedAt, DateTimeOffset UpdatedAt);
|
||||
3
Moonlight.Shared/Http/Responses/Admin/Auth/ClaimDto.cs
Normal file
3
Moonlight.Shared/Http/Responses/Admin/Auth/ClaimDto.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Admin.Auth;
|
||||
|
||||
public record ClaimDto(string Type, string Value);
|
||||
3
Moonlight.Shared/Http/Responses/Admin/Auth/SchemeDto.cs
Normal file
3
Moonlight.Shared/Http/Responses/Admin/Auth/SchemeDto.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Admin.Auth;
|
||||
|
||||
public record SchemeDto(string Name, string DisplayName);
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Admin.Frontend;
|
||||
|
||||
public record FrontendConfigDto(string Name, string? ThemeCss);
|
||||
3
Moonlight.Shared/Http/Responses/Admin/Themes/ThemeDto.cs
Normal file
3
Moonlight.Shared/Http/Responses/Admin/Themes/ThemeDto.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Admin.Themes;
|
||||
|
||||
public record ThemeDto(int Id, string Name, string Author, string Version, string CssContent, bool IsEnabled);
|
||||
3
Moonlight.Shared/Http/Responses/Admin/Users/UserDto.cs
Normal file
3
Moonlight.Shared/Http/Responses/Admin/Users/UserDto.cs
Normal file
@@ -0,0 +1,3 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Admin.Users;
|
||||
|
||||
public record UserDto(int Id, string Username, string Email, DateTimeOffset CreatedAt, DateTimeOffset UpdatedAt);
|
||||
Reference in New Issue
Block a user