Skip to content

Commit 777670a

Browse files
committed
feat: [#28] new type for user profiles
1 parent 6396a5c commit 777670a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/types/user.ts

+9
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@ export type TokenResponse = {
33
username: string
44
admin: boolean
55
}
6+
7+
export type UserProfile = {
8+
user_id: number
9+
username: string
10+
email: string
11+
email_verified: boolean
12+
bio: string
13+
avatar: string
14+
}

0 commit comments

Comments
 (0)