20 lines
362 B
C#
20 lines
362 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Moonlight.Shared.Http.Events;
|
|
|
|
public struct RebuildEventDto
|
|
{
|
|
[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
|
|
} |