Merge pull request 'Add get shot annotations query' (#14) from ivan/add-get-shot-annotations-query into master
Reviewed-on: #14
This commit is contained in:
commit
524d469a0d
@ -652,6 +652,7 @@ export type Query = {
|
||||
getDeployedConfig: DeployedConfigGql;
|
||||
getLoggedInUser?: Maybe<UserGql>;
|
||||
getPlayTime: UserPlayTimeGql;
|
||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||
getShots: Array<ShotGql>;
|
||||
getUser?: Maybe<UserGql>;
|
||||
getUserVideos: VideoHistoryGql;
|
||||
@ -714,6 +715,12 @@ export type ShotAnnotationInput = {
|
||||
name: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type ShotAnnotationTypeGql = {
|
||||
__typename?: "ShotAnnotationTypeGQL";
|
||||
id: Scalars["Int"]["output"];
|
||||
name: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export enum ShotDirectionEnum {
|
||||
Left = "LEFT",
|
||||
Right = "RIGHT",
|
||||
|
@ -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!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user