2018-11-11 20:10:10 +00:00
|
|
|
|
using Microsoft.Net.Http.Headers;
|
2018-11-11 01:11:58 +00:00
|
|
|
|
using Roadie.Library;
|
2018-11-11 20:45:44 +00:00
|
|
|
|
using Roadie.Library.Models.Users;
|
2018-11-11 20:10:10 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Threading.Tasks;
|
2018-11-11 01:11:58 +00:00
|
|
|
|
|
|
|
|
|
namespace Roadie.Api.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IImageService
|
|
|
|
|
{
|
2018-11-11 16:20:33 +00:00
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> ArtistThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
2018-11-11 20:10:10 +00:00
|
|
|
|
|
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> CollectionThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
|
|
2018-11-11 20:45:44 +00:00
|
|
|
|
Task<OperationResult<bool>> Delete(User roadieUser, Guid id);
|
|
|
|
|
|
2018-11-11 20:10:10 +00:00
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> ImageById(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
|
|
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> LabelThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
|
|
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> PlaylistThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
|
|
2018-11-11 17:27:13 +00:00
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> ReleaseThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
2018-11-11 20:10:10 +00:00
|
|
|
|
|
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> TrackThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
|
|
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> UserThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
2018-11-11 01:11:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|