moved models from remote to models folder

This commit is contained in:
2026-01-21 17:38:45 +08:00
parent 5145ebaf11
commit 7f37a3f8c2
13 changed files with 170 additions and 161 deletions

View File

@@ -0,0 +1,19 @@
use serde::{Deserialize, Serialize};
use ts_rs::TS;
#[derive(Default, Serialize, Deserialize, Clone, Debug, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export)]
pub struct UserProfile {
pub id: String,
pub keycloak_sub: String,
pub name: String,
pub email: String,
pub username: Option<String>,
pub roles: Vec<String>,
pub created_at: String,
pub updated_at: String,
pub last_login_at: Option<String>,
pub active_doll_id: Option<String>,
}