Files
Moonlight/Moonlight.Shared/Http/Events/RebuildEvent.cs

20 lines
359 B
C#

using System.Text.Json.Serialization;
namespace Moonlight.Shared.Http.Events;
public struct RebuildEvent
{
[JsonPropertyName("type")]
public RebuildEventType Type { get; set; }
[JsonPropertyName("data")]
public string Data { get; set; }
}
public enum RebuildEventType
{
Log = 0,
Failed = 1,
Succeeded = 2,
Step = 3
}