feat(cms): replace home redirect with catalogue dashboard of track/album/genre cards

This commit is contained in:
daniel-c-harvey
2026-06-10 21:35:59 -04:00
parent f8186fb7c7
commit 77dee5eac5
3 changed files with 227 additions and 2 deletions
@@ -82,4 +82,15 @@ public interface ICmsTrackService
/// <c>POST api/track/{entryKey}/waveform</c>. Maps a 404 to a "Track audio not found." failure.
/// </summary>
Task<Result> GenerateWaveformProfileAsync(string entryKey, CancellationToken ct = default);
/// <summary>Returns all distinct albums with track counts from GET api/track/albums.</summary>
Task<ResultContainer<List<AlbumSummaryDto>>> GetAlbumSummariesAsync(CancellationToken ct = default);
/// <summary>Returns all distinct genres with track counts from GET api/track/genres.</summary>
Task<ResultContainer<List<GenreSummaryDto>>> GetGenreSummariesAsync(CancellationToken ct = default);
/// <summary>
/// Returns the total track count by calling GET api/track/page with pageSize=1 and reading TotalCount.
/// </summary>
Task<ResultContainer<int>> GetTrackCountAsync(CancellationToken ct = default);
}