Add not support to filter input gql

This commit is contained in:
Ivan Malison 2024-07-10 16:17:25 -06:00
parent 524d469a0d
commit 88801f9186
2 changed files with 42 additions and 0 deletions

View File

@ -143,6 +143,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -164,6 +165,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -185,6 +187,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -206,6 +209,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -227,6 +231,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -248,6 +253,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -269,6 +275,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -290,6 +297,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -311,6 +319,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -332,6 +341,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -353,6 +363,7 @@ export type FilterInput =
isRightMiss: Array<Scalars["Boolean"]["input"]>; isRightMiss: Array<Scalars["Boolean"]["input"]>;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -374,6 +385,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight: Array<Scalars["Boolean"]["input"]>; isStraight: Array<Scalars["Boolean"]["input"]>;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -395,6 +407,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make: Array<Scalars["Boolean"]["input"]>; make: Array<Scalars["Boolean"]["input"]>;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -416,6 +429,29 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter: FilterInput;
orFilters?: never;
shotDirection?: never;
tags?: never;
targetPocketDistance?: never;
userId?: never;
videoId?: never;
}
| {
andFilters?: never;
annotations?: never;
cueBallSpeed?: never;
cueObjectAngle?: never;
cueObjectDistance?: never;
difficulty?: never;
intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never;
notFilter?: never;
orFilters: Array<FilterInput>; orFilters: Array<FilterInput>;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -437,6 +473,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection: Array<ShotDirectionEnum>; shotDirection: Array<ShotDirectionEnum>;
tags?: never; tags?: never;
@ -458,6 +495,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags: Array<VideoTagInput>; tags: Array<VideoTagInput>;
@ -479,6 +517,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -500,6 +539,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;
@ -521,6 +561,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
make?: never; make?: never;
notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
tags?: never; tags?: never;

View File

@ -66,6 +66,7 @@ input EnumAggregation {
input FilterInput @oneOf { input FilterInput @oneOf {
andFilters: [FilterInput!] andFilters: [FilterInput!]
orFilters: [FilterInput!] orFilters: [FilterInput!]
notFilter: FilterInput
cueObjectDistance: RangeFilter cueObjectDistance: RangeFilter
targetPocketDistance: RangeFilter targetPocketDistance: RangeFilter
cueObjectAngle: RangeFilter cueObjectAngle: RangeFilter