Files
ersatztv/ErsatzTV.Core/Api/Settings/XmltvBlockBehavior.cs
T
timothyandClaude Opus 4.8 fecf16d3d2 feat(api): #288 wrap raw VMs, nullable-honest DTOs, search pageNum
24 #nullable enable flips across ErsatzTV.Core/Api; Collection/Schedule/
SmartCollection/Resolution VMs wrapped in ResponseModels (Version now
header-only, SPA-verified); pageNum threaded into GET /api/search.

Refs #288 #197

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 02:08:12 +02:00

18 lines
620 B
C#

#nullable enable
using System.Text.Json.Serialization;
namespace ErsatzTV.Core.Api.Settings;
/// <summary>
/// Wire-contract mirror of <c>ErsatzTV.Application.Configuration.XmltvBlockBehavior</c>.
/// Duplicated here (rather than referenced directly) because <c>ErsatzTV.Core</c> may not depend on
/// <c>ErsatzTV.Application</c> (see <c>ErsatzTV.Architecture.Tests</c>); the controller mapper translates
/// between the two by value.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<XmltvBlockBehavior>))]
public enum XmltvBlockBehavior
{
SplitTimeEvenly = 0,
UseActualTimes = 1
}