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>; 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>;
@ -143,6 +144,10 @@ export type FilterInput = {
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>>;

View File

@ -64,6 +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
} }
input AndFilter { input AndFilter {
@ -115,6 +116,10 @@ input ValueFilterBool {
equals: String = null equals: String = null
} }
input GameTypeInputGQL {
value: ValueFilterString!
}
type UserGQL { type UserGQL {
id: Int! id: Int!
firebaseUid: String! firebaseUid: String!