Add user profile to user page

This commit is contained in:
3nprob
2021-10-08 16:38:43 +09:00
parent bb846def85
commit 2678450ecf
5 changed files with 98 additions and 7 deletions

13
src/types/index.d.ts vendored
View File

@@ -128,3 +128,16 @@ interface TagResult extends PostTag {
success: boolean;
status: number;
}
interface UserResult {
id: number;
username: string;
bio: string;
reputation_count: number;
reputation_name: string;
avatar_id: string;
avatar_url: string;
cover_id: string;
cover_url: string;
created_at: string;
}