using System.Text.Json.Serialization; using Moonlight.Shared.Http.Events; using Moonlight.Shared.Http.Requests.ApiKeys; using Moonlight.Shared.Http.Requests.Roles; using Moonlight.Shared.Http.Requests.Themes; 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.Themes; using Moonlight.Shared.Http.Responses.Users; namespace Moonlight.Shared.Http; // Users [JsonSerializable(typeof(CreateUserDto))] [JsonSerializable(typeof(UpdateUserDto))] [JsonSerializable(typeof(PagedData))] [JsonSerializable(typeof(UserDto))] // Auth [JsonSerializable(typeof(ClaimDto[]))] [JsonSerializable(typeof(SchemeDto[]))] // System [JsonSerializable(typeof(DiagnoseResultDto[]))] [JsonSerializable(typeof(SystemInfoDto))] // Roles [JsonSerializable(typeof(CreateRoleDto))] [JsonSerializable(typeof(UpdateRoleDto))] [JsonSerializable(typeof(PagedData))] [JsonSerializable(typeof(RoleDto))] // API Keys [JsonSerializable(typeof(CreateApiKeyDto))] [JsonSerializable(typeof(UpdateApiKeyDto))] [JsonSerializable(typeof(PagedData))] [JsonSerializable(typeof(ApiKeyDto))] // Themes [JsonSerializable(typeof(CreateThemeDto))] [JsonSerializable(typeof(UpdateThemeDto))] [JsonSerializable(typeof(PagedData))] [JsonSerializable(typeof(ThemeDto))] // Events [JsonSerializable(typeof(RebuildEvent))] // Container Helper [JsonSerializable(typeof(ContainerHelperStatusDto))] // Misc [JsonSerializable(typeof(ProblemDetails))] public partial class SerializationContext : JsonSerializerContext { }