federation refinement

This commit is contained in:
2026-05-09 13:53:45 +02:00
parent df71748897
commit 470b29c9e1
56 changed files with 1513 additions and 544 deletions

View File

@@ -51,6 +51,7 @@ pub struct LoginForm {
#[derive(Deserialize)]
pub struct RegisterForm {
pub email: String,
pub username: String,
pub password: String,
}
@@ -131,6 +132,7 @@ pub struct LoginResponse {
#[derive(Deserialize)]
pub struct RegisterRequest {
pub email: String,
pub username: String,
pub password: String,
}
@@ -244,6 +246,11 @@ pub struct UnfollowForm {
pub actor_url: String,
}
#[derive(Deserialize)]
pub struct FollowerActionForm {
pub actor_url: String,
}
#[derive(serde::Deserialize, Default)]
pub struct ProfileQueryParams {
pub view: Option<String>,