feat(api): add schedule item duration estimates

refs #111
This commit is contained in:
2026-07-03 23:41:57 +02:00
parent d0652d4adb
commit 4b4e2b2f82
7 changed files with 304 additions and 27 deletions
@@ -10,9 +10,8 @@ namespace ErsatzTV.Application.ProgramSchedules;
/// <param name="TotalDurationEstimate">
/// The sum of every non-null per-item estimate, i.e. a rough runtime for a single pass through the
/// estimable items. <c>null</c> when no item in the schedule could be estimated (for example a
/// schedule made up entirely of Flood/Duration items, or of collection types that are not
/// aggregated). Because unbounded items contribute nothing, this is a lower bound, never an exact
/// schedule length.
/// schedule made up entirely of Flood items, or of collection types that are not aggregated).
/// Because unbounded items contribute nothing, this is a lower bound, never an exact schedule length.
/// </param>
public record ProgramScheduleItemsWithDurationViewModel(
List<ProgramScheduleItemViewModel> Items,