feat: implement federated profile handling with support for remote actor URLs across multiple components
All checks were successful
CI / Check / Test (push) Successful in 1h7m53s

This commit is contained in:
2026-07-01 00:13:28 +02:00
parent d7fbf8d9e2
commit 9794babe06
25 changed files with 436 additions and 50 deletions

View File

@@ -0,0 +1,11 @@
use async_trait::async_trait;
use crate::{errors::DomainError, models::FederatedProfile};
#[async_trait]
pub trait FederatedProfileQuery: Send + Sync {
async fn get_federated_profile(
&self,
synthetic_user_id: uuid::Uuid,
) -> Result<Option<FederatedProfile>, DomainError>;
}

View File

@@ -1,6 +1,7 @@
pub mod auth;
pub mod diary;
pub mod events;
pub mod federated_profile;
pub mod goals;
pub mod images;
pub mod import;
@@ -16,6 +17,7 @@ pub mod wrapup;
pub use auth::*;
pub use diary::*;
pub use events::*;
pub use federated_profile::*;
pub use goals::*;
pub use images::*;
pub use import::*;