Use tag input

This commit is contained in:
Kat Huang 2024-03-28 15:20:39 -06:00
parent 679150326f
commit 6fd14d3c49
2 changed files with 18 additions and 8 deletions

View File

@ -132,20 +132,16 @@ export type FilterInput = {
cueBallSpeed?: InputMaybe<CueBallSpeedInput>; cueBallSpeed?: InputMaybe<CueBallSpeedInput>;
cueObjectAngle?: InputMaybe<CueObjectAngleInput>; cueObjectAngle?: InputMaybe<CueObjectAngleInput>;
cueObjectDistance?: InputMaybe<CueObjectDistanceInput>; cueObjectDistance?: InputMaybe<CueObjectDistanceInput>;
gameType?: InputMaybe<GameTypeInputGql>;
intendedPocketType?: InputMaybe<IntendedPocketTypeInput>; intendedPocketType?: InputMaybe<IntendedPocketTypeInput>;
make?: InputMaybe<MakeInputGql>; make?: InputMaybe<MakeInputGql>;
orFilters?: InputMaybe<OrFilter>; orFilters?: InputMaybe<OrFilter>;
shotDirection?: InputMaybe<ShotDirectionInput>; shotDirection?: InputMaybe<ShotDirectionInput>;
tags?: InputMaybe<Array<VideoTagInput>>;
targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>; targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>;
userId?: InputMaybe<Array<Scalars["Int"]["input"]>>; userId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
videoId?: InputMaybe<Array<Scalars["Int"]["input"]>>; videoId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
}; };
export type GameTypeInputGql = {
value: ValueFilterString;
};
export type GetUploadLinkReturn = { export type GetUploadLinkReturn = {
__typename?: "GetUploadLinkReturn"; __typename?: "GetUploadLinkReturn";
headers: Array<Maybe<Header>>; headers: Array<Maybe<Header>>;
@ -457,6 +453,15 @@ export type VideoTagClass = {
name: Scalars["String"]["output"]; name: Scalars["String"]["output"];
}; };
export type VideoTagClassInput = {
name: Scalars["String"]["input"];
};
export type VideoTagInput = {
name: Scalars["String"]["input"];
tagClasses: Array<VideoTagClassInput>;
};
export enum WallTypeEnum { export enum WallTypeEnum {
Long = "LONG", Long = "LONG",
Short = "SHORT", Short = "SHORT",

View File

@ -64,7 +64,7 @@ input FilterInput {
videoId: [Int!] = null videoId: [Int!] = null
userId: [Int!] = null userId: [Int!] = null
make: MakeInputGQL = null make: MakeInputGQL = null
gameType: GameTypeInputGQL = null tags: [VideoTagInput!] = null
} }
input AndFilter { input AndFilter {
@ -116,8 +116,13 @@ input ValueFilterBool {
equals: Boolean = null equals: Boolean = null
} }
input GameTypeInputGQL { input VideoTagInput {
value: ValueFilterString! tagClasses: [VideoTagClassInput!]!
name: String!
}
input VideoTagClassInput {
name: String!
} }
type UserGQL { type UserGQL {