activity-pub implementation

This commit is contained in:
2026-05-08 21:26:50 +02:00
parent 940c33047c
commit df71748897
50 changed files with 2724 additions and 97 deletions

View File

@@ -234,11 +234,22 @@ impl From<DiaryQueryParams> for GetDiaryQuery {
}
}
#[derive(Deserialize)]
pub struct FollowForm {
pub handle: String,
}
#[derive(Deserialize)]
pub struct UnfollowForm {
pub actor_url: String,
}
#[derive(serde::Deserialize, Default)]
pub struct ProfileQueryParams {
pub view: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub error: Option<String>,
}
#[cfg(test)]