added room actions: leave, delete and transfer ownership

This commit is contained in:
2026-01-17 00:09:24 +01:00
parent 96837fcc21
commit 4a833b592c
4 changed files with 379 additions and 6 deletions

View File

@@ -27,6 +27,12 @@ pub struct User {
pub email: String,
}
#[derive(sqlx::FromRow, serde::Serialize)]
pub struct UserProfile {
pub uuid: Uuid,
pub username: String,
}
#[derive(serde::Deserialize)]
pub struct LoginPayload {
pub email: String,