Add get shot annotations query
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
2024-07-08 13:18:11 -06:00
parent ba84f6d9c0
commit c7b225ff00
2 changed files with 13 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ type Query {
intervalDuration: Int! = 300
): [MakePercentageIntervalGQL!]!
getShots(filterInput: FilterInput!): [ShotGQL!]!
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
getUser(userId: Int!): UserGQL
getLoggedInUser: UserGQL
getPlayTime(userId: Int!): UserPlayTimeGQL!
@@ -194,6 +195,11 @@ type UserGQL {
updatedAt: DateTime
}
type ShotAnnotationTypeGQL {
id: Int!
name: String!
}
type UserPlayTimeGQL {
totalSeconds: Float!
}