mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
586 B
18 lines
586 B
using ErsatzTV.Core.Domain; |
|
using ErsatzTV.Core.Domain.Scheduling; |
|
|
|
namespace ErsatzTV.Core.Scheduling; |
|
|
|
public record PlayoutBuildResult( |
|
bool ClearItems, |
|
Option<DateTimeOffset> RemoveBefore, |
|
Option<DateTimeOffset> RemoveAfter, |
|
List<PlayoutItem> AddedItems, |
|
List<int> ItemsToRemove, |
|
List<PlayoutHistory> AddedHistory, |
|
List<int> HistoryToRemove, |
|
Option<DateTimeOffset> TimeShiftTo) |
|
{ |
|
public static PlayoutBuildResult Empty => |
|
new(false, Option<DateTimeOffset>.None, Option<DateTimeOffset>.None, [], [], [], [], Option<DateTimeOffset>.None); |
|
} |