Refactor bumper template background management: rename background upload endpoint to reflect new functionality, update related command and handler to use image ID instead of extension, and adjust data models to support image references. Remove obsolete background handling code and enhance UI components for improved image selection and display.

This commit is contained in:
Leonid Pershin committed 2026-07-25 11:56:36 +03:00
1 parent a970eae7d2
commit 7efd616c29
35 files changed
+1227 -279

No files matched your search

@@ -56,7 +56,7 @@ public sealed class GetPublicEpgQueryHandler(IAppDbContext dbContext)
e.Id,
e.Title,
e.Overview,
e.StillPath,
e.StillImageId,
})
.ToListAsync(cancellationToken);
var episodeByKey = episodes
@@ -82,7 +82,7 @@ public sealed class GetPublicEpgQueryHandler(IAppDbContext dbContext)
episode?.Id,
episode?.Title,
episode?.Overview,
episode?.StillPath is not null
episode?.StillImageId
);
})
.ToList();
@@ -22,7 +22,7 @@ public sealed record PublicEpgEntryDto(
Guid? EpisodeId,
string? EpisodeTitle,
string? EpisodeOverview,
bool EpisodeHasStill
Guid? EpisodeStillImageId
);
public sealed record LiveSegmentDto(Guid AssetId, int LocalIndex, bool Discontinuity);