Add getPlayTime endpoint, remove elapsedTime
This commit is contained in:
@@ -5,6 +5,7 @@ type Query {
|
||||
getUser(userId: Int!): UserGQL
|
||||
getLoggedInUser: UserGQL
|
||||
getDeployedConfig: DeployedConfigGQL!
|
||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
||||
getVideo(videoId: Int!): VideoGQL!
|
||||
getShots(filterInput: FilterInput = null): [ShotGQL!]!
|
||||
getBucketSet(keyName: String!): BucketSetGQL
|
||||
@@ -127,7 +128,6 @@ type UserGQL {
|
||||
profileImageUri: String
|
||||
createdAt: DateTime
|
||||
updatedAt: DateTime
|
||||
elapsedTime: Float!
|
||||
}
|
||||
|
||||
"""
|
||||
@@ -139,6 +139,10 @@ type DeployedConfigGQL {
|
||||
allowNewUsers: Boolean!
|
||||
}
|
||||
|
||||
type UserPlayTimeGQL {
|
||||
totalSeconds: Float!
|
||||
}
|
||||
|
||||
type VideoGQL {
|
||||
id: Int!
|
||||
owner: UserGQL
|
||||
|
Reference in New Issue
Block a user