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>
18 lines
620 B
C#
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
|
|
}
|