Merge pull request 'Use tag class and tag value input in FilterInput' (#312) from kat/temp into master

Reviewed-on: railbird/railbird-mobile#312
Reviewed-by: loewy <loewymalkov@gmail.com>
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
Ivan Malison 2024-03-28 16:12:54 -06:00
commit 01a580cee5
2 changed files with 18 additions and 8 deletions

View File

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

View File

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