fetch user profile (wip)
This commit is contained in:
10
src-tauri/src/models/app_data.rs
Normal file
10
src-tauri/src/models/app_data.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
use ts_rs::TS;
|
||||
|
||||
use crate::remotes::user::UserProfile;
|
||||
|
||||
#[derive(Default, Serialize, Deserialize, Clone, Debug, TS)]
|
||||
#[ts(export)]
|
||||
pub struct AppData {
|
||||
pub user: Option<UserProfile>,
|
||||
}
|
||||
Reference in New Issue
Block a user