a19a734757
Add GET api/track/{trackEntryKey}/waveform/high-res (+ proxy), ITrackDataService.GetTrackWaveform; rewire visualizer to resolve the current track's EntryKey and re-fetch on track change. Retire the client mix-waveform read path.
28 lines
1.1 KiB
C#
28 lines
1.1 KiB
C#
using DeepDrftModels.DTOs;
|
|
using Models.Common;
|
|
using NetBlocks.Models;
|
|
|
|
namespace DeepDrftPublic.Client.Services;
|
|
|
|
/// <summary>
|
|
/// Release read abstraction (Phase 9). Both SSR and WASM renders are served by
|
|
/// <c>ReleaseClientDataService</c> in this assembly, which delegates to
|
|
/// <see cref="Clients.ReleaseClient"/> over HTTP. Components inject this single seam
|
|
/// so they do not branch on render mode — mirrors <see cref="ITrackDataService"/>.
|
|
/// </summary>
|
|
public interface IReleaseDataService
|
|
{
|
|
/// <summary>Paged releases, optionally narrowed by medium ("cut" | "session" | "mix"), free-text search, and genre.</summary>
|
|
Task<ApiResult<PagedResult<ReleaseDto>>> GetPaged(
|
|
string? medium,
|
|
int page,
|
|
int pageSize,
|
|
string? sortColumn = null,
|
|
bool sortDescending = false,
|
|
string? search = null,
|
|
string? genre = null);
|
|
|
|
/// <summary>Single release resolved by its opaque public EntryKey, with both metadata satellites (nulls for non-matching media).</summary>
|
|
Task<ApiResult<ReleaseDto>> GetByEntryKey(string entryKey);
|
|
}
|