namespace ErsatzTV.Controllers.Api.Requests;

/// <summary>
///     DailyRebuildTime is always applied: a null value clears the daily reset (matches the Blazor
///     "Do not automatically reset" option in SchedulePlayoutReset.razor). ScheduleFile is only valid
///     for Sequential, Scripted, and ExternalJson playouts; omit it (null) to leave it unchanged.
/// </summary>
public record UpdatePlayoutDetailsRequest(TimeSpan? DailyRebuildTime, string ScheduleFile);
