21 lines
505 B
C#
21 lines
505 B
C#
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
using Moonlight.Shared.Http.Responses;
|
|
using MoonlightServers.Shared.Admin.Nodes;
|
|
|
|
namespace MoonlightServers.Shared;
|
|
|
|
// Admin
|
|
|
|
// - Node
|
|
[JsonSerializable(typeof(CreateNodeDto))]
|
|
[JsonSerializable(typeof(UpdateNodeDto))]
|
|
[JsonSerializable(typeof(NodeDto))]
|
|
[JsonSerializable(typeof(PagedData<NodeDto>))]
|
|
|
|
|
|
[JsonSourceGenerationOptions(JsonSerializerDefaults.Web)]
|
|
public partial class SerializationContext : JsonSerializerContext
|
|
{
|
|
|
|
} |