mirror of
https://github.com/sphildreth/roadie
synced 2024-11-27 06:30:21 +00:00
33 lines
No EOL
1.6 KiB
C#
33 lines
No EOL
1.6 KiB
C#
using Microsoft.Net.Http.Headers;
|
|
using Roadie.Library;
|
|
using Roadie.Library.Models.Users;
|
|
using Roadie.Library.SearchEngines.Imaging;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Roadie.Api.Services
|
|
{
|
|
public interface IImageService
|
|
{
|
|
Task<FileOperationResult<Library.Models.Image>> ArtistThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> CollectionThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
Task<OperationResult<bool>> Delete(User user, Guid id);
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> ById(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
Task<OperationResult<IEnumerable<ImageSearchResult>>> ImageProvidersSearch(string query);
|
|
|
|
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);
|
|
|
|
Task<FileOperationResult<Library.Models.Image>> ReleaseThumbnail(Guid id, int? width, int? height, EntityTagHeaderValue etag = null);
|
|
|
|
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);
|
|
}
|
|
} |