feat: extend user API with contribution history and verified count

This commit is contained in:
2026-04-26 09:47:38 -05:00
parent 53d0a52c07
commit 8301562613
2 changed files with 111 additions and 1 deletions
+17
View File
@@ -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
}