friends system (UI WIP)

This commit is contained in:
2025-12-14 01:34:17 +08:00
parent b34c55746a
commit b10b206b48
10 changed files with 279 additions and 19 deletions

View File

@@ -1,10 +1,11 @@
use serde::{Deserialize, Serialize};
use ts_rs::TS;
use crate::remotes::user::UserProfile;
use crate::remotes::{friends::FriendshipResponseDto, user::UserProfile};
#[derive(Default, Serialize, Deserialize, Clone, Debug, TS)]
#[ts(export)]
pub struct AppData {
pub user: Option<UserProfile>,
pub friends: Option<Vec<FriendshipResponseDto>>,
}