feat(presentation): ActivityPub routes — WebFinger, NodeInfo, inbox, outbox

This commit is contained in:
2026-05-14 10:28:22 +02:00
parent 2080fec347
commit e0a27c99a4
5 changed files with 62 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
use std::sync::Arc;
use domain::ports::*;
use activitypub_base::ApFederationConfig;
#[derive(Clone)]
pub struct AppState {
@@ -19,4 +20,5 @@ pub struct AppState {
pub auth: Arc<dyn AuthService>,
pub hasher: Arc<dyn PasswordHasher>,
pub events: Arc<dyn EventPublisher>,
pub fed_config: ApFederationConfig,
}