Skip to content

Commit b52f994

Browse files
authored
Merge pull request #29 from mario-nt/28-types-for-new-api-endpoint-for-listing-users
Types for new API endpoint for listing users
2 parents 6396a5c + 777670a commit b52f994

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)