32 lines
1.2 KiB
C#
32 lines
1.2 KiB
C#
using System.Text.Json.Serialization;
|
|
using Moonlight.Shared.Http.Requests.ApiKeys;
|
|
using Moonlight.Shared.Http.Requests.Roles;
|
|
using Moonlight.Shared.Http.Requests.Users;
|
|
using Moonlight.Shared.Http.Responses;
|
|
using Moonlight.Shared.Http.Responses.Admin;
|
|
using Moonlight.Shared.Http.Responses.ApiKeys;
|
|
using Moonlight.Shared.Http.Responses.Auth;
|
|
using Moonlight.Shared.Http.Responses.Users;
|
|
|
|
namespace Moonlight.Shared.Http;
|
|
|
|
[JsonSerializable(typeof(CreateUserDto))]
|
|
[JsonSerializable(typeof(UpdateUserDto))]
|
|
[JsonSerializable(typeof(ClaimDto[]))]
|
|
[JsonSerializable(typeof(SchemeDto[]))]
|
|
[JsonSerializable(typeof(DiagnoseResultDto[]))]
|
|
[JsonSerializable(typeof(UserDto))]
|
|
[JsonSerializable(typeof(SystemInfoDto))]
|
|
[JsonSerializable(typeof(PagedData<UserDto>))]
|
|
[JsonSerializable(typeof(PagedData<RoleDto>))]
|
|
[JsonSerializable(typeof(RoleDto))]
|
|
[JsonSerializable(typeof(CreateRoleDto))]
|
|
[JsonSerializable(typeof(UpdateRoleDto))]
|
|
[JsonSerializable(typeof(CreateApiKeyDto))]
|
|
[JsonSerializable(typeof(UpdateApiKeyDto))]
|
|
[JsonSerializable(typeof(UpdateApiKeyDto))]
|
|
[JsonSerializable(typeof(PagedData<ApiKeyDto>))]
|
|
[JsonSerializable(typeof(ApiKeyDto))]
|
|
public partial class SerializationContext : JsonSerializerContext
|
|
{
|
|
} |