using NostrStreamer.Database; namespace NostrStreamer.Services.Dvr; public interface IDvrStore { /// /// Upload a DVR recording to storage and return the URL /// /// /// /// Task UploadRecording(UserStream stream, Uri source); /// /// Delete all recordings from the storage by stream /// /// /// List of deleted recordings Task> DeleteRecordings(UserStream stream); } public record UploadResult(Guid Id, Uri Result, double Duration);