feat(domain): add actor_json to FederationActionPort

This commit is contained in:
2026-05-14 20:46:10 +02:00
parent 812cf7b140
commit 57110f3b75
2 changed files with 12 additions and 0 deletions

View File

@@ -198,6 +198,7 @@ pub trait RemoteActorRepository: Send + Sync {
pub trait FederationActionPort: Send + Sync {
async fn lookup_actor(&self, handle: &str) -> Result<RemoteActor, DomainError>;
async fn follow_remote(&self, local_user_id: &UserId, handle: &str) -> Result<(), DomainError>;
async fn actor_json(&self, user_id: &UserId) -> Result<String, DomainError>;
}
#[async_trait]