Refactor various components to improve code clarity and maintainability. Update ListUsersQueryHandler to utilize UserListFilter for parameter handling. Refactor BumperSpecFactory and related classes to encapsulate input parameters into dedicated records, enhancing readability. Adjust MediaAsset and Slot classes to streamline content updates with new content models. Improve BumperRenderBackgroundService and MediaProcessingBackgroundService to use MediaReadyInfo for asset readiness, ensuring consistent parameter management across the application.
This commit is contained in:
@@ -142,13 +142,15 @@ public sealed class GridScheduleGenerator(
|
||||
ToEntryKind(item.Kind),
|
||||
item.StartsAtUtc,
|
||||
item.EndsAtUtc,
|
||||
item.ShowId,
|
||||
item.UnitIndex,
|
||||
item.SlotId,
|
||||
item.Trace is null
|
||||
? null
|
||||
: JsonSerializer.Serialize(item.Trace, TraceJsonOptions),
|
||||
item.CollectionId
|
||||
new ScheduleEntryOrigin(
|
||||
item.ShowId,
|
||||
item.UnitIndex,
|
||||
item.SlotId,
|
||||
item.Trace is null
|
||||
? null
|
||||
: JsonSerializer.Serialize(item.Trace, TraceJsonOptions),
|
||||
item.CollectionId
|
||||
)
|
||||
)
|
||||
);
|
||||
added++;
|
||||
|
||||
Reference in New Issue
Block a user