2018-11-14 23:18:02 +00:00
|
|
|
|
using Roadie.Library;
|
2018-11-12 00:28:37 +00:00
|
|
|
|
using Roadie.Library.Models.Statistics;
|
2018-12-09 03:16:05 +00:00
|
|
|
|
using System.Collections.Generic;
|
2018-11-14 23:18:02 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2018-11-12 00:28:37 +00:00
|
|
|
|
|
|
|
|
|
namespace Roadie.Api.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IStatisticsService
|
|
|
|
|
{
|
2019-11-17 20:02:19 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<IEnumerable<DateAndCount>>> ArtistsByDateAsync();
|
|
|
|
|
Task<OperationResult<LibraryStats>> LibraryStatisticsAsync();
|
2019-01-08 22:40:26 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<IEnumerable<DateAndCount>>> ReleasesByDateAsync();
|
2019-11-17 20:02:19 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<IEnumerable<DateAndCount>>> ReleasesByDecadeAsync();
|
2019-11-17 20:02:19 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<IEnumerable<DateAndCount>>> SongsPlayedByDateAsync();
|
2019-11-17 20:02:19 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<IEnumerable<DateAndCount>>> SongsPlayedByUserAsync();
|
2019-11-17 20:02:19 +00:00
|
|
|
|
|
2018-11-12 00:28:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|