feat(release): front int PK with app-minted GUID EntryKey on the public addressing surface (P11 W5, 11.H)
This commit is contained in:
@@ -22,12 +22,13 @@ public interface IReleaseDataService
|
||||
string? search = null,
|
||||
string? genre = null);
|
||||
|
||||
/// <summary>Single release with both metadata satellites (nulls for non-matching media).</summary>
|
||||
Task<ApiResult<ReleaseDto>> GetById(long id);
|
||||
/// <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);
|
||||
|
||||
/// <summary>
|
||||
/// The Mix waveform datum. Success with a value when present; success with a null value when
|
||||
/// no datum is stored (a valid state, not a failure); failure on any other transport error.
|
||||
/// The Mix waveform datum for a release addressed by its public EntryKey. Success with a value
|
||||
/// when present; success with a null value when no datum is stored (a valid state, not a failure);
|
||||
/// failure on any other transport error.
|
||||
/// </summary>
|
||||
Task<ApiResult<WaveformProfileDto?>> GetMixWaveform(long id);
|
||||
Task<ApiResult<WaveformProfileDto?>> GetMixWaveform(string entryKey);
|
||||
}
|
||||
|
||||
@@ -29,9 +29,9 @@ public class ReleaseClientDataService : IReleaseDataService
|
||||
string? genre = null)
|
||||
=> _releaseClient.GetPaged(medium, page, pageSize, sortColumn, sortDescending, search, genre);
|
||||
|
||||
public Task<ApiResult<ReleaseDto>> GetById(long id)
|
||||
=> _releaseClient.GetById(id);
|
||||
public Task<ApiResult<ReleaseDto>> GetByEntryKey(string entryKey)
|
||||
=> _releaseClient.GetByEntryKey(entryKey);
|
||||
|
||||
public Task<ApiResult<WaveformProfileDto?>> GetMixWaveform(long id)
|
||||
=> _releaseClient.GetMixWaveform(id);
|
||||
public Task<ApiResult<WaveformProfileDto?>> GetMixWaveform(string entryKey)
|
||||
=> _releaseClient.GetMixWaveform(entryKey);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user