using Dpz.Core.Public.ViewModel.AppLogs;
using Seq.Api.Model.Events;
namespace Dpz.Core.Service.RepositoryService;
public interface IAppLogEntryService
{
/// <summary>
/// 获取日志
/// </summary>
/// <param name="filter"></param>
/// <param name="startAtId"></param>
/// <param name="afterId"></param>
/// <param name="pageSize"></param>
/// <returns></returns>
Task<ResultSetPart?> GetPageAsync(
string? filter = null,
string? startAtId = null,
string? afterId = null,
int pageSize = 20);
/// <summary>
/// 获取最新访问次数
/// <param name="days">null is today</param>
/// </summary>
/// <returns></returns>
Task<List<AccessSummary>> GetLatestAccessNumberAsync(int? days = null);
}