feat: extend user API with contribution history and verified count
This commit is contained in:
@@ -4,6 +4,22 @@ export type ApiError = {
|
||||
status: number
|
||||
}
|
||||
|
||||
export type ContributionEntry = {
|
||||
id: string
|
||||
fpsAvg: number
|
||||
fpsLow: number | null
|
||||
fpsHigh: number | null
|
||||
hardwareSlug: string
|
||||
hardwareName: string
|
||||
fsrVersion: string
|
||||
frameGenMethod: string
|
||||
verifiedAt: string | null
|
||||
createdAt: string
|
||||
gameTitle: string
|
||||
gameId: string
|
||||
gameHeaderImage: string | null
|
||||
}
|
||||
|
||||
export type UserProfile = {
|
||||
id: string
|
||||
name: string
|
||||
@@ -12,6 +28,7 @@ export type UserProfile = {
|
||||
role: string | null
|
||||
createdAt: string
|
||||
contributions: number
|
||||
verifiedEntries: number
|
||||
reputation: number
|
||||
verified: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user