Merge pull request 'Create game type filter' (#273) from kat/filter-game-type into master

Reviewed-on: railbird/railbird-mobile#273
Reviewed-by: loewy <loewymalkov@gmail.com>
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
Kat Huang 2024-03-20 12:53:21 -06:00
commit abfaf06f1a
2 changed files with 10 additions and 0 deletions

View File

@ -134,6 +134,7 @@ export type FilterInput = {
cueBallSpeed?: InputMaybe<CueBallSpeedInput>;
cueObjectAngle?: InputMaybe<CueObjectAngleInput>;
cueObjectDistance?: InputMaybe<CueObjectDistanceInput>;
gameType?: InputMaybe<GameTypeInputGql>;
intendedPocketType?: InputMaybe<IntendedPocketTypeInput>;
make?: InputMaybe<MakeInputGql>;
orFilters?: InputMaybe<OrFilter>;
@ -143,6 +144,10 @@ export type FilterInput = {
videoId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
};
export type GameTypeInputGql = {
value: ValueFilterString;
};
export type GetUploadLinkReturn = {
__typename?: "GetUploadLinkReturn";
headers: Array<Maybe<Header>>;

View File

@ -64,6 +64,7 @@ input FilterInput {
videoId: [Int!] = null
userId: [Int!] = null
make: MakeInputGQL = null
gameType: GameTypeInputGQL = null
}
input AndFilter {
@ -115,6 +116,10 @@ input ValueFilterBool {
equals: String = null
}
input GameTypeInputGQL {
value: ValueFilterString!
}
type UserGQL {
id: Int!
firebaseUid: String!