feat(domain): add list_mutual to FollowRepository, add remote actor storage to TestStore

This commit is contained in:
2026-05-28 03:37:41 +02:00
parent 4d4171a9c5
commit a6a555e6a7
3 changed files with 87 additions and 2 deletions

View File

@@ -171,6 +171,11 @@ pub trait FollowRepository: Send + Sync {
&self,
user_id: &UserId,
) -> Result<Vec<UserId>, DomainError>;
async fn list_mutual(
&self,
user_id: &UserId,
page: &PageParams,
) -> Result<Paginated<User>, DomainError>;
}
#[async_trait]