using System.Collections.Generic; using System.Threading.Tasks; using BirdsiteLive.DAL.Models; namespace BirdsiteLive.DAL.Contracts { public interface IFollowersDal { Task GetFollowerAsync(string acct, string host); Task CreateFollowerAsync(string acct, string host, string inboxRoute, string sharedInboxRoute, string actorId, int[] followings = null, Dictionary followingSyncStatus = null); Task GetFollowersAsync(int followedUserId); Task GetAllFollowersAsync(); Task UpdateFollowerAsync(Follower follower); Task DeleteFollowerAsync(int id); Task DeleteFollowerAsync(string acct, string host); Task GetFollowersCountAsync(); Task GetFailingFollowersCountAsync(); } }