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

View File

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