Use list int directly for user id input

This commit is contained in:
Kat Huang 2024-03-12 11:48:35 -06:00
parent e1600751e0
commit 57c3ee0360
2 changed files with 4 additions and 12 deletions

View File

@ -137,8 +137,8 @@ export type FilterInput = {
orFilters?: InputMaybe<OrFilter>; orFilters?: InputMaybe<OrFilter>;
shotDirection?: InputMaybe<ShotDirectionInput>; shotDirection?: InputMaybe<ShotDirectionInput>;
targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>; targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>;
userId?: InputMaybe<InListFilter>; userId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
videoId?: InputMaybe<InListFilter>; videoId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
}; };
export type GetUploadLinkReturn = { export type GetUploadLinkReturn = {
@ -161,10 +161,6 @@ export type HomographyInfoGql = {
sourcePoints: PocketPointsGql; sourcePoints: PocketPointsGql;
}; };
export type InListFilter = {
inList?: InputMaybe<Array<Scalars["Int"]["input"]>>;
};
export type IntPoint2D = { export type IntPoint2D = {
__typename?: "IntPoint2D"; __typename?: "IntPoint2D";
x: Scalars["Int"]["output"]; x: Scalars["Int"]["output"];

View File

@ -57,8 +57,8 @@ input FilterInput {
cueBallSpeed: CueBallSpeedInput = null cueBallSpeed: CueBallSpeedInput = null
intendedPocketType: IntendedPocketTypeInput = null intendedPocketType: IntendedPocketTypeInput = null
shotDirection: ShotDirectionInput = null shotDirection: ShotDirectionInput = null
videoId: InListFilter = null videoId: [Int!] = null
userId: InListFilter = null userId: [Int!] = null
} }
input AndFilter { input AndFilter {
@ -102,10 +102,6 @@ input ShotDirectionInput {
value: EnumFilter! value: EnumFilter!
} }
input InListFilter {
inList: [Int!] = null
}
type UserGQL { type UserGQL {
id: Int! id: Int!
firebaseUid: String! firebaseUid: String!