Remove deprecated statistics interface; add getLoggedInUser op.
This commit is contained in:
@@ -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!
|
||||
}
|
||||
|
Reference in New Issue
Block a user