Remove deprecated statistics interface; add getLoggedInUser op.

This commit is contained in:
Mike Kalange
2024-03-22 12:45:58 -06:00
parent abfaf06f1a
commit 7889476bc9
3 changed files with 103 additions and 28 deletions

View File

@@ -127,7 +127,6 @@ type UserGQL {
profileImageUri: String
createdAt: DateTime
updatedAt: DateTime
statistics: UserStatisticsGQL!
}
"""
@@ -135,20 +134,6 @@ Date with time (isoformat)
"""
scalar DateTime
type UserStatisticsGQL {
totalShots: Int!
totalShotsMade: Int!
makePercentage: Decimal!
averageTimeBetweenShots: Decimal!
timeSpentPlaying: Decimal!
medianRun: Decimal
}
"""
Decimal (fixed-point)
"""
scalar Decimal
type DeployedConfigGQL {
allowNewUsers: Boolean!
}