Add make input filter

This commit is contained in:
Kat Huang 2024-03-17 22:33:52 -06:00
parent 27114615a5
commit 1000eb6d2c
2 changed files with 24 additions and 6 deletions

View File

@ -124,7 +124,11 @@ export enum DeviceTypeEnum {
Ios = "IOS", Ios = "IOS",
} }
export type EnumFilter = { export type EnumFilterBool = {
equals?: InputMaybe<Scalars["String"]["input"]>;
};
export type EnumFilterString = {
equals?: InputMaybe<Scalars["String"]["input"]>; equals?: InputMaybe<Scalars["String"]["input"]>;
}; };
@ -134,6 +138,7 @@ export type FilterInput = {
cueObjectAngle?: InputMaybe<CueObjectAngleInput>; cueObjectAngle?: InputMaybe<CueObjectAngleInput>;
cueObjectDistance?: InputMaybe<CueObjectDistanceInput>; cueObjectDistance?: InputMaybe<CueObjectDistanceInput>;
intendedPocketType?: InputMaybe<IntendedPocketTypeInput>; intendedPocketType?: InputMaybe<IntendedPocketTypeInput>;
make?: InputMaybe<MakeInputGql>;
orFilters?: InputMaybe<OrFilter>; orFilters?: InputMaybe<OrFilter>;
shotDirection?: InputMaybe<ShotDirectionInput>; shotDirection?: InputMaybe<ShotDirectionInput>;
targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>; targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>;
@ -168,7 +173,11 @@ export type IntPoint2D = {
}; };
export type IntendedPocketTypeInput = { export type IntendedPocketTypeInput = {
value: EnumFilter; value: EnumFilterString;
};
export type MakeInputGql = {
value: EnumFilterBool;
}; };
export type MakePercentageIntervalGql = { export type MakePercentageIntervalGql = {
@ -304,7 +313,7 @@ export enum ShotDirectionEnum {
} }
export type ShotDirectionInput = { export type ShotDirectionInput = {
value: EnumFilter; value: EnumFilterString;
}; };
export type ShotFeaturesGql = { export type ShotFeaturesGql = {

View File

@ -62,6 +62,7 @@ input FilterInput {
shotDirection: ShotDirectionInput = null shotDirection: ShotDirectionInput = null
videoId: [Int!] = null videoId: [Int!] = null
userId: [Int!] = null userId: [Int!] = null
make: MakeInputGQL = null
} }
input AndFilter { input AndFilter {
@ -94,15 +95,23 @@ input CueBallSpeedInput {
} }
input IntendedPocketTypeInput { input IntendedPocketTypeInput {
value: EnumFilter! value: EnumFilterString!
} }
input EnumFilter { input EnumFilterString {
equals: String = null equals: String = null
} }
input ShotDirectionInput { input ShotDirectionInput {
value: EnumFilter! value: EnumFilterString!
}
input MakeInputGQL {
value: EnumFilterBool!
}
input EnumFilterBool {
equals: String = null
} }
type UserGQL { type UserGQL {