using ErsatzTV.Application.Configuration;

namespace ErsatzTV.Controllers.Api.Requests;

/// <summary>Library scan cadence. <see cref="LibraryRefreshInterval" /> is expressed in hours.</summary>
public record UpdateScannerSettingsRequest(int LibraryRefreshInterval)
{
    public UpdateLibraryRefreshInterval ToCommand() => new(LibraryRefreshInterval);
}
