using Newsbot.Collector.Domain.Entities; namespace Newsbot.Collector.Domain.Interfaces; public interface IAuthorTable { Task NewAsync(AuthorEntity entity); Task CreateIfMissingAsync(AuthorEntity entity); Task> ListBySourceIdAsync(Guid sourceId); Task TotalPostsAsync(Guid id); Task GetBySourceIdAndNameAsync(Guid sourceId, string name); Task GetById(Guid id); }