Skip to content

Commit

Permalink
Merge pull request #29 from mario-nt/28-types-for-new-api-endpoint-fo…
Browse files Browse the repository at this point in the history
…r-listing-users

Types for new API endpoint for listing users
  • Loading branch information
josecelano authored Jan 22, 2025
2 parents 6396a5c + 777670a commit b52f994
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/types/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@ export type TokenResponse = {
username: string
admin: boolean
}

export type UserProfile = {
user_id: number
username: string
email: string
email_verified: boolean
bio: string
avatar: string
}

0 comments on commit b52f994

Please sign in to comment.