Add get shot annotations query
All checks were successful
Tests / Tests (pull_request) Successful in 8s
All checks were successful
Tests / Tests (pull_request) Successful in 8s
This commit is contained in:
parent
ba84f6d9c0
commit
c7b225ff00
@ -652,6 +652,7 @@ export type Query = {
|
|||||||
getDeployedConfig: DeployedConfigGql;
|
getDeployedConfig: DeployedConfigGql;
|
||||||
getLoggedInUser?: Maybe<UserGql>;
|
getLoggedInUser?: Maybe<UserGql>;
|
||||||
getPlayTime: UserPlayTimeGql;
|
getPlayTime: UserPlayTimeGql;
|
||||||
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||||
getShots: Array<ShotGql>;
|
getShots: Array<ShotGql>;
|
||||||
getUser?: Maybe<UserGql>;
|
getUser?: Maybe<UserGql>;
|
||||||
getUserVideos: VideoHistoryGql;
|
getUserVideos: VideoHistoryGql;
|
||||||
@ -714,6 +715,12 @@ export type ShotAnnotationInput = {
|
|||||||
name: Scalars["String"]["input"];
|
name: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ShotAnnotationTypeGql = {
|
||||||
|
__typename?: "ShotAnnotationTypeGQL";
|
||||||
|
id: Scalars["Int"]["output"];
|
||||||
|
name: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export enum ShotDirectionEnum {
|
export enum ShotDirectionEnum {
|
||||||
Left = "LEFT",
|
Left = "LEFT",
|
||||||
Right = "RIGHT",
|
Right = "RIGHT",
|
||||||
|
@ -9,6 +9,7 @@ type Query {
|
|||||||
intervalDuration: Int! = 300
|
intervalDuration: Int! = 300
|
||||||
): [MakePercentageIntervalGQL!]!
|
): [MakePercentageIntervalGQL!]!
|
||||||
getShots(filterInput: FilterInput!): [ShotGQL!]!
|
getShots(filterInput: FilterInput!): [ShotGQL!]!
|
||||||
|
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
||||||
@ -194,6 +195,11 @@ type UserGQL {
|
|||||||
updatedAt: DateTime
|
updatedAt: DateTime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ShotAnnotationTypeGQL {
|
||||||
|
id: Int!
|
||||||
|
name: String!
|
||||||
|
}
|
||||||
|
|
||||||
type UserPlayTimeGQL {
|
type UserPlayTimeGQL {
|
||||||
totalSeconds: Float!
|
totalSeconds: Float!
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user